2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
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.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
274 ac_unique_file="src/ios.cc"
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 libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_DARWIN_EXPORT_TRUE ENABLE_SYMVERS_DARWIN_EXPORT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS 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_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
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 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
861 --enable-cstdio=PACKAGE use target-specific I/O package
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
870 --enable-cheaders=KIND construct "C" headers for g++
872 --enable-c99 turns on ISO/IEC 9899:1999 support
874 --enable-long-long enable template specializations for 'long long'
876 --enable-wchar_t enable template specializations for 'wchar_t'
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
890 --enable-symvers=STYLE enables symbol versioning of the shared library
892 --enable-version-specific-runtime-libs
893 Specify that runtime libraries should be installed
894 in a compiler-specific directory
897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
899 --with-target-subdir=SUBDIR
900 configuring in a subdirectory
901 --with-cross-host=HOST configuring with a cross compiler
902 --with-newlib assume newlib as a system C library
903 --with-gnu-ld assume the C compiler uses GNU ld default=no
904 --with-pic try to use only PIC/non-PIC objects default=use both
905 --with-gxx-include-dir=DIR
906 installation directory for include files
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
915 CXX C++ compiler command
916 CXXFLAGS C++ compiler flags
917 CXXCPP C++ preprocessor
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
938 ac_dir_suffix= ac_top_builddir=
942 .) # No --srcdir option. We are building in place.
944 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
960 .) ac_abs_builddir="$ac_dir";;
963 .) ac_abs_builddir=`pwd`;;
964 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965 *) ac_abs_builddir=`pwd`/"$ac_dir";;
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
971 case ${ac_top_builddir}. in
972 .) ac_abs_top_builddir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
981 .) ac_abs_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
989 case $ac_top_srcdir in
990 .) ac_abs_top_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
997 # Check for guested configure; otherwise get Cygnus style configure.
998 if test -f $ac_srcdir/configure.gnu; then
1000 $SHELL $ac_srcdir/configure.gnu --help=recursive
1001 elif test -f $ac_srcdir/configure; then
1003 $SHELL $ac_srcdir/configure --help=recursive
1004 elif test -f $ac_srcdir/configure.ac ||
1005 test -f $ac_srcdir/configure.in; then
1007 $ac_configure --help
1009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59. Invocation command line was
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1067 test -z "$as_dir" && as_dir=.
1068 echo "PATH: $as_dir"
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1092 ac_must_keep_next=false
1098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1102 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109 if test $ac_must_keep_next = true; then
1110 ac_must_keep_next=false # Got value, back to normal.
1113 *=* | --config-cache | -C | -disable-* | --disable-* \
1114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116 | -with-* | --with-* | -without-* | --without-* | --x)
1117 case "$ac_configure_args0 " in
1118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121 -* ) ac_must_keep_next=true ;;
1124 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125 # Get rid of the leading space.
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log. We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140 # Save into config.log some information that might help in debugging.
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1150 # The following way of writing the cache mishandles newlines in values,
1153 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1173 for ac_var in $ac_subst_vars
1175 eval ac_val=$`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1180 if test -n "$ac_subst_files"; then
1187 for ac_var in $ac_subst_files
1189 eval ac_val=$`echo $ac_var`
1190 echo "$ac_var='"'"'$ac_val'"'"'"
1195 if test -s confdefs.h; then
1202 sed "/^$/d" confdefs.h | sort
1205 test "$ac_signal" != 0 &&
1206 echo "$as_me: caught signal $ac_signal"
1207 echo "$as_me: exit $exit_status"
1209 rm -f core *.core &&
1210 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213 for ac_signal in 1 2 13 15; do
1214 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 # Predefined preprocessor variables.
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253 if test "x$prefix" != xNONE; then
1254 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1256 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 for ac_site_file in $CONFIG_SITE; do
1260 if test -r "$ac_site_file"; then
1261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263 sed 's/^/| /' "$ac_site_file" >&5
1268 if test -r "$cache_file"; then
1269 # Some versions of bash will fail to source /dev/null (special
1270 # files actually), so we avoid doing that.
1271 if test -f "$cache_file"; then
1272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1275 [\\/]* | ?:[\\/]* ) . $cache_file;;
1276 *) . ./$cache_file;;
1280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1285 # Check that the precious variables saved in the cache have kept the same
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291 eval ac_new_set=\$ac_env_${ac_var}_set
1292 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293 eval ac_new_val="\$ac_env_${ac_var}_value"
1294 case $ac_old_set,$ac_new_set in
1296 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298 ac_cache_corrupted=: ;;
1300 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302 ac_cache_corrupted=: ;;
1305 if test "x$ac_old_val" != "x$ac_new_val"; then
1306 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1309 echo "$as_me: former value: $ac_old_val" >&2;}
1310 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1311 echo "$as_me: current value: $ac_new_val" >&2;}
1312 ac_cache_corrupted=:
1315 # Pass precious variables to config.status.
1316 if test "$ac_new_set" = set; then
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320 *) ac_arg=$ac_var=$ac_new_val ;;
1322 case " $ac_configure_args " in
1323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1328 if $ac_cache_corrupted; then
1329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333 { (exit 1); exit 1; }; }
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1369 ac_config_headers="$ac_config_headers config.h"
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported. Only used at the end of this file.
1376 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:7:0
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1406 multi_basedir="$srcdir/$with_multisrctop.."
1409 multi_basedir="$srcdir/.."
1413 ac_config_commands="$ac_config_commands default-1"
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1436 elif test -f $ac_dir/install.sh; then
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1440 elif test -f $ac_dir/shtool; then
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1545 case "$host","$target" in
1546 # Darwin crosses can use the host system's libraries and headers,
1547 # because of the fat library support. Of course, it must be the
1548 # same version of Darwin on both sides. Allow the user to
1549 # just say --target=foo-darwin without a version number to mean
1550 # "the version on this system".
1551 *-*-darwin*,*-*-darwin*)
1552 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1553 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1554 if test $hostos = $targetos -o $targetos = darwin ; then
1555 GLIBCXX_IS_NATIVE=true
1564 GLIBCXX_IS_NATIVE=true
1567 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1568 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1569 # 1.x: minimum required version
1570 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1571 # of other PACKAGE_* variables will, however, and there's nothing
1572 # we can do about that; they come from AC_INIT).
1573 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1574 # file in the top srcdir, etc, etc), so stop complaining.
1575 # no-dependencies: turns off auto dependency generation (just for now)
1576 # -Wall: turns on all automake warnings...
1577 # -Wno-portability: ...except this one, since GNU make is now required.
1578 am__api_version="1.9"
1579 # Find a good install program. We prefer a C program (faster),
1580 # so one script is as good as another. But avoid the broken or
1581 # incompatible versions:
1582 # SysV /etc/install, /usr/sbin/install
1583 # SunOS /usr/etc/install
1584 # IRIX /sbin/install
1586 # AmigaOS /C/install, which installs bootblocks on floppy discs
1587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1590 # OS/2's system install, which has a completely different semantic
1591 # ./install, which can be erroneously created by make from ./install.sh.
1592 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1593 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1594 if test -z "$INSTALL"; then
1595 if test "${ac_cv_path_install+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir=.
1603 # Account for people who put trailing slashes in PATH elements.
1605 ./ | .// | /cC/* | \
1606 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1607 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 # OSF1 and SCO ODT 3.0 have their own names for install.
1611 # Don't use installbsd from OSF since it installs stuff as root
1613 for ac_prog in ginstall scoinst install; do
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1616 if test $ac_prog = install &&
1617 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1618 # AIX install. It has an incompatible calling convention.
1620 elif test $ac_prog = install &&
1621 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1622 # program-specific install script used by HP pwplus--don't use.
1625 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1637 if test "${ac_cv_path_install+set}" = set; then
1638 INSTALL=$ac_cv_path_install
1640 # As a last resort, use the slow shell script. We don't cache a
1641 # path for INSTALL within a source directory, because that will
1642 # break other packages using the cache if that directory is
1643 # removed, or if the path is relative.
1644 INSTALL=$ac_install_sh
1647 echo "$as_me:$LINENO: result: $INSTALL" >&5
1648 echo "${ECHO_T}$INSTALL" >&6
1650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1651 # It thinks the first close brace ends the variable substitution.
1652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1656 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1658 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1659 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 echo timestamp > conftest.file
1663 # Do `set' in a subshell so we don't clobber the current shell's
1664 # arguments. Must try -L first in case configure is actually a
1665 # symlink; some systems play weird games with the mod time of symlinks
1666 # (eg FreeBSD returns the mod time of the symlink's containing
1669 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1670 if test "$*" = "X"; then
1672 set X `ls -t $srcdir/configure conftest.file`
1675 if test "$*" != "X $srcdir/configure conftest.file" \
1676 && test "$*" != "X conftest.file $srcdir/configure"; then
1678 # If neither matched, then we have a broken ls. This can happen
1679 # if, for instance, CONFIG_SHELL is bash and it inherits a
1680 # broken ls alias from the environment. This has actually
1681 # happened. Such a system could not be considered "sane".
1682 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1683 alias in your environment" >&5
1684 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&2;}
1686 { (exit 1); exit 1; }; }
1689 test "$2" = conftest.file
1695 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1696 Check your system clock" >&5
1697 echo "$as_me: error: newly created file is older than distributed files!
1698 Check your system clock" >&2;}
1699 { (exit 1); exit 1; }; }
1701 echo "$as_me:$LINENO: result: yes" >&5
1702 echo "${ECHO_T}yes" >&6
1703 test "$program_prefix" != NONE &&
1704 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1705 # Use a double $ so make ignores it.
1706 test "$program_suffix" != NONE &&
1707 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1708 # Double any \ or $. echo might interpret backslashes.
1709 # By default was `s,x,x', remove it if useless.
1710 cat <<\_ACEOF >conftest.sed
1711 s/[\\$]/&&/g;s/;s,x,x,$//
1713 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 # expand $ac_aux_dir to an absolute path
1717 am_aux_dir=`cd $ac_aux_dir && pwd`
1719 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1720 # Use eval to expand $SHELL
1721 if eval "$MISSING --run true"; then
1722 am_missing_run="$MISSING --run "
1725 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1726 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1729 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1730 # We used to keeping the `.' as first argument, in order to
1731 # allow $(mkdir_p) to be used without argument. As in
1732 # $(mkdir_p) $(somedir)
1733 # where $(somedir) is conditionally defined. However this is wrong
1735 # 1. if the package is installed by a user who cannot write `.'
1736 # make install will fail,
1737 # 2. the above comment should most certainly read
1738 # $(mkdir_p) $(DESTDIR)$(somedir)
1739 # so it does not work when $(somedir) is undefined and
1740 # $(DESTDIR) is not.
1741 # To support the latter case, we have to write
1742 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1743 # so the `.' trick is pointless.
1744 mkdir_p='mkdir -p --'
1746 # On NextStep and OpenStep, the `mkdir' command does not
1747 # recognize any option. It will interpret all options as
1748 # directories to create, and then abort because `.' already
1750 for d in ./-p ./--version;
1752 test -d $d && rmdir $d
1754 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1755 if test -f "$ac_aux_dir/mkinstalldirs"; then
1756 mkdir_p='$(mkinstalldirs)'
1758 mkdir_p='$(install_sh) -d'
1762 for ac_prog in gawk mawk nawk awk
1764 # Extract the first word of "$ac_prog", so it can be a program name with args.
1765 set dummy $ac_prog; ac_word=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_AWK+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$AWK"; then
1772 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir=.
1779 for ac_exec_ext in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_AWK="$ac_prog"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 if test -n "$AWK"; then
1792 echo "$as_me:$LINENO: result: $AWK" >&5
1793 echo "${ECHO_T}$AWK" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1799 test -n "$AWK" && break
1802 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1803 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1804 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1805 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 cat >conftest.make <<\_ACEOF
1810 @echo 'ac_maketemp="$(MAKE)"'
1812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1813 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1814 if test -n "$ac_maketemp"; then
1815 eval ac_cv_prog_make_${ac_make}_set=yes
1817 eval ac_cv_prog_make_${ac_make}_set=no
1821 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1822 echo "$as_me:$LINENO: result: yes" >&5
1823 echo "${ECHO_T}yes" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1828 SET_MAKE="MAKE=${MAKE-make}"
1831 rm -rf .tst 2>/dev/null
1832 mkdir .tst 2>/dev/null
1833 if test -d .tst; then
1838 rmdir .tst 2>/dev/null
1840 # test to see if srcdir already configured
1841 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1842 test -f $srcdir/config.status; then
1843 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1844 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # test whether we have cygpath
1849 if test -z "$CYGPATH_W"; then
1850 if (cygpath --version) >/dev/null 2>/dev/null; then
1851 CYGPATH_W='cygpath -w'
1858 # Define the identity of the package.
1860 VERSION='version-unused'
1863 # Some tools Automake needs.
1865 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1868 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1871 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1874 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1877 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1879 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1881 # Installed binaries are usually stripped using `strip' when the user
1882 # run `make install-strip'. However `strip' might not be the right
1883 # tool to use in cross-compilation environments, therefore Automake
1884 # will honor the `STRIP' environment variable to overrule this program.
1885 if test "$cross_compiling" != no; then
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1888 set dummy ${ac_tool_prefix}strip; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_STRIP+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$STRIP"; then
1895 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913 STRIP=$ac_cv_prog_STRIP
1914 if test -n "$STRIP"; then
1915 echo "$as_me:$LINENO: result: $STRIP" >&5
1916 echo "${ECHO_T}$STRIP" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1923 if test -z "$ac_cv_prog_STRIP"; then
1925 # Extract the first word of "strip", so it can be a program name with args.
1926 set dummy strip; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$ac_ct_STRIP"; then
1933 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_STRIP="strip"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1952 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1953 if test -n "$ac_ct_STRIP"; then
1954 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1955 echo "${ECHO_T}$ac_ct_STRIP" >&6
1957 echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6
1963 STRIP="$ac_cv_prog_STRIP"
1967 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1969 # We need awk for the "check" target. The system "awk" is bad on
1971 # Always define AMTAR for backward compatibility.
1973 AMTAR=${AMTAR-"${am_missing_run}tar"}
1975 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1986 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1987 # up critical shell variables.
1989 # Keep these sync'd with the list in Makefile.am. The first provides an
1990 # expandable list at autoconf time; the second provides an expandable list
1991 # (i.e., shell variable) at configure time.
1993 SUBDIRS='include libmath libsupc++ src po testsuite'
1995 # These need to be absolute paths, yet at the same time need to
1996 # canonicalize only relative paths, because then amd will not unmount
1997 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1998 glibcxx_builddir=`${PWDCMD-pwd}`
2000 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2001 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2003 toplevel_srcdir=${glibcxx_srcdir}/..
2008 # We use these options to decide which functions to include. They are
2009 # set from the top level.
2011 # Check whether --with-target-subdir or --without-target-subdir was given.
2012 if test "${with_target_subdir+set}" = set; then
2013 withval="$with_target_subdir"
2018 # Check whether --with-cross-host or --without-cross-host was given.
2019 if test "${with_cross_host+set}" = set; then
2020 withval="$with_cross_host"
2025 # Check whether --with-newlib or --without-newlib was given.
2026 if test "${with_newlib+set}" = set; then
2027 withval="$with_newlib"
2031 # We're almost certainly being configured before anything else which uses
2032 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2033 # we not cache the value of CXX that we "discover" here, because it's set
2034 # to something unique for us and libjava. Other target libraries need to
2035 # find CXX for themselves. We yank the rug out from under the normal AC_*
2036 # process by sneakily renaming the cache variable. This also lets us debug
2037 # the value of "our" CXX in postmortems.
2039 # We must also force CXX to /not/ be a precious variable, otherwise the
2040 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2041 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2042 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2043 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2045 # -fno-builtin must be present here so that a non-conflicting form of
2046 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2051 save_CXXFLAGS="$CXXFLAGS"
2052 CXXFLAGS="$CXXFLAGS -fno-builtin"
2054 ac_cpp='$CPP $CPPFLAGS'
2055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2058 if test -n "$ac_tool_prefix"; then
2059 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2060 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2061 echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2063 if test "${ac_cv_prog_CC+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 if test -n "$CC"; then
2067 ac_cv_prog_CC="$CC" # Let the user override the test.
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 if test -n "$CC"; then
2087 echo "$as_me:$LINENO: result: $CC" >&5
2088 echo "${ECHO_T}$CC" >&6
2090 echo "$as_me:$LINENO: result: no" >&5
2091 echo "${ECHO_T}no" >&6
2095 if test -z "$ac_cv_prog_CC"; then
2097 # Extract the first word of "gcc", so it can be a program name with args.
2098 set dummy gcc; ac_word=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2104 if test -n "$ac_ct_CC"; then
2105 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 ac_cv_prog_ac_ct_CC="gcc"
2115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2124 if test -n "$ac_ct_CC"; then
2125 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2126 echo "${ECHO_T}$ac_ct_CC" >&6
2128 echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2137 if test -z "$CC"; then
2138 if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2140 set dummy ${ac_tool_prefix}cc; ac_word=$2
2141 echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143 if test "${ac_cv_prog_CC+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 if test -n "$CC"; then
2147 ac_cv_prog_CC="$CC" # Let the user override the test.
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2156 ac_cv_prog_CC="${ac_tool_prefix}cc"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 if test -n "$CC"; then
2167 echo "$as_me:$LINENO: result: $CC" >&5
2168 echo "${ECHO_T}$CC" >&6
2170 echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6
2175 if test -z "$ac_cv_prog_CC"; then
2177 # Extract the first word of "cc", so it can be a program name with args.
2178 set dummy cc; ac_word=$2
2179 echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2181 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 if test -n "$ac_ct_CC"; then
2185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir=.
2192 for ac_exec_ext in '' $ac_executable_extensions; do
2193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2194 ac_cv_prog_ac_ct_CC="cc"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2204 if test -n "$ac_ct_CC"; then
2205 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2206 echo "${ECHO_T}$ac_ct_CC" >&6
2208 echo "$as_me:$LINENO: result: no" >&5
2209 echo "${ECHO_T}no" >&6
2218 if test -z "$CC"; then
2219 # Extract the first word of "cc", so it can be a program name with args.
2220 set dummy cc; ac_word=$2
2221 echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_CC+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 if test -n "$CC"; then
2227 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 test -z "$as_dir" && as_dir=.
2235 for ac_exec_ext in '' $ac_executable_extensions; do
2236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2237 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2238 ac_prog_rejected=yes
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2248 if test $ac_prog_rejected = yes; then
2249 # We found a bogon in the path, so make sure we never use it.
2250 set dummy $ac_cv_prog_CC
2252 if test $# != 0; then
2253 # We chose a different compiler from the bogus one.
2254 # However, it has the same basename, so the bogon will be chosen
2255 # first if we set CC to just the basename; use the full file name.
2257 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2263 if test -n "$CC"; then
2264 echo "$as_me:$LINENO: result: $CC" >&5
2265 echo "${ECHO_T}$CC" >&6
2267 echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6
2272 if test -z "$CC"; then
2273 if test -n "$ac_tool_prefix"; then
2276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2278 echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2280 if test "${ac_cv_prog_CC+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 if test -n "$CC"; then
2284 ac_cv_prog_CC="$CC" # Let the user override the test.
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir=.
2291 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2293 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 if test -n "$CC"; then
2304 echo "$as_me:$LINENO: result: $CC" >&5
2305 echo "${ECHO_T}$CC" >&6
2307 echo "$as_me:$LINENO: result: no" >&5
2308 echo "${ECHO_T}no" >&6
2311 test -n "$CC" && break
2314 if test -z "$CC"; then
2318 # Extract the first word of "$ac_prog", so it can be a program name with args.
2319 set dummy $ac_prog; ac_word=$2
2320 echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2335 ac_cv_prog_ac_ct_CC="$ac_prog"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2345 if test -n "$ac_ct_CC"; then
2346 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2347 echo "${ECHO_T}$ac_ct_CC" >&6
2349 echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6
2353 test -n "$ac_ct_CC" && break
2362 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2363 See \`config.log' for more details." >&5
2364 echo "$as_me: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&2;}
2366 { (exit 1); exit 1; }; }
2368 # Provide some information about the compiler.
2369 echo "$as_me:$LINENO:" \
2370 "checking for C compiler version" >&5
2371 ac_compiler=`set X $ac_compile; echo $2`
2372 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2373 (eval $ac_compiler --version </dev/null >&5) 2>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2378 (eval $ac_compiler -v </dev/null >&5) 2>&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }
2382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2383 (eval $ac_compiler -V </dev/null >&5) 2>&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }
2388 cat >conftest.$ac_ext <<_ACEOF
2391 cat confdefs.h >>conftest.$ac_ext
2392 cat >>conftest.$ac_ext <<_ACEOF
2393 /* end confdefs.h. */
2404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2405 (eval $ac_link) 2>&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; then
2414 if test x$gcc_no_link = xyes; then
2415 # Setting cross_compile will disable run tests; it will
2416 # also disable AC_CHECK_FILE but that's generally
2417 # correct if we can't link.
2421 cat >conftest.$ac_ext <<_ACEOF
2424 cat confdefs.h >>conftest.$ac_ext
2425 cat >>conftest.$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2436 ac_clean_files_save=$ac_clean_files
2437 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2438 # Try to create an executable without -o first, disregard a.out.
2439 # It will help us diagnose broken compilers, and finding out an intuition
2441 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2442 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2443 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2444 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2445 (eval $ac_link_default) 2>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; then
2449 # Find the output, starting from the most likely. This scheme is
2450 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2453 # Be careful to initialize this variable, since it used to be cached.
2454 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2456 # b.out is created by i960 compilers.
2457 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2459 test -f "$ac_file" || continue
2461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2464 # This is the source file.
2467 # We found the default executable, but exeext='' is most
2471 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2472 # FIXME: I believe we export ac_cv_exeext for Libtool,
2473 # but it would be cool to find out if it's true. Does anybody
2474 # maintain Libtool? --akim.
2482 echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2485 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2486 See \`config.log' for more details." >&5
2487 echo "$as_me: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&2;}
2489 { (exit 77); exit 77; }; }
2492 ac_exeext=$ac_cv_exeext
2493 echo "$as_me:$LINENO: result: $ac_file" >&5
2494 echo "${ECHO_T}$ac_file" >&6
2496 # Check the compiler produces executables we can run. If not, either
2497 # the compiler is broken, or we cross compile.
2498 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2499 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2500 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2501 # If not cross compiling, check that we can run a simple program.
2502 if test "$cross_compiling" != yes; then
2503 if { ac_try='./$ac_file'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; }; then
2511 if test "$cross_compiling" = maybe; then
2514 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2515 If you meant to cross compile, use \`--host'.
2516 See \`config.log' for more details." >&5
2517 echo "$as_me: error: cannot run C compiled programs.
2518 If you meant to cross compile, use \`--host'.
2519 See \`config.log' for more details." >&2;}
2520 { (exit 1); exit 1; }; }
2524 echo "$as_me:$LINENO: result: yes" >&5
2525 echo "${ECHO_T}yes" >&6
2527 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2528 ac_clean_files=$ac_clean_files_save
2529 # Check the compiler produces executables we can run. If not, either
2530 # the compiler is broken, or we cross compile.
2531 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2532 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2533 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2534 echo "${ECHO_T}$cross_compiling" >&6
2536 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2537 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2539 (eval $ac_link) 2>&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2573 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2575 if test "${ac_cv_objext+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 cat >conftest.$ac_ext <<_ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2593 rm -f conftest.o conftest.obj
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; then
2599 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2602 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2607 echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2610 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2611 See \`config.log' for more details." >&5
2612 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&2;}
2614 { (exit 1); exit 1; }; }
2617 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2619 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2620 echo "${ECHO_T}$ac_cv_objext" >&6
2621 OBJEXT=$ac_cv_objext
2623 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2624 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2625 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2628 cat >conftest.$ac_ext <<_ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2646 rm -f conftest.$ac_objext
2647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2648 (eval $ac_compile) 2>conftest.er1
2650 grep -v '^ *+' conftest.er1 >conftest.err
2652 cat conftest.err >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } &&
2655 { ac_try='test -z "$ac_c_werror_flag"
2656 || test ! -s conftest.err'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; } &&
2662 { ac_try='test -s conftest.$ac_objext'
2663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; }; then
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2685 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 cat >conftest.$ac_ext <<_ACEOF
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2705 rm -f conftest.$ac_objext
2706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707 (eval $ac_compile) 2>conftest.er1
2709 grep -v '^ *+' conftest.er1 >conftest.err
2711 cat conftest.err >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } &&
2714 { ac_try='test -z "$ac_c_werror_flag"
2715 || test ! -s conftest.err'
2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; } &&
2721 { ac_try='test -s conftest.$ac_objext'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; }; then
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2736 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2737 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2738 if test "$ac_test_CFLAGS" = set; then
2739 CFLAGS=$ac_save_CFLAGS
2740 elif test $ac_cv_prog_cc_g = yes; then
2741 if test "$GCC" = yes; then
2747 if test "$GCC" = yes; then
2753 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2754 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2755 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 ac_cv_prog_cc_stdc=no
2760 cat >conftest.$ac_ext <<_ACEOF
2763 cat confdefs.h >>conftest.$ac_ext
2764 cat >>conftest.$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2768 #include <sys/types.h>
2769 #include <sys/stat.h>
2770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2771 struct buf { int x; };
2772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2773 static char *e (p, i)
2779 static char *f (char * (*g) (char **, int), char **p, ...)
2784 s = g (p, va_arg (v,int));
2789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2790 function prototypes and stuff, but not '\xHH' hex character constants.
2791 These don't provoke an error unfortunately, instead are silently treated
2792 as 'x'. The following induces an error, until -std1 is added to get
2793 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2794 array size at least. It's necessary to write '\x00'==0 to get something
2795 that's true only with -std1. */
2796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2798 int test (int i, double x);
2799 struct s1 {int (*f) (int a);};
2800 struct s2 {int (*f) (double a);};
2801 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2807 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2812 # Don't try gcc -ansi; that turns off useful extensions and
2813 # breaks some systems' header files.
2814 # AIX -qlanglvl=ansi
2815 # Ultrix and OSF/1 -std1
2816 # HP-UX 10.20 and later -Ae
2817 # HP-UX older versions -Aa -D_HPUX_SOURCE
2818 # SVR4 -Xc -D__EXTENSIONS__
2819 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2821 CC="$ac_save_CC $ac_arg"
2822 rm -f conftest.$ac_objext
2823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824 (eval $ac_compile) 2>conftest.er1
2826 grep -v '^ *+' conftest.er1 >conftest.err
2828 cat conftest.err >&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try='test -z "$ac_c_werror_flag"
2832 || test ! -s conftest.err'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; } &&
2838 { ac_try='test -s conftest.$ac_objext'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; }; then
2844 ac_cv_prog_cc_stdc=$ac_arg
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2851 rm -f conftest.err conftest.$ac_objext
2853 rm -f conftest.$ac_ext conftest.$ac_objext
2858 case "x$ac_cv_prog_cc_stdc" in
2860 echo "$as_me:$LINENO: result: none needed" >&5
2861 echo "${ECHO_T}none needed" >&6 ;;
2863 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2864 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2865 CC="$CC $ac_cv_prog_cc_stdc" ;;
2868 # Some people use a C++ compiler to compile C. Since we use `exit',
2869 # in C++ we need to declare it. In case someone uses the same compiler
2870 # for both compiling C and C++ we need to have the C++ compiler decide
2871 # the declaration of exit, since it's the most demanding environment.
2872 cat >conftest.$ac_ext <<_ACEOF
2877 rm -f conftest.$ac_objext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2879 (eval $ac_compile) 2>conftest.er1
2881 grep -v '^ *+' conftest.er1 >conftest.err
2883 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } &&
2886 { ac_try='test -z "$ac_c_werror_flag"
2887 || test ! -s conftest.err'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; } &&
2893 { ac_try='test -s conftest.$ac_objext'
2894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }; }; then
2899 for ac_declaration in \
2901 'extern "C" void std::exit (int) throw (); using std::exit;' \
2902 'extern "C" void std::exit (int); using std::exit;' \
2903 'extern "C" void exit (int) throw ();' \
2904 'extern "C" void exit (int);' \
2907 cat >conftest.$ac_ext <<_ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2923 rm -f conftest.$ac_objext
2924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2925 (eval $ac_compile) 2>conftest.er1
2927 grep -v '^ *+' conftest.er1 >conftest.err
2929 cat conftest.err >&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } &&
2932 { ac_try='test -z "$ac_c_werror_flag"
2933 || test ! -s conftest.err'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; } &&
2939 { ac_try='test -s conftest.$ac_objext'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2953 cat >conftest.$ac_ext <<_ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2968 rm -f conftest.$ac_objext
2969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2970 (eval $ac_compile) 2>conftest.er1
2972 grep -v '^ *+' conftest.er1 >conftest.err
2974 cat conftest.err >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } &&
2977 { ac_try='test -z "$ac_c_werror_flag"
2978 || test ! -s conftest.err'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; } &&
2984 { ac_try='test -s conftest.$ac_objext'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 if test -n "$ac_declaration"; then
3000 echo '#ifdef __cplusplus' >>confdefs.h
3001 echo $ac_declaration >>confdefs.h
3002 echo '#endif' >>confdefs.h
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3012 ac_cpp='$CPP $CPPFLAGS'
3013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3018 ac_cpp='$CXXCPP $CPPFLAGS'
3019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3022 if test -n "$ac_tool_prefix"; then
3023 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3027 echo "$as_me:$LINENO: checking for $ac_word" >&5
3028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3029 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 if test -n "$CXX"; then
3033 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 CXX=$glibcxx_cv_prog_CXX
3052 if test -n "$CXX"; then
3053 echo "$as_me:$LINENO: result: $CXX" >&5
3054 echo "${ECHO_T}$CXX" >&6
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3060 test -n "$CXX" && break
3063 if test -z "$CXX"; then
3065 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3067 # Extract the first word of "$ac_prog", so it can be a program name with args.
3068 set dummy $ac_prog; ac_word=$2
3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3071 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 if test -n "$ac_ct_CXX"; then
3075 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_ac_ct_CXX="$ac_prog"
3085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3094 if test -n "$ac_ct_CXX"; then
3095 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3096 echo "${ECHO_T}$ac_ct_CXX" >&6
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3102 test -n "$ac_ct_CXX" && break
3104 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3110 # Provide some information about the compiler.
3111 echo "$as_me:$LINENO:" \
3112 "checking for C++ compiler version" >&5
3113 ac_compiler=`set X $ac_compile; echo $2`
3114 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3115 (eval $ac_compiler --version </dev/null >&5) 2>&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }
3119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3120 (eval $ac_compiler -v </dev/null >&5) 2>&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }
3124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3125 (eval $ac_compiler -V </dev/null >&5) 2>&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }
3130 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3131 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3132 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3135 cat >conftest.$ac_ext <<_ACEOF
3138 cat confdefs.h >>conftest.$ac_ext
3139 cat >>conftest.$ac_ext <<_ACEOF
3140 /* end confdefs.h. */
3153 rm -f conftest.$ac_objext
3154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3155 (eval $ac_compile) 2>conftest.er1
3157 grep -v '^ *+' conftest.er1 >conftest.err
3159 cat conftest.err >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } &&
3162 { ac_try='test -z "$ac_cxx_werror_flag"
3163 || test ! -s conftest.err'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; } &&
3169 { ac_try='test -s conftest.$ac_objext'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3177 echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3183 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3186 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3187 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3188 GXX=`test $ac_compiler_gnu = yes && echo yes`
3189 ac_test_CXXFLAGS=${CXXFLAGS+set}
3190 ac_save_CXXFLAGS=$CXXFLAGS
3192 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3193 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3194 if test "${ac_cv_prog_cxx_g+set}" = set; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3197 cat >conftest.$ac_ext <<_ACEOF
3200 cat confdefs.h >>conftest.$ac_ext
3201 cat >>conftest.$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3212 rm -f conftest.$ac_objext
3213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3214 (eval $ac_compile) 2>conftest.er1
3216 grep -v '^ *+' conftest.er1 >conftest.err
3218 cat conftest.err >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } &&
3221 { ac_try='test -z "$ac_cxx_werror_flag"
3222 || test ! -s conftest.err'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; } &&
3228 { ac_try='test -s conftest.$ac_objext'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; }; then
3234 ac_cv_prog_cxx_g=yes
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3243 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3244 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3245 if test "$ac_test_CXXFLAGS" = set; then
3246 CXXFLAGS=$ac_save_CXXFLAGS
3247 elif test $ac_cv_prog_cxx_g = yes; then
3248 if test "$GXX" = yes; then
3254 if test "$GXX" = yes; then
3260 for ac_declaration in \
3262 'extern "C" void std::exit (int) throw (); using std::exit;' \
3263 'extern "C" void std::exit (int); using std::exit;' \
3264 'extern "C" void exit (int) throw ();' \
3265 'extern "C" void exit (int);' \
3268 cat >conftest.$ac_ext <<_ACEOF
3271 cat confdefs.h >>conftest.$ac_ext
3272 cat >>conftest.$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3284 rm -f conftest.$ac_objext
3285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3286 (eval $ac_compile) 2>conftest.er1
3288 grep -v '^ *+' conftest.er1 >conftest.err
3290 cat conftest.err >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); } &&
3293 { ac_try='test -z "$ac_cxx_werror_flag"
3294 || test ! -s conftest.err'
3295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }; } &&
3300 { ac_try='test -s conftest.$ac_objext'
3301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; }; then
3308 echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3314 cat >conftest.$ac_ext <<_ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3329 rm -f conftest.$ac_objext
3330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331 (eval $ac_compile) 2>conftest.er1
3333 grep -v '^ *+' conftest.er1 >conftest.err
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_cxx_werror_flag"
3339 || test ! -s conftest.err'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try='test -s conftest.$ac_objext'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then
3353 echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3360 if test -n "$ac_declaration"; then
3361 echo '#ifdef __cplusplus' >>confdefs.h
3362 echo $ac_declaration >>confdefs.h
3363 echo '#endif' >>confdefs.h
3367 ac_cpp='$CPP $CPPFLAGS'
3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3372 CXXFLAGS="$save_CXXFLAGS"
3377 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3378 # available). Uncomment the next line to force a particular method.
3379 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3380 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3382 if test "$LN_S" = "ln -s"; then
3383 echo "$as_me:$LINENO: result: yes" >&5
3384 echo "${ECHO_T}yes" >&6
3386 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3387 echo "${ECHO_T}no, using $LN_S" >&6
3392 if test -n "$ac_tool_prefix"; then
3393 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3394 set dummy ${ac_tool_prefix}as; ac_word=$2
3395 echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3397 if test "${ac_cv_prog_AS+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 if test -n "$AS"; then
3401 ac_cv_prog_AS="$AS" # Let the user override the test.
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_AS="${ac_tool_prefix}as"
3411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 if test -n "$AS"; then
3421 echo "$as_me:$LINENO: result: $AS" >&5
3422 echo "${ECHO_T}$AS" >&6
3424 echo "$as_me:$LINENO: result: no" >&5
3425 echo "${ECHO_T}no" >&6
3429 if test -z "$ac_cv_prog_AS"; then
3431 # Extract the first word of "as", so it can be a program name with args.
3432 set dummy as; ac_word=$2
3433 echo "$as_me:$LINENO: checking for $ac_word" >&5
3434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3435 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 if test -n "$ac_ct_AS"; then
3439 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 test -z "$as_dir" && as_dir=.
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448 ac_cv_prog_ac_ct_AS="as"
3449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3457 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3458 if test -n "$ac_ct_AS"; then
3459 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3460 echo "${ECHO_T}$ac_ct_AS" >&6
3462 echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6
3471 if test -n "$ac_tool_prefix"; then
3472 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3473 set dummy ${ac_tool_prefix}ar; ac_word=$2
3474 echo "$as_me:$LINENO: checking for $ac_word" >&5
3475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3476 if test "${ac_cv_prog_AR+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3479 if test -n "$AR"; then
3480 ac_cv_prog_AR="$AR" # Let the user override the test.
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489 ac_cv_prog_AR="${ac_tool_prefix}ar"
3490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3499 if test -n "$AR"; then
3500 echo "$as_me:$LINENO: result: $AR" >&5
3501 echo "${ECHO_T}$AR" >&6
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3508 if test -z "$ac_cv_prog_AR"; then
3510 # Extract the first word of "ar", so it can be a program name with args.
3511 set dummy ar; ac_word=$2
3512 echo "$as_me:$LINENO: checking for $ac_word" >&5
3513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3514 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3515 echo $ECHO_N "(cached) $ECHO_C" >&6
3517 if test -n "$ac_ct_AR"; then
3518 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 test -z "$as_dir" && as_dir=.
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_ac_ct_AR="ar"
3528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3537 if test -n "$ac_ct_AR"; then
3538 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3539 echo "${ECHO_T}$ac_ct_AR" >&6
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3550 if test -n "$ac_tool_prefix"; then
3551 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3552 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3553 echo "$as_me:$LINENO: checking for $ac_word" >&5
3554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3555 if test "${ac_cv_prog_RANLIB+set}" = set; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 if test -n "$RANLIB"; then
3559 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 RANLIB=$ac_cv_prog_RANLIB
3578 if test -n "$RANLIB"; then
3579 echo "$as_me:$LINENO: result: $RANLIB" >&5
3580 echo "${ECHO_T}$RANLIB" >&6
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3587 if test -z "$ac_cv_prog_RANLIB"; then
3588 ac_ct_RANLIB=$RANLIB
3589 # Extract the first word of "ranlib", so it can be a program name with args.
3590 set dummy ranlib; ac_word=$2
3591 echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3593 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 if test -n "$ac_ct_RANLIB"; then
3597 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3606 ac_cv_prog_ac_ct_RANLIB="ranlib"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3616 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3617 if test -n "$ac_ct_RANLIB"; then
3618 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3619 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3625 RANLIB=$ac_ct_RANLIB
3627 RANLIB="$ac_cv_prog_RANLIB"
3631 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3632 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3633 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3634 if test "${enable_maintainer_mode+set}" = set; then
3635 enableval="$enable_maintainer_mode"
3636 USE_MAINTAINER_MODE=$enableval
3638 USE_MAINTAINER_MODE=no
3640 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3641 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3644 if test $USE_MAINTAINER_MODE = yes; then
3645 MAINTAINER_MODE_TRUE=
3646 MAINTAINER_MODE_FALSE='#'
3648 MAINTAINER_MODE_TRUE='#'
3649 MAINTAINER_MODE_FALSE=
3652 MAINT=$MAINTAINER_MODE_TRUE
3656 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3657 # which are themselves conditionally expanded.
3658 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3659 ## other macros from doing the same. This should be automated.) -pme
3662 # Find platform-specific directories containing configuration info.
3663 # Also possibly modify flags used elsewhere, as needed by the platform.
3665 . $glibcxx_srcdir/configure.host
3666 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3667 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3668 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3669 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3674 # Check whether --enable-shared or --disable-shared was given.
3675 if test "${enable_shared+set}" = set; then
3676 enableval="$enable_shared"
3677 p=${PACKAGE-default}
3679 yes) enable_shared=yes ;;
3680 no) enable_shared=no ;;
3683 # Look at the argument we got. We use all the common list separators.
3684 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3685 for pkg in $enableval; do
3686 if test "X$pkg" = "X$p"; then
3696 # Check whether --enable-static or --disable-static was given.
3697 if test "${enable_static+set}" = set; then
3698 enableval="$enable_static"
3699 p=${PACKAGE-default}
3701 yes) enable_static=yes ;;
3702 no) enable_static=no ;;
3705 # Look at the argument we got. We use all the common list separators.
3706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3707 for pkg in $enableval; do
3708 if test "X$pkg" = "X$p"; then
3718 # Check whether --enable-fast-install or --disable-fast-install was given.
3719 if test "${enable_fast_install+set}" = set; then
3720 enableval="$enable_fast_install"
3721 p=${PACKAGE-default}
3723 yes) enable_fast_install=yes ;;
3724 no) enable_fast_install=no ;;
3726 enable_fast_install=no
3727 # Look at the argument we got. We use all the common list separators.
3728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3729 for pkg in $enableval; do
3730 if test "X$pkg" = "X$p"; then
3731 enable_fast_install=yes
3738 enable_fast_install=yes
3741 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3742 if test "${with_gnu_ld+set}" = set; then
3743 withval="$with_gnu_ld"
3744 test "$withval" = no || with_gnu_ld=yes
3749 if test "$GCC" = yes; then
3750 # Check if gcc -print-prog-name=ld gives a path.
3751 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3752 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3755 # gcc leaves a trailing carriage return which upsets mingw
3756 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3758 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3761 # Accept absolute paths.
3762 [\\/]* | [A-Za-z]:[\\/]*)
3763 re_direlt='/[^/][^/]*/\.\./'
3764 # Canonicalize the path of ld
3765 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3766 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3767 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3769 test -z "$LD" && LD="$ac_prog"
3772 # If it fails, then pretend we aren't using GCC.
3776 # If it is relative, then search for the first ld in PATH.
3780 elif test "$with_gnu_ld" = yes; then
3781 echo "$as_me:$LINENO: checking for GNU ld" >&5
3782 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3784 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3785 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3787 if test "${lt_cv_path_LD+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 if test -z "$LD"; then
3791 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3792 for ac_dir in $PATH; do
3793 test -z "$ac_dir" && ac_dir=.
3794 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3795 lt_cv_path_LD="$ac_dir/$ac_prog"
3796 # Check to see if the program is GNU ld. I'd rather use --version,
3797 # but apparently some GNU ld's only accept -v.
3798 # Break only if it was the GNU/non-GNU ld that we prefer.
3799 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3800 test "$with_gnu_ld" != no && break
3802 test "$with_gnu_ld" != yes && break
3808 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3813 if test -n "$LD"; then
3814 echo "$as_me:$LINENO: result: $LD" >&5
3815 echo "${ECHO_T}$LD" >&6
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3820 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3821 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3822 { (exit 1); exit 1; }; }
3823 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3824 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3825 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3829 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3830 lt_cv_prog_gnu_ld=yes
3832 lt_cv_prog_gnu_ld=no
3835 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3836 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3837 with_gnu_ld=$lt_cv_prog_gnu_ld
3840 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3841 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3842 if test "${lt_cv_ld_reload_flag+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 lt_cv_ld_reload_flag='-r'
3847 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3848 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3849 reload_flag=$lt_cv_ld_reload_flag
3850 test -n "$reload_flag" && reload_flag=" $reload_flag"
3852 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3853 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3854 if test "${lt_cv_path_NM+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 if test -n "$NM"; then
3858 # Let the user override the test.
3861 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3862 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3863 test -z "$ac_dir" && ac_dir=.
3864 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3865 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3866 # Check to see if the nm accepts a BSD-compat flag.
3867 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3868 # nm: unknown option "B" ignored
3869 # Tru64's nm complains that /dev/null is an invalid object file
3870 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3871 lt_cv_path_NM="$tmp_nm -B"
3873 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3874 lt_cv_path_NM="$tmp_nm -p"
3877 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3878 continue # so that we can try to find one that supports BSD flags
3883 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3888 echo "$as_me:$LINENO: result: $NM" >&5
3889 echo "${ECHO_T}$NM" >&6
3891 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3892 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3893 if test "${lt_cv_deplibs_check_method+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 lt_cv_file_magic_cmd='$MAGIC_CMD'
3897 lt_cv_file_magic_test_file=
3898 lt_cv_deplibs_check_method='unknown'
3899 # Need to set the preceding variable on all platforms that support
3900 # interlibrary dependencies.
3901 # 'none' -- dependencies not supported.
3902 # `unknown' -- same as none, but documents that we really don't know.
3903 # 'pass_all' -- all dependencies passed with no checks.
3904 # 'test_compile' -- check by making test program.
3905 # 'file_magic [regex]' -- check by looking for files in library path
3906 # which responds to the $file_magic_cmd with a given egrep regex.
3907 # If you have `file' or equivalent on your system and you're not sure
3908 # whether `pass_all' will *always* work, you probably want this one.
3912 lt_cv_deplibs_check_method=pass_all
3916 lt_cv_deplibs_check_method=pass_all
3920 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3921 lt_cv_file_magic_cmd='/usr/bin/file -L'
3922 lt_cv_file_magic_test_file=/shlib/libc.so
3925 cygwin* | mingw* |pw32*)
3926 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3927 lt_cv_file_magic_cmd='$OBJDUMP -f'
3930 darwin* | rhapsody*)
3931 # this will be overwritten by pass_all, but leave it in just in case
3932 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3933 lt_cv_file_magic_cmd='/usr/bin/file -L'
3935 rhapsody* | darwin1.012)
3936 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3939 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3942 lt_cv_deplibs_check_method=pass_all
3945 freebsd* | kfreebsd*-gnu)
3946 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3949 # Not sure whether the presence of OpenBSD here was a mistake.
3950 # Let's accept both of them until this is cleared up.
3951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3952 lt_cv_file_magic_cmd=/usr/bin/file
3953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3957 lt_cv_deplibs_check_method=pass_all
3962 lt_cv_deplibs_check_method=pass_all
3968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3969 lt_cv_file_magic_cmd=/usr/bin/file
3970 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3974 lt_cv_file_magic_cmd=/usr/bin/file
3975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3983 # this will be overridden with pass_all, but let us keep it just in case
3984 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3988 *-32|*"-32 ") libmagic=32-bit;;
3989 *-n32|*"-n32 ") libmagic=N32;;
3990 *-64|*"-64 ") libmagic=64-bit;;
3991 *) libmagic=never-match;;
3993 # this will be overridden with pass_all, but let us keep it just in case
3994 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3997 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3998 lt_cv_deplibs_check_method=pass_all
4001 # This must be Linux ELF.
4003 lt_cv_deplibs_check_method=pass_all
4006 netbsd* | knetbsd*-gnu)
4007 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4008 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4015 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4016 lt_cv_file_magic_cmd=/usr/bin/file
4017 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4020 osf3* | osf4* | osf5*)
4021 # this will be overridden with pass_all, but let us keep it just in case
4022 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4023 lt_cv_file_magic_test_file=/shlib/libc.so
4024 lt_cv_deplibs_check_method=pass_all
4028 lt_cv_deplibs_check_method=pass_all
4032 lt_cv_deplibs_check_method=pass_all
4033 lt_cv_file_magic_test_file=/lib/libc.so
4036 sysv5uw[78]* | sysv4*uw2*)
4037 lt_cv_deplibs_check_method=pass_all
4040 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4041 case $host_vendor in
4043 lt_cv_deplibs_check_method=pass_all
4046 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]'
4047 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4054 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4055 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4056 file_magic_cmd=$lt_cv_file_magic_cmd
4057 deplibs_check_method=$lt_cv_deplibs_check_method
4063 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4065 # find the maximum length of command line arguments
4066 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4067 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4068 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 # On DJGPP, this test can blow up pretty badly due to problems in libc
4077 # (any single argument exceeding 2000 bytes causes a buffer overrun
4078 # during glob expansion). Even if it were fixed, the result of this
4079 # check would be larger than it should be.
4080 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4084 # On Win9x/ME, this test blows up -- it succeeds, but takes
4085 # about 5 minutes as the teststring grows exponentially.
4086 # Worse, since 9x/ME are not pre-emptively multitasking,
4087 # you end up with a "frozen" computer, even though with patience
4088 # the test eventually succeeds (with a max line length of 256k).
4089 # Instead, let's just punt: use the minimum linelength reported by
4090 # all of the supported platforms: 8192 (on NT/2K/XP).
4091 lt_cv_sys_max_cmd_len=8192;
4095 # On AmigaOS with pdksh, this test takes hours, literally.
4096 # So we just punt and use a minimum line length of 8192.
4097 lt_cv_sys_max_cmd_len=8192;
4100 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4101 # This has been around since 386BSD, at least. Likely further.
4102 if test -x /sbin/sysctl; then
4103 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4104 elif test -x /usr/sbin/sysctl; then
4105 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4107 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4109 # And add a safety zone
4110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4111 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4117 if test -n "$lt_cv_sys_max_cmd_len" ; then
4118 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4119 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4121 echo "$as_me:$LINENO: result: none" >&5
4122 echo "${ECHO_T}none" >&6
4126 # Only perform the check for file, if the check method requires it
4127 case $deplibs_check_method in
4129 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4130 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4131 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4132 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4137 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4140 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4143 ac_save_MAGIC_CMD="$MAGIC_CMD"
4144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4145 ac_dummy="/usr/bin:$PATH"
4146 for ac_dir in $ac_dummy; do
4147 test -z "$ac_dir" && ac_dir=.
4148 if test -f $ac_dir/${ac_tool_prefix}file; then
4149 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4150 if test -n "$file_magic_test_file"; then
4151 case $deplibs_check_method in
4153 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4154 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4155 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4156 egrep "$file_magic_regex" > /dev/null; then
4161 *** Warning: the command libtool uses to detect shared libraries,
4162 *** $file_magic_cmd, produces output that libtool cannot recognize.
4163 *** The result is that libtool may fail to recognize shared libraries
4164 *** as such. This will affect the creation of libtool libraries that
4165 *** depend on shared libraries, but programs linked with such libtool
4166 *** libraries will work regardless of this problem. Nevertheless, you
4167 *** may want to report the problem to your system manager and/or to
4168 *** bug-libtool@gnu.org
4178 MAGIC_CMD="$ac_save_MAGIC_CMD"
4183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4184 if test -n "$MAGIC_CMD"; then
4185 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4186 echo "${ECHO_T}$MAGIC_CMD" >&6
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4192 if test -z "$lt_cv_path_MAGIC_CMD"; then
4193 if test -n "$ac_tool_prefix"; then
4194 echo "$as_me:$LINENO: checking for file" >&5
4195 echo $ECHO_N "checking for file... $ECHO_C" >&6
4196 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4204 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4207 ac_save_MAGIC_CMD="$MAGIC_CMD"
4208 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4209 ac_dummy="/usr/bin:$PATH"
4210 for ac_dir in $ac_dummy; do
4211 test -z "$ac_dir" && ac_dir=.
4212 if test -f $ac_dir/file; then
4213 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4214 if test -n "$file_magic_test_file"; then
4215 case $deplibs_check_method in
4217 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4218 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4219 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4220 egrep "$file_magic_regex" > /dev/null; then