2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libffi 2.1.
5 # Report bugs to <http://gcc.gnu.org/bugs.html>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='libffi'
271 PACKAGE_TARNAME
='libffi'
272 PACKAGE_VERSION
='2.1'
273 PACKAGE_STRING
='libffi 2.1'
274 PACKAGE_BUGREPORT
='http://gcc.gnu.org/bugs.html'
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CCAS CCASFLAGS LN_S RANLIB ac_ct_RANLIB LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP TESTSUBDIR_TRUE TESTSUBDIR_FALSE AM_RUNTESTFLAGS MIPS_IRIX_TRUE MIPS_IRIX_FALSE MIPS_LINUX_TRUE MIPS_LINUX_FALSE SPARC_TRUE SPARC_FALSE X86_TRUE X86_FALSE X86_WIN32_TRUE X86_WIN32_FALSE ALPHA_TRUE ALPHA_FALSE IA64_TRUE IA64_FALSE M68K_TRUE M68K_FALSE POWERPC_TRUE POWERPC_FALSE POWERPC_AIX_TRUE POWERPC_AIX_FALSE POWERPC_DARWIN_TRUE POWERPC_DARWIN_FALSE ARM_TRUE ARM_FALSE S390_TRUE S390_FALSE X86_64_TRUE X86_64_FALSE SH_TRUE SH_FALSE SH64_TRUE SH64_FALSE PA_TRUE PA_FALSE ALLOCA HAVE_LONG_DOUBLE TARGET TARGETDIR toolexecdir toolexeclibdir tool_include_dir gcc_version LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CPP_set
=${CPP+set}
755 ac_env_CPP_value
=$CPP
756 ac_cv_env_CPP_set
=${CPP+set}
757 ac_cv_env_CPP_value
=$CPP
758 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
759 ac_env_CPPFLAGS_value
=$CPPFLAGS
760 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
761 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
764 # Report the --help message.
766 if test "$ac_init_help" = "long"; then
767 # Omit some internal or obsolete options to make the list less imposing.
768 # This message is too long to be a string in the A/UX 3.1 sh.
770 \`configure' configures libffi 2.1 to adapt to many kinds of systems.
772 Usage: $0 [OPTION]... [VAR=VALUE]...
774 To assign environment variables (e.g., CC, CFLAGS...), specify them as
775 VAR=VALUE. See below for descriptions of some of the useful variables.
777 Defaults for the options are specified in brackets.
780 -h, --help display this help and exit
781 --help=short display options specific to this package
782 --help=recursive display the short help of all the included packages
783 -V, --version display version information and exit
784 -q, --quiet, --silent do not print \`checking...' messages
785 --cache-file=FILE cache test results in FILE [disabled]
786 -C, --config-cache alias for \`--cache-file=config.cache'
787 -n, --no-create do not create output files
788 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 Installation directories:
794 --prefix=PREFIX install architecture-independent files in PREFIX
796 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
799 By default, \`make install' will install all the files in
800 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
801 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
802 for instance \`--prefix=\$HOME'.
804 For better control, use the options below.
806 Fine tuning of the installation directories:
807 --bindir=DIR user executables [EPREFIX/bin]
808 --sbindir=DIR system admin executables [EPREFIX/sbin]
809 --libexecdir=DIR program executables [EPREFIX/libexec]
810 --datadir=DIR read-only architecture-independent data [PREFIX/share]
811 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
812 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
813 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
814 --libdir=DIR object code libraries [EPREFIX/lib]
815 --includedir=DIR C header files [PREFIX/include]
816 --oldincludedir=DIR C header files for non-gcc [/usr/include]
817 --infodir=DIR info documentation [PREFIX/info]
818 --mandir=DIR man documentation [PREFIX/man]
824 --program-prefix=PREFIX prepend PREFIX to installed program names
825 --program-suffix=SUFFIX append SUFFIX to installed program names
826 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
829 --build=BUILD configure
for building on BUILD
[guessed
]
830 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
831 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
835 if test -n "$ac_init_help"; then
836 case $ac_init_help in
837 short | recursive
) echo "Configuration of libffi 2.1:";;
842 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
843 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
844 --enable-multilib build many library versions
(default
)
845 --disable-dependency-tracking Speeds up one-time builds
846 --enable-dependency-tracking Do not reject slow dependency extractors
847 --enable-shared=PKGS build shared libraries default
=yes
848 --enable-static=PKGS build static libraries default
=yes
849 --enable-fast-install=PKGS optimize
for fast installation default
=yes
850 --disable-libtool-lock avoid locking
(might
break parallel builds
)
851 --enable-maintainer-mode enable make rules and dependencies not useful
852 (and sometimes confusing
) to the casual installer
853 --enable-debug debugging mode
854 --disable-structs omit code
for struct support
855 --disable-raw-api make the raw api unavailable
856 --enable-purify-safety purify-safe mode
859 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
860 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
861 --with-gnu-ld assume the C compiler uses GNU ld default
=no
862 --with-pic try to use only PIC
/non-PIC objects default
=use both
864 Some influential environment variables
:
865 CC C compiler
command
866 CFLAGS C compiler flags
867 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
868 nonstandard directory
<lib dir
>
869 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
870 headers
in a nonstandard directory
<include dir
>
873 Use these variables to override the choices made by
`configure' or to help
874 it to find libraries and programs with nonstandard names/locations.
876 Report bugs to <http://gcc.gnu.org/bugs.html>.
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884 test -d $ac_dir || continue
887 if test "$ac_dir" != .; then
888 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
892 ac_dir_suffix= ac_top_builddir=
896 .) # No --srcdir option. We are building in place.
898 if test -z "$ac_top_builddir"; then
901 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
903 [\\/]* | ?:[\\/]* ) # Absolute path.
904 ac_srcdir=$srcdir$ac_dir_suffix;
905 ac_top_srcdir=$srcdir ;;
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
911 # Do not use `cd foo
&& pwd` to compute absolute paths, because
912 # the directories may not exist.
914 .) ac_abs_builddir="$ac_dir";;
917 .) ac_abs_builddir=`pwd`;;
918 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
919 *) ac_abs_builddir=`pwd`/"$ac_dir";;
922 case $ac_abs_builddir in
923 .) ac_abs_top_builddir=${ac_top_builddir}.;;
925 case ${ac_top_builddir}. in
926 .) ac_abs_top_builddir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
928 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
931 case $ac_abs_builddir in
932 .) ac_abs_srcdir=$ac_srcdir;;
935 .) ac_abs_srcdir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
937 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
940 case $ac_abs_builddir in
941 .) ac_abs_top_srcdir=$ac_top_srcdir;;
943 case $ac_top_srcdir in
944 .) ac_abs_top_srcdir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
946 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
951 # Check for guested configure; otherwise get Cygnus style configure.
952 if test -f $ac_srcdir/configure.gnu; then
954 $SHELL $ac_srcdir/configure.gnu --help=recursive
955 elif test -f $ac_srcdir/configure; then
957 $SHELL $ac_srcdir/configure --help=recursive
958 elif test -f $ac_srcdir/configure.ac ||
959 test -f $ac_srcdir/configure.in; then
963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
969 test -n "$ac_init_help" && exit 0
970 if $ac_init_version; then
973 generated by GNU Autoconf 2.59
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by libffi $as_me 2.1, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
999 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1000 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1001 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1002 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1005 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1007 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1009 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1010 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1011 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1013 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close
' the trap.
1093 trap 'exit_status
=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var
in $ac_subst_vars
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var
in $ac_subst_files
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h
; then
1156 sed "/^$/d" confdefs.h |
sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core
*.core
&&
1164 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's
/^
/|
/' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1286 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1322 ac_config_headers="$ac_config_headers fficonfig.h"
1325 # Default to --enable-multilib
1326 # Check whether --enable-multilib or --disable-multilib was given.
1327 if test "${enable_multilib+set}" = set; then
1328 enableval="$enable_multilib"
1329 case "$enableval" in
1330 yes) multilib=yes ;;
1332 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1333 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1334 { (exit 1); exit 1; }; } ;;
1340 # We may get other options which we leave undocumented:
1341 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1342 # See config-ml.in if you want the gory details.
1344 if test "$srcdir" = "."; then
1345 if test "$with_target_subdir" != "."; then
1346 multi_basedir="$srcdir/$with_multisrctop../.."
1348 multi_basedir="$srcdir/$with_multisrctop.."
1351 multi_basedir="$srcdir/.."
1355 ac_config_commands="$ac_config_commands default-1"
1358 # This is for automake
1360 for ac_dir in .. $srcdir/..; do
1361 if test -f $ac_dir/install-sh; then
1363 ac_install_sh="$ac_aux_dir/install-sh -c"
1365 elif test -f $ac_dir/install.sh; then
1367 ac_install_sh="$ac_aux_dir/install.sh -c"
1369 elif test -f $ac_dir/shtool; then
1371 ac_install_sh="$ac_aux_dir/shtool install -c"
1375 if test -z "$ac_aux_dir"; then
1376 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1377 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1378 { (exit 1); exit 1; }; }
1380 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1381 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1382 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1385 # and this is for autoconf
1387 for ac_dir in ${multi_basedir}; do
1388 if test -f $ac_dir/install-sh; then
1390 ac_install_sh="$ac_aux_dir/install-sh -c"
1392 elif test -f $ac_dir/install.sh; then
1394 ac_install_sh="$ac_aux_dir/install.sh -c"
1396 elif test -f $ac_dir/shtool; then
1398 ac_install_sh="$ac_aux_dir/shtool install -c"
1402 if test -z "$ac_aux_dir"; then
1403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1404 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1405 { (exit 1); exit 1; }; }
1407 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1408 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1409 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1413 # Make sure we can run config.sub.
1414 $ac_config_sub sun4 >/dev/null 2>&1 ||
1415 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1416 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1417 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: checking build system type" >&5
1420 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1421 if test "${ac_cv_build+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1424 ac_cv_build_alias=$build_alias
1425 test -z "$ac_cv_build_alias" &&
1426 ac_cv_build_alias=`$ac_config_guess`
1427 test -z "$ac_cv_build_alias" &&
1428 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1429 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1430 { (exit 1); exit 1; }; }
1431 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1432 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1433 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1434 { (exit 1); exit 1; }; }
1437 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1438 echo "${ECHO_T}$ac_cv_build" >&6
1440 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1441 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1442 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1445 echo "$as_me:$LINENO: checking host system type" >&5
1446 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1447 if test "${ac_cv_host+set}" = set; then
1448 echo $ECHO_N "(cached) $ECHO_C" >&6
1450 ac_cv_host_alias=$host_alias
1451 test -z "$ac_cv_host_alias" &&
1452 ac_cv_host_alias=$ac_cv_build_alias
1453 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1454 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1455 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1456 { (exit 1); exit 1; }; }
1459 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1460 echo "${ECHO_T}$ac_cv_host" >&6
1462 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1463 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1464 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1467 echo "$as_me:$LINENO: checking target system type" >&5
1468 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1469 if test "${ac_cv_target+set}" = set; then
1470 echo $ECHO_N "(cached) $ECHO_C" >&6
1472 ac_cv_target_alias=$target_alias
1473 test "x$ac_cv_target_alias" = "x" &&
1474 ac_cv_target_alias=$ac_cv_host_alias
1475 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1476 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1478 { (exit 1); exit 1; }; }
1481 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1482 echo "${ECHO_T}$ac_cv_target" >&6
1483 target=$ac_cv_target
1484 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1485 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1486 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1489 # The aliases save the names the user supplied, while $host etc.
1490 # will get canonicalized.
1491 test -n "$target_alias" &&
1492 test "$program_prefix$program_suffix$program_transform_name" = \
1494 program_prefix=${target_alias}-
1495 target_alias=${target_alias-$host_alias}
1497 am__api_version="1.7"
1498 # Find a good install program. We prefer a C program (faster),
1499 # so one script is as good as another. But avoid the broken or
1500 # incompatible versions:
1501 # SysV /etc/install, /usr/sbin/install
1502 # SunOS /usr/etc/install
1503 # IRIX /sbin/install
1505 # AmigaOS /C/install, which installs bootblocks on floppy discs
1506 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1507 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1508 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1509 # OS/2's system install, which has a completely different semantic
1510 # ./install, which can be erroneously created by make from ./install.sh.
1511 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1512 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1513 if test -z "$INSTALL"; then
1514 if test "${ac_cv_path_install+set}" = set; then
1515 echo $ECHO_N "(cached) $ECHO_C" >&6
1517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1521 test -z "$as_dir" && as_dir
=.
1522 # Account for people who put trailing slashes in PATH elements.
1524 .
/ | .
// |
/cC
/* | \
1525 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1526 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1529 # OSF1 and SCO ODT 3.0 have their own names for install.
1530 # Don't use installbsd from OSF since it installs stuff as root
1532 for ac_prog
in ginstall scoinst
install; do
1533 for ac_exec_ext
in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1535 if test $ac_prog = install &&
1536 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1537 # AIX install. It has an incompatible calling convention.
1539 elif test $ac_prog = install &&
1540 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1541 # program-specific install script used by HP pwplus--don't use.
1544 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1556 if test "${ac_cv_path_install+set}" = set; then
1557 INSTALL
=$ac_cv_path_install
1559 # As a last resort, use the slow shell script. We don't cache a
1560 # path for INSTALL within a source directory, because that will
1561 # break other packages using the cache if that directory is
1562 # removed, or if the path is relative.
1563 INSTALL
=$ac_install_sh
1566 echo "$as_me:$LINENO: result: $INSTALL" >&5
1567 echo "${ECHO_T}$INSTALL" >&6
1569 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1570 # It thinks the first close brace ends the variable substitution.
1571 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1573 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1575 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1577 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1578 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1581 echo timestamp
> conftest.
file
1582 # Do `set' in a subshell so we don't clobber the current shell's
1583 # arguments. Must try -L first in case configure is actually a
1584 # symlink; some systems play weird games with the mod time of symlinks
1585 # (eg FreeBSD returns the mod time of the symlink's containing
1588 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1589 if test "$*" = "X"; then
1591 set X
`ls -t $srcdir/configure conftest.file`
1594 if test "$*" != "X $srcdir/configure conftest.file" \
1595 && test "$*" != "X conftest.file $srcdir/configure"; then
1597 # If neither matched, then we have a broken ls. This can happen
1598 # if, for instance, CONFIG_SHELL is bash and it inherits a
1599 # broken ls alias from the environment. This has actually
1600 # happened. Such a system could not be considered "sane".
1601 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1602 alias in your environment" >&5
1603 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1604 alias in your environment" >&2;}
1605 { (exit 1); exit 1; }; }
1608 test "$2" = conftest.
file
1614 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1615 Check your system clock" >&5
1616 echo "$as_me: error: newly created file is older than distributed files!
1617 Check your system clock" >&2;}
1618 { (exit 1); exit 1; }; }
1620 echo "$as_me:$LINENO: result: yes" >&5
1621 echo "${ECHO_T}yes" >&6
1622 test "$program_prefix" != NONE
&&
1623 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1624 # Use a double $ so make ignores it.
1625 test "$program_suffix" != NONE
&&
1626 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1627 # Double any \ or $. echo might interpret backslashes.
1628 # By default was `s,x,x', remove it if useless.
1629 cat <<\_ACEOF
>conftest.
sed
1630 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1632 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1636 # expand $ac_aux_dir to an absolute path
1637 am_aux_dir
=`cd $ac_aux_dir && pwd`
1639 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1640 # Use eval to expand $SHELL
1641 if eval "$MISSING --run true"; then
1642 am_missing_run
="$MISSING --run "
1645 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1646 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1649 for ac_prog
in gawk mawk nawk
awk
1651 # Extract the first word of "$ac_prog", so it can be a program name with args.
1652 set dummy
$ac_prog; ac_word
=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_AWK+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 if test -n "$AWK"; then
1659 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1665 test -z "$as_dir" && as_dir
=.
1666 for ac_exec_ext
in '' $ac_executable_extensions; do
1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668 ac_cv_prog_AWK
="$ac_prog"
1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 if test -n "$AWK"; then
1679 echo "$as_me:$LINENO: result: $AWK" >&5
1680 echo "${ECHO_T}$AWK" >&6
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1686 test -n "$AWK" && break
1689 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1690 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1691 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1692 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 cat >conftest.
make <<\_ACEOF
1697 @
echo 'ac_maketemp="$(MAKE)"'
1699 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1700 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1701 if test -n "$ac_maketemp"; then
1702 eval ac_cv_prog_make_
${ac_make}_set
=yes
1704 eval ac_cv_prog_make_
${ac_make}_set
=no
1708 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1709 echo "$as_me:$LINENO: result: yes" >&5
1710 echo "${ECHO_T}yes" >&6
1713 echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6
1715 SET_MAKE
="MAKE=${MAKE-make}"
1718 rm -rf .tst
2>/dev
/null
1719 mkdir .tst
2>/dev
/null
1720 if test -d .tst
; then
1725 rmdir .tst
2>/dev
/null
1727 # test to see if srcdir already configured
1728 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1729 test -f $srcdir/config.status
; then
1730 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1731 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1732 { (exit 1); exit 1; }; }
1735 # test whether we have cygpath
1736 if test -z "$CYGPATH_W"; then
1737 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1738 CYGPATH_W
='cygpath -w'
1745 # Define the identity of the package.
1750 cat >>confdefs.h
<<_ACEOF
1751 #define PACKAGE "$PACKAGE"
1755 cat >>confdefs.h
<<_ACEOF
1756 #define VERSION "$VERSION"
1759 # Some tools Automake needs.
1761 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1764 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1767 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1770 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1773 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1776 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1778 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1780 # Installed binaries are usually stripped using `strip' when the user
1781 # run `make install-strip'. However `strip' might not be the right
1782 # tool to use in cross-compilation environments, therefore Automake
1783 # will honor the `STRIP' environment variable to overrule this program.
1784 if test "$cross_compiling" != no
; then
1785 if test -n "$ac_tool_prefix"; then
1786 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1787 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1788 echo "$as_me:$LINENO: checking for $ac_word" >&5
1789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1790 if test "${ac_cv_prog_STRIP+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 if test -n "$STRIP"; then
1794 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1800 test -z "$as_dir" && as_dir
=.
1801 for ac_exec_ext
in '' $ac_executable_extensions; do
1802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1803 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1812 STRIP
=$ac_cv_prog_STRIP
1813 if test -n "$STRIP"; then
1814 echo "$as_me:$LINENO: result: $STRIP" >&5
1815 echo "${ECHO_T}$STRIP" >&6
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1822 if test -z "$ac_cv_prog_STRIP"; then
1824 # Extract the first word of "strip", so it can be a program name with args.
1825 set dummy strip
; ac_word
=$2
1826 echo "$as_me:$LINENO: checking for $ac_word" >&5
1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1829 echo $ECHO_N "(cached) $ECHO_C" >&6
1831 if test -n "$ac_ct_STRIP"; then
1832 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1838 test -z "$as_dir" && as_dir
=.
1839 for ac_exec_ext
in '' $ac_executable_extensions; do
1840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1841 ac_cv_prog_ac_ct_STRIP
="strip"
1842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1851 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1852 if test -n "$ac_ct_STRIP"; then
1853 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1854 echo "${ECHO_T}$ac_ct_STRIP" >&6
1856 echo "$as_me:$LINENO: result: no" >&5
1857 echo "${ECHO_T}no" >&6
1862 STRIP
="$ac_cv_prog_STRIP"
1866 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1868 # We need awk for the "check" target. The system "awk" is bad on
1874 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1875 # We must force CC to /not/ be precious variables; otherwise
1876 # the wrong, non-multilib-adjusted value will be used in multilibs.
1877 # As a side effect, we have to subst CFLAGS ourselves.
1882 ac_cpp
='$CPP $CPPFLAGS'
1883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1888 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$CC"; then
1895 ac_cv_prog_CC
="$CC" # Let the user override the test.
1897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir
=.
1902 for ac_exec_ext
in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 if test -n "$CC"; then
1915 echo "$as_me:$LINENO: result: $CC" >&5
1916 echo "${ECHO_T}$CC" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1923 if test -z "$ac_cv_prog_CC"; then
1925 # Extract the first word of "gcc", so it can be a program name with args.
1926 set dummy gcc
; ac_word
=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$ac_ct_CC"; then
1933 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir
=.
1940 for ac_exec_ext
in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_CC
="gcc"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1952 if test -n "$ac_ct_CC"; then
1953 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1954 echo "${ECHO_T}$ac_ct_CC" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1965 if test -z "$CC"; then
1966 if test -n "$ac_tool_prefix"; then
1967 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1968 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test -n "$CC"; then
1975 ac_cv_prog_CC
="$CC" # Let the user override the test.
1977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir
=.
1982 for ac_exec_ext
in '' $ac_executable_extensions; do
1983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1984 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 if test -n "$CC"; then
1995 echo "$as_me:$LINENO: result: $CC" >&5
1996 echo "${ECHO_T}$CC" >&6
1998 echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6
2003 if test -z "$ac_cv_prog_CC"; then
2005 # Extract the first word of "cc", so it can be a program name with args.
2006 set dummy cc
; ac_word
=$2
2007 echo "$as_me:$LINENO: checking for $ac_word" >&5
2008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2009 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2010 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 if test -n "$ac_ct_CC"; then
2013 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2019 test -z "$as_dir" && as_dir
=.
2020 for ac_exec_ext
in '' $ac_executable_extensions; do
2021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2022 ac_cv_prog_ac_ct_CC
="cc"
2023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2032 if test -n "$ac_ct_CC"; then
2033 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2034 echo "${ECHO_T}$ac_ct_CC" >&6
2036 echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6
2046 if test -z "$CC"; then
2047 # Extract the first word of "cc", so it can be a program name with args.
2048 set dummy cc
; ac_word
=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$CC"; then
2055 ac_cv_prog_CC
="$CC" # Let the user override the test.
2058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir
=.
2063 for ac_exec_ext
in '' $ac_executable_extensions; do
2064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2065 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2066 ac_prog_rejected
=yes
2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2076 if test $ac_prog_rejected = yes; then
2077 # We found a bogon in the path, so make sure we never use it.
2078 set dummy
$ac_cv_prog_CC
2080 if test $# != 0; then
2081 # We chose a different compiler from the bogus one.
2082 # However, it has the same basename, so the bogon will be chosen
2083 # first if we set CC to just the basename; use the full file name.
2085 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2091 if test -n "$CC"; then
2092 echo "$as_me:$LINENO: result: $CC" >&5
2093 echo "${ECHO_T}$CC" >&6
2095 echo "$as_me:$LINENO: result: no" >&5
2096 echo "${ECHO_T}no" >&6
2100 if test -z "$CC"; then
2101 if test -n "$ac_tool_prefix"; then
2104 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2105 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2106 echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2108 if test "${ac_cv_prog_CC+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test -n "$CC"; then
2112 ac_cv_prog_CC
="$CC" # Let the user override the test.
2114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir
=.
2119 for ac_exec_ext
in '' $ac_executable_extensions; do
2120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2121 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 if test -n "$CC"; then
2132 echo "$as_me:$LINENO: result: $CC" >&5
2133 echo "${ECHO_T}$CC" >&6
2135 echo "$as_me:$LINENO: result: no" >&5
2136 echo "${ECHO_T}no" >&6
2139 test -n "$CC" && break
2142 if test -z "$CC"; then
2146 # Extract the first word of "$ac_prog", so it can be a program name with args.
2147 set dummy
$ac_prog; ac_word
=$2
2148 echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2150 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 if test -n "$ac_ct_CC"; then
2154 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir
=.
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_ac_ct_CC
="$ac_prog"
2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2173 if test -n "$ac_ct_CC"; then
2174 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2175 echo "${ECHO_T}$ac_ct_CC" >&6
2177 echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6
2181 test -n "$ac_ct_CC" && break
2190 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2191 See \`config.log' for more details." >&5
2192 echo "$as_me: error: no acceptable C compiler found in \$PATH
2193 See \`config.log' for more details." >&2;}
2194 { (exit 1); exit 1; }; }
2196 # Provide some information about the compiler.
2197 echo "$as_me:$LINENO:" \
2198 "checking for C compiler version" >&5
2199 ac_compiler
=`set X $ac_compile; echo $2`
2200 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2201 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); }
2205 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2206 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209 (exit $ac_status); }
2210 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2211 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }
2216 cat >conftest.
$ac_ext <<_ACEOF
2219 cat confdefs.h
>>conftest.
$ac_ext
2220 cat >>conftest.
$ac_ext <<_ACEOF
2221 /* end confdefs.h. */
2231 ac_clean_files_save
=$ac_clean_files
2232 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2233 # Try to create an executable without -o first, disregard a.out.
2234 # It will help us diagnose broken compilers, and finding out an intuition
2236 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2237 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2238 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2239 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2240 (eval $ac_link_default) 2>&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }; then
2244 # Find the output, starting from the most likely. This scheme is
2245 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2248 # Be careful to initialize this variable, since it used to be cached.
2249 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2251 # b.out is created by i960 compilers.
2252 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2254 test -f "$ac_file" ||
continue
2256 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2259 # This is the source file.
2262 # We found the default executable, but exeext='' is most
2266 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2267 # FIXME: I believe we export ac_cv_exeext for Libtool,
2268 # but it would be cool to find out if it's true. Does anybody
2269 # maintain Libtool? --akim.
2277 echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.
$ac_ext >&5
2280 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2281 See \`config.log' for more details." >&5
2282 echo "$as_me: error: C compiler cannot create executables
2283 See \`config.log' for more details." >&2;}
2284 { (exit 77); exit 77; }; }
2287 ac_exeext
=$ac_cv_exeext
2288 echo "$as_me:$LINENO: result: $ac_file" >&5
2289 echo "${ECHO_T}$ac_file" >&6
2291 # Check the compiler produces executables we can run. If not, either
2292 # the compiler is broken, or we cross compile.
2293 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2294 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2295 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2296 # If not cross compiling, check that we can run a simple program.
2297 if test "$cross_compiling" != yes; then
2298 if { ac_try
='./$ac_file'
2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; }; then
2306 if test "$cross_compiling" = maybe
; then
2309 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2310 If you meant to cross compile, use \`--host'.
2311 See \`config.log' for more details." >&5
2312 echo "$as_me: error: cannot run C compiled programs.
2313 If you meant to cross compile, use \`--host'.
2314 See \`config.log' for more details." >&2;}
2315 { (exit 1); exit 1; }; }
2319 echo "$as_me:$LINENO: result: yes" >&5
2320 echo "${ECHO_T}yes" >&6
2322 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2323 ac_clean_files
=$ac_clean_files_save
2324 # Check the compiler produces executables we can run. If not, either
2325 # the compiler is broken, or we cross compile.
2326 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2327 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2328 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2329 echo "${ECHO_T}$cross_compiling" >&6
2331 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2332 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2334 (eval $ac_link) 2>&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; then
2338 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2339 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2340 # work properly (i.e., refer to `conftest.exe'), while it won't with
2342 for ac_file
in conftest.exe conftest conftest.
*; do
2343 test -f "$ac_file" ||
continue
2345 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2346 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2353 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2354 See \`config.log' for more details." >&5
2355 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2356 See \`config.log' for more details." >&2;}
2357 { (exit 1); exit 1; }; }
2360 rm -f conftest
$ac_cv_exeext
2361 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2362 echo "${ECHO_T}$ac_cv_exeext" >&6
2364 rm -f conftest.
$ac_ext
2365 EXEEXT
=$ac_cv_exeext
2367 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2368 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2369 if test "${ac_cv_objext+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 cat >conftest.
$ac_ext <<_ACEOF
2375 cat confdefs.h
>>conftest.
$ac_ext
2376 cat >>conftest.
$ac_ext <<_ACEOF
2377 /* end confdefs.h. */
2387 rm -f conftest.o conftest.obj
2388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2389 (eval $ac_compile) 2>&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); }; then
2393 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2395 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2396 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2401 echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.
$ac_ext >&5
2404 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2405 See \`config.log' for more details." >&5
2406 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2407 See \`config.log' for more details." >&2;}
2408 { (exit 1); exit 1; }; }
2411 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2413 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2414 echo "${ECHO_T}$ac_cv_objext" >&6
2415 OBJEXT
=$ac_cv_objext
2417 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2418 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2419 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 cat >conftest.
$ac_ext <<_ACEOF
2425 cat confdefs.h
>>conftest.
$ac_ext
2426 cat >>conftest.
$ac_ext <<_ACEOF
2427 /* end confdefs.h. */
2440 rm -f conftest.
$ac_objext
2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2442 (eval $ac_compile) 2>conftest.er1
2444 grep -v '^ *+' conftest.er1
>conftest.err
2446 cat conftest.err
>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); } &&
2449 { ac_try
='test -z "$ac_c_werror_flag"
2450 || test ! -s conftest.err'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; } &&
2456 { ac_try
='test -s conftest.$ac_objext'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; }; then
2464 echo "$as_me: failed program was:" >&5
2465 sed 's/^/| /' conftest.
$ac_ext >&5
2469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2470 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2473 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2474 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2475 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2476 ac_test_CFLAGS
=${CFLAGS+set}
2477 ac_save_CFLAGS
=$CFLAGS
2479 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2480 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2481 if test "${ac_cv_prog_cc_g+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 cat >conftest.
$ac_ext <<_ACEOF
2487 cat confdefs.h
>>conftest.
$ac_ext
2488 cat >>conftest.
$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2503 grep -v '^ *+' conftest.er1
>conftest.err
2505 cat conftest.err
>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try
='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try
='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2530 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2531 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2532 if test "$ac_test_CFLAGS" = set; then
2533 CFLAGS
=$ac_save_CFLAGS
2534 elif test $ac_cv_prog_cc_g = yes; then
2535 if test "$GCC" = yes; then
2541 if test "$GCC" = yes; then
2547 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2548 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2549 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 ac_cv_prog_cc_stdc
=no
2554 cat >conftest.
$ac_ext <<_ACEOF
2557 cat confdefs.h
>>conftest.
$ac_ext
2558 cat >>conftest.
$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2562 #include <sys/types.h>
2563 #include <sys/stat.h>
2564 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2565 struct buf { int x; };
2566 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2567 static char *e (p, i)
2573 static char *f (char * (*g) (char **, int), char **p, ...)
2578 s = g (p, va_arg (v,int));
2583 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2584 function prototypes and stuff, but not '\xHH' hex character constants.
2585 These don't provoke an error unfortunately, instead are silently treated
2586 as 'x'. The following induces an error, until -std1 is added to get
2587 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2588 array size at least. It's necessary to write '\x00'==0 to get something
2589 that's true only with -std1. */
2590 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2592 int test (int i, double x);
2593 struct s1 {int (*f) (int a);};
2594 struct s2 {int (*f) (double a);};
2595 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2601 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2606 # Don't try gcc -ansi; that turns off useful extensions and
2607 # breaks some systems' header files.
2608 # AIX -qlanglvl=ansi
2609 # Ultrix and OSF/1 -std1
2610 # HP-UX 10.20 and later -Ae
2611 # HP-UX older versions -Aa -D_HPUX_SOURCE
2612 # SVR4 -Xc -D__EXTENSIONS__
2613 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2615 CC
="$ac_save_CC $ac_arg"
2616 rm -f conftest.
$ac_objext
2617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2618 (eval $ac_compile) 2>conftest.er1
2620 grep -v '^ *+' conftest.er1
>conftest.err
2622 cat conftest.err
>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); } &&
2625 { ac_try
='test -z "$ac_c_werror_flag"
2626 || test ! -s conftest.err'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; } &&
2632 { ac_try
='test -s conftest.$ac_objext'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; }; then
2638 ac_cv_prog_cc_stdc
=$ac_arg
2641 echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.
$ac_ext >&5
2645 rm -f conftest.err conftest.
$ac_objext
2647 rm -f conftest.
$ac_ext conftest.
$ac_objext
2652 case "x$ac_cv_prog_cc_stdc" in
2654 echo "$as_me:$LINENO: result: none needed" >&5
2655 echo "${ECHO_T}none needed" >&6 ;;
2657 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2658 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2659 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2662 # Some people use a C++ compiler to compile C. Since we use `exit',
2663 # in C++ we need to declare it. In case someone uses the same compiler
2664 # for both compiling C and C++ we need to have the C++ compiler decide
2665 # the declaration of exit, since it's the most demanding environment.
2666 cat >conftest.
$ac_ext <<_ACEOF
2671 rm -f conftest.
$ac_objext
2672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2673 (eval $ac_compile) 2>conftest.er1
2675 grep -v '^ *+' conftest.er1
>conftest.err
2677 cat conftest.err
>&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); } &&
2680 { ac_try
='test -z "$ac_c_werror_flag"
2681 || test ! -s conftest.err'
2682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; } &&
2687 { ac_try
='test -s conftest.$ac_objext'
2688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }; }; then
2693 for ac_declaration
in \
2695 'extern "C" void std::exit (int) throw (); using std::exit;' \
2696 'extern "C" void std::exit (int); using std::exit;' \
2697 'extern "C" void exit (int) throw ();' \
2698 'extern "C" void exit (int);' \
2701 cat >conftest.
$ac_ext <<_ACEOF
2704 cat confdefs.h
>>conftest.
$ac_ext
2705 cat >>conftest.
$ac_ext <<_ACEOF
2706 /* end confdefs.h. */
2717 rm -f conftest.
$ac_objext
2718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2719 (eval $ac_compile) 2>conftest.er1
2721 grep -v '^ *+' conftest.er1
>conftest.err
2723 cat conftest.err
>&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } &&
2726 { ac_try
='test -z "$ac_c_werror_flag"
2727 || test ! -s conftest.err'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; } &&
2733 { ac_try
='test -s conftest.$ac_objext'
2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.
$ac_ext >&5
2746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2747 cat >conftest.
$ac_ext <<_ACEOF
2750 cat confdefs.h
>>conftest.
$ac_ext
2751 cat >>conftest.
$ac_ext <<_ACEOF
2752 /* end confdefs.h. */
2762 rm -f conftest.
$ac_objext
2763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2764 (eval $ac_compile) 2>conftest.er1
2766 grep -v '^ *+' conftest.er1
>conftest.err
2768 cat conftest.err
>&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); } &&
2771 { ac_try
='test -z "$ac_c_werror_flag"
2772 || test ! -s conftest.err'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; } &&
2778 { ac_try
='test -s conftest.$ac_objext'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; }; then
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.
$ac_ext >&5
2790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2793 if test -n "$ac_declaration"; then
2794 echo '#ifdef __cplusplus' >>confdefs.h
2795 echo $ac_declaration >>confdefs.h
2796 echo '#endif' >>confdefs.h
2800 echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.
$ac_ext >&5
2804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2806 ac_cpp
='$CPP $CPPFLAGS'
2807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2810 DEPDIR
="${am__leading_dot}deps"
2812 ac_config_commands
="$ac_config_commands depfiles"
2815 am_make
=${MAKE-make}
2816 cat > confinc
<< 'END'
2821 # If we don't find an include directive, just comment out the code.
2822 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2823 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2827 # First try GNU make style include.
2828 echo "include confinc" > confmf
2829 # We grep out `Entering directory' and `Leaving directory'
2830 # messages which can occur if `w' ends up in MAKEFLAGS.
2831 # In particular we don't look at `^make:' because GNU make might
2832 # be invoked under some other name (usually "gmake"), in which
2833 # case it prints its new name instead of `make'.
2834 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2839 # Now try BSD make style include.
2840 if test "$am__include" = "#"; then
2841 echo '.include "confinc"' > confmf
2842 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2843 am__include
=.include
2850 echo "$as_me:$LINENO: result: $_am_result" >&5
2851 echo "${ECHO_T}$_am_result" >&6
2852 rm -f confinc confmf
2854 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2855 if test "${enable_dependency_tracking+set}" = set; then
2856 enableval
="$enable_dependency_tracking"
2859 if test "x$enable_dependency_tracking" != xno
; then
2860 am_depcomp
="$ac_aux_dir/depcomp"
2865 if test "x$enable_dependency_tracking" != xno; then
2876 depcc
="$CC" am_compiler_list
=
2878 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2879 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2880 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2884 # We make a subdir and do the tests there. Otherwise we can end up
2885 # making bogus files that we don't know about and never remove. For
2886 # instance it was reported that on HP-UX the gcc test will end up
2887 # making a dummy file named `D' -- because `-MD' means `put the output
2890 # Copy depcomp to subdir because otherwise we won't find it if we're
2891 # using a relative directory.
2892 cp "$am_depcomp" conftest.dir
2894 # We will build objects and dependencies in a subdirectory because
2895 # it helps to detect inapplicable dependency modes. For instance
2896 # both Tru64's cc and ICC support -MD to output dependencies as a
2897 # side effect of compilation, but ICC will put the dependencies in
2898 # the current directory while Tru64 will put them in the object
2902 am_cv_CC_dependencies_compiler_type
=none
2903 if test "$am_compiler_list" = ""; then
2904 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2906 for depmode
in $am_compiler_list; do
2907 # Setup a source with many dependencies, because some compilers
2908 # like to wrap large dependency lists on column 80 (with \), and
2909 # we should not choose a depcomp mode which is confused by this.
2911 # We need to recreate these files for each test, as the compiler may
2912 # overwrite some of them when testing with obscure command lines.
2913 # This happens at least with the AIX C compiler.
2915 for i
in 1 2 3 4 5 6; do
2916 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2919 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2923 # after this tag, mechanisms are not by side-effect, so they'll
2924 # only be used when explicitly requested
2925 if test "x$enable_dependency_tracking" = xyes
; then
2933 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2934 # mode. It turns out that the SunPro C++ compiler does not properly
2935 # handle `-M -o', and we need to detect this.
2936 if depmode
=$depmode \
2937 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2938 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2939 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2940 >/dev
/null
2>conftest.err
&&
2941 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2942 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2943 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2944 # icc doesn't choke on unknown options, it will just issue warnings
2945 # (even with -Werror). So we grep stderr for any message
2946 # that says an option was ignored.
2947 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2948 am_cv_CC_dependencies_compiler_type
=$depmode
2957 am_cv_CC_dependencies_compiler_type
=none
2961 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2962 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2963 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2968 test "x$enable_dependency_tracking" != xno \
2969 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2971 am__fastdepCC_FALSE
='#'
2973 am__fastdepCC_TRUE
='#'
2974 am__fastdepCC_FALSE
=
2982 # By default we simply use the C compiler to build assembly code.
2985 # Set ASFLAGS if not already set.
2986 : ${CCASFLAGS='$(CFLAGS)'}
2989 if test "x$CC" != xcc
; then
2990 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
2991 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
2993 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
2994 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
2996 set dummy
$CC; ac_cc
=`echo $2 |
2997 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
2998 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 cat >conftest.
$ac_ext <<_ACEOF
3004 cat confdefs.h
>>conftest.
$ac_ext
3005 cat >>conftest.
$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3016 # Make sure it works both with $CC and with simple cc.
3017 # We do the test twice because some compilers refuse to overwrite an
3018 # existing .o file with -o, though they will create one.
3019 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3020 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } &&
3025 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); };
3031 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3032 if test "x$CC" != xcc
; then
3033 # Test first that cc exists at all.
3034 if { ac_try
='cc -c conftest.$ac_ext >&5'
3035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); }; }; then
3040 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3041 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } &&
3046 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); };
3055 # cc exists but doesn't like -o.
3056 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3061 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3066 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3067 echo "$as_me:$LINENO: result: yes" >&5
3068 echo "${ECHO_T}yes" >&6
3070 echo "$as_me:$LINENO: result: no" >&5
3071 echo "${ECHO_T}no" >&6
3073 cat >>confdefs.h
<<\_ACEOF
3074 #define NO_MINUS_C_MINUS_O 1
3079 # FIXME: we rely on the cache variable name because
3080 # there is no other way.
3082 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3083 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3084 # Losing compiler, so override with the script.
3085 # FIXME: It is wrong to rewrite CC.
3086 # But if we don't then we get into trouble of one sort or another.
3087 # A longer-term fix would be to have automake use am__CC in this case,
3088 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3089 CC
="$am_aux_dir/compile $CC"
3092 # Check whether --enable-shared or --disable-shared was given.
3093 if test "${enable_shared+set}" = set; then
3094 enableval
="$enable_shared"
3095 p
=${PACKAGE-default}
3097 yes) enable_shared
=yes ;;
3098 no
) enable_shared
=no
;;
3101 # Look at the argument we got. We use all the common list separators.
3102 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3103 for pkg
in $enableval; do
3104 if test "X$pkg" = "X$p"; then
3114 # Check whether --enable-static or --disable-static was given.
3115 if test "${enable_static+set}" = set; then
3116 enableval
="$enable_static"
3117 p
=${PACKAGE-default}
3119 yes) enable_static
=yes ;;
3120 no
) enable_static
=no
;;
3123 # Look at the argument we got. We use all the common list separators.
3124 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3125 for pkg
in $enableval; do
3126 if test "X$pkg" = "X$p"; then
3136 # Check whether --enable-fast-install or --disable-fast-install was given.
3137 if test "${enable_fast_install+set}" = set; then
3138 enableval
="$enable_fast_install"
3139 p
=${PACKAGE-default}
3141 yes) enable_fast_install
=yes ;;
3142 no
) enable_fast_install
=no
;;
3144 enable_fast_install
=no
3145 # Look at the argument we got. We use all the common list separators.
3146 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3147 for pkg
in $enableval; do
3148 if test "X$pkg" = "X$p"; then
3149 enable_fast_install
=yes
3156 enable_fast_install
=yes
3159 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3160 if test "${with_gnu_ld+set}" = set; then
3161 withval
="$with_gnu_ld"
3162 test "$withval" = no || with_gnu_ld
=yes
3167 if test "$GCC" = yes; then
3168 # Check if gcc -print-prog-name=ld gives a path.
3169 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3170 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3173 # gcc leaves a trailing carriage return which upsets mingw
3174 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3176 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3179 # Accept absolute paths.
3180 [\\/]* |
[A-Za-z
]:[\\/]*)
3181 re_direlt
='/[^/][^/]*/\.\./'
3182 # Canonicalize the path of ld
3183 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3184 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3185 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3187 test -z "$LD" && LD
="$ac_prog"
3190 # If it fails, then pretend we aren't using GCC.
3194 # If it is relative, then search for the first ld in PATH.
3198 elif test "$with_gnu_ld" = yes; then
3199 echo "$as_me:$LINENO: checking for GNU ld" >&5
3200 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3202 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3203 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3205 if test "${lt_cv_path_LD+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3208 if test -z "$LD"; then
3209 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3210 for ac_dir
in $PATH; do
3211 test -z "$ac_dir" && ac_dir
=.
3212 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3213 lt_cv_path_LD
="$ac_dir/$ac_prog"
3214 # Check to see if the program is GNU ld. I'd rather use --version,
3215 # but apparently some GNU ld's only accept -v.
3216 # Break only if it was the GNU/non-GNU ld that we prefer.
3217 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3218 test "$with_gnu_ld" != no
&& break
3220 test "$with_gnu_ld" != yes && break
3226 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3231 if test -n "$LD"; then
3232 echo "$as_me:$LINENO: result: $LD" >&5
3233 echo "${ECHO_T}$LD" >&6
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3238 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3239 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3240 { (exit 1); exit 1; }; }
3241 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3242 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3243 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3247 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3248 lt_cv_prog_gnu_ld
=yes
3250 lt_cv_prog_gnu_ld
=no
3253 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3254 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3255 with_gnu_ld
=$lt_cv_prog_gnu_ld
3258 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3259 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3260 if test "${lt_cv_ld_reload_flag+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 lt_cv_ld_reload_flag
='-r'
3265 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3266 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3267 reload_flag
=$lt_cv_ld_reload_flag
3268 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3270 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3271 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3272 if test "${lt_cv_path_NM+set}" = set; then
3273 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 if test -n "$NM"; then
3276 # Let the user override the test.
3279 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3280 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3281 test -z "$ac_dir" && ac_dir
=.
3282 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3283 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3284 # Check to see if the nm accepts a BSD-compat flag.
3285 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3286 # nm: unknown option "B" ignored
3287 # Tru64's nm complains that /dev/null is an invalid object file
3288 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3289 lt_cv_path_NM
="$tmp_nm -B"
3291 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3292 lt_cv_path_NM
="$tmp_nm -p"
3295 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3296 continue # so that we can try to find one that supports BSD flags
3301 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3306 echo "$as_me:$LINENO: result: $NM" >&5
3307 echo "${ECHO_T}$NM" >&6
3309 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3310 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3312 if test "$LN_S" = "ln -s"; then
3313 echo "$as_me:$LINENO: result: yes" >&5
3314 echo "${ECHO_T}yes" >&6
3316 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3317 echo "${ECHO_T}no, using $LN_S" >&6
3320 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3321 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3322 if test "${lt_cv_deplibs_check_method+set}" = set; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3326 lt_cv_file_magic_test_file
=
3327 lt_cv_deplibs_check_method
='unknown'
3328 # Need to set the preceding variable on all platforms that support
3329 # interlibrary dependencies.
3330 # 'none' -- dependencies not supported.
3331 # `unknown' -- same as none, but documents that we really don't know.
3332 # 'pass_all' -- all dependencies passed with no checks.
3333 # 'test_compile' -- check by making test program.
3334 # 'file_magic [regex]' -- check by looking for files in library path
3335 # which responds to the $file_magic_cmd with a given egrep regex.
3336 # If you have `file' or equivalent on your system and you're not sure
3337 # whether `pass_all' will *always* work, you probably want this one.
3341 lt_cv_deplibs_check_method
=pass_all
3345 lt_cv_deplibs_check_method
=pass_all
3349 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3350 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3351 lt_cv_file_magic_test_file
=/shlib
/libc.so
3354 cygwin
* | mingw
* |pw32
*)
3355 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3356 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3359 darwin
* | rhapsody
*)
3360 # this will be overwritten by pass_all, but leave it in just in case
3361 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3362 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3364 rhapsody
* | darwin1.012
)
3365 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3368 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3371 lt_cv_deplibs_check_method
=pass_all
3374 freebsd
* | kfreebsd
*-gnu)
3375 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3378 # Not sure whether the presence of OpenBSD here was a mistake.
3379 # Let's accept both of them until this is cleared up.
3380 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3381 lt_cv_file_magic_cmd
=/usr
/bin
/file
3382 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3386 lt_cv_deplibs_check_method
=pass_all
3391 lt_cv_deplibs_check_method
=pass_all
3397 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3398 lt_cv_file_magic_cmd
=/usr
/bin
/file
3399 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3402 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3403 lt_cv_file_magic_cmd
=/usr
/bin
/file
3404 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3412 # this will be overridden with pass_all, but let us keep it just in case
3413 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3417 *-32|
*"-32 ") libmagic
=32-bit;;
3418 *-n32|
*"-n32 ") libmagic
=N32
;;
3419 *-64|
*"-64 ") libmagic
=64-bit;;
3420 *) libmagic
=never-match
;;
3422 # this will be overridden with pass_all, but let us keep it just in case
3423 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3426 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3427 lt_cv_deplibs_check_method
=pass_all
3430 # This must be Linux ELF.
3433 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
3434 lt_cv_deplibs_check_method
=pass_all
;;
3436 # glibc up to 2.1.1 does not perform some relocations on ARM
3437 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3439 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3442 netbsd
* | knetbsd
*-gnu)
3443 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3444 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3446 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3451 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3452 lt_cv_file_magic_cmd
=/usr
/bin
/file
3453 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3456 osf3
* | osf4
* | osf5
*)
3457 # this will be overridden with pass_all, but let us keep it just in case
3458 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3459 lt_cv_file_magic_test_file
=/shlib
/libc.so
3460 lt_cv_deplibs_check_method
=pass_all
3464 lt_cv_deplibs_check_method
=pass_all
3468 lt_cv_deplibs_check_method
=pass_all
3469 lt_cv_file_magic_test_file
=/lib
/libc.so
3472 sysv5uw
[78]* | sysv4
*uw2
*)
3473 lt_cv_deplibs_check_method
=pass_all
3476 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3477 case $host_vendor in
3479 lt_cv_deplibs_check_method
=pass_all
3482 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3483 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3490 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3491 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3492 file_magic_cmd
=$lt_cv_file_magic_cmd
3493 deplibs_check_method
=$lt_cv_deplibs_check_method
3499 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3501 # Only perform the check for file, if the check method requires it
3502 case $deplibs_check_method in
3504 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3505 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3506 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3507 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3515 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3518 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3519 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3520 ac_dummy
="/usr/bin:$PATH"
3521 for ac_dir
in $ac_dummy; do
3522 test -z "$ac_dir" && ac_dir
=.
3523 if test -f $ac_dir/${ac_tool_prefix}file; then
3524 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3525 if test -n "$file_magic_test_file"; then
3526 case $deplibs_check_method in
3528 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3529 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3530 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3531 egrep "$file_magic_regex" > /dev
/null
; then
3536 *** Warning: the command libtool uses to detect shared libraries,
3537 *** $file_magic_cmd, produces output that libtool cannot recognize.
3538 *** The result is that libtool may fail to recognize shared libraries
3539 *** as such. This will affect the creation of libtool libraries that
3540 *** depend on shared libraries, but programs linked with such libtool
3541 *** libraries will work regardless of this problem. Nevertheless, you
3542 *** may want to report the problem to your system manager and/or to
3543 *** bug-libtool@gnu.org
3553 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3558 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3559 if test -n "$MAGIC_CMD"; then
3560 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3561 echo "${ECHO_T}$MAGIC_CMD" >&6
3563 echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6
3567 if test -z "$lt_cv_path_MAGIC_CMD"; then
3568 if test -n "$ac_tool_prefix"; then
3569 echo "$as_me:$LINENO: checking for file" >&5
3570 echo $ECHO_N "checking for file... $ECHO_C" >&6
3571 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3576 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3579 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3582 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3583 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3584 ac_dummy
="/usr/bin:$PATH"
3585 for ac_dir
in $ac_dummy; do
3586 test -z "$ac_dir" && ac_dir
=.
3587 if test -f $ac_dir/file; then
3588 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3589 if test -n "$file_magic_test_file"; then
3590 case $deplibs_check_method in
3592 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3593 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3594 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3595 egrep "$file_magic_regex" > /dev
/null
; then
3600 *** Warning: the command libtool uses to detect shared libraries,
3601 *** $file_magic_cmd, produces output that libtool cannot recognize.
3602 *** The result is that libtool may fail to recognize shared libraries
3603 *** as such. This will affect the creation of libtool libraries that
3604 *** depend on shared libraries, but programs linked with such libtool
3605 *** libraries will work regardless of this problem. Nevertheless, you
3606 *** may want to report the problem to your system manager and/or to
3607 *** bug-libtool@gnu.org
3617 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3622 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3623 if test -n "$MAGIC_CMD"; then
3624 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3625 echo "${ECHO_T}$MAGIC_CMD" >&6
3627 echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6
3640 if test -n "$ac_tool_prefix"; then
3641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3642 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3643 echo "$as_me:$LINENO: checking for $ac_word" >&5
3644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3645 if test "${ac_cv_prog_RANLIB+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 if test -n "$RANLIB"; then
3649 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir
=.
3656 for ac_exec_ext
in '' $ac_executable_extensions; do
3657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3658 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 RANLIB
=$ac_cv_prog_RANLIB
3668 if test -n "$RANLIB"; then
3669 echo "$as_me:$LINENO: result: $RANLIB" >&5
3670 echo "${ECHO_T}$RANLIB" >&6
3672 echo "$as_me:$LINENO: result: no" >&5
3673 echo "${ECHO_T}no" >&6
3677 if test -z "$ac_cv_prog_RANLIB"; then
3678 ac_ct_RANLIB
=$RANLIB
3679 # Extract the first word of "ranlib", so it can be a program name with args.
3680 set dummy ranlib
; ac_word
=$2
3681 echo "$as_me:$LINENO: checking for $ac_word" >&5
3682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3683 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 if test -n "$ac_ct_RANLIB"; then
3687 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3706 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3707 if test -n "$ac_ct_RANLIB"; then
3708 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3709 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3715 RANLIB
=$ac_ct_RANLIB
3717 RANLIB
="$ac_cv_prog_RANLIB"
3720 if test -n "$ac_tool_prefix"; then
3721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3722 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3723 echo "$as_me:$LINENO: checking for $ac_word" >&5
3724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3725 if test "${ac_cv_prog_STRIP+set}" = set; then
3726 echo $ECHO_N "(cached) $ECHO_C" >&6
3728 if test -n "$STRIP"; then
3729 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_exec_ext
in '' $ac_executable_extensions; do
3737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3738 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 STRIP
=$ac_cv_prog_STRIP
3748 if test -n "$STRIP"; then
3749 echo "$as_me:$LINENO: result: $STRIP" >&5
3750 echo "${ECHO_T}$STRIP" >&6
3752 echo "$as_me:$LINENO: result: no" >&5
3753 echo "${ECHO_T}no" >&6
3757 if test -z "$ac_cv_prog_STRIP"; then
3759 # Extract the first word of "strip", so it can be a program name with args.
3760 set dummy strip
; ac_word
=$2
3761 echo "$as_me:$LINENO: checking for $ac_word" >&5
3762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3763 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3766 if test -n "$ac_ct_STRIP"; then
3767 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3773 test -z "$as_dir" && as_dir
=.
3774 for ac_exec_ext
in '' $ac_executable_extensions; do
3775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3776 ac_cv_prog_ac_ct_STRIP
="strip"
3777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3786 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3787 if test -n "$ac_ct_STRIP"; then
3788 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3789 echo "${ECHO_T}$ac_ct_STRIP" >&6
3791 echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6
3797 STRIP
="$ac_cv_prog_STRIP"
3801 # Check for any special flags to pass to ltconfig.
3802 libtool_flags
="--cache-file=$cache_file"
3803 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3804 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3805 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3806 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3807 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3810 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3811 if test "${enable_libtool_lock+set}" = set; then
3812 enableval
="$enable_libtool_lock"
3815 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3816 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3819 # Check whether --with-pic or --without-pic was given.
3820 if test "${with_pic+set}" = set; then
3826 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3827 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3829 # Some flags need to be propagated to the compiler or linker for good
3833 # Find out which ABI we are using.
3834 echo '#line 3834 "configure"' > conftest.
$ac_ext
3835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3836 (eval $ac_compile) 2>&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); }; then
3840 if test "$lt_cv_prog_gnu_ld" = yes; then
3841 case `/usr/bin/file conftest.$ac_objext` in
3843 LD
="${LD-ld} -melf32bsmip"
3846 LD
="${LD-ld} -melf32bmipn32"
3849 LD
="${LD-ld} -melf64bmip"
3853 case `/usr/bin/file conftest.$ac_objext` in
3870 # Find out which ABI we are using.
3871 echo 'int i;' > conftest.
$ac_ext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3873 (eval $ac_compile) 2>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; then
3877 case "`/usr/bin/file conftest.o`" in
3889 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3890 # Find out which ABI we are using.
3891 echo 'int i;' > conftest.
$ac_ext
3892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3893 (eval $ac_compile) 2>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; then
3897 case "`/usr/bin/file conftest.o`" in
3901 LD
="${LD-ld} -m elf_i386"
3903 ppc64-
*linux
*|powerpc64-
*linux
*)
3904 LD
="${LD-ld} -m elf32ppclinux"
3907 LD
="${LD-ld} -m elf_s390"
3910 LD
="${LD-ld} -m elf32_sparc"
3917 LD
="${LD-ld} -m elf_x86_64"
3919 ppc
*-*linux
*|powerpc
*-*linux
*)
3920 LD
="${LD-ld} -m elf64ppc"
3923 LD
="${LD-ld} -m elf64_s390"
3926 LD
="${LD-ld} -m elf64_sparc"
3936 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3937 SAVE_CFLAGS
="$CFLAGS"
3938 CFLAGS
="$CFLAGS -belf"
3939 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3940 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3941 if test "${lt_cv_cc_needs_belf+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 ac_cpp
='$CPP $CPPFLAGS'
3948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3952 cat >conftest.
$ac_ext <<_ACEOF
3955 cat confdefs.h
>>conftest.
$ac_ext
3956 cat >>conftest.
$ac_ext <<_ACEOF
3957 /* end confdefs.h. */
3967 rm -f conftest.
$ac_objext conftest
$ac_exeext
3968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3969 (eval $ac_link) 2>conftest.er1
3971 grep -v '^ *+' conftest.er1
>conftest.err
3973 cat conftest.err
>&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } &&
3976 { ac_try
='test -z "$ac_c_werror_flag"
3977 || test ! -s conftest.err'
3978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; } &&
3983 { ac_try
='test -s conftest$ac_exeext'
3984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); }; }; then
3989 lt_cv_cc_needs_belf
=yes
3991 echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.
$ac_ext >&5
3994 lt_cv_cc_needs_belf
=no
3996 rm -f conftest.err conftest.
$ac_objext \
3997 conftest
$ac_exeext conftest.
$ac_ext
3999 ac_cpp
='$CPP $CPPFLAGS'
4000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4005 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4006 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4007 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4008 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4009 CFLAGS
="$SAVE_CFLAGS"
4017 # Save cache, so that ltconfig can load it
4018 cat >confcache
<<\_ACEOF
4019 # This file is a shell script that caches the results of configure
4020 # tests run on this system so they can be shared between configure
4021 # scripts and configure runs, see configure's option --config-cache.
4022 # It is not useful on other systems. If it contains results you don't
4023 # want to keep, you may remove or edit it.
4025 # config.status only pays attention to the cache file if you give it
4026 # the --recheck option to rerun configure.
4028 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4029 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4034 # The following way of writing the cache mishandles newlines in values,
4035 # but we know of no workaround that is simple, portable, and efficient.
4036 # So, don't put newlines in cache variables' values.
4037 # Ultrix sh set writes to stderr and can't be redirected directly,
4038 # and sets the high bit in the cache file unless we assign to the vars.
4041 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4043 # `set' does not quote correctly, so add quotes (double-quote
4044 # substitution turns \\\\ into \\, and sed turns \\ into \).
4047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4050 # `set' quotes correctly as required by POSIX, so do not add quotes.
4052 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4059 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4061 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4063 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4064 if test -w $cache_file; then
4065 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4066 cat confcache
>$cache_file
4068 echo "not updating unwritable cache $cache_file"
4073 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4074 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4075 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4076 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4077 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4078 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4079 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4080 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4081 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4082 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4083 echo "$as_me: error: libtool configure failed" >&2;}
4084 { (exit 1); exit 1; }; }
4086 # Reload cache, that may have been modified by ltconfig
4087 if test -r "$cache_file"; then
4088 # Some versions of bash will fail to source /dev/null (special
4089 # files actually), so we avoid doing that.
4090 if test -f "$cache_file"; then
4091 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4092 echo "$as_me: loading cache $cache_file" >&6;}
4094 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4095 *) . .
/$cache_file;;
4099 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4100 echo "$as_me: creating cache $cache_file" >&6;}
4105 # This can be used to rebuild libtool when needed
4106 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4108 # Always use our own libtool.
4109 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4111 # Redirect the config.log output again, so that the ltconfig log is not
4112 # clobbered by the next message.
4113 exec 5>>.
/config.log
4121 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4122 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4123 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4124 if test "${enable_maintainer_mode+set}" = set; then
4125 enableval
="$enable_maintainer_mode"
4126 USE_MAINTAINER_MODE
=$enableval
4128 USE_MAINTAINER_MODE
=no
4130 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4131 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4134 if test $USE_MAINTAINER_MODE = yes; then
4135 MAINTAINER_MODE_TRUE
=
4136 MAINTAINER_MODE_FALSE
='#'
4138 MAINTAINER_MODE_TRUE
='#'
4139 MAINTAINER_MODE_FALSE
=
4142 MAINT
=$MAINTAINER_MODE_TRUE
4147 ac_cpp
='$CPP $CPPFLAGS'
4148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4151 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4152 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4153 # On Suns, sometimes $CPP names a directory.
4154 if test -n "$CPP" && test -d "$CPP"; then
4157 if test -z "$CPP"; then
4158 if test "${ac_cv_prog_CPP+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 # Double quotes because CPP needs to be expanded
4162 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4165 for ac_c_preproc_warn_flag
in '' yes
4167 # Use a header file that comes with gcc, so configuring glibc
4168 # with a fresh cross-compiler works.
4169 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4170 # <limits.h> exists even on freestanding compilers.
4171 # On the NeXT, cc -E runs the code through the compiler's parser,
4172 # not just through cpp. "Syntax error" is here to catch this case.
4173 cat >conftest.
$ac_ext <<_ACEOF
4176 cat confdefs.h
>>conftest.
$ac_ext
4177 cat >>conftest.
$ac_ext <<_ACEOF
4178 /* end confdefs.h. */
4180 # include <limits.h>
4182 # include <assert.h>
4186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4187 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4189 grep -v '^ *+' conftest.er1
>conftest.err
4191 cat conftest.err
>&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); } >/dev
/null
; then
4194 if test -s conftest.err
; then
4195 ac_cpp_err
=$ac_c_preproc_warn_flag
4196 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4203 if test -z "$ac_cpp_err"; then
4206 echo "$as_me: failed program was:" >&5
4207 sed 's/^/| /' conftest.
$ac_ext >&5
4209 # Broken: fails on valid input.
4212 rm -f conftest.err conftest.
$ac_ext
4214 # OK, works on sane cases. Now check whether non-existent headers
4215 # can be detected and how.
4216 cat >conftest.
$ac_ext <<_ACEOF
4219 cat confdefs.h
>>conftest.
$ac_ext
4220 cat >>conftest.
$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4222 #include <ac_nonexistent.h>
4224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4225 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4227 grep -v '^ *+' conftest.er1
>conftest.err
4229 cat conftest.err
>&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } >/dev
/null
; then
4232 if test -s conftest.err
; then
4233 ac_cpp_err
=$ac_c_preproc_warn_flag
4234 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4241 if test -z "$ac_cpp_err"; then
4242 # Broken: success on invalid input.
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.
$ac_ext >&5
4248 # Passes both tests.
4252 rm -f conftest.err conftest.
$ac_ext
4255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4256 rm -f conftest.err conftest.
$ac_ext
4257 if $ac_preproc_ok; then
4269 echo "$as_me:$LINENO: result: $CPP" >&5
4270 echo "${ECHO_T}$CPP" >&6
4272 for ac_c_preproc_warn_flag
in '' yes
4274 # Use a header file that comes with gcc, so configuring glibc
4275 # with a fresh cross-compiler works.
4276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277 # <limits.h> exists even on freestanding compilers.
4278 # On the NeXT, cc -E runs the code through the compiler's parser,
4279 # not just through cpp. "Syntax error" is here to catch this case.
4280 cat >conftest.
$ac_ext <<_ACEOF
4283 cat confdefs.h
>>conftest.
$ac_ext
4284 cat >>conftest.
$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4287 # include <limits.h>
4289 # include <assert.h>
4293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4294 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4296 grep -v '^ *+' conftest.er1
>conftest.err
4298 cat conftest.err
>&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); } >/dev
/null
; then
4301 if test -s conftest.err
; then
4302 ac_cpp_err
=$ac_c_preproc_warn_flag
4303 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4310 if test -z "$ac_cpp_err"; then
4313 echo "$as_me: failed program was:" >&5
4314 sed 's/^/| /' conftest.
$ac_ext >&5
4316 # Broken: fails on valid input.
4319 rm -f conftest.err conftest.
$ac_ext
4321 # OK, works on sane cases. Now check whether non-existent headers
4322 # can be detected and how.
4323 cat >conftest.
$ac_ext <<_ACEOF
4326 cat confdefs.h
>>conftest.
$ac_ext
4327 cat >>conftest.
$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4329 #include <ac_nonexistent.h>
4331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4334 grep -v '^ *+' conftest.er1
>conftest.err
4336 cat conftest.err
>&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } >/dev
/null
; then
4339 if test -s conftest.err
; then
4340 ac_cpp_err
=$ac_c_preproc_warn_flag
4341 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4348 if test -z "$ac_cpp_err"; then
4349 # Broken: success on invalid input.
4352 echo "$as_me: failed program was:" >&5
4353 sed 's/^/| /' conftest.
$ac_ext >&5
4355 # Passes both tests.
4359 rm -f conftest.err conftest.
$ac_ext
4362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4363 rm -f conftest.err conftest.
$ac_ext
4364 if $ac_preproc_ok; then
4367 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4368 See \`config.log' for more details." >&5
4369 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4370 See \`config.log' for more details." >&2;}
4371 { (exit 1); exit 1; }; }
4375 ac_cpp
='$CPP $CPPFLAGS'
4376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4381 echo "$as_me:$LINENO: checking for egrep" >&5
4382 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4383 if test "${ac_cv_prog_egrep+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4386 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4387 then ac_cv_prog_egrep
='grep -E'
4388 else ac_cv_prog_egrep
='egrep'
4391 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4392 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4393 EGREP
=$ac_cv_prog_egrep
4396 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4397 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4398 if test "${ac_cv_header_stdc+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 cat >conftest.
$ac_ext <<_ACEOF
4404 cat confdefs.h
>>conftest.
$ac_ext
4405 cat >>conftest.
$ac_ext <<_ACEOF
4406 /* end confdefs.h. */
4420 rm -f conftest.
$ac_objext
4421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4422 (eval $ac_compile) 2>conftest.er1
4424 grep -v '^ *+' conftest.er1
>conftest.err
4426 cat conftest.err
>&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); } &&
4429 { ac_try
='test -z "$ac_c_werror_flag"
4430 || test ! -s conftest.err'
4431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; } &&
4436 { ac_try
='test -s conftest.$ac_objext'
4437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); }; }; then
4442 ac_cv_header_stdc
=yes
4444 echo "$as_me: failed program was:" >&5
4445 sed 's/^/| /' conftest.
$ac_ext >&5
4447 ac_cv_header_stdc
=no
4449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4451 if test $ac_cv_header_stdc = yes; then
4452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4453 cat >conftest.
$ac_ext <<_ACEOF
4456 cat confdefs.h
>>conftest.
$ac_ext
4457 cat >>conftest.
$ac_ext <<_ACEOF
4458 /* end confdefs.h. */
4462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4463 $EGREP "memchr" >/dev
/null
2>&1; then
4466 ac_cv_header_stdc
=no
4472 if test $ac_cv_header_stdc = yes; then
4473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4474 cat >conftest.
$ac_ext <<_ACEOF
4477 cat confdefs.h
>>conftest.
$ac_ext
4478 cat >>conftest.
$ac_ext <<_ACEOF
4479 /* end confdefs.h. */
4483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4484 $EGREP "free" >/dev
/null
2>&1; then
4487 ac_cv_header_stdc
=no
4493 if test $ac_cv_header_stdc = yes; then
4494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4495 if test "$cross_compiling" = yes; then
4498 cat >conftest.
$ac_ext <<_ACEOF
4501 cat confdefs.h
>>conftest.
$ac_ext
4502 cat >>conftest.
$ac_ext <<_ACEOF
4503 /* end confdefs.h. */
4505 #if ((' ' & 0x0FF) == 0x020)
4506 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4507 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4509 # define ISLOWER(c) \
4510 (('a' <= (c) && (c) <= 'i') \
4511 || ('j' <= (c) && (c) <= 'r') \
4512 || ('s' <= (c) && (c) <= 'z'))
4513 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4516 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4521 for (i = 0; i < 256; i++)
4522 if (XOR (islower (i), ISLOWER (i))
4523 || toupper (i) != TOUPPER (i))
4528 rm -f conftest
$ac_exeext
4529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4530 (eval $ac_link) 2>&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); }; }; then
4541 echo "$as_me: program exited with status $ac_status" >&5
4542 echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.
$ac_ext >&5
4546 ac_cv_header_stdc
=no
4548 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4552 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4553 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4554 if test $ac_cv_header_stdc = yes; then
4556 cat >>confdefs.h
<<\_ACEOF
4557 #define STDC_HEADERS 1
4562 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4572 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4573 inttypes.h stdint.h unistd.h
4575 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4576 echo "$as_me:$LINENO: checking for $ac_header" >&5
4577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 cat >conftest.
$ac_ext <<_ACEOF
4584 cat confdefs.h
>>conftest.
$ac_ext
4585 cat >>conftest.
$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4587 $ac_includes_default
4589 #include <$ac_header>
4591 rm -f conftest.
$ac_objext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4593 (eval $ac_compile) 2>conftest.er1
4595 grep -v '^ *+' conftest.er1
>conftest.err
4597 cat conftest.err
>&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } &&
4600 { ac_try
='test -z "$ac_c_werror_flag"
4601 || test ! -s conftest.err'
4602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }; } &&
4607 { ac_try
='test -s conftest.$ac_objext'
4608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); }; }; then
4613 eval "$as_ac_Header=yes"
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.
$ac_ext >&5
4618 eval "$as_ac_Header=no"
4620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4625 cat >>confdefs.h
<<_ACEOF
4626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4635 for ac_header
in sys
/mman.h
4637 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4639 echo "$as_me:$LINENO: checking for $ac_header" >&5
4640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4647 # Is the header compilable?
4648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4650 cat >conftest.
$ac_ext <<_ACEOF
4653 cat confdefs.h
>>conftest.
$ac_ext
4654 cat >>conftest.
$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4656 $ac_includes_default
4657 #include <$ac_header>
4659 rm -f conftest.
$ac_objext
4660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4661 (eval $ac_compile) 2>conftest.er1
4663 grep -v '^ *+' conftest.er1
>conftest.err
4665 cat conftest.err
>&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); } &&
4668 { ac_try
='test -z "$ac_c_werror_flag"
4669 || test ! -s conftest.err'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; } &&
4675 { ac_try
='test -s conftest.$ac_objext'
4676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; }; then
4681 ac_header_compiler
=yes
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.
$ac_ext >&5
4686 ac_header_compiler
=no
4688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4690 echo "${ECHO_T}$ac_header_compiler" >&6
4692 # Is the header present?
4693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4695 cat >conftest.
$ac_ext <<_ACEOF
4698 cat confdefs.h
>>conftest.
$ac_ext
4699 cat >>conftest.
$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4701 #include <$ac_header>
4703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4706 grep -v '^ *+' conftest.er1
>conftest.err
4708 cat conftest.err
>&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } >/dev
/null
; then
4711 if test -s conftest.err
; then
4712 ac_cpp_err
=$ac_c_preproc_warn_flag
4713 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4720 if test -z "$ac_cpp_err"; then
4721 ac_header_preproc
=yes
4723 echo "$as_me: failed program was:" >&5
4724 sed 's/^/| /' conftest.
$ac_ext >&5
4726 ac_header_preproc
=no
4728 rm -f conftest.err conftest.
$ac_ext
4729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4730 echo "${ECHO_T}$ac_header_preproc" >&6
4732 # So? What about this header?
4733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4739 ac_header_preproc
=yes
4742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4756 ## ------------------------------------------- ##
4757 ## Report this to http://gcc.gnu.org/bugs.html ##
4758 ## ------------------------------------------- ##
4761 sed "s/^/$as_me: WARNING: /" >&2
4764 echo "$as_me:$LINENO: checking for $ac_header" >&5
4765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 eval "$as_ac_Header=\$ac_header_preproc"
4771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4776 cat >>confdefs.h
<<_ACEOF
4777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4788 echo "$as_me:$LINENO: checking for $ac_func" >&5
4789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4790 if eval "test \"\${$as_ac_var+set}\" = set"; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 cat >conftest.
$ac_ext <<_ACEOF
4796 cat confdefs.h
>>conftest.
$ac_ext
4797 cat >>conftest.
$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4801 #define $ac_func innocuous_$ac_func
4803 /* System header to define __stub macros and hopefully few prototypes,
4804 which can conflict with char $ac_func (); below.
4805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4806 <limits.h> exists even on freestanding compilers. */
4809 # include <limits.h>
4811 # include <assert.h>
4816 /* Override any gcc2 internal prototype to avoid an error. */
4821 /* We use char because int might match the return type of a gcc2
4822 builtin and then its argument prototype would still apply. */
4824 /* The GNU C library defines this for functions which it implements
4825 to always fail with ENOSYS. Some functions are actually named
4826 something starting with __ and the normal name is an alias. */
4827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4830 char (*f) () = $ac_func;
4839 return f != $ac_func;
4844 rm -f conftest.
$ac_objext conftest
$ac_exeext
4845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4846 (eval $ac_link) 2>conftest.er1
4848 grep -v '^ *+' conftest.er1
>conftest.err
4850 cat conftest.err
>&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); } &&
4853 { ac_try
='test -z "$ac_c_werror_flag"
4854 || test ! -s conftest.err'
4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; } &&
4860 { ac_try
='test -s conftest$ac_exeext'
4861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); }; }; then
4866 eval "$as_ac_var=yes"
4868 echo "$as_me: failed program was:" >&5
4869 sed 's/^/| /' conftest.
$ac_ext >&5
4871 eval "$as_ac_var=no"
4873 rm -f conftest.err conftest.
$ac_objext \
4874 conftest
$ac_exeext conftest.
$ac_ext
4876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4878 if test `eval echo '${'$as_ac_var'}'` = yes; then
4879 cat >>confdefs.h
<<_ACEOF
4880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4886 if test $ac_cv_header_sys_mman_h != yes \
4887 ||
test $ac_cv_func_mmap != yes; then
4888 ac_cv_func_mmap_file
=no
4889 ac_cv_func_mmap_dev_zero
=no
4890 ac_cv_func_mmap_anon
=no
4892 echo "$as_me:$LINENO: checking whether read-only mmap of a plain file works" >&5
4893 echo $ECHO_N "checking whether read-only mmap of a plain file works... $ECHO_C" >&6
4894 if test "${ac_cv_func_mmap_file+set}" = set; then
4895 echo $ECHO_N "(cached) $ECHO_C" >&6
4897 # Add a system to this blacklist if
4898 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
4899 # memory area containing the same data that you'd get if you applied
4900 # read() to the same fd. The only system known to have a problem here
4901 # is VMS, where text files have record structure.
4904 ac_cv_func_mmap_file
=no
;;
4906 ac_cv_func_mmap_file
=yes;;
4909 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
4910 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
4911 echo "$as_me:$LINENO: checking whether mmap from /dev/zero works" >&5
4912 echo $ECHO_N "checking whether mmap from /dev/zero works... $ECHO_C" >&6
4913 if test "${ac_cv_func_mmap_dev_zero+set}" = set; then
4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4916 # Add a system to this blacklist if it has mmap() but /dev/zero
4917 # does not exist, or if mmapping /dev/zero does not give anonymous
4918 # zeroed pages with both the following properties:
4919 # 1. If you map N consecutive pages in with one call, and then
4920 # unmap any subset of those pages, the pages that were not
4921 # explicitly unmapped remain accessible.
4922 # 2. If you map two adjacent blocks of memory and then unmap them
4923 # both at once, they must both go away.
4924 # Systems known to be in this category are Windows (all variants),
4927 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
4928 ac_cv_func_mmap_dev_zero
=no
;;
4930 ac_cv_func_mmap_dev_zero
=yes;;
4933 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_dev_zero" >&5
4934 echo "${ECHO_T}$ac_cv_func_mmap_dev_zero" >&6
4936 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
4937 echo "$as_me:$LINENO: checking for MAP_ANON(YMOUS)" >&5
4938 echo $ECHO_N "checking for MAP_ANON(YMOUS)... $ECHO_C" >&6
4939 if test "${ac_cv_decl_map_anon+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 cat >conftest.
$ac_ext <<_ACEOF
4945 cat confdefs.h
>>conftest.
$ac_ext
4946 cat >>conftest.
$ac_ext <<_ACEOF
4947 /* end confdefs.h. */
4948 #include <sys/types.h>
4949 #include <sys/mman.h>
4952 #ifndef MAP_ANONYMOUS
4953 #define MAP_ANONYMOUS MAP_ANON
4959 int n = MAP_ANONYMOUS;
4964 rm -f conftest.
$ac_objext
4965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4966 (eval $ac_compile) 2>conftest.er1
4968 grep -v '^ *+' conftest.er1
>conftest.err
4970 cat conftest.err
>&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } &&
4973 { ac_try
='test -z "$ac_c_werror_flag"
4974 || test ! -s conftest.err'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; } &&
4980 { ac_try
='test -s conftest.$ac_objext'
4981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); }; }; then
4986 ac_cv_decl_map_anon
=yes
4988 echo "$as_me: failed program was:" >&5
4989 sed 's/^/| /' conftest.
$ac_ext >&5
4991 ac_cv_decl_map_anon
=no
4993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4995 echo "$as_me:$LINENO: result: $ac_cv_decl_map_anon" >&5
4996 echo "${ECHO_T}$ac_cv_decl_map_anon" >&6
4998 if test $ac_cv_decl_map_anon = no
; then
4999 ac_cv_func_mmap_anon
=no
5001 echo "$as_me:$LINENO: checking whether mmap with MAP_ANON(YMOUS) works" >&5
5002 echo $ECHO_N "checking whether mmap with MAP_ANON(YMOUS) works... $ECHO_C" >&6
5003 if test "${ac_cv_func_mmap_anon+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 # Add a system to this blacklist if it has mmap() and MAP_ANON or
5007 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
5008 # doesn't give anonymous zeroed pages with the same properties listed
5009 # above for use of /dev/zero.
5010 # Systems known to be in this category are Windows, VMS, and SCO Unix.
5012 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
5013 ac_cv_func_mmap_anon
=no
;;
5015 ac_cv_func_mmap_anon
=yes;;
5018 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_anon" >&5
5019 echo "${ECHO_T}$ac_cv_func_mmap_anon" >&6
5023 if test $ac_cv_func_mmap_file = yes; then
5025 cat >>confdefs.h
<<\_ACEOF
5026 #define HAVE_MMAP_FILE 1
5030 if test $ac_cv_func_mmap_dev_zero = yes; then
5032 cat >>confdefs.h
<<\_ACEOF
5033 #define HAVE_MMAP_DEV_ZERO 1
5037 if test $ac_cv_func_mmap_anon = yes; then
5039 cat >>confdefs.h
<<\_ACEOF
5040 #define HAVE_MMAP_ANON 1
5048 if test -d $srcdir/testsuite
; then
5050 TESTSUBDIR_FALSE
='#'
5059 i
*86-*-linux*) TARGET
=X86
; TARGETDIR
=x86
;;
5060 i
*86-*-solaris*) TARGET
=X86
; TARGETDIR
=x86
;;
5061 i
*86-*-beos*) TARGET
=X86
; TARGETDIR
=x86
;;
5062 i
*86-*-freebsd*) TARGET
=X86
; TARGETDIR
=x86
;;
5063 i
*86-*-netbsdelf*) TARGET
=X86
; TARGETDIR
=x86
;;
5064 i
*86-*-win32*) TARGET
=X86_WIN32
; TARGETDIR
=x86
;;
5065 i
*86-*-cygwin*) TARGET
=X86_WIN32
; TARGETDIR
=x86
;;
5066 i
*86-*-mingw*) TARGET
=X86_WIN32
; TARGETDIR
=x86
;;
5067 sparc-sun-4
*) TARGET
=SPARC
; TARGETDIR
=sparc
;;
5068 sparc
*-sun-*) TARGET
=SPARC
; TARGETDIR
=sparc
;;
5069 sparc-
*-linux* | sparc-
*-netbsdelf*) TARGET
=SPARC
; TARGETDIR
=sparc
;;
5070 sparc64-
*-linux* | sparc64-
*-netbsd*) TARGET
=SPARC
; TARGETDIR
=sparc
;;
5071 alpha
*-*-linux* | alpha
*-*-osf* | alpha
*-*-freebsd* | alpha
*-*-netbsd*) TARGET
=ALPHA
; TARGETDIR
=alpha
;;
5072 ia64
*-*-*) TARGET
=IA64
; TARGETDIR
=ia64
;;
5073 m68k-
*-linux*) TARGET
=M68K
; TARGETDIR
=m68k
;;
5075 mips-sgi-irix5.
* | mips-sgi-irix6.
*) TARGET
=MIPS_IRIX
; TARGETDIR
=mips
;;
5076 mips
*-*-linux*) TARGET
=MIPS_LINUX
; TARGETDIR
=mips
;;
5077 powerpc
*-*-linux* | powerpc-
*-sysv*) TARGET
=POWERPC
; TARGETDIR
=powerpc
;;
5078 powerpc-
*-beos*) TARGET
=POWERPC
; TARGETDIR
=powerpc
;;
5079 powerpc-
*-darwin*) TARGET
=POWERPC_DARWIN
; TARGETDIR
=powerpc
;;
5080 powerpc-
*-aix*) TARGET
=POWERPC_AIX
; TARGETDIR
=powerpc
;;
5081 rs6000-
*-aix*) TARGET
=POWERPC_AIX
; TARGETDIR
=powerpc
;;
5082 arm
*-*-linux-*) TARGET
=ARM
; TARGETDIR
=arm
;;
5083 arm
*-*-netbsdelf*) TARGET
=ARM
; TARGETDIR
=arm
;;
5084 s390-
*-linux-*) TARGET
=S390
; TARGETDIR
=s390
;;
5085 s390x-
*-linux-*) TARGET
=S390
; TARGETDIR
=s390
;;
5086 x86_64-
*-linux* | x86_64-
*-freebsd*) TARGET
=X86_64
; TARGETDIR
=x86
;;
5087 sh-
*-linux* | sh
[34]*-*-linux*) TARGET
=SH
; TARGETDIR
=sh
;;
5088 sh64-
*-linux* | sh5
*-*-linux*) TARGET
=SH64
; TARGETDIR
=sh64
;;
5089 hppa-
*-linux* | parisc-
*-linux*) TARGET
=PA
; TARGETDIR
=pa
;;
5094 if test $TARGETDIR = unknown
; then
5095 { { echo "$as_me:$LINENO: error: \"libffi has not been ported to $host.\"" >&5
5096 echo "$as_me: error: \"libffi has not been ported to $host.\"" >&2;}
5097 { (exit 1); exit 1; }; }
5102 if test x
$TARGET = xMIPS_IRIX
; then
5112 if test x
$TARGET = xMIPS_LINUX
; then
5114 MIPS_LINUX_FALSE
='#'
5122 if test x
$TARGET = xSPARC
; then
5132 if test x
$TARGET = xX86
; then
5142 if test x
$TARGET = xX86_WIN32
; then
5152 if test x
$TARGET = xALPHA
; then
5162 if test x
$TARGET = xIA64
; then
5172 if test x
$TARGET = xM68K
; then
5182 if test x
$TARGET = xPOWERPC
; then
5192 if test x
$TARGET = xPOWERPC_AIX
; then
5194 POWERPC_AIX_FALSE
='#'
5196 POWERPC_AIX_TRUE
='#'
5202 if test x
$TARGET = xPOWERPC_DARWIN
; then
5203 POWERPC_DARWIN_TRUE
=
5204 POWERPC_DARWIN_FALSE
='#'
5206 POWERPC_DARWIN_TRUE
='#'
5207 POWERPC_DARWIN_FALSE
=
5212 if test x
$TARGET = xARM
; then
5222 if test x
$TARGET = xS390
; then
5232 if test x
$TARGET = xX86_64
; then
5242 if test x
$TARGET = xSH
; then
5252 if test x
$TARGET = xSH64
; then
5262 if test x
$TARGET = xPA
; then
5272 xMIPS
*) TARGET
=MIPS
;;
5276 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5277 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5278 if test "${ac_cv_header_stdc+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 cat >conftest.
$ac_ext <<_ACEOF
5284 cat confdefs.h
>>conftest.
$ac_ext
5285 cat >>conftest.
$ac_ext <<_ACEOF
5286 /* end confdefs.h. */
5300 rm -f conftest.
$ac_objext
5301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5302 (eval $ac_compile) 2>conftest.er1
5304 grep -v '^ *+' conftest.er1
>conftest.err
5306 cat conftest.err
>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); } &&
5309 { ac_try
='test -z "$ac_c_werror_flag"
5310 || test ! -s conftest.err'
5311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; } &&
5316 { ac_try
='test -s conftest.$ac_objext'
5317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321 (exit $ac_status); }; }; then
5322 ac_cv_header_stdc
=yes
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.
$ac_ext >&5
5327 ac_cv_header_stdc
=no
5329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5331 if test $ac_cv_header_stdc = yes; then
5332 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5333 cat >conftest.
$ac_ext <<_ACEOF
5336 cat confdefs.h
>>conftest.
$ac_ext
5337 cat >>conftest.
$ac_ext <<_ACEOF
5338 /* end confdefs.h. */
5342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5343 $EGREP "memchr" >/dev
/null
2>&1; then
5346 ac_cv_header_stdc
=no
5352 if test $ac_cv_header_stdc = yes; then
5353 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5354 cat >conftest.
$ac_ext <<_ACEOF
5357 cat confdefs.h
>>conftest.
$ac_ext
5358 cat >>conftest.
$ac_ext <<_ACEOF
5359 /* end confdefs.h. */
5363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5364 $EGREP "free" >/dev
/null
2>&1; then
5367 ac_cv_header_stdc
=no
5373 if test $ac_cv_header_stdc = yes; then
5374 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5375 if test "$cross_compiling" = yes; then
5378 cat >conftest.
$ac_ext <<_ACEOF
5381 cat confdefs.h
>>conftest.
$ac_ext
5382 cat >>conftest.
$ac_ext <<_ACEOF
5383 /* end confdefs.h. */
5385 #if ((' ' & 0x0FF) == 0x020)
5386 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5387 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5389 # define ISLOWER(c) \
5390 (('a' <= (c) && (c) <= 'i') \
5391 || ('j' <= (c) && (c) <= 'r') \
5392 || ('s' <= (c) && (c) <= 'z'))
5393 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5396 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5401 for (i = 0; i < 256; i++)
5402 if (XOR (islower (i), ISLOWER (i))
5403 || toupper (i) != TOUPPER (i))
5408 rm -f conftest
$ac_exeext
5409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5410 (eval $ac_link) 2>&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); }; }; then
5421 echo "$as_me: program exited with status $ac_status" >&5
5422 echo "$as_me: failed program was:" >&5
5423 sed 's/^/| /' conftest.
$ac_ext >&5
5426 ac_cv_header_stdc
=no
5428 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5432 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5433 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5434 if test $ac_cv_header_stdc = yes; then
5436 cat >>confdefs.h
<<\_ACEOF
5437 #define STDC_HEADERS 1
5443 for ac_func
in memcpy
5445 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5446 echo "$as_me:$LINENO: checking for $ac_func" >&5
5447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5448 if eval "test \"\${$as_ac_var+set}\" = set"; then
5449 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 cat >conftest.
$ac_ext <<_ACEOF
5454 cat confdefs.h
>>conftest.
$ac_ext
5455 cat >>conftest.
$ac_ext <<_ACEOF
5456 /* end confdefs.h. */
5457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5459 #define $ac_func innocuous_$ac_func
5461 /* System header to define __stub macros and hopefully few prototypes,
5462 which can conflict with char $ac_func (); below.
5463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5464 <limits.h> exists even on freestanding compilers. */
5467 # include <limits.h>
5469 # include <assert.h>
5474 /* Override any gcc2 internal prototype to avoid an error. */
5479 /* We use char because int might match the return type of a gcc2
5480 builtin and then its argument prototype would still apply. */
5482 /* The GNU C library defines this for functions which it implements
5483 to always fail with ENOSYS. Some functions are actually named
5484 something starting with __ and the normal name is an alias. */
5485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5488 char (*f) () = $ac_func;
5497 return f != $ac_func;
5502 rm -f conftest.
$ac_objext conftest
$ac_exeext
5503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5504 (eval $ac_link) 2>conftest.er1
5506 grep -v '^ *+' conftest.er1
>conftest.err
5508 cat conftest.err
>&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } &&
5511 { ac_try
='test -z "$ac_c_werror_flag"
5512 || test ! -s conftest.err'
5513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); }; } &&
5518 { ac_try
='test -s conftest$ac_exeext'
5519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); }; }; then
5524 eval "$as_ac_var=yes"
5526 echo "$as_me: failed program was:" >&5
5527 sed 's/^/| /' conftest.
$ac_ext >&5
5529 eval "$as_ac_var=no"
5531 rm -f conftest.err conftest.
$ac_objext \
5532 conftest
$ac_exeext conftest.
$ac_ext
5534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5536 if test `eval echo '${'$as_ac_var'}'` = yes; then
5537 cat >>confdefs.h
<<_ACEOF
5538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5544 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5545 # for constant arguments. Useless!
5546 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5547 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5548 if test "${ac_cv_working_alloca_h+set}" = set; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 cat >conftest.
$ac_ext <<_ACEOF
5554 cat confdefs.h
>>conftest.
$ac_ext
5555 cat >>conftest.
$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5561 char *p = (char *) alloca (2 * sizeof (int));
5566 rm -f conftest.
$ac_objext conftest
$ac_exeext
5567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5568 (eval $ac_link) 2>conftest.er1
5570 grep -v '^ *+' conftest.er1
>conftest.err
5572 cat conftest.err
>&5
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); } &&
5575 { ac_try
='test -z "$ac_c_werror_flag"
5576 || test ! -s conftest.err'
5577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); }; } &&
5582 { ac_try
='test -s conftest$ac_exeext'
5583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); }; }; then
5588 ac_cv_working_alloca_h
=yes
5590 echo "$as_me: failed program was:" >&5
5591 sed 's/^/| /' conftest.
$ac_ext >&5
5593 ac_cv_working_alloca_h
=no
5595 rm -f conftest.err conftest.
$ac_objext \
5596 conftest
$ac_exeext conftest.
$ac_ext
5598 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5599 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5600 if test $ac_cv_working_alloca_h = yes; then
5602 cat >>confdefs.h
<<\_ACEOF
5603 #define HAVE_ALLOCA_H 1
5608 echo "$as_me:$LINENO: checking for alloca" >&5
5609 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5610 if test "${ac_cv_func_alloca_works+set}" = set; then
5611 echo $ECHO_N "(cached) $ECHO_C" >&6
5613 cat >conftest.
$ac_ext <<_ACEOF
5616 cat confdefs.h
>>conftest.
$ac_ext
5617 cat >>conftest.
$ac_ext <<_ACEOF
5618 /* end confdefs.h. */
5620 # define alloca __builtin_alloca
5623 # include <malloc.h>
5624 # define alloca _alloca
5627 # include <alloca.h>
5632 # ifndef alloca /* predefined by HP cc +Olibcalls */
5643 char *p = (char *) alloca (1);
5648 rm -f conftest.
$ac_objext conftest
$ac_exeext
5649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5650 (eval $ac_link) 2>conftest.er1
5652 grep -v '^ *+' conftest.er1
>conftest.err
5654 cat conftest.err
>&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } &&
5657 { ac_try
='test -z "$ac_c_werror_flag"
5658 || test ! -s conftest.err'
5659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); }; } &&
5664 { ac_try
='test -s conftest$ac_exeext'
5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); }; }; then
5670 ac_cv_func_alloca_works
=yes
5672 echo "$as_me: failed program was:" >&5
5673 sed 's/^/| /' conftest.
$ac_ext >&5
5675 ac_cv_func_alloca_works
=no
5677 rm -f conftest.err conftest.
$ac_objext \
5678 conftest
$ac_exeext conftest.
$ac_ext
5680 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5681 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5683 if test $ac_cv_func_alloca_works = yes; then
5685 cat >>confdefs.h
<<\_ACEOF
5686 #define HAVE_ALLOCA 1
5690 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5691 # that cause trouble. Some versions do not even contain alloca or
5692 # contain a buggy version. If you still want to use their alloca,
5693 # use ar to extract alloca.o from them instead of compiling alloca.c.
5695 ALLOCA
=alloca.
$ac_objext
5697 cat >>confdefs.h
<<\_ACEOF
5702 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5703 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5704 if test "${ac_cv_os_cray+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5707 cat >conftest.
$ac_ext <<_ACEOF
5710 cat confdefs.h
>>conftest.
$ac_ext
5711 cat >>conftest.
$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5713 #if defined(CRAY) && ! defined(CRAY2)
5720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5721 $EGREP "webecray" >/dev
/null
2>&1; then
5729 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5730 echo "${ECHO_T}$ac_cv_os_cray" >&6
5731 if test $ac_cv_os_cray = yes; then
5732 for ac_func
in _getb67 GETB67 getb67
; do
5733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5734 echo "$as_me:$LINENO: checking for $ac_func" >&5
5735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5736 if eval "test \"\${$as_ac_var+set}\" = set"; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5747 #define $ac_func innocuous_$ac_func
5749 /* System header to define __stub macros and hopefully few prototypes,
5750 which can conflict with char $ac_func (); below.
5751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5752 <limits.h> exists even on freestanding compilers. */
5755 # include <limits.h>
5757 # include <assert.h>
5762 /* Override any gcc2 internal prototype to avoid an error. */
5767 /* We use char because int might match the return type of a gcc2
5768 builtin and then its argument prototype would still apply. */
5770 /* The GNU C library defines this for functions which it implements
5771 to always fail with ENOSYS. Some functions are actually named
5772 something starting with __ and the normal name is an alias. */
5773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5776 char (*f) () = $ac_func;
5785 return f != $ac_func;
5790 rm -f conftest.
$ac_objext conftest
$ac_exeext
5791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5792 (eval $ac_link) 2>conftest.er1
5794 grep -v '^ *+' conftest.er1
>conftest.err
5796 cat conftest.err
>&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); } &&
5799 { ac_try
='test -z "$ac_c_werror_flag"
5800 || test ! -s conftest.err'
5801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 (exit $ac_status); }; } &&
5806 { ac_try
='test -s conftest$ac_exeext'
5807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); }; }; then
5812 eval "$as_ac_var=yes"
5814 echo "$as_me: failed program was:" >&5
5815 sed 's/^/| /' conftest.
$ac_ext >&5
5817 eval "$as_ac_var=no"
5819 rm -f conftest.err conftest.
$ac_objext \
5820 conftest
$ac_exeext conftest.
$ac_ext
5822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5824 if test `eval echo '${'$as_ac_var'}'` = yes; then
5826 cat >>confdefs.h
<<_ACEOF
5827 #define CRAY_STACKSEG_END $ac_func
5836 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5837 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5838 if test "${ac_cv_c_stack_direction+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 if test "$cross_compiling" = yes; then
5842 ac_cv_c_stack_direction
=0
5844 cat >conftest.
$ac_ext <<_ACEOF
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5851 find_stack_direction ()
5853 static char *addr = 0;
5858 return find_stack_direction ();
5861 return (&dummy > addr) ? 1 : -1;
5867 exit (find_stack_direction () < 0);
5870 rm -f conftest
$ac_exeext
5871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5872 (eval $ac_link) 2>&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); }; }; then
5881 ac_cv_c_stack_direction
=1
5883 echo "$as_me: program exited with status $ac_status" >&5
5884 echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.
$ac_ext >&5
5888 ac_cv_c_stack_direction
=-1
5890 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5893 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5894 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5896 cat >>confdefs.h
<<_ACEOF
5897 #define STACK_DIRECTION $ac_cv_c_stack_direction
5904 echo "$as_me:$LINENO: checking size of double" >&5
5905 echo $ECHO_N "checking size of double... $ECHO_C" >&6
5906 if test "${ac_cv_sizeof_double+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
5910 cat >conftest.
$ac_ext <<_ACEOF
5913 cat confdefs.h
>>conftest.
$ac_ext
5914 cat >>conftest.
$ac_ext <<_ACEOF
5915 /* end confdefs.h. */
5916 #include "confdefs.h"
5917 #include <sys/types.h>
5923 switch (0) case 0: case (sizeof (double) == $ac_size):;
5928 rm -f conftest.
$ac_objext
5929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5930 (eval $ac_compile) 2>conftest.er1
5932 grep -v '^ *+' conftest.er1
>conftest.err
5934 cat conftest.err
>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } &&
5937 { ac_try
='test -z "$ac_c_werror_flag"
5938 || test ! -s conftest.err'
5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; } &&
5944 { ac_try
='test -s conftest.$ac_objext'
5945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); }; }; then
5950 ac_cv_sizeof_double
=$ac_size
5952 echo "$as_me: failed program was:" >&5
5953 sed 's/^/| /' conftest.
$ac_ext >&5
5956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5957 if test x
$ac_cv_sizeof_double != x
; then break; fi
5962 if test x
$ac_cv_sizeof_double = x
; then
5963 { { echo "$as_me:$LINENO: error: cannot determine a size for double" >&5
5964 echo "$as_me: error: cannot determine a size for double" >&2;}
5965 { (exit 1); exit 1; }; }
5967 echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
5968 echo "${ECHO_T}$ac_cv_sizeof_double" >&6
5970 cat >>confdefs.h
<<_ACEOF
5971 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
5975 echo "$as_me:$LINENO: checking size of long double" >&5
5976 echo $ECHO_N "checking size of long double... $ECHO_C" >&6
5977 if test "${ac_cv_sizeof_long_double+set}" = set; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5980 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
5981 cat >conftest.
$ac_ext <<_ACEOF
5984 cat confdefs.h
>>conftest.
$ac_ext
5985 cat >>conftest.
$ac_ext <<_ACEOF
5986 /* end confdefs.h. */
5987 #include "confdefs.h"
5988 #include <sys/types.h>
5994 switch (0) case 0: case (sizeof (long double) == $ac_size):;
5999 rm -f conftest.
$ac_objext
6000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6001 (eval $ac_compile) 2>conftest.er1
6003 grep -v '^ *+' conftest.er1
>conftest.err
6005 cat conftest.err
>&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } &&
6008 { ac_try
='test -z "$ac_c_werror_flag"
6009 || test ! -s conftest.err'
6010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); }; } &&
6015 { ac_try
='test -s conftest.$ac_objext'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; }; then
6021 ac_cv_sizeof_long_double
=$ac_size
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.
$ac_ext >&5
6027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6028 if test x
$ac_cv_sizeof_long_double != x
; then break; fi
6033 if test x
$ac_cv_sizeof_long_double = x
; then
6034 { { echo "$as_me:$LINENO: error: cannot determine a size for long double" >&5
6035 echo "$as_me: error: cannot determine a size for long double" >&2;}
6036 { (exit 1); exit 1; }; }
6038 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
6039 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6
6041 cat >>confdefs.h
<<_ACEOF
6042 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
6047 # Also AC_SUBST this variable for ffi.h.
6049 if test $ac_cv_sizeof_double != $ac_cv_sizeof_long_double; then
6050 if test $ac_cv_sizeof_long_double != 0; then
6053 cat >>confdefs.h
<<\_ACEOF
6054 #define HAVE_LONG_DOUBLE 1
6061 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6062 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
6063 if test "${ac_cv_c_bigendian+set}" = set; then
6064 echo $ECHO_N "(cached) $ECHO_C" >&6
6066 ac_cv_c_bigendian
=unknown
6067 # See if sys/param.h defines the BYTE_ORDER macro.
6068 cat >conftest.
$ac_ext <<_ACEOF
6071 cat confdefs.h
>>conftest.
$ac_ext
6072 cat >>conftest.
$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6074 #include <sys/types.h>
6075 #include <sys/param.h>
6080 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
6087 rm -f conftest.
$ac_objext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6089 (eval $ac_compile) 2>conftest.er1
6091 grep -v '^ *+' conftest.er1
>conftest.err
6093 cat conftest.err
>&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } &&
6096 { ac_try
='test -z "$ac_c_werror_flag"
6097 || test ! -s conftest.err'
6098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); }; } &&
6103 { ac_try
='test -s conftest.$ac_objext'
6104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); }; }; then
6109 # It does; now see whether it defined to BIG_ENDIAN or not.
6110 cat >conftest.
$ac_ext <<_ACEOF
6113 cat confdefs.h
>>conftest.
$ac_ext
6114 cat >>conftest.
$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6116 #include <sys/types.h>
6117 #include <sys/param.h>
6122 #if BYTE_ORDER != BIG_ENDIAN
6129 rm -f conftest.
$ac_objext
6130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6131 (eval $ac_compile) 2>conftest.er1
6133 grep -v '^ *+' conftest.er1
>conftest.err
6135 cat conftest.err
>&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); } &&
6138 { ac_try
='test -z "$ac_c_werror_flag"
6139 || test ! -s conftest.err'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; } &&
6145 { ac_try
='test -s conftest.$ac_objext'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; }; then
6151 ac_cv_c_bigendian
=yes
6153 echo "$as_me: failed program was:" >&5
6154 sed 's/^/| /' conftest.
$ac_ext >&5
6156 ac_cv_c_bigendian
=no
6158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6160 echo "$as_me: failed program was:" >&5
6161 sed 's/^/| /' conftest.
$ac_ext >&5
6164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6165 if test $ac_cv_c_bigendian = unknown
; then
6166 if test "$cross_compiling" = yes; then
6167 echo $ac_n "cross-compiling... " 2>&6
6169 cat >conftest.
$ac_ext <<_ACEOF
6172 cat confdefs.h
>>conftest.
$ac_ext
6173 cat >>conftest.
$ac_ext <<_ACEOF
6174 /* end confdefs.h. */
6176 /* Are we little or big endian? From Harbison&Steele. */
6180 char c[sizeof (long)];
6183 exit (u.c[sizeof (long) - 1] == 1);
6186 rm -f conftest
$ac_exeext
6187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6188 (eval $ac_link) 2>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); }; }; then
6197 ac_cv_c_bigendian
=no
6199 echo "$as_me: program exited with status $ac_status" >&5
6200 echo "$as_me: failed program was:" >&5
6201 sed 's/^/| /' conftest.
$ac_ext >&5
6204 ac_cv_c_bigendian
=yes
6206 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6210 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6211 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6212 if test $ac_cv_c_bigendian = unknown
; then
6213 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
6214 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
6216 cat >conftest.c
<<EOF
6217 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6218 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6219 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
6220 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6221 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6222 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
6223 int main() { _ascii (); _ebcdic (); return 0; }
6225 if test -f conftest.c
; then
6226 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
6227 if test `grep -l BIGenDianSyS conftest.o` ; then
6228 echo $ac_n ' big endian probe OK, ' 1>&6
6229 ac_cv_c_bigendian
=yes
6231 if test `grep -l LiTTleEnDian conftest.o` ; then
6232 echo $ac_n ' little endian probe OK, ' 1>&6
6233 if test $ac_cv_c_bigendian = yes ; then
6234 ac_cv_c_bigendian
=unknown
;
6236 ac_cv_c_bigendian
=no
6239 echo $ac_n 'guessing bigendian ... ' >&6
6242 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6243 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6245 if test $ac_cv_c_bigendian = yes; then
6247 cat >>confdefs.h
<<\_ACEOF
6248 #define WORDS_BIGENDIAN 1
6252 cat >>confdefs.h
<<\_ACEOF
6253 #define HOST_WORDS_BIG_ENDIAN 1
6261 cat >>confdefs.h
<<_ACEOF
6262 #define BYTEORDER $BYTEORDER
6265 if test $ac_cv_c_bigendian = unknown
; then
6266 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
6267 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
6268 { (exit 1); exit 1; }; }
6272 if test x
$TARGET = xSPARC
; then
6273 echo "$as_me:$LINENO: checking assembler and linker support unaligned pc related relocs" >&5
6274 echo $ECHO_N "checking assembler and linker support unaligned pc related relocs... $ECHO_C" >&6
6275 if test "${libffi_cv_as_sparc_ua_pcrel+set}" = set; then
6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 save_CFLAGS
="$CFLAGS"
6280 save_LDFLAGS
="$LDFLAGS"
6281 CFLAGS
="$CFLAGS -fpic"
6282 LDFLAGS
="$LDFLAGS -shared"
6283 cat >conftest.
$ac_ext <<_ACEOF
6286 cat confdefs.h
>>conftest.
$ac_ext
6287 cat >>conftest.
$ac_ext <<_ACEOF
6288 /* end confdefs.h. */
6289 asm (".text; foo: nop; .data; .align 4; .byte 0; .uaword %r_disp32(foo); .text");
6298 rm -f conftest.
$ac_objext conftest
$ac_exeext
6299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6300 (eval $ac_link) 2>conftest.er1
6302 grep -v '^ *+' conftest.er1
>conftest.err
6304 cat conftest.err
>&5
6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); } &&
6307 { ac_try
='test -z "$ac_c_werror_flag"
6308 || test ! -s conftest.err'
6309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }; } &&
6314 { ac_try
='test -s conftest$ac_exeext'
6315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); }; }; then
6320 libffi_cv_as_sparc_ua_pcrel
=yes
6322 echo "$as_me: failed program was:" >&5
6323 sed 's/^/| /' conftest.
$ac_ext >&5
6325 libffi_cv_as_sparc_ua_pcrel
=no
6327 rm -f conftest.err conftest.
$ac_objext \
6328 conftest
$ac_exeext conftest.
$ac_ext
6329 CFLAGS
="$save_CFLAGS"
6330 LDFLAGS
="$save_LDFLAGS"
6332 echo "$as_me:$LINENO: result: $libffi_cv_as_sparc_ua_pcrel" >&5
6333 echo "${ECHO_T}$libffi_cv_as_sparc_ua_pcrel" >&6
6334 if test "x$libffi_cv_as_sparc_ua_pcrel" = xyes
; then
6336 cat >>confdefs.h
<<\_ACEOF
6337 #define HAVE_AS_SPARC_UA_PCREL 1
6342 echo "$as_me:$LINENO: checking assembler .register pseudo-op support" >&5
6343 echo $ECHO_N "checking assembler .register pseudo-op support... $ECHO_C" >&6
6344 if test "${libffi_cv_as_register_pseudo_op+set}" = set; then
6345 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 libffi_cv_as_register_pseudo_op
=unknown
6349 # Check if we have .register
6350 cat >conftest.
$ac_ext <<_ACEOF
6353 cat confdefs.h
>>conftest.
$ac_ext
6354 cat >>conftest.
$ac_ext <<_ACEOF
6355 /* end confdefs.h. */
6356 asm (".register %g2, #scratch");
6365 rm -f conftest.
$ac_objext
6366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6367 (eval $ac_compile) 2>conftest.er1
6369 grep -v '^ *+' conftest.er1
>conftest.err
6371 cat conftest.err
>&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); } &&
6374 { ac_try
='test -z "$ac_c_werror_flag"
6375 || test ! -s conftest.err'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; } &&
6381 { ac_try
='test -s conftest.$ac_objext'
6382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); }; }; then
6387 libffi_cv_as_register_pseudo_op
=yes
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.
$ac_ext >&5
6392 libffi_cv_as_register_pseudo_op
=no
6394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6397 echo "$as_me:$LINENO: result: $libffi_cv_as_register_pseudo_op" >&5
6398 echo "${ECHO_T}$libffi_cv_as_register_pseudo_op" >&6
6399 if test "x$libffi_cv_as_register_pseudo_op" = xyes
; then
6401 cat >>confdefs.h
<<\_ACEOF
6402 #define HAVE_AS_REGISTER_PSEUDO_OP 1
6408 echo "$as_me:$LINENO: checking whether .eh_frame section should be read-only" >&5
6409 echo $ECHO_N "checking whether .eh_frame section should be read-only... $ECHO_C" >&6
6410 if test "${libffi_cv_ro_eh_frame+set}" = set; then
6411 echo $ECHO_N "(cached) $ECHO_C" >&6
6414 libffi_cv_ro_eh_frame
=no
6415 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
6416 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
6417 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
6418 libffi_cv_ro_eh_frame
=yes
6419 elif grep '.section.*eh_frame.*#alloc' conftest.c \
6420 |
grep -v '#write' > /dev
/null
; then
6421 libffi_cv_ro_eh_frame
=yes
6427 echo "$as_me:$LINENO: result: $libffi_cv_ro_eh_frame" >&5
6428 echo "${ECHO_T}$libffi_cv_ro_eh_frame" >&6
6429 if test "x$libffi_cv_ro_eh_frame" = xyes
; then
6431 cat >>confdefs.h
<<\_ACEOF
6432 #define HAVE_RO_EH_FRAME 1
6436 cat >>confdefs.h
<<\_ACEOF
6437 #define EH_FRAME_FLAGS "a"
6442 cat >>confdefs.h
<<\_ACEOF
6443 #define EH_FRAME_FLAGS "aw"
6453 # Check whether --enable-debug or --disable-debug was given.
6454 if test "${enable_debug+set}" = set; then
6455 enableval
="$enable_debug"
6456 if test "$enable_debug" = "yes"; then
6458 cat >>confdefs.h
<<\_ACEOF
6465 # Check whether --enable-structs or --disable-structs was given.
6466 if test "${enable_structs+set}" = set; then
6467 enableval
="$enable_structs"
6468 if test "$enable_structs" = "no"; then
6470 cat >>confdefs.h
<<\_ACEOF
6471 #define FFI_NO_STRUCTS 1
6477 # Check whether --enable-raw-api or --disable-raw-api was given.
6478 if test "${enable_raw_api+set}" = set; then
6479 enableval
="$enable_raw_api"
6480 if test "$enable_raw_api" = "no"; then
6482 cat >>confdefs.h
<<\_ACEOF
6483 #define FFI_NO_RAW_API 1
6489 # Check whether --enable-purify-safety or --disable-purify-safety was given.
6490 if test "${enable_purify_safety+set}" = set; then
6491 enableval
="$enable_purify_safety"
6492 if test "$enable_purify_safety" = "yes"; then
6494 cat >>confdefs.h
<<\_ACEOF
6495 #define USING_PURIFY 1
6501 if test -n "$with_cross_host" &&
6502 test x
"$with_cross_host" != x
"no"; then
6503 toolexecdir
='$(exec_prefix)/$(target_alias)'
6504 toolexeclibdir
='$(toolexecdir)/lib'
6506 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
6507 toolexeclibdir
='$(libdir)'
6509 multi_os_directory
=`$CC -print-multi-os-directory`
6510 case $multi_os_directory in
6511 .
) ;; # Avoid trailing /.
6512 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
6517 #Figure out where generated headers like ffitarget.h get installed.
6518 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
6519 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
6520 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
6521 tool_include_dir
='$(libdir)/gcc/$(target_alias)/'${gcc_version}/include
6526 if test "${multilib}" = "yes"; then
6527 multilib_arg
="--enable-multilib"
6532 ac_config_commands
="$ac_config_commands include"
6534 ac_config_commands
="$ac_config_commands src"
6537 ac_config_links
="$ac_config_links include/ffitarget.h:src/$TARGETDIR/ffitarget.h"
6540 ac_config_files
="$ac_config_files include/Makefile include/ffi.h Makefile testsuite/Makefile"
6543 cat >confcache
<<\_ACEOF
6544 # This file is a shell script that caches the results of configure
6545 # tests run on this system so they can be shared between configure
6546 # scripts and configure runs, see configure's option --config-cache.
6547 # It is not useful on other systems. If it contains results you don't
6548 # want to keep, you may remove or edit it.
6550 # config.status only pays attention to the cache file if you give it
6551 # the --recheck option to rerun configure.
6553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6559 # The following way of writing the cache mishandles newlines in values,
6560 # but we know of no workaround that is simple, portable, and efficient.
6561 # So, don't put newlines in cache variables' values.
6562 # Ultrix sh set writes to stderr and can't be redirected directly,
6563 # and sets the high bit in the cache file unless we assign to the vars.
6566 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6568 # `set' does not quote correctly, so add quotes (double-quote
6569 # substitution turns \\\\ into \\, and sed turns \\ into \).
6572 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6575 # `set' quotes correctly as required by POSIX, so do not add quotes.
6577 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6586 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6588 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6589 if test -w $cache_file; then
6590 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6591 cat confcache
>$cache_file
6593 echo "not updating unwritable cache $cache_file"
6598 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6599 # Let make expand exec_prefix.
6600 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6602 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6603 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6604 # trailing colons and then remove the whole line if VPATH becomes empty
6605 # (actually we leave an empty line to preserve line numbers).
6606 if test "x$srcdir" = x.
; then
6607 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6608 s/:*\$(srcdir):*/:/;
6609 s/:*\${srcdir}:*/:/;
6611 s/^\([^=]*=[ ]*\):*/\1/;
6617 DEFS
=-DHAVE_CONFIG_H
6621 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6622 # 1. Remove the extension, and $U if already installed.
6623 ac_i
=`echo "$ac_i" |
6624 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6626 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6627 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6631 LTLIBOBJS
=$ac_ltlibobjs
6634 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6635 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6636 Usually this means the macro was only invoked conditionally." >&5
6637 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6638 Usually this means the macro was only invoked conditionally." >&2;}
6639 { (exit 1); exit 1; }; }
6641 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6642 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6643 Usually this means the macro was only invoked conditionally." >&5
6644 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6645 Usually this means the macro was only invoked conditionally." >&2;}
6646 { (exit 1); exit 1; }; }
6648 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6649 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6650 Usually this means the macro was only invoked conditionally." >&5
6651 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6652 Usually this means the macro was only invoked conditionally." >&2;}
6653 { (exit 1); exit 1; }; }
6655 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
6656 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
6657 Usually this means the macro was only invoked conditionally." >&5
6658 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
6659 Usually this means the macro was only invoked conditionally." >&2;}
6660 { (exit 1); exit 1; }; }
6662 if test -z "${MIPS_IRIX_TRUE}" && test -z "${MIPS_IRIX_FALSE}"; then
6663 { { echo "$as_me:$LINENO: error: conditional \"MIPS_IRIX\" was never defined.
6664 Usually this means the macro was only invoked conditionally." >&5
6665 echo "$as_me: error: conditional \"MIPS_IRIX\" was never defined.
6666 Usually this means the macro was only invoked conditionally." >&2;}
6667 { (exit 1); exit 1; }; }
6669 if test -z "${MIPS_LINUX_TRUE}" && test -z "${MIPS_LINUX_FALSE}"; then
6670 { { echo "$as_me:$LINENO: error: conditional \"MIPS_LINUX\" was never defined.
6671 Usually this means the macro was only invoked conditionally." >&5
6672 echo "$as_me: error: conditional \"MIPS_LINUX\" was never defined.
6673 Usually this means the macro was only invoked conditionally." >&2;}
6674 { (exit 1); exit 1; }; }
6676 if test -z "${SPARC_TRUE}" && test -z "${SPARC_FALSE}"; then
6677 { { echo "$as_me:$LINENO: error: conditional \"SPARC\" was never defined.
6678 Usually this means the macro was only invoked conditionally." >&5
6679 echo "$as_me: error: conditional \"SPARC\" was never defined.
6680 Usually this means the macro was only invoked conditionally." >&2;}
6681 { (exit 1); exit 1; }; }
6683 if test -z "${X86_TRUE}" && test -z "${X86_FALSE}"; then
6684 { { echo "$as_me:$LINENO: error: conditional \"X86\" was never defined.
6685 Usually this means the macro was only invoked conditionally." >&5
6686 echo "$as_me: error: conditional \"X86\" was never defined.
6687 Usually this means the macro was only invoked conditionally." >&2;}
6688 { (exit 1); exit 1; }; }
6690 if test -z "${X86_WIN32_TRUE}" && test -z "${X86_WIN32_FALSE}"; then
6691 { { echo "$as_me:$LINENO: error: conditional \"X86_WIN32\" was never defined.
6692 Usually this means the macro was only invoked conditionally." >&5
6693 echo "$as_me: error: conditional \"X86_WIN32\" was never defined.
6694 Usually this means the macro was only invoked conditionally." >&2;}
6695 { (exit 1); exit 1; }; }
6697 if test -z "${ALPHA_TRUE}" && test -z "${ALPHA_FALSE}"; then
6698 { { echo "$as_me:$LINENO: error: conditional \"ALPHA\" was never defined.
6699 Usually this means the macro was only invoked conditionally." >&5
6700 echo "$as_me: error: conditional \"ALPHA\" was never defined.
6701 Usually this means the macro was only invoked conditionally." >&2;}
6702 { (exit 1); exit 1; }; }
6704 if test -z "${IA64_TRUE}" && test -z "${IA64_FALSE}"; then
6705 { { echo "$as_me:$LINENO: error: conditional \"IA64\" was never defined.
6706 Usually this means the macro was only invoked conditionally." >&5
6707 echo "$as_me: error: conditional \"IA64\" was never defined.
6708 Usually this means the macro was only invoked conditionally." >&2;}
6709 { (exit 1); exit 1; }; }
6711 if test -z "${M68K_TRUE}" && test -z "${M68K_FALSE}"; then
6712 { { echo "$as_me:$LINENO: error: conditional \"M68K\" was never defined.
6713 Usually this means the macro was only invoked conditionally." >&5
6714 echo "$as_me: error: conditional \"M68K\" was never defined.
6715 Usually this means the macro was only invoked conditionally." >&2;}
6716 { (exit 1); exit 1; }; }
6718 if test -z "${POWERPC_TRUE}" && test -z "${POWERPC_FALSE}"; then
6719 { { echo "$as_me:$LINENO: error: conditional \"POWERPC\" was never defined.
6720 Usually this means the macro was only invoked conditionally." >&5
6721 echo "$as_me: error: conditional \"POWERPC\" was never defined.
6722 Usually this means the macro was only invoked conditionally." >&2;}
6723 { (exit 1); exit 1; }; }
6725 if test -z "${POWERPC_AIX_TRUE}" && test -z "${POWERPC_AIX_FALSE}"; then
6726 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_AIX\" was never defined.
6727 Usually this means the macro was only invoked conditionally." >&5
6728 echo "$as_me: error: conditional \"POWERPC_AIX\" was never defined.
6729 Usually this means the macro was only invoked conditionally." >&2;}
6730 { (exit 1); exit 1; }; }
6732 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
6733 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_DARWIN\" was never defined.
6734 Usually this means the macro was only invoked conditionally." >&5
6735 echo "$as_me: error: conditional \"POWERPC_DARWIN\" was never defined.
6736 Usually this means the macro was only invoked conditionally." >&2;}
6737 { (exit 1); exit 1; }; }
6739 if test -z "${ARM_TRUE}" && test -z "${ARM_FALSE}"; then
6740 { { echo "$as_me:$LINENO: error: conditional \"ARM\" was never defined.
6741 Usually this means the macro was only invoked conditionally." >&5
6742 echo "$as_me: error: conditional \"ARM\" was never defined.
6743 Usually this means the macro was only invoked conditionally." >&2;}
6744 { (exit 1); exit 1; }; }
6746 if test -z "${S390_TRUE}" && test -z "${S390_FALSE}"; then
6747 { { echo "$as_me:$LINENO: error: conditional \"S390\" was never defined.
6748 Usually this means the macro was only invoked conditionally." >&5
6749 echo "$as_me: error: conditional \"S390\" was never defined.
6750 Usually this means the macro was only invoked conditionally." >&2;}
6751 { (exit 1); exit 1; }; }
6753 if test -z "${X86_64_TRUE}" && test -z "${X86_64_FALSE}"; then
6754 { { echo "$as_me:$LINENO: error: conditional \"X86_64\" was never defined.
6755 Usually this means the macro was only invoked conditionally." >&5
6756 echo "$as_me: error: conditional \"X86_64\" was never defined.
6757 Usually this means the macro was only invoked conditionally." >&2;}
6758 { (exit 1); exit 1; }; }
6760 if test -z "${SH_TRUE}" && test -z "${SH_FALSE}"; then
6761 { { echo "$as_me:$LINENO: error: conditional \"SH\" was never defined.
6762 Usually this means the macro was only invoked conditionally." >&5
6763 echo "$as_me: error: conditional \"SH\" was never defined.
6764 Usually this means the macro was only invoked conditionally." >&2;}
6765 { (exit 1); exit 1; }; }
6767 if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then
6768 { { echo "$as_me:$LINENO: error: conditional \"SH64\" was never defined.
6769 Usually this means the macro was only invoked conditionally." >&5
6770 echo "$as_me: error: conditional \"SH64\" was never defined.
6771 Usually this means the macro was only invoked conditionally." >&2;}
6772 { (exit 1); exit 1; }; }
6774 if test -z "${PA_TRUE}" && test -z "${PA_FALSE}"; then
6775 { { echo "$as_me:$LINENO: error: conditional \"PA\" was never defined.
6776 Usually this means the macro was only invoked conditionally." >&5
6777 echo "$as_me: error: conditional \"PA\" was never defined.
6778 Usually this means the macro was only invoked conditionally." >&2;}
6779 { (exit 1); exit 1; }; }
6782 : ${CONFIG_STATUS=./config.status}
6783 ac_clean_files_save
=$ac_clean_files
6784 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6785 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6786 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6787 cat >$CONFIG_STATUS <<_ACEOF
6789 # Generated by $as_me.
6790 # Run this file to recreate the current configuration.
6791 # Compiler output produced by configure, useful for debugging
6792 # configure, is in config.log if it exists.
6797 SHELL=\${CONFIG_SHELL-$SHELL}
6800 cat >>$CONFIG_STATUS <<\_ACEOF
6801 ## --------------------- ##
6802 ## M4sh Initialization. ##
6803 ## --------------------- ##
6805 # Be Bourne compatible
6806 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6809 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6810 # is contrary to our usage. Disable this feature.
6811 alias -g '${1+"$@"}'='"$@"'
6812 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6815 DUALCASE
=1; export DUALCASE
# for MKS sh
6817 # Support unset when possible.
6818 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6825 # Work around bugs in pre-3.0 UWIN ksh.
6826 $as_unset ENV MAIL MAILPATH
6833 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6834 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6835 LC_TELEPHONE LC_TIME
6837 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6838 eval $as_var=C
; export $as_var
6844 # Required to use basename.
6845 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6851 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6852 as_basename
=basename
6858 # Name of the executable.
6859 as_me
=`$as_basename "$0" ||
6860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6861 X"$0" : 'X\(//\)$' \| \
6862 X"$0" : 'X\(/\)$' \| \
6863 . : '\(.\)' 2>/dev/null ||
6865 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6866 /^X\/\(\/\/\)$/{ s//\1/; q; }
6867 /^X\/\(\/\).*/{ s//\1/; q; }
6871 # PATH needs CR, and LINENO needs CR and PATH.
6872 # Avoid depending upon Character Ranges.
6873 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6874 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6875 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6876 as_cr_digits
='0123456789'
6877 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6879 # The user is always right.
6880 if test "${PATH_SEPARATOR+set}" != set; then
6881 echo "#! /bin/sh" >conf$$.sh
6882 echo "exit 0" >>conf$$.sh
6884 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6895 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6896 test "x$as_lineno_1" != "x$as_lineno_2" &&
6897 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6898 # Find who we are. Look in the path if we contain no path at all
6901 *[\\/]* ) as_myself
=$0 ;;
6902 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir
=.
6907 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6912 # We did not find ourselves, most probably we were run as `sh COMMAND'
6913 # in which case we are not to be found in the path.
6914 if test "x$as_myself" = x
; then
6917 if test ! -f "$as_myself"; then
6918 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6919 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6920 { (exit 1); exit 1; }; }
6922 case $CONFIG_SHELL in
6924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6925 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6928 test -z "$as_dir" && as_dir
=.
6929 for as_base
in sh bash ksh sh5
; do
6932 if ("$as_dir/$as_base" -c '
6935 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6936 test "x$as_lineno_1" != "x$as_lineno_2" &&
6937 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6938 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6939 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6940 CONFIG_SHELL
=$as_dir/$as_base
6942 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6950 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6951 # uniformly replaced by the line number. The first 'sed' inserts a
6952 # line-number line before each line; the second 'sed' does the real
6953 # work. The second script uses 'N' to pair each line-number line
6954 # with the numbered line, and appends trailing '-' during
6955 # substitution so that $LINENO is not a special case at line end.
6956 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6957 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6958 sed '=' <$as_myself |
6963 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6966 s,^['$as_cr_digits']*\n,,
6968 chmod +x
$as_me.lineno ||
6969 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6970 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6971 { (exit 1); exit 1; }; }
6973 # Don't try to exec as it changes $[0], causing all sort of problems
6974 # (the dirname of $[0] is not the place where we might find the
6975 # original and so on. Autoconf is especially sensible to this).
6977 # Exit status is that of the last command.
6982 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6983 *c
*,-n*) ECHO_N
= ECHO_C
='
6985 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6986 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6989 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6995 rm -f conf$$ conf$$.exe conf$$.
file
6997 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6998 # We could just check for DJGPP; but this test a) works b) is more generic
6999 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7000 if test -f conf$$.exe
; then
7001 # Don't use ln at all; we don't have any links
7006 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7011 rm -f conf$$ conf$$.exe conf$$.
file
7013 if mkdir
-p .
2>/dev
/null
; then
7016 test -d .
/-p && rmdir .
/-p
7020 as_executable_p
="test -f"
7022 # Sed expression to map a string onto a valid CPP name.
7023 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7025 # Sed expression to map a string onto a valid variable name.
7026 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7030 # We need space, tab and new line, in precisely that order.
7040 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7041 # report actual input values of CONFIG_FILES etc. instead of their
7042 # values after options handling. Logging --version etc. is OK.
7046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7047 ## Running $as_me. ##
7052 This file was extended by libffi $as_me 2.1, which was
7053 generated by GNU Autoconf 2.59. Invocation command line was
7055 CONFIG_FILES = $CONFIG_FILES
7056 CONFIG_HEADERS = $CONFIG_HEADERS
7057 CONFIG_LINKS = $CONFIG_LINKS
7058 CONFIG_COMMANDS = $CONFIG_COMMANDS
7062 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7066 # Files that config.status was made for.
7067 if test -n "$ac_config_files"; then
7068 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7071 if test -n "$ac_config_headers"; then
7072 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7075 if test -n "$ac_config_links"; then
7076 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7079 if test -n "$ac_config_commands"; then
7080 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7083 cat >>$CONFIG_STATUS <<\_ACEOF
7086 \`$as_me' instantiates files from templates according to the
7087 current configuration.
7089 Usage: $0 [OPTIONS] [FILE]...
7091 -h, --help print this help, then exit
7092 -V, --version print version number, then exit
7093 -q, --quiet do not print progress messages
7094 -d, --debug don't remove temporary files
7095 --recheck update $as_me by reconfiguring in the same conditions
7096 --file=FILE[:TEMPLATE]
7097 instantiate the configuration file FILE
7098 --header=FILE[:TEMPLATE]
7099 instantiate the configuration header FILE
7101 Configuration files:
7104 Configuration headers:
7107 Configuration links:
7110 Configuration commands:
7113 Report bugs to <bug-autoconf@gnu.org>."
7116 cat >>$CONFIG_STATUS <<_ACEOF
7118 libffi config.status 2.1
7119 configured by $0, generated by GNU Autoconf 2.59,
7120 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7122 Copyright (C) 2003 Free Software Foundation, Inc.
7123 This config.status script is free software; the Free Software Foundation
7124 gives unlimited permission to copy, distribute and modify it."
7129 cat >>$CONFIG_STATUS <<\_ACEOF
7130 # If no file are specified by the user, then we need to provide default
7131 # value. By we need to know if files were specified by the user.
7137 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7138 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7146 *) # This is not an option, so the user has probably given explicit
7149 ac_need_defaults
=false
;;
7153 # Handling of the options.
7155 cat >>$CONFIG_STATUS <<\_ACEOF
7156 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7158 --version |
--vers* |
-V )
7159 echo "$ac_cs_version"; exit 0 ;;
7161 # Conflict between --help and --header
7162 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7163 Try \`$0 --help' for more information." >&5
7164 echo "$as_me: error: ambiguous option: $1
7165 Try \`$0 --help' for more information." >&2;}
7166 { (exit 1); exit 1; }; };;
7167 --help |
--hel |
-h )
7168 echo "$ac_cs_usage"; exit 0 ;;
7169 --debug |
--d* |
-d )
7171 --file |
--fil |
--fi |
--f )
7173 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7174 ac_need_defaults
=false
;;
7175 --header |
--heade |
--head |
--hea )
7177 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7178 ac_need_defaults
=false
;;
7179 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7180 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7184 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7185 Try \`$0 --help' for more information." >&5
7186 echo "$as_me: error: unrecognized option: $1
7187 Try \`$0 --help' for more information." >&2;}
7188 { (exit 1); exit 1; }; } ;;
7190 *) ac_config_targets
="$ac_config_targets $1" ;;
7196 ac_configure_extra_args
=
7198 if $ac_cs_silent; then
7200 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7204 cat >>$CONFIG_STATUS <<_ACEOF
7205 if \$ac_cs_recheck; then
7206 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7207 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7212 cat >>$CONFIG_STATUS <<_ACEOF
7214 # INIT-COMMANDS section.
7221 with_multisubdir="$with_multisubdir"
7222 with_multisrctop="$with_multisrctop"
7223 with_target_subdir="$with_target_subdir"
7224 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7225 multi_basedir="$multi_basedir"
7226 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7228 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7229 TARGETDIR="$TARGETDIR"
7235 cat >>$CONFIG_STATUS <<\_ACEOF
7236 for ac_config_target
in $ac_config_targets
7238 case "$ac_config_target" in
7239 # Handling of arguments.
7240 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
7241 "include/ffi.h" ) CONFIG_FILES
="$CONFIG_FILES include/ffi.h" ;;
7242 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7243 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7244 "include/ffitarget.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/ffitarget.h:src/$TARGETDIR/ffitarget.h" ;;
7245 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7246 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7247 "include" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include" ;;
7248 "src" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS src" ;;
7249 "fficonfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS fficonfig.h" ;;
7250 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7251 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7252 { (exit 1); exit 1; }; };;
7256 # If the user did not use the arguments to specify the items to instantiate,
7257 # then the envvar interface is used. Set only those that are not.
7258 # We use the long form for the default assignment because of an extremely
7259 # bizarre bug on SunOS 4.1.3.
7260 if $ac_need_defaults; then
7261 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7262 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7263 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
7264 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7267 # Have a temporary directory for convenience. Make it in the build tree
7268 # simply because there is no reason to put it here, and in addition,
7269 # creating and moving files from /tmp can sometimes cause problems.
7270 # Create a temporary directory, and hook for its removal unless debugging.
7273 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7274 trap '{ (exit 1); exit 1; }' 1 2 13 15
7277 # Create a (secure) tmp directory for tmp files.
7280 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7281 test -n "$tmp" && test -d "$tmp"
7284 tmp
=.
/confstat$$
-$RANDOM
7285 (umask 077 && mkdir
$tmp)
7288 echo "$me: cannot create a temporary directory in ." >&2
7289 { (exit 1); exit 1; }
7294 cat >>$CONFIG_STATUS <<_ACEOF
7297 # CONFIG_FILES section.
7300 # No need to generate the scripts if there are no CONFIG_FILES.
7301 # This happens for instance when ./config.status config.h
7302 if test -n "\$CONFIG_FILES"; then
7303 # Protect against being on the right side of a sed subst in config.status.
7304 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7305 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7306 s,@SHELL@,$SHELL,;t t
7307 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7308 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7309 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7310 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7311 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7312 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7313 s,@exec_prefix@,$exec_prefix,;t t
7314 s,@prefix@,$prefix,;t t
7315 s,@program_transform_name@,$program_transform_name,;t t
7316 s,@bindir@,$bindir,;t t
7317 s,@sbindir@,$sbindir,;t t
7318 s,@libexecdir@,$libexecdir,;t t
7319 s,@datadir@,$datadir,;t t
7320 s,@sysconfdir@,$sysconfdir,;t t
7321 s,@sharedstatedir@,$sharedstatedir,;t t
7322 s,@localstatedir@,$localstatedir,;t t
7323 s,@libdir@,$libdir,;t t
7324 s,@includedir@,$includedir,;t t
7325 s,@oldincludedir@,$oldincludedir,;t t
7326 s,@infodir@,$infodir,;t t
7327 s,@mandir@,$mandir,;t t
7328 s,@build_alias@,$build_alias,;t t
7329 s,@host_alias@,$host_alias,;t t
7330 s,@target_alias@,$target_alias,;t t
7332 s,@ECHO_C@,$ECHO_C,;t t
7333 s,@ECHO_N@,$ECHO_N,;t t
7334 s,@ECHO_T@,$ECHO_T,;t t
7336 s,@multi_basedir@,$multi_basedir,;t t
7337 s,@build@,$build,;t t
7338 s,@build_cpu@,$build_cpu,;t t
7339 s,@build_vendor@,$build_vendor,;t t
7340 s,@build_os@,$build_os,;t t
7342 s,@host_cpu@,$host_cpu,;t t
7343 s,@host_vendor@,$host_vendor,;t t
7344 s,@host_os@,$host_os,;t t
7345 s,@target@,$target,;t t
7346 s,@target_cpu@,$target_cpu,;t t
7347 s,@target_vendor@,$target_vendor,;t t
7348 s,@target_os@,$target_os,;t t
7349 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7350 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7351 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7352 s,@CYGPATH_W@,$CYGPATH_W,;t t
7353 s,@PACKAGE@,$PACKAGE,;t t
7354 s,@VERSION@,$VERSION,;t t
7355 s,@ACLOCAL@,$ACLOCAL,;t t
7356 s,@AUTOCONF@,$AUTOCONF,;t t
7357 s,@AUTOMAKE@,$AUTOMAKE,;t t
7358 s,@AUTOHEADER@,$AUTOHEADER,;t t
7359 s,@MAKEINFO@,$MAKEINFO,;t t
7360 s,@AMTAR@,$AMTAR,;t t
7361 s,@install_sh@,$install_sh,;t t
7362 s,@STRIP@,$STRIP,;t t
7363 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7364 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7366 s,@SET_MAKE@,$SET_MAKE,;t t
7367 s,@am__leading_dot@,$am__leading_dot,;t t
7369 s,@ac_ct_CC@,$ac_ct_CC,;t t
7370 s,@EXEEXT@,$EXEEXT,;t t
7371 s,@OBJEXT@,$OBJEXT,;t t
7372 s,@DEPDIR@,$DEPDIR,;t t
7373 s,@am__include@,$am__include,;t t
7374 s,@am__quote@,$am__quote,;t t
7375 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7376 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7377 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7378 s,@CCDEPMODE@,$CCDEPMODE,;t t
7379 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7380 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7381 s,@CFLAGS@,$CFLAGS,;t t
7383 s,@CCASFLAGS@,$CCASFLAGS,;t t
7385 s,@RANLIB@,$RANLIB,;t t
7386 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7387 s,@LIBTOOL@,$LIBTOOL,;t t
7388 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7389 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7390 s,@MAINT@,$MAINT,;t t
7392 s,@CPPFLAGS@,$CPPFLAGS,;t t
7393 s,@EGREP@,$EGREP,;t t
7394 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
7395 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
7396 s,@AM_RUNTESTFLAGS@,$AM_RUNTESTFLAGS,;t t
7397 s,@MIPS_IRIX_TRUE@,$MIPS_IRIX_TRUE,;t t
7398 s,@MIPS_IRIX_FALSE@,$MIPS_IRIX_FALSE,;t t
7399 s,@MIPS_LINUX_TRUE@,$MIPS_LINUX_TRUE,;t t
7400 s,@MIPS_LINUX_FALSE@,$MIPS_LINUX_FALSE,;t t
7401 s,@SPARC_TRUE@,$SPARC_TRUE,;t t
7402 s,@SPARC_FALSE@,$SPARC_FALSE,;t t
7403 s,@X86_TRUE@,$X86_TRUE,;t t
7404 s,@X86_FALSE@,$X86_FALSE,;t t
7405 s,@X86_WIN32_TRUE@,$X86_WIN32_TRUE,;t t
7406 s,@X86_WIN32_FALSE@,$X86_WIN32_FALSE,;t t
7407 s,@ALPHA_TRUE@,$ALPHA_TRUE,;t t
7408 s,@ALPHA_FALSE@,$ALPHA_FALSE,;t t
7409 s,@IA64_TRUE@,$IA64_TRUE,;t t
7410 s,@IA64_FALSE@,$IA64_FALSE,;t t
7411 s,@M68K_TRUE@,$M68K_TRUE,;t t
7412 s,@M68K_FALSE@,$M68K_FALSE,;t t
7413 s,@POWERPC_TRUE@,$POWERPC_TRUE,;t t
7414 s,@POWERPC_FALSE@,$POWERPC_FALSE,;t t
7415 s,@POWERPC_AIX_TRUE@,$POWERPC_AIX_TRUE,;t t
7416 s,@POWERPC_AIX_FALSE@,$POWERPC_AIX_FALSE,;t t
7417 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
7418 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
7419 s,@ARM_TRUE@,$ARM_TRUE,;t t
7420 s,@ARM_FALSE@,$ARM_FALSE,;t t
7421 s,@S390_TRUE@,$S390_TRUE,;t t
7422 s,@S390_FALSE@,$S390_FALSE,;t t
7423 s,@X86_64_TRUE@,$X86_64_TRUE,;t t
7424 s,@X86_64_FALSE@,$X86_64_FALSE,;t t
7425 s,@SH_TRUE@,$SH_TRUE,;t t
7426 s,@SH_FALSE@,$SH_FALSE,;t t
7427 s,@SH64_TRUE@,$SH64_TRUE,;t t
7428 s,@SH64_FALSE@,$SH64_FALSE,;t t
7429 s,@PA_TRUE@,$PA_TRUE,;t t
7430 s,@PA_FALSE@,$PA_FALSE,;t t
7431 s,@ALLOCA@,$ALLOCA,;t t
7432 s,@HAVE_LONG_DOUBLE@,$HAVE_LONG_DOUBLE,;t t
7433 s,@TARGET@,$TARGET,;t t
7434 s,@TARGETDIR@,$TARGETDIR,;t t
7435 s,@toolexecdir@,$toolexecdir,;t t
7436 s,@toolexeclibdir@,$toolexeclibdir,;t t
7437 s,@tool_include_dir@,$tool_include_dir,;t t
7438 s,@gcc_version@,$gcc_version,;t t
7439 s,@LIBOBJS@,$LIBOBJS,;t t
7440 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7445 cat >>$CONFIG_STATUS <<\_ACEOF
7446 # Split the substitutions into bite-sized pieces for seds with
7447 # small command number limits, like on Digital OSF/1 and HP-UX.
7449 ac_sed_frag
=1 # Number of current file.
7450 ac_beg
=1 # First line for current file.
7451 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7454 while $ac_more_lines; do
7455 if test $ac_beg -gt 1; then
7456 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7458 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7460 if test ! -s $tmp/subs.frag
; then
7463 # The purpose of the label and of the branching condition is to
7464 # speed up the sed processing (if there are no `@' at all, there
7465 # is no need to browse any of the substitutions).
7466 # These are the two extra sed commands mentioned above.
7468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7469 if test -z "$ac_sed_cmds"; then
7470 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7472 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7474 ac_sed_frag
=`expr $ac_sed_frag + 1`
7476 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7479 if test -z "$ac_sed_cmds"; then
7482 fi # test -n "$CONFIG_FILES"
7485 cat >>$CONFIG_STATUS <<\_ACEOF
7486 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7487 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7489 - |
*:- |
*:-:* ) # input from stdin
7491 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7492 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7493 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7494 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7495 * ) ac_file_in
=$ac_file.
in ;;
7498 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7499 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7501 X"$ac_file" : 'X\(//\)[^/]' \| \
7502 X"$ac_file" : 'X\(//\)$' \| \
7503 X"$ac_file" : 'X\(/\)' \| \
7504 . : '\(.\)' 2>/dev/null ||
7506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7508 /^X\(\/\/\)$/{ s//\1/; q; }
7509 /^X\(\/\).*/{ s//\1/; q; }
7511 { if $as_mkdir_p; then
7516 while test ! -d "$as_dir"; do
7517 as_dirs
="$as_dir $as_dirs"
7518 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7519 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7520 X"$as_dir" : 'X\(//\)[^/]' \| \
7521 X"$as_dir" : 'X\(//\)$' \| \
7522 X"$as_dir" : 'X\(/\)' \| \
7523 . : '\(.\)' 2>/dev/null ||
7525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7527 /^X\(\/\/\)$/{ s//\1/; q; }
7528 /^X\(\/\).*/{ s//\1/; q; }
7531 test ! -n "$as_dirs" || mkdir
$as_dirs
7532 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7533 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7534 { (exit 1); exit 1; }; }; }
7538 if test "$ac_dir" != .
; then
7539 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7540 # A "../" for each directory in $ac_dir_suffix.
7541 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7543 ac_dir_suffix
= ac_top_builddir
=
7547 .
) # No --srcdir option. We are building in place.
7549 if test -z "$ac_top_builddir"; then
7552 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7554 [\\/]* | ?
:[\\/]* ) # Absolute path.
7555 ac_srcdir
=$srcdir$ac_dir_suffix;
7556 ac_top_srcdir
=$srcdir ;;
7558 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7559 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7562 # Do not use `cd foo && pwd` to compute absolute paths, because
7563 # the directories may not exist.
7565 .
) ac_abs_builddir
="$ac_dir";;
7568 .
) ac_abs_builddir
=`pwd`;;
7569 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7570 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7573 case $ac_abs_builddir in
7574 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7576 case ${ac_top_builddir}.
in
7577 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7578 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7579 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7582 case $ac_abs_builddir in
7583 .
) ac_abs_srcdir
=$ac_srcdir;;
7586 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7587 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7588 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7591 case $ac_abs_builddir in
7592 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7594 case $ac_top_srcdir in
7595 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7596 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7597 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7603 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7604 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7607 if test x
"$ac_file" != x-
; then
7608 { echo "$as_me:$LINENO: creating $ac_file" >&5
7609 echo "$as_me: creating $ac_file" >&6;}
7612 # Let's still pretend it is `configure' which instantiates (i.e., don't
7613 # use $as_me), people would be surprised to read:
7614 # /* config.h. Generated by config.status. */
7615 if test x
"$ac_file" = x-
; then
7618 configure_input
="$ac_file. "
7620 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7621 sed 's,.*/,,'` by configure."
7623 # First look for the input files in the build tree, otherwise in the
7625 ac_file_inputs
=`IFS=:
7626 for f in $ac_file_in; do
7628 -) echo $tmp/stdin ;;
7630 # Absolute (can't be DOS-style, as IFS=:)
7631 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7632 echo "$as_me: error: cannot find input file: $f" >&2;}
7633 { (exit 1); exit 1; }; }
7636 if test -f "$f"; then
7639 elif test -f "$srcdir/$f"; then
7644 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7645 echo "$as_me: error: cannot find input file: $f" >&2;}
7646 { (exit 1); exit 1; }; }
7649 done` ||
{ (exit 1); exit 1; }
7651 cat >>$CONFIG_STATUS <<_ACEOF
7655 cat >>$CONFIG_STATUS <<\_ACEOF
7657 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7658 s
,@configure_input@
,$configure_input,;t t
7659 s
,@srcdir@
,$ac_srcdir,;t t
7660 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7661 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7662 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7663 s
,@builddir@
,$ac_builddir,;t t
7664 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7665 s
,@top_builddir@
,$ac_top_builddir,;t t
7666 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7667 s
,@INSTALL@
,$ac_INSTALL,;t t
7668 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7670 if test x"$ac_file" != x-; then
7671 mv $tmp/out $ac_file
7679 cat >>$CONFIG_STATUS <<\_ACEOF
7682 # CONFIG_HEADER section.
7685 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7686 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7688 # ac_d sets the value in "#define NAME VALUE" lines.
7689 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7690 ac_dB
='[ ].*$,\1#\2'
7693 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7694 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7695 ac_uB
='$,\1#\2define\3'
7699 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7700 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7702 - |
*:- |
*:-:* ) # input from stdin
7704 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7705 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7706 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7707 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7708 * ) ac_file_in
=$ac_file.
in ;;
7711 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7712 echo "$as_me: creating $ac_file" >&6;}
7714 # First look for the input files in the build tree, otherwise in the
7716 ac_file_inputs
=`IFS=:
7717 for f in $ac_file_in; do
7719 -) echo $tmp/stdin ;;
7721 # Absolute (can't be DOS-style, as IFS=:)
7722 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7723 echo "$as_me: error: cannot find input file: $f" >&2;}
7724 { (exit 1); exit 1; }; }
7725 # Do quote $f, to prevent DOS paths from being IFS'd.
7728 if test -f "$f"; then
7731 elif test -f "$srcdir/$f"; then
7736 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7737 echo "$as_me: error: cannot find input file: $f" >&2;}
7738 { (exit 1); exit 1; }; }
7741 done` ||
{ (exit 1); exit 1; }
7742 # Remove the trailing spaces.
7743 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7747 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7748 # `conftest.undefs', that substitutes the proper values into
7749 # config.h.in to produce config.h. The first handles `#define'
7750 # templates, and the second `#undef' templates.
7751 # And first: Protect against being on the right side of a sed subst in
7752 # config.status. Protect against being in an unquoted here document
7754 rm -f conftest.defines conftest.undefs
7755 # Using a here document instead of a string reduces the quoting nightmare.
7756 # Putting comments in sed scripts is not portable.
7758 # `end' is used to avoid that the second main sed command (meant for
7759 # 0-ary CPP macros) applies to n-ary macro definitions.
7760 # See the Autoconf documentation for `clear'.
7761 cat >confdef2sed.
sed <<\_ACEOF
7766 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7768 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7771 # If some macros were called several times there might be several times
7772 # the same #defines, which is useless. Nevertheless, we may not want to
7773 # sort them, since we want the *last* AC-DEFINE to be honored.
7774 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7775 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7776 rm -f confdef2sed.sed
7778 # This sed command replaces #undef with comments. This is necessary, for
7779 # example, in the case of _POSIX_SOURCE, which is predefined and required
7780 # on some systems where configure will not decide to define it.
7781 cat >>conftest.undefs <<\_ACEOF
7782 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7785 # Break up conftest.defines because some shells have a limit on the size
7786 # of here documents, and old seds have small limits too (100 cmds).
7787 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7788 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7789 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7790 echo ' :' >>$CONFIG_STATUS
7792 while grep . conftest.defines >/dev/null
7794 # Write a limited-size here document to $tmp/defines.sed.
7795 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7796 # Speed up: don't consider the non `#define' lines.
7797 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7798 # Work around the forget-to-reset-the-flag bug.
7799 echo 't clr' >>$CONFIG_STATUS
7800 echo ': clr' >>$CONFIG_STATUS
7801 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7803 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7807 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7808 rm -f conftest.defines
7809 mv conftest.
tail conftest.defines
7811 rm -f conftest.defines
7812 echo ' fi # grep' >>$CONFIG_STATUS
7813 echo >>$CONFIG_STATUS
7815 # Break up conftest.undefs because some shells have a limit on the size
7816 # of here documents, and old seds have small limits too (100 cmds).
7817 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7819 while grep . conftest.undefs
>/dev
/null
7821 # Write a limited-size here document to $tmp/undefs.sed.
7822 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7823 # Speed up: don't consider the non
`#undef'
7824 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7825 # Work around the forget-to-reset-the-flag bug.
7826 echo 't clr' >>$CONFIG_STATUS
7827 echo ': clr' >>$CONFIG_STATUS
7828 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7830 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7834 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7835 rm -f conftest.undefs
7836 mv conftest.tail conftest.undefs
7838 rm -f conftest.undefs
7840 cat >>$CONFIG_STATUS <<\_ACEOF
7841 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7842 # use $as_me), people would be surprised to read:
7843 # /* config.h. Generated by config.status. */
7844 if test x
"$ac_file" = x-
; then
7845 echo "/* Generated by configure. */" >$tmp/config.h
7847 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7849 cat $tmp/in >>$tmp/config.h
7851 if test x
"$ac_file" != x-
; then
7852 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7853 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7854 echo "$as_me: $ac_file is unchanged" >&6;}
7856 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7858 X"$ac_file" : 'X\(//\)[^/]' \| \
7859 X"$ac_file" : 'X\(//\)$' \| \
7860 X"$ac_file" : 'X\(/\)' \| \
7861 . : '\(.\)' 2>/dev/null ||
7863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7864 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7865 /^X\(\/\/\)$/{ s//\1/; q; }
7866 /^X\(\/\).*/{ s//\1/; q; }
7868 { if $as_mkdir_p; then
7873 while test ! -d "$as_dir"; do
7874 as_dirs
="$as_dir $as_dirs"
7875 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7877 X"$as_dir" : 'X\(//\)[^/]' \| \
7878 X"$as_dir" : 'X\(//\)$' \| \
7879 X"$as_dir" : 'X\(/\)' \| \
7880 . : '\(.\)' 2>/dev/null ||
7882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7883 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7884 /^X\(\/\/\)$/{ s//\1/; q; }
7885 /^X\(\/\).*/{ s//\1/; q; }
7888 test ! -n "$as_dirs" || mkdir
$as_dirs
7889 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7890 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7891 { (exit 1); exit 1; }; }; }
7894 mv $tmp/config.h
$ac_file
7900 # Compute $ac_file's index in $config_headers.
7902 for _am_header
in $config_headers :; do
7904 $ac_file |
$ac_file:* )
7907 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7910 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7911 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7912 X$ac_file : 'X\(//\)[^/]' \| \
7913 X$ac_file : 'X\(//\)$' \| \
7914 X$ac_file : 'X\(/\)' \| \
7915 . : '\(.\)' 2>/dev/null ||
7917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7918 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7919 /^X\(\/\/\)$/{ s//\1/; q; }
7920 /^X\(\/\).*/{ s//\1/; q; }
7921 s/.*/./; q'`/stamp-h
$_am_stamp_count
7924 cat >>$CONFIG_STATUS <<\_ACEOF
7927 # CONFIG_LINKS section.
7930 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
7931 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7932 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7934 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
7935 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
7937 if test ! -r $srcdir/$ac_source; then
7938 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
7939 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
7940 { (exit 1); exit 1; }; }
7944 # Make relative symlinks.
7945 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7946 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7947 X"$ac_dest" : 'X\(//\)[^/]' \| \
7948 X"$ac_dest" : 'X\(//\)$' \| \
7949 X"$ac_dest" : 'X\(/\)' \| \
7950 . : '\(.\)' 2>/dev/null ||
7952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7953 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7954 /^X\(\/\/\)$/{ s//\1/; q; }
7955 /^X\(\/\).*/{ s//\1/; q; }
7957 { if $as_mkdir_p; then
7958 mkdir
-p "$ac_dest_dir"
7960 as_dir
="$ac_dest_dir"
7962 while test ! -d "$as_dir"; do
7963 as_dirs
="$as_dir $as_dirs"
7964 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7965 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7966 X"$as_dir" : 'X\(//\)[^/]' \| \
7967 X"$as_dir" : 'X\(//\)$' \| \
7968 X"$as_dir" : 'X\(/\)' \| \
7969 . : '\(.\)' 2>/dev/null ||
7971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7972 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7973 /^X\(\/\/\)$/{ s//\1/; q; }
7974 /^X\(\/\).*/{ s//\1/; q; }
7977 test ! -n "$as_dirs" || mkdir
$as_dirs
7978 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
7979 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
7980 { (exit 1); exit 1; }; }; }
7984 if test "$ac_dest_dir" != .
; then
7985 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
7986 # A "../" for each directory in $ac_dir_suffix.
7987 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7989 ac_dir_suffix
= ac_top_builddir
=
7993 .
) # No --srcdir option. We are building in place.
7995 if test -z "$ac_top_builddir"; then
7998 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8000 [\\/]* | ?
:[\\/]* ) # Absolute path.
8001 ac_srcdir
=$srcdir$ac_dir_suffix;
8002 ac_top_srcdir
=$srcdir ;;
8004 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8005 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8008 # Do not use `cd foo && pwd` to compute absolute paths, because
8009 # the directories may not exist.
8011 .
) ac_abs_builddir
="$ac_dest_dir";;
8013 case "$ac_dest_dir" in
8014 .
) ac_abs_builddir
=`pwd`;;
8015 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
8016 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
8019 case $ac_abs_builddir in
8020 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8022 case ${ac_top_builddir}.
in
8023 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8024 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8025 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8028 case $ac_abs_builddir in
8029 .
) ac_abs_srcdir
=$ac_srcdir;;
8032 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8033 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8034 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8037 case $ac_abs_builddir in
8038 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8040 case $ac_top_srcdir in
8041 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8042 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8043 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8049 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
8050 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
8053 # Try a symlink, then a hard link, then a copy.
8054 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
8055 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
8056 cp -p $srcdir/$ac_source $ac_dest ||
8057 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
8058 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
8059 { (exit 1); exit 1; }; }
8062 cat >>$CONFIG_STATUS <<\_ACEOF
8065 # CONFIG_COMMANDS section.
8067 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8068 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8069 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8070 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8071 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8072 X"$ac_dest" : 'X\(//\)[^/]' \| \
8073 X"$ac_dest" : 'X\(//\)$' \| \
8074 X"$ac_dest" : 'X\(/\)' \| \
8075 . : '\(.\)' 2>/dev/null ||
8077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8078 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8079 /^X\(\/\/\)$/{ s//\1/; q; }
8080 /^X\(\/\).*/{ s//\1/; q; }
8082 { if $as_mkdir_p; then
8087 while test ! -d "$as_dir"; do
8088 as_dirs
="$as_dir $as_dirs"
8089 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8091 X"$as_dir" : 'X\(//\)[^/]' \| \
8092 X"$as_dir" : 'X\(//\)$' \| \
8093 X"$as_dir" : 'X\(/\)' \| \
8094 . : '\(.\)' 2>/dev/null ||
8096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8098 /^X\(\/\/\)$/{ s//\1/; q; }
8099 /^X\(\/\).*/{ s//\1/; q; }
8102 test ! -n "$as_dirs" || mkdir
$as_dirs
8103 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8105 { (exit 1); exit 1; }; }; }
8109 if test "$ac_dir" != .
; then
8110 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8111 # A "../" for each directory in $ac_dir_suffix.
8112 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8114 ac_dir_suffix
= ac_top_builddir
=
8118 .
) # No --srcdir option. We are building in place.
8120 if test -z "$ac_top_builddir"; then
8123 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8125 [\\/]* | ?
:[\\/]* ) # Absolute path.
8126 ac_srcdir
=$srcdir$ac_dir_suffix;
8127 ac_top_srcdir
=$srcdir ;;
8129 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8130 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8133 # Do not use `cd foo && pwd` to compute absolute paths, because
8134 # the directories may not exist.
8136 .
) ac_abs_builddir
="$ac_dir";;
8139 .
) ac_abs_builddir
=`pwd`;;
8140 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8141 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8144 case $ac_abs_builddir in
8145 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8147 case ${ac_top_builddir}.
in
8148 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8149 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8150 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8153 case $ac_abs_builddir in
8154 .
) ac_abs_srcdir
=$ac_srcdir;;
8157 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8158 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8159 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8162 case $ac_abs_builddir in
8163 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8165 case $ac_top_srcdir in
8166 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8167 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8168 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8173 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8174 echo "$as_me: executing $ac_dest commands" >&6;}
8177 # Only add multilib support code if we just rebuilt the top-level
8179 case " $CONFIG_FILES " in
8181 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8184 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8185 # Strip MF so we end up with the name of the file.
8186 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8187 # Check whether this is an Automake generated Makefile or not.
8188 # We used to match only the files named `Makefile.in', but
8189 # some people rename them; so instead we look at the file content.
8190 # Grep'ing the first line is not enough: some people post-process
8191 # each Makefile.in and add a new line on top of each file to say so.
8192 # So let's grep whole file.
8193 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8194 dirpart
=`(dirname "$mf") 2>/dev/null ||
8195 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8196 X"$mf" : 'X\(//\)[^/]' \| \
8197 X"$mf" : 'X\(//\)$' \| \
8198 X"$mf" : 'X\(/\)' \| \
8199 . : '\(.\)' 2>/dev/null ||
8201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8202 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8203 /^X\(\/\/\)$/{ s//\1/; q; }
8204 /^X\(\/\).*/{ s//\1/; q; }
8209 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
8210 # Extract the definition of DEP_FILES from the Makefile without
8212 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
8213 test -z "$DEPDIR" && continue
8214 # When using ansi2knr, U may be empty or an underscore; expand it
8215 U
=`sed -n -e '/^U = / s///p' < "$mf"`
8216 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
8217 # We invoke sed twice because it is the simplest approach to
8218 # changing $(DEPDIR) to its actual value in the expansion.
8219 for file in `sed -n -e '
8220 /^DEP_FILES = .*\\\\$/ {
8229 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8230 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8231 # Make sure the directory exists.
8232 test -f "$dirpart/$file" && continue
8233 fdir
=`(dirname "$file") 2>/dev/null ||
8234 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8235 X"$file" : 'X\(//\)[^/]' \| \
8236 X"$file" : 'X\(//\)$' \| \
8237 X"$file" : 'X\(/\)' \| \
8238 . : '\(.\)' 2>/dev/null ||
8240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8241 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8242 /^X\(\/\/\)$/{ s//\1/; q; }
8243 /^X\(\/\).*/{ s//\1/; q; }
8245 { if $as_mkdir_p; then
8246 mkdir
-p $dirpart/$fdir
8248 as_dir
=$dirpart/$fdir
8250 while test ! -d "$as_dir"; do
8251 as_dirs
="$as_dir $as_dirs"
8252 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8254 X"$as_dir" : 'X\(//\)[^/]' \| \
8255 X"$as_dir" : 'X\(//\)$' \| \
8256 X"$as_dir" : 'X\(/\)' \| \
8257 . : '\(.\)' 2>/dev/null ||
8259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8260 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8261 /^X\(\/\/\)$/{ s//\1/; q; }
8262 /^X\(\/\).*/{ s//\1/; q; }
8265 test ! -n "$as_dirs" || mkdir
$as_dirs
8266 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8267 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8268 { (exit 1); exit 1; }; }; }
8270 # echo "creating $dirpart/$file"
8271 echo '# dummy' > "$dirpart/$file"
8275 include
) test -d include || mkdir include
;;
8277 test -d src || mkdir src
8278 test -d src
/$TARGETDIR || mkdir src
/$TARGETDIR
8284 cat >>$CONFIG_STATUS <<\_ACEOF
8286 { (exit 0); exit 0; }
8288 chmod +x
$CONFIG_STATUS
8289 ac_clean_files
=$ac_clean_files_save
8292 # configure is writing to config.log, and then calls config.status.
8293 # config.status does its own redirection, appending to config.log.
8294 # Unfortunately, on DOS this fails, as config.log is still kept open
8295 # by configure, so config.status won't be able to write to it; its
8296 # output is simply discarded. So we exec the FD to /dev/null,
8297 # effectively closing config.log, so it can be properly (re)opened and
8298 # appended to by config.status. When coming back to configure, we
8299 # need to make the FD available again.
8300 if test "$no_create" != yes; then
8302 ac_config_status_args
=
8303 test "$silent" = yes &&
8304 ac_config_status_args
="$ac_config_status_args --quiet"
8306 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8308 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8309 # would make configure fail if this is the last instruction.
8310 $ac_cs_success ||
{ (exit 1); exit 1; }