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 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 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 CPP CPPFLAGS EGREP ALLOCA HAVE_LONG_DOUBLE TARGET TARGETDIR toolexecdir toolexeclibdir tool_include_dir gcc_version LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_env_CPP_set
=${CPP+set}
718 ac_env_CPP_value
=$CPP
719 ac_cv_env_CPP_set
=${CPP+set}
720 ac_cv_env_CPP_value
=$CPP
721 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
722 ac_env_CPPFLAGS_value
=$CPPFLAGS
723 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
724 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
727 # Report the --help message.
729 if test "$ac_init_help" = "long"; then
730 # Omit some internal or obsolete options to make the list less imposing.
731 # This message is too long to be a string in the A/UX 3.1 sh.
733 \`configure' configures libffi 2.1 to adapt to many kinds of systems.
735 Usage: $0 [OPTION]... [VAR=VALUE]...
737 To assign environment variables (e.g., CC, CFLAGS...), specify them as
738 VAR=VALUE. See below for descriptions of some of the useful variables.
740 Defaults for the options are specified in brackets.
743 -h, --help display this help and exit
744 --help=short display options specific to this package
745 --help=recursive display the short help of all the included packages
746 -V, --version display version information and exit
747 -q, --quiet, --silent do not print \`checking...' messages
748 --cache-file=FILE cache test results in FILE [disabled]
749 -C, --config-cache alias for \`--cache-file=config.cache'
750 -n, --no-create do not create output files
751 --srcdir=DIR find the sources in DIR [configure dir or \`..']
756 Installation directories:
757 --prefix=PREFIX install architecture-independent files in PREFIX
759 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
762 By default, \`make install' will install all the files in
763 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
764 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
765 for instance \`--prefix=\$HOME'.
767 For better control, use the options below.
769 Fine tuning of the installation directories:
770 --bindir=DIR user executables [EPREFIX/bin]
771 --sbindir=DIR system admin executables [EPREFIX/sbin]
772 --libexecdir=DIR program executables [EPREFIX/libexec]
773 --datadir=DIR read-only architecture-independent data [PREFIX/share]
774 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
775 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
776 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
777 --libdir=DIR object code libraries [EPREFIX/lib]
778 --includedir=DIR C header files [PREFIX/include]
779 --oldincludedir=DIR C header files for non-gcc [/usr/include]
780 --infodir=DIR info documentation [PREFIX/info]
781 --mandir=DIR man documentation [PREFIX/man]
787 --program-prefix=PREFIX prepend PREFIX to installed program names
788 --program-suffix=SUFFIX append SUFFIX to installed program names
789 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
792 --build=BUILD configure
for building on BUILD
[guessed
]
793 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
794 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
798 if test -n "$ac_init_help"; then
799 case $ac_init_help in
800 short | recursive
) echo "Configuration of libffi 2.1:";;
805 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
806 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
807 --enable-multilib build many library versions
(default
)
808 --disable-dependency-tracking Speeds up one-time builds
809 --enable-dependency-tracking Do not reject slow dependency extractors
810 --enable-shared=PKGS build shared libraries default
=yes
811 --enable-static=PKGS build static libraries default
=yes
812 --enable-fast-install=PKGS optimize
for fast installation default
=yes
813 --disable-libtool-lock avoid locking
(might
break parallel builds
)
814 --enable-maintainer-mode enable make rules and dependencies not useful
815 (and sometimes confusing
) to the casual installer
816 --enable-debug debugging mode
817 --disable-structs omit code
for struct support
818 --disable-raw-api make the raw api unavailable
819 --enable-purify-safety purify-safe mode
822 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
823 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
824 --with-gnu-ld assume the C compiler uses GNU ld default
=no
825 --with-pic try to use only PIC
/non-PIC objects default
=use both
827 Some influential environment variables
:
828 CC C compiler
command
829 CFLAGS C compiler flags
830 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
831 nonstandard directory
<lib dir
>
832 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
833 headers
in a nonstandard directory
<include dir
>
836 Use these variables to override the choices made by
`configure' or to help
837 it to find libraries and programs with nonstandard names/locations.
839 Report bugs to <http://gcc.gnu.org/bugs.html>.
843 if test "$ac_init_help" = "recursive"; then
844 # If there are subdirs, report their specific --help.
846 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
847 test -d $ac_dir || continue
850 if test "$ac_dir" != .; then
851 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
852 # A "../" for each directory in $ac_dir_suffix.
853 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
855 ac_dir_suffix= ac_top_builddir=
859 .) # No --srcdir option. We are building in place.
861 if test -z "$ac_top_builddir"; then
864 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
866 [\\/]* | ?:[\\/]* ) # Absolute path.
867 ac_srcdir=$srcdir$ac_dir_suffix;
868 ac_top_srcdir=$srcdir ;;
870 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
871 ac_top_srcdir=$ac_top_builddir$srcdir ;;
874 # Do not use `cd foo
&& pwd` to compute absolute paths, because
875 # the directories may not exist.
877 .) ac_abs_builddir="$ac_dir";;
880 .) ac_abs_builddir=`pwd`;;
881 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
882 *) ac_abs_builddir=`pwd`/"$ac_dir";;
885 case $ac_abs_builddir in
886 .) ac_abs_top_builddir=${ac_top_builddir}.;;
888 case ${ac_top_builddir}. in
889 .) ac_abs_top_builddir=$ac_abs_builddir;;
890 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
891 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
894 case $ac_abs_builddir in
895 .) ac_abs_srcdir=$ac_srcdir;;
898 .) ac_abs_srcdir=$ac_abs_builddir;;
899 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
900 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
903 case $ac_abs_builddir in
904 .) ac_abs_top_srcdir=$ac_top_srcdir;;
906 case $ac_top_srcdir in
907 .) ac_abs_top_srcdir=$ac_abs_builddir;;
908 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
909 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
914 # Check for guested configure; otherwise get Cygnus style configure.
915 if test -f $ac_srcdir/configure.gnu; then
917 $SHELL $ac_srcdir/configure.gnu --help=recursive
918 elif test -f $ac_srcdir/configure; then
920 $SHELL $ac_srcdir/configure --help=recursive
921 elif test -f $ac_srcdir/configure.ac ||
922 test -f $ac_srcdir/configure.in; then
926 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
932 test -n "$ac_init_help" && exit 0
933 if $ac_init_version; then
936 generated by GNU Autoconf 2.59
938 Copyright (C) 2003 Free Software Foundation, Inc.
939 This configure script is free software; the Free Software Foundation
940 gives unlimited permission to copy, distribute and modify it.
946 This file contains any messages produced by compilers while
947 running configure, to aid debugging if configure makes a mistake.
949 It was created by libffi $as_me 2.1, which was
950 generated by GNU Autoconf 2.59. Invocation command line was
961 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
962 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
963 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
964 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
965 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
967 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
968 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
970 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
971 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
972 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
973 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
974 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
975 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
976 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
984 test -z "$as_dir" && as_dir=.
1000 # Keep a trace of the command line.
1001 # Strip out --no-create and --no-recursion so they do not pile up.
1002 # Strip out --silent because we don't want to record it for future runs.
1003 # Also quote any args containing shell meta-characters.
1004 # Make two passes to allow for proper duplicate-argument suppression.
1009 ac_must_keep_next=false
1015 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017 | -silent | --silent | --silen | --sile | --sil)
1019 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1020 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1023 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1025 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1026 if test $ac_must_keep_next = true; then
1027 ac_must_keep_next=false # Got value, back to normal.
1030 *=* | --config-cache | -C | -disable-* | --disable-* \
1031 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1032 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1033 | -with-* | --with-* | -without-* | --without-* | --x)
1034 case "$ac_configure_args0 " in
1035 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1038 -* ) ac_must_keep_next=true ;;
1041 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1042 # Get rid of the leading space.
1048 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1049 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1051 # When interrupted or exit'd, cleanup temporary files, and complete
1052 # config.log. We remove comments because anyway the quotes in there
1053 # would cause problems or look ugly.
1054 # WARNING: Be sure not to use single quotes in there, as some shells,
1055 # such as our DU 5.0 friend, will then `close
' the trap.
1056 trap 'exit_status
=$?
1057 # Save into config.log some information that might help in debugging.
1062 ## ---------------- ##
1063 ## Cache variables. ##
1064 ## ---------------- ##
1067 # The following way of writing the cache mishandles newlines in values,
1070 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1073 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1078 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1085 ## ----------------- ##
1086 ## Output variables. ##
1087 ## ----------------- ##
1090 for ac_var
in $ac_subst_vars
1092 eval ac_val
=$
`echo $ac_var`
1093 echo "$ac_var='"'"'$ac_val'"'"'"
1097 if test -n "$ac_subst_files"; then
1104 for ac_var
in $ac_subst_files
1106 eval ac_val
=$
`echo $ac_var`
1107 echo "$ac_var='"'"'$ac_val'"'"'"
1112 if test -s confdefs.h
; then
1119 sed "/^$/d" confdefs.h |
sort
1122 test "$ac_signal" != 0 &&
1123 echo "$as_me: caught signal $ac_signal"
1124 echo "$as_me: exit $exit_status"
1126 rm -f core
*.core
&&
1127 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1130 for ac_signal in 1 2 13 15; do
1131 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1135 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1136 rm -rf conftest* confdefs.h
1137 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1140 # Predefined preprocessor variables.
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_NAME "$PACKAGE_NAME"
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_STRING "$PACKAGE_STRING"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1167 # Let the site file select an alternate cache file if it wants to.
1168 # Prefer explicitly selected file to automatically selected ones.
1169 if test -z "$CONFIG_SITE"; then
1170 if test "x$prefix" != xNONE; then
1171 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1173 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1176 for ac_site_file in $CONFIG_SITE; do
1177 if test -r "$ac_site_file"; then
1178 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1179 echo "$as_me: loading site script $ac_site_file" >&6;}
1180 sed 's
/^
/|
/' "$ac_site_file" >&5
1185 if test -r "$cache_file"; then
1186 # Some versions of bash will fail to source /dev/null (special
1187 # files actually), so we avoid doing that.
1188 if test -f "$cache_file"; then
1189 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1190 echo "$as_me: loading cache $cache_file" >&6;}
1192 [\\/]* | ?:[\\/]* ) . $cache_file;;
1193 *) . ./$cache_file;;
1197 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1198 echo "$as_me: creating cache $cache_file" >&6;}
1202 # Check that the precious variables saved in the cache have kept the same
1204 ac_cache_corrupted=false
1205 for ac_var in `(set) 2>&1 |
1206 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1207 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1208 eval ac_new_set=\$ac_env_${ac_var}_set
1209 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1210 eval ac_new_val="\$ac_env_${ac_var}_value"
1211 case $ac_old_set,$ac_new_set in
1213 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1214 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1215 ac_cache_corrupted=: ;;
1217 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1218 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1219 ac_cache_corrupted=: ;;
1222 if test "x$ac_old_val" != "x$ac_new_val"; then
1223 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1224 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1225 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1226 echo "$as_me: former value: $ac_old_val" >&2;}
1227 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1228 echo "$as_me: current value: $ac_new_val" >&2;}
1229 ac_cache_corrupted=:
1232 # Pass precious variables to config.status.
1233 if test "$ac_new_set" = set; then
1235 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1236 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1237 *) ac_arg=$ac_var=$ac_new_val ;;
1239 case " $ac_configure_args " in
1240 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1241 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1245 if $ac_cache_corrupted; then
1246 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1247 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1248 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1249 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1250 { (exit 1); exit 1; }; }
1254 ac_cpp='$CPP $CPPFLAGS'
1255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1256 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1285 ac_config_headers="$ac_config_headers fficonfig.h"
1288 # Default to --enable-multilib
1289 # Check whether --enable-multilib or --disable-multilib was given.
1290 if test "${enable_multilib+set}" = set; then
1291 enableval="$enable_multilib"
1292 case "$enableval" in
1293 yes) multilib=yes ;;
1295 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1296 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1297 { (exit 1); exit 1; }; } ;;
1303 # We may get other options which we leave undocumented:
1304 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1305 # See config-ml.in if you want the gory details.
1307 if test "$srcdir" = "."; then
1308 if test "$with_target_subdir" != "."; then
1309 multi_basedir="$srcdir/$with_multisrctop../.."
1311 multi_basedir="$srcdir/$with_multisrctop.."
1314 multi_basedir="$srcdir/.."
1318 ac_config_commands="$ac_config_commands default-1"
1321 # This is for automake
1323 for ac_dir in .. $srcdir/..; do
1324 if test -f $ac_dir/install-sh; then
1326 ac_install_sh="$ac_aux_dir/install-sh -c"
1328 elif test -f $ac_dir/install.sh; then
1330 ac_install_sh="$ac_aux_dir/install.sh -c"
1332 elif test -f $ac_dir/shtool; then
1334 ac_install_sh="$ac_aux_dir/shtool install -c"
1338 if test -z "$ac_aux_dir"; then
1339 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1340 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1341 { (exit 1); exit 1; }; }
1343 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1344 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1345 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1348 # and this is for autoconf
1350 for ac_dir in ${multi_basedir}; do
1351 if test -f $ac_dir/install-sh; then
1353 ac_install_sh="$ac_aux_dir/install-sh -c"
1355 elif test -f $ac_dir/install.sh; then
1357 ac_install_sh="$ac_aux_dir/install.sh -c"
1359 elif test -f $ac_dir/shtool; then
1361 ac_install_sh="$ac_aux_dir/shtool install -c"
1365 if test -z "$ac_aux_dir"; then
1366 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1367 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1368 { (exit 1); exit 1; }; }
1370 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1371 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1372 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1376 # Make sure we can run config.sub.
1377 $ac_config_sub sun4 >/dev/null 2>&1 ||
1378 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1379 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1380 { (exit 1); exit 1; }; }
1382 echo "$as_me:$LINENO: checking build system type" >&5
1383 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1384 if test "${ac_cv_build+set}" = set; then
1385 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 ac_cv_build_alias=$build_alias
1388 test -z "$ac_cv_build_alias" &&
1389 ac_cv_build_alias=`$ac_config_guess`
1390 test -z "$ac_cv_build_alias" &&
1391 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1392 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1393 { (exit 1); exit 1; }; }
1394 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1395 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1396 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1397 { (exit 1); exit 1; }; }
1400 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1401 echo "${ECHO_T}$ac_cv_build" >&6
1403 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1404 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1405 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1408 echo "$as_me:$LINENO: checking host system type" >&5
1409 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1410 if test "${ac_cv_host+set}" = set; then
1411 echo $ECHO_N "(cached) $ECHO_C" >&6
1413 ac_cv_host_alias=$host_alias
1414 test -z "$ac_cv_host_alias" &&
1415 ac_cv_host_alias=$ac_cv_build_alias
1416 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1417 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1418 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1419 { (exit 1); exit 1; }; }
1422 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1423 echo "${ECHO_T}$ac_cv_host" >&6
1425 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1426 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1427 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1430 echo "$as_me:$LINENO: checking target system type" >&5
1431 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1432 if test "${ac_cv_target+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 ac_cv_target_alias=$target_alias
1436 test "x$ac_cv_target_alias" = "x" &&
1437 ac_cv_target_alias=$ac_cv_host_alias
1438 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1439 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1440 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1441 { (exit 1); exit 1; }; }
1444 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1445 echo "${ECHO_T}$ac_cv_target" >&6
1446 target=$ac_cv_target
1447 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1448 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1449 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1452 # The aliases save the names the user supplied, while $host etc.
1453 # will get canonicalized.
1454 test -n "$target_alias" &&
1455 test "$program_prefix$program_suffix$program_transform_name" = \
1457 program_prefix=${target_alias}-
1458 target_alias=${target_alias-$host_alias}
1460 am__api_version="1.7"
1461 # Find a good install program. We prefer a C program (faster),
1462 # so one script is as good as another. But avoid the broken or
1463 # incompatible versions:
1464 # SysV /etc/install, /usr/sbin/install
1465 # SunOS /usr/etc/install
1466 # IRIX /sbin/install
1468 # AmigaOS /C/install, which installs bootblocks on floppy discs
1469 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1470 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1471 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1472 # OS/2's system install, which has a completely different semantic
1473 # ./install, which can be erroneously created by make from ./install.sh.
1474 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1475 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1476 if test -z "$INSTALL"; then
1477 if test "${ac_cv_path_install+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1484 test -z "$as_dir" && as_dir
=.
1485 # Account for people who put trailing slashes in PATH elements.
1487 .
/ | .
// |
/cC
/* | \
1488 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1489 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1492 # OSF1 and SCO ODT 3.0 have their own names for install.
1493 # Don't use installbsd from OSF since it installs stuff as root
1495 for ac_prog
in ginstall scoinst
install; do
1496 for ac_exec_ext
in '' $ac_executable_extensions; do
1497 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1498 if test $ac_prog = install &&
1499 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1500 # AIX install. It has an incompatible calling convention.
1502 elif test $ac_prog = install &&
1503 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1504 # program-specific install script used by HP pwplus--don't use.
1507 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1519 if test "${ac_cv_path_install+set}" = set; then
1520 INSTALL
=$ac_cv_path_install
1522 # As a last resort, use the slow shell script. We don't cache a
1523 # path for INSTALL within a source directory, because that will
1524 # break other packages using the cache if that directory is
1525 # removed, or if the path is relative.
1526 INSTALL
=$ac_install_sh
1529 echo "$as_me:$LINENO: result: $INSTALL" >&5
1530 echo "${ECHO_T}$INSTALL" >&6
1532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1533 # It thinks the first close brace ends the variable substitution.
1534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1538 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1540 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1541 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1544 echo timestamp
> conftest.
file
1545 # Do `set' in a subshell so we don't clobber the current shell's
1546 # arguments. Must try -L first in case configure is actually a
1547 # symlink; some systems play weird games with the mod time of symlinks
1548 # (eg FreeBSD returns the mod time of the symlink's containing
1551 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1552 if test "$*" = "X"; then
1554 set X
`ls -t $srcdir/configure conftest.file`
1557 if test "$*" != "X $srcdir/configure conftest.file" \
1558 && test "$*" != "X conftest.file $srcdir/configure"; then
1560 # If neither matched, then we have a broken ls. This can happen
1561 # if, for instance, CONFIG_SHELL is bash and it inherits a
1562 # broken ls alias from the environment. This has actually
1563 # happened. Such a system could not be considered "sane".
1564 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1565 alias in your environment" >&5
1566 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1567 alias in your environment" >&2;}
1568 { (exit 1); exit 1; }; }
1571 test "$2" = conftest.
file
1577 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1578 Check your system clock" >&5
1579 echo "$as_me: error: newly created file is older than distributed files!
1580 Check your system clock" >&2;}
1581 { (exit 1); exit 1; }; }
1583 echo "$as_me:$LINENO: result: yes" >&5
1584 echo "${ECHO_T}yes" >&6
1585 test "$program_prefix" != NONE
&&
1586 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1587 # Use a double $ so make ignores it.
1588 test "$program_suffix" != NONE
&&
1589 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1590 # Double any \ or $. echo might interpret backslashes.
1591 # By default was `s,x,x', remove it if useless.
1592 cat <<\_ACEOF
>conftest.
sed
1593 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1595 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1599 # expand $ac_aux_dir to an absolute path
1600 am_aux_dir
=`cd $ac_aux_dir && pwd`
1602 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1603 # Use eval to expand $SHELL
1604 if eval "$MISSING --run true"; then
1605 am_missing_run
="$MISSING --run "
1608 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1609 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1612 for ac_prog
in gawk mawk nawk
awk
1614 # Extract the first word of "$ac_prog", so it can be a program name with args.
1615 set dummy
$ac_prog; ac_word
=$2
1616 echo "$as_me:$LINENO: checking for $ac_word" >&5
1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1618 if test "${ac_cv_prog_AWK+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 if test -n "$AWK"; then
1622 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir
=.
1629 for ac_exec_ext
in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 ac_cv_prog_AWK
="$ac_prog"
1632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 if test -n "$AWK"; then
1642 echo "$as_me:$LINENO: result: $AWK" >&5
1643 echo "${ECHO_T}$AWK" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1649 test -n "$AWK" && break
1652 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1653 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1654 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1655 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 cat >conftest.
make <<\_ACEOF
1660 @
echo 'ac_maketemp="$(MAKE)"'
1662 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1663 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1664 if test -n "$ac_maketemp"; then
1665 eval ac_cv_prog_make_
${ac_make}_set
=yes
1667 eval ac_cv_prog_make_
${ac_make}_set
=no
1671 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1672 echo "$as_me:$LINENO: result: yes" >&5
1673 echo "${ECHO_T}yes" >&6
1676 echo "$as_me:$LINENO: result: no" >&5
1677 echo "${ECHO_T}no" >&6
1678 SET_MAKE
="MAKE=${MAKE-make}"
1681 rm -rf .tst
2>/dev
/null
1682 mkdir .tst
2>/dev
/null
1683 if test -d .tst
; then
1688 rmdir .tst
2>/dev
/null
1690 # test to see if srcdir already configured
1691 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1692 test -f $srcdir/config.status
; then
1693 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1694 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1695 { (exit 1); exit 1; }; }
1698 # test whether we have cygpath
1699 if test -z "$CYGPATH_W"; then
1700 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1701 CYGPATH_W
='cygpath -w'
1708 # Define the identity of the package.
1713 cat >>confdefs.h
<<_ACEOF
1714 #define PACKAGE "$PACKAGE"
1718 cat >>confdefs.h
<<_ACEOF
1719 #define VERSION "$VERSION"
1722 # Some tools Automake needs.
1724 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1727 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1730 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1733 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1736 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1739 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1741 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1743 # Installed binaries are usually stripped using `strip' when the user
1744 # run `make install-strip'. However `strip' might not be the right
1745 # tool to use in cross-compilation environments, therefore Automake
1746 # will honor the `STRIP' environment variable to overrule this program.
1747 if test "$cross_compiling" != no
; then
1748 if test -n "$ac_tool_prefix"; then
1749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1750 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1751 echo "$as_me:$LINENO: checking for $ac_word" >&5
1752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753 if test "${ac_cv_prog_STRIP+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 if test -n "$STRIP"; then
1757 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1763 test -z "$as_dir" && as_dir
=.
1764 for ac_exec_ext
in '' $ac_executable_extensions; do
1765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1766 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1775 STRIP
=$ac_cv_prog_STRIP
1776 if test -n "$STRIP"; then
1777 echo "$as_me:$LINENO: result: $STRIP" >&5
1778 echo "${ECHO_T}$STRIP" >&6
1780 echo "$as_me:$LINENO: result: no" >&5
1781 echo "${ECHO_T}no" >&6
1785 if test -z "$ac_cv_prog_STRIP"; then
1787 # Extract the first word of "strip", so it can be a program name with args.
1788 set dummy strip
; ac_word
=$2
1789 echo "$as_me:$LINENO: checking for $ac_word" >&5
1790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1791 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6
1794 if test -n "$ac_ct_STRIP"; then
1795 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1801 test -z "$as_dir" && as_dir
=.
1802 for ac_exec_ext
in '' $ac_executable_extensions; do
1803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1804 ac_cv_prog_ac_ct_STRIP
="strip"
1805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1811 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1814 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1815 if test -n "$ac_ct_STRIP"; then
1816 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1817 echo "${ECHO_T}$ac_ct_STRIP" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1825 STRIP
="$ac_cv_prog_STRIP"
1829 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1831 # We need awk for the "check" target. The system "awk" is bad on
1837 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1838 # We must force CC to /not/ be precious variables; otherwise
1839 # the wrong, non-multilib-adjusted value will be used in multilibs.
1840 # As a side effect, we have to subst CFLAGS ourselves.
1845 ac_cpp
='$CPP $CPPFLAGS'
1846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1849 if test -n "$ac_tool_prefix"; then
1850 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1851 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854 if test "${ac_cv_prog_CC+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 if test -n "$CC"; then
1858 ac_cv_prog_CC
="$CC" # Let the user override the test.
1860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir
=.
1865 for ac_exec_ext
in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1877 if test -n "$CC"; then
1878 echo "$as_me:$LINENO: result: $CC" >&5
1879 echo "${ECHO_T}$CC" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1886 if test -z "$ac_cv_prog_CC"; then
1888 # Extract the first word of "gcc", so it can be a program name with args.
1889 set dummy gcc
; ac_word
=$2
1890 echo "$as_me:$LINENO: checking for $ac_word" >&5
1891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1892 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 if test -n "$ac_ct_CC"; then
1896 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir
=.
1903 for ac_exec_ext
in '' $ac_executable_extensions; do
1904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905 ac_cv_prog_ac_ct_CC
="gcc"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1915 if test -n "$ac_ct_CC"; then
1916 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1917 echo "${ECHO_T}$ac_ct_CC" >&6
1919 echo "$as_me:$LINENO: result: no" >&5
1920 echo "${ECHO_T}no" >&6
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1930 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1931 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_CC+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC
="$CC" # Let the user override the test.
1940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir
=.
1945 for ac_exec_ext
in '' $ac_executable_extensions; do
1946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 if test -n "$CC"; then
1958 echo "$as_me:$LINENO: result: $CC" >&5
1959 echo "${ECHO_T}$CC" >&6
1961 echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1966 if test -z "$ac_cv_prog_CC"; then
1968 # Extract the first word of "cc", so it can be a program name with args.
1969 set dummy cc
; ac_word
=$2
1970 echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 if test -n "$ac_ct_CC"; then
1976 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir
=.
1983 for ac_exec_ext
in '' $ac_executable_extensions; do
1984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985 ac_cv_prog_ac_ct_CC
="cc"
1986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1995 if test -n "$ac_ct_CC"; then
1996 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1997 echo "${ECHO_T}$ac_ct_CC" >&6
1999 echo "$as_me:$LINENO: result: no" >&5
2000 echo "${ECHO_T}no" >&6
2009 if test -z "$CC"; then
2010 # Extract the first word of "cc", so it can be a program name with args.
2011 set dummy cc
; ac_word
=$2
2012 echo "$as_me:$LINENO: checking for $ac_word" >&5
2013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2014 if test "${ac_cv_prog_CC+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 if test -n "$CC"; then
2018 ac_cv_prog_CC
="$CC" # Let the user override the test.
2021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir
=.
2026 for ac_exec_ext
in '' $ac_executable_extensions; do
2027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2028 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2029 ac_prog_rejected
=yes
2033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 if test $ac_prog_rejected = yes; then
2040 # We found a bogon in the path, so make sure we never use it.
2041 set dummy
$ac_cv_prog_CC
2043 if test $# != 0; then
2044 # We chose a different compiler from the bogus one.
2045 # However, it has the same basename, so the bogon will be chosen
2046 # first if we set CC to just the basename; use the full file name.
2048 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2054 if test -n "$CC"; then
2055 echo "$as_me:$LINENO: result: $CC" >&5
2056 echo "${ECHO_T}$CC" >&6
2058 echo "$as_me:$LINENO: result: no" >&5
2059 echo "${ECHO_T}no" >&6
2063 if test -z "$CC"; then
2064 if test -n "$ac_tool_prefix"; then
2067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2068 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2069 echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2071 if test "${ac_cv_prog_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC
="$CC" # Let the user override the test.
2077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir
=.
2082 for ac_exec_ext
in '' $ac_executable_extensions; do
2083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6
2098 echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6
2102 test -n "$CC" && break
2105 if test -z "$CC"; then
2109 # Extract the first word of "$ac_prog", so it can be a program name with args.
2110 set dummy
$ac_prog; ac_word
=$2
2111 echo "$as_me:$LINENO: checking for $ac_word" >&5
2112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 if test -n "$ac_ct_CC"; then
2117 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir
=.
2124 for ac_exec_ext
in '' $ac_executable_extensions; do
2125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2126 ac_cv_prog_ac_ct_CC
="$ac_prog"
2127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2136 if test -n "$ac_ct_CC"; then
2137 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2138 echo "${ECHO_T}$ac_ct_CC" >&6
2140 echo "$as_me:$LINENO: result: no" >&5
2141 echo "${ECHO_T}no" >&6
2144 test -n "$ac_ct_CC" && break
2153 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2154 See \`config.log' for more details." >&5
2155 echo "$as_me: error: no acceptable C compiler found in \$PATH
2156 See \`config.log' for more details." >&2;}
2157 { (exit 1); exit 1; }; }
2159 # Provide some information about the compiler.
2160 echo "$as_me:$LINENO:" \
2161 "checking for C compiler version" >&5
2162 ac_compiler
=`set X $ac_compile; echo $2`
2163 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2164 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }
2168 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2169 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }
2173 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2174 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }
2179 cat >conftest.
$ac_ext <<_ACEOF
2182 cat confdefs.h
>>conftest.
$ac_ext
2183 cat >>conftest.
$ac_ext <<_ACEOF
2184 /* end confdefs.h. */
2194 ac_clean_files_save
=$ac_clean_files
2195 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2196 # Try to create an executable without -o first, disregard a.out.
2197 # It will help us diagnose broken compilers, and finding out an intuition
2199 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2200 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2201 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2202 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2203 (eval $ac_link_default) 2>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }; then
2207 # Find the output, starting from the most likely. This scheme is
2208 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2211 # Be careful to initialize this variable, since it used to be cached.
2212 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2214 # b.out is created by i960 compilers.
2215 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2217 test -f "$ac_file" ||
continue
2219 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2222 # This is the source file.
2225 # We found the default executable, but exeext='' is most
2229 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2230 # FIXME: I believe we export ac_cv_exeext for Libtool,
2231 # but it would be cool to find out if it's true. Does anybody
2232 # maintain Libtool? --akim.
2240 echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.
$ac_ext >&5
2243 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2244 See \`config.log' for more details." >&5
2245 echo "$as_me: error: C compiler cannot create executables
2246 See \`config.log' for more details." >&2;}
2247 { (exit 77); exit 77; }; }
2250 ac_exeext
=$ac_cv_exeext
2251 echo "$as_me:$LINENO: result: $ac_file" >&5
2252 echo "${ECHO_T}$ac_file" >&6
2254 # Check the compiler produces executables we can run. If not, either
2255 # the compiler is broken, or we cross compile.
2256 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2257 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2258 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2259 # If not cross compiling, check that we can run a simple program.
2260 if test "$cross_compiling" != yes; then
2261 if { ac_try
='./$ac_file'
2262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }; }; then
2269 if test "$cross_compiling" = maybe
; then
2272 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2273 If you meant to cross compile, use \`--host'.
2274 See \`config.log' for more details." >&5
2275 echo "$as_me: error: cannot run C compiled programs.
2276 If you meant to cross compile, use \`--host'.
2277 See \`config.log' for more details." >&2;}
2278 { (exit 1); exit 1; }; }
2282 echo "$as_me:$LINENO: result: yes" >&5
2283 echo "${ECHO_T}yes" >&6
2285 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2286 ac_clean_files
=$ac_clean_files_save
2287 # Check the compiler produces executables we can run. If not, either
2288 # the compiler is broken, or we cross compile.
2289 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2290 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2291 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2292 echo "${ECHO_T}$cross_compiling" >&6
2294 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2295 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2297 (eval $ac_link) 2>&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; then
2301 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2302 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2303 # work properly (i.e., refer to `conftest.exe'), while it won't with
2305 for ac_file
in conftest.exe conftest conftest.
*; do
2306 test -f "$ac_file" ||
continue
2308 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2309 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2316 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2317 See \`config.log' for more details." >&5
2318 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2319 See \`config.log' for more details." >&2;}
2320 { (exit 1); exit 1; }; }
2323 rm -f conftest
$ac_cv_exeext
2324 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2325 echo "${ECHO_T}$ac_cv_exeext" >&6
2327 rm -f conftest.
$ac_ext
2328 EXEEXT
=$ac_cv_exeext
2330 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2331 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2332 if test "${ac_cv_objext+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 cat >conftest.
$ac_ext <<_ACEOF
2338 cat confdefs.h
>>conftest.
$ac_ext
2339 cat >>conftest.
$ac_ext <<_ACEOF
2340 /* end confdefs.h. */
2350 rm -f conftest.o conftest.obj
2351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2352 (eval $ac_compile) 2>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; then
2356 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2358 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2359 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2364 echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.
$ac_ext >&5
2367 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2368 See \`config.log' for more details." >&5
2369 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2370 See \`config.log' for more details." >&2;}
2371 { (exit 1); exit 1; }; }
2374 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2376 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2377 echo "${ECHO_T}$ac_cv_objext" >&6
2378 OBJEXT
=$ac_cv_objext
2380 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2381 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2382 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 cat >conftest.
$ac_ext <<_ACEOF
2388 cat confdefs.h
>>conftest.
$ac_ext
2389 cat >>conftest.
$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2403 rm -f conftest.
$ac_objext
2404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2405 (eval $ac_compile) 2>conftest.er1
2407 grep -v '^ *+' conftest.er1
>conftest.err
2409 cat conftest.err
>&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); } &&
2412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; } &&
2418 { ac_try
='test -s conftest.$ac_objext'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; }; then
2426 echo "$as_me: failed program was:" >&5
2427 sed 's/^/| /' conftest.
$ac_ext >&5
2431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2432 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2435 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2436 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2437 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2438 ac_test_CFLAGS
=${CFLAGS+set}
2439 ac_save_CFLAGS
=$CFLAGS
2441 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2442 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2443 if test "${ac_cv_prog_cc_g+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 cat >conftest.
$ac_ext <<_ACEOF
2449 cat confdefs.h
>>conftest.
$ac_ext
2450 cat >>conftest.
$ac_ext <<_ACEOF
2451 /* end confdefs.h. */
2461 rm -f conftest.
$ac_objext
2462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463 (eval $ac_compile) 2>conftest.er1
2465 grep -v '^ *+' conftest.er1
>conftest.err
2467 cat conftest.err
>&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); } &&
2470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; } &&
2476 { ac_try
='test -s conftest.$ac_objext'
2477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; }; then
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.
$ac_ext >&5
2489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2491 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2492 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2493 if test "$ac_test_CFLAGS" = set; then
2494 CFLAGS
=$ac_save_CFLAGS
2495 elif test $ac_cv_prog_cc_g = yes; then
2496 if test "$GCC" = yes; then
2502 if test "$GCC" = yes; then
2508 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2509 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2510 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 ac_cv_prog_cc_stdc
=no
2515 cat >conftest.
$ac_ext <<_ACEOF
2518 cat confdefs.h
>>conftest.
$ac_ext
2519 cat >>conftest.
$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2523 #include <sys/types.h>
2524 #include <sys/stat.h>
2525 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2526 struct buf { int x; };
2527 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2528 static char *e (p, i)
2534 static char *f (char * (*g) (char **, int), char **p, ...)
2539 s = g (p, va_arg (v,int));
2544 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2545 function prototypes and stuff, but not '\xHH' hex character constants.
2546 These don't provoke an error unfortunately, instead are silently treated
2547 as 'x'. The following induces an error, until -std1 is added to get
2548 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2549 array size at least. It's necessary to write '\x00'==0 to get something
2550 that's true only with -std1. */
2551 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2553 int test (int i, double x);
2554 struct s1 {int (*f) (int a);};
2555 struct s2 {int (*f) (double a);};
2556 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2562 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2567 # Don't try gcc -ansi; that turns off useful extensions and
2568 # breaks some systems' header files.
2569 # AIX -qlanglvl=ansi
2570 # Ultrix and OSF/1 -std1
2571 # HP-UX 10.20 and later -Ae
2572 # HP-UX older versions -Aa -D_HPUX_SOURCE
2573 # SVR4 -Xc -D__EXTENSIONS__
2574 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2576 CC
="$ac_save_CC $ac_arg"
2577 rm -f conftest.
$ac_objext
2578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2579 (eval $ac_compile) 2>conftest.er1
2581 grep -v '^ *+' conftest.er1
>conftest.err
2583 cat conftest.err
>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); } &&
2586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; } &&
2592 { ac_try
='test -s conftest.$ac_objext'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; }; then
2598 ac_cv_prog_cc_stdc
=$ac_arg
2601 echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.
$ac_ext >&5
2605 rm -f conftest.err conftest.
$ac_objext
2607 rm -f conftest.
$ac_ext conftest.
$ac_objext
2612 case "x$ac_cv_prog_cc_stdc" in
2614 echo "$as_me:$LINENO: result: none needed" >&5
2615 echo "${ECHO_T}none needed" >&6 ;;
2617 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2618 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2619 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2622 # Some people use a C++ compiler to compile C. Since we use `exit',
2623 # in C++ we need to declare it. In case someone uses the same compiler
2624 # for both compiling C and C++ we need to have the C++ compiler decide
2625 # the declaration of exit, since it's the most demanding environment.
2626 cat >conftest.
$ac_ext <<_ACEOF
2631 rm -f conftest.
$ac_objext
2632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2633 (eval $ac_compile) 2>conftest.er1
2635 grep -v '^ *+' conftest.er1
>conftest.err
2637 cat conftest.err
>&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); } &&
2640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }; } &&
2646 { ac_try
='test -s conftest.$ac_objext'
2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; }; then
2652 for ac_declaration
in \
2654 'extern "C" void std::exit (int) throw (); using std::exit;' \
2655 'extern "C" void std::exit (int); using std::exit;' \
2656 'extern "C" void exit (int) throw ();' \
2657 'extern "C" void exit (int);' \
2660 cat >conftest.
$ac_ext <<_ACEOF
2663 cat confdefs.h
>>conftest.
$ac_ext
2664 cat >>conftest.
$ac_ext <<_ACEOF
2665 /* end confdefs.h. */
2676 rm -f conftest.
$ac_objext
2677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2678 (eval $ac_compile) 2>conftest.er1
2680 grep -v '^ *+' conftest.er1
>conftest.err
2682 cat conftest.err
>&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } &&
2685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; } &&
2691 { ac_try
='test -s conftest.$ac_objext'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; }; then
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.
$ac_ext >&5
2704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2705 cat >conftest.
$ac_ext <<_ACEOF
2708 cat confdefs.h
>>conftest.
$ac_ext
2709 cat >>conftest.
$ac_ext <<_ACEOF
2710 /* end confdefs.h. */
2720 rm -f conftest.
$ac_objext
2721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2722 (eval $ac_compile) 2>conftest.er1
2724 grep -v '^ *+' conftest.er1
>conftest.err
2726 cat conftest.err
>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } &&
2729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; } &&
2735 { ac_try
='test -s conftest.$ac_objext'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2743 echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.
$ac_ext >&5
2747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2750 if test -n "$ac_declaration"; then
2751 echo '#ifdef __cplusplus' >>confdefs.h
2752 echo $ac_declaration >>confdefs.h
2753 echo '#endif' >>confdefs.h
2757 echo "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.
$ac_ext >&5
2761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2763 ac_cpp
='$CPP $CPPFLAGS'
2764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2767 DEPDIR
="${am__leading_dot}deps"
2769 ac_config_commands
="$ac_config_commands depfiles"
2772 am_make
=${MAKE-make}
2773 cat > confinc
<< 'END'
2778 # If we don't find an include directive, just comment out the code.
2779 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2780 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2784 # First try GNU make style include.
2785 echo "include confinc" > confmf
2786 # We grep out `Entering directory' and `Leaving directory'
2787 # messages which can occur if `w' ends up in MAKEFLAGS.
2788 # In particular we don't look at `^make:' because GNU make might
2789 # be invoked under some other name (usually "gmake"), in which
2790 # case it prints its new name instead of `make'.
2791 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2796 # Now try BSD make style include.
2797 if test "$am__include" = "#"; then
2798 echo '.include "confinc"' > confmf
2799 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2800 am__include
=.include
2807 echo "$as_me:$LINENO: result: $_am_result" >&5
2808 echo "${ECHO_T}$_am_result" >&6
2809 rm -f confinc confmf
2811 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2812 if test "${enable_dependency_tracking+set}" = set; then
2813 enableval
="$enable_dependency_tracking"
2816 if test "x$enable_dependency_tracking" != xno
; then
2817 am_depcomp
="$ac_aux_dir/depcomp"
2822 if test "x$enable_dependency_tracking" != xno; then
2833 depcc
="$CC" am_compiler_list
=
2835 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2836 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2837 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2841 # We make a subdir and do the tests there. Otherwise we can end up
2842 # making bogus files that we don't know about and never remove. For
2843 # instance it was reported that on HP-UX the gcc test will end up
2844 # making a dummy file named `D' -- because `-MD' means `put the output
2847 # Copy depcomp to subdir because otherwise we won't find it if we're
2848 # using a relative directory.
2849 cp "$am_depcomp" conftest.dir
2851 # We will build objects and dependencies in a subdirectory because
2852 # it helps to detect inapplicable dependency modes. For instance
2853 # both Tru64's cc and ICC support -MD to output dependencies as a
2854 # side effect of compilation, but ICC will put the dependencies in
2855 # the current directory while Tru64 will put them in the object
2859 am_cv_CC_dependencies_compiler_type
=none
2860 if test "$am_compiler_list" = ""; then
2861 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2863 for depmode
in $am_compiler_list; do
2864 # Setup a source with many dependencies, because some compilers
2865 # like to wrap large dependency lists on column 80 (with \), and
2866 # we should not choose a depcomp mode which is confused by this.
2868 # We need to recreate these files for each test, as the compiler may
2869 # overwrite some of them when testing with obscure command lines.
2870 # This happens at least with the AIX C compiler.
2872 for i
in 1 2 3 4 5 6; do
2873 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2876 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2880 # after this tag, mechanisms are not by side-effect, so they'll
2881 # only be used when explicitly requested
2882 if test "x$enable_dependency_tracking" = xyes
; then
2890 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2891 # mode. It turns out that the SunPro C++ compiler does not properly
2892 # handle `-M -o', and we need to detect this.
2893 if depmode
=$depmode \
2894 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2895 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2896 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2897 >/dev
/null
2>conftest.err
&&
2898 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2899 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2900 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2901 # icc doesn't choke on unknown options, it will just issue warnings
2902 # (even with -Werror). So we grep stderr for any message
2903 # that says an option was ignored.
2904 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2905 am_cv_CC_dependencies_compiler_type
=$depmode
2914 am_cv_CC_dependencies_compiler_type
=none
2918 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2919 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2920 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2925 test "x$enable_dependency_tracking" != xno \
2926 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2928 am__fastdepCC_FALSE
='#'
2930 am__fastdepCC_TRUE
='#'
2931 am__fastdepCC_FALSE
=
2939 # By default we simply use the C compiler to build assembly code.
2942 # Set ASFLAGS if not already set.
2943 : ${CCASFLAGS='$(CFLAGS)'}
2946 if test "x$CC" != xcc
; then
2947 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
2948 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
2950 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
2951 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
2953 set dummy
$CC; ac_cc
=`echo $2 |
2954 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
2955 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 cat >conftest.
$ac_ext <<_ACEOF
2961 cat confdefs.h
>>conftest.
$ac_ext
2962 cat >>conftest.
$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2973 # Make sure it works both with $CC and with simple cc.
2974 # We do the test twice because some compilers refuse to overwrite an
2975 # existing .o file with -o, though they will create one.
2976 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2977 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } &&
2982 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); };
2988 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
2989 if test "x$CC" != xcc
; then
2990 # Test first that cc exists at all.
2991 if { ac_try
='cc -c conftest.$ac_ext >&5'
2992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); }; }; then
2997 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2998 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); };
3012 # cc exists but doesn't like -o.
3013 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3018 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3023 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3024 echo "$as_me:$LINENO: result: yes" >&5
3025 echo "${ECHO_T}yes" >&6
3027 echo "$as_me:$LINENO: result: no" >&5
3028 echo "${ECHO_T}no" >&6
3030 cat >>confdefs.h
<<\_ACEOF
3031 #define NO_MINUS_C_MINUS_O 1
3036 # FIXME: we rely on the cache variable name because
3037 # there is no other way.
3039 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3040 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3041 # Losing compiler, so override with the script.
3042 # FIXME: It is wrong to rewrite CC.
3043 # But if we don't then we get into trouble of one sort or another.
3044 # A longer-term fix would be to have automake use am__CC in this case,
3045 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3046 CC
="$am_aux_dir/compile $CC"
3049 # Check whether --enable-shared or --disable-shared was given.
3050 if test "${enable_shared+set}" = set; then
3051 enableval
="$enable_shared"
3052 p
=${PACKAGE-default}
3054 yes) enable_shared
=yes ;;
3055 no
) enable_shared
=no
;;
3058 # Look at the argument we got. We use all the common list separators.
3059 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3060 for pkg
in $enableval; do
3061 if test "X$pkg" = "X$p"; then
3071 # Check whether --enable-static or --disable-static was given.
3072 if test "${enable_static+set}" = set; then
3073 enableval
="$enable_static"
3074 p
=${PACKAGE-default}
3076 yes) enable_static
=yes ;;
3077 no
) enable_static
=no
;;
3080 # Look at the argument we got. We use all the common list separators.
3081 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3082 for pkg
in $enableval; do
3083 if test "X$pkg" = "X$p"; then
3093 # Check whether --enable-fast-install or --disable-fast-install was given.
3094 if test "${enable_fast_install+set}" = set; then
3095 enableval
="$enable_fast_install"
3096 p
=${PACKAGE-default}
3098 yes) enable_fast_install
=yes ;;
3099 no
) enable_fast_install
=no
;;
3101 enable_fast_install
=no
3102 # Look at the argument we got. We use all the common list separators.
3103 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3104 for pkg
in $enableval; do
3105 if test "X$pkg" = "X$p"; then
3106 enable_fast_install
=yes
3113 enable_fast_install
=yes
3116 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3117 if test "${with_gnu_ld+set}" = set; then
3118 withval
="$with_gnu_ld"
3119 test "$withval" = no || with_gnu_ld
=yes
3124 if test "$GCC" = yes; then
3125 # Check if gcc -print-prog-name=ld gives a path.
3126 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3127 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3130 # gcc leaves a trailing carriage return which upsets mingw
3131 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3133 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3136 # Accept absolute paths.
3137 [\\/]* |
[A-Za-z
]:[\\/]*)
3138 re_direlt
='/[^/][^/]*/\.\./'
3139 # Canonicalize the path of ld
3140 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3141 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3142 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3144 test -z "$LD" && LD
="$ac_prog"
3147 # If it fails, then pretend we aren't using GCC.
3151 # If it is relative, then search for the first ld in PATH.
3155 elif test "$with_gnu_ld" = yes; then
3156 echo "$as_me:$LINENO: checking for GNU ld" >&5
3157 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3159 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3160 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3162 if test "${lt_cv_path_LD+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 if test -z "$LD"; then
3166 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3167 for ac_dir
in $PATH; do
3168 test -z "$ac_dir" && ac_dir
=.
3169 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3170 lt_cv_path_LD
="$ac_dir/$ac_prog"
3171 # Check to see if the program is GNU ld. I'd rather use --version,
3172 # but apparently some GNU ld's only accept -v.
3173 # Break only if it was the GNU/non-GNU ld that we prefer.
3174 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3175 test "$with_gnu_ld" != no
&& break
3177 test "$with_gnu_ld" != yes && break
3183 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3188 if test -n "$LD"; then
3189 echo "$as_me:$LINENO: result: $LD" >&5
3190 echo "${ECHO_T}$LD" >&6
3192 echo "$as_me:$LINENO: result: no" >&5
3193 echo "${ECHO_T}no" >&6
3195 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3196 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3197 { (exit 1); exit 1; }; }
3198 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3199 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3200 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3204 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3205 lt_cv_prog_gnu_ld
=yes
3207 lt_cv_prog_gnu_ld
=no
3210 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3211 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3212 with_gnu_ld
=$lt_cv_prog_gnu_ld
3215 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3216 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3217 if test "${lt_cv_ld_reload_flag+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 lt_cv_ld_reload_flag
='-r'
3222 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3223 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3224 reload_flag
=$lt_cv_ld_reload_flag
3225 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3227 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3228 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3229 if test "${lt_cv_path_NM+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 if test -n "$NM"; then
3233 # Let the user override the test.
3236 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3237 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3238 test -z "$ac_dir" && ac_dir
=.
3239 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3240 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3241 # Check to see if the nm accepts a BSD-compat flag.
3242 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3243 # nm: unknown option "B" ignored
3244 # Tru64's nm complains that /dev/null is an invalid object file
3245 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3246 lt_cv_path_NM
="$tmp_nm -B"
3248 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3249 lt_cv_path_NM
="$tmp_nm -p"
3252 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3253 continue # so that we can try to find one that supports BSD flags
3258 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3263 echo "$as_me:$LINENO: result: $NM" >&5
3264 echo "${ECHO_T}$NM" >&6
3266 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3267 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3269 if test "$LN_S" = "ln -s"; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3273 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3274 echo "${ECHO_T}no, using $LN_S" >&6
3277 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3278 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3279 if test "${lt_cv_deplibs_check_method+set}" = set; then
3280 echo $ECHO_N "(cached) $ECHO_C" >&6
3282 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3283 lt_cv_file_magic_test_file
=
3284 lt_cv_deplibs_check_method
='unknown'
3285 # Need to set the preceding variable on all platforms that support
3286 # interlibrary dependencies.
3287 # 'none' -- dependencies not supported.
3288 # `unknown' -- same as none, but documents that we really don't know.
3289 # 'pass_all' -- all dependencies passed with no checks.
3290 # 'test_compile' -- check by making test program.
3291 # 'file_magic [regex]' -- check by looking for files in library path
3292 # which responds to the $file_magic_cmd with a given egrep regex.
3293 # If you have `file' or equivalent on your system and you're not sure
3294 # whether `pass_all' will *always* work, you probably want this one.
3298 lt_cv_deplibs_check_method
=pass_all
3302 lt_cv_deplibs_check_method
=pass_all
3306 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3307 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3308 lt_cv_file_magic_test_file
=/shlib
/libc.so
3311 cygwin
* | mingw
* |pw32
*)
3312 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3313 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3316 darwin
* | rhapsody
*)
3317 # this will be overwritten by pass_all, but leave it in just in case
3318 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3319 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3321 rhapsody
* | darwin1.012
)
3322 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3325 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3328 lt_cv_deplibs_check_method
=pass_all
3332 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3335 # Not sure whether the presence of OpenBSD here was a mistake.
3336 # Let's accept both of them until this is cleared up.
3337 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3338 lt_cv_file_magic_cmd
=/usr
/bin
/file
3339 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3343 lt_cv_deplibs_check_method
=pass_all
3348 lt_cv_deplibs_check_method
=pass_all
3354 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3355 lt_cv_file_magic_cmd
=/usr
/bin
/file
3356 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3359 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3360 lt_cv_file_magic_cmd
=/usr
/bin
/file
3361 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3369 # this will be overridden with pass_all, but let us keep it just in case
3370 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3374 *-32|
*"-32 ") libmagic
=32-bit;;
3375 *-n32|
*"-n32 ") libmagic
=N32
;;
3376 *-64|
*"-64 ") libmagic
=64-bit;;
3377 *) libmagic
=never-match
;;
3379 # this will be overridden with pass_all, but let us keep it just in case
3380 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3383 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3384 lt_cv_deplibs_check_method
=pass_all
3387 # This must be Linux ELF.
3390 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3391 lt_cv_deplibs_check_method
=pass_all
;;
3393 # glibc up to 2.1.1 does not perform some relocations on ARM
3394 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3396 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3400 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3401 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3403 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3408 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3409 lt_cv_file_magic_cmd
=/usr
/bin
/file
3410 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3413 osf3
* | osf4
* | osf5
*)
3414 # this will be overridden with pass_all, but let us keep it just in case
3415 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3416 lt_cv_file_magic_test_file
=/shlib
/libc.so
3417 lt_cv_deplibs_check_method
=pass_all
3421 lt_cv_deplibs_check_method
=pass_all
3425 lt_cv_deplibs_check_method
=pass_all
3426 lt_cv_file_magic_test_file
=/lib
/libc.so
3429 sysv5uw
[78]* | sysv4
*uw2
*)
3430 lt_cv_deplibs_check_method
=pass_all
3433 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3434 case $host_vendor in
3436 lt_cv_deplibs_check_method
=pass_all
3439 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]'
3440 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3447 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3448 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3449 file_magic_cmd
=$lt_cv_file_magic_cmd
3450 deplibs_check_method
=$lt_cv_deplibs_check_method
3456 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3458 # Only perform the check for file, if the check method requires it
3459 case $deplibs_check_method in
3461 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3462 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3463 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3464 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3469 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3472 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3475 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3476 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3477 ac_dummy
="/usr/bin:$PATH"
3478 for ac_dir
in $ac_dummy; do
3479 test -z "$ac_dir" && ac_dir
=.
3480 if test -f $ac_dir/${ac_tool_prefix}file; then
3481 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3482 if test -n "$file_magic_test_file"; then
3483 case $deplibs_check_method in
3485 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3486 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3487 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3488 egrep "$file_magic_regex" > /dev
/null
; then
3493 *** Warning: the command libtool uses to detect shared libraries,
3494 *** $file_magic_cmd, produces output that libtool cannot recognize.
3495 *** The result is that libtool may fail to recognize shared libraries
3496 *** as such. This will affect the creation of libtool libraries that
3497 *** depend on shared libraries, but programs linked with such libtool
3498 *** libraries will work regardless of this problem. Nevertheless, you
3499 *** may want to report the problem to your system manager and/or to
3500 *** bug-libtool@gnu.org
3510 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3515 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3516 if test -n "$MAGIC_CMD"; then
3517 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3518 echo "${ECHO_T}$MAGIC_CMD" >&6
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3524 if test -z "$lt_cv_path_MAGIC_CMD"; then
3525 if test -n "$ac_tool_prefix"; then
3526 echo "$as_me:$LINENO: checking for file" >&5
3527 echo $ECHO_N "checking for file... $ECHO_C" >&6
3528 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3536 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3539 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3540 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3541 ac_dummy
="/usr/bin:$PATH"
3542 for ac_dir
in $ac_dummy; do
3543 test -z "$ac_dir" && ac_dir
=.
3544 if test -f $ac_dir/file; then
3545 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3546 if test -n "$file_magic_test_file"; then
3547 case $deplibs_check_method in
3549 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3550 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3551 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3552 egrep "$file_magic_regex" > /dev
/null
; then
3557 *** Warning: the command libtool uses to detect shared libraries,
3558 *** $file_magic_cmd, produces output that libtool cannot recognize.
3559 *** The result is that libtool may fail to recognize shared libraries
3560 *** as such. This will affect the creation of libtool libraries that
3561 *** depend on shared libraries, but programs linked with such libtool
3562 *** libraries will work regardless of this problem. Nevertheless, you
3563 *** may want to report the problem to your system manager and/or to
3564 *** bug-libtool@gnu.org
3574 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3579 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3580 if test -n "$MAGIC_CMD"; then
3581 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3582 echo "${ECHO_T}$MAGIC_CMD" >&6
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3597 if test -n "$ac_tool_prefix"; then
3598 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3599 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3600 echo "$as_me:$LINENO: checking for $ac_word" >&5
3601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3602 if test "${ac_cv_prog_RANLIB+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 if test -n "$RANLIB"; then
3606 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_exec_ext
in '' $ac_executable_extensions; do
3614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 RANLIB
=$ac_cv_prog_RANLIB
3625 if test -n "$RANLIB"; then
3626 echo "$as_me:$LINENO: result: $RANLIB" >&5
3627 echo "${ECHO_T}$RANLIB" >&6
3629 echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6
3634 if test -z "$ac_cv_prog_RANLIB"; then
3635 ac_ct_RANLIB
=$RANLIB
3636 # Extract the first word of "ranlib", so it can be a program name with args.
3637 set dummy ranlib
; ac_word
=$2
3638 echo "$as_me:$LINENO: checking for $ac_word" >&5
3639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3640 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3643 if test -n "$ac_ct_RANLIB"; then
3644 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir
=.
3651 for ac_exec_ext
in '' $ac_executable_extensions; do
3652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3663 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3664 if test -n "$ac_ct_RANLIB"; then
3665 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3666 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3668 echo "$as_me:$LINENO: result: no" >&5
3669 echo "${ECHO_T}no" >&6
3672 RANLIB
=$ac_ct_RANLIB
3674 RANLIB
="$ac_cv_prog_RANLIB"
3677 if test -n "$ac_tool_prefix"; then
3678 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3679 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3680 echo "$as_me:$LINENO: checking for $ac_word" >&5
3681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3682 if test "${ac_cv_prog_STRIP+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 if test -n "$STRIP"; then
3686 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir
=.
3693 for ac_exec_ext
in '' $ac_executable_extensions; do
3694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3695 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 STRIP
=$ac_cv_prog_STRIP
3705 if test -n "$STRIP"; then
3706 echo "$as_me:$LINENO: result: $STRIP" >&5
3707 echo "${ECHO_T}$STRIP" >&6
3709 echo "$as_me:$LINENO: result: no" >&5
3710 echo "${ECHO_T}no" >&6
3714 if test -z "$ac_cv_prog_STRIP"; then
3716 # Extract the first word of "strip", so it can be a program name with args.
3717 set dummy strip
; ac_word
=$2
3718 echo "$as_me:$LINENO: checking for $ac_word" >&5
3719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3720 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 if test -n "$ac_ct_STRIP"; then
3724 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir
=.
3731 for ac_exec_ext
in '' $ac_executable_extensions; do
3732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3733 ac_cv_prog_ac_ct_STRIP
="strip"
3734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3743 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3744 if test -n "$ac_ct_STRIP"; then
3745 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3746 echo "${ECHO_T}$ac_ct_STRIP" >&6
3748 echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6
3754 STRIP
="$ac_cv_prog_STRIP"
3758 # Check for any special flags to pass to ltconfig.
3759 libtool_flags
="--cache-file=$cache_file"
3760 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3761 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3762 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3763 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3764 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3767 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3768 if test "${enable_libtool_lock+set}" = set; then
3769 enableval
="$enable_libtool_lock"
3772 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3773 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3776 # Check whether --with-pic or --without-pic was given.
3777 if test "${with_pic+set}" = set; then
3783 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3784 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3786 # Some flags need to be propagated to the compiler or linker for good
3790 # Find out which ABI we are using.
3791 echo '#line 3791 "configure"' > conftest.
$ac_ext
3792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3793 (eval $ac_compile) 2>&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; then
3797 if test "$lt_cv_prog_gnu_ld" = yes; then
3798 case `/usr/bin/file conftest.$ac_objext` in
3800 LD
="${LD-ld} -melf32bsmip"
3803 LD
="${LD-ld} -melf32bmipn32"
3806 LD
="${LD-ld} -melf64bmip"
3810 case `/usr/bin/file conftest.$ac_objext` in
3827 # Find out which ABI we are using.
3828 echo 'int i;' > conftest.
$ac_ext
3829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3830 (eval $ac_compile) 2>&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); }; then
3834 case "`/usr/bin/file conftest.o`" in
3846 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3847 # Find out which ABI we are using.
3848 echo 'int i;' > conftest.
$ac_ext
3849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3850 (eval $ac_compile) 2>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }; then
3854 case "`/usr/bin/file conftest.o`" in
3858 LD
="${LD-ld} -m elf_i386"
3860 ppc64-
*linux
*|powerpc64-
*linux
*)
3861 LD
="${LD-ld} -m elf32ppclinux"
3864 LD
="${LD-ld} -m elf_s390"
3867 LD
="${LD-ld} -m elf32_sparc"
3874 LD
="${LD-ld} -m elf_x86_64"
3876 ppc
*-*linux
*|powerpc
*-*linux
*)
3877 LD
="${LD-ld} -m elf64ppc"
3880 LD
="${LD-ld} -m elf64_s390"
3883 LD
="${LD-ld} -m elf64_sparc"
3893 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3894 SAVE_CFLAGS
="$CFLAGS"
3895 CFLAGS
="$CFLAGS -belf"
3896 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3897 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3898 if test "${lt_cv_cc_needs_belf+set}" = set; then
3899 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 ac_cpp
='$CPP $CPPFLAGS'
3905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3909 cat >conftest.
$ac_ext <<_ACEOF
3912 cat confdefs.h
>>conftest.
$ac_ext
3913 cat >>conftest.
$ac_ext <<_ACEOF
3914 /* end confdefs.h. */
3924 rm -f conftest.
$ac_objext conftest
$ac_exeext
3925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3926 (eval $ac_link) 2>conftest.er1
3928 grep -v '^ *+' conftest.er1
>conftest.err
3930 cat conftest.err
>&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); } &&
3933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }; } &&
3939 { ac_try
='test -s conftest$ac_exeext'
3940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }; }; then
3945 lt_cv_cc_needs_belf
=yes
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.
$ac_ext >&5
3950 lt_cv_cc_needs_belf
=no
3952 rm -f conftest.err conftest.
$ac_objext \
3953 conftest
$ac_exeext conftest.
$ac_ext
3955 ac_cpp
='$CPP $CPPFLAGS'
3956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3961 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3962 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3963 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3964 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3965 CFLAGS
="$SAVE_CFLAGS"
3973 # Save cache, so that ltconfig can load it
3974 cat >confcache
<<\_ACEOF
3975 # This file is a shell script that caches the results of configure
3976 # tests run on this system so they can be shared between configure
3977 # scripts and configure runs, see configure's option --config-cache.
3978 # It is not useful on other systems. If it contains results you don't
3979 # want to keep, you may remove or edit it.
3981 # config.status only pays attention to the cache file if you give it
3982 # the --recheck option to rerun configure.
3984 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3985 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3990 # The following way of writing the cache mishandles newlines in values,
3991 # but we know of no workaround that is simple, portable, and efficient.
3992 # So, don't put newlines in cache variables' values.
3993 # Ultrix sh set writes to stderr and can't be redirected directly,
3994 # and sets the high bit in the cache file unless we assign to the vars.
3997 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3999 # `set' does not quote correctly, so add quotes (double-quote
4000 # substitution turns \\\\ into \\, and sed turns \\ into \).
4003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4006 # `set' quotes correctly as required by POSIX, so do not add quotes.
4008 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4017 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4019 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4020 if test -w $cache_file; then
4021 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4022 cat confcache
>$cache_file
4024 echo "not updating unwritable cache $cache_file"
4029 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4030 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4031 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4032 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4033 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4034 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4035 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4036 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4037 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4038 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4039 echo "$as_me: error: libtool configure failed" >&2;}
4040 { (exit 1); exit 1; }; }
4042 # Reload cache, that may have been modified by ltconfig
4043 if test -r "$cache_file"; then
4044 # Some versions of bash will fail to source /dev/null (special
4045 # files actually), so we avoid doing that.
4046 if test -f "$cache_file"; then
4047 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4048 echo "$as_me: loading cache $cache_file" >&6;}
4050 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4051 *) . .
/$cache_file;;
4055 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4056 echo "$as_me: creating cache $cache_file" >&6;}
4061 # This can be used to rebuild libtool when needed
4062 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4064 # Always use our own libtool.
4065 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4067 # Redirect the config.log output again, so that the ltconfig log is not
4068 # clobbered by the next message.
4069 exec 5>>.
/config.log
4077 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4078 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4079 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4080 if test "${enable_maintainer_mode+set}" = set; then
4081 enableval
="$enable_maintainer_mode"
4082 USE_MAINTAINER_MODE
=$enableval
4084 USE_MAINTAINER_MODE
=no
4086 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4087 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4090 if test $USE_MAINTAINER_MODE = yes; then
4091 MAINTAINER_MODE_TRUE
=
4092 MAINTAINER_MODE_FALSE
='#'
4094 MAINTAINER_MODE_TRUE
='#'
4095 MAINTAINER_MODE_FALSE
=
4098 MAINT
=$MAINTAINER_MODE_TRUE
4102 if test $ac_cv_header_sys_mman_h != yes \
4103 ||
test $ac_cv_func_mmap != yes; then
4104 ac_cv_func_mmap_file
=no
4105 ac_cv_func_mmap_dev_zero
=no
4106 ac_cv_func_mmap_anon
=no
4108 echo "$as_me:$LINENO: checking whether read-only mmap of a plain file works" >&5
4109 echo $ECHO_N "checking whether read-only mmap of a plain file works... $ECHO_C" >&6
4110 if test "${ac_cv_func_mmap_file+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 # Add a system to this blacklist if
4114 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
4115 # memory area containing the same data that you'd get if you applied
4116 # read() to the same fd. The only system known to have a problem here
4117 # is VMS, where text files have record structure.
4120 ac_cv_func_mmap_file
=no
;;
4122 ac_cv_func_mmap_file
=yes;;
4125 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
4126 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
4127 echo "$as_me:$LINENO: checking whether mmap from /dev/zero works" >&5
4128 echo $ECHO_N "checking whether mmap from /dev/zero works... $ECHO_C" >&6
4129 if test "${ac_cv_func_mmap_dev_zero+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 # Add a system to this blacklist if it has mmap() but /dev/zero
4133 # does not exist, or if mmapping /dev/zero does not give anonymous
4134 # zeroed pages with both the following properties:
4135 # 1. If you map N consecutive pages in with one call, and then
4136 # unmap any subset of those pages, the pages that were not
4137 # explicitly unmapped remain accessible.
4138 # 2. If you map two adjacent blocks of memory and then unmap them
4139 # both at once, they must both go away.
4140 # Systems known to be in this category are Windows (all variants),
4143 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
4144 ac_cv_func_mmap_dev_zero
=no
;;
4146 ac_cv_func_mmap_dev_zero
=yes;;
4149 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_dev_zero" >&5
4150 echo "${ECHO_T}$ac_cv_func_mmap_dev_zero" >&6
4152 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
4153 echo "$as_me:$LINENO: checking for MAP_ANON(YMOUS)" >&5
4154 echo $ECHO_N "checking for MAP_ANON(YMOUS)... $ECHO_C" >&6
4155 if test "${ac_cv_decl_map_anon+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 cat >conftest.
$ac_ext <<_ACEOF
4161 cat confdefs.h
>>conftest.
$ac_ext
4162 cat >>conftest.
$ac_ext <<_ACEOF
4163 /* end confdefs.h. */
4164 #include <sys/types.h>
4165 #include <sys/mman.h>
4168 #ifndef MAP_ANONYMOUS
4169 #define MAP_ANONYMOUS MAP_ANON
4175 int n = MAP_ANONYMOUS;
4180 rm -f conftest.
$ac_objext
4181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4182 (eval $ac_compile) 2>conftest.er1
4184 grep -v '^ *+' conftest.er1
>conftest.err
4186 cat conftest.err
>&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } &&
4189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; } &&
4195 { ac_try
='test -s conftest.$ac_objext'
4196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); }; }; then
4201 ac_cv_decl_map_anon
=yes
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.
$ac_ext >&5
4206 ac_cv_decl_map_anon
=no
4208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4210 echo "$as_me:$LINENO: result: $ac_cv_decl_map_anon" >&5
4211 echo "${ECHO_T}$ac_cv_decl_map_anon" >&6
4213 if test $ac_cv_decl_map_anon = no
; then
4214 ac_cv_func_mmap_anon
=no
4216 echo "$as_me:$LINENO: checking whether mmap with MAP_ANON(YMOUS) works" >&5
4217 echo $ECHO_N "checking whether mmap with MAP_ANON(YMOUS) works... $ECHO_C" >&6
4218 if test "${ac_cv_func_mmap_anon+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 # Add a system to this blacklist if it has mmap() and MAP_ANON or
4222 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
4223 # doesn't give anonymous zeroed pages with the same properties listed
4224 # above for use of /dev/zero.
4225 # Systems known to be in this category are Windows, VMS, and SCO Unix.
4227 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
4228 ac_cv_func_mmap_anon
=no
;;
4230 ac_cv_func_mmap_anon
=yes;;
4233 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_anon" >&5
4234 echo "${ECHO_T}$ac_cv_func_mmap_anon" >&6
4238 if test $ac_cv_func_mmap_file = yes; then
4240 cat >>confdefs.h
<<\_ACEOF
4241 #define HAVE_MMAP_FILE 1
4245 if test $ac_cv_func_mmap_dev_zero = yes; then
4247 cat >>confdefs.h
<<\_ACEOF
4248 #define HAVE_MMAP_DEV_ZERO 1
4252 if test $ac_cv_func_mmap_anon = yes; then
4254 cat >>confdefs.h
<<\_ACEOF
4255 #define HAVE_MMAP_ANON 1
4263 if test -d $srcdir/testsuite
; then
4265 TESTSUBDIR_FALSE
='#'
4274 i
*86-*-linux*) TARGET
=X86
; TARGETDIR
=x86
;;
4275 i
*86-*-solaris*) TARGET
=X86
; TARGETDIR
=x86
;;
4276 i
*86-*-beos*) TARGET
=X86
; TARGETDIR
=x86
;;
4277 i
*86-*-freebsd*) TARGET
=X86
; TARGETDIR
=x86
;;
4278 i
*86-*-netbsdelf*) TARGET
=X86
; TARGETDIR
=x86
;;
4279 i
*86-*-win32*) TARGET
=X86_WIN32
; TARGETDIR
=x86
;;
4280 i
*86-*-cygwin*) TARGET
=X86_WIN32
; TARGETDIR
=x86
;;
4281 i
*86-*-mingw*) TARGET
=X86_WIN32
; TARGETDIR
=x86
;;
4282 sparc-sun-4
*) TARGET
=SPARC
; TARGETDIR
=sparc
;;
4283 sparc
*-sun-*) TARGET
=SPARC
; TARGETDIR
=sparc
;;
4284 sparc-
*-linux* | sparc-
*-netbsdelf*) TARGET
=SPARC
; TARGETDIR
=sparc
;;
4285 sparc64-
*-linux* | sparc64-
*-netbsd*) TARGET
=SPARC
; TARGETDIR
=sparc
;;
4286 alpha
*-*-linux* | alpha
*-*-osf* | alpha
*-*-freebsd* | alpha
*-*-netbsd*) TARGET
=ALPHA
; TARGETDIR
=alpha
;;
4287 ia64
*-*-*) TARGET
=IA64
; TARGETDIR
=ia64
;;
4288 m68k-
*-linux*) TARGET
=M68K
; TARGETDIR
=m68k
;;
4290 mips-sgi-irix5.
* | mips-sgi-irix6.
*) TARGET
=MIPS_IRIX
; TARGETDIR
=mips
;;
4291 mips
*-*-linux*) TARGET
=MIPS_LINUX
; TARGETDIR
=mips
;;
4292 powerpc
*-*-linux* | powerpc-
*-sysv*) TARGET
=POWERPC
; TARGETDIR
=powerpc
;;
4293 powerpc-
*-beos*) TARGET
=POWERPC
; TARGETDIR
=powerpc
;;
4294 powerpc-
*-darwin*) TARGET
=POWERPC_DARWIN
; TARGETDIR
=powerpc
;;
4295 powerpc-
*-aix*) TARGET
=POWERPC_AIX
; TARGETDIR
=powerpc
;;
4296 rs6000-
*-aix*) TARGET
=POWERPC_AIX
; TARGETDIR
=powerpc
;;
4297 arm
*-*-linux-*) TARGET
=ARM
; TARGETDIR
=arm
;;
4298 arm
*-*-netbsdelf*) TARGET
=ARM
; TARGETDIR
=arm
;;
4299 s390-
*-linux-*) TARGET
=S390
; TARGETDIR
=s390
;;
4300 s390x-
*-linux-*) TARGET
=S390
; TARGETDIR
=s390
;;
4301 x86_64-
*-linux*) TARGET
=X86_64
; TARGETDIR
=x86
;;
4302 sh-
*-linux* | sh
[34]*-*-linux*) TARGET
=SH
; TARGETDIR
=sh
;;
4303 sh64-
*-linux* | sh5
*-*-linux*) TARGET
=SH64
; TARGETDIR
=sh64
;;
4304 hppa-
*-linux* | parisc-
*-linux*) TARGET
=PA
; TARGETDIR
=pa
;;
4309 if test $TARGETDIR = unknown
; then
4310 { { echo "$as_me:$LINENO: error: \"libffi has not been ported to $host.\"" >&5
4311 echo "$as_me: error: \"libffi has not been ported to $host.\"" >&2;}
4312 { (exit 1); exit 1; }; }
4317 if test x
$TARGET = xMIPS_IRIX
; then
4327 if test x
$TARGET = xMIPS_LINUX
; then
4329 MIPS_LINUX_FALSE
='#'
4337 if test x
$TARGET = xSPARC
; then
4347 if test x
$TARGET = xX86
; then
4357 if test x
$TARGET = xX86_WIN32
; then
4367 if test x
$TARGET = xALPHA
; then
4377 if test x
$TARGET = xIA64
; then
4387 if test x
$TARGET = xM68K
; then
4397 if test x
$TARGET = xPOWERPC
; then
4407 if test x
$TARGET = xPOWERPC_AIX
; then
4409 POWERPC_AIX_FALSE
='#'
4411 POWERPC_AIX_TRUE
='#'
4417 if test x
$TARGET = xPOWERPC_DARWIN
; then
4418 POWERPC_DARWIN_TRUE
=
4419 POWERPC_DARWIN_FALSE
='#'
4421 POWERPC_DARWIN_TRUE
='#'
4422 POWERPC_DARWIN_FALSE
=
4427 if test x
$TARGET = xARM
; then
4437 if test x
$TARGET = xS390
; then
4447 if test x
$TARGET = xX86_64
; then
4457 if test x
$TARGET = xSH
; then
4467 if test x
$TARGET = xSH64
; then
4477 if test x
$TARGET = xPA
; then
4487 xMIPS
*) TARGET
=MIPS
;;
4492 ac_cpp
='$CPP $CPPFLAGS'
4493 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4494 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4496 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4497 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4498 # On Suns, sometimes $CPP names a directory.
4499 if test -n "$CPP" && test -d "$CPP"; then
4502 if test -z "$CPP"; then
4503 if test "${ac_cv_prog_CPP+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 # Double quotes because CPP needs to be expanded
4507 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4510 for ac_c_preproc_warn_flag
in '' yes
4512 # Use a header file that comes with gcc, so configuring glibc
4513 # with a fresh cross-compiler works.
4514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4515 # <limits.h> exists even on freestanding compilers.
4516 # On the NeXT, cc -E runs the code through the compiler's parser,
4517 # not just through cpp. "Syntax error" is here to catch this case.
4518 cat >conftest.
$ac_ext <<_ACEOF
4521 cat confdefs.h
>>conftest.
$ac_ext
4522 cat >>conftest.
$ac_ext <<_ACEOF
4523 /* end confdefs.h. */
4525 # include <limits.h>
4527 # include <assert.h>
4531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4532 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4534 grep -v '^ *+' conftest.er1
>conftest.err
4536 cat conftest.err
>&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); } >/dev
/null
; then
4539 if test -s conftest.err
; then
4540 ac_cpp_err
=$ac_c_preproc_warn_flag
4541 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4548 if test -z "$ac_cpp_err"; then
4551 echo "$as_me: failed program was:" >&5
4552 sed 's/^/| /' conftest.
$ac_ext >&5
4554 # Broken: fails on valid input.
4557 rm -f conftest.err conftest.
$ac_ext
4559 # OK, works on sane cases. Now check whether non-existent headers
4560 # can be detected and how.
4561 cat >conftest.
$ac_ext <<_ACEOF
4564 cat confdefs.h
>>conftest.
$ac_ext
4565 cat >>conftest.
$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4567 #include <ac_nonexistent.h>
4569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4572 grep -v '^ *+' conftest.er1
>conftest.err
4574 cat conftest.err
>&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); } >/dev
/null
; then
4577 if test -s conftest.err
; then
4578 ac_cpp_err
=$ac_c_preproc_warn_flag
4579 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4586 if test -z "$ac_cpp_err"; then
4587 # Broken: success on invalid input.
4590 echo "$as_me: failed program was:" >&5
4591 sed 's/^/| /' conftest.
$ac_ext >&5
4593 # Passes both tests.
4597 rm -f conftest.err conftest.
$ac_ext
4600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4601 rm -f conftest.err conftest.
$ac_ext
4602 if $ac_preproc_ok; then
4614 echo "$as_me:$LINENO: result: $CPP" >&5
4615 echo "${ECHO_T}$CPP" >&6
4617 for ac_c_preproc_warn_flag
in '' yes
4619 # Use a header file that comes with gcc, so configuring glibc
4620 # with a fresh cross-compiler works.
4621 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4622 # <limits.h> exists even on freestanding compilers.
4623 # On the NeXT, cc -E runs the code through the compiler's parser,
4624 # not just through cpp. "Syntax error" is here to catch this case.
4625 cat >conftest.
$ac_ext <<_ACEOF
4628 cat confdefs.h
>>conftest.
$ac_ext
4629 cat >>conftest.
$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4632 # include <limits.h>
4634 # include <assert.h>
4638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4641 grep -v '^ *+' conftest.er1
>conftest.err
4643 cat conftest.err
>&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } >/dev
/null
; then
4646 if test -s conftest.err
; then
4647 ac_cpp_err
=$ac_c_preproc_warn_flag
4648 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4655 if test -z "$ac_cpp_err"; then
4658 echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.
$ac_ext >&5
4661 # Broken: fails on valid input.
4664 rm -f conftest.err conftest.
$ac_ext
4666 # OK, works on sane cases. Now check whether non-existent headers
4667 # can be detected and how.
4668 cat >conftest.
$ac_ext <<_ACEOF
4671 cat confdefs.h
>>conftest.
$ac_ext
4672 cat >>conftest.
$ac_ext <<_ACEOF
4673 /* end confdefs.h. */
4674 #include <ac_nonexistent.h>
4676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4677 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4679 grep -v '^ *+' conftest.er1
>conftest.err
4681 cat conftest.err
>&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } >/dev
/null
; then
4684 if test -s conftest.err
; then
4685 ac_cpp_err
=$ac_c_preproc_warn_flag
4686 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4693 if test -z "$ac_cpp_err"; then
4694 # Broken: success on invalid input.
4697 echo "$as_me: failed program was:" >&5
4698 sed 's/^/| /' conftest.
$ac_ext >&5
4700 # Passes both tests.
4704 rm -f conftest.err conftest.
$ac_ext
4707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4708 rm -f conftest.err conftest.
$ac_ext
4709 if $ac_preproc_ok; then
4712 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4713 See \`config.log' for more details." >&5
4714 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4715 See \`config.log' for more details." >&2;}
4716 { (exit 1); exit 1; }; }
4720 ac_cpp
='$CPP $CPPFLAGS'
4721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4726 echo "$as_me:$LINENO: checking for egrep" >&5
4727 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4728 if test "${ac_cv_prog_egrep+set}" = set; then
4729 echo $ECHO_N "(cached) $ECHO_C" >&6
4731 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4732 then ac_cv_prog_egrep
='grep -E'
4733 else ac_cv_prog_egrep
='egrep'
4736 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4737 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4738 EGREP
=$ac_cv_prog_egrep
4741 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4742 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4743 if test "${ac_cv_header_stdc+set}" = set; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 cat >conftest.
$ac_ext <<_ACEOF
4749 cat confdefs.h
>>conftest.
$ac_ext
4750 cat >>conftest.
$ac_ext <<_ACEOF
4751 /* end confdefs.h. */
4765 rm -f conftest.
$ac_objext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4767 (eval $ac_compile) 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } &&
4774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; } &&
4780 { ac_try
='test -s conftest.$ac_objext'
4781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); }; }; then
4786 ac_cv_header_stdc
=yes
4788 echo "$as_me: failed program was:" >&5
4789 sed 's/^/| /' conftest.
$ac_ext >&5
4791 ac_cv_header_stdc
=no
4793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4795 if test $ac_cv_header_stdc = yes; then
4796 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4797 cat >conftest.
$ac_ext <<_ACEOF
4800 cat confdefs.h
>>conftest.
$ac_ext
4801 cat >>conftest.
$ac_ext <<_ACEOF
4802 /* end confdefs.h. */
4806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4807 $EGREP "memchr" >/dev
/null
2>&1; then
4810 ac_cv_header_stdc
=no
4816 if test $ac_cv_header_stdc = yes; then
4817 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4818 cat >conftest.
$ac_ext <<_ACEOF
4821 cat confdefs.h
>>conftest.
$ac_ext
4822 cat >>conftest.
$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4828 $EGREP "free" >/dev
/null
2>&1; then
4831 ac_cv_header_stdc
=no
4837 if test $ac_cv_header_stdc = yes; then
4838 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4839 if test "$cross_compiling" = yes; then
4842 cat >conftest.
$ac_ext <<_ACEOF
4845 cat confdefs.h
>>conftest.
$ac_ext
4846 cat >>conftest.
$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4849 #if ((' ' & 0x0FF) == 0x020)
4850 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4851 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4853 # define ISLOWER(c) \
4854 (('a' <= (c) && (c) <= 'i') \
4855 || ('j' <= (c) && (c) <= 'r') \
4856 || ('s' <= (c) && (c) <= 'z'))
4857 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4860 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4865 for (i = 0; i < 256; i++)
4866 if (XOR (islower (i), ISLOWER (i))
4867 || toupper (i) != TOUPPER (i))
4872 rm -f conftest
$ac_exeext
4873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4874 (eval $ac_link) 2>&5
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }; }; then
4885 echo "$as_me: program exited with status $ac_status" >&5
4886 echo "$as_me: failed program was:" >&5
4887 sed 's/^/| /' conftest.
$ac_ext >&5
4890 ac_cv_header_stdc
=no
4892 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4896 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4897 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4898 if test $ac_cv_header_stdc = yes; then
4900 cat >>confdefs.h
<<\_ACEOF
4901 #define STDC_HEADERS 1
4907 for ac_func
in memcpy
4909 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4910 echo "$as_me:$LINENO: checking for $ac_func" >&5
4911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4912 if eval "test \"\${$as_ac_var+set}\" = set"; then
4913 echo $ECHO_N "(cached) $ECHO_C" >&6
4915 cat >conftest.
$ac_ext <<_ACEOF
4918 cat confdefs.h
>>conftest.
$ac_ext
4919 cat >>conftest.
$ac_ext <<_ACEOF
4920 /* end confdefs.h. */
4921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4923 #define $ac_func innocuous_$ac_func
4925 /* System header to define __stub macros and hopefully few prototypes,
4926 which can conflict with char $ac_func (); below.
4927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4928 <limits.h> exists even on freestanding compilers. */
4931 # include <limits.h>
4933 # include <assert.h>
4938 /* Override any gcc2 internal prototype to avoid an error. */
4943 /* We use char because int might match the return type of a gcc2
4944 builtin and then its argument prototype would still apply. */
4946 /* The GNU C library defines this for functions which it implements
4947 to always fail with ENOSYS. Some functions are actually named
4948 something starting with __ and the normal name is an alias. */
4949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4952 char (*f) () = $ac_func;
4961 return f != $ac_func;
4966 rm -f conftest.
$ac_objext conftest
$ac_exeext
4967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4968 (eval $ac_link) 2>conftest.er1
4970 grep -v '^ *+' conftest.er1
>conftest.err
4972 cat conftest.err
>&5
4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); } &&
4975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); }; } &&
4981 { ac_try
='test -s conftest$ac_exeext'
4982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); }; }; then
4987 eval "$as_ac_var=yes"
4989 echo "$as_me: failed program was:" >&5
4990 sed 's/^/| /' conftest.
$ac_ext >&5
4992 eval "$as_ac_var=no"
4994 rm -f conftest.err conftest.
$ac_objext \
4995 conftest
$ac_exeext conftest.
$ac_ext
4997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4999 if test `eval echo '${'$as_ac_var'}'` = yes; then
5000 cat >>confdefs.h
<<_ACEOF
5001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5007 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5008 # for constant arguments. Useless!
5009 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5010 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5011 if test "${ac_cv_working_alloca_h+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5014 cat >conftest.
$ac_ext <<_ACEOF
5017 cat confdefs.h
>>conftest.
$ac_ext
5018 cat >>conftest.
$ac_ext <<_ACEOF
5019 /* end confdefs.h. */
5024 char *p = (char *) alloca (2 * sizeof (int));
5029 rm -f conftest.
$ac_objext conftest
$ac_exeext
5030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5031 (eval $ac_link) 2>conftest.er1
5033 grep -v '^ *+' conftest.er1
>conftest.err
5035 cat conftest.err
>&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); } &&
5038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; } &&
5044 { ac_try
='test -s conftest$ac_exeext'
5045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); }; }; then
5050 ac_cv_working_alloca_h
=yes
5052 echo "$as_me: failed program was:" >&5
5053 sed 's/^/| /' conftest.
$ac_ext >&5
5055 ac_cv_working_alloca_h
=no
5057 rm -f conftest.err conftest.
$ac_objext \
5058 conftest
$ac_exeext conftest.
$ac_ext
5060 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5061 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5062 if test $ac_cv_working_alloca_h = yes; then
5064 cat >>confdefs.h
<<\_ACEOF
5065 #define HAVE_ALLOCA_H 1
5070 echo "$as_me:$LINENO: checking for alloca" >&5
5071 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5072 if test "${ac_cv_func_alloca_works+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 cat >conftest.
$ac_ext <<_ACEOF
5078 cat confdefs.h
>>conftest.
$ac_ext
5079 cat >>conftest.
$ac_ext <<_ACEOF
5080 /* end confdefs.h. */
5082 # define alloca __builtin_alloca
5085 # include <malloc.h>
5086 # define alloca _alloca
5089 # include <alloca.h>
5094 # ifndef alloca /* predefined by HP cc +Olibcalls */
5105 char *p = (char *) alloca (1);
5110 rm -f conftest.
$ac_objext conftest
$ac_exeext
5111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5112 (eval $ac_link) 2>conftest.er1
5114 grep -v '^ *+' conftest.er1
>conftest.err
5116 cat conftest.err
>&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } &&
5119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; } &&
5125 { ac_try
='test -s conftest$ac_exeext'
5126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); }; }; then
5131 ac_cv_func_alloca_works
=yes
5133 echo "$as_me: failed program was:" >&5
5134 sed 's/^/| /' conftest.
$ac_ext >&5
5136 ac_cv_func_alloca_works
=no
5138 rm -f conftest.err conftest.
$ac_objext \
5139 conftest
$ac_exeext conftest.
$ac_ext
5141 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5142 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5144 if test $ac_cv_func_alloca_works = yes; then
5146 cat >>confdefs.h
<<\_ACEOF
5147 #define HAVE_ALLOCA 1
5151 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5152 # that cause trouble. Some versions do not even contain alloca or
5153 # contain a buggy version. If you still want to use their alloca,
5154 # use ar to extract alloca.o from them instead of compiling alloca.c.
5156 ALLOCA
=alloca.
$ac_objext
5158 cat >>confdefs.h
<<\_ACEOF
5163 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5164 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5165 if test "${ac_cv_os_cray+set}" = set; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 cat >conftest.
$ac_ext <<_ACEOF
5171 cat confdefs.h
>>conftest.
$ac_ext
5172 cat >>conftest.
$ac_ext <<_ACEOF
5173 /* end confdefs.h. */
5174 #if defined(CRAY) && ! defined(CRAY2)
5181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5182 $EGREP "webecray" >/dev
/null
2>&1; then
5190 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5191 echo "${ECHO_T}$ac_cv_os_cray" >&6
5192 if test $ac_cv_os_cray = yes; then
5193 for ac_func
in _getb67 GETB67 getb67
; do
5194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5195 echo "$as_me:$LINENO: checking for $ac_func" >&5
5196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5197 if eval "test \"\${$as_ac_var+set}\" = set"; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 cat >conftest.
$ac_ext <<_ACEOF
5203 cat confdefs.h
>>conftest.
$ac_ext
5204 cat >>conftest.
$ac_ext <<_ACEOF
5205 /* end confdefs.h. */
5206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5208 #define $ac_func innocuous_$ac_func
5210 /* System header to define __stub macros and hopefully few prototypes,
5211 which can conflict with char $ac_func (); below.
5212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5213 <limits.h> exists even on freestanding compilers. */
5216 # include <limits.h>
5218 # include <assert.h>
5223 /* Override any gcc2 internal prototype to avoid an error. */
5228 /* We use char because int might match the return type of a gcc2
5229 builtin and then its argument prototype would still apply. */
5231 /* The GNU C library defines this for functions which it implements
5232 to always fail with ENOSYS. Some functions are actually named
5233 something starting with __ and the normal name is an alias. */
5234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5237 char (*f) () = $ac_func;
5246 return f != $ac_func;
5251 rm -f conftest.
$ac_objext conftest
$ac_exeext
5252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5253 (eval $ac_link) 2>conftest.er1
5255 grep -v '^ *+' conftest.er1
>conftest.err
5257 cat conftest.err
>&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); } &&
5260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }; } &&
5266 { ac_try
='test -s conftest$ac_exeext'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; }; then
5272 eval "$as_ac_var=yes"
5274 echo "$as_me: failed program was:" >&5
5275 sed 's/^/| /' conftest.
$ac_ext >&5
5277 eval "$as_ac_var=no"
5279 rm -f conftest.err conftest.
$ac_objext \
5280 conftest
$ac_exeext conftest.
$ac_ext
5282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5284 if test `eval echo '${'$as_ac_var'}'` = yes; then
5286 cat >>confdefs.h
<<_ACEOF
5287 #define CRAY_STACKSEG_END $ac_func
5296 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5297 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5298 if test "${ac_cv_c_stack_direction+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 if test "$cross_compiling" = yes; then
5302 ac_cv_c_stack_direction
=0
5304 cat >conftest.
$ac_ext <<_ACEOF
5307 cat confdefs.h
>>conftest.
$ac_ext
5308 cat >>conftest.
$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5311 find_stack_direction ()
5313 static char *addr = 0;
5318 return find_stack_direction ();
5321 return (&dummy > addr) ? 1 : -1;
5327 exit (find_stack_direction () < 0);
5330 rm -f conftest
$ac_exeext
5331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5332 (eval $ac_link) 2>&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); }; }; then
5341 ac_cv_c_stack_direction
=1
5343 echo "$as_me: program exited with status $ac_status" >&5
5344 echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.
$ac_ext >&5
5348 ac_cv_c_stack_direction
=-1
5350 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5353 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5354 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5356 cat >>confdefs.h
<<_ACEOF
5357 #define STACK_DIRECTION $ac_cv_c_stack_direction
5364 echo "$as_me:$LINENO: checking size of double" >&5
5365 echo $ECHO_N "checking size of double... $ECHO_C" >&6
5366 if test "${ac_cv_sizeof_double+set}" = set; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
5370 cat >conftest.
$ac_ext <<_ACEOF
5373 cat confdefs.h
>>conftest.
$ac_ext
5374 cat >>conftest.
$ac_ext <<_ACEOF
5375 /* end confdefs.h. */
5376 #include "confdefs.h"
5377 #include <sys/types.h>
5383 switch (0) case 0: case (sizeof (double) == $ac_size):;
5388 rm -f conftest.
$ac_objext
5389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5390 (eval $ac_compile) 2>conftest.er1
5392 grep -v '^ *+' conftest.er1
>conftest.err
5394 cat conftest.err
>&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); }; } &&
5403 { ac_try
='test -s conftest.$ac_objext'
5404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); }; }; then
5409 ac_cv_sizeof_double
=$ac_size
5411 echo "$as_me: failed program was:" >&5
5412 sed 's/^/| /' conftest.
$ac_ext >&5
5415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 if test x
$ac_cv_sizeof_double != x
; then break; fi
5421 if test x
$ac_cv_sizeof_double = x
; then
5422 { { echo "$as_me:$LINENO: error: cannot determine a size for double" >&5
5423 echo "$as_me: error: cannot determine a size for double" >&2;}
5424 { (exit 1); exit 1; }; }
5426 echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
5427 echo "${ECHO_T}$ac_cv_sizeof_double" >&6
5429 cat >>confdefs.h
<<_ACEOF
5430 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
5434 echo "$as_me:$LINENO: checking size of long double" >&5
5435 echo $ECHO_N "checking size of long double... $ECHO_C" >&6
5436 if test "${ac_cv_sizeof_long_double+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
5440 cat >conftest.
$ac_ext <<_ACEOF
5443 cat confdefs.h
>>conftest.
$ac_ext
5444 cat >>conftest.
$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5446 #include "confdefs.h"
5447 #include <sys/types.h>
5453 switch (0) case 0: case (sizeof (long double) == $ac_size):;
5458 rm -f conftest.
$ac_objext
5459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5460 (eval $ac_compile) 2>conftest.er1
5462 grep -v '^ *+' conftest.er1
>conftest.err
5464 cat conftest.err
>&5
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); } &&
5467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); }; } &&
5473 { ac_try
='test -s conftest.$ac_objext'
5474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); }; }; then
5479 ac_cv_sizeof_long_double
=$ac_size
5481 echo "$as_me: failed program was:" >&5
5482 sed 's/^/| /' conftest.
$ac_ext >&5
5485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5486 if test x
$ac_cv_sizeof_long_double != x
; then break; fi
5491 if test x
$ac_cv_sizeof_long_double = x
; then
5492 { { echo "$as_me:$LINENO: error: cannot determine a size for long double" >&5
5493 echo "$as_me: error: cannot determine a size for long double" >&2;}
5494 { (exit 1); exit 1; }; }
5496 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
5497 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6
5499 cat >>confdefs.h
<<_ACEOF
5500 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
5505 # Also AC_SUBST this variable for ffi.h.
5507 if test $ac_cv_sizeof_double != $ac_cv_sizeof_long_double; then
5508 if test $ac_cv_sizeof_long_double != 0; then
5511 cat >>confdefs.h
<<\_ACEOF
5512 #define HAVE_LONG_DOUBLE 1
5519 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5520 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
5521 if test "${ac_cv_c_bigendian+set}" = set; then
5522 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 ac_cv_c_bigendian
=unknown
5525 # See if sys/param.h defines the BYTE_ORDER macro.
5526 cat >conftest.
$ac_ext <<_ACEOF
5529 cat confdefs.h
>>conftest.
$ac_ext
5530 cat >>conftest.
$ac_ext <<_ACEOF
5531 /* end confdefs.h. */
5532 #include <sys/types.h>
5533 #include <sys/param.h>
5538 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5545 rm -f conftest.
$ac_objext
5546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5547 (eval $ac_compile) 2>conftest.er1
5549 grep -v '^ *+' conftest.er1
>conftest.err
5551 cat conftest.err
>&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } &&
5554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); }; } &&
5560 { ac_try
='test -s conftest.$ac_objext'
5561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); }; }; then
5566 # It does; now see whether it defined to BIG_ENDIAN or not.
5567 cat >conftest.
$ac_ext <<_ACEOF
5570 cat confdefs.h
>>conftest.
$ac_ext
5571 cat >>conftest.
$ac_ext <<_ACEOF
5572 /* end confdefs.h. */
5573 #include <sys/types.h>
5574 #include <sys/param.h>
5579 #if BYTE_ORDER != BIG_ENDIAN
5586 rm -f conftest.
$ac_objext
5587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5588 (eval $ac_compile) 2>conftest.er1
5590 grep -v '^ *+' conftest.er1
>conftest.err
5592 cat conftest.err
>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } &&
5595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; } &&
5601 { ac_try
='test -s conftest.$ac_objext'
5602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; }; then
5607 ac_cv_c_bigendian
=yes
5609 echo "$as_me: failed program was:" >&5
5610 sed 's/^/| /' conftest.
$ac_ext >&5
5612 ac_cv_c_bigendian
=no
5614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5616 echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.
$ac_ext >&5
5620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5621 if test $ac_cv_c_bigendian = unknown
; then
5622 if test "$cross_compiling" = yes; then
5623 echo $ac_n "cross-compiling... " 2>&6
5625 cat >conftest.
$ac_ext <<_ACEOF
5628 cat confdefs.h
>>conftest.
$ac_ext
5629 cat >>conftest.
$ac_ext <<_ACEOF
5630 /* end confdefs.h. */
5632 /* Are we little or big endian? From Harbison&Steele. */
5636 char c[sizeof (long)];
5639 exit (u.c[sizeof (long) - 1] == 1);
5642 rm -f conftest
$ac_exeext
5643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5644 (eval $ac_link) 2>&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }; }; then
5653 ac_cv_c_bigendian
=no
5655 echo "$as_me: program exited with status $ac_status" >&5
5656 echo "$as_me: failed program was:" >&5
5657 sed 's/^/| /' conftest.
$ac_ext >&5
5660 ac_cv_c_bigendian
=yes
5662 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5666 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5667 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5668 if test $ac_cv_c_bigendian = unknown
; then
5669 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
5670 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
5672 cat >conftest.c
<<EOF
5673 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5674 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5675 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
5676 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5677 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5678 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
5679 int main() { _ascii (); _ebcdic (); return 0; }
5681 if test -f conftest.c
; then
5682 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
5683 if test `grep -l BIGenDianSyS conftest.o` ; then
5684 echo $ac_n ' big endian probe OK, ' 1>&6
5685 ac_cv_c_bigendian
=yes
5687 if test `grep -l LiTTleEnDian conftest.o` ; then
5688 echo $ac_n ' little endian probe OK, ' 1>&6
5689 if test $ac_cv_c_bigendian = yes ; then
5690 ac_cv_c_bigendian
=unknown
;
5692 ac_cv_c_bigendian
=no
5695 echo $ac_n 'guessing bigendian ... ' >&6
5698 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5699 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5701 if test $ac_cv_c_bigendian = yes; then
5703 cat >>confdefs.h
<<\_ACEOF
5704 #define WORDS_BIGENDIAN 1
5708 cat >>confdefs.h
<<\_ACEOF
5709 #define HOST_WORDS_BIG_ENDIAN 1
5717 cat >>confdefs.h
<<_ACEOF
5718 #define BYTEORDER $BYTEORDER
5721 if test $ac_cv_c_bigendian = unknown
; then
5722 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
5723 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
5724 { (exit 1); exit 1; }; }
5728 if test x
$TARGET = xSPARC
; then
5729 echo "$as_me:$LINENO: checking assembler and linker support unaligned pc related relocs" >&5
5730 echo $ECHO_N "checking assembler and linker support unaligned pc related relocs... $ECHO_C" >&6
5731 if test "${libffi_cv_as_sparc_ua_pcrel+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 save_CFLAGS
="$CFLAGS"
5736 save_LDFLAGS
="$LDFLAGS"
5737 CFLAGS
="$CFLAGS -fpic"
5738 LDFLAGS
="$LDFLAGS -shared"
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5745 asm (".text; foo: nop; .data; .align 4; .byte 0; .uaword %r_disp32(foo); .text");
5754 rm -f conftest.
$ac_objext conftest
$ac_exeext
5755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5756 (eval $ac_link) 2>conftest.er1
5758 grep -v '^ *+' conftest.er1
>conftest.err
5760 cat conftest.err
>&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); } &&
5763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; } &&
5769 { ac_try
='test -s conftest$ac_exeext'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then
5775 libffi_cv_as_sparc_ua_pcrel
=yes
5777 echo "$as_me: failed program was:" >&5
5778 sed 's/^/| /' conftest.
$ac_ext >&5
5780 libffi_cv_as_sparc_ua_pcrel
=no
5782 rm -f conftest.err conftest.
$ac_objext \
5783 conftest
$ac_exeext conftest.
$ac_ext
5784 CFLAGS
="$save_CFLAGS"
5785 LDFLAGS
="$save_LDFLAGS"
5787 echo "$as_me:$LINENO: result: $libffi_cv_as_sparc_ua_pcrel" >&5
5788 echo "${ECHO_T}$libffi_cv_as_sparc_ua_pcrel" >&6
5789 if test "x$libffi_cv_as_sparc_ua_pcrel" = xyes
; then
5791 cat >>confdefs.h
<<\_ACEOF
5792 #define HAVE_AS_SPARC_UA_PCREL 1
5797 echo "$as_me:$LINENO: checking assembler .register pseudo-op support" >&5
5798 echo $ECHO_N "checking assembler .register pseudo-op support... $ECHO_C" >&6
5799 if test "${libffi_cv_as_register_pseudo_op+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 libffi_cv_as_register_pseudo_op
=unknown
5804 # Check if we have .register
5805 cat >conftest.
$ac_ext <<_ACEOF
5808 cat confdefs.h
>>conftest.
$ac_ext
5809 cat >>conftest.
$ac_ext <<_ACEOF
5810 /* end confdefs.h. */
5811 asm (".register %g2, #scratch");
5820 rm -f conftest.
$ac_objext
5821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5822 (eval $ac_compile) 2>conftest.er1
5824 grep -v '^ *+' conftest.er1
>conftest.err
5826 cat conftest.err
>&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } &&
5829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; } &&
5835 { ac_try
='test -s conftest.$ac_objext'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5841 libffi_cv_as_register_pseudo_op
=yes
5843 echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.
$ac_ext >&5
5846 libffi_cv_as_register_pseudo_op
=no
5848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5851 echo "$as_me:$LINENO: result: $libffi_cv_as_register_pseudo_op" >&5
5852 echo "${ECHO_T}$libffi_cv_as_register_pseudo_op" >&6
5853 if test "x$libffi_cv_as_register_pseudo_op" = xyes
; then
5855 cat >>confdefs.h
<<\_ACEOF
5856 #define HAVE_AS_REGISTER_PSEUDO_OP 1
5862 echo "$as_me:$LINENO: checking whether .eh_frame section should be read-only" >&5
5863 echo $ECHO_N "checking whether .eh_frame section should be read-only... $ECHO_C" >&6
5864 if test "${libffi_cv_ro_eh_frame+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5868 libffi_cv_ro_eh_frame
=no
5869 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
5870 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
5871 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
5872 libffi_cv_ro_eh_frame
=yes
5873 elif grep '.section.*eh_frame.*#alloc' conftest.c \
5874 |
grep -v '#write' > /dev
/null
; then
5875 libffi_cv_ro_eh_frame
=yes
5881 echo "$as_me:$LINENO: result: $libffi_cv_ro_eh_frame" >&5
5882 echo "${ECHO_T}$libffi_cv_ro_eh_frame" >&6
5883 if test "x$libffi_cv_ro_eh_frame" = xyes
; then
5885 cat >>confdefs.h
<<\_ACEOF
5886 #define HAVE_RO_EH_FRAME 1
5890 cat >>confdefs.h
<<\_ACEOF
5891 #define EH_FRAME_FLAGS "a"
5896 cat >>confdefs.h
<<\_ACEOF
5897 #define EH_FRAME_FLAGS "aw"
5907 # Check whether --enable-debug or --disable-debug was given.
5908 if test "${enable_debug+set}" = set; then
5909 enableval
="$enable_debug"
5910 if test "$enable_debug" = "yes"; then
5912 cat >>confdefs.h
<<\_ACEOF
5919 # Check whether --enable-structs or --disable-structs was given.
5920 if test "${enable_structs+set}" = set; then
5921 enableval
="$enable_structs"
5922 if test "$enable_structs" = "no"; then
5924 cat >>confdefs.h
<<\_ACEOF
5925 #define FFI_NO_STRUCTS 1
5931 # Check whether --enable-raw-api or --disable-raw-api was given.
5932 if test "${enable_raw_api+set}" = set; then
5933 enableval
="$enable_raw_api"
5934 if test "$enable_raw_api" = "no"; then
5936 cat >>confdefs.h
<<\_ACEOF
5937 #define FFI_NO_RAW_API 1
5943 # Check whether --enable-purify-safety or --disable-purify-safety was given.
5944 if test "${enable_purify_safety+set}" = set; then
5945 enableval
="$enable_purify_safety"
5946 if test "$enable_purify_safety" = "yes"; then
5948 cat >>confdefs.h
<<\_ACEOF
5949 #define USING_PURIFY 1
5955 if test -n "$with_cross_host" &&
5956 test x
"$with_cross_host" != x
"no"; then
5957 toolexecdir
='$(exec_prefix)/$(target_alias)'
5958 toolexeclibdir
='$(toolexecdir)/lib'
5960 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5961 toolexeclibdir
='$(libdir)'
5963 multi_os_directory
=`$CC -print-multi-os-directory`
5964 case $multi_os_directory in
5965 .
) ;; # Avoid trailing /.
5966 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5971 #Figure out where generated headers like ffitarget.h get installed.
5972 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
5973 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
5974 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
5975 tool_include_dir
='$(libdir)/gcc/$(target_alias)/'${gcc_version}/include
5980 if test "${multilib}" = "yes"; then
5981 multilib_arg
="--enable-multilib"
5986 ac_config_commands
="$ac_config_commands include"
5988 ac_config_commands
="$ac_config_commands src"
5991 ac_config_links
="$ac_config_links include/ffitarget.h:src/$TARGETDIR/ffitarget.h"
5994 ac_config_files
="$ac_config_files include/Makefile include/ffi.h Makefile testsuite/Makefile"
5997 cat >confcache
<<\_ACEOF
5998 # This file is a shell script that caches the results of configure
5999 # tests run on this system so they can be shared between configure
6000 # scripts and configure runs, see configure's option --config-cache.
6001 # It is not useful on other systems. If it contains results you don't
6002 # want to keep, you may remove or edit it.
6004 # config.status only pays attention to the cache file if you give it
6005 # the --recheck option to rerun configure.
6007 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6013 # The following way of writing the cache mishandles newlines in values,
6014 # but we know of no workaround that is simple, portable, and efficient.
6015 # So, don't put newlines in cache variables' values.
6016 # Ultrix sh set writes to stderr and can't be redirected directly,
6017 # and sets the high bit in the cache file unless we assign to the vars.
6020 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6022 # `set' does not quote correctly, so add quotes (double-quote
6023 # substitution turns \\\\ into \\, and sed turns \\ into \).
6026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6029 # `set' quotes correctly as required by POSIX, so do not add quotes.
6031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6038 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6040 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6042 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6043 if test -w $cache_file; then
6044 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6045 cat confcache
>$cache_file
6047 echo "not updating unwritable cache $cache_file"
6052 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6053 # Let make expand exec_prefix.
6054 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6056 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6057 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6058 # trailing colons and then remove the whole line if VPATH becomes empty
6059 # (actually we leave an empty line to preserve line numbers).
6060 if test "x$srcdir" = x.
; then
6061 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6062 s/:*\$(srcdir):*/:/;
6063 s/:*\${srcdir}:*/:/;
6065 s/^\([^=]*=[ ]*\):*/\1/;
6071 DEFS
=-DHAVE_CONFIG_H
6075 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6076 # 1. Remove the extension, and $U if already installed.
6077 ac_i
=`echo "$ac_i" |
6078 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6080 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6081 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6085 LTLIBOBJS
=$ac_ltlibobjs
6088 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6089 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6090 Usually this means the macro was only invoked conditionally." >&5
6091 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6092 Usually this means the macro was only invoked conditionally." >&2;}
6093 { (exit 1); exit 1; }; }
6095 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6096 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6097 Usually this means the macro was only invoked conditionally." >&5
6098 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6099 Usually this means the macro was only invoked conditionally." >&2;}
6100 { (exit 1); exit 1; }; }
6102 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6103 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6104 Usually this means the macro was only invoked conditionally." >&5
6105 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6106 Usually this means the macro was only invoked conditionally." >&2;}
6107 { (exit 1); exit 1; }; }
6109 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
6110 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
6111 Usually this means the macro was only invoked conditionally." >&5
6112 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
6113 Usually this means the macro was only invoked conditionally." >&2;}
6114 { (exit 1); exit 1; }; }
6116 if test -z "${MIPS_IRIX_TRUE}" && test -z "${MIPS_IRIX_FALSE}"; then
6117 { { echo "$as_me:$LINENO: error: conditional \"MIPS_IRIX\" was never defined.
6118 Usually this means the macro was only invoked conditionally." >&5
6119 echo "$as_me: error: conditional \"MIPS_IRIX\" was never defined.
6120 Usually this means the macro was only invoked conditionally." >&2;}
6121 { (exit 1); exit 1; }; }
6123 if test -z "${MIPS_LINUX_TRUE}" && test -z "${MIPS_LINUX_FALSE}"; then
6124 { { echo "$as_me:$LINENO: error: conditional \"MIPS_LINUX\" was never defined.
6125 Usually this means the macro was only invoked conditionally." >&5
6126 echo "$as_me: error: conditional \"MIPS_LINUX\" was never defined.
6127 Usually this means the macro was only invoked conditionally." >&2;}
6128 { (exit 1); exit 1; }; }
6130 if test -z "${SPARC_TRUE}" && test -z "${SPARC_FALSE}"; then
6131 { { echo "$as_me:$LINENO: error: conditional \"SPARC\" was never defined.
6132 Usually this means the macro was only invoked conditionally." >&5
6133 echo "$as_me: error: conditional \"SPARC\" was never defined.
6134 Usually this means the macro was only invoked conditionally." >&2;}
6135 { (exit 1); exit 1; }; }
6137 if test -z "${X86_TRUE}" && test -z "${X86_FALSE}"; then
6138 { { echo "$as_me:$LINENO: error: conditional \"X86\" was never defined.
6139 Usually this means the macro was only invoked conditionally." >&5
6140 echo "$as_me: error: conditional \"X86\" was never defined.
6141 Usually this means the macro was only invoked conditionally." >&2;}
6142 { (exit 1); exit 1; }; }
6144 if test -z "${X86_WIN32_TRUE}" && test -z "${X86_WIN32_FALSE}"; then
6145 { { echo "$as_me:$LINENO: error: conditional \"X86_WIN32\" was never defined.
6146 Usually this means the macro was only invoked conditionally." >&5
6147 echo "$as_me: error: conditional \"X86_WIN32\" was never defined.
6148 Usually this means the macro was only invoked conditionally." >&2;}
6149 { (exit 1); exit 1; }; }
6151 if test -z "${ALPHA_TRUE}" && test -z "${ALPHA_FALSE}"; then
6152 { { echo "$as_me:$LINENO: error: conditional \"ALPHA\" was never defined.
6153 Usually this means the macro was only invoked conditionally." >&5
6154 echo "$as_me: error: conditional \"ALPHA\" was never defined.
6155 Usually this means the macro was only invoked conditionally." >&2;}
6156 { (exit 1); exit 1; }; }
6158 if test -z "${IA64_TRUE}" && test -z "${IA64_FALSE}"; then
6159 { { echo "$as_me:$LINENO: error: conditional \"IA64\" was never defined.
6160 Usually this means the macro was only invoked conditionally." >&5
6161 echo "$as_me: error: conditional \"IA64\" was never defined.
6162 Usually this means the macro was only invoked conditionally." >&2;}
6163 { (exit 1); exit 1; }; }
6165 if test -z "${M68K_TRUE}" && test -z "${M68K_FALSE}"; then
6166 { { echo "$as_me:$LINENO: error: conditional \"M68K\" was never defined.
6167 Usually this means the macro was only invoked conditionally." >&5
6168 echo "$as_me: error: conditional \"M68K\" was never defined.
6169 Usually this means the macro was only invoked conditionally." >&2;}
6170 { (exit 1); exit 1; }; }
6172 if test -z "${POWERPC_TRUE}" && test -z "${POWERPC_FALSE}"; then
6173 { { echo "$as_me:$LINENO: error: conditional \"POWERPC\" was never defined.
6174 Usually this means the macro was only invoked conditionally." >&5
6175 echo "$as_me: error: conditional \"POWERPC\" was never defined.
6176 Usually this means the macro was only invoked conditionally." >&2;}
6177 { (exit 1); exit 1; }; }
6179 if test -z "${POWERPC_AIX_TRUE}" && test -z "${POWERPC_AIX_FALSE}"; then
6180 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_AIX\" was never defined.
6181 Usually this means the macro was only invoked conditionally." >&5
6182 echo "$as_me: error: conditional \"POWERPC_AIX\" was never defined.
6183 Usually this means the macro was only invoked conditionally." >&2;}
6184 { (exit 1); exit 1; }; }
6186 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
6187 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_DARWIN\" was never defined.
6188 Usually this means the macro was only invoked conditionally." >&5
6189 echo "$as_me: error: conditional \"POWERPC_DARWIN\" was never defined.
6190 Usually this means the macro was only invoked conditionally." >&2;}
6191 { (exit 1); exit 1; }; }
6193 if test -z "${ARM_TRUE}" && test -z "${ARM_FALSE}"; then
6194 { { echo "$as_me:$LINENO: error: conditional \"ARM\" was never defined.
6195 Usually this means the macro was only invoked conditionally." >&5
6196 echo "$as_me: error: conditional \"ARM\" was never defined.
6197 Usually this means the macro was only invoked conditionally." >&2;}
6198 { (exit 1); exit 1; }; }
6200 if test -z "${S390_TRUE}" && test -z "${S390_FALSE}"; then
6201 { { echo "$as_me:$LINENO: error: conditional \"S390\" was never defined.
6202 Usually this means the macro was only invoked conditionally." >&5
6203 echo "$as_me: error: conditional \"S390\" was never defined.
6204 Usually this means the macro was only invoked conditionally." >&2;}
6205 { (exit 1); exit 1; }; }
6207 if test -z "${X86_64_TRUE}" && test -z "${X86_64_FALSE}"; then
6208 { { echo "$as_me:$LINENO: error: conditional \"X86_64\" was never defined.
6209 Usually this means the macro was only invoked conditionally." >&5
6210 echo "$as_me: error: conditional \"X86_64\" was never defined.
6211 Usually this means the macro was only invoked conditionally." >&2;}
6212 { (exit 1); exit 1; }; }
6214 if test -z "${SH_TRUE}" && test -z "${SH_FALSE}"; then
6215 { { echo "$as_me:$LINENO: error: conditional \"SH\" was never defined.
6216 Usually this means the macro was only invoked conditionally." >&5
6217 echo "$as_me: error: conditional \"SH\" was never defined.
6218 Usually this means the macro was only invoked conditionally." >&2;}
6219 { (exit 1); exit 1; }; }
6221 if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then
6222 { { echo "$as_me:$LINENO: error: conditional \"SH64\" was never defined.
6223 Usually this means the macro was only invoked conditionally." >&5
6224 echo "$as_me: error: conditional \"SH64\" was never defined.
6225 Usually this means the macro was only invoked conditionally." >&2;}
6226 { (exit 1); exit 1; }; }
6228 if test -z "${PA_TRUE}" && test -z "${PA_FALSE}"; then
6229 { { echo "$as_me:$LINENO: error: conditional \"PA\" was never defined.
6230 Usually this means the macro was only invoked conditionally." >&5
6231 echo "$as_me: error: conditional \"PA\" was never defined.
6232 Usually this means the macro was only invoked conditionally." >&2;}
6233 { (exit 1); exit 1; }; }
6236 : ${CONFIG_STATUS=./config.status}
6237 ac_clean_files_save
=$ac_clean_files
6238 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6239 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6240 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6241 cat >$CONFIG_STATUS <<_ACEOF
6243 # Generated by $as_me.
6244 # Run this file to recreate the current configuration.
6245 # Compiler output produced by configure, useful for debugging
6246 # configure, is in config.log if it exists.
6251 SHELL=\${CONFIG_SHELL-$SHELL}
6254 cat >>$CONFIG_STATUS <<\_ACEOF
6255 ## --------------------- ##
6256 ## M4sh Initialization. ##
6257 ## --------------------- ##
6259 # Be Bourne compatible
6260 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6264 # is contrary to our usage. Disable this feature.
6265 alias -g '${1+"$@"}'='"$@"'
6266 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6269 DUALCASE
=1; export DUALCASE
# for MKS sh
6271 # Support unset when possible.
6272 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6279 # Work around bugs in pre-3.0 UWIN ksh.
6280 $as_unset ENV MAIL MAILPATH
6287 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6288 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6289 LC_TELEPHONE LC_TIME
6291 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6292 eval $as_var=C
; export $as_var
6298 # Required to use basename.
6299 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6305 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6306 as_basename
=basename
6312 # Name of the executable.
6313 as_me
=`$as_basename "$0" ||
6314 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6315 X"$0" : 'X\(//\)$' \| \
6316 X"$0" : 'X\(/\)$' \| \
6317 . : '\(.\)' 2>/dev/null ||
6319 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6320 /^X\/\(\/\/\)$/{ s//\1/; q; }
6321 /^X\/\(\/\).*/{ s//\1/; q; }
6325 # PATH needs CR, and LINENO needs CR and PATH.
6326 # Avoid depending upon Character Ranges.
6327 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6328 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6329 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6330 as_cr_digits
='0123456789'
6331 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6333 # The user is always right.
6334 if test "${PATH_SEPARATOR+set}" != set; then
6335 echo "#! /bin/sh" >conf$$.sh
6336 echo "exit 0" >>conf$$.sh
6338 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6349 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6350 test "x$as_lineno_1" != "x$as_lineno_2" &&
6351 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6352 # Find who we are. Look in the path if we contain no path at all
6355 *[\\/]* ) as_myself
=$0 ;;
6356 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir
=.
6361 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6366 # We did not find ourselves, most probably we were run as `sh COMMAND'
6367 # in which case we are not to be found in the path.
6368 if test "x$as_myself" = x
; then
6371 if test ! -f "$as_myself"; then
6372 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6373 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6374 { (exit 1); exit 1; }; }
6376 case $CONFIG_SHELL in
6378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6379 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6382 test -z "$as_dir" && as_dir
=.
6383 for as_base
in sh bash ksh sh5
; do
6386 if ("$as_dir/$as_base" -c '
6389 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6390 test "x$as_lineno_1" != "x$as_lineno_2" &&
6391 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6392 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6393 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6394 CONFIG_SHELL
=$as_dir/$as_base
6396 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6404 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6405 # uniformly replaced by the line number. The first 'sed' inserts a
6406 # line-number line before each line; the second 'sed' does the real
6407 # work. The second script uses 'N' to pair each line-number line
6408 # with the numbered line, and appends trailing '-' during
6409 # substitution so that $LINENO is not a special case at line end.
6410 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6411 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6412 sed '=' <$as_myself |
6417 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6420 s,^['$as_cr_digits']*\n,,
6422 chmod +x
$as_me.lineno ||
6423 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6424 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6425 { (exit 1); exit 1; }; }
6427 # Don't try to exec as it changes $[0], causing all sort of problems
6428 # (the dirname of $[0] is not the place where we might find the
6429 # original and so on. Autoconf is especially sensible to this).
6431 # Exit status is that of the last command.
6436 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6437 *c
*,-n*) ECHO_N
= ECHO_C
='
6439 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6440 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6443 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6449 rm -f conf$$ conf$$.exe conf$$.
file
6451 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6452 # We could just check for DJGPP; but this test a) works b) is more generic
6453 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6454 if test -f conf$$.exe
; then
6455 # Don't use ln at all; we don't have any links
6460 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6465 rm -f conf$$ conf$$.exe conf$$.
file
6467 if mkdir
-p .
2>/dev
/null
; then
6470 test -d .
/-p && rmdir .
/-p
6474 as_executable_p
="test -f"
6476 # Sed expression to map a string onto a valid CPP name.
6477 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6479 # Sed expression to map a string onto a valid variable name.
6480 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6484 # We need space, tab and new line, in precisely that order.
6494 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6495 # report actual input values of CONFIG_FILES etc. instead of their
6496 # values after options handling. Logging --version etc. is OK.
6500 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6501 ## Running $as_me. ##
6506 This file was extended by libffi $as_me 2.1, which was
6507 generated by GNU Autoconf 2.59. Invocation command line was
6509 CONFIG_FILES = $CONFIG_FILES
6510 CONFIG_HEADERS = $CONFIG_HEADERS
6511 CONFIG_LINKS = $CONFIG_LINKS
6512 CONFIG_COMMANDS = $CONFIG_COMMANDS
6516 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6520 # Files that config.status was made for.
6521 if test -n "$ac_config_files"; then
6522 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6525 if test -n "$ac_config_headers"; then
6526 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6529 if test -n "$ac_config_links"; then
6530 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6533 if test -n "$ac_config_commands"; then
6534 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6537 cat >>$CONFIG_STATUS <<\_ACEOF
6540 \`$as_me' instantiates files from templates according to the
6541 current configuration.
6543 Usage: $0 [OPTIONS] [FILE]...
6545 -h, --help print this help, then exit
6546 -V, --version print version number, then exit
6547 -q, --quiet do not print progress messages
6548 -d, --debug don't remove temporary files
6549 --recheck update $as_me by reconfiguring in the same conditions
6550 --file=FILE[:TEMPLATE]
6551 instantiate the configuration file FILE
6552 --header=FILE[:TEMPLATE]
6553 instantiate the configuration header FILE
6555 Configuration files:
6558 Configuration headers:
6561 Configuration links:
6564 Configuration commands:
6567 Report bugs to <bug-autoconf@gnu.org>."
6570 cat >>$CONFIG_STATUS <<_ACEOF
6572 libffi config.status 2.1
6573 configured by $0, generated by GNU Autoconf 2.59,
6574 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6576 Copyright (C) 2003 Free Software Foundation, Inc.
6577 This config.status script is free software; the Free Software Foundation
6578 gives unlimited permission to copy, distribute and modify it."
6583 cat >>$CONFIG_STATUS <<\_ACEOF
6584 # If no file are specified by the user, then we need to provide default
6585 # value. By we need to know if files were specified by the user.
6591 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6592 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6600 *) # This is not an option, so the user has probably given explicit
6603 ac_need_defaults
=false
;;
6607 # Handling of the options.
6609 cat >>$CONFIG_STATUS <<\_ACEOF
6610 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6612 --version |
--vers* |
-V )
6613 echo "$ac_cs_version"; exit 0 ;;
6615 # Conflict between --help and --header
6616 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6617 Try \`$0 --help' for more information." >&5
6618 echo "$as_me: error: ambiguous option: $1
6619 Try \`$0 --help' for more information." >&2;}
6620 { (exit 1); exit 1; }; };;
6621 --help |
--hel |
-h )
6622 echo "$ac_cs_usage"; exit 0 ;;
6623 --debug |
--d* |
-d )
6625 --file |
--fil |
--fi |
--f )
6627 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6628 ac_need_defaults
=false
;;
6629 --header |
--heade |
--head |
--hea )
6631 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6632 ac_need_defaults
=false
;;
6633 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6634 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6638 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6639 Try \`$0 --help' for more information." >&5
6640 echo "$as_me: error: unrecognized option: $1
6641 Try \`$0 --help' for more information." >&2;}
6642 { (exit 1); exit 1; }; } ;;
6644 *) ac_config_targets
="$ac_config_targets $1" ;;
6650 ac_configure_extra_args
=
6652 if $ac_cs_silent; then
6654 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6658 cat >>$CONFIG_STATUS <<_ACEOF
6659 if \$ac_cs_recheck; then
6660 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6661 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6666 cat >>$CONFIG_STATUS <<_ACEOF
6668 # INIT-COMMANDS section.
6675 with_multisubdir="$with_multisubdir"
6676 with_multisrctop="$with_multisrctop"
6677 with_target_subdir="$with_target_subdir"
6678 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6679 multi_basedir="$multi_basedir"
6680 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6682 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6683 TARGETDIR="$TARGETDIR"
6689 cat >>$CONFIG_STATUS <<\_ACEOF
6690 for ac_config_target
in $ac_config_targets
6692 case "$ac_config_target" in
6693 # Handling of arguments.
6694 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
6695 "include/ffi.h" ) CONFIG_FILES
="$CONFIG_FILES include/ffi.h" ;;
6696 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6697 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
6698 "include/ffitarget.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/ffitarget.h:src/$TARGETDIR/ffitarget.h" ;;
6699 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
6700 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6701 "include" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include" ;;
6702 "src" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS src" ;;
6703 "fficonfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS fficonfig.h" ;;
6704 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6705 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6706 { (exit 1); exit 1; }; };;
6710 # If the user did not use the arguments to specify the items to instantiate,
6711 # then the envvar interface is used. Set only those that are not.
6712 # We use the long form for the default assignment because of an extremely
6713 # bizarre bug on SunOS 4.1.3.
6714 if $ac_need_defaults; then
6715 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6716 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6717 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
6718 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6721 # Have a temporary directory for convenience. Make it in the build tree
6722 # simply because there is no reason to put it here, and in addition,
6723 # creating and moving files from /tmp can sometimes cause problems.
6724 # Create a temporary directory, and hook for its removal unless debugging.
6727 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6728 trap '{ (exit 1); exit 1; }' 1 2 13 15
6731 # Create a (secure) tmp directory for tmp files.
6734 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6735 test -n "$tmp" && test -d "$tmp"
6738 tmp
=.
/confstat$$
-$RANDOM
6739 (umask 077 && mkdir
$tmp)
6742 echo "$me: cannot create a temporary directory in ." >&2
6743 { (exit 1); exit 1; }
6748 cat >>$CONFIG_STATUS <<_ACEOF
6751 # CONFIG_FILES section.
6754 # No need to generate the scripts if there are no CONFIG_FILES.
6755 # This happens for instance when ./config.status config.h
6756 if test -n "\$CONFIG_FILES"; then
6757 # Protect against being on the right side of a sed subst in config.status.
6758 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6759 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6760 s,@SHELL@,$SHELL,;t t
6761 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6762 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6763 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6764 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6765 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6766 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6767 s,@exec_prefix@,$exec_prefix,;t t
6768 s,@prefix@,$prefix,;t t
6769 s,@program_transform_name@,$program_transform_name,;t t
6770 s,@bindir@,$bindir,;t t
6771 s,@sbindir@,$sbindir,;t t
6772 s,@libexecdir@,$libexecdir,;t t
6773 s,@datadir@,$datadir,;t t
6774 s,@sysconfdir@,$sysconfdir,;t t
6775 s,@sharedstatedir@,$sharedstatedir,;t t
6776 s,@localstatedir@,$localstatedir,;t t
6777 s,@libdir@,$libdir,;t t
6778 s,@includedir@,$includedir,;t t
6779 s,@oldincludedir@,$oldincludedir,;t t
6780 s,@infodir@,$infodir,;t t
6781 s,@mandir@,$mandir,;t t
6782 s,@build_alias@,$build_alias,;t t
6783 s,@host_alias@,$host_alias,;t t
6784 s,@target_alias@,$target_alias,;t t
6786 s,@ECHO_C@,$ECHO_C,;t t
6787 s,@ECHO_N@,$ECHO_N,;t t
6788 s,@ECHO_T@,$ECHO_T,;t t
6790 s,@multi_basedir@,$multi_basedir,;t t
6791 s,@build@,$build,;t t
6792 s,@build_cpu@,$build_cpu,;t t
6793 s,@build_vendor@,$build_vendor,;t t
6794 s,@build_os@,$build_os,;t t
6796 s,@host_cpu@,$host_cpu,;t t
6797 s,@host_vendor@,$host_vendor,;t t
6798 s,@host_os@,$host_os,;t t
6799 s,@target@,$target,;t t
6800 s,@target_cpu@,$target_cpu,;t t
6801 s,@target_vendor@,$target_vendor,;t t
6802 s,@target_os@,$target_os,;t t
6803 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6804 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6805 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6806 s,@CYGPATH_W@,$CYGPATH_W,;t t
6807 s,@PACKAGE@,$PACKAGE,;t t
6808 s,@VERSION@,$VERSION,;t t
6809 s,@ACLOCAL@,$ACLOCAL,;t t
6810 s,@AUTOCONF@,$AUTOCONF,;t t
6811 s,@AUTOMAKE@,$AUTOMAKE,;t t
6812 s,@AUTOHEADER@,$AUTOHEADER,;t t
6813 s,@MAKEINFO@,$MAKEINFO,;t t
6814 s,@AMTAR@,$AMTAR,;t t
6815 s,@install_sh@,$install_sh,;t t
6816 s,@STRIP@,$STRIP,;t t
6817 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6818 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6820 s,@SET_MAKE@,$SET_MAKE,;t t
6821 s,@am__leading_dot@,$am__leading_dot,;t t
6823 s,@ac_ct_CC@,$ac_ct_CC,;t t
6824 s,@EXEEXT@,$EXEEXT,;t t
6825 s,@OBJEXT@,$OBJEXT,;t t
6826 s,@DEPDIR@,$DEPDIR,;t t
6827 s,@am__include@,$am__include,;t t
6828 s,@am__quote@,$am__quote,;t t
6829 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6830 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6831 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6832 s,@CCDEPMODE@,$CCDEPMODE,;t t
6833 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6834 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6835 s,@CFLAGS@,$CFLAGS,;t t
6837 s,@CCASFLAGS@,$CCASFLAGS,;t t
6839 s,@RANLIB@,$RANLIB,;t t
6840 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6841 s,@LIBTOOL@,$LIBTOOL,;t t
6842 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6843 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6844 s,@MAINT@,$MAINT,;t t
6845 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
6846 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
6847 s,@AM_RUNTESTFLAGS@,$AM_RUNTESTFLAGS,;t t
6848 s,@MIPS_IRIX_TRUE@,$MIPS_IRIX_TRUE,;t t
6849 s,@MIPS_IRIX_FALSE@,$MIPS_IRIX_FALSE,;t t
6850 s,@MIPS_LINUX_TRUE@,$MIPS_LINUX_TRUE,;t t
6851 s,@MIPS_LINUX_FALSE@,$MIPS_LINUX_FALSE,;t t
6852 s,@SPARC_TRUE@,$SPARC_TRUE,;t t
6853 s,@SPARC_FALSE@,$SPARC_FALSE,;t t
6854 s,@X86_TRUE@,$X86_TRUE,;t t
6855 s,@X86_FALSE@,$X86_FALSE,;t t
6856 s,@X86_WIN32_TRUE@,$X86_WIN32_TRUE,;t t
6857 s,@X86_WIN32_FALSE@,$X86_WIN32_FALSE,;t t
6858 s,@ALPHA_TRUE@,$ALPHA_TRUE,;t t
6859 s,@ALPHA_FALSE@,$ALPHA_FALSE,;t t
6860 s,@IA64_TRUE@,$IA64_TRUE,;t t
6861 s,@IA64_FALSE@,$IA64_FALSE,;t t
6862 s,@M68K_TRUE@,$M68K_TRUE,;t t
6863 s,@M68K_FALSE@,$M68K_FALSE,;t t
6864 s,@POWERPC_TRUE@,$POWERPC_TRUE,;t t
6865 s,@POWERPC_FALSE@,$POWERPC_FALSE,;t t
6866 s,@POWERPC_AIX_TRUE@,$POWERPC_AIX_TRUE,;t t
6867 s,@POWERPC_AIX_FALSE@,$POWERPC_AIX_FALSE,;t t
6868 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
6869 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
6870 s,@ARM_TRUE@,$ARM_TRUE,;t t
6871 s,@ARM_FALSE@,$ARM_FALSE,;t t
6872 s,@S390_TRUE@,$S390_TRUE,;t t
6873 s,@S390_FALSE@,$S390_FALSE,;t t
6874 s,@X86_64_TRUE@,$X86_64_TRUE,;t t
6875 s,@X86_64_FALSE@,$X86_64_FALSE,;t t
6876 s,@SH_TRUE@,$SH_TRUE,;t t
6877 s,@SH_FALSE@,$SH_FALSE,;t t
6878 s,@SH64_TRUE@,$SH64_TRUE,;t t
6879 s,@SH64_FALSE@,$SH64_FALSE,;t t
6880 s,@PA_TRUE@,$PA_TRUE,;t t
6881 s,@PA_FALSE@,$PA_FALSE,;t t
6883 s,@CPPFLAGS@,$CPPFLAGS,;t t
6884 s,@EGREP@,$EGREP,;t t
6885 s,@ALLOCA@,$ALLOCA,;t t
6886 s,@HAVE_LONG_DOUBLE@,$HAVE_LONG_DOUBLE,;t t
6887 s,@TARGET@,$TARGET,;t t
6888 s,@TARGETDIR@,$TARGETDIR,;t t
6889 s,@toolexecdir@,$toolexecdir,;t t
6890 s,@toolexeclibdir@,$toolexeclibdir,;t t
6891 s,@tool_include_dir@,$tool_include_dir,;t t
6892 s,@gcc_version@,$gcc_version,;t t
6893 s,@LIBOBJS@,$LIBOBJS,;t t
6894 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6899 cat >>$CONFIG_STATUS <<\_ACEOF
6900 # Split the substitutions into bite-sized pieces for seds with
6901 # small command number limits, like on Digital OSF/1 and HP-UX.
6903 ac_sed_frag
=1 # Number of current file.
6904 ac_beg
=1 # First line for current file.
6905 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6908 while $ac_more_lines; do
6909 if test $ac_beg -gt 1; then
6910 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6912 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6914 if test ! -s $tmp/subs.frag
; then
6917 # The purpose of the label and of the branching condition is to
6918 # speed up the sed processing (if there are no `@' at all, there
6919 # is no need to browse any of the substitutions).
6920 # These are the two extra sed commands mentioned above.
6922 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6923 if test -z "$ac_sed_cmds"; then
6924 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6926 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6928 ac_sed_frag
=`expr $ac_sed_frag + 1`
6930 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6933 if test -z "$ac_sed_cmds"; then
6936 fi # test -n "$CONFIG_FILES"
6939 cat >>$CONFIG_STATUS <<\_ACEOF
6940 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6941 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6943 - |
*:- |
*:-:* ) # input from stdin
6945 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6946 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6947 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6948 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6949 * ) ac_file_in
=$ac_file.
in ;;
6952 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6953 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6954 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6955 X"$ac_file" : 'X\(//\)[^/]' \| \
6956 X"$ac_file" : 'X\(//\)$' \| \
6957 X"$ac_file" : 'X\(/\)' \| \
6958 . : '\(.\)' 2>/dev/null ||
6960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6962 /^X\(\/\/\)$/{ s//\1/; q; }
6963 /^X\(\/\).*/{ s//\1/; q; }
6965 { if $as_mkdir_p; then
6970 while test ! -d "$as_dir"; do
6971 as_dirs
="$as_dir $as_dirs"
6972 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6974 X"$as_dir" : 'X\(//\)[^/]' \| \
6975 X"$as_dir" : 'X\(//\)$' \| \
6976 X"$as_dir" : 'X\(/\)' \| \
6977 . : '\(.\)' 2>/dev/null ||
6979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6981 /^X\(\/\/\)$/{ s//\1/; q; }
6982 /^X\(\/\).*/{ s//\1/; q; }
6985 test ! -n "$as_dirs" || mkdir
$as_dirs
6986 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6988 { (exit 1); exit 1; }; }; }
6992 if test "$ac_dir" != .
; then
6993 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6994 # A "../" for each directory in $ac_dir_suffix.
6995 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6997 ac_dir_suffix
= ac_top_builddir
=
7001 .
) # No --srcdir option. We are building in place.
7003 if test -z "$ac_top_builddir"; then
7006 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7008 [\\/]* | ?
:[\\/]* ) # Absolute path.
7009 ac_srcdir
=$srcdir$ac_dir_suffix;
7010 ac_top_srcdir
=$srcdir ;;
7012 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7013 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7016 # Do not use `cd foo && pwd` to compute absolute paths, because
7017 # the directories may not exist.
7019 .
) ac_abs_builddir
="$ac_dir";;
7022 .
) ac_abs_builddir
=`pwd`;;
7023 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7024 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7027 case $ac_abs_builddir in
7028 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7030 case ${ac_top_builddir}.
in
7031 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7032 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7033 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7036 case $ac_abs_builddir in
7037 .
) ac_abs_srcdir
=$ac_srcdir;;
7040 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7041 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7042 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7045 case $ac_abs_builddir in
7046 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7048 case $ac_top_srcdir in
7049 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7050 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7051 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7057 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7058 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7061 # Let's still pretend it is `configure' which instantiates (i.e., don't
7062 # use $as_me), people would be surprised to read:
7063 # /* config.h. Generated by config.status. */
7064 if test x
"$ac_file" = x-
; then
7067 configure_input
="$ac_file. "
7069 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7070 sed 's,.*/,,'` by configure."
7072 # First look for the input files in the build tree, otherwise in the
7074 ac_file_inputs
=`IFS=:
7075 for f in $ac_file_in; do
7077 -) echo $tmp/stdin ;;
7079 # Absolute (can't be DOS-style, as IFS=:)
7080 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7081 echo "$as_me: error: cannot find input file: $f" >&2;}
7082 { (exit 1); exit 1; }; }
7085 if test -f "$f"; then
7088 elif test -f "$srcdir/$f"; then
7093 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7094 echo "$as_me: error: cannot find input file: $f" >&2;}
7095 { (exit 1); exit 1; }; }
7098 done` ||
{ (exit 1); exit 1; }
7100 if test x
"$ac_file" != x-
; then
7101 { echo "$as_me:$LINENO: creating $ac_file" >&5
7102 echo "$as_me: creating $ac_file" >&6;}
7106 cat >>$CONFIG_STATUS <<_ACEOF
7110 cat >>$CONFIG_STATUS <<\_ACEOF
7112 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7113 s
,@configure_input@
,$configure_input,;t t
7114 s
,@srcdir@
,$ac_srcdir,;t t
7115 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7116 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7117 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7118 s
,@builddir@
,$ac_builddir,;t t
7119 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7120 s
,@top_builddir@
,$ac_top_builddir,;t t
7121 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7122 s
,@INSTALL@
,$ac_INSTALL,;t t
7123 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7125 if test x"$ac_file" != x-; then
7126 mv $tmp/out $ac_file
7134 cat >>$CONFIG_STATUS <<\_ACEOF
7137 # CONFIG_HEADER section.
7140 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7141 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7143 # ac_d sets the value in "#define NAME VALUE" lines.
7144 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7145 ac_dB
='[ ].*$,\1#\2'
7148 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7149 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7150 ac_uB
='$,\1#\2define\3'
7154 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7155 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7157 - |
*:- |
*:-:* ) # input from stdin
7159 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7160 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7161 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7162 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7163 * ) ac_file_in
=$ac_file.
in ;;
7166 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7167 echo "$as_me: creating $ac_file" >&6;}
7169 # First look for the input files in the build tree, otherwise in the
7171 ac_file_inputs
=`IFS=:
7172 for f in $ac_file_in; do
7174 -) echo $tmp/stdin ;;
7176 # Absolute (can't be DOS-style, as IFS=:)
7177 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7178 echo "$as_me: error: cannot find input file: $f" >&2;}
7179 { (exit 1); exit 1; }; }
7180 # Do quote $f, to prevent DOS paths from being IFS'd.
7183 if test -f "$f"; then
7186 elif test -f "$srcdir/$f"; then
7191 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7192 echo "$as_me: error: cannot find input file: $f" >&2;}
7193 { (exit 1); exit 1; }; }
7196 done` ||
{ (exit 1); exit 1; }
7197 # Remove the trailing spaces.
7198 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7202 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7203 # `conftest.undefs', that substitutes the proper values into
7204 # config.h.in to produce config.h. The first handles `#define'
7205 # templates, and the second `#undef' templates.
7206 # And first: Protect against being on the right side of a sed subst in
7207 # config.status. Protect against being in an unquoted here document
7209 rm -f conftest.defines conftest.undefs
7210 # Using a here document instead of a string reduces the quoting nightmare.
7211 # Putting comments in sed scripts is not portable.
7213 # `end' is used to avoid that the second main sed command (meant for
7214 # 0-ary CPP macros) applies to n-ary macro definitions.
7215 # See the Autoconf documentation for `clear'.
7216 cat >confdef2sed.
sed <<\_ACEOF
7221 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7223 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7226 # If some macros were called several times there might be several times
7227 # the same #defines, which is useless. Nevertheless, we may not want to
7228 # sort them, since we want the *last* AC-DEFINE to be honored.
7229 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7230 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7231 rm -f confdef2sed.sed
7233 # This sed command replaces #undef with comments. This is necessary, for
7234 # example, in the case of _POSIX_SOURCE, which is predefined and required
7235 # on some systems where configure will not decide to define it.
7236 cat >>conftest.undefs <<\_ACEOF
7237 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7240 # Break up conftest.defines because some shells have a limit on the size
7241 # of here documents, and old seds have small limits too (100 cmds).
7242 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7243 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7244 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7245 echo ' :' >>$CONFIG_STATUS
7247 while grep . conftest.defines >/dev/null
7249 # Write a limited-size here document to $tmp/defines.sed.
7250 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7251 # Speed up: don't consider the non `#define' lines.
7252 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7253 # Work around the forget-to-reset-the-flag bug.
7254 echo 't clr' >>$CONFIG_STATUS
7255 echo ': clr' >>$CONFIG_STATUS
7256 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7258 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7262 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7263 rm -f conftest.defines
7264 mv conftest.
tail conftest.defines
7266 rm -f conftest.defines
7267 echo ' fi # grep' >>$CONFIG_STATUS
7268 echo >>$CONFIG_STATUS
7270 # Break up conftest.undefs because some shells have a limit on the size
7271 # of here documents, and old seds have small limits too (100 cmds).
7272 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7274 while grep . conftest.undefs
>/dev
/null
7276 # Write a limited-size here document to $tmp/undefs.sed.
7277 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7278 # Speed up: don't consider the non
`#undef'
7279 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7280 # Work around the forget-to-reset-the-flag bug.
7281 echo 't clr' >>$CONFIG_STATUS
7282 echo ': clr' >>$CONFIG_STATUS
7283 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7285 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7289 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7290 rm -f conftest.undefs
7291 mv conftest.tail conftest.undefs
7293 rm -f conftest.undefs
7295 cat >>$CONFIG_STATUS <<\_ACEOF
7296 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7297 # use $as_me), people would be surprised to read:
7298 # /* config.h. Generated by config.status. */
7299 if test x
"$ac_file" = x-
; then
7300 echo "/* Generated by configure. */" >$tmp/config.h
7302 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7304 cat $tmp/in >>$tmp/config.h
7306 if test x
"$ac_file" != x-
; then
7307 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7308 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7309 echo "$as_me: $ac_file is unchanged" >&6;}
7311 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7312 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7313 X"$ac_file" : 'X\(//\)[^/]' \| \
7314 X"$ac_file" : 'X\(//\)$' \| \
7315 X"$ac_file" : 'X\(/\)' \| \
7316 . : '\(.\)' 2>/dev/null ||
7318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7320 /^X\(\/\/\)$/{ s//\1/; q; }
7321 /^X\(\/\).*/{ s//\1/; q; }
7323 { if $as_mkdir_p; then
7328 while test ! -d "$as_dir"; do
7329 as_dirs
="$as_dir $as_dirs"
7330 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7332 X"$as_dir" : 'X\(//\)[^/]' \| \
7333 X"$as_dir" : 'X\(//\)$' \| \
7334 X"$as_dir" : 'X\(/\)' \| \
7335 . : '\(.\)' 2>/dev/null ||
7337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7338 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7339 /^X\(\/\/\)$/{ s//\1/; q; }
7340 /^X\(\/\).*/{ s//\1/; q; }
7343 test ! -n "$as_dirs" || mkdir
$as_dirs
7344 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7345 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7346 { (exit 1); exit 1; }; }; }
7349 mv $tmp/config.h
$ac_file
7355 # Compute $ac_file's index in $config_headers.
7357 for _am_header
in $config_headers :; do
7359 $ac_file |
$ac_file:* )
7362 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7365 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7366 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7367 X$ac_file : 'X\(//\)[^/]' \| \
7368 X$ac_file : 'X\(//\)$' \| \
7369 X$ac_file : 'X\(/\)' \| \
7370 . : '\(.\)' 2>/dev/null ||
7372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7373 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7374 /^X\(\/\/\)$/{ s//\1/; q; }
7375 /^X\(\/\).*/{ s//\1/; q; }
7376 s/.*/./; q'`/stamp-h
$_am_stamp_count
7379 cat >>$CONFIG_STATUS <<\_ACEOF
7382 # CONFIG_LINKS section.
7385 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
7386 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7387 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7389 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
7390 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
7392 if test ! -r $srcdir/$ac_source; then
7393 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
7394 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
7395 { (exit 1); exit 1; }; }
7399 # Make relative symlinks.
7400 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7401 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7402 X"$ac_dest" : 'X\(//\)[^/]' \| \
7403 X"$ac_dest" : 'X\(//\)$' \| \
7404 X"$ac_dest" : 'X\(/\)' \| \
7405 . : '\(.\)' 2>/dev/null ||
7407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7409 /^X\(\/\/\)$/{ s//\1/; q; }
7410 /^X\(\/\).*/{ s//\1/; q; }
7412 { if $as_mkdir_p; then
7413 mkdir
-p "$ac_dest_dir"
7415 as_dir
="$ac_dest_dir"
7417 while test ! -d "$as_dir"; do
7418 as_dirs
="$as_dir $as_dirs"
7419 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7420 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7421 X"$as_dir" : 'X\(//\)[^/]' \| \
7422 X"$as_dir" : 'X\(//\)$' \| \
7423 X"$as_dir" : 'X\(/\)' \| \
7424 . : '\(.\)' 2>/dev/null ||
7426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7427 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7428 /^X\(\/\/\)$/{ s//\1/; q; }
7429 /^X\(\/\).*/{ s//\1/; q; }
7432 test ! -n "$as_dirs" || mkdir
$as_dirs
7433 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
7434 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
7435 { (exit 1); exit 1; }; }; }
7439 if test "$ac_dest_dir" != .
; then
7440 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
7441 # A "../" for each directory in $ac_dir_suffix.
7442 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7444 ac_dir_suffix
= ac_top_builddir
=
7448 .
) # No --srcdir option. We are building in place.
7450 if test -z "$ac_top_builddir"; then
7453 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7455 [\\/]* | ?
:[\\/]* ) # Absolute path.
7456 ac_srcdir
=$srcdir$ac_dir_suffix;
7457 ac_top_srcdir
=$srcdir ;;
7459 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7460 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7463 # Do not use `cd foo && pwd` to compute absolute paths, because
7464 # the directories may not exist.
7466 .
) ac_abs_builddir
="$ac_dest_dir";;
7468 case "$ac_dest_dir" in
7469 .
) ac_abs_builddir
=`pwd`;;
7470 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
7471 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
7474 case $ac_abs_builddir in
7475 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7477 case ${ac_top_builddir}.
in
7478 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7479 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7480 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7483 case $ac_abs_builddir in
7484 .
) ac_abs_srcdir
=$ac_srcdir;;
7487 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7488 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7489 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7492 case $ac_abs_builddir in
7493 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7495 case $ac_top_srcdir in
7496 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7497 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7498 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7504 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
7505 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
7508 # Try a symlink, then a hard link, then a copy.
7509 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
7510 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
7511 cp -p $srcdir/$ac_source $ac_dest ||
7512 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
7513 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
7514 { (exit 1); exit 1; }; }
7517 cat >>$CONFIG_STATUS <<\_ACEOF
7520 # CONFIG_COMMANDS section.
7522 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7523 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7524 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7525 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7526 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7527 X"$ac_dest" : 'X\(//\)[^/]' \| \
7528 X"$ac_dest" : 'X\(//\)$' \| \
7529 X"$ac_dest" : 'X\(/\)' \| \
7530 . : '\(.\)' 2>/dev/null ||
7532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7533 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7534 /^X\(\/\/\)$/{ s//\1/; q; }
7535 /^X\(\/\).*/{ s//\1/; q; }
7537 { if $as_mkdir_p; then
7542 while test ! -d "$as_dir"; do
7543 as_dirs
="$as_dir $as_dirs"
7544 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7545 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7546 X"$as_dir" : 'X\(//\)[^/]' \| \
7547 X"$as_dir" : 'X\(//\)$' \| \
7548 X"$as_dir" : 'X\(/\)' \| \
7549 . : '\(.\)' 2>/dev/null ||
7551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7552 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7553 /^X\(\/\/\)$/{ s//\1/; q; }
7554 /^X\(\/\).*/{ s//\1/; q; }
7557 test ! -n "$as_dirs" || mkdir
$as_dirs
7558 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7559 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7560 { (exit 1); exit 1; }; }; }
7564 if test "$ac_dir" != .
; then
7565 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7566 # A "../" for each directory in $ac_dir_suffix.
7567 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7569 ac_dir_suffix
= ac_top_builddir
=
7573 .
) # No --srcdir option. We are building in place.
7575 if test -z "$ac_top_builddir"; then
7578 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7580 [\\/]* | ?
:[\\/]* ) # Absolute path.
7581 ac_srcdir
=$srcdir$ac_dir_suffix;
7582 ac_top_srcdir
=$srcdir ;;
7584 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7585 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7588 # Do not use `cd foo && pwd` to compute absolute paths, because
7589 # the directories may not exist.
7591 .
) ac_abs_builddir
="$ac_dir";;
7594 .
) ac_abs_builddir
=`pwd`;;
7595 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7596 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7599 case $ac_abs_builddir in
7600 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7602 case ${ac_top_builddir}.
in
7603 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7604 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7605 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7608 case $ac_abs_builddir in
7609 .
) ac_abs_srcdir
=$ac_srcdir;;
7612 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7613 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7614 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7617 case $ac_abs_builddir in
7618 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7620 case $ac_top_srcdir in
7621 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7622 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7623 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7628 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7629 echo "$as_me: executing $ac_dest commands" >&6;}
7632 # Only add multilib support code if we just rebuilt the top-level
7634 case " $CONFIG_FILES " in
7636 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
7639 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7640 # Strip MF so we end up with the name of the file.
7641 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7642 # Check whether this is an Automake generated Makefile or not.
7643 # We used to match only the files named `Makefile.in', but
7644 # some people rename them; so instead we look at the file content.
7645 # Grep'ing the first line is not enough: some people post-process
7646 # each Makefile.in and add a new line on top of each file to say so.
7647 # So let's grep whole file.
7648 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7649 dirpart
=`(dirname "$mf") 2>/dev/null ||
7650 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7651 X"$mf" : 'X\(//\)[^/]' \| \
7652 X"$mf" : 'X\(//\)$' \| \
7653 X"$mf" : 'X\(/\)' \| \
7654 . : '\(.\)' 2>/dev/null ||
7656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7658 /^X\(\/\/\)$/{ s//\1/; q; }
7659 /^X\(\/\).*/{ s//\1/; q; }
7664 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
7665 # Extract the definition of DEP_FILES from the Makefile without
7667 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7668 test -z "$DEPDIR" && continue
7669 # When using ansi2knr, U may be empty or an underscore; expand it
7670 U
=`sed -n -e '/^U = / s///p' < "$mf"`
7671 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
7672 # We invoke sed twice because it is the simplest approach to
7673 # changing $(DEPDIR) to its actual value in the expansion.
7674 for file in `sed -n -e '
7675 /^DEP_FILES = .*\\\\$/ {
7684 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7685 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7686 # Make sure the directory exists.
7687 test -f "$dirpart/$file" && continue
7688 fdir
=`(dirname "$file") 2>/dev/null ||
7689 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7690 X"$file" : 'X\(//\)[^/]' \| \
7691 X"$file" : 'X\(//\)$' \| \
7692 X"$file" : 'X\(/\)' \| \
7693 . : '\(.\)' 2>/dev/null ||
7695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7696 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7697 /^X\(\/\/\)$/{ s//\1/; q; }
7698 /^X\(\/\).*/{ s//\1/; q; }
7700 { if $as_mkdir_p; then
7701 mkdir
-p $dirpart/$fdir
7703 as_dir
=$dirpart/$fdir
7705 while test ! -d "$as_dir"; do
7706 as_dirs
="$as_dir $as_dirs"
7707 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7709 X"$as_dir" : 'X\(//\)[^/]' \| \
7710 X"$as_dir" : 'X\(//\)$' \| \
7711 X"$as_dir" : 'X\(/\)' \| \
7712 . : '\(.\)' 2>/dev/null ||
7714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7715 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7716 /^X\(\/\/\)$/{ s//\1/; q; }
7717 /^X\(\/\).*/{ s//\1/; q; }
7720 test ! -n "$as_dirs" || mkdir
$as_dirs
7721 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7722 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7723 { (exit 1); exit 1; }; }; }
7725 # echo "creating $dirpart/$file"
7726 echo '# dummy' > "$dirpart/$file"
7730 include
) test -d include || mkdir include
;;
7732 test -d src || mkdir src
7733 test -d src
/$TARGETDIR || mkdir src
/$TARGETDIR
7739 cat >>$CONFIG_STATUS <<\_ACEOF
7741 { (exit 0); exit 0; }
7743 chmod +x
$CONFIG_STATUS
7744 ac_clean_files
=$ac_clean_files_save
7747 # configure is writing to config.log, and then calls config.status.
7748 # config.status does its own redirection, appending to config.log.
7749 # Unfortunately, on DOS this fails, as config.log is still kept open
7750 # by configure, so config.status won't be able to write to it; its
7751 # output is simply discarded. So we exec the FD to /dev/null,
7752 # effectively closing config.log, so it can be properly (re)opened and
7753 # appended to by config.status. When coming back to configure, we
7754 # need to make the FD available again.
7755 if test "$no_create" != yes; then
7757 ac_config_status_args
=
7758 test "$silent" = yes &&
7759 ac_config_status_args
="$ac_config_status_args --quiet"
7761 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7763 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7764 # would make configure fail if this is the last instruction.
7765 $ac_cs_success ||
{ (exit 1); exit 1; }