2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="objc/objc.h"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 VERSION toplevel_srcdir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical glibcpp_builddir glibcpp_srcdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA gcc_version gcc_version_trigger glibcpp_toolexecdir glibcpp_toolexeclibdir glibcpp_prefixdir LN_S STRIP ac_ct_STRIP LIBTOOL SET_MAKE CPP EGREP GTHREAD_FLAGS OBJC_BOEHM_GC LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
837 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
847 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
848 --enable-multilib build hella library versions
(default
)
849 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
850 --enable-shared=PKGS build shared libraries default
=no
851 --enable-static=PKGS build static libraries default
=yes
852 --enable-fast-install=PKGS optimize
for fast installation default
=yes
853 --disable-libtool-lock avoid locking
(might
break parallel builds
)
854 --enable-objc-gc enable the use of Boehm
's garbage collector with
855 the GNU Objective-C runtime.
858 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
859 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
860 --with-target-subdir=SUBDIR
861 configuring in a subdirectory
862 --with-cross-host=HOST configuring with a cross compiler
863 --with-gnu-ld assume the C compiler uses GNU ld default=no
864 --with-pic try to use only PIC/non-PIC objects default=use both
866 Some influential environment variables:
867 CC C compiler command
868 CFLAGS C compiler flags
869 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
870 nonstandard directory <lib dir>
871 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
872 headers in a nonstandard directory <include dir>
875 Use these variables to override the choices made by `configure' or to
help
876 it to
find libraries and programs with nonstandard names
/locations.
881 if test "$ac_init_help" = "recursive"; then
882 # If there are subdirs, report their specific --help.
884 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
885 test -d $ac_dir ||
continue
888 if test "$ac_dir" != .
; then
889 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
890 # A "../" for each directory in $ac_dir_suffix.
891 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
893 ac_dir_suffix
= ac_top_builddir
=
897 .
) # No --srcdir option. We are building in place.
899 if test -z "$ac_top_builddir"; then
902 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
904 [\\/]* | ?
:[\\/]* ) # Absolute path.
905 ac_srcdir
=$srcdir$ac_dir_suffix;
906 ac_top_srcdir
=$srcdir ;;
908 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
909 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
912 # Do not use `cd foo && pwd` to compute absolute paths, because
913 # the directories may not exist.
915 .
) ac_abs_builddir
="$ac_dir";;
918 .
) ac_abs_builddir
=`pwd`;;
919 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
920 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
923 case $ac_abs_builddir in
924 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
926 case ${ac_top_builddir}.
in
927 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
928 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
929 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
932 case $ac_abs_builddir in
933 .
) ac_abs_srcdir
=$ac_srcdir;;
936 .
) ac_abs_srcdir
=$ac_abs_builddir;;
937 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
938 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
941 case $ac_abs_builddir in
942 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
944 case $ac_top_srcdir in
945 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
946 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
947 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
952 # Check for guested configure; otherwise get Cygnus style configure.
953 if test -f $ac_srcdir/configure.gnu
; then
955 $SHELL $ac_srcdir/configure.gnu
--help=recursive
956 elif test -f $ac_srcdir/configure
; then
958 $SHELL $ac_srcdir/configure
--help=recursive
959 elif test -f $ac_srcdir/configure.ac ||
960 test -f $ac_srcdir/configure.
in; then
964 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
970 test -n "$ac_init_help" && exit 0
971 if $ac_init_version; then
974 Copyright
(C
) 2003 Free Software Foundation
, Inc.
975 This configure
script is free software
; the Free Software Foundation
976 gives unlimited permission to copy
, distribute and modify it.
982 This file contains any messages produced by compilers while
983 running configure, to aid debugging if configure makes a mistake.
985 It was created by $as_me, which was
986 generated by GNU Autoconf 2.59. Invocation command line was
997 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
998 uname -m = `(uname -m) 2>/dev/null || echo unknown`
999 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1000 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1001 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1003 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1004 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1006 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1007 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1008 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1009 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1010 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1011 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1012 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1020 test -z "$as_dir" && as_dir
=.
1021 echo "PATH: $as_dir"
1036 # Keep a trace of the command line.
1037 # Strip out --no-create and --no-recursion so they do not pile up.
1038 # Strip out --silent because we don't want to record it for future runs.
1039 # Also quote any args containing shell meta-characters.
1040 # Make two passes to allow for proper duplicate-argument suppression.
1045 ac_must_keep_next
=false
1051 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1053 |
-silent |
--silent |
--silen |
--sile |
--sil)
1055 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1056 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1059 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1061 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1062 if test $ac_must_keep_next = true
; then
1063 ac_must_keep_next
=false
# Got value, back to normal.
1066 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1067 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1068 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1069 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1070 case "$ac_configure_args0 " in
1071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1074 -* ) ac_must_keep_next
=true
;;
1077 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1078 # Get rid of the leading space.
1084 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1085 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1087 # When interrupted or exit'd, cleanup temporary files, and complete
1088 # config.log. We remove comments because anyway the quotes in there
1089 # would cause problems or look ugly.
1090 # WARNING: Be sure not to use single quotes in there, as some shells,
1091 # such as our DU 5.0 friend, will then `close' the trap.
1092 trap 'exit_status=$?
1093 # Save into config.log some information that might help in debugging.
1098 ## ---------------- ##
1099 ## Cache variables. ##
1100 ## ---------------- ##
1103 # The following way of writing the cache mishandles newlines in values,
1106 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1109 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1121 ## ----------------- ##
1122 ## Output variables. ##
1123 ## ----------------- ##
1126 for ac_var in $ac_subst_vars
1128 eval ac_val=$`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1133 if test -n "$ac_subst_files"; then
1140 for ac_var in $ac_subst_files
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -s confdefs.h; then
1155 sed "/^$/d" confdefs.h | sort
1158 test "$ac_signal" != 0 &&
1159 echo "$as_me: caught signal $ac_signal"
1160 echo "$as_me: exit $exit_status"
1162 rm -f core *.core &&
1163 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1166 for ac_signal
in 1 2 13 15; do
1167 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1172 rm -rf conftest
* confdefs.h
1173 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1176 # Predefined preprocessor variables.
1178 cat >>confdefs.h
<<_ACEOF
1179 #define PACKAGE_NAME "$PACKAGE_NAME"
1183 cat >>confdefs.h
<<_ACEOF
1184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1188 cat >>confdefs.h
<<_ACEOF
1189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1193 cat >>confdefs.h
<<_ACEOF
1194 #define PACKAGE_STRING "$PACKAGE_STRING"
1198 cat >>confdefs.h
<<_ACEOF
1199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1203 # Let the site file select an alternate cache file if it wants to.
1204 # Prefer explicitly selected file to automatically selected ones.
1205 if test -z "$CONFIG_SITE"; then
1206 if test "x$prefix" != xNONE
; then
1207 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1209 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1212 for ac_site_file
in $CONFIG_SITE; do
1213 if test -r "$ac_site_file"; then
1214 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1215 echo "$as_me: loading site script $ac_site_file" >&6;}
1216 sed 's/^/| /' "$ac_site_file" >&5
1221 if test -r "$cache_file"; then
1222 # Some versions of bash will fail to source /dev/null (special
1223 # files actually), so we avoid doing that.
1224 if test -f "$cache_file"; then
1225 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1226 echo "$as_me: loading cache $cache_file" >&6;}
1228 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1229 *) . .
/$cache_file;;
1233 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1234 echo "$as_me: creating cache $cache_file" >&6;}
1238 # Check that the precious variables saved in the cache have kept the same
1240 ac_cache_corrupted
=false
1241 for ac_var
in `(set) 2>&1 |
1242 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1243 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1244 eval ac_new_set
=\
$ac_env_${ac_var}_set
1245 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1246 eval ac_new_val
="\$ac_env_${ac_var}_value"
1247 case $ac_old_set,$ac_new_set in
1249 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1251 ac_cache_corrupted
=: ;;
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1255 ac_cache_corrupted
=: ;;
1258 if test "x$ac_old_val" != "x$ac_new_val"; then
1259 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1260 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1261 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1262 echo "$as_me: former value: $ac_old_val" >&2;}
1263 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1264 echo "$as_me: current value: $ac_new_val" >&2;}
1265 ac_cache_corrupted
=:
1268 # Pass precious variables to config.status.
1269 if test "$ac_new_set" = set; then
1271 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 *) ac_arg
=$ac_var=$ac_new_val ;;
1275 case " $ac_configure_args " in
1276 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1277 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1281 if $ac_cache_corrupted; then
1282 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1283 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1284 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1285 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1286 { (exit 1); exit 1; }; }
1290 ac_cpp
='$CPP $CPPFLAGS'
1291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1313 ac_config_headers
="$ac_config_headers config.h"
1320 # This works around the fact that libtool configuration may change LD
1321 # for this particular configuration, but some shells, instead of
1322 # keeping the changes in LD private, export them just because LD is
1324 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1326 # Check whether --enable-multilib or --disable-multilib was given.
1327 if test "${enable_multilib+set}" = set; then
1328 enableval
="$enable_multilib"
1329 case "${enableval}" in
1330 yes) multilib
=yes ;;
1332 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1333 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1334 { (exit 1); exit 1; }; } ;;
1339 # When building with srcdir == objdir, links to the source files will
1340 # be created in directories within the target_subdir. We have to
1341 # adjust toplevel_srcdir accordingly, so that configure finds
1342 # install-sh and other auxiliary files that live in the top-level
1344 if test "${srcdir}" = "."; then
1345 if test -z "${with_target_subdir}"; then
1348 if test "${with_target_subdir}" != "."; then
1349 toprel
="${with_multisrctop}../.."
1351 toprel
="${with_multisrctop}.."
1358 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1359 if test -f $ac_dir/install-sh
; then
1361 ac_install_sh
="$ac_aux_dir/install-sh -c"
1363 elif test -f $ac_dir/install.sh
; then
1365 ac_install_sh
="$ac_aux_dir/install.sh -c"
1367 elif test -f $ac_dir/shtool
; then
1369 ac_install_sh
="$ac_aux_dir/shtool install -c"
1373 if test -z "$ac_aux_dir"; then
1374 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&5
1375 echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&2;}
1376 { (exit 1); exit 1; }; }
1378 ac_config_guess="$SHELL $ac_aux_dir/config.guess
"
1379 ac_config_sub="$SHELL $ac_aux_dir/config.sub
"
1380 ac_configure="$SHELL $ac_aux_dir/configure
" # This should be Cygnus configure.
1382 toplevel_srcdir=\${srcdir}/$toprel
1385 # Make sure we can run config.sub.
1386 $ac_config_sub sun4 >/dev/null 2>&1 ||
1387 { { echo "$as_me:$LINENO: error
: cannot run
$ac_config_sub" >&5
1388 echo "$as_me: error
: cannot run
$ac_config_sub" >&2;}
1389 { (exit 1); exit 1; }; }
1391 echo "$as_me:$LINENO: checking build system
type" >&5
1392 echo $ECHO_N "checking build system
type...
$ECHO_C" >&6
1393 if test "${ac_cv_build+set}" = set; then
1394 echo $ECHO_N "(cached
) $ECHO_C" >&6
1396 ac_cv_build_alias=$build_alias
1397 test -z "$ac_cv_build_alias" &&
1398 ac_cv_build_alias=`$ac_config_guess`
1399 test -z "$ac_cv_build_alias" &&
1400 { { echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
1401 echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
1402 { (exit 1); exit 1; }; }
1403 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1404 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_build_alias failed
" >&5
1405 echo "$as_me: error
: $ac_config_sub $ac_cv_build_alias failed
" >&2;}
1406 { (exit 1); exit 1; }; }
1409 echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
1410 echo "${ECHO_T}$ac_cv_build" >&6
1412 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1413 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1414 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1417 echo "$as_me:$LINENO: checking
host system
type" >&5
1418 echo $ECHO_N "checking
host system
type...
$ECHO_C" >&6
1419 if test "${ac_cv_host+set}" = set; then
1420 echo $ECHO_N "(cached
) $ECHO_C" >&6
1422 ac_cv_host_alias=$host_alias
1423 test -z "$ac_cv_host_alias" &&
1424 ac_cv_host_alias=$ac_cv_build_alias
1425 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1426 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_host_alias failed
" >&5
1427 echo "$as_me: error
: $ac_config_sub $ac_cv_host_alias failed
" >&2;}
1428 { (exit 1); exit 1; }; }
1431 echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
1432 echo "${ECHO_T}$ac_cv_host" >&6
1434 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1435 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1436 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1439 echo "$as_me:$LINENO: checking target system
type" >&5
1440 echo $ECHO_N "checking target system
type...
$ECHO_C" >&6
1441 if test "${ac_cv_target+set}" = set; then
1442 echo $ECHO_N "(cached
) $ECHO_C" >&6
1444 ac_cv_target_alias=$target_alias
1445 test "x
$ac_cv_target_alias" = "x
" &&
1446 ac_cv_target_alias=$ac_cv_host_alias
1447 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1448 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_target_alias failed
" >&5
1449 echo "$as_me: error
: $ac_config_sub $ac_cv_target_alias failed
" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
1454 echo "${ECHO_T}$ac_cv_target" >&6
1455 target=$ac_cv_target
1456 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 # The aliases save the names the user supplied, while $host etc.
1462 # will get canonicalized.
1463 test -n "$target_alias" &&
1464 test "$program_prefix$program_suffix$program_transform_name" = \
1466 program_prefix=${target_alias}-
1467 case ${build_alias} in
1468 "") build_noncanonical=${build} ;;
1469 *) build_noncanonical=${build_alias} ;;
1472 case ${host_alias} in
1473 "") host_noncanonical=${build_noncanonical} ;;
1474 *) host_noncanonical=${host_alias} ;;
1477 case ${target_alias} in
1478 "") target_noncanonical=${host_noncanonical} ;;
1479 *) target_noncanonical=${target_alias} ;;
1484 # Export build and source directories.
1485 # These need to be absolute paths, yet at the same time need to
1486 # canonicalize only relative paths, because then amd will not unmount
1487 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1488 glibcpp_builddir=`${PWDCMD-pwd}`
1490 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1491 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1496 # We use these options to decide which functions to include.
1498 # Check whether --with-target-subdir or --without-target-subdir was given.
1499 if test "${with_target_subdir+set}" = set; then
1500 withval="$with_target_subdir"
1504 # Check whether --with-cross-host or --without-cross-host was given.
1505 if test "${with_cross_host+set}" = set; then
1506 withval="$with_cross_host"
1512 ac_cpp='$CPP $CPPFLAGS'
1513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1516 if test -n "$ac_tool_prefix"; then
1517 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
1518 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1519 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1520 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1521 if test "${ac_cv_prog_CC+set}" = set; then
1522 echo $ECHO_N "(cached
) $ECHO_C" >&6
1524 if test -n "$CC"; then
1525 ac_cv_prog_CC="$CC" # Let the user override the test.
1527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1531 test -z "$as_dir" && as_dir=.
1532 for ac_exec_ext in '' $ac_executable_extensions; do
1533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1534 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
1535 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1544 if test -n "$CC"; then
1545 echo "$as_me:$LINENO: result
: $CC" >&5
1546 echo "${ECHO_T}$CC" >&6
1548 echo "$as_me:$LINENO: result
: no
" >&5
1549 echo "${ECHO_T}no
" >&6
1553 if test -z "$ac_cv_prog_CC"; then
1555 # Extract the first word of "gcc
", so it can be a program name with args.
1556 set dummy gcc; ac_word=$2
1557 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1558 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1560 echo $ECHO_N "(cached
) $ECHO_C" >&6
1562 if test -n "$ac_ct_CC"; then
1563 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569 test -z "$as_dir" && as_dir=.
1570 for ac_exec_ext in '' $ac_executable_extensions; do
1571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1572 ac_cv_prog_ac_ct_CC="gcc
"
1573 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1581 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1582 if test -n "$ac_ct_CC"; then
1583 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1584 echo "${ECHO_T}$ac_ct_CC" >&6
1586 echo "$as_me:$LINENO: result
: no
" >&5
1587 echo "${ECHO_T}no
" >&6
1595 if test -z "$CC"; then
1596 if test -n "$ac_tool_prefix"; then
1597 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
1598 set dummy ${ac_tool_prefix}cc; ac_word=$2
1599 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1600 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1601 if test "${ac_cv_prog_CC+set}" = set; then
1602 echo $ECHO_N "(cached
) $ECHO_C" >&6
1604 if test -n "$CC"; then
1605 ac_cv_prog_CC="$CC" # Let the user override the test.
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 for ac_exec_ext in '' $ac_executable_extensions; do
1613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1614 ac_cv_prog_CC="${ac_tool_prefix}cc
"
1615 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1624 if test -n "$CC"; then
1625 echo "$as_me:$LINENO: result
: $CC" >&5
1626 echo "${ECHO_T}$CC" >&6
1628 echo "$as_me:$LINENO: result
: no
" >&5
1629 echo "${ECHO_T}no
" >&6
1633 if test -z "$ac_cv_prog_CC"; then
1635 # Extract the first word of "cc
", so it can be a program name with args.
1636 set dummy cc; ac_word=$2
1637 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1638 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1640 echo $ECHO_N "(cached
) $ECHO_C" >&6
1642 if test -n "$ac_ct_CC"; then
1643 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir=.
1650 for ac_exec_ext in '' $ac_executable_extensions; do
1651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652 ac_cv_prog_ac_ct_CC="cc
"
1653 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1661 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1662 if test -n "$ac_ct_CC"; then
1663 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1664 echo "${ECHO_T}$ac_ct_CC" >&6
1666 echo "$as_me:$LINENO: result
: no
" >&5
1667 echo "${ECHO_T}no
" >&6
1676 if test -z "$CC"; then
1677 # Extract the first word of "cc
", so it can be a program name with args.
1678 set dummy cc; ac_word=$2
1679 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1680 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1681 if test "${ac_cv_prog_CC+set}" = set; then
1682 echo $ECHO_N "(cached
) $ECHO_C" >&6
1684 if test -n "$CC"; then
1685 ac_cv_prog_CC="$CC" # Let the user override the test.
1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir=.
1693 for ac_exec_ext in '' $ac_executable_extensions; do
1694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
1696 ac_prog_rejected=yes
1700 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1706 if test $ac_prog_rejected = yes; then
1707 # We found a bogon in the path, so make sure we never use it.
1708 set dummy $ac_cv_prog_CC
1710 if test $# != 0; then
1711 # We chose a different compiler from the bogus one.
1712 # However, it has the same basename, so the bogon will be chosen
1713 # first if we set CC to just the basename; use the full file name.
1715 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
1721 if test -n "$CC"; then
1722 echo "$as_me:$LINENO: result
: $CC" >&5
1723 echo "${ECHO_T}$CC" >&6
1725 echo "$as_me:$LINENO: result
: no
" >&5
1726 echo "${ECHO_T}no
" >&6
1730 if test -z "$CC"; then
1731 if test -n "$ac_tool_prefix"; then
1734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1736 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1737 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1738 if test "${ac_cv_prog_CC+set}" = set; then
1739 echo $ECHO_N "(cached
) $ECHO_C" >&6
1741 if test -n "$CC"; then
1742 ac_cv_prog_CC="$CC" # Let the user override the test.
1744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1748 test -z "$as_dir" && as_dir=.
1749 for ac_exec_ext in '' $ac_executable_extensions; do
1750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1751 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1752 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1761 if test -n "$CC"; then
1762 echo "$as_me:$LINENO: result
: $CC" >&5
1763 echo "${ECHO_T}$CC" >&6
1765 echo "$as_me:$LINENO: result
: no
" >&5
1766 echo "${ECHO_T}no
" >&6
1769 test -n "$CC" && break
1772 if test -z "$CC"; then
1776 # Extract the first word of "$ac_prog", so it can be a program name with args.
1777 set dummy $ac_prog; ac_word=$2
1778 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1779 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1781 echo $ECHO_N "(cached
) $ECHO_C" >&6
1783 if test -n "$ac_ct_CC"; then
1784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 test -z "$as_dir" && as_dir=.
1791 for ac_exec_ext in '' $ac_executable_extensions; do
1792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1793 ac_cv_prog_ac_ct_CC="$ac_prog"
1794 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1803 if test -n "$ac_ct_CC"; then
1804 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1805 echo "${ECHO_T}$ac_ct_CC" >&6
1807 echo "$as_me:$LINENO: result
: no
" >&5
1808 echo "${ECHO_T}no
" >&6
1811 test -n "$ac_ct_CC" && break
1820 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1821 See \
`config.log' for more details." >&5
1822 echo "$as_me: error: no acceptable C compiler found in \$PATH
1823 See \`config.log
' for more details." >&2;}
1824 { (exit 1); exit 1; }; }
1826 # Provide some information about the compiler.
1827 echo "$as_me:$LINENO:" \
1828 "checking for C compiler version" >&5
1829 ac_compiler=`set X $ac_compile; echo $2`
1830 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1831 (eval $ac_compiler --version </dev/null >&5) 2>&5
1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834 (exit $ac_status); }
1835 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1836 (eval $ac_compiler -v </dev/null >&5) 2>&5
1838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1839 (exit $ac_status); }
1840 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1841 (eval $ac_compiler -V </dev/null >&5) 2>&5
1843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 (exit $ac_status); }
1846 cat >conftest.$ac_ext <<_ACEOF
1849 cat confdefs.h >>conftest.$ac_ext
1850 cat >>conftest.$ac_ext <<_ACEOF
1851 /* end confdefs.h. */
1862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1863 (eval $ac_link) 2>&5
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); }; then
1872 if test x$gcc_no_link = xyes; then
1873 # Setting cross_compile will disable run tests; it will
1874 # also disable AC_CHECK_FILE but that's generally
1875 # correct if we can't link.
1879 cat >conftest.
$ac_ext <<_ACEOF
1882 cat confdefs.h
>>conftest.
$ac_ext
1883 cat >>conftest.
$ac_ext <<_ACEOF
1884 /* end confdefs.h. */
1894 ac_clean_files_save
=$ac_clean_files
1895 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1896 # Try to create an executable without -o first, disregard a.out.
1897 # It will help us diagnose broken compilers, and finding out an intuition
1899 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1900 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1901 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1902 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1903 (eval $ac_link_default) 2>&5
1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906 (exit $ac_status); }; then
1907 # Find the output, starting from the most likely. This scheme is
1908 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1911 # Be careful to initialize this variable, since it used to be cached.
1912 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1914 # b.out is created by i960 compilers.
1915 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1917 test -f "$ac_file" ||
continue
1919 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1922 # This is the source file.
1925 # We found the default executable, but exeext='' is most
1929 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1930 # FIXME: I believe we export ac_cv_exeext for Libtool,
1931 # but it would be cool to find out if it's true. Does anybody
1932 # maintain Libtool? --akim.
1940 echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.
$ac_ext >&5
1943 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1944 See \`config.log' for more details." >&5
1945 echo "$as_me: error: C compiler cannot create executables
1946 See \`config.log' for more details." >&2;}
1947 { (exit 77); exit 77; }; }
1950 ac_exeext
=$ac_cv_exeext
1951 echo "$as_me:$LINENO: result: $ac_file" >&5
1952 echo "${ECHO_T}$ac_file" >&6
1954 # Check the compiler produces executables we can run. If not, either
1955 # the compiler is broken, or we cross compile.
1956 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1957 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1958 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1959 # If not cross compiling, check that we can run a simple program.
1960 if test "$cross_compiling" != yes; then
1961 if { ac_try
='./$ac_file'
1962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; }; then
1969 if test "$cross_compiling" = maybe
; then
1972 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1973 If you meant to cross compile, use \`--host'.
1974 See \`config.log' for more details." >&5
1975 echo "$as_me: error: cannot run C compiled programs.
1976 If you meant to cross compile, use \`--host'.
1977 See \`config.log' for more details." >&2;}
1978 { (exit 1); exit 1; }; }
1982 echo "$as_me:$LINENO: result: yes" >&5
1983 echo "${ECHO_T}yes" >&6
1985 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1986 ac_clean_files
=$ac_clean_files_save
1987 # Check the compiler produces executables we can run. If not, either
1988 # the compiler is broken, or we cross compile.
1989 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1990 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1991 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1992 echo "${ECHO_T}$cross_compiling" >&6
1994 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1995 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1997 (eval $ac_link) 2>&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); }; then
2001 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2002 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2003 # work properly (i.e., refer to `conftest.exe'), while it won't with
2005 for ac_file
in conftest.exe conftest conftest.
*; do
2006 test -f "$ac_file" ||
continue
2008 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2009 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2016 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2017 See \`config.log' for more details." >&5
2018 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2019 See \`config.log' for more details." >&2;}
2020 { (exit 1); exit 1; }; }
2023 rm -f conftest
$ac_cv_exeext
2024 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2025 echo "${ECHO_T}$ac_cv_exeext" >&6
2027 rm -f conftest.
$ac_ext
2028 EXEEXT
=$ac_cv_exeext
2031 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2032 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2033 if test "${ac_cv_objext+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 cat >conftest.
$ac_ext <<_ACEOF
2039 cat confdefs.h
>>conftest.
$ac_ext
2040 cat >>conftest.
$ac_ext <<_ACEOF
2041 /* end confdefs.h. */
2051 rm -f conftest.o conftest.obj
2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053 (eval $ac_compile) 2>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }; then
2057 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2059 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2060 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2065 echo "$as_me: failed program was:" >&5
2066 sed 's/^/| /' conftest.
$ac_ext >&5
2068 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2069 See \`config.log' for more details." >&5
2070 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2071 See \`config.log' for more details." >&2;}
2072 { (exit 1); exit 1; }; }
2075 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2077 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2078 echo "${ECHO_T}$ac_cv_objext" >&6
2079 OBJEXT
=$ac_cv_objext
2081 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2082 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2083 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 cat >conftest.
$ac_ext <<_ACEOF
2089 cat confdefs.h
>>conftest.
$ac_ext
2090 cat >>conftest.
$ac_ext <<_ACEOF
2091 /* end confdefs.h. */
2104 rm -f conftest.
$ac_objext
2105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2106 (eval $ac_compile) 2>conftest.er1
2108 grep -v '^ *+' conftest.er1
>conftest.err
2110 cat conftest.err
>&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); } &&
2113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; } &&
2119 { ac_try
='test -s conftest.$ac_objext'
2120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; }; then
2127 echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.
$ac_ext >&5
2132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2133 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2136 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2137 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2138 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2139 ac_test_CFLAGS
=${CFLAGS+set}
2140 ac_save_CFLAGS
=$CFLAGS
2142 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2143 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2144 if test "${ac_cv_prog_cc_g+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 cat >conftest.
$ac_ext <<_ACEOF
2150 cat confdefs.h
>>conftest.
$ac_ext
2151 cat >>conftest.
$ac_ext <<_ACEOF
2152 /* end confdefs.h. */
2162 rm -f conftest.
$ac_objext
2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2164 (eval $ac_compile) 2>conftest.er1
2166 grep -v '^ *+' conftest.er1
>conftest.err
2168 cat conftest.err
>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); } &&
2171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); }; } &&
2177 { ac_try
='test -s conftest.$ac_objext'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; }; then
2185 echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.
$ac_ext >&5
2190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2192 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2193 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2194 if test "$ac_test_CFLAGS" = set; then
2195 CFLAGS
=$ac_save_CFLAGS
2196 elif test $ac_cv_prog_cc_g = yes; then
2197 if test "$GCC" = yes; then
2203 if test "$GCC" = yes; then
2209 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2210 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2211 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 ac_cv_prog_cc_stdc
=no
2216 cat >conftest.
$ac_ext <<_ACEOF
2219 cat confdefs.h
>>conftest.
$ac_ext
2220 cat >>conftest.
$ac_ext <<_ACEOF
2221 /* end confdefs.h. */
2224 #include <sys/types.h>
2225 #include <sys/stat.h>
2226 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2227 struct buf { int x; };
2228 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2229 static char *e (p, i)
2235 static char *f (char * (*g) (char **, int), char **p, ...)
2240 s = g (p, va_arg (v,int));
2245 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2246 function prototypes and stuff, but not '\xHH' hex character constants.
2247 These don't provoke an error unfortunately, instead are silently treated
2248 as 'x'. The following induces an error, until -std1 is added to get
2249 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2250 array size at least. It's necessary to write '\x00'==0 to get something
2251 that's true only with -std1. */
2252 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2254 int test (int i, double x);
2255 struct s1 {int (*f) (int a);};
2256 struct s2 {int (*f) (double a);};
2257 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2263 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2268 # Don't try gcc -ansi; that turns off useful extensions and
2269 # breaks some systems' header files.
2270 # AIX -qlanglvl=ansi
2271 # Ultrix and OSF/1 -std1
2272 # HP-UX 10.20 and later -Ae
2273 # HP-UX older versions -Aa -D_HPUX_SOURCE
2274 # SVR4 -Xc -D__EXTENSIONS__
2275 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2277 CC
="$ac_save_CC $ac_arg"
2278 rm -f conftest.
$ac_objext
2279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2280 (eval $ac_compile) 2>conftest.er1
2282 grep -v '^ *+' conftest.er1
>conftest.err
2284 cat conftest.err
>&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); } &&
2287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292 (exit $ac_status); }; } &&
2293 { ac_try
='test -s conftest.$ac_objext'
2294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); }; }; then
2299 ac_cv_prog_cc_stdc
=$ac_arg
2302 echo "$as_me: failed program was:" >&5
2303 sed 's/^/| /' conftest.
$ac_ext >&5
2306 rm -f conftest.err conftest.
$ac_objext
2308 rm -f conftest.
$ac_ext conftest.
$ac_objext
2313 case "x$ac_cv_prog_cc_stdc" in
2315 echo "$as_me:$LINENO: result: none needed" >&5
2316 echo "${ECHO_T}none needed" >&6 ;;
2318 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2319 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2320 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2323 # Some people use a C++ compiler to compile C. Since we use `exit',
2324 # in C++ we need to declare it. In case someone uses the same compiler
2325 # for both compiling C and C++ we need to have the C++ compiler decide
2326 # the declaration of exit, since it's the most demanding environment.
2327 cat >conftest.
$ac_ext <<_ACEOF
2332 rm -f conftest.
$ac_objext
2333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2334 (eval $ac_compile) 2>conftest.er1
2336 grep -v '^ *+' conftest.er1
>conftest.err
2338 cat conftest.err
>&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); } &&
2341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }; } &&
2347 { ac_try
='test -s conftest.$ac_objext'
2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; }; then
2353 for ac_declaration
in \
2355 'extern "C" void std::exit (int) throw (); using std::exit;' \
2356 'extern "C" void std::exit (int); using std::exit;' \
2357 'extern "C" void exit (int) throw ();' \
2358 'extern "C" void exit (int);' \
2361 cat >conftest.
$ac_ext <<_ACEOF
2364 cat confdefs.h
>>conftest.
$ac_ext
2365 cat >>conftest.
$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2377 rm -f conftest.
$ac_objext
2378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2379 (eval $ac_compile) 2>conftest.er1
2381 grep -v '^ *+' conftest.er1
>conftest.err
2383 cat conftest.err
>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); } &&
2386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; } &&
2392 { ac_try
='test -s conftest.$ac_objext'
2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; }; then
2400 echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.
$ac_ext >&5
2405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2406 cat >conftest.
$ac_ext <<_ACEOF
2409 cat confdefs.h
>>conftest.
$ac_ext
2410 cat >>conftest.
$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 rm -f conftest.
$ac_objext
2422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2423 (eval $ac_compile) 2>conftest.er1
2425 grep -v '^ *+' conftest.er1
>conftest.err
2427 cat conftest.err
>&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); } &&
2430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; } &&
2436 { ac_try
='test -s conftest.$ac_objext'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; }; then
2444 echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.
$ac_ext >&5
2448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2451 if test -n "$ac_declaration"; then
2452 echo '#ifdef __cplusplus' >>confdefs.h
2453 echo $ac_declaration >>confdefs.h
2454 echo '#endif' >>confdefs.h
2458 echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.
$ac_ext >&5
2462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2464 ac_cpp
='$CPP $CPPFLAGS'
2465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2470 if test -n "$ac_tool_prefix"; then
2471 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2472 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2473 echo "$as_me:$LINENO: checking for $ac_word" >&5
2474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2475 if test "${ac_cv_prog_AS+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 if test -n "$AS"; then
2479 ac_cv_prog_AS
="$AS" # Let the user override the test.
2481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2485 test -z "$as_dir" && as_dir
=.
2486 for ac_exec_ext
in '' $ac_executable_extensions; do
2487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2488 ac_cv_prog_AS
="${ac_tool_prefix}as"
2489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2498 if test -n "$AS"; then
2499 echo "$as_me:$LINENO: result: $AS" >&5
2500 echo "${ECHO_T}$AS" >&6
2502 echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2507 if test -z "$ac_cv_prog_AS"; then
2509 # Extract the first word of "as", so it can be a program name with args.
2510 set dummy as
; ac_word
=$2
2511 echo "$as_me:$LINENO: checking for $ac_word" >&5
2512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2513 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 if test -n "$ac_ct_AS"; then
2517 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2523 test -z "$as_dir" && as_dir
=.
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2526 ac_cv_prog_ac_ct_AS
="as"
2527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
2536 if test -n "$ac_ct_AS"; then
2537 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2538 echo "${ECHO_T}$ac_ct_AS" >&6
2540 echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6
2549 if test -n "$ac_tool_prefix"; then
2550 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2551 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2552 echo "$as_me:$LINENO: checking for $ac_word" >&5
2553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2554 if test "${ac_cv_prog_AR+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 if test -n "$AR"; then
2558 ac_cv_prog_AR
="$AR" # Let the user override the test.
2560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir
=.
2565 for ac_exec_ext
in '' $ac_executable_extensions; do
2566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2567 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 if test -n "$AR"; then
2578 echo "$as_me:$LINENO: result: $AR" >&5
2579 echo "${ECHO_T}$AR" >&6
2581 echo "$as_me:$LINENO: result: no" >&5
2582 echo "${ECHO_T}no" >&6
2586 if test -z "$ac_cv_prog_AR"; then
2588 # Extract the first word of "ar", so it can be a program name with args.
2589 set dummy
ar; ac_word
=$2
2590 echo "$as_me:$LINENO: checking for $ac_word" >&5
2591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2592 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 if test -n "$ac_ct_AR"; then
2596 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir
=.
2603 for ac_exec_ext
in '' $ac_executable_extensions; do
2604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2605 ac_cv_prog_ac_ct_AR
="ar"
2606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2615 if test -n "$ac_ct_AR"; then
2616 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2617 echo "${ECHO_T}$ac_ct_AR" >&6
2619 echo "$as_me:$LINENO: result: no" >&5
2620 echo "${ECHO_T}no" >&6
2628 if test -n "$ac_tool_prefix"; then
2629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2630 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2631 echo "$as_me:$LINENO: checking for $ac_word" >&5
2632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2633 if test "${ac_cv_prog_RANLIB+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 if test -n "$RANLIB"; then
2637 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir
=.
2644 for ac_exec_ext
in '' $ac_executable_extensions; do
2645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2646 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 RANLIB
=$ac_cv_prog_RANLIB
2656 if test -n "$RANLIB"; then
2657 echo "$as_me:$LINENO: result: $RANLIB" >&5
2658 echo "${ECHO_T}$RANLIB" >&6
2660 echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6
2665 if test -z "$ac_cv_prog_RANLIB"; then
2666 ac_ct_RANLIB
=$RANLIB
2667 # Extract the first word of "ranlib", so it can be a program name with args.
2668 set dummy ranlib
; ac_word
=$2
2669 echo "$as_me:$LINENO: checking for $ac_word" >&5
2670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2671 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 if test -n "$ac_ct_RANLIB"; then
2675 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2684 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2694 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2695 if test -n "$ac_ct_RANLIB"; then
2696 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2697 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2699 echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6
2703 RANLIB
=$ac_ct_RANLIB
2705 RANLIB
="$ac_cv_prog_RANLIB"
2708 # Find a good install program. We prefer a C program (faster),
2709 # so one script is as good as another. But avoid the broken or
2710 # incompatible versions:
2711 # SysV /etc/install, /usr/sbin/install
2712 # SunOS /usr/etc/install
2713 # IRIX /sbin/install
2715 # AmigaOS /C/install, which installs bootblocks on floppy discs
2716 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2717 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2718 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2719 # OS/2's system install, which has a completely different semantic
2720 # ./install, which can be erroneously created by make from ./install.sh.
2721 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2722 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2723 if test -z "$INSTALL"; then
2724 if test "${ac_cv_path_install+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir
=.
2732 # Account for people who put trailing slashes in PATH elements.
2734 .
/ | .
// |
/cC
/* | \
2735 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2736 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2739 # OSF1 and SCO ODT 3.0 have their own names for install.
2740 # Don't use installbsd from OSF since it installs stuff as root
2742 for ac_prog
in ginstall scoinst
install; do
2743 for ac_exec_ext
in '' $ac_executable_extensions; do
2744 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2745 if test $ac_prog = install &&
2746 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2747 # AIX install. It has an incompatible calling convention.
2749 elif test $ac_prog = install &&
2750 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2751 # program-specific install script used by HP pwplus--don't use.
2754 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2766 if test "${ac_cv_path_install+set}" = set; then
2767 INSTALL
=$ac_cv_path_install
2769 # As a last resort, use the slow shell script. We don't cache a
2770 # path for INSTALL within a source directory, because that will
2771 # break other packages using the cache if that directory is
2772 # removed, or if the path is relative.
2773 INSTALL
=$ac_install_sh
2776 echo "$as_me:$LINENO: result: $INSTALL" >&5
2777 echo "${ECHO_T}$INSTALL" >&6
2779 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2780 # It thinks the first close brace ends the variable substitution.
2781 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2783 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2785 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2788 # Process the option "--enable-version-specific-runtime-libs"
2789 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2790 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
2791 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
2792 if test "${enable_version_specific_runtime_libs+set}" = set; then
2793 enableval
="$enable_version_specific_runtime_libs"
2794 case "$enableval" in
2795 yes) version_specific_libs
=yes ;;
2796 no
) version_specific_libs
=no
;;
2797 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2798 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2799 { (exit 1); exit 1; }; };;
2802 version_specific_libs
=no
2804 # Option set, now we can test it.
2805 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2806 echo "${ECHO_T}$version_specific_libs" >&6
2808 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
2809 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
2810 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
2814 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
2815 case ${version_specific_libs} in
2817 # Need the gcc compiler version to know where to install libraries
2818 # and header files if --enable-version-specific-runtime-libs option
2820 glibcpp_toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
2821 glibcpp_toolexeclibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
2824 if test -n "$with_cross_host" &&
2825 test x
"$with_cross_host" != x
"no"; then
2826 glibcpp_toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
2827 glibcpp_toolexeclibdir
='$(toolexecdir)/lib'
2829 # Install a library built with a cross compiler in tooldir, not libdir.
2830 glibcpp_toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
2831 glibcpp_toolexeclibdir
='$(libdir)'
2833 multi_os_directory
=`$CC -print-multi-os-directory`
2834 case $multi_os_directory in
2835 .
) ;; # Avoid trailing /.
2836 *) glibcpp_toolexeclibdir
=$glibcpp_toolexeclibdir/$multi_os_directory ;;
2843 glibcpp_prefixdir
=${prefix}
2847 # Disable shared libs by default
2848 # Check whether --enable-shared or --disable-shared was given.
2849 if test "${enable_shared+set}" = set; then
2850 enableval
="$enable_shared"
2851 p
=${PACKAGE-default}
2853 yes) enable_shared
=yes ;;
2854 no
) enable_shared
=no
;;
2857 # Look at the argument we got. We use all the common list separators.
2858 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2859 for pkg
in $enableval; do
2860 if test "X$pkg" = "X$p"; then
2870 # Enable Win32 DLL on MS Windows - FIXME
2873 # Check whether --enable-static or --disable-static was given.
2874 if test "${enable_static+set}" = set; then
2875 enableval
="$enable_static"
2876 p
=${PACKAGE-default}
2878 yes) enable_static
=yes ;;
2879 no
) enable_static
=no
;;
2882 # Look at the argument we got. We use all the common list separators.
2883 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2884 for pkg
in $enableval; do
2885 if test "X$pkg" = "X$p"; then
2895 # Check whether --enable-fast-install or --disable-fast-install was given.
2896 if test "${enable_fast_install+set}" = set; then
2897 enableval
="$enable_fast_install"
2898 p
=${PACKAGE-default}
2900 yes) enable_fast_install
=yes ;;
2901 no
) enable_fast_install
=no
;;
2903 enable_fast_install
=no
2904 # Look at the argument we got. We use all the common list separators.
2905 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2906 for pkg
in $enableval; do
2907 if test "X$pkg" = "X$p"; then
2908 enable_fast_install
=yes
2915 enable_fast_install
=yes
2918 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2919 if test "${with_gnu_ld+set}" = set; then
2920 withval
="$with_gnu_ld"
2921 test "$withval" = no || with_gnu_ld
=yes
2926 if test "$GCC" = yes; then
2927 # Check if gcc -print-prog-name=ld gives a path.
2928 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2929 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2932 # gcc leaves a trailing carriage return which upsets mingw
2933 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2935 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
2938 # Accept absolute paths.
2939 [\\/]* |
[A-Za-z
]:[\\/]*)
2940 re_direlt
='/[^/][^/]*/\.\./'
2941 # Canonicalize the path of ld
2942 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
2943 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
2944 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
2946 test -z "$LD" && LD
="$ac_prog"
2949 # If it fails, then pretend we aren't using GCC.
2953 # If it is relative, then search for the first ld in PATH.
2957 elif test "$with_gnu_ld" = yes; then
2958 echo "$as_me:$LINENO: checking for GNU ld" >&5
2959 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2961 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2962 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2964 if test "${lt_cv_path_LD+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 if test -z "$LD"; then
2968 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2969 for ac_dir
in $PATH; do
2970 test -z "$ac_dir" && ac_dir
=.
2971 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
2972 lt_cv_path_LD
="$ac_dir/$ac_prog"
2973 # Check to see if the program is GNU ld. I'd rather use --version,
2974 # but apparently some GNU ld's only accept -v.
2975 # Break only if it was the GNU/non-GNU ld that we prefer.
2976 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
2977 test "$with_gnu_ld" != no
&& break
2979 test "$with_gnu_ld" != yes && break
2985 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
2990 if test -n "$LD"; then
2991 echo "$as_me:$LINENO: result: $LD" >&5
2992 echo "${ECHO_T}$LD" >&6
2994 echo "$as_me:$LINENO: result: no" >&5
2995 echo "${ECHO_T}no" >&6
2997 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
2998 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2999 { (exit 1); exit 1; }; }
3000 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3001 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3002 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3003 echo $ECHO_N "(cached) $ECHO_C" >&6
3005 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3006 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3007 lt_cv_prog_gnu_ld
=yes
3009 lt_cv_prog_gnu_ld
=no
3012 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3013 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3014 with_gnu_ld
=$lt_cv_prog_gnu_ld
3017 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3018 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3019 if test "${lt_cv_ld_reload_flag+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 lt_cv_ld_reload_flag
='-r'
3024 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3025 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3026 reload_flag
=$lt_cv_ld_reload_flag
3027 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3029 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3030 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3031 if test "${lt_cv_path_NM+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 if test -n "$NM"; then
3035 # Let the user override the test.
3038 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3039 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3040 test -z "$ac_dir" && ac_dir
=.
3041 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3042 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3043 # Check to see if the nm accepts a BSD-compat flag.
3044 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3045 # nm: unknown option "B" ignored
3046 # Tru64's nm complains that /dev/null is an invalid object file
3047 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3048 lt_cv_path_NM
="$tmp_nm -B"
3050 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3051 lt_cv_path_NM
="$tmp_nm -p"
3054 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3055 continue # so that we can try to find one that supports BSD flags
3060 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3065 echo "$as_me:$LINENO: result: $NM" >&5
3066 echo "${ECHO_T}$NM" >&6
3068 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3069 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3071 if test "$LN_S" = "ln -s"; then
3072 echo "$as_me:$LINENO: result: yes" >&5
3073 echo "${ECHO_T}yes" >&6
3075 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3076 echo "${ECHO_T}no, using $LN_S" >&6
3079 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3080 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3081 if test "${lt_cv_deplibs_check_method+set}" = set; then
3082 echo $ECHO_N "(cached) $ECHO_C" >&6
3084 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3085 lt_cv_file_magic_test_file
=
3086 lt_cv_deplibs_check_method
='unknown'
3087 # Need to set the preceding variable on all platforms that support
3088 # interlibrary dependencies.
3089 # 'none' -- dependencies not supported.
3090 # `unknown' -- same as none, but documents that we really don't know.
3091 # 'pass_all' -- all dependencies passed with no checks.
3092 # 'test_compile' -- check by making test program.
3093 # 'file_magic [regex]' -- check by looking for files in library path
3094 # which responds to the $file_magic_cmd with a given egrep regex.
3095 # If you have `file' or equivalent on your system and you're not sure
3096 # whether `pass_all' will *always* work, you probably want this one.
3100 lt_cv_deplibs_check_method
=pass_all
3104 lt_cv_deplibs_check_method
=pass_all
3108 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3109 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3110 lt_cv_file_magic_test_file
=/shlib
/libc.so
3113 cygwin
* | mingw
* |pw32
*)
3114 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3115 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3118 darwin
* | rhapsody
*)
3119 # this will be overwritten by pass_all, but leave it in just in case
3120 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3121 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3123 rhapsody
* | darwin1.012
)
3124 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3127 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3130 lt_cv_deplibs_check_method
=pass_all
3134 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3137 # Not sure whether the presence of OpenBSD here was a mistake.
3138 # Let's accept both of them until this is cleared up.
3139 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3140 lt_cv_file_magic_cmd
=/usr
/bin
/file
3141 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3145 lt_cv_deplibs_check_method
=pass_all
3150 lt_cv_deplibs_check_method
=pass_all
3156 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3157 lt_cv_file_magic_cmd
=/usr
/bin
/file
3158 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3161 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3162 lt_cv_file_magic_cmd
=/usr
/bin
/file
3163 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3171 # this will be overridden with pass_all, but let us keep it just in case
3172 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3176 *-32|
*"-32 ") libmagic
=32-bit;;
3177 *-n32|
*"-n32 ") libmagic
=N32
;;
3178 *-64|
*"-64 ") libmagic
=64-bit;;
3179 *) libmagic
=never-match
;;
3181 # this will be overridden with pass_all, but let us keep it just in case
3182 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3185 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3186 lt_cv_deplibs_check_method
=pass_all
3189 # This must be Linux ELF.
3192 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3193 lt_cv_deplibs_check_method
=pass_all
;;
3195 # glibc up to 2.1.1 does not perform some relocations on ARM
3196 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3198 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3202 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3203 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3205 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3210 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3211 lt_cv_file_magic_cmd
=/usr
/bin
/file
3212 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3215 osf3
* | osf4
* | osf5
*)
3216 # this will be overridden with pass_all, but let us keep it just in case
3217 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3218 lt_cv_file_magic_test_file
=/shlib
/libc.so
3219 lt_cv_deplibs_check_method
=pass_all
3223 lt_cv_deplibs_check_method
=pass_all
3227 lt_cv_deplibs_check_method
=pass_all
3228 lt_cv_file_magic_test_file
=/lib
/libc.so
3231 sysv5uw
[78]* | sysv4
*uw2
*)
3232 lt_cv_deplibs_check_method
=pass_all
3235 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3236 case $host_vendor in
3238 lt_cv_deplibs_check_method
=pass_all
3241 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]'
3242 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3249 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3250 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3251 file_magic_cmd
=$lt_cv_file_magic_cmd
3252 deplibs_check_method
=$lt_cv_deplibs_check_method
3258 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3260 # Only perform the check for file, if the check method requires it
3261 case $deplibs_check_method in
3263 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3264 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3265 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3266 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3274 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3277 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3278 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3279 ac_dummy
="/usr/bin:$PATH"
3280 for ac_dir
in $ac_dummy; do
3281 test -z "$ac_dir" && ac_dir
=.
3282 if test -f $ac_dir/${ac_tool_prefix}file; then
3283 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3284 if test -n "$file_magic_test_file"; then
3285 case $deplibs_check_method in
3287 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3288 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3289 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3290 egrep "$file_magic_regex" > /dev
/null
; then
3295 *** Warning: the command libtool uses to detect shared libraries,
3296 *** $file_magic_cmd, produces output that libtool cannot recognize.
3297 *** The result is that libtool may fail to recognize shared libraries
3298 *** as such. This will affect the creation of libtool libraries that
3299 *** depend on shared libraries, but programs linked with such libtool
3300 *** libraries will work regardless of this problem. Nevertheless, you
3301 *** may want to report the problem to your system manager and/or to
3302 *** bug-libtool@gnu.org
3312 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3317 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3318 if test -n "$MAGIC_CMD"; then
3319 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3320 echo "${ECHO_T}$MAGIC_CMD" >&6
3322 echo "$as_me:$LINENO: result: no" >&5
3323 echo "${ECHO_T}no" >&6
3326 if test -z "$lt_cv_path_MAGIC_CMD"; then
3327 if test -n "$ac_tool_prefix"; then
3328 echo "$as_me:$LINENO: checking for file" >&5
3329 echo $ECHO_N "checking for file... $ECHO_C" >&6
3330 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3338 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3341 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3342 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3343 ac_dummy
="/usr/bin:$PATH"
3344 for ac_dir
in $ac_dummy; do
3345 test -z "$ac_dir" && ac_dir
=.
3346 if test -f $ac_dir/file; then
3347 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3348 if test -n "$file_magic_test_file"; then
3349 case $deplibs_check_method in
3351 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3352 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3353 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3354 egrep "$file_magic_regex" > /dev
/null
; then
3359 *** Warning: the command libtool uses to detect shared libraries,
3360 *** $file_magic_cmd, produces output that libtool cannot recognize.
3361 *** The result is that libtool may fail to recognize shared libraries
3362 *** as such. This will affect the creation of libtool libraries that
3363 *** depend on shared libraries, but programs linked with such libtool
3364 *** libraries will work regardless of this problem. Nevertheless, you
3365 *** may want to report the problem to your system manager and/or to
3366 *** bug-libtool@gnu.org
3376 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3381 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3382 if test -n "$MAGIC_CMD"; then
3383 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3384 echo "${ECHO_T}$MAGIC_CMD" >&6
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3399 if test -n "$ac_tool_prefix"; then
3400 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3401 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3402 echo "$as_me:$LINENO: checking for $ac_word" >&5
3403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3404 if test "${ac_cv_prog_RANLIB+set}" = set; then
3405 echo $ECHO_N "(cached) $ECHO_C" >&6
3407 if test -n "$RANLIB"; then
3408 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3414 test -z "$as_dir" && as_dir
=.
3415 for ac_exec_ext
in '' $ac_executable_extensions; do
3416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3417 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 RANLIB
=$ac_cv_prog_RANLIB
3427 if test -n "$RANLIB"; then
3428 echo "$as_me:$LINENO: result: $RANLIB" >&5
3429 echo "${ECHO_T}$RANLIB" >&6
3431 echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6
3436 if test -z "$ac_cv_prog_RANLIB"; then
3437 ac_ct_RANLIB
=$RANLIB
3438 # Extract the first word of "ranlib", so it can be a program name with args.
3439 set dummy ranlib
; ac_word
=$2
3440 echo "$as_me:$LINENO: checking for $ac_word" >&5
3441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3442 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 if test -n "$ac_ct_RANLIB"; then
3446 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3452 test -z "$as_dir" && as_dir
=.
3453 for ac_exec_ext
in '' $ac_executable_extensions; do
3454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3455 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3465 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3466 if test -n "$ac_ct_RANLIB"; then
3467 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3468 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3470 echo "$as_me:$LINENO: result: no" >&5
3471 echo "${ECHO_T}no" >&6
3474 RANLIB
=$ac_ct_RANLIB
3476 RANLIB
="$ac_cv_prog_RANLIB"
3479 if test -n "$ac_tool_prefix"; then
3480 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3481 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3482 echo "$as_me:$LINENO: checking for $ac_word" >&5
3483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3484 if test "${ac_cv_prog_STRIP+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 if test -n "$STRIP"; then
3488 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3494 test -z "$as_dir" && as_dir
=.
3495 for ac_exec_ext
in '' $ac_executable_extensions; do
3496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3497 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 STRIP
=$ac_cv_prog_STRIP
3507 if test -n "$STRIP"; then
3508 echo "$as_me:$LINENO: result: $STRIP" >&5
3509 echo "${ECHO_T}$STRIP" >&6
3511 echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3516 if test -z "$ac_cv_prog_STRIP"; then
3518 # Extract the first word of "strip", so it can be a program name with args.
3519 set dummy strip
; ac_word
=$2
3520 echo "$as_me:$LINENO: checking for $ac_word" >&5
3521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3522 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 if test -n "$ac_ct_STRIP"; then
3526 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3532 test -z "$as_dir" && as_dir
=.
3533 for ac_exec_ext
in '' $ac_executable_extensions; do
3534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3535 ac_cv_prog_ac_ct_STRIP
="strip"
3536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3545 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3546 if test -n "$ac_ct_STRIP"; then
3547 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3548 echo "${ECHO_T}$ac_ct_STRIP" >&6
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3556 STRIP
="$ac_cv_prog_STRIP"
3560 # Check for any special flags to pass to ltconfig.
3561 libtool_flags
="--cache-file=$cache_file"
3562 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3563 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3564 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3565 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3566 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3569 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3570 if test "${enable_libtool_lock+set}" = set; then
3571 enableval
="$enable_libtool_lock"
3574 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3575 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3578 # Check whether --with-pic or --without-pic was given.
3579 if test "${with_pic+set}" = set; then
3585 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3586 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3588 # Some flags need to be propagated to the compiler or linker for good
3592 # Find out which ABI we are using.
3593 echo '#line 3593 "configure"' > conftest.
$ac_ext
3594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3595 (eval $ac_compile) 2>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; then
3599 if test "$lt_cv_prog_gnu_ld" = yes; then
3600 case `/usr/bin/file conftest.$ac_objext` in
3602 LD
="${LD-ld} -melf32bsmip"
3605 LD
="${LD-ld} -melf32bmipn32"
3608 LD
="${LD-ld} -melf64bmip"
3612 case `/usr/bin/file conftest.$ac_objext` in
3629 # Find out which ABI we are using.
3630 echo 'int i;' > conftest.
$ac_ext
3631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3632 (eval $ac_compile) 2>&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; then
3636 case "`/usr/bin/file conftest.o`" in
3648 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3649 # Find out which ABI we are using.
3650 echo 'int i;' > conftest.
$ac_ext
3651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3652 (eval $ac_compile) 2>&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; then
3656 case "`/usr/bin/file conftest.o`" in
3660 LD
="${LD-ld} -m elf_i386"
3662 ppc64-
*linux
*|powerpc64-
*linux
*)
3663 LD
="${LD-ld} -m elf32ppclinux"
3666 LD
="${LD-ld} -m elf_s390"
3669 LD
="${LD-ld} -m elf32_sparc"
3676 LD
="${LD-ld} -m elf_x86_64"
3678 ppc
*-*linux
*|powerpc
*-*linux
*)
3679 LD
="${LD-ld} -m elf64ppc"
3682 LD
="${LD-ld} -m elf64_s390"
3685 LD
="${LD-ld} -m elf64_sparc"
3695 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3696 SAVE_CFLAGS
="$CFLAGS"
3697 CFLAGS
="$CFLAGS -belf"
3698 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3699 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3700 if test "${lt_cv_cc_needs_belf+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 ac_cpp
='$CPP $CPPFLAGS'
3707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3711 if test x
$gcc_no_link = xyes
; then
3712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3714 { (exit 1); exit 1; }; }
3716 cat >conftest.
$ac_ext <<_ACEOF
3719 cat confdefs.h
>>conftest.
$ac_ext
3720 cat >>conftest.
$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3731 rm -f conftest.
$ac_objext conftest
$ac_exeext
3732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3733 (eval $ac_link) 2>conftest.er1
3735 grep -v '^ *+' conftest.er1
>conftest.err
3737 cat conftest.err
>&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } &&
3740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); }; } &&
3746 { ac_try
='test -s conftest$ac_exeext'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; }; then
3752 lt_cv_cc_needs_belf
=yes
3754 echo "$as_me: failed program was:" >&5
3755 sed 's/^/| /' conftest.
$ac_ext >&5
3757 lt_cv_cc_needs_belf
=no
3759 rm -f conftest.err conftest.
$ac_objext \
3760 conftest
$ac_exeext conftest.
$ac_ext
3762 ac_cpp
='$CPP $CPPFLAGS'
3763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3768 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3769 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3770 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3771 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3772 CFLAGS
="$SAVE_CFLAGS"
3780 # Save cache, so that ltconfig can load it
3781 cat >confcache
<<\_ACEOF
3782 # This file is a shell script that caches the results of configure
3783 # tests run on this system so they can be shared between configure
3784 # scripts and configure runs, see configure's option --config-cache.
3785 # It is not useful on other systems. If it contains results you don't
3786 # want to keep, you may remove or edit it.
3788 # config.status only pays attention to the cache file if you give it
3789 # the --recheck option to rerun configure.
3791 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3792 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3797 # The following way of writing the cache mishandles newlines in values,
3798 # but we know of no workaround that is simple, portable, and efficient.
3799 # So, don't put newlines in cache variables' values.
3800 # Ultrix sh set writes to stderr and can't be redirected directly,
3801 # and sets the high bit in the cache file unless we assign to the vars.
3804 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3806 # `set' does not quote correctly, so add quotes (double-quote
3807 # substitution turns \\\\ into \\, and sed turns \\ into \).
3810 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3813 # `set' quotes correctly as required by POSIX, so do not add quotes.
3815 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3824 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3826 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3827 if test -w $cache_file; then
3828 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3829 cat confcache
>$cache_file
3831 echo "not updating unwritable cache $cache_file"
3836 # Actually configure libtool. ac_aux_dir is where install-sh is found.
3837 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
3838 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
3839 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
3840 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
3841 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
3842 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
3843 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
3844 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
3845 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3846 echo "$as_me: error: libtool configure failed" >&2;}
3847 { (exit 1); exit 1; }; }
3849 # Reload cache, that may have been modified by ltconfig
3850 if test -r "$cache_file"; then
3851 # Some versions of bash will fail to source /dev/null (special
3852 # files actually), so we avoid doing that.
3853 if test -f "$cache_file"; then
3854 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3855 echo "$as_me: loading cache $cache_file" >&6;}
3857 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
3858 *) . .
/$cache_file;;
3862 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3863 echo "$as_me: creating cache $cache_file" >&6;}
3868 # This can be used to rebuild libtool when needed
3869 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3871 # Always use our own libtool.
3872 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
3874 # Redirect the config.log output again, so that the ltconfig log is not
3875 # clobbered by the next message.
3876 exec 5>>.
/config.log
3884 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3885 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3886 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3887 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 cat >conftest.
make <<\_ACEOF
3892 @
echo 'ac_maketemp="$(MAKE)"'
3894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3895 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3896 if test -n "$ac_maketemp"; then
3897 eval ac_cv_prog_make_
${ac_make}_set
=yes
3899 eval ac_cv_prog_make_
${ac_make}_set
=no
3903 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3904 echo "$as_me:$LINENO: result: yes" >&5
3905 echo "${ECHO_T}yes" >&6
3908 echo "$as_me:$LINENO: result: no" >&5
3909 echo "${ECHO_T}no" >&6
3910 SET_MAKE
="MAKE=${MAKE-make}"
3914 # Sanity check for the cross-compilation case:
3916 ac_cpp
='$CPP $CPPFLAGS'
3917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3920 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3921 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3922 # On Suns, sometimes $CPP names a directory.
3923 if test -n "$CPP" && test -d "$CPP"; then
3926 if test -z "$CPP"; then
3927 if test "${ac_cv_prog_CPP+set}" = set; then
3928 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 # Double quotes because CPP needs to be expanded
3931 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3934 for ac_c_preproc_warn_flag
in '' yes
3936 # Use a header file that comes with gcc, so configuring glibc
3937 # with a fresh cross-compiler works.
3938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3939 # <limits.h> exists even on freestanding compilers.
3940 # On the NeXT, cc -E runs the code through the compiler's parser,
3941 # not just through cpp. "Syntax error" is here to catch this case.
3942 cat >conftest.
$ac_ext <<_ACEOF
3945 cat confdefs.h
>>conftest.
$ac_ext
3946 cat >>conftest.
$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3949 # include <limits.h>
3951 # include <assert.h>
3955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3958 grep -v '^ *+' conftest.er1
>conftest.err
3960 cat conftest.err
>&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } >/dev
/null
; then
3963 if test -s conftest.err
; then
3964 ac_cpp_err
=$ac_c_preproc_warn_flag
3965 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3972 if test -z "$ac_cpp_err"; then
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.
$ac_ext >&5
3978 # Broken: fails on valid input.
3981 rm -f conftest.err conftest.
$ac_ext
3983 # OK, works on sane cases. Now check whether non-existent headers
3984 # can be detected and how.
3985 cat >conftest.
$ac_ext <<_ACEOF
3988 cat confdefs.h
>>conftest.
$ac_ext
3989 cat >>conftest.
$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
3991 #include <ac_nonexistent.h>
3993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3996 grep -v '^ *+' conftest.er1
>conftest.err
3998 cat conftest.err
>&5
3999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4000 (exit $ac_status); } >/dev
/null
; then
4001 if test -s conftest.err
; then
4002 ac_cpp_err
=$ac_c_preproc_warn_flag
4003 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4010 if test -z "$ac_cpp_err"; then
4011 # Broken: success on invalid input.
4014 echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.
$ac_ext >&5
4017 # Passes both tests.
4021 rm -f conftest.err conftest.
$ac_ext
4024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4025 rm -f conftest.err conftest.
$ac_ext
4026 if $ac_preproc_ok; then
4038 echo "$as_me:$LINENO: result: $CPP" >&5
4039 echo "${ECHO_T}$CPP" >&6
4041 for ac_c_preproc_warn_flag
in '' yes
4043 # Use a header file that comes with gcc, so configuring glibc
4044 # with a fresh cross-compiler works.
4045 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4046 # <limits.h> exists even on freestanding compilers.
4047 # On the NeXT, cc -E runs the code through the compiler's parser,
4048 # not just through cpp. "Syntax error" is here to catch this case.
4049 cat >conftest.
$ac_ext <<_ACEOF
4052 cat confdefs.h
>>conftest.
$ac_ext
4053 cat >>conftest.
$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4056 # include <limits.h>
4058 # include <assert.h>
4062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4063 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4065 grep -v '^ *+' conftest.er1
>conftest.err
4067 cat conftest.err
>&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); } >/dev
/null
; then
4070 if test -s conftest.err
; then
4071 ac_cpp_err
=$ac_c_preproc_warn_flag
4072 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4079 if test -z "$ac_cpp_err"; then
4082 echo "$as_me: failed program was:" >&5
4083 sed 's/^/| /' conftest.
$ac_ext >&5
4085 # Broken: fails on valid input.
4088 rm -f conftest.err conftest.
$ac_ext
4090 # OK, works on sane cases. Now check whether non-existent headers
4091 # can be detected and how.
4092 cat >conftest.
$ac_ext <<_ACEOF
4095 cat confdefs.h
>>conftest.
$ac_ext
4096 cat >>conftest.
$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4098 #include <ac_nonexistent.h>
4100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4103 grep -v '^ *+' conftest.er1
>conftest.err
4105 cat conftest.err
>&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); } >/dev
/null
; then
4108 if test -s conftest.err
; then
4109 ac_cpp_err
=$ac_c_preproc_warn_flag
4110 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4117 if test -z "$ac_cpp_err"; then
4118 # Broken: success on invalid input.
4121 echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.
$ac_ext >&5
4124 # Passes both tests.
4128 rm -f conftest.err conftest.
$ac_ext
4131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4132 rm -f conftest.err conftest.
$ac_ext
4133 if $ac_preproc_ok; then
4136 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4137 See \`config.log' for more details." >&5
4138 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4139 See \`config.log' for more details." >&2;}
4140 { (exit 1); exit 1; }; }
4144 ac_cpp
='$CPP $CPPFLAGS'
4145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4150 echo "$as_me:$LINENO: checking for egrep" >&5
4151 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4152 if test "${ac_cv_prog_egrep+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4156 then ac_cv_prog_egrep
='grep -E'
4157 else ac_cv_prog_egrep
='egrep'
4160 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4161 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4162 EGREP
=$ac_cv_prog_egrep
4165 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4166 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4167 if test "${ac_cv_header_stdc+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 cat >conftest.
$ac_ext <<_ACEOF
4173 cat confdefs.h
>>conftest.
$ac_ext
4174 cat >>conftest.
$ac_ext <<_ACEOF
4175 /* end confdefs.h. */
4189 rm -f conftest.
$ac_objext
4190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4191 (eval $ac_compile) 2>conftest.er1
4193 grep -v '^ *+' conftest.er1
>conftest.err
4195 cat conftest.err
>&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); } &&
4198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; } &&
4204 { ac_try
='test -s conftest.$ac_objext'
4205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); }; }; then
4210 ac_cv_header_stdc
=yes
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.
$ac_ext >&5
4215 ac_cv_header_stdc
=no
4217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4219 if test $ac_cv_header_stdc = yes; then
4220 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4221 cat >conftest.
$ac_ext <<_ACEOF
4224 cat confdefs.h
>>conftest.
$ac_ext
4225 cat >>conftest.
$ac_ext <<_ACEOF
4226 /* end confdefs.h. */
4230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4231 $EGREP "memchr" >/dev
/null
2>&1; then
4234 ac_cv_header_stdc
=no
4240 if test $ac_cv_header_stdc = yes; then
4241 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4242 cat >conftest.
$ac_ext <<_ACEOF
4245 cat confdefs.h
>>conftest.
$ac_ext
4246 cat >>conftest.
$ac_ext <<_ACEOF
4247 /* end confdefs.h. */
4251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4252 $EGREP "free" >/dev
/null
2>&1; then
4255 ac_cv_header_stdc
=no
4261 if test $ac_cv_header_stdc = yes; then
4262 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4263 if test "$cross_compiling" = yes; then
4266 cat >conftest.
$ac_ext <<_ACEOF
4269 cat confdefs.h
>>conftest.
$ac_ext
4270 cat >>conftest.
$ac_ext <<_ACEOF
4271 /* end confdefs.h. */
4273 #if ((' ' & 0x0FF) == 0x020)
4274 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4275 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4277 # define ISLOWER(c) \
4278 (('a' <= (c) && (c) <= 'i') \
4279 || ('j' <= (c) && (c) <= 'r') \
4280 || ('s' <= (c) && (c) <= 'z'))
4281 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4284 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4289 for (i = 0; i < 256; i++)
4290 if (XOR (islower (i), ISLOWER (i))
4291 || toupper (i) != TOUPPER (i))
4296 rm -f conftest
$ac_exeext
4297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4298 (eval $ac_link) 2>&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); }; }; then
4309 echo "$as_me: program exited with status $ac_status" >&5
4310 echo "$as_me: failed program was:" >&5
4311 sed 's/^/| /' conftest.
$ac_ext >&5
4314 ac_cv_header_stdc
=no
4316 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4320 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4321 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4322 if test $ac_cv_header_stdc = yes; then
4324 cat >>confdefs.h
<<\_ACEOF
4325 #define STDC_HEADERS 1
4330 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4340 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4341 inttypes.h stdint.h unistd.h
4343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4344 echo "$as_me:$LINENO: checking for $ac_header" >&5
4345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 cat >conftest.
$ac_ext <<_ACEOF
4352 cat confdefs.h
>>conftest.
$ac_ext
4353 cat >>conftest.
$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4355 $ac_includes_default
4357 #include <$ac_header>
4359 rm -f conftest.
$ac_objext
4360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4361 (eval $ac_compile) 2>conftest.er1
4363 grep -v '^ *+' conftest.er1
>conftest.err
4365 cat conftest.err
>&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } &&
4368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); }; } &&
4374 { ac_try
='test -s conftest.$ac_objext'
4375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }; }; then
4380 eval "$as_ac_Header=yes"
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.
$ac_ext >&5
4385 eval "$as_ac_Header=no"
4387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4392 cat >>confdefs.h
<<_ACEOF
4393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4401 if test "${ac_cv_header_stdio_h+set}" = set; then
4402 echo "$as_me:$LINENO: checking for stdio.h" >&5
4403 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
4404 if test "${ac_cv_header_stdio_h+set}" = set; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
4408 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
4410 # Is the header compilable?
4411 echo "$as_me:$LINENO: checking stdio.h usability" >&5
4412 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6
4413 cat >conftest.
$ac_ext <<_ACEOF
4416 cat confdefs.h
>>conftest.
$ac_ext
4417 cat >>conftest.
$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4419 $ac_includes_default
4422 rm -f conftest.
$ac_objext
4423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4424 (eval $ac_compile) 2>conftest.er1
4426 grep -v '^ *+' conftest.er1
>conftest.err
4428 cat conftest.err
>&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } &&
4431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; } &&
4437 { ac_try
='test -s conftest.$ac_objext'
4438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; }; then
4443 ac_header_compiler
=yes
4445 echo "$as_me: failed program was:" >&5
4446 sed 's/^/| /' conftest.
$ac_ext >&5
4448 ac_header_compiler
=no
4450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4452 echo "${ECHO_T}$ac_header_compiler" >&6
4454 # Is the header present?
4455 echo "$as_me:$LINENO: checking stdio.h presence" >&5
4456 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6
4457 cat >conftest.
$ac_ext <<_ACEOF
4460 cat confdefs.h
>>conftest.
$ac_ext
4461 cat >>conftest.
$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4468 grep -v '^ *+' conftest.er1
>conftest.err
4470 cat conftest.err
>&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); } >/dev
/null
; then
4473 if test -s conftest.err
; then
4474 ac_cpp_err
=$ac_c_preproc_warn_flag
4475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4482 if test -z "$ac_cpp_err"; then
4483 ac_header_preproc
=yes
4485 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.
$ac_ext >&5
4488 ac_header_preproc
=no
4490 rm -f conftest.err conftest.
$ac_ext
4491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4492 echo "${ECHO_T}$ac_header_preproc" >&6
4494 # So? What about this header?
4495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4497 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5
4498 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4499 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5
4500 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;}
4501 ac_header_preproc
=yes
4504 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5
4505 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;}
4506 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5
4507 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;}
4508 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5
4509 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;}
4510 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5
4511 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;}
4512 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5
4513 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;}
4514 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5
4515 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;}
4518 ## ------------------------------------------ ##
4519 ## Report this to the AC_PACKAGE_NAME lists. ##
4520 ## ------------------------------------------ ##
4523 sed "s/^/$as_me: WARNING: /" >&2
4526 echo "$as_me:$LINENO: checking for stdio.h" >&5
4527 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
4528 if test "${ac_cv_header_stdio_h+set}" = set; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 ac_cv_header_stdio_h
=$ac_header_preproc
4533 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
4534 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
4537 if test $ac_cv_header_stdio_h = yes; then
4540 { { echo "$as_me:$LINENO: error: Can't find stdio.h.
4541 You must have a usable C system for the target already installed, at least
4542 including headers and, preferably, the library, before you can configure
4543 the Objective C runtime system. If necessary, install gcc now with
4544 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&5
4545 echo "$as_me: error: Can't find stdio.h.
4546 You must have a usable C system for the target already installed, at least
4547 including headers and, preferably, the library, before you can configure
4548 the Objective C runtime system. If necessary, install gcc now with
4549 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&2;}
4550 { (exit 1); exit 1; }; }
4555 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4556 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4557 if test "${ac_cv_header_stdc+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 cat >conftest.
$ac_ext <<_ACEOF
4563 cat confdefs.h
>>conftest.
$ac_ext
4564 cat >>conftest.
$ac_ext <<_ACEOF
4565 /* end confdefs.h. */
4579 rm -f conftest.
$ac_objext
4580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4581 (eval $ac_compile) 2>conftest.er1
4583 grep -v '^ *+' conftest.er1
>conftest.err
4585 cat conftest.err
>&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } &&
4588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); }; } &&
4594 { ac_try
='test -s conftest.$ac_objext'
4595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); }; }; then
4600 ac_cv_header_stdc
=yes
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.
$ac_ext >&5
4605 ac_cv_header_stdc
=no
4607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4609 if test $ac_cv_header_stdc = yes; then
4610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4611 cat >conftest.
$ac_ext <<_ACEOF
4614 cat confdefs.h
>>conftest.
$ac_ext
4615 cat >>conftest.
$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4621 $EGREP "memchr" >/dev
/null
2>&1; then
4624 ac_cv_header_stdc
=no
4630 if test $ac_cv_header_stdc = yes; then
4631 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4632 cat >conftest.
$ac_ext <<_ACEOF
4635 cat confdefs.h
>>conftest.
$ac_ext
4636 cat >>conftest.
$ac_ext <<_ACEOF
4637 /* end confdefs.h. */
4641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4642 $EGREP "free" >/dev
/null
2>&1; then
4645 ac_cv_header_stdc
=no
4651 if test $ac_cv_header_stdc = yes; then
4652 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4653 if test "$cross_compiling" = yes; then
4656 cat >conftest.
$ac_ext <<_ACEOF
4659 cat confdefs.h
>>conftest.
$ac_ext
4660 cat >>conftest.
$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4663 #if ((' ' & 0x0FF) == 0x020)
4664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4667 # define ISLOWER(c) \
4668 (('a' <= (c) && (c) <= 'i') \
4669 || ('j' <= (c) && (c) <= 'r') \
4670 || ('s' <= (c) && (c) <= 'z'))
4671 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4679 for (i = 0; i < 256; i++)
4680 if (XOR (islower (i), ISLOWER (i))
4681 || toupper (i) != TOUPPER (i))
4686 rm -f conftest
$ac_exeext
4687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4688 (eval $ac_link) 2>&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; }; then
4699 echo "$as_me: program exited with status $ac_status" >&5
4700 echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.
$ac_ext >&5
4704 ac_cv_header_stdc
=no
4706 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4710 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4711 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4712 if test $ac_cv_header_stdc = yes; then
4714 cat >>confdefs.h
<<\_ACEOF
4715 #define STDC_HEADERS 1
4722 for ac_header
in sched.h
4724 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4726 echo "$as_me:$LINENO: checking for $ac_header" >&5
4727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4729 echo $ECHO_N "(cached) $ECHO_C" >&6
4731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4734 # Is the header compilable?
4735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4737 cat >conftest.
$ac_ext <<_ACEOF
4740 cat confdefs.h
>>conftest.
$ac_ext
4741 cat >>conftest.
$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 $ac_includes_default
4744 #include <$ac_header>
4746 rm -f conftest.
$ac_objext
4747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4748 (eval $ac_compile) 2>conftest.er1
4750 grep -v '^ *+' conftest.er1
>conftest.err
4752 cat conftest.err
>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } &&
4755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); }; } &&
4761 { ac_try
='test -s conftest.$ac_objext'
4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }; }; then
4767 ac_header_compiler
=yes
4769 echo "$as_me: failed program was:" >&5
4770 sed 's/^/| /' conftest.
$ac_ext >&5
4772 ac_header_compiler
=no
4774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4776 echo "${ECHO_T}$ac_header_compiler" >&6
4778 # Is the header present?
4779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4781 cat >conftest.
$ac_ext <<_ACEOF
4784 cat confdefs.h
>>conftest.
$ac_ext
4785 cat >>conftest.
$ac_ext <<_ACEOF
4786 /* end confdefs.h. */
4787 #include <$ac_header>
4789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4792 grep -v '^ *+' conftest.er1
>conftest.err
4794 cat conftest.err
>&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } >/dev
/null
; then
4797 if test -s conftest.err
; then
4798 ac_cpp_err
=$ac_c_preproc_warn_flag
4799 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4806 if test -z "$ac_cpp_err"; then
4807 ac_header_preproc
=yes
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.
$ac_ext >&5
4812 ac_header_preproc
=no
4814 rm -f conftest.err conftest.
$ac_ext
4815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4816 echo "${ECHO_T}$ac_header_preproc" >&6
4818 # So? What about this header?
4819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4825 ac_header_preproc
=yes
4828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4842 ## ------------------------------------------ ##
4843 ## Report this to the AC_PACKAGE_NAME lists. ##
4844 ## ------------------------------------------ ##
4847 sed "s/^/$as_me: WARNING: /" >&2
4850 echo "$as_me:$LINENO: checking for $ac_header" >&5
4851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 eval "$as_ac_Header=\$ac_header_preproc"
4857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4862 cat >>confdefs.h
<<_ACEOF
4863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4871 # Determine CFLAGS for gthread.
4872 # FIXME: the current implementation is dependent on the 'r' variable
4873 # passed down from the top level
4874 echo "$as_me:$LINENO: checking for gthread cflags" >&5
4875 echo $ECHO_N "checking for gthread cflags... $ECHO_C" >&6
4876 if test "${objc_cv_gthread_flags+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 if test -f "$r"/gcc
/Makefile
4881 objc_cv_gthread_flags
=`grep \^GTHREAD_FLAGS "$r"/gcc/Makefile | awk -F= '{ print $2 }'`
4883 { { echo "$as_me:$LINENO: error: not found" >&5
4884 echo "$as_me: error: not found" >&2;}
4885 { (exit 1); exit 1; }; }
4888 echo "$as_me:$LINENO: result: $objc_cv_gthread_flags" >&5
4889 echo "${ECHO_T}$objc_cv_gthread_flags" >&6
4890 GTHREAD_FLAGS
=$objc_cv_gthread_flags
4893 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4894 if test "${enable_objc_gc+set}" = set; then
4895 enableval
="$enable_objc_gc"
4896 case $enable_objc_gc in
4897 no
) OBJC_BOEHM_GC
='' ;;
4898 *) OBJC_BOEHM_GC
=libobjc_gc.la
;;
4905 # We need multilib support, but only if configuring for the target.
4906 ac_config_files
="$ac_config_files Makefile"
4907 ac_config_commands
="$ac_config_commands default"
4908 cat >confcache
<<\_ACEOF
4909 # This file is a shell script that caches the results of configure
4910 # tests run on this system so they can be shared between configure
4911 # scripts and configure runs, see configure's option --config-cache.
4912 # It is not useful on other systems. If it contains results you don't
4913 # want to keep, you may remove or edit it.
4915 # config.status only pays attention to the cache file if you give it
4916 # the --recheck option to rerun configure.
4918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4924 # The following way of writing the cache mishandles newlines in values,
4925 # but we know of no workaround that is simple, portable, and efficient.
4926 # So, don't put newlines in cache variables' values.
4927 # Ultrix sh set writes to stderr and can't be redirected directly,
4928 # and sets the high bit in the cache file unless we assign to the vars.
4931 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4933 # `set' does not quote correctly, so add quotes (double-quote
4934 # substitution turns \\\\ into \\, and sed turns \\ into \).
4937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4940 # `set' quotes correctly as required by POSIX, so do not add quotes.
4942 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4951 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4953 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4954 if test -w $cache_file; then
4955 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4956 cat confcache
>$cache_file
4958 echo "not updating unwritable cache $cache_file"
4963 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4964 # Let make expand exec_prefix.
4965 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4967 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4968 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4969 # trailing colons and then remove the whole line if VPATH becomes empty
4970 # (actually we leave an empty line to preserve line numbers).
4971 if test "x$srcdir" = x.
; then
4972 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4973 s/:*\$(srcdir):*/:/;
4974 s/:*\${srcdir}:*/:/;
4976 s/^\([^=]*=[ ]*\):*/\1/;
4982 DEFS
=-DHAVE_CONFIG_H
4986 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4987 # 1. Remove the extension, and $U if already installed.
4988 ac_i
=`echo "$ac_i" |
4989 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4991 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4992 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4996 LTLIBOBJS
=$ac_ltlibobjs
5000 : ${CONFIG_STATUS=./config.status}
5001 ac_clean_files_save
=$ac_clean_files
5002 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5003 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5004 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5005 cat >$CONFIG_STATUS <<_ACEOF
5007 # Generated by $as_me.
5008 # Run this file to recreate the current configuration.
5009 # Compiler output produced by configure, useful for debugging
5010 # configure, is in config.log if it exists.
5015 SHELL=\${CONFIG_SHELL-$SHELL}
5018 cat >>$CONFIG_STATUS <<\_ACEOF
5019 ## --------------------- ##
5020 ## M4sh Initialization. ##
5021 ## --------------------- ##
5023 # Be Bourne compatible
5024 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5027 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5028 # is contrary to our usage. Disable this feature.
5029 alias -g '${1+"$@"}'='"$@"'
5030 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5033 DUALCASE
=1; export DUALCASE
# for MKS sh
5035 # Support unset when possible.
5036 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5043 # Work around bugs in pre-3.0 UWIN ksh.
5044 $as_unset ENV MAIL MAILPATH
5051 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5052 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5053 LC_TELEPHONE LC_TIME
5055 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5056 eval $as_var=C
; export $as_var
5062 # Required to use basename.
5063 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5069 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5070 as_basename
=basename
5076 # Name of the executable.
5077 as_me
=`$as_basename "$0" ||
5078 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5079 X"$0" : 'X\(//\)$' \| \
5080 X"$0" : 'X\(/\)$' \| \
5081 . : '\(.\)' 2>/dev/null ||
5083 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5084 /^X\/\(\/\/\)$/{ s//\1/; q; }
5085 /^X\/\(\/\).*/{ s//\1/; q; }
5089 # PATH needs CR, and LINENO needs CR and PATH.
5090 # Avoid depending upon Character Ranges.
5091 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5092 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5093 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5094 as_cr_digits
='0123456789'
5095 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5097 # The user is always right.
5098 if test "${PATH_SEPARATOR+set}" != set; then
5099 echo "#! /bin/sh" >conf$$.sh
5100 echo "exit 0" >>conf$$.sh
5102 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5113 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5114 test "x$as_lineno_1" != "x$as_lineno_2" &&
5115 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5116 # Find who we are. Look in the path if we contain no path at all
5119 *[\\/]* ) as_myself
=$0 ;;
5120 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir
=.
5125 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5130 # We did not find ourselves, most probably we were run as `sh COMMAND'
5131 # in which case we are not to be found in the path.
5132 if test "x$as_myself" = x
; then
5135 if test ! -f "$as_myself"; then
5136 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5137 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5138 { (exit 1); exit 1; }; }
5140 case $CONFIG_SHELL in
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5146 test -z "$as_dir" && as_dir
=.
5147 for as_base
in sh bash ksh sh5
; do
5150 if ("$as_dir/$as_base" -c '
5153 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5154 test "x$as_lineno_1" != "x$as_lineno_2" &&
5155 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5156 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5157 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5158 CONFIG_SHELL
=$as_dir/$as_base
5160 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5168 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5169 # uniformly replaced by the line number. The first 'sed' inserts a
5170 # line-number line before each line; the second 'sed' does the real
5171 # work. The second script uses 'N' to pair each line-number line
5172 # with the numbered line, and appends trailing '-' during
5173 # substitution so that $LINENO is not a special case at line end.
5174 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5175 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5176 sed '=' <$as_myself |
5181 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5184 s,^['$as_cr_digits']*\n,,
5186 chmod +x
$as_me.lineno ||
5187 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5188 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5189 { (exit 1); exit 1; }; }
5191 # Don't try to exec as it changes $[0], causing all sort of problems
5192 # (the dirname of $[0] is not the place where we might find the
5193 # original and so on. Autoconf is especially sensible to this).
5195 # Exit status is that of the last command.
5200 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5201 *c
*,-n*) ECHO_N
= ECHO_C
='
5203 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5204 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5207 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5213 rm -f conf$$ conf$$.exe conf$$.
file
5215 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5216 # We could just check for DJGPP; but this test a) works b) is more generic
5217 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5218 if test -f conf$$.exe
; then
5219 # Don't use ln at all; we don't have any links
5224 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5229 rm -f conf$$ conf$$.exe conf$$.
file
5231 if mkdir
-p .
2>/dev
/null
; then
5234 test -d .
/-p && rmdir .
/-p
5238 as_executable_p
="test -f"
5240 # Sed expression to map a string onto a valid CPP name.
5241 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5243 # Sed expression to map a string onto a valid variable name.
5244 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5248 # We need space, tab and new line, in precisely that order.
5258 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5259 # report actual input values of CONFIG_FILES etc. instead of their
5260 # values after options handling. Logging --version etc. is OK.
5264 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5265 ## Running $as_me. ##
5270 This file was extended by $as_me, which was
5271 generated by GNU Autoconf 2.59. Invocation command line was
5273 CONFIG_FILES = $CONFIG_FILES
5274 CONFIG_HEADERS = $CONFIG_HEADERS
5275 CONFIG_LINKS = $CONFIG_LINKS
5276 CONFIG_COMMANDS = $CONFIG_COMMANDS
5280 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5284 # Files that config.status was made for.
5285 if test -n "$ac_config_files"; then
5286 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5289 if test -n "$ac_config_headers"; then
5290 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5293 if test -n "$ac_config_links"; then
5294 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5297 if test -n "$ac_config_commands"; then
5298 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5301 cat >>$CONFIG_STATUS <<\_ACEOF
5304 \`$as_me' instantiates files from templates according to the
5305 current configuration.
5307 Usage: $0 [OPTIONS] [FILE]...
5309 -h, --help print this help, then exit
5310 -V, --version print version number, then exit
5311 -q, --quiet do not print progress messages
5312 -d, --debug don't remove temporary files
5313 --recheck update $as_me by reconfiguring in the same conditions
5314 --file=FILE[:TEMPLATE]
5315 instantiate the configuration file FILE
5316 --header=FILE[:TEMPLATE]
5317 instantiate the configuration header FILE
5319 Configuration files:
5322 Configuration headers:
5325 Configuration commands:
5328 Report bugs to <bug-autoconf@gnu.org>."
5331 cat >>$CONFIG_STATUS <<_ACEOF
5334 configured by $0, generated by GNU Autoconf 2.59,
5335 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5337 Copyright (C) 2003 Free Software Foundation, Inc.
5338 This config.status script is free software; the Free Software Foundation
5339 gives unlimited permission to copy, distribute and modify it."
5344 cat >>$CONFIG_STATUS <<\_ACEOF
5345 # If no file are specified by the user, then we need to provide default
5346 # value. By we need to know if files were specified by the user.
5352 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5353 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5361 *) # This is not an option, so the user has probably given explicit
5364 ac_need_defaults
=false
;;
5368 # Handling of the options.
5370 cat >>$CONFIG_STATUS <<\_ACEOF
5371 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5373 --version |
--vers* |
-V )
5374 echo "$ac_cs_version"; exit 0 ;;
5376 # Conflict between --help and --header
5377 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5378 Try \`$0 --help' for more information." >&5
5379 echo "$as_me: error: ambiguous option: $1
5380 Try \`$0 --help' for more information." >&2;}
5381 { (exit 1); exit 1; }; };;
5382 --help |
--hel |
-h )
5383 echo "$ac_cs_usage"; exit 0 ;;
5384 --debug |
--d* |
-d )
5386 --file |
--fil |
--fi |
--f )
5388 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5389 ac_need_defaults
=false
;;
5390 --header |
--heade |
--head |
--hea )
5392 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5393 ac_need_defaults
=false
;;
5394 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5395 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5399 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5400 Try \`$0 --help' for more information." >&5
5401 echo "$as_me: error: unrecognized option: $1
5402 Try \`$0 --help' for more information." >&2;}
5403 { (exit 1); exit 1; }; } ;;
5405 *) ac_config_targets
="$ac_config_targets $1" ;;
5411 ac_configure_extra_args
=
5413 if $ac_cs_silent; then
5415 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5419 cat >>$CONFIG_STATUS <<_ACEOF
5420 if \$ac_cs_recheck; then
5421 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5422 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5427 cat >>$CONFIG_STATUS <<_ACEOF
5429 # INIT-COMMANDS section.
5435 with_target_subdir=${with_target_subdir}
5436 with_multisubdir=${with_multisubdir}
5437 ac_configure_args="--enable-multilib ${ac_configure_args}"
5438 toplevel_srcdir=${toplevel_srcdir}
5439 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5440 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
5447 cat >>$CONFIG_STATUS <<\_ACEOF
5448 for ac_config_target
in $ac_config_targets
5450 case "$ac_config_target" in
5451 # Handling of arguments.
5452 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5453 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5454 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5455 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5456 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5457 { (exit 1); exit 1; }; };;
5461 # If the user did not use the arguments to specify the items to instantiate,
5462 # then the envvar interface is used. Set only those that are not.
5463 # We use the long form for the default assignment because of an extremely
5464 # bizarre bug on SunOS 4.1.3.
5465 if $ac_need_defaults; then
5466 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5467 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5468 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5471 # Have a temporary directory for convenience. Make it in the build tree
5472 # simply because there is no reason to put it here, and in addition,
5473 # creating and moving files from /tmp can sometimes cause problems.
5474 # Create a temporary directory, and hook for its removal unless debugging.
5477 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5478 trap '{ (exit 1); exit 1; }' 1 2 13 15
5481 # Create a (secure) tmp directory for tmp files.
5484 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5485 test -n "$tmp" && test -d "$tmp"
5488 tmp
=.
/confstat$$
-$RANDOM
5489 (umask 077 && mkdir
$tmp)
5492 echo "$me: cannot create a temporary directory in ." >&2
5493 { (exit 1); exit 1; }
5498 cat >>$CONFIG_STATUS <<_ACEOF
5501 # CONFIG_FILES section.
5504 # No need to generate the scripts if there are no CONFIG_FILES.
5505 # This happens for instance when ./config.status config.h
5506 if test -n "\$CONFIG_FILES"; then
5507 # Protect against being on the right side of a sed subst in config.status.
5508 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5509 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5510 s,@SHELL@,$SHELL,;t t
5511 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5512 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5513 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5514 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5515 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5516 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5517 s,@exec_prefix@,$exec_prefix,;t t
5518 s,@prefix@,$prefix,;t t
5519 s,@program_transform_name@,$program_transform_name,;t t
5520 s,@bindir@,$bindir,;t t
5521 s,@sbindir@,$sbindir,;t t
5522 s,@libexecdir@,$libexecdir,;t t
5523 s,@datadir@,$datadir,;t t
5524 s,@sysconfdir@,$sysconfdir,;t t
5525 s,@sharedstatedir@,$sharedstatedir,;t t
5526 s,@localstatedir@,$localstatedir,;t t
5527 s,@libdir@,$libdir,;t t
5528 s,@includedir@,$includedir,;t t
5529 s,@oldincludedir@,$oldincludedir,;t t
5530 s,@infodir@,$infodir,;t t
5531 s,@mandir@,$mandir,;t t
5532 s,@build_alias@,$build_alias,;t t
5533 s,@host_alias@,$host_alias,;t t
5534 s,@target_alias@,$target_alias,;t t
5536 s,@ECHO_C@,$ECHO_C,;t t
5537 s,@ECHO_N@,$ECHO_N,;t t
5538 s,@ECHO_T@,$ECHO_T,;t t
5540 s,@VERSION@,$VERSION,;t t
5541 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
5542 s,@build@,$build,;t t
5543 s,@build_cpu@,$build_cpu,;t t
5544 s,@build_vendor@,$build_vendor,;t t
5545 s,@build_os@,$build_os,;t t
5547 s,@host_cpu@,$host_cpu,;t t
5548 s,@host_vendor@,$host_vendor,;t t
5549 s,@host_os@,$host_os,;t t
5550 s,@target@,$target,;t t
5551 s,@target_cpu@,$target_cpu,;t t
5552 s,@target_vendor@,$target_vendor,;t t
5553 s,@target_os@,$target_os,;t t
5554 s,@target_noncanonical@,$target_noncanonical,;t t
5555 s,@glibcpp_builddir@,$glibcpp_builddir,;t t
5556 s,@glibcpp_srcdir@,$glibcpp_srcdir,;t t
5558 s,@CFLAGS@,$CFLAGS,;t t
5559 s,@LDFLAGS@,$LDFLAGS,;t t
5560 s,@CPPFLAGS@,$CPPFLAGS,;t t
5561 s,@ac_ct_CC@,$ac_ct_CC,;t t
5562 s,@EXEEXT@,$EXEEXT,;t t
5563 s,@OBJEXT@,$OBJEXT,;t t
5565 s,@ac_ct_AS@,$ac_ct_AS,;t t
5567 s,@ac_ct_AR@,$ac_ct_AR,;t t
5568 s,@RANLIB@,$RANLIB,;t t
5569 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5570 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5571 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5572 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5573 s,@gcc_version@,$gcc_version,;t t
5574 s,@gcc_version_trigger@,$gcc_version_trigger,;t t
5575 s,@glibcpp_toolexecdir@,$glibcpp_toolexecdir,;t t
5576 s,@glibcpp_toolexeclibdir@,$glibcpp_toolexeclibdir,;t t
5577 s,@glibcpp_prefixdir@,$glibcpp_prefixdir,;t t
5579 s,@STRIP@,$STRIP,;t t
5580 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5581 s,@LIBTOOL@,$LIBTOOL,;t t
5582 s,@SET_MAKE@,$SET_MAKE,;t t
5584 s,@EGREP@,$EGREP,;t t
5585 s,@GTHREAD_FLAGS@,$GTHREAD_FLAGS,;t t
5586 s,@OBJC_BOEHM_GC@,$OBJC_BOEHM_GC,;t t
5587 s,@LIBOBJS@,$LIBOBJS,;t t
5588 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5593 cat >>$CONFIG_STATUS <<\_ACEOF
5594 # Split the substitutions into bite-sized pieces for seds with
5595 # small command number limits, like on Digital OSF/1 and HP-UX.
5597 ac_sed_frag
=1 # Number of current file.
5598 ac_beg
=1 # First line for current file.
5599 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5602 while $ac_more_lines; do
5603 if test $ac_beg -gt 1; then
5604 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5606 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5608 if test ! -s $tmp/subs.frag
; then
5611 # The purpose of the label and of the branching condition is to
5612 # speed up the sed processing (if there are no `@' at all, there
5613 # is no need to browse any of the substitutions).
5614 # These are the two extra sed commands mentioned above.
5616 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5617 if test -z "$ac_sed_cmds"; then
5618 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5620 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5622 ac_sed_frag
=`expr $ac_sed_frag + 1`
5624 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5627 if test -z "$ac_sed_cmds"; then
5630 fi # test -n "$CONFIG_FILES"
5633 cat >>$CONFIG_STATUS <<\_ACEOF
5634 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5635 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5637 - |
*:- |
*:-:* ) # input from stdin
5639 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5640 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5641 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5642 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5643 * ) ac_file_in
=$ac_file.
in ;;
5646 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5647 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5648 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5649 X"$ac_file" : 'X\(//\)[^/]' \| \
5650 X"$ac_file" : 'X\(//\)$' \| \
5651 X"$ac_file" : 'X\(/\)' \| \
5652 . : '\(.\)' 2>/dev/null ||
5654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5655 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5656 /^X\(\/\/\)$/{ s//\1/; q; }
5657 /^X\(\/\).*/{ s//\1/; q; }
5659 { if $as_mkdir_p; then
5664 while test ! -d "$as_dir"; do
5665 as_dirs
="$as_dir $as_dirs"
5666 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5667 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5668 X"$as_dir" : 'X\(//\)[^/]' \| \
5669 X"$as_dir" : 'X\(//\)$' \| \
5670 X"$as_dir" : 'X\(/\)' \| \
5671 . : '\(.\)' 2>/dev/null ||
5673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5674 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5675 /^X\(\/\/\)$/{ s//\1/; q; }
5676 /^X\(\/\).*/{ s//\1/; q; }
5679 test ! -n "$as_dirs" || mkdir
$as_dirs
5680 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5681 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5682 { (exit 1); exit 1; }; }; }
5686 if test "$ac_dir" != .
; then
5687 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5688 # A "../" for each directory in $ac_dir_suffix.
5689 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5691 ac_dir_suffix
= ac_top_builddir
=
5695 .
) # No --srcdir option. We are building in place.
5697 if test -z "$ac_top_builddir"; then
5700 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5702 [\\/]* | ?
:[\\/]* ) # Absolute path.
5703 ac_srcdir
=$srcdir$ac_dir_suffix;
5704 ac_top_srcdir
=$srcdir ;;
5706 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5707 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5710 # Do not use `cd foo && pwd` to compute absolute paths, because
5711 # the directories may not exist.
5713 .
) ac_abs_builddir
="$ac_dir";;
5716 .
) ac_abs_builddir
=`pwd`;;
5717 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5718 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5721 case $ac_abs_builddir in
5722 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5724 case ${ac_top_builddir}.
in
5725 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5726 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5727 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5730 case $ac_abs_builddir in
5731 .
) ac_abs_srcdir
=$ac_srcdir;;
5734 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5735 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5736 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5739 case $ac_abs_builddir in
5740 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5742 case $ac_top_srcdir in
5743 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5744 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5745 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5751 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5752 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5755 # Let's still pretend it is `configure' which instantiates (i.e., don't
5756 # use $as_me), people would be surprised to read:
5757 # /* config.h. Generated by config.status. */
5758 if test x
"$ac_file" = x-
; then
5761 configure_input
="$ac_file. "
5763 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5764 sed 's,.*/,,'` by configure."
5766 # First look for the input files in the build tree, otherwise in the
5768 ac_file_inputs
=`IFS=:
5769 for f in $ac_file_in; do
5771 -) echo $tmp/stdin ;;
5773 # Absolute (can't be DOS-style, as IFS=:)
5774 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5775 echo "$as_me: error: cannot find input file: $f" >&2;}
5776 { (exit 1); exit 1; }; }
5779 if test -f "$f"; then
5782 elif test -f "$srcdir/$f"; then
5787 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5788 echo "$as_me: error: cannot find input file: $f" >&2;}
5789 { (exit 1); exit 1; }; }
5792 done` ||
{ (exit 1); exit 1; }
5794 if test x
"$ac_file" != x-
; then
5795 { echo "$as_me:$LINENO: creating $ac_file" >&5
5796 echo "$as_me: creating $ac_file" >&6;}
5800 cat >>$CONFIG_STATUS <<_ACEOF
5804 cat >>$CONFIG_STATUS <<\_ACEOF
5806 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5807 s
,@configure_input@
,$configure_input,;t t
5808 s
,@srcdir@
,$ac_srcdir,;t t
5809 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5810 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5811 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5812 s
,@builddir@
,$ac_builddir,;t t
5813 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5814 s
,@top_builddir@
,$ac_top_builddir,;t t
5815 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5816 s
,@INSTALL@
,$ac_INSTALL,;t t
5817 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5819 if test x"$ac_file" != x-; then
5820 mv $tmp/out $ac_file
5828 cat >>$CONFIG_STATUS <<\_ACEOF
5831 # CONFIG_HEADER section.
5834 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5835 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5837 # ac_d sets the value in "#define NAME VALUE" lines.
5838 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5839 ac_dB
='[ ].*$,\1#\2'
5842 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5843 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5844 ac_uB
='$,\1#\2define\3'
5848 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5849 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5851 - |
*:- |
*:-:* ) # input from stdin
5853 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5854 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5855 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5856 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5857 * ) ac_file_in
=$ac_file.
in ;;
5860 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5861 echo "$as_me: creating $ac_file" >&6;}
5863 # First look for the input files in the build tree, otherwise in the
5865 ac_file_inputs
=`IFS=:
5866 for f in $ac_file_in; do
5868 -) echo $tmp/stdin ;;
5870 # Absolute (can't be DOS-style, as IFS=:)
5871 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5872 echo "$as_me: error: cannot find input file: $f" >&2;}
5873 { (exit 1); exit 1; }; }
5874 # Do quote $f, to prevent DOS paths from being IFS'd.
5877 if test -f "$f"; then
5880 elif test -f "$srcdir/$f"; then
5885 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5886 echo "$as_me: error: cannot find input file: $f" >&2;}
5887 { (exit 1); exit 1; }; }
5890 done` ||
{ (exit 1); exit 1; }
5891 # Remove the trailing spaces.
5892 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5896 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5897 # `conftest.undefs', that substitutes the proper values into
5898 # config.h.in to produce config.h. The first handles `#define'
5899 # templates, and the second `#undef' templates.
5900 # And first: Protect against being on the right side of a sed subst in
5901 # config.status. Protect against being in an unquoted here document
5903 rm -f conftest.defines conftest.undefs
5904 # Using a here document instead of a string reduces the quoting nightmare.
5905 # Putting comments in sed scripts is not portable.
5907 # `end' is used to avoid that the second main sed command (meant for
5908 # 0-ary CPP macros) applies to n-ary macro definitions.
5909 # See the Autoconf documentation for `clear'.
5910 cat >confdef2sed.
sed <<\_ACEOF
5915 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5917 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5920 # If some macros were called several times there might be several times
5921 # the same #defines, which is useless. Nevertheless, we may not want to
5922 # sort them, since we want the *last* AC-DEFINE to be honored.
5923 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5924 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5925 rm -f confdef2sed.sed
5927 # This sed command replaces #undef with comments. This is necessary, for
5928 # example, in the case of _POSIX_SOURCE, which is predefined and required
5929 # on some systems where configure will not decide to define it.
5930 cat >>conftest.undefs <<\_ACEOF
5931 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5934 # Break up conftest.defines because some shells have a limit on the size
5935 # of here documents, and old seds have small limits too (100 cmds).
5936 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5937 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5938 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5939 echo ' :' >>$CONFIG_STATUS
5941 while grep . conftest.defines >/dev/null
5943 # Write a limited-size here document to $tmp/defines.sed.
5944 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5945 # Speed up: don't consider the non `#define' lines.
5946 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5947 # Work around the forget-to-reset-the-flag bug.
5948 echo 't clr' >>$CONFIG_STATUS
5949 echo ': clr' >>$CONFIG_STATUS
5950 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5952 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5956 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5957 rm -f conftest.defines
5958 mv conftest.
tail conftest.defines
5960 rm -f conftest.defines
5961 echo ' fi # grep' >>$CONFIG_STATUS
5962 echo >>$CONFIG_STATUS
5964 # Break up conftest.undefs because some shells have a limit on the size
5965 # of here documents, and old seds have small limits too (100 cmds).
5966 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5968 while grep . conftest.undefs
>/dev
/null
5970 # Write a limited-size here document to $tmp/undefs.sed.
5971 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5972 # Speed up: don't consider the non
`#undef'
5973 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5974 # Work around the forget-to-reset-the-flag bug.
5975 echo 't clr' >>$CONFIG_STATUS
5976 echo ': clr' >>$CONFIG_STATUS
5977 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5979 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5983 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5984 rm -f conftest.undefs
5985 mv conftest.tail conftest.undefs
5987 rm -f conftest.undefs
5989 cat >>$CONFIG_STATUS <<\_ACEOF
5990 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5991 # use $as_me), people would be surprised to read:
5992 # /* config.h. Generated by config.status. */
5993 if test x
"$ac_file" = x-
; then
5994 echo "/* Generated by configure. */" >$tmp/config.h
5996 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5998 cat $tmp/in >>$tmp/config.h
6000 if test x
"$ac_file" != x-
; then
6001 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6002 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6003 echo "$as_me: $ac_file is unchanged" >&6;}
6005 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6006 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6007 X"$ac_file" : 'X\(//\)[^/]' \| \
6008 X"$ac_file" : 'X\(//\)$' \| \
6009 X"$ac_file" : 'X\(/\)' \| \
6010 . : '\(.\)' 2>/dev/null ||
6012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6013 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6014 /^X\(\/\/\)$/{ s//\1/; q; }
6015 /^X\(\/\).*/{ s//\1/; q; }
6017 { if $as_mkdir_p; then
6022 while test ! -d "$as_dir"; do
6023 as_dirs
="$as_dir $as_dirs"
6024 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6026 X"$as_dir" : 'X\(//\)[^/]' \| \
6027 X"$as_dir" : 'X\(//\)$' \| \
6028 X"$as_dir" : 'X\(/\)' \| \
6029 . : '\(.\)' 2>/dev/null ||
6031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6033 /^X\(\/\/\)$/{ s//\1/; q; }
6034 /^X\(\/\).*/{ s//\1/; q; }
6037 test ! -n "$as_dirs" || mkdir
$as_dirs
6038 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6039 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6040 { (exit 1); exit 1; }; }; }
6043 mv $tmp/config.h
$ac_file
6051 cat >>$CONFIG_STATUS <<\_ACEOF
6054 # CONFIG_COMMANDS section.
6056 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6057 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6058 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6059 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6060 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6061 X"$ac_dest" : 'X\(//\)[^/]' \| \
6062 X"$ac_dest" : 'X\(//\)$' \| \
6063 X"$ac_dest" : 'X\(/\)' \| \
6064 . : '\(.\)' 2>/dev/null ||
6066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6067 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6068 /^X\(\/\/\)$/{ s//\1/; q; }
6069 /^X\(\/\).*/{ s//\1/; q; }
6071 { if $as_mkdir_p; then
6076 while test ! -d "$as_dir"; do
6077 as_dirs
="$as_dir $as_dirs"
6078 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6079 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6080 X"$as_dir" : 'X\(//\)[^/]' \| \
6081 X"$as_dir" : 'X\(//\)$' \| \
6082 X"$as_dir" : 'X\(/\)' \| \
6083 . : '\(.\)' 2>/dev/null ||
6085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6086 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6087 /^X\(\/\/\)$/{ s//\1/; q; }
6088 /^X\(\/\).*/{ s//\1/; q; }
6091 test ! -n "$as_dirs" || mkdir
$as_dirs
6092 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6093 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6094 { (exit 1); exit 1; }; }; }
6098 if test "$ac_dir" != .
; then
6099 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6100 # A "../" for each directory in $ac_dir_suffix.
6101 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6103 ac_dir_suffix
= ac_top_builddir
=
6107 .
) # No --srcdir option. We are building in place.
6109 if test -z "$ac_top_builddir"; then
6112 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6114 [\\/]* | ?
:[\\/]* ) # Absolute path.
6115 ac_srcdir
=$srcdir$ac_dir_suffix;
6116 ac_top_srcdir
=$srcdir ;;
6118 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6119 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6122 # Do not use `cd foo && pwd` to compute absolute paths, because
6123 # the directories may not exist.
6125 .
) ac_abs_builddir
="$ac_dir";;
6128 .
) ac_abs_builddir
=`pwd`;;
6129 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6130 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6133 case $ac_abs_builddir in
6134 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6136 case ${ac_top_builddir}.
in
6137 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6138 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6139 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6142 case $ac_abs_builddir in
6143 .
) ac_abs_srcdir
=$ac_srcdir;;
6146 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6147 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6148 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6151 case $ac_abs_builddir in
6152 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6154 case $ac_top_srcdir in
6155 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6156 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6157 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6162 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6163 echo "$as_me: executing $ac_dest commands" >&6;}
6165 default
) test -z "$CONFIG_HEADERS" ||
echo timestamp
> stamp-h
6166 if test -n "$CONFIG_FILES"; then
6167 if test -n "${with_target_subdir}"; then
6168 # FIXME: We shouldn't need to set ac_file
6170 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
6171 .
${toplevel_srcdir}/config-ml.
in
6178 cat >>$CONFIG_STATUS <<\_ACEOF
6180 { (exit 0); exit 0; }
6182 chmod +x
$CONFIG_STATUS
6183 ac_clean_files
=$ac_clean_files_save
6186 # configure is writing to config.log, and then calls config.status.
6187 # config.status does its own redirection, appending to config.log.
6188 # Unfortunately, on DOS this fails, as config.log is still kept open
6189 # by configure, so config.status won't be able to write to it; its
6190 # output is simply discarded. So we exec the FD to /dev/null,
6191 # effectively closing config.log, so it can be properly (re)opened and
6192 # appended to by config.status. When coming back to configure, we
6193 # need to make the FD available again.
6194 if test "$no_create" != yes; then
6196 ac_config_status_args
=
6197 test "$silent" = yes &&
6198 ac_config_status_args
="$ac_config_status_args --quiet"
6200 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6202 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6203 # would make configure fail if this is the last instruction.
6204 $ac_cs_success ||
{ (exit 1); exit 1; }