2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for package-unused version-unused.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME='package-unused'
268 PACKAGE_TARNAME='libstdc++'
269 PACKAGE_VERSION='version-unused'
270 PACKAGE_STRING='package-unused version-unused'
273 ac_unique_file="src/ios.cc"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot 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 LIBUNWIND_FLAG GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H FPOS_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H 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 glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS WERROR SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_INC_SRCDIR FPOS_INC_SRCDIR OS_INC_SRCDIR CANADIAN_TRUE CANADIAN_FALSE GLIBCXX_BUILD_LIBMATH_TRUE GLIBCXX_BUILD_LIBMATH_FALSE glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES LIBMATH_INCLUDES LIBSUPCXX_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CXXCPP_set=${CXXCPP+set}
753 ac_env_CXXCPP_value=$CXXCPP
754 ac_cv_env_CXXCPP_set=${CXXCPP+set}
755 ac_cv_env_CXXCPP_value=$CXXCPP
756 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
757 ac_env_CPPFLAGS_value=$CPPFLAGS
758 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
759 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
760 ac_env_CPP_set=${CPP+set}
761 ac_env_CPP_value=$CPP
762 ac_cv_env_CPP_set=${CPP+set}
763 ac_cv_env_CPP_value=$CPP
766 # Report the --help message.
768 if test "$ac_init_help" = "long"; then
769 # Omit some internal or obsolete options to make the list less imposing.
770 # This message is too long to be a string in the A/UX 3.1 sh.
772 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774 Usage: $0 [OPTION]... [VAR=VALUE]...
776 To assign environment variables (e.g., CC, CFLAGS...), specify them as
777 VAR=VALUE. See below for descriptions of some of the useful variables.
779 Defaults for the options are specified in brackets.
782 -h, --help display this help and exit
783 --help=short display options specific to this package
784 --help=recursive display the short help of all the included packages
785 -V, --version display version information and exit
786 -q, --quiet, --silent do not print \`checking...' messages
787 --cache-file=FILE cache test results in FILE [disabled]
788 -C, --config-cache alias for \`--cache-file=config.cache'
789 -n, --no-create do not create output files
790 --srcdir=DIR find the sources in DIR [configure dir or \`..']
795 Installation directories:
796 --prefix=PREFIX install architecture-independent files in PREFIX
798 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
801 By default, \`make install' will install all the files in
802 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
803 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
804 for instance \`--prefix=\$HOME'.
806 For better control, use the options below.
808 Fine tuning of the installation directories:
809 --bindir=DIR user executables [EPREFIX/bin]
810 --sbindir=DIR system admin executables [EPREFIX/sbin]
811 --libexecdir=DIR program executables [EPREFIX/libexec]
812 --datadir=DIR read-only architecture-independent data [PREFIX/share]
813 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
814 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
815 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
816 --libdir=DIR object code libraries [EPREFIX/lib]
817 --includedir=DIR C header files [PREFIX/include]
818 --oldincludedir=DIR C header files for non-gcc [/usr/include]
819 --infodir=DIR info documentation [PREFIX/info]
820 --mandir=DIR man documentation [PREFIX/man]
826 --program-prefix=PREFIX prepend PREFIX to installed program names
827 --program-suffix=SUFFIX append SUFFIX to installed program names
828 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 --build=BUILD configure for building on BUILD [guessed]
832 --host=HOST cross-compile to build programs to run on HOST [BUILD]
833 --target=TARGET configure for building compilers for TARGET [HOST]
837 if test -n "$ac_init_help"; then
838 case $ac_init_help in
839 short | recursive ) echo "Configuration of package-unused version-unused:";;
844 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
845 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
846 --enable-multilib build many library versions (default)
847 --enable-maintainer-mode enable make rules and dependencies not useful
848 (and sometimes confusing) to the casual installer
849 --enable-shared=PKGS build shared libraries default=yes
850 --enable-static=PKGS build static libraries default=yes
851 --enable-fast-install=PKGS optimize for fast installation default=yes
852 --disable-libtool-lock avoid locking (might break parallel builds)
853 --enable-sjlj-exceptions
854 force use of builtin_setjmp for exceptions
856 --enable-libunwind-exceptions
857 force use of libunwind 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-cheaders=KIND construct "C" headers for g++
869 --enable-c-mbchar enable multibyte (wide) characters
871 --enable-c99 turns on ISO/IEC 9899:1999 support
873 --enable-long-long enables I/O support for 'long long'
875 --enable-concept-checks use Boost-derived template checks [default=no]
876 --enable-libstdcxx-debug-flags=FLAGS
877 pass compiler FLAGS when building debug library
879 --enable-libstdcxx-debug
880 build extra debug library [default=no]
881 --enable-cxx-flags=FLAGS
882 pass compiler FLAGS when building library
884 --enable-symvers=STYLE enables symbol versioning of the shared library
886 --enable-version-specific-runtime-libs
887 Specify that runtime libraries should be installed
888 in a compiler-specific directory
891 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
892 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
893 --with-target-subdir=SUBDIR
894 configuring in a subdirectory
895 --with-cross-host=HOST configuring with a cross compiler
896 --with-newlib assume newlib as a system C library
897 --with-gnu-ld assume the C compiler uses GNU ld default=no
898 --with-pic try to use only PIC/non-PIC objects default=use both
899 --with-gxx-include-dir=DIR
900 installation directory for include files
902 Some influential environment variables:
903 CC C compiler command
904 CFLAGS C compiler flags
905 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
906 nonstandard directory <lib dir>
907 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
908 headers in a nonstandard directory <include dir>
909 CXX C++ compiler command
910 CXXFLAGS C++ compiler flags
911 CXXCPP C++ preprocessor
914 Use these variables to override the choices made by `configure' or to help
915 it to find libraries and programs with nonstandard names/locations.
920 if test "$ac_init_help" = "recursive"; then
921 # If there are subdirs, report their specific --help.
923 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
924 test -d $ac_dir || continue
927 if test "$ac_dir" != .; then
928 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
929 # A "../" for each directory in $ac_dir_suffix.
930 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
932 ac_dir_suffix= ac_top_builddir=
936 .) # No --srcdir option. We are building in place.
938 if test -z "$ac_top_builddir"; then
941 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
943 [\\/]* | ?:[\\/]* ) # Absolute path.
944 ac_srcdir=$srcdir$ac_dir_suffix;
945 ac_top_srcdir=$srcdir ;;
947 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
948 ac_top_srcdir=$ac_top_builddir$srcdir ;;
950 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
952 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
953 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
954 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
955 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
979 package-unused configure version-unused
980 generated by GNU Autoconf 2.57
982 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
983 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by package-unused $as_me version-unused, which was
995 generated by GNU Autoconf 2.57. Invocation command line was
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h; then
1164 sed "/^$/d" confdefs.h | sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1331 ac_config_headers="$ac_config_headers config.h"
1334 # This works around the fact that libtool configuration may change LD
1335 # for this particular configuration, but some shells, instead of
1336 # keeping the changes in LD private, export them just because LD is
1337 # exported. Only used at the end of this file.
1338 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1340 # For libtool versioning info, format is CURRENT:REVISION:AGE
1341 libtool_VERSION=6:0:0
1344 # Find the rest of the source tree framework.
1346 # Sets up multi_basedir, which is srcdir/.. plus the usual
1347 # "multi_source_toprel_bottom_adjust" lunacy as needed.
1348 # Default to --enable-multilib
1349 # Check whether --enable-multilib or --disable-multilib was given.
1350 if test "${enable_multilib+set}" = set; then
1351 enableval="$enable_multilib"
1352 case "$enableval" in
1353 yes) multilib=yes ;;
1355 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1356 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1357 { (exit 1); exit 1; }; } ;;
1363 # We may get other options which we leave undocumented:
1364 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1365 # See config-ml.in if you want the gory details.
1367 if test "$srcdir" = "."; then
1368 if test "$with_target_subdir" != "."; then
1369 multi_basedir="$srcdir/$with_multisrctop../.."
1371 multi_basedir="$srcdir/$with_multisrctop.."
1374 multi_basedir="$srcdir/.."
1378 ac_config_commands="$ac_config_commands default-1"
1381 # The generated code is exactly the same, except that automake's looks in
1382 # ".. $srcdir/.." and autoconf's looks in multi_basedir. Apparently other
1383 # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1384 # know what they are or what the other differences might be (and they keep
1387 # Looking in multi_basedir seems smarter, so actually execute that branch.
1389 # this is for automake
1391 for ac_dir in .. $srcdir/..; do
1392 if test -f $ac_dir/install-sh; then
1394 ac_install_sh="$ac_aux_dir/install-sh -c"
1396 elif test -f $ac_dir/install.sh; then
1398 ac_install_sh="$ac_aux_dir/install.sh -c"
1400 elif test -f $ac_dir/shtool; then
1402 ac_install_sh="$ac_aux_dir/shtool install -c"
1406 if test -z "$ac_aux_dir"; then
1407 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1408 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1409 { (exit 1); exit 1; }; }
1411 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1412 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1413 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1416 # this is for autoconf
1418 for ac_dir in ${multi_basedir}; do
1419 if test -f $ac_dir/install-sh; then
1421 ac_install_sh="$ac_aux_dir/install-sh -c"
1423 elif test -f $ac_dir/install.sh; then
1425 ac_install_sh="$ac_aux_dir/install.sh -c"
1427 elif test -f $ac_dir/shtool; then
1429 ac_install_sh="$ac_aux_dir/shtool install -c"
1433 if test -z "$ac_aux_dir"; then
1434 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1435 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1436 { (exit 1); exit 1; }; }
1438 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1439 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1440 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1446 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1448 # You will slowly go insane if you do not grok the following fact: when
1449 # building v3 as part of the compiler, the top-level /target/ becomes the
1450 # library's /host/. configure then causes --target to default to --host,
1451 # exactly like any other package using autoconf. Therefore, 'target' and
1452 # 'host' will always be the same. This makes sense both for native and
1453 # cross compilers, just think about it for a little while. :-)
1455 # Also, if v3 is being configured as part of a cross compiler, the top-level
1456 # configure script will pass the "real" host as $with_cross_host.
1458 # Do not delete or change the following two lines. For why, see
1459 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1460 # Make sure we can run config.sub.
1461 $ac_config_sub sun4 >/dev/null 2>&1 ||
1462 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1463 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1464 { (exit 1); exit 1; }; }
1466 echo "$as_me:$LINENO: checking build system type" >&5
1467 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1468 if test "${ac_cv_build+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 ac_cv_build_alias=$build_alias
1472 test -z "$ac_cv_build_alias" &&
1473 ac_cv_build_alias=`$ac_config_guess`
1474 test -z "$ac_cv_build_alias" &&
1475 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1476 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1477 { (exit 1); exit 1; }; }
1478 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1479 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1480 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1481 { (exit 1); exit 1; }; }
1484 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1485 echo "${ECHO_T}$ac_cv_build" >&6
1487 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1488 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1489 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1492 echo "$as_me:$LINENO: checking host system type" >&5
1493 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1494 if test "${ac_cv_host+set}" = set; then
1495 echo $ECHO_N "(cached) $ECHO_C" >&6
1497 ac_cv_host_alias=$host_alias
1498 test -z "$ac_cv_host_alias" &&
1499 ac_cv_host_alias=$ac_cv_build_alias
1500 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1501 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1502 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1503 { (exit 1); exit 1; }; }
1506 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1507 echo "${ECHO_T}$ac_cv_host" >&6
1509 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1510 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1511 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1514 echo "$as_me:$LINENO: checking target system type" >&5
1515 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1516 if test "${ac_cv_target+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
1519 ac_cv_target_alias=$target_alias
1520 test "x$ac_cv_target_alias" = "x" &&
1521 ac_cv_target_alias=$ac_cv_host_alias
1522 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1523 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1524 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1525 { (exit 1); exit 1; }; }
1528 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1529 echo "${ECHO_T}$ac_cv_target" >&6
1530 target=$ac_cv_target
1531 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1532 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1533 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1536 # The aliases save the names the user supplied, while $host etc.
1537 # will get canonicalized.
1538 test -n "$target_alias" &&
1539 test "$program_prefix$program_suffix$program_transform_name" = \
1541 program_prefix=${target_alias}-
1542 target_alias=${target_alias-$host_alias}
1544 # Handy for debugging:
1545 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1547 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1548 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1549 # 1.x: minimum required version
1550 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1551 # of other PACKAGE_* variables will, however, and there's nothing
1552 # we can do about that; they come from AC_INIT).
1553 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1554 # file in the top srcdir, etc, etc), so stop complaining.
1555 # no-dependencies: turns off auto dependency generation (just for now)
1556 # -Wall: turns on all automake warnings
1557 am__api_version="1.7"
1558 # Find a good install program. We prefer a C program (faster),
1559 # so one script is as good as another. But avoid the broken or
1560 # incompatible versions:
1561 # SysV /etc/install, /usr/sbin/install
1562 # SunOS /usr/etc/install
1563 # IRIX /sbin/install
1565 # AmigaOS /C/install, which installs bootblocks on floppy discs
1566 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1567 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1568 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1569 # ./install, which can be erroneously created by make from ./install.sh.
1570 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1571 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1572 if test -z "$INSTALL"; then
1573 if test "${ac_cv_path_install+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1580 test -z "$as_dir" && as_dir=.
1581 # Account for people who put trailing slashes in PATH elements.
1583 ./ | .// | /cC/* | \
1584 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1587 # OSF1 and SCO ODT 3.0 have their own names for install.
1588 # Don't use installbsd from OSF since it installs stuff as root
1590 for ac_prog in ginstall scoinst install; do
1591 for ac_exec_ext in '' $ac_executable_extensions; do
1592 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1593 if test $ac_prog = install &&
1594 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1595 # AIX install. It has an incompatible calling convention.
1597 elif test $ac_prog = install &&
1598 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1599 # program-specific install script used by HP pwplus--don't use.
1602 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1614 if test "${ac_cv_path_install+set}" = set; then
1615 INSTALL=$ac_cv_path_install
1617 # As a last resort, use the slow shell script. We don't cache a
1618 # path for INSTALL within a source directory, because that will
1619 # break other packages using the cache if that directory is
1620 # removed, or if the path is relative.
1621 INSTALL=$ac_install_sh
1624 echo "$as_me:$LINENO: result: $INSTALL" >&5
1625 echo "${ECHO_T}$INSTALL" >&6
1627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1628 # It thinks the first close brace ends the variable substitution.
1629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1633 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1635 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1636 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1639 echo timestamp > conftest.file
1640 # Do `set' in a subshell so we don't clobber the current shell's
1641 # arguments. Must try -L first in case configure is actually a
1642 # symlink; some systems play weird games with the mod time of symlinks
1643 # (eg FreeBSD returns the mod time of the symlink's containing
1646 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1647 if test "$*" = "X"; then
1649 set X `ls -t $srcdir/configure conftest.file`
1652 if test "$*" != "X $srcdir/configure conftest.file" \
1653 && test "$*" != "X conftest.file $srcdir/configure"; then
1655 # If neither matched, then we have a broken ls. This can happen
1656 # if, for instance, CONFIG_SHELL is bash and it inherits a
1657 # broken ls alias from the environment. This has actually
1658 # happened. Such a system could not be considered "sane".
1659 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1660 alias in your environment" >&5
1661 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1662 alias in your environment" >&2;}
1663 { (exit 1); exit 1; }; }
1666 test "$2" = conftest.file
1672 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1673 Check your system clock" >&5
1674 echo "$as_me: error: newly created file is older than distributed files!
1675 Check your system clock" >&2;}
1676 { (exit 1); exit 1; }; }
1678 echo "$as_me:$LINENO: result: yes" >&5
1679 echo "${ECHO_T}yes" >&6
1680 test "$program_prefix" != NONE &&
1681 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1682 # Use a double $ so make ignores it.
1683 test "$program_suffix" != NONE &&
1684 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1685 # Double any \ or $. echo might interpret backslashes.
1686 # By default was `s,x,x', remove it if useless.
1687 cat <<\_ACEOF >conftest.sed
1688 s/[\\$]/&&/g;s/;s,x,x,$//
1690 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1694 # expand $ac_aux_dir to an absolute path
1695 am_aux_dir=`cd $ac_aux_dir && pwd`
1697 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1698 # Use eval to expand $SHELL
1699 if eval "$MISSING --run true"; then
1700 am_missing_run="$MISSING --run "
1703 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1704 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1707 for ac_prog in gawk mawk nawk awk
1709 # Extract the first word of "$ac_prog", so it can be a program name with args.
1710 set dummy $ac_prog; ac_word=$2
1711 echo "$as_me:$LINENO: checking for $ac_word" >&5
1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1713 if test "${ac_cv_prog_AWK+set}" = set; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 if test -n "$AWK"; then
1717 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1723 test -z "$as_dir" && as_dir=.
1724 for ac_exec_ext in '' $ac_executable_extensions; do
1725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1726 ac_cv_prog_AWK="$ac_prog"
1727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736 if test -n "$AWK"; then
1737 echo "$as_me:$LINENO: result: $AWK" >&5
1738 echo "${ECHO_T}$AWK" >&6
1740 echo "$as_me:$LINENO: result: no" >&5
1741 echo "${ECHO_T}no" >&6
1744 test -n "$AWK" && break
1747 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1748 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1749 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1750 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 cat >conftest.make <<\_ACEOF
1755 @echo 'ac_maketemp="$(MAKE)"'
1757 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1758 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1759 if test -n "$ac_maketemp"; then
1760 eval ac_cv_prog_make_${ac_make}_set=yes
1762 eval ac_cv_prog_make_${ac_make}_set=no
1766 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1767 echo "$as_me:$LINENO: result: yes" >&5
1768 echo "${ECHO_T}yes" >&6
1771 echo "$as_me:$LINENO: result: no" >&5
1772 echo "${ECHO_T}no" >&6
1773 SET_MAKE="MAKE=${MAKE-make}"
1776 rm -rf .tst 2>/dev/null
1777 mkdir .tst 2>/dev/null
1778 if test -d .tst; then
1783 rmdir .tst 2>/dev/null
1785 # test to see if srcdir already configured
1786 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1787 test -f $srcdir/config.status; then
1788 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1789 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1790 { (exit 1); exit 1; }; }
1793 # test whether we have cygpath
1794 if test -z "$CYGPATH_W"; then
1795 if (cygpath --version) >/dev/null 2>/dev/null; then
1796 CYGPATH_W='cygpath -w'
1803 # Define the identity of the package.
1805 VERSION='version-unused'
1808 # Some tools Automake needs.
1810 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1813 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1816 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1819 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1822 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1825 AMTAR=${AMTAR-"${am_missing_run}tar"}
1827 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1829 # Installed binaries are usually stripped using `strip' when the user
1830 # run `make install-strip'. However `strip' might not be the right
1831 # tool to use in cross-compilation environments, therefore Automake
1832 # will honor the `STRIP' environment variable to overrule this program.
1833 if test "$cross_compiling" != no; then
1834 if test -n "$ac_tool_prefix"; then
1835 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1836 set dummy ${ac_tool_prefix}strip; ac_word=$2
1837 echo "$as_me:$LINENO: checking for $ac_word" >&5
1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1839 if test "${ac_cv_prog_STRIP+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 if test -n "$STRIP"; then
1843 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir=.
1850 for ac_exec_ext in '' $ac_executable_extensions; do
1851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1852 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861 STRIP=$ac_cv_prog_STRIP
1862 if test -n "$STRIP"; then
1863 echo "$as_me:$LINENO: result: $STRIP" >&5
1864 echo "${ECHO_T}$STRIP" >&6
1866 echo "$as_me:$LINENO: result: no" >&5
1867 echo "${ECHO_T}no" >&6
1871 if test -z "$ac_cv_prog_STRIP"; then
1873 # Extract the first word of "strip", so it can be a program name with args.
1874 set dummy strip; ac_word=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 if test -n "$ac_ct_STRIP"; then
1881 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir=.
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1890 ac_cv_prog_ac_ct_STRIP="strip"
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1900 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1901 if test -n "$ac_ct_STRIP"; then
1902 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1903 echo "${ECHO_T}$ac_ct_STRIP" >&6
1905 echo "$as_me:$LINENO: result: no" >&5
1906 echo "${ECHO_T}no" >&6
1911 STRIP="$ac_cv_prog_STRIP"
1915 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1917 # We need awk for the "check" target. The system "awk" is bad on
1923 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1924 # up critical shell variables.
1927 # These need to be absolute paths, yet at the same time need to
1928 # canonicalize only relative paths, because then amd will not unmount
1929 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1930 glibcxx_builddir=`${PWDCMD-pwd}`
1932 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1933 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1935 toplevel_srcdir=${glibcxx_srcdir}/..
1940 # We use these options to decide which functions to include. They are
1941 # set from the top level.
1943 # Check whether --with-target-subdir or --without-target-subdir was given.
1944 if test "${with_target_subdir+set}" = set; then
1945 withval="$with_target_subdir"
1950 # Check whether --with-cross-host or --without-cross-host was given.
1951 if test "${with_cross_host+set}" = set; then
1952 withval="$with_cross_host"
1957 # Check whether --with-newlib or --without-newlib was given.
1958 if test "${with_newlib+set}" = set; then
1959 withval="$with_newlib"
1963 # We're almost certainly being configured before anything else which uses
1964 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1965 # we not cache the value of CXX that we "discover" here, because it's set
1966 # to something unique for us and libjava. Other target libraries need to
1967 # find CXX for themselves. We yank the rug out from under the normal AC_*
1968 # process by sneakily renaming the cache variable. This also lets us debug
1969 # the value of "our" CXX in postmortems.
1971 # We must also force CXX to /not/ be a precious variable, otherwise the
1972 # wrong (non-multilib-adjusted) value will be used in multilibs. This
1973 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
1974 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1975 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1977 # -fno-builtin must be present here so that a non-conflicting form of
1978 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1983 save_CXXFLAGS="$CXXFLAGS"
1984 CXXFLAGS="$CXXFLAGS -fno-builtin"
1986 ac_cpp='$CPP $CPPFLAGS'
1987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1990 if test -n "$ac_tool_prefix"; then
1991 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1992 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1993 echo "$as_me:$LINENO: checking for $ac_word" >&5
1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995 if test "${ac_cv_prog_CC+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 if test -n "$CC"; then
1999 ac_cv_prog_CC="$CC" # Let the user override the test.
2001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005 test -z "$as_dir" && as_dir=.
2006 for ac_exec_ext in '' $ac_executable_extensions; do
2007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 if test -n "$CC"; then
2019 echo "$as_me:$LINENO: result: $CC" >&5
2020 echo "${ECHO_T}$CC" >&6
2022 echo "$as_me:$LINENO: result: no" >&5
2023 echo "${ECHO_T}no" >&6
2027 if test -z "$ac_cv_prog_CC"; then
2029 # Extract the first word of "gcc", so it can be a program name with args.
2030 set dummy gcc; ac_word=$2
2031 echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$ac_ct_CC"; then
2037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_ac_ct_CC="gcc"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2056 if test -n "$ac_ct_CC"; then
2057 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2058 echo "${ECHO_T}$ac_ct_CC" >&6
2060 echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6
2069 if test -z "$CC"; then
2070 if test -n "$ac_tool_prefix"; then
2071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2072 set dummy ${ac_tool_prefix}cc; ac_word=$2
2073 echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075 if test "${ac_cv_prog_CC+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 if test -n "$CC"; then
2079 ac_cv_prog_CC="$CC" # Let the user override the test.
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2088 ac_cv_prog_CC="${ac_tool_prefix}cc"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 if test -n "$CC"; then
2099 echo "$as_me:$LINENO: result: $CC" >&5
2100 echo "${ECHO_T}$CC" >&6
2102 echo "$as_me:$LINENO: result: no" >&5
2103 echo "${ECHO_T}no" >&6
2107 if test -z "$ac_cv_prog_CC"; then
2109 # Extract the first word of "cc", so it can be a program name with args.
2110 set dummy cc; ac_word=$2
2111 echo "$as_me:$LINENO: checking for $ac_word" >&5
2112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 if test -n "$ac_ct_CC"; then
2117 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2126 ac_cv_prog_ac_ct_CC="cc"
2127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2136 if test -n "$ac_ct_CC"; then
2137 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2138 echo "${ECHO_T}$ac_ct_CC" >&6
2140 echo "$as_me:$LINENO: result: no" >&5
2141 echo "${ECHO_T}no" >&6
2150 if test -z "$CC"; then
2151 # Extract the first word of "cc", so it can be a program name with args.
2152 set dummy cc; ac_word=$2
2153 echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2155 if test "${ac_cv_prog_CC+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$CC"; then
2159 ac_cv_prog_CC="$CC" # Let the user override the test.
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir=.
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2169 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2170 ac_prog_rejected=yes
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test $ac_prog_rejected = yes; then
2181 # We found a bogon in the path, so make sure we never use it.
2182 set dummy $ac_cv_prog_CC
2184 if test $# != 0; then
2185 # We chose a different compiler from the bogus one.
2186 # However, it has the same basename, so the bogon will be chosen
2187 # first if we set CC to just the basename; use the full file name.
2189 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2195 if test -n "$CC"; then
2196 echo "$as_me:$LINENO: result: $CC" >&5
2197 echo "${ECHO_T}$CC" >&6
2199 echo "$as_me:$LINENO: result: no" >&5
2200 echo "${ECHO_T}no" >&6
2204 if test -z "$CC"; then
2205 if test -n "$ac_tool_prefix"; then
2208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2209 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2210 echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2212 if test "${ac_cv_prog_CC+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 if test -n "$CC"; then
2216 ac_cv_prog_CC="$CC" # Let the user override the test.
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir=.
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2225 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 if test -n "$CC"; then
2236 echo "$as_me:$LINENO: result: $CC" >&5
2237 echo "${ECHO_T}$CC" >&6
2239 echo "$as_me:$LINENO: result: no" >&5
2240 echo "${ECHO_T}no" >&6
2243 test -n "$CC" && break
2246 if test -z "$CC"; then
2250 # Extract the first word of "$ac_prog", so it can be a program name with args.
2251 set dummy $ac_prog; ac_word=$2
2252 echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2254 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2257 if test -n "$ac_ct_CC"; then
2258 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir=.
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2267 ac_cv_prog_ac_ct_CC="$ac_prog"
2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2277 if test -n "$ac_ct_CC"; then
2278 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2279 echo "${ECHO_T}$ac_ct_CC" >&6
2281 echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6
2285 test -n "$ac_ct_CC" && break
2294 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2295 See \`config.log' for more details." >&5
2296 echo "$as_me: error: no acceptable C compiler found in \$PATH
2297 See \`config.log' for more details." >&2;}
2298 { (exit 1); exit 1; }; }
2300 # Provide some information about the compiler.
2301 echo "$as_me:$LINENO:" \
2302 "checking for C compiler version" >&5
2303 ac_compiler=`set X $ac_compile; echo $2`
2304 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2305 (eval $ac_compiler --version </dev/null >&5) 2>&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }
2309 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2310 (eval $ac_compiler -v </dev/null >&5) 2>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }
2314 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2315 (eval $ac_compiler -V </dev/null >&5) 2>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }
2320 cat >conftest.$ac_ext <<_ACEOF
2321 #line $LINENO "configure"
2324 cat confdefs.h >>conftest.$ac_ext
2325 cat >>conftest.$ac_ext <<_ACEOF
2326 /* end confdefs.h. */
2336 ac_clean_files_save=$ac_clean_files
2337 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2338 # Try to create an executable without -o first, disregard a.out.
2339 # It will help us diagnose broken compilers, and finding out an intuition
2341 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2342 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2343 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2344 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2345 (eval $ac_link_default) 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; then
2349 # Find the output, starting from the most likely. This scheme is
2350 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2353 # Be careful to initialize this variable, since it used to be cached.
2354 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2356 # b.out is created by i960 compilers.
2357 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2359 test -f "$ac_file" || continue
2361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2364 # This is the source file.
2367 # We found the default executable, but exeext='' is most
2371 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2372 # FIXME: I believe we export ac_cv_exeext for Libtool,
2373 # but it would be cool to find out if it's true. Does anybody
2374 # maintain Libtool? --akim.
2382 echo "$as_me: failed program was:" >&5
2383 sed 's/^/| /' conftest.$ac_ext >&5
2385 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2386 See \`config.log' for more details." >&5
2387 echo "$as_me: error: C compiler cannot create executables
2388 See \`config.log' for more details." >&2;}
2389 { (exit 77); exit 77; }; }
2392 ac_exeext=$ac_cv_exeext
2393 echo "$as_me:$LINENO: result: $ac_file" >&5
2394 echo "${ECHO_T}$ac_file" >&6
2396 # Check the compiler produces executables we can run. If not, either
2397 # the compiler is broken, or we cross compile.
2398 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2399 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2400 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2401 # If not cross compiling, check that we can run a simple program.
2402 if test "$cross_compiling" != yes; then
2403 if { ac_try='./$ac_file'
2404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; }; then
2411 if test "$cross_compiling" = maybe; then
2414 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2415 If you meant to cross compile, use \`--host'.
2416 See \`config.log' for more details." >&5
2417 echo "$as_me: error: cannot run C compiled programs.
2418 If you meant to cross compile, use \`--host'.
2419 See \`config.log' for more details." >&2;}
2420 { (exit 1); exit 1; }; }
2424 echo "$as_me:$LINENO: result: yes" >&5
2425 echo "${ECHO_T}yes" >&6
2427 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2428 ac_clean_files=$ac_clean_files_save
2429 # Check the compiler produces executables we can run. If not, either
2430 # the compiler is broken, or we cross compile.
2431 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2432 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2433 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2434 echo "${ECHO_T}$cross_compiling" >&6
2436 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2437 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2439 (eval $ac_link) 2>&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; then
2443 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2444 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2445 # work properly (i.e., refer to `conftest.exe'), while it won't with
2447 for ac_file in conftest.exe conftest conftest.*; do
2448 test -f "$ac_file" || continue
2450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2451 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2465 rm -f conftest$ac_cv_exeext
2466 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2467 echo "${ECHO_T}$ac_cv_exeext" >&6
2469 rm -f conftest.$ac_ext
2470 EXEEXT=$ac_cv_exeext
2472 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2473 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2474 if test "${ac_cv_objext+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 cat >conftest.$ac_ext <<_ACEOF
2478 #line $LINENO "configure"
2481 cat confdefs.h >>conftest.$ac_ext
2482 cat >>conftest.$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2493 rm -f conftest.o conftest.obj
2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2495 (eval $ac_compile) 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; then
2499 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2502 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2507 echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.$ac_ext >&5
2510 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2513 See \`config.log' for more details." >&2;}
2514 { (exit 1); exit 1; }; }
2517 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2519 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2520 echo "${ECHO_T}$ac_cv_objext" >&6
2521 OBJEXT=$ac_cv_objext
2523 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2524 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2525 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 cat >conftest.$ac_ext <<_ACEOF
2529 #line $LINENO "configure"
2532 cat confdefs.h >>conftest.$ac_ext
2533 cat >>conftest.$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2547 rm -f conftest.$ac_objext
2548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549 (eval $ac_compile) 2>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try='test -s conftest.$ac_objext'
2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; }; then
2561 echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2566 rm -f conftest.$ac_objext conftest.$ac_ext
2567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2570 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2571 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2572 GCC=`test $ac_compiler_gnu = yes && echo yes`
2573 ac_test_CFLAGS=${CFLAGS+set}
2574 ac_save_CFLAGS=$CFLAGS
2576 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2577 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2578 if test "${ac_cv_prog_cc_g+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 cat >conftest.$ac_ext <<_ACEOF
2582 #line $LINENO "configure"
2585 cat confdefs.h >>conftest.$ac_ext
2586 cat >>conftest.$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2597 rm -f conftest.$ac_objext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599 (eval $ac_compile) 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2616 rm -f conftest.$ac_objext conftest.$ac_ext
2618 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2619 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2620 if test "$ac_test_CFLAGS" = set; then
2621 CFLAGS=$ac_save_CFLAGS
2622 elif test $ac_cv_prog_cc_g = yes; then
2623 if test "$GCC" = yes; then
2629 if test "$GCC" = yes; then
2635 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2636 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2637 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 ac_cv_prog_cc_stdc=no
2642 cat >conftest.$ac_ext <<_ACEOF
2643 #line $LINENO "configure"
2646 cat confdefs.h >>conftest.$ac_ext
2647 cat >>conftest.$ac_ext <<_ACEOF
2648 /* end confdefs.h. */
2651 #include <sys/types.h>
2652 #include <sys/stat.h>
2653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2654 struct buf { int x; };
2655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2656 static char *e (p, i)
2662 static char *f (char * (*g) (char **, int), char **p, ...)
2667 s = g (p, va_arg (v,int));
2671 int test (int i, double x);
2672 struct s1 {int (*f) (int a);};
2673 struct s2 {int (*f) (double a);};
2674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2680 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2685 # Don't try gcc -ansi; that turns off useful extensions and
2686 # breaks some systems' header files.
2687 # AIX -qlanglvl=ansi
2688 # Ultrix and OSF/1 -std1
2689 # HP-UX 10.20 and later -Ae
2690 # HP-UX older versions -Aa -D_HPUX_SOURCE
2691 # SVR4 -Xc -D__EXTENSIONS__
2692 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2694 CC="$ac_save_CC $ac_arg"
2695 rm -f conftest.$ac_objext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 (eval $ac_compile) 2>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } &&
2701 { ac_try='test -s conftest.$ac_objext'
2702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2707 ac_cv_prog_cc_stdc=$ac_arg
2710 echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2714 rm -f conftest.$ac_objext
2716 rm -f conftest.$ac_ext conftest.$ac_objext
2721 case "x$ac_cv_prog_cc_stdc" in
2723 echo "$as_me:$LINENO: result: none needed" >&5
2724 echo "${ECHO_T}none needed" >&6 ;;
2726 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2727 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2728 CC="$CC $ac_cv_prog_cc_stdc" ;;
2731 # Some people use a C++ compiler to compile C. Since we use `exit',
2732 # in C++ we need to declare it. In case someone uses the same compiler
2733 # for both compiling C and C++ we need to have the C++ compiler decide
2734 # the declaration of exit, since it's the most demanding environment.
2735 cat >conftest.$ac_ext <<_ACEOF
2740 rm -f conftest.$ac_objext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2742 (eval $ac_compile) 2>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); } &&
2746 { ac_try='test -s conftest.$ac_objext'
2747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2752 for ac_declaration in \
2754 'extern "C" void std::exit (int) throw (); using std::exit;' \
2755 'extern "C" void std::exit (int); using std::exit;' \
2756 'extern "C" void exit (int) throw ();' \
2757 'extern "C" void exit (int);' \
2760 cat >conftest.$ac_ext <<_ACEOF
2761 #line $LINENO "configure"
2764 cat confdefs.h >>conftest.$ac_ext
2765 cat >>conftest.$ac_ext <<_ACEOF
2766 /* end confdefs.h. */
2777 rm -f conftest.$ac_objext
2778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2779 (eval $ac_compile) 2>&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } &&
2783 { ac_try='test -s conftest.$ac_objext'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; }; then
2791 echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2796 rm -f conftest.$ac_objext conftest.$ac_ext
2797 cat >conftest.$ac_ext <<_ACEOF
2798 #line $LINENO "configure"
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2813 rm -f conftest.$ac_objext
2814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2815 (eval $ac_compile) 2>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } &&
2819 { ac_try='test -s conftest.$ac_objext'
2820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }; }; then
2827 echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f conftest.$ac_objext conftest.$ac_ext
2834 if test -n "$ac_declaration"; then
2835 echo '#ifdef __cplusplus' >>confdefs.h
2836 echo $ac_declaration >>confdefs.h
2837 echo '#endif' >>confdefs.h
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2845 rm -f conftest.$ac_objext conftest.$ac_ext
2847 ac_cpp='$CPP $CPPFLAGS'
2848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2853 ac_cpp='$CXXCPP $CPPFLAGS'
2854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2857 if test -n "$ac_tool_prefix"; then
2858 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2861 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2862 echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2864 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 if test -n "$CXX"; then
2868 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir=.
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2877 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 CXX=$glibcxx_cv_prog_CXX
2887 if test -n "$CXX"; then
2888 echo "$as_me:$LINENO: result: $CXX" >&5
2889 echo "${ECHO_T}$CXX" >&6
2891 echo "$as_me:$LINENO: result: no" >&5
2892 echo "${ECHO_T}no" >&6
2895 test -n "$CXX" && break
2898 if test -z "$CXX"; then
2900 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2902 # Extract the first word of "$ac_prog", so it can be a program name with args.
2903 set dummy $ac_prog; ac_word=$2
2904 echo "$as_me:$LINENO: checking for $ac_word" >&5
2905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2906 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 if test -n "$ac_ct_CXX"; then
2910 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir=.
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_ac_ct_CXX="$ac_prog"
2920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2929 if test -n "$ac_ct_CXX"; then
2930 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2931 echo "${ECHO_T}$ac_ct_CXX" >&6
2933 echo "$as_me:$LINENO: result: no" >&5
2934 echo "${ECHO_T}no" >&6
2937 test -n "$ac_ct_CXX" && break
2939 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2945 # Provide some information about the compiler.
2946 echo "$as_me:$LINENO:" \
2947 "checking for C++ compiler version" >&5
2948 ac_compiler=`set X $ac_compile; echo $2`
2949 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2950 (eval $ac_compiler --version </dev/null >&5) 2>&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }
2954 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2955 (eval $ac_compiler -v </dev/null >&5) 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }
2959 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2960 (eval $ac_compiler -V </dev/null >&5) 2>&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }
2965 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2966 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2967 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 cat >conftest.$ac_ext <<_ACEOF
2971 #line $LINENO "configure"
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2989 rm -f conftest.$ac_objext
2990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2991 (eval $ac_compile) 2>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try='test -s conftest.$ac_objext'
2996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); }; }; then
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3008 rm -f conftest.$ac_objext conftest.$ac_ext
3009 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3012 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3013 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3014 GXX=`test $ac_compiler_gnu = yes && echo yes`
3015 ac_test_CXXFLAGS=${CXXFLAGS+set}
3016 ac_save_CXXFLAGS=$CXXFLAGS
3018 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3019 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3020 if test "${ac_cv_prog_cxx_g+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 cat >conftest.$ac_ext <<_ACEOF
3024 #line $LINENO "configure"
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3039 rm -f conftest.$ac_objext
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3041 (eval $ac_compile) 2>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } &&
3045 { ac_try='test -s conftest.$ac_objext'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; }; then
3051 ac_cv_prog_cxx_g=yes
3053 echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f conftest.$ac_objext conftest.$ac_ext
3060 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3062 if test "$ac_test_CXXFLAGS" = set; then
3063 CXXFLAGS=$ac_save_CXXFLAGS
3064 elif test $ac_cv_prog_cxx_g = yes; then
3065 if test "$GXX" = yes; then
3071 if test "$GXX" = yes; then
3077 for ac_declaration in \
3079 'extern "C" void std::exit (int) throw (); using std::exit;' \
3080 'extern "C" void std::exit (int); using std::exit;' \
3081 'extern "C" void exit (int) throw ();' \
3082 'extern "C" void exit (int);' \
3085 cat >conftest.$ac_ext <<_ACEOF
3086 #line $LINENO "configure"
3089 cat confdefs.h >>conftest.$ac_ext
3090 cat >>conftest.$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3102 rm -f conftest.$ac_objext
3103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3104 (eval $ac_compile) 2>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } &&
3108 { ac_try='test -s conftest.$ac_objext'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; }; then
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3121 rm -f conftest.$ac_objext conftest.$ac_ext
3122 cat >conftest.$ac_ext <<_ACEOF
3123 #line $LINENO "configure"
3126 cat confdefs.h >>conftest.$ac_ext
3127 cat >>conftest.$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3138 rm -f conftest.$ac_objext
3139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3140 (eval $ac_compile) 2>&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } &&
3144 { ac_try='test -s conftest.$ac_objext'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; }; then
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f conftest.$ac_objext conftest.$ac_ext
3159 if test -n "$ac_declaration"; then
3160 echo '#ifdef __cplusplus' >>confdefs.h
3161 echo $ac_declaration >>confdefs.h
3162 echo '#endif' >>confdefs.h
3166 ac_cpp='$CPP $CPPFLAGS'
3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3171 CXXFLAGS="$save_CXXFLAGS"
3176 # For directory versioning (e.g., headers) and other variables.
3177 echo "$as_me:$LINENO: checking for GCC version number" >&5
3178 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3179 gcc_version=`$CXX -dumpversion`
3180 echo "$as_me:$LINENO: result: $gcc_version" >&5
3181 echo "${ECHO_T}$gcc_version" >&6
3183 # For some reason, gettext needs this.
3185 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3186 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3187 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 ac_check_lib_save_LIBS=$LIBS
3191 LIBS="-lcposix $LIBS"
3192 cat >conftest.$ac_ext <<_ACEOF
3193 #line $LINENO "configure"
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3200 /* Override any gcc2 internal prototype to avoid an error. */
3204 /* We use char because int might match the return type of a gcc2
3205 builtin and then its argument prototype would still apply. */
3215 rm -f conftest.$ac_objext conftest$ac_exeext
3216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3217 (eval $ac_link) 2>&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } &&
3221 { ac_try='test -s conftest$ac_exeext'
3222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); }; }; then
3227 ac_cv_lib_cposix_strerror=yes
3229 echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3232 ac_cv_lib_cposix_strerror=no
3234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3235 LIBS=$ac_check_lib_save_LIBS
3237 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3238 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3239 if test $ac_cv_lib_cposix_strerror = yes; then
3240 LIBS="$LIBS -lcposix"
3246 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3247 # available). Uncomment the next line to force a particular method.
3248 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3249 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3251 if test "$LN_S" = "ln -s"; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3255 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3256 echo "${ECHO_T}no, using $LN_S" >&6
3261 if test -n "$ac_tool_prefix"; then
3262 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3263 set dummy ${ac_tool_prefix}as; ac_word=$2
3264 echo "$as_me:$LINENO: checking for $ac_word" >&5
3265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3266 if test "${ac_cv_prog_AS+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3269 if test -n "$AS"; then
3270 ac_cv_prog_AS="$AS" # Let the user override the test.
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_AS="${ac_tool_prefix}as"
3280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 if test -n "$AS"; then
3290 echo "$as_me:$LINENO: result: $AS" >&5
3291 echo "${ECHO_T}$AS" >&6
3293 echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6
3298 if test -z "$ac_cv_prog_AS"; then
3300 # Extract the first word of "as", so it can be a program name with args.
3301 set dummy as; ac_word=$2
3302 echo "$as_me:$LINENO: checking for $ac_word" >&5
3303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3304 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 if test -n "$ac_ct_AS"; then
3308 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 test -z "$as_dir" && as_dir=.
3315 for ac_exec_ext in '' $ac_executable_extensions; do
3316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3317 ac_cv_prog_ac_ct_AS="as"
3318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3327 if test -n "$ac_ct_AS"; then
3328 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3329 echo "${ECHO_T}$ac_ct_AS" >&6
3331 echo "$as_me:$LINENO: result: no" >&5
3332 echo "${ECHO_T}no" >&6
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}ar; ac_word=$2
3343 echo "$as_me:$LINENO: checking for $ac_word" >&5
3344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3345 if test "${ac_cv_prog_AR+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 if test -n "$AR"; then
3349 ac_cv_prog_AR="$AR" # Let the user override the test.
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3358 ac_cv_prog_AR="${ac_tool_prefix}ar"
3359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 if test -n "$AR"; then
3369 echo "$as_me:$LINENO: result: $AR" >&5
3370 echo "${ECHO_T}$AR" >&6
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3377 if test -z "$ac_cv_prog_AR"; then
3379 # Extract the first word of "ar", so it can be a program name with args.
3380 set dummy ar; ac_word=$2
3381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3383 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3386 if test -n "$ac_ct_AR"; then
3387 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir=.
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_ac_ct_AR="ar"
3397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3405 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3406 if test -n "$ac_ct_AR"; then
3407 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3408 echo "${ECHO_T}$ac_ct_AR" >&6
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3419 if test -n "$ac_tool_prefix"; then
3420 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3421 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3422 echo "$as_me:$LINENO: checking for $ac_word" >&5
3423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3424 if test "${ac_cv_prog_RANLIB+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if test -n "$RANLIB"; then
3428 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3437 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3446 RANLIB=$ac_cv_prog_RANLIB
3447 if test -n "$RANLIB"; then
3448 echo "$as_me:$LINENO: result: $RANLIB" >&5
3449 echo "${ECHO_T}$RANLIB" >&6
3451 echo "$as_me:$LINENO: result: no" >&5
3452 echo "${ECHO_T}no" >&6
3456 if test -z "$ac_cv_prog_RANLIB"; then
3457 ac_ct_RANLIB=$RANLIB
3458 # Extract the first word of "ranlib", so it can be a program name with args.
3459 set dummy ranlib; ac_word=$2
3460 echo "$as_me:$LINENO: checking for $ac_word" >&5
3461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3462 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 if test -n "$ac_ct_RANLIB"; then
3466 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_ac_ct_RANLIB="ranlib"
3476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3485 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3486 if test -n "$ac_ct_RANLIB"; then
3487 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3488 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3490 echo "$as_me:$LINENO: result: no" >&5
3491 echo "${ECHO_T}no" >&6
3494 RANLIB=$ac_ct_RANLIB
3496 RANLIB="$ac_cv_prog_RANLIB"
3500 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3501 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3502 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3503 if test "${enable_maintainer_mode+set}" = set; then
3504 enableval="$enable_maintainer_mode"
3505 USE_MAINTAINER_MODE=$enableval
3507 USE_MAINTAINER_MODE=no
3509 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3510 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3513 if test $USE_MAINTAINER_MODE = yes; then
3514 MAINTAINER_MODE_TRUE=
3515 MAINTAINER_MODE_FALSE='#'
3517 MAINTAINER_MODE_TRUE='#'
3518 MAINTAINER_MODE_FALSE=
3521 MAINT=$MAINTAINER_MODE_TRUE
3525 # Set up safe default values for all subsequent AM_CONDITIONAL tests.
3528 #enable_libstdcxx_debug=no
3529 #enable_libstdcxx_pch=no
3532 #enable_abi_check=no
3535 # Find platform-specific directories containing configuration info.
3536 # Also possibly modify flags used elsewhere, as needed by the platform.
3538 . $glibcxx_srcdir/configure.host
3539 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3540 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3541 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3542 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3546 #AC_MSG_NOTICE([====== Starting libtool configuration])
3548 # Check whether --enable-shared or --disable-shared was given.
3549 if test "${enable_shared+set}" = set; then
3550 enableval="$enable_shared"
3551 p=${PACKAGE-default}
3553 yes) enable_shared=yes ;;
3554 no) enable_shared=no ;;
3557 # Look at the argument we got. We use all the common list separators.
3558 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3559 for pkg in $enableval; do
3560 if test "X$pkg" = "X$p"; then
3570 # Check whether --enable-static or --disable-static was given.
3571 if test "${enable_static+set}" = set; then
3572 enableval="$enable_static"
3573 p=${PACKAGE-default}
3575 yes) enable_static=yes ;;
3576 no) enable_static=no ;;
3579 # Look at the argument we got. We use all the common list separators.
3580 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3581 for pkg in $enableval; do
3582 if test "X$pkg" = "X$p"; then
3592 # Check whether --enable-fast-install or --disable-fast-install was given.
3593 if test "${enable_fast_install+set}" = set; then
3594 enableval="$enable_fast_install"
3595 p=${PACKAGE-default}
3597 yes) enable_fast_install=yes ;;
3598 no) enable_fast_install=no ;;
3600 enable_fast_install=no
3601 # Look at the argument we got. We use all the common list separators.
3602 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3603 for pkg in $enableval; do
3604 if test "X$pkg" = "X$p"; then
3605 enable_fast_install=yes
3612 enable_fast_install=yes
3615 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3616 if test "${with_gnu_ld+set}" = set; then
3617 withval="$with_gnu_ld"
3618 test "$withval" = no || with_gnu_ld=yes
3623 if test "$GCC" = yes; then
3624 # Check if gcc -print-prog-name=ld gives a path.
3625 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3626 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3629 # gcc leaves a trailing carriage return which upsets mingw
3630 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3632 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3635 # Accept absolute paths.
3636 [\\/]* | [A-Za-z]:[\\/]*)
3637 re_direlt='/[^/][^/]*/\.\./'
3638 # Canonicalize the path of ld
3639 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3640 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3641 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3643 test -z "$LD" && LD="$ac_prog"
3646 # If it fails, then pretend we aren't using GCC.
3650 # If it is relative, then search for the first ld in PATH.
3654 elif test "$with_gnu_ld" = yes; then
3655 echo "$as_me:$LINENO: checking for GNU ld" >&5
3656 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3658 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3659 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3661 if test "${lt_cv_path_LD+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 if test -z "$LD"; then
3665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3666 for ac_dir in $PATH; do
3667 test -z "$ac_dir" && ac_dir=.
3668 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3669 lt_cv_path_LD="$ac_dir/$ac_prog"
3670 # Check to see if the program is GNU ld. I'd rather use --version,
3671 # but apparently some GNU ld's only accept -v.
3672 # Break only if it was the GNU/non-GNU ld that we prefer.
3673 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3674 test "$with_gnu_ld" != no && break
3676 test "$with_gnu_ld" != yes && break
3682 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3687 if test -n "$LD"; then
3688 echo "$as_me:$LINENO: result: $LD" >&5
3689 echo "${ECHO_T}$LD" >&6
3691 echo "$as_me:$LINENO: result: no" >&5
3692 echo "${ECHO_T}no" >&6
3694 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3695 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3696 { (exit 1); exit 1; }; }
3697 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3698 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3699 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3703 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3704 lt_cv_prog_gnu_ld=yes
3706 lt_cv_prog_gnu_ld=no
3709 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3710 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3711 with_gnu_ld=$lt_cv_prog_gnu_ld
3714 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3715 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3716 if test "${lt_cv_ld_reload_flag+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 lt_cv_ld_reload_flag='-r'
3721 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3722 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3723 reload_flag=$lt_cv_ld_reload_flag
3724 test -n "$reload_flag" && reload_flag=" $reload_flag"
3726 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3727 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3728 if test "${lt_cv_path_NM+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 if test -n "$NM"; then
3732 # Let the user override the test.
3735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3736 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3737 test -z "$ac_dir" && ac_dir=.
3738 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3739 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3740 # Check to see if the nm accepts a BSD-compat flag.
3741 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3742 # nm: unknown option "B" ignored
3743 # Tru64's nm complains that /dev/null is an invalid object file
3744 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3745 lt_cv_path_NM="$tmp_nm -B"
3747 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3748 lt_cv_path_NM="$tmp_nm -p"
3751 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3752 continue # so that we can try to find one that supports BSD flags
3757 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3762 echo "$as_me:$LINENO: result: $NM" >&5
3763 echo "${ECHO_T}$NM" >&6
3765 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3766 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3767 if test "${lt_cv_deplibs_check_method+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 lt_cv_file_magic_cmd='$MAGIC_CMD'
3771 lt_cv_file_magic_test_file=
3772 lt_cv_deplibs_check_method='unknown'
3773 # Need to set the preceding variable on all platforms that support
3774 # interlibrary dependencies.
3775 # 'none' -- dependencies not supported.
3776 # `unknown' -- same as none, but documents that we really don't know.
3777 # 'pass_all' -- all dependencies passed with no checks.
3778 # 'test_compile' -- check by making test program.
3779 # 'file_magic [regex]' -- check by looking for files in library path
3780 # which responds to the $file_magic_cmd with a given egrep regex.
3781 # If you have `file' or equivalent on your system and you're not sure
3782 # whether `pass_all' will *always* work, you probably want this one.
3786 lt_cv_deplibs_check_method=pass_all
3790 lt_cv_deplibs_check_method=pass_all
3794 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3795 lt_cv_file_magic_cmd='/usr/bin/file -L'
3796 lt_cv_file_magic_test_file=/shlib/libc.so
3799 cygwin* | mingw* |pw32*)
3800 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3801 lt_cv_file_magic_cmd='$OBJDUMP -f'
3804 darwin* | rhapsody*)
3805 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3806 lt_cv_file_magic_cmd='/usr/bin/file -L'
3808 rhapsody* | darwin1.012)
3809 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3812 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3818 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3821 # Not sure whether the presence of OpenBSD here was a mistake.
3822 # Let's accept both of them until this is cleared up.
3823 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3824 lt_cv_file_magic_cmd=/usr/bin/file
3825 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3829 lt_cv_deplibs_check_method=pass_all
3834 lt_cv_deplibs_check_method=pass_all
3840 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3841 lt_cv_file_magic_cmd=/usr/bin/file
3842 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3845 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3846 lt_cv_file_magic_cmd=/usr/bin/file
3847 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3855 # this will be overridden with pass_all, but let us keep it just in case
3856 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3860 *-32|*"-32 ") libmagic=32-bit;;
3861 *-n32|*"-n32 ") libmagic=N32;;
3862 *-64|*"-64 ") libmagic=64-bit;;
3863 *) libmagic=never-match;;
3865 # this will be overridden with pass_all, but let us keep it just in case
3866 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3869 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3870 lt_cv_deplibs_check_method=pass_all
3873 # This must be Linux ELF.
3876 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3877 lt_cv_deplibs_check_method=pass_all ;;
3879 # glibc up to 2.1.1 does not perform some relocations on ARM
3880 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3882 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3886 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3887 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3889 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3894 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3895 lt_cv_file_magic_cmd=/usr/bin/file
3896 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3899 osf3* | osf4* | osf5*)
3900 # this will be overridden with pass_all, but let us keep it just in case
3901 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3902 lt_cv_file_magic_test_file=/shlib/libc.so
3903 lt_cv_deplibs_check_method=pass_all
3907 lt_cv_deplibs_check_method=pass_all
3911 lt_cv_deplibs_check_method=pass_all
3912 lt_cv_file_magic_test_file=/lib/libc.so
3915 sysv5uw[78]* | sysv4*uw2*)
3916 lt_cv_deplibs_check_method=pass_all
3919 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3920 case $host_vendor in
3922 lt_cv_deplibs_check_method=pass_all
3925 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]'
3926 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3933 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3934 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3935 file_magic_cmd=$lt_cv_file_magic_cmd
3936 deplibs_check_method=$lt_cv_deplibs_check_method
3941 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3943 # Only perform the check for file, if the check method requires it
3944 case $deplibs_check_method in
3946 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3947 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3948 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3949 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3957 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3960 ac_save_MAGIC_CMD="$MAGIC_CMD"
3961 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3962 ac_dummy="/usr/bin:$PATH"
3963 for ac_dir in $ac_dummy; do
3964 test -z "$ac_dir" && ac_dir=.
3965 if test -f $ac_dir/${ac_tool_prefix}file; then
3966 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3967 if test -n "$file_magic_test_file"; then
3968 case $deplibs_check_method in
3970 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3971 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3972 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3973 egrep "$file_magic_regex" > /dev/null; then
3978 *** Warning: the command libtool uses to detect shared libraries,
3979 *** $file_magic_cmd, produces output that libtool cannot recognize.
3980 *** The result is that libtool may fail to recognize shared libraries
3981 *** as such. This will affect the creation of libtool libraries that
3982 *** depend on shared libraries, but programs linked with such libtool
3983 *** libraries will work regardless of this problem. Nevertheless, you
3984 *** may want to report the problem to your system manager and/or to
3985 *** bug-libtool@gnu.org
3995 MAGIC_CMD="$ac_save_MAGIC_CMD"
4000 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4001 if test -n "$MAGIC_CMD"; then
4002 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4003 echo "${ECHO_T}$MAGIC_CMD" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4009 if test -z "$lt_cv_path_MAGIC_CMD"; then
4010 if test -n "$ac_tool_prefix"; then
4011 echo "$as_me:$LINENO: checking for file" >&5
4012 echo $ECHO_N "checking for file... $ECHO_C" >&6
4013 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4021 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4024 ac_save_MAGIC_CMD="$MAGIC_CMD"
4025 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4026 ac_dummy="/usr/bin:$PATH"
4027 for ac_dir in $ac_dummy; do
4028 test -z "$ac_dir" && ac_dir=.
4029 if test -f $ac_dir/file; then
4030 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4031 if test -n "$file_magic_test_file"; then
4032 case $deplibs_check_method in
4034 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4035 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4036 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4037 egrep "$file_magic_regex" > /dev/null; then
4042 *** Warning: the command libtool uses to detect shared libraries,
4043 *** $file_magic_cmd, produces output that libtool cannot recognize.
4044 *** The result is that libtool may fail to recognize shared libraries
4045 *** as such. This will affect the creation of libtool libraries that
4046 *** depend on shared libraries, but programs linked with such libtool
4047 *** libraries will work regardless of this problem. Nevertheless, you
4048 *** may want to report the problem to your system manager and/or to
4049 *** bug-libtool@gnu.org
4059 MAGIC_CMD="$ac_save_MAGIC_CMD"
4064 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4065 if test -n "$MAGIC_CMD"; then
4066 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4067 echo "${ECHO_T}$MAGIC_CMD" >&6
4069 echo "$as_me:$LINENO: result: no" >&5
4070 echo "${ECHO_T}no" >&6
4082 if test -n "$ac_tool_prefix"; then
4083 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4084 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4085 echo "$as_me:$LINENO: checking for $ac_word" >&5
4086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4087 if test "${ac_cv_prog_RANLIB+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 if test -n "$RANLIB"; then
4091 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4100 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 RANLIB=$ac_cv_prog_RANLIB
4110 if test -n "$RANLIB"; then
4111 echo "$as_me:$LINENO: result: $RANLIB" >&5
4112 echo "${ECHO_T}$RANLIB" >&6
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4119 if test -z "$ac_cv_prog_RANLIB"; then
4120 ac_ct_RANLIB=$RANLIB
4121 # Extract the first word of "ranlib", so it can be a program name with args.
4122 set dummy ranlib; ac_word=$2
4123 echo "$as_me:$LINENO: checking for $ac_word" >&5
4124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4125 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 if test -n "$ac_ct_RANLIB"; then
4129 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir=.
4136 for ac_exec_ext in '' $ac_executable_extensions; do
4137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4138 ac_cv_prog_ac_ct_RANLIB="ranlib"
4139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4148 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4149 if test -n "$ac_ct_RANLIB"; then
4150 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4151 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4157 RANLIB=$ac_ct_RANLIB
4159 RANLIB="$ac_cv_prog_RANLIB"
4162 if test -n "$ac_tool_prefix"; then
4163 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4164 set dummy ${ac_tool_prefix}strip; ac_word=$2
4165 echo "$as_me:$LINENO: checking for $ac_word" >&5
4166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4167 if test "${ac_cv_prog_STRIP+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 if test -n "$STRIP"; then
4171 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 STRIP=$ac_cv_prog_STRIP
4190 if test -n "$STRIP"; then
4191 echo "$as_me:$LINENO: result: $STRIP" >&5
4192 echo "${ECHO_T}$STRIP" >&6
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4199 if test -z "$ac_cv_prog_STRIP"; then
4201 # Extract the first word of "strip", so it can be a program name with args.
4202 set dummy strip; ac_word=$2
4203 echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4205 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 if test -n "$ac_ct_STRIP"; then
4209 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
4217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4218 ac_cv_prog_ac_ct_STRIP="strip"
4219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4228 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4229 if test -n "$ac_ct_STRIP"; then
4230 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4231 echo "${ECHO_T}$ac_ct_STRIP" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4239 STRIP="$ac_cv_prog_STRIP"
4243 # Check for any special flags to pass to ltconfig.
4244 libtool_flags="--cache-file=$cache_file"
4245 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4246 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4247 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4248 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4249 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags