2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libgcc-math 1.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='libgcc-math'
269 PACKAGE_TARNAME='libgcc-math'
270 PACKAGE_VERSION='1.0'
271 PACKAGE_STRING='libgcc-math 1.0'
274 ac_unique_file="configure.ac"
275 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS CCAS CCASFLAGS LIBGCCM_USE_SYMVER_TRUE LIBGCCM_USE_SYMVER_FALSE TARGET_ILP32_TRUE TARGET_ILP32_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static toolexecdir toolexeclibdir arch_subdirs arch_libraries arch_maps BUILD_LIBGCC_MATH_TRUE BUILD_LIBGCC_MATH_FALSE LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CPP_set=${CPP+set}
717 ac_env_CPP_value=$CPP
718 ac_cv_env_CPP_set=${CPP+set}
719 ac_cv_env_CPP_value=$CPP
720 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
721 ac_env_CPPFLAGS_value=$CPPFLAGS
722 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
723 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
724 ac_env_CCAS_set=${CCAS+set}
725 ac_env_CCAS_value=$CCAS
726 ac_cv_env_CCAS_set=${CCAS+set}
727 ac_cv_env_CCAS_value=$CCAS
728 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
729 ac_env_CCASFLAGS_value=$CCASFLAGS
730 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
731 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
734 # Report the --help message.
736 if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
740 \`configure' configures libgcc-math 1.0 to adapt to many kinds of systems.
742 Usage: $0 [OPTION]... [VAR=VALUE]...
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE. See below for descriptions of some of the useful variables.
747 Defaults for the options are specified in brackets.
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
763 Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
774 For better control, use the options below.
776 Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
794 --program-prefix=PREFIX prepend PREFIX to installed program names
795 --program-suffix=SUFFIX append SUFFIX to installed program names
796 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
799 --build=BUILD configure for building on BUILD [guessed]
800 --host=HOST cross-compile to build programs to run on HOST [BUILD]
801 --target=TARGET configure for building compilers for TARGET [HOST]
805 if test -n "$ac_init_help"; then
806 case $ac_init_help in
807 short | recursive ) echo "Configuration of libgcc-math 1.0:";;
812 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
813 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
814 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
815 --enable-maintainer-mode enable make rules and dependencies not useful
816 (and sometimes confusing) to the casual installer
817 --enable-multilib build many library versions (default)
818 --disable-dependency-tracking speeds up one-time build
819 --enable-dependency-tracking do not reject slow dependency extractors
820 --enable-shared=PKGS build shared libraries default=yes
821 --enable-static=PKGS build static libraries default=yes
822 --enable-fast-install=PKGS optimize for fast installation default=yes
823 --disable-libtool-lock avoid locking (might break parallel builds)
826 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
827 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
828 --with-gnu-ld assume the C compiler uses GNU ld default=no
829 --with-pic try to use only PIC/non-PIC objects default=use both
831 Some influential environment variables:
832 CC C compiler command
833 CFLAGS C compiler flags
834 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
835 nonstandard directory <lib dir>
836 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
837 headers in a nonstandard directory <include dir>
839 CCAS assembler compiler command (defaults to CC)
840 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
842 Use these variables to override the choices made by `configure' or to help
843 it to find libraries and programs with nonstandard names/locations.
848 if test "$ac_init_help" = "recursive"; then
849 # If there are subdirs, report their specific --help.
851 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
852 test -d $ac_dir || continue
855 if test "$ac_dir" != .; then
856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
857 # A "../" for each directory in $ac_dir_suffix.
858 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
860 ac_dir_suffix= ac_top_builddir=
864 .) # No --srcdir option. We are building in place.
866 if test -z "$ac_top_builddir"; then
869 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
871 [\\/]* | ?:[\\/]* ) # Absolute path.
872 ac_srcdir=$srcdir$ac_dir_suffix;
873 ac_top_srcdir=$srcdir ;;
875 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
876 ac_top_srcdir=$ac_top_builddir$srcdir ;;
879 # Do not use `cd foo && pwd` to compute absolute paths, because
880 # the directories may not exist.
882 .) ac_abs_builddir="$ac_dir";;
885 .) ac_abs_builddir=`pwd`;;
886 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
887 *) ac_abs_builddir=`pwd`/"$ac_dir";;
890 case $ac_abs_builddir in
891 .) ac_abs_top_builddir=${ac_top_builddir}.;;
893 case ${ac_top_builddir}. in
894 .) ac_abs_top_builddir=$ac_abs_builddir;;
895 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
896 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
899 case $ac_abs_builddir in
900 .) ac_abs_srcdir=$ac_srcdir;;
903 .) ac_abs_srcdir=$ac_abs_builddir;;
904 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
905 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
908 case $ac_abs_builddir in
909 .) ac_abs_top_srcdir=$ac_top_srcdir;;
911 case $ac_top_srcdir in
912 .) ac_abs_top_srcdir=$ac_abs_builddir;;
913 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
914 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
919 # Check for guested configure; otherwise get Cygnus style configure.
920 if test -f $ac_srcdir/configure.gnu; then
922 $SHELL $ac_srcdir/configure.gnu --help=recursive
923 elif test -f $ac_srcdir/configure; then
925 $SHELL $ac_srcdir/configure --help=recursive
926 elif test -f $ac_srcdir/configure.ac ||
927 test -f $ac_srcdir/configure.in; then
931 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
937 test -n "$ac_init_help" && exit 0
938 if $ac_init_version; then
940 libgcc-math configure 1.0
941 generated by GNU Autoconf 2.59
943 Copyright (C) 2003 Free Software Foundation, Inc.
944 This configure script is free software; the Free Software Foundation
945 gives unlimited permission to copy, distribute and modify it.
951 This file contains any messages produced by compilers while
952 running configure, to aid debugging if configure makes a mistake.
954 It was created by libgcc-math $as_me 1.0, which was
955 generated by GNU Autoconf 2.59. Invocation command line was
966 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
967 uname -m = `(uname -m) 2>/dev/null || echo unknown`
968 uname -r = `(uname -r) 2>/dev/null || echo unknown`
969 uname -s = `(uname -s) 2>/dev/null || echo unknown`
970 uname -v = `(uname -v) 2>/dev/null || echo unknown`
972 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
973 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
975 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
976 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
977 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
978 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
979 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
980 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
981 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
989 test -z "$as_dir" && as_dir=.
1005 # Keep a trace of the command line.
1006 # Strip out --no-create and --no-recursion so they do not pile up.
1007 # Strip out --silent because we don't want to record it for future runs.
1008 # Also quote any args containing shell meta-characters.
1009 # Make two passes to allow for proper duplicate-argument suppression.
1014 ac_must_keep_next=false
1020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1024 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1025 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1028 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1030 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1031 if test $ac_must_keep_next = true; then
1032 ac_must_keep_next=false # Got value, back to normal.
1035 *=* | --config-cache | -C | -disable-* | --disable-* \
1036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1038 | -with-* | --with-* | -without-* | --without-* | --x)
1039 case "$ac_configure_args0 " in
1040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1043 -* ) ac_must_keep_next=true ;;
1046 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1047 # Get rid of the leading space.
1053 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1054 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1056 # When interrupted or exit'd, cleanup temporary files, and complete
1057 # config.log. We remove comments because anyway the quotes in there
1058 # would cause problems or look ugly.
1059 # WARNING: Be sure not to use single quotes in there, as some shells,
1060 # such as our DU 5.0 friend, will then `close' the trap.
1061 trap 'exit_status=$?
1062 # Save into config.log some information that might help in debugging.
1067 ## ---------------- ##
1068 ## Cache variables. ##
1069 ## ---------------- ##
1072 # The following way of writing the cache mishandles newlines in values,
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1090 ## ----------------- ##
1091 ## Output variables. ##
1092 ## ----------------- ##
1095 for ac_var in $ac_subst_vars
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1102 if test -n "$ac_subst_files"; then
1109 for ac_var in $ac_subst_files
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1117 if test -s confdefs.h; then
1124 sed "/^$/d" confdefs.h | sort
1127 test "$ac_signal" != 0 &&
1128 echo "$as_me: caught signal $ac_signal"
1129 echo "$as_me: exit $exit_status"
1131 rm -f core *.core &&
1132 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1135 for ac_signal in 1 2 13 15; do
1136 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1140 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1141 rm -rf conftest* confdefs.h
1142 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1145 # Predefined preprocessor variables.
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_NAME "$PACKAGE_NAME"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_STRING "$PACKAGE_STRING"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1172 # Let the site file select an alternate cache file if it wants to.
1173 # Prefer explicitly selected file to automatically selected ones.
1174 if test -z "$CONFIG_SITE"; then
1175 if test "x$prefix" != xNONE; then
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1181 for ac_site_file in $CONFIG_SITE; do
1182 if test -r "$ac_site_file"; then
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1184 echo "$as_me: loading site script $ac_site_file" >&6;}
1185 sed 's/^/| /' "$ac_site_file" >&5
1190 if test -r "$cache_file"; then
1191 # Some versions of bash will fail to source /dev/null (special
1192 # files actually), so we avoid doing that.
1193 if test -f "$cache_file"; then
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1195 echo "$as_me: loading cache $cache_file" >&6;}
1197 [\\/]* | ?:[\\/]* ) . $cache_file;;
1198 *) . ./$cache_file;;
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1203 echo "$as_me: creating cache $cache_file" >&6;}
1207 # Check that the precious variables saved in the cache have kept the same
1209 ac_cache_corrupted=false
1210 for ac_var in `(set) 2>&1 |
1211 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1213 eval ac_new_set=\$ac_env_${ac_var}_set
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215 eval ac_new_val="\$ac_env_${ac_var}_value"
1216 case $ac_old_set,$ac_new_set in
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1220 ac_cache_corrupted=: ;;
1222 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1223 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1224 ac_cache_corrupted=: ;;
1227 if test "x$ac_old_val" != "x$ac_new_val"; then
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1229 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1231 echo "$as_me: former value: $ac_old_val" >&2;}
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1233 echo "$as_me: current value: $ac_new_val" >&2;}
1234 ac_cache_corrupted=:
1237 # Pass precious variables to config.status.
1238 if test "$ac_new_set" = set; then
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1241 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1242 *) ac_arg=$ac_var=$ac_new_val ;;
1244 case " $ac_configure_args " in
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1250 if $ac_cache_corrupted; then
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1252 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1253 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1254 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1255 { (exit 1); exit 1; }; }
1259 ac_cpp='$CPP $CPPFLAGS'
1260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1292 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1293 if test -f $ac_dir/install-sh; then
1295 ac_install_sh="$ac_aux_dir/install-sh -c"
1297 elif test -f $ac_dir/install.sh; then
1299 ac_install_sh="$ac_aux_dir/install.sh -c"
1301 elif test -f $ac_dir/shtool; then
1303 ac_install_sh="$ac_aux_dir/shtool install -c"
1307 if test -z "$ac_aux_dir"; then
1308 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1309 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1310 { (exit 1); exit 1; }; }
1312 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1313 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1314 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1316 # Make sure we can run config.sub.
1317 $ac_config_sub sun4 >/dev/null 2>&1 ||
1318 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1319 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1320 { (exit 1); exit 1; }; }
1322 echo "$as_me:$LINENO: checking build system type" >&5
1323 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1324 if test "${ac_cv_build+set}" = set; then
1325 echo $ECHO_N "(cached) $ECHO_C" >&6
1327 ac_cv_build_alias=$build_alias
1328 test -z "$ac_cv_build_alias" &&
1329 ac_cv_build_alias=`$ac_config_guess`
1330 test -z "$ac_cv_build_alias" &&
1331 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1332 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1333 { (exit 1); exit 1; }; }
1334 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1335 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1336 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1337 { (exit 1); exit 1; }; }
1340 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1341 echo "${ECHO_T}$ac_cv_build" >&6
1343 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1344 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1345 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1348 echo "$as_me:$LINENO: checking host system type" >&5
1349 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1350 if test "${ac_cv_host+set}" = set; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 ac_cv_host_alias=$host_alias
1354 test -z "$ac_cv_host_alias" &&
1355 ac_cv_host_alias=$ac_cv_build_alias
1356 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1357 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1358 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1359 { (exit 1); exit 1; }; }
1362 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1363 echo "${ECHO_T}$ac_cv_host" >&6
1365 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1366 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1367 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1370 echo "$as_me:$LINENO: checking target system type" >&5
1371 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1372 if test "${ac_cv_target+set}" = set; then
1373 echo $ECHO_N "(cached) $ECHO_C" >&6
1375 ac_cv_target_alias=$target_alias
1376 test "x$ac_cv_target_alias" = "x" &&
1377 ac_cv_target_alias=$ac_cv_host_alias
1378 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1379 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1380 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1381 { (exit 1); exit 1; }; }
1384 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1385 echo "${ECHO_T}$ac_cv_target" >&6
1386 target=$ac_cv_target
1387 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1388 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1389 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1392 # The aliases save the names the user supplied, while $host etc.
1393 # will get canonicalized.
1394 test -n "$target_alias" &&
1395 test "$program_prefix$program_suffix$program_transform_name" = \
1397 program_prefix=${target_alias}-
1399 am__api_version="1.9"
1400 # Find a good install program. We prefer a C program (faster),
1401 # so one script is as good as another. But avoid the broken or
1402 # incompatible versions:
1403 # SysV /etc/install, /usr/sbin/install
1404 # SunOS /usr/etc/install
1405 # IRIX /sbin/install
1407 # AmigaOS /C/install, which installs bootblocks on floppy discs
1408 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1409 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1410 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1411 # OS/2's system install, which has a completely different semantic
1412 # ./install, which can be erroneously created by make from ./install.sh.
1413 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1414 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1415 if test -z "$INSTALL"; then
1416 if test "${ac_cv_path_install+set}" = set; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1423 test -z "$as_dir" && as_dir=.
1424 # Account for people who put trailing slashes in PATH elements.
1426 ./ | .// | /cC/* | \
1427 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1428 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1431 # OSF1 and SCO ODT 3.0 have their own names for install.
1432 # Don't use installbsd from OSF since it installs stuff as root
1434 for ac_prog in ginstall scoinst install; do
1435 for ac_exec_ext in '' $ac_executable_extensions; do
1436 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1437 if test $ac_prog = install &&
1438 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1439 # AIX install. It has an incompatible calling convention.
1441 elif test $ac_prog = install &&
1442 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1443 # program-specific install script used by HP pwplus--don't use.
1446 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1458 if test "${ac_cv_path_install+set}" = set; then
1459 INSTALL=$ac_cv_path_install
1461 # As a last resort, use the slow shell script. We don't cache a
1462 # path for INSTALL within a source directory, because that will
1463 # break other packages using the cache if that directory is
1464 # removed, or if the path is relative.
1465 INSTALL=$ac_install_sh
1468 echo "$as_me:$LINENO: result: $INSTALL" >&5
1469 echo "${ECHO_T}$INSTALL" >&6
1471 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1472 # It thinks the first close brace ends the variable substitution.
1473 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1475 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1477 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1479 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1480 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1483 echo timestamp > conftest.file
1484 # Do `set' in a subshell so we don't clobber the current shell's
1485 # arguments. Must try -L first in case configure is actually a
1486 # symlink; some systems play weird games with the mod time of symlinks
1487 # (eg FreeBSD returns the mod time of the symlink's containing
1490 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1491 if test "$*" = "X"; then
1493 set X `ls -t $srcdir/configure conftest.file`
1496 if test "$*" != "X $srcdir/configure conftest.file" \
1497 && test "$*" != "X conftest.file $srcdir/configure"; then
1499 # If neither matched, then we have a broken ls. This can happen
1500 # if, for instance, CONFIG_SHELL is bash and it inherits a
1501 # broken ls alias from the environment. This has actually
1502 # happened. Such a system could not be considered "sane".
1503 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1504 alias in your environment" >&5
1505 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1506 alias in your environment" >&2;}
1507 { (exit 1); exit 1; }; }
1510 test "$2" = conftest.file
1516 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1517 Check your system clock" >&5
1518 echo "$as_me: error: newly created file is older than distributed files!
1519 Check your system clock" >&2;}
1520 { (exit 1); exit 1; }; }
1522 echo "$as_me:$LINENO: result: yes" >&5
1523 echo "${ECHO_T}yes" >&6
1524 test "$program_prefix" != NONE &&
1525 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1526 # Use a double $ so make ignores it.
1527 test "$program_suffix" != NONE &&
1528 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1529 # Double any \ or $. echo might interpret backslashes.
1530 # By default was `s,x,x', remove it if useless.
1531 cat <<\_ACEOF >conftest.sed
1532 s/[\\$]/&&/g;s/;s,x,x,$//
1534 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1537 # expand $ac_aux_dir to an absolute path
1538 am_aux_dir=`cd $ac_aux_dir && pwd`
1540 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1541 # Use eval to expand $SHELL
1542 if eval "$MISSING --run true"; then
1543 am_missing_run="$MISSING --run "
1546 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1547 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1550 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1551 # We used to keeping the `.' as first argument, in order to
1552 # allow $(mkdir_p) to be used without argument. As in
1553 # $(mkdir_p) $(somedir)
1554 # where $(somedir) is conditionally defined. However this is wrong
1556 # 1. if the package is installed by a user who cannot write `.'
1557 # make install will fail,
1558 # 2. the above comment should most certainly read
1559 # $(mkdir_p) $(DESTDIR)$(somedir)
1560 # so it does not work when $(somedir) is undefined and
1561 # $(DESTDIR) is not.
1562 # To support the latter case, we have to write
1563 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1564 # so the `.' trick is pointless.
1565 mkdir_p='mkdir -p --'
1567 # On NextStep and OpenStep, the `mkdir' command does not
1568 # recognize any option. It will interpret all options as
1569 # directories to create, and then abort because `.' already
1571 for d in ./-p ./--version;
1573 test -d $d && rmdir $d
1575 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1576 if test -f "$ac_aux_dir/mkinstalldirs"; then
1577 mkdir_p='$(mkinstalldirs)'
1579 mkdir_p='$(install_sh) -d'
1583 for ac_prog in gawk mawk nawk awk
1585 # Extract the first word of "$ac_prog", so it can be a program name with args.
1586 set dummy $ac_prog; ac_word=$2
1587 echo "$as_me:$LINENO: checking for $ac_word" >&5
1588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1589 if test "${ac_cv_prog_AWK+set}" = set; then
1590 echo $ECHO_N "(cached) $ECHO_C" >&6
1592 if test -n "$AWK"; then
1593 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1599 test -z "$as_dir" && as_dir=.
1600 for ac_exec_ext in '' $ac_executable_extensions; do
1601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1602 ac_cv_prog_AWK="$ac_prog"
1603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1612 if test -n "$AWK"; then
1613 echo "$as_me:$LINENO: result: $AWK" >&5
1614 echo "${ECHO_T}$AWK" >&6
1616 echo "$as_me:$LINENO: result: no" >&5
1617 echo "${ECHO_T}no" >&6
1620 test -n "$AWK" && break
1623 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1624 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1625 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1626 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 cat >conftest.make <<\_ACEOF
1631 @echo 'ac_maketemp="$(MAKE)"'
1633 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1634 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1635 if test -n "$ac_maketemp"; then
1636 eval ac_cv_prog_make_${ac_make}_set=yes
1638 eval ac_cv_prog_make_${ac_make}_set=no
1642 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1643 echo "$as_me:$LINENO: result: yes" >&5
1644 echo "${ECHO_T}yes" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1649 SET_MAKE="MAKE=${MAKE-make}"
1652 rm -rf .tst 2>/dev/null
1653 mkdir .tst 2>/dev/null
1654 if test -d .tst; then
1659 rmdir .tst 2>/dev/null
1661 # test to see if srcdir already configured
1662 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1663 test -f $srcdir/config.status; then
1664 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1665 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1666 { (exit 1); exit 1; }; }
1669 # test whether we have cygpath
1670 if test -z "$CYGPATH_W"; then
1671 if (cygpath --version) >/dev/null 2>/dev/null; then
1672 CYGPATH_W='cygpath -w'
1679 # Define the identity of the package.
1680 PACKAGE='libgcc-math'
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE "$PACKAGE"
1689 cat >>confdefs.h <<_ACEOF
1690 #define VERSION "$VERSION"
1693 # Some tools Automake needs.
1695 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1698 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1701 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1704 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1707 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1709 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1711 # Installed binaries are usually stripped using `strip' when the user
1712 # run `make install-strip'. However `strip' might not be the right
1713 # tool to use in cross-compilation environments, therefore Automake
1714 # will honor the `STRIP' environment variable to overrule this program.
1715 if test "$cross_compiling" != no; then
1716 if test -n "$ac_tool_prefix"; then
1717 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1718 set dummy ${ac_tool_prefix}strip; ac_word=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_STRIP+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$STRIP"; then
1725 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir=.
1732 for ac_exec_ext in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1743 STRIP=$ac_cv_prog_STRIP
1744 if test -n "$STRIP"; then
1745 echo "$as_me:$LINENO: result: $STRIP" >&5
1746 echo "${ECHO_T}$STRIP" >&6
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1753 if test -z "$ac_cv_prog_STRIP"; then
1755 # Extract the first word of "strip", so it can be a program name with args.
1756 set dummy strip; ac_word=$2
1757 echo "$as_me:$LINENO: checking for $ac_word" >&5
1758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1759 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1760 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 if test -n "$ac_ct_STRIP"; then
1763 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1769 test -z "$as_dir" && as_dir=.
1770 for ac_exec_ext in '' $ac_executable_extensions; do
1771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1772 ac_cv_prog_ac_ct_STRIP="strip"
1773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1782 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1783 if test -n "$ac_ct_STRIP"; then
1784 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1785 echo "${ECHO_T}$ac_ct_STRIP" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1793 STRIP="$ac_cv_prog_STRIP"
1797 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1799 # We need awk for the "check" target. The system "awk" is bad on
1801 # Always define AMTAR for backward compatibility.
1803 AMTAR=${AMTAR-"${am_missing_run}tar"}
1805 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1812 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1813 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1814 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1815 if test "${enable_version_specific_runtime_libs+set}" = set; then
1816 enableval="$enable_version_specific_runtime_libs"
1817 case "$enableval" in
1818 yes) version_specific_libs=yes ;;
1819 no) version_specific_libs=no ;;
1820 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1821 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1822 { (exit 1); exit 1; }; };;
1825 version_specific_libs=no
1827 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1828 echo "${ECHO_T}$version_specific_libs" >&6
1830 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1831 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1832 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1833 if test "${enable_maintainer_mode+set}" = set; then
1834 enableval="$enable_maintainer_mode"
1835 USE_MAINTAINER_MODE=$enableval
1837 USE_MAINTAINER_MODE=no
1839 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1840 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1843 if test $USE_MAINTAINER_MODE = yes; then
1844 MAINTAINER_MODE_TRUE=
1845 MAINTAINER_MODE_FALSE='#'
1847 MAINTAINER_MODE_TRUE='#'
1848 MAINTAINER_MODE_FALSE=
1851 MAINT=$MAINTAINER_MODE_TRUE
1856 # Default to --enable-multilib
1857 # Check whether --enable-multilib or --disable-multilib was given.
1858 if test "${enable_multilib+set}" = set; then
1859 enableval="$enable_multilib"
1860 case "$enableval" in
1861 yes) multilib=yes ;;
1863 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1864 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1865 { (exit 1); exit 1; }; } ;;
1871 # We may get other options which we leave undocumented:
1872 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1873 # See config-ml.in if you want the gory details.
1875 if test "$srcdir" = "."; then
1876 if test "$with_target_subdir" != "."; then
1877 multi_basedir="$srcdir/$with_multisrctop../.."
1879 multi_basedir="$srcdir/$with_multisrctop.."
1882 multi_basedir="$srcdir/.."
1886 ac_config_commands="$ac_config_commands default-1"
1889 target_alias=${target_alias-$host_alias}
1893 ac_cpp='$CPP $CPPFLAGS'
1894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1898 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1899 # We must force CC to /not/ be precious variables; otherwise
1900 # the wrong, non-multilib-adjusted value will be used in multilibs.
1901 # As a side effect, we have to subst CFLAGS ourselves.
1906 ac_cpp='$CPP $CPPFLAGS'
1907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1910 if test -n "$ac_tool_prefix"; then
1911 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1912 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1913 echo "$as_me:$LINENO: checking for $ac_word" >&5
1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1915 if test "${ac_cv_prog_CC+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 if test -n "$CC"; then
1919 ac_cv_prog_CC="$CC" # Let the user override the test.
1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 test -z "$as_dir" && as_dir=.
1926 for ac_exec_ext in '' $ac_executable_extensions; do
1927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1928 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1938 if test -n "$CC"; then
1939 echo "$as_me:$LINENO: result: $CC" >&5
1940 echo "${ECHO_T}$CC" >&6
1942 echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6
1947 if test -z "$ac_cv_prog_CC"; then
1949 # Extract the first word of "gcc", so it can be a program name with args.
1950 set dummy gcc; ac_word=$2
1951 echo "$as_me:$LINENO: checking for $ac_word" >&5
1952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 if test -n "$ac_ct_CC"; then
1957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir=.
1964 for ac_exec_ext in '' $ac_executable_extensions; do
1965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1966 ac_cv_prog_ac_ct_CC="gcc"
1967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1976 if test -n "$ac_ct_CC"; then
1977 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1978 echo "${ECHO_T}$ac_ct_CC" >&6
1980 echo "$as_me:$LINENO: result: no" >&5
1981 echo "${ECHO_T}no" >&6
1989 if test -z "$CC"; then
1990 if test -n "$ac_tool_prefix"; then
1991 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1992 set dummy ${ac_tool_prefix}cc; 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}cc"
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 "cc", so it can be a program name with args.
2030 set dummy cc; 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="cc"
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
2070 if test -z "$CC"; then
2071 # Extract the first word of "cc", so it can be a program name with args.
2072 set dummy 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.
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2090 ac_prog_rejected=yes
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 if test $ac_prog_rejected = yes; then
2101 # We found a bogon in the path, so make sure we never use it.
2102 set dummy $ac_cv_prog_CC
2104 if test $# != 0; then
2105 # We chose a different compiler from the bogus one.
2106 # However, it has the same basename, so the bogon will be chosen
2107 # first if we set CC to just the basename; use the full file name.
2109 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2115 if test -n "$CC"; then
2116 echo "$as_me:$LINENO: result: $CC" >&5
2117 echo "${ECHO_T}$CC" >&6
2119 echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2124 if test -z "$CC"; then
2125 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2130 echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2132 if test "${ac_cv_prog_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 if test -n "$CC"; then
2136 ac_cv_prog_CC="$CC" # Let the user override the test.
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2145 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 if test -n "$CC"; then
2156 echo "$as_me:$LINENO: result: $CC" >&5
2157 echo "${ECHO_T}$CC" >&6
2159 echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6
2163 test -n "$CC" && break
2166 if test -z "$CC"; then
2170 # Extract the first word of "$ac_prog", so it can be a program name with args.
2171 set dummy $ac_prog; ac_word=$2
2172 echo "$as_me:$LINENO: checking for $ac_word" >&5
2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2174 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 if test -n "$ac_ct_CC"; then
2178 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 ac_cv_prog_ac_ct_CC="$ac_prog"
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2197 if test -n "$ac_ct_CC"; then
2198 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2199 echo "${ECHO_T}$ac_ct_CC" >&6
2201 echo "$as_me:$LINENO: result: no" >&5
2202 echo "${ECHO_T}no" >&6
2205 test -n "$ac_ct_CC" && break
2214 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2215 See \`config.log' for more details." >&5
2216 echo "$as_me: error: no acceptable C compiler found in \$PATH
2217 See \`config.log' for more details." >&2;}
2218 { (exit 1); exit 1; }; }
2220 # Provide some information about the compiler.
2221 echo "$as_me:$LINENO:" \
2222 "checking for C compiler version" >&5
2223 ac_compiler=`set X $ac_compile; echo $2`
2224 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2225 (eval $ac_compiler --version </dev/null >&5) 2>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }
2229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2230 (eval $ac_compiler -v </dev/null >&5) 2>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }
2234 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2235 (eval $ac_compiler -V </dev/null >&5) 2>&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }
2240 cat >conftest.$ac_ext <<_ACEOF
2243 cat confdefs.h >>conftest.$ac_ext
2244 cat >>conftest.$ac_ext <<_ACEOF
2245 /* end confdefs.h. */
2255 ac_clean_files_save=$ac_clean_files
2256 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2257 # Try to create an executable without -o first, disregard a.out.
2258 # It will help us diagnose broken compilers, and finding out an intuition
2260 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2261 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2262 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2263 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2264 (eval $ac_link_default) 2>&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; then
2268 # Find the output, starting from the most likely. This scheme is
2269 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2272 # Be careful to initialize this variable, since it used to be cached.
2273 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2275 # b.out is created by i960 compilers.
2276 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2278 test -f "$ac_file" || continue
2280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2283 # This is the source file.
2286 # We found the default executable, but exeext='' is most
2290 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2291 # FIXME: I believe we export ac_cv_exeext for Libtool,
2292 # but it would be cool to find out if it's true. Does anybody
2293 # maintain Libtool? --akim.
2301 echo "$as_me: failed program was:" >&5
2302 sed 's/^/| /' conftest.$ac_ext >&5
2304 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2305 See \`config.log' for more details." >&5
2306 echo "$as_me: error: C compiler cannot create executables
2307 See \`config.log' for more details." >&2;}
2308 { (exit 77); exit 77; }; }
2311 ac_exeext=$ac_cv_exeext
2312 echo "$as_me:$LINENO: result: $ac_file" >&5
2313 echo "${ECHO_T}$ac_file" >&6
2315 # Check the compiler produces executables we can run. If not, either
2316 # the compiler is broken, or we cross compile.
2317 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2318 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2319 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2320 # If not cross compiling, check that we can run a simple program.
2321 if test "$cross_compiling" != yes; then
2322 if { ac_try='./$ac_file'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; }; then
2330 if test "$cross_compiling" = maybe; then
2333 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2334 If you meant to cross compile, use \`--host'.
2335 See \`config.log' for more details." >&5
2336 echo "$as_me: error: cannot run C compiled programs.
2337 If you meant to cross compile, use \`--host'.
2338 See \`config.log' for more details." >&2;}
2339 { (exit 1); exit 1; }; }
2343 echo "$as_me:$LINENO: result: yes" >&5
2344 echo "${ECHO_T}yes" >&6
2346 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2347 ac_clean_files=$ac_clean_files_save
2348 # Check the compiler produces executables we can run. If not, either
2349 # the compiler is broken, or we cross compile.
2350 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2351 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2352 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2353 echo "${ECHO_T}$cross_compiling" >&6
2355 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2356 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2358 (eval $ac_link) 2>&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; then
2362 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2363 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2364 # work properly (i.e., refer to `conftest.exe'), while it won't with
2366 for ac_file in conftest.exe conftest conftest.*; do
2367 test -f "$ac_file" || continue
2369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2370 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2377 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2378 See \`config.log' for more details." >&5
2379 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2380 See \`config.log' for more details." >&2;}
2381 { (exit 1); exit 1; }; }
2384 rm -f conftest$ac_cv_exeext
2385 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2386 echo "${ECHO_T}$ac_cv_exeext" >&6
2388 rm -f conftest.$ac_ext
2389 EXEEXT=$ac_cv_exeext
2391 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2392 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2393 if test "${ac_cv_objext+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 cat >conftest.$ac_ext <<_ACEOF
2399 cat confdefs.h >>conftest.$ac_ext
2400 cat >>conftest.$ac_ext <<_ACEOF
2401 /* end confdefs.h. */
2411 rm -f conftest.o conftest.obj
2412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2413 (eval $ac_compile) 2>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; then
2417 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2420 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2425 echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2428 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2429 See \`config.log' for more details." >&5
2430 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2431 See \`config.log' for more details." >&2;}
2432 { (exit 1); exit 1; }; }
2435 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2437 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2438 echo "${ECHO_T}$ac_cv_objext" >&6
2439 OBJEXT=$ac_cv_objext
2441 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2442 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2443 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 cat >conftest.$ac_ext <<_ACEOF
2449 cat confdefs.h >>conftest.$ac_ext
2450 cat >>conftest.$ac_ext <<_ACEOF
2451 /* end confdefs.h. */
2464 rm -f conftest.$ac_objext
2465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2466 (eval $ac_compile) 2>conftest.er1
2468 grep -v '^ *+' conftest.er1 >conftest.err
2470 cat conftest.err >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); } &&
2473 { ac_try='test -z "$ac_c_werror_flag"
2474 || test ! -s conftest.err'
2475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }; } &&
2480 { ac_try='test -s conftest.$ac_objext'
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; }; then
2488 echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.$ac_ext >&5
2493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2494 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2497 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2498 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2499 GCC=`test $ac_compiler_gnu = yes && echo yes`
2500 ac_test_CFLAGS=${CFLAGS+set}
2501 ac_save_CFLAGS=$CFLAGS
2503 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2504 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2505 if test "${ac_cv_prog_cc_g+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 cat >conftest.$ac_ext <<_ACEOF
2511 cat confdefs.h >>conftest.$ac_ext
2512 cat >>conftest.$ac_ext <<_ACEOF
2513 /* end confdefs.h. */
2523 rm -f conftest.$ac_objext
2524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2525 (eval $ac_compile) 2>conftest.er1
2527 grep -v '^ *+' conftest.er1 >conftest.err
2529 cat conftest.err >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); } &&
2532 { ac_try='test -z "$ac_c_werror_flag"
2533 || test ! -s conftest.err'
2534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); }; } &&
2539 { ac_try='test -s conftest.$ac_objext'
2540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; }; then
2547 echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.$ac_ext >&5
2552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2554 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2555 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2556 if test "$ac_test_CFLAGS" = set; then
2557 CFLAGS=$ac_save_CFLAGS
2558 elif test $ac_cv_prog_cc_g = yes; then
2559 if test "$GCC" = yes; then
2565 if test "$GCC" = yes; then
2571 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2572 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2573 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 ac_cv_prog_cc_stdc=no
2578 cat >conftest.$ac_ext <<_ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2586 #include <sys/types.h>
2587 #include <sys/stat.h>
2588 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2589 struct buf { int x; };
2590 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2591 static char *e (p, i)
2597 static char *f (char * (*g) (char **, int), char **p, ...)
2602 s = g (p, va_arg (v,int));
2607 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2608 function prototypes and stuff, but not '\xHH' hex character constants.
2609 These don't provoke an error unfortunately, instead are silently treated
2610 as 'x'. The following induces an error, until -std1 is added to get
2611 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2612 array size at least. It's necessary to write '\x00'==0 to get something
2613 that's true only with -std1. */
2614 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2616 int test (int i, double x);
2617 struct s1 {int (*f) (int a);};
2618 struct s2 {int (*f) (double a);};
2619 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2625 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2630 # Don't try gcc -ansi; that turns off useful extensions and
2631 # breaks some systems' header files.
2632 # AIX -qlanglvl=ansi
2633 # Ultrix and OSF/1 -std1
2634 # HP-UX 10.20 and later -Ae
2635 # HP-UX older versions -Aa -D_HPUX_SOURCE
2636 # SVR4 -Xc -D__EXTENSIONS__
2637 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2639 CC="$ac_save_CC $ac_arg"
2640 rm -f conftest.$ac_objext
2641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>conftest.er1
2644 grep -v '^ *+' conftest.er1 >conftest.err
2646 cat conftest.err >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try='test -z "$ac_c_werror_flag"
2650 || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 ac_cv_prog_cc_stdc=$ac_arg
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2669 rm -f conftest.err conftest.$ac_objext
2671 rm -f conftest.$ac_ext conftest.$ac_objext
2676 case "x$ac_cv_prog_cc_stdc" in
2678 echo "$as_me:$LINENO: result: none needed" >&5
2679 echo "${ECHO_T}none needed" >&6 ;;
2681 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2682 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2683 CC="$CC $ac_cv_prog_cc_stdc" ;;
2686 # Some people use a C++ compiler to compile C. Since we use `exit',
2687 # in C++ we need to declare it. In case someone uses the same compiler
2688 # for both compiling C and C++ we need to have the C++ compiler decide
2689 # the declaration of exit, since it's the most demanding environment.
2690 cat >conftest.$ac_ext <<_ACEOF
2695 rm -f conftest.$ac_objext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 (eval $ac_compile) 2>conftest.er1
2699 grep -v '^ *+' conftest.er1 >conftest.err
2701 cat conftest.err >&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); } &&
2704 { ac_try='test -z "$ac_c_werror_flag"
2705 || test ! -s conftest.err'
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; } &&
2711 { ac_try='test -s conftest.$ac_objext'
2712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; }; then
2717 for ac_declaration in \
2719 'extern "C" void std::exit (int) throw (); using std::exit;' \
2720 'extern "C" void std::exit (int); using std::exit;' \
2721 'extern "C" void exit (int) throw ();' \
2722 'extern "C" void exit (int);' \
2725 cat >conftest.$ac_ext <<_ACEOF
2728 cat confdefs.h >>conftest.$ac_ext
2729 cat >>conftest.$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2741 rm -f conftest.$ac_objext
2742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2743 (eval $ac_compile) 2>conftest.er1
2745 grep -v '^ *+' conftest.er1 >conftest.err
2747 cat conftest.err >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); } &&
2750 { ac_try='test -z "$ac_c_werror_flag"
2751 || test ! -s conftest.err'
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; } &&
2757 { ac_try='test -s conftest.$ac_objext'
2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; }; then
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2771 cat >conftest.$ac_ext <<_ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2786 rm -f conftest.$ac_objext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788 (eval $ac_compile) 2>conftest.er1
2790 grep -v '^ *+' conftest.er1 >conftest.err
2792 cat conftest.err >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); } &&
2795 { ac_try='test -z "$ac_c_werror_flag"
2796 || test ! -s conftest.err'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; } &&
2802 { ac_try='test -s conftest.$ac_objext'
2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }; }; then
2810 echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2817 if test -n "$ac_declaration"; then
2818 echo '#ifdef __cplusplus' >>confdefs.h
2819 echo $ac_declaration >>confdefs.h
2820 echo '#endif' >>confdefs.h
2824 echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2830 ac_cpp='$CPP $CPPFLAGS'
2831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2834 DEPDIR="${am__leading_dot}deps"
2836 ac_config_commands="$ac_config_commands depfiles"
2839 am_make=${MAKE-make}
2840 cat > confinc << 'END'
2845 # If we don't find an include directive, just comment out the code.
2846 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2847 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2851 # First try GNU make style include.
2852 echo "include confinc" > confmf
2853 # We grep out `Entering directory' and `Leaving directory'
2854 # messages which can occur if `w' ends up in MAKEFLAGS.
2855 # In particular we don't look at `^make:' because GNU make might
2856 # be invoked under some other name (usually "gmake"), in which
2857 # case it prints its new name instead of `make'.
2858 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2863 # Now try BSD make style include.
2864 if test "$am__include" = "#"; then
2865 echo '.include "confinc"' > confmf
2866 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2867 am__include=.include
2874 echo "$as_me:$LINENO: result: $_am_result" >&5
2875 echo "${ECHO_T}$_am_result" >&6
2876 rm -f confinc confmf
2878 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2879 if test "${enable_dependency_tracking+set}" = set; then
2880 enableval="$enable_dependency_tracking"
2883 if test "x$enable_dependency_tracking" != xno; then
2884 am_depcomp="$ac_aux_dir/depcomp"
2889 if test "x$enable_dependency_tracking" != xno; then
2900 depcc="$CC" am_compiler_list=
2902 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2903 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2904 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2908 # We make a subdir and do the tests there. Otherwise we can end up
2909 # making bogus files that we don't know about and never remove. For
2910 # instance it was reported that on HP-UX the gcc test will end up
2911 # making a dummy file named `D' -- because `-MD' means `put the output
2914 # Copy depcomp to subdir because otherwise we won't find it if we're
2915 # using a relative directory.
2916 cp "$am_depcomp" conftest.dir
2918 # We will build objects and dependencies in a subdirectory because
2919 # it helps to detect inapplicable dependency modes. For instance
2920 # both Tru64's cc and ICC support -MD to output dependencies as a
2921 # side effect of compilation, but ICC will put the dependencies in
2922 # the current directory while Tru64 will put them in the object
2926 am_cv_CC_dependencies_compiler_type=none
2927 if test "$am_compiler_list" = ""; then
2928 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2930 for depmode in $am_compiler_list; do
2931 # Setup a source with many dependencies, because some compilers
2932 # like to wrap large dependency lists on column 80 (with \), and
2933 # we should not choose a depcomp mode which is confused by this.
2935 # We need to recreate these files for each test, as the compiler may
2936 # overwrite some of them when testing with obscure command lines.
2937 # This happens at least with the AIX C compiler.
2939 for i in 1 2 3 4 5 6; do
2940 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2941 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2942 # Solaris 8's {/usr,}/bin/sh.
2943 touch sub/conftst$i.h
2945 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2949 # after this tag, mechanisms are not by side-effect, so they'll
2950 # only be used when explicitly requested
2951 if test "x$enable_dependency_tracking" = xyes; then
2959 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2960 # mode. It turns out that the SunPro C++ compiler does not properly
2961 # handle `-M -o', and we need to detect this.
2962 if depmode=$depmode \
2963 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2964 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2965 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2966 >/dev/null 2>conftest.err &&
2967 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2968 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2969 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2970 # icc doesn't choke on unknown options, it will just issue warnings
2971 # or remarks (even with -Werror). So we grep stderr for any message
2972 # that says an option was ignored or not supported.
2973 # When given -MP, icc 7.0 and 7.1 complain thusly:
2974 # icc: Command line warning: ignoring option '-M'; no argument required
2975 # The diagnosis changed in icc 8.0:
2976 # icc: Command line remark: option '-MP' not supported
2977 if (grep 'ignoring option' conftest.err ||
2978 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2979 am_cv_CC_dependencies_compiler_type=$depmode
2988 am_cv_CC_dependencies_compiler_type=none
2992 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2993 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2994 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2999 test "x$enable_dependency_tracking" != xno \
3000 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3002 am__fastdepCC_FALSE='#'
3004 am__fastdepCC_TRUE='#'
3005 am__fastdepCC_FALSE=
3013 if test "x$GCC" != "xyes"; then
3014 { { echo "$as_me:$LINENO: error: libgcc-math must be built with GCC" >&5
3015 echo "$as_me: error: libgcc-math must be built with GCC" >&2;}
3016 { (exit 1); exit 1; }; }
3019 ac_cpp='$CPP $CPPFLAGS'
3020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3023 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3024 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3025 # On Suns, sometimes $CPP names a directory.
3026 if test -n "$CPP" && test -d "$CPP"; then
3029 if test -z "$CPP"; then
3030 if test "${ac_cv_prog_CPP+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 # Double quotes because CPP needs to be expanded
3034 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3037 for ac_c_preproc_warn_flag in '' yes
3039 # Use a header file that comes with gcc, so configuring glibc
3040 # with a fresh cross-compiler works.
3041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3042 # <limits.h> exists even on freestanding compilers.
3043 # On the NeXT, cc -E runs the code through the compiler's parser,
3044 # not just through cpp. "Syntax error" is here to catch this case.
3045 cat >conftest.$ac_ext <<_ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3052 # include <limits.h>
3054 # include <assert.h>
3058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3061 grep -v '^ *+' conftest.er1 >conftest.err
3063 cat conftest.err >&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } >/dev/null; then
3066 if test -s conftest.err; then
3067 ac_cpp_err=$ac_c_preproc_warn_flag
3068 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3075 if test -z "$ac_cpp_err"; then
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 # Broken: fails on valid input.
3084 rm -f conftest.err conftest.$ac_ext
3086 # OK, works on sane cases. Now check whether non-existent headers
3087 # can be detected and how.
3088 cat >conftest.$ac_ext <<_ACEOF
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3094 #include <ac_nonexistent.h>
3096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3099 grep -v '^ *+' conftest.er1 >conftest.err
3101 cat conftest.err >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } >/dev/null; then
3104 if test -s conftest.err; then
3105 ac_cpp_err=$ac_c_preproc_warn_flag
3106 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3113 if test -z "$ac_cpp_err"; then
3114 # Broken: success on invalid input.
3117 echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 # Passes both tests.
3124 rm -f conftest.err conftest.$ac_ext
3127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3128 rm -f conftest.err conftest.$ac_ext
3129 if $ac_preproc_ok; then
3141 echo "$as_me:$LINENO: result: $CPP" >&5
3142 echo "${ECHO_T}$CPP" >&6
3144 for ac_c_preproc_warn_flag in '' yes
3146 # Use a header file that comes with gcc, so configuring glibc
3147 # with a fresh cross-compiler works.
3148 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3149 # <limits.h> exists even on freestanding compilers.
3150 # On the NeXT, cc -E runs the code through the compiler's parser,
3151 # not just through cpp. "Syntax error" is here to catch this case.
3152 cat >conftest.$ac_ext <<_ACEOF
3155 cat confdefs.h >>conftest.$ac_ext
3156 cat >>conftest.$ac_ext <<_ACEOF
3157 /* end confdefs.h. */
3159 # include <limits.h>
3161 # include <assert.h>
3165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } >/dev/null; then
3173 if test -s conftest.err; then
3174 ac_cpp_err=$ac_c_preproc_warn_flag
3175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3182 if test -z "$ac_cpp_err"; then
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3188 # Broken: fails on valid input.
3191 rm -f conftest.err conftest.$ac_ext
3193 # OK, works on sane cases. Now check whether non-existent headers
3194 # can be detected and how.
3195 cat >conftest.$ac_ext <<_ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3201 #include <ac_nonexistent.h>
3203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } >/dev/null; then
3211 if test -s conftest.err; then
3212 ac_cpp_err=$ac_c_preproc_warn_flag
3213 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3220 if test -z "$ac_cpp_err"; then
3221 # Broken: success on invalid input.
3224 echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.$ac_ext >&5
3227 # Passes both tests.
3231 rm -f conftest.err conftest.$ac_ext
3234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3235 rm -f conftest.err conftest.$ac_ext
3236 if $ac_preproc_ok; then
3239 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3240 See \`config.log' for more details." >&5
3241 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3242 See \`config.log' for more details." >&2;}
3243 { (exit 1); exit 1; }; }
3247 ac_cpp='$CPP $CPPFLAGS'
3248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3252 # By default we simply use the C compiler to build assembly code.
3254 test "${CCAS+set}" = set || CCAS=$CC
3255 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3260 echo "$as_me:$LINENO: checking whether hidden visibility is supported" >&5
3261 echo $ECHO_N "checking whether hidden visibility is supported... $ECHO_C" >&6
3263 cat >conftest.$ac_ext <<_ACEOF
3266 cat confdefs.h >>conftest.$ac_ext
3267 cat >>conftest.$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3270 void __attribute__((visibility ("hidden"))) bar (void) {}
3279 rm -f conftest.$ac_objext
3280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3281 (eval $ac_compile) 2>conftest.er1
3283 grep -v '^ *+' conftest.er1 >conftest.err
3285 cat conftest.err >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } &&
3288 { ac_try='test -z "$ac_c_werror_flag"
3289 || test ! -s conftest.err'
3290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }; } &&
3295 { ac_try='test -s conftest.$ac_objext'
3296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }; }; then
3303 echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.$ac_ext >&5
3308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3309 echo "$as_me:$LINENO: result: $gccm_hidden" >&5
3310 echo "${ECHO_T}$gccm_hidden" >&6
3311 if test x$gccm_hidden = xyes; then
3313 cat >>confdefs.h <<\_ACEOF
3314 #define HAVE_HIDDEN_VISIBILITY 1
3319 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3320 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3321 cat > conftest.map <<EOF
3323 global: *foo*; bar; local: *;
3326 save_LDFLAGS="$LDFLAGS"
3327 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3328 cat >conftest.$ac_ext <<_ACEOF
3331 cat confdefs.h >>conftest.$ac_ext
3332 cat >>conftest.$ac_ext <<_ACEOF
3333 /* end confdefs.h. */
3343 rm -f conftest.$ac_objext conftest$ac_exeext
3344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3345 (eval $ac_link) 2>conftest.er1
3347 grep -v '^ *+' conftest.er1 >conftest.err
3349 cat conftest.err >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } &&
3352 { ac_try='test -z "$ac_c_werror_flag"
3353 || test ! -s conftest.err'
3354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }; } &&
3359 { ac_try='test -s conftest$ac_exeext'
3360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3367 echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3372 rm -f conftest.err conftest.$ac_objext \
3373 conftest$ac_exeext conftest.$ac_ext
3374 LDFLAGS="$save_LDFLAGS"
3375 echo "$as_me:$LINENO: result: $gccm_use_symver" >&5
3376 echo "${ECHO_T}$gccm_use_symver" >&6
3379 if test "x$gccm_use_symver" = xyes; then
3380 LIBGCCM_USE_SYMVER_TRUE=
3381 LIBGCCM_USE_SYMVER_FALSE='#'
3383 LIBGCCM_USE_SYMVER_TRUE='#'
3384 LIBGCCM_USE_SYMVER_FALSE=
3388 echo "$as_me:$LINENO: checking whether we are a 32bit target" >&5
3389 echo $ECHO_N "checking whether we are a 32bit target... $ECHO_C" >&6
3390 save_CFLAGS="$CFLAGS"
3392 cat >conftest.$ac_ext <<_ACEOF
3395 cat confdefs.h >>conftest.$ac_ext
3396 cat >>conftest.$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3403 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
3406 undefined_function ();
3412 rm -f conftest.$ac_objext conftest$ac_exeext
3413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3414 (eval $ac_link) 2>conftest.er1
3416 grep -v '^ *+' conftest.er1 >conftest.err
3418 cat conftest.err >&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } &&
3421 { ac_try='test -z "$ac_c_werror_flag"
3422 || test ! -s conftest.err'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; } &&
3428 { ac_try='test -s conftest$ac_exeext'
3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); }; }; then
3436 echo "$as_me: failed program was:" >&5
3437 sed 's/^/| /' conftest.$ac_ext >&5
3441 rm -f conftest.err conftest.$ac_objext \
3442 conftest$ac_exeext conftest.$ac_ext
3443 CFLAGS="$save_CFLAGS"
3446 if test "x$target_ilp32" = xyes; then
3448 TARGET_ILP32_FALSE='#'
3450 TARGET_ILP32_TRUE='#'
3456 # Check whether --enable-shared or --disable-shared was given.
3457 if test "${enable_shared+set}" = set; then
3458 enableval="$enable_shared"
3459 p=${PACKAGE-default}
3461 yes) enable_shared=yes ;;
3462 no) enable_shared=no ;;
3465 # Look at the argument we got. We use all the common list separators.
3466 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3467 for pkg in $enableval; do
3468 if test "X$pkg" = "X$p"; then
3478 # Check whether --enable-static or --disable-static was given.
3479 if test "${enable_static+set}" = set; then
3480 enableval="$enable_static"
3481 p=${PACKAGE-default}
3483 yes) enable_static=yes ;;
3484 no) enable_static=no ;;
3487 # Look at the argument we got. We use all the common list separators.
3488 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3489 for pkg in $enableval; do
3490 if test "X$pkg" = "X$p"; then
3500 # Check whether --enable-fast-install or --disable-fast-install was given.
3501 if test "${enable_fast_install+set}" = set; then
3502 enableval="$enable_fast_install"
3503 p=${PACKAGE-default}
3505 yes) enable_fast_install=yes ;;
3506 no) enable_fast_install=no ;;
3508 enable_fast_install=no
3509 # Look at the argument we got. We use all the common list separators.
3510 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3511 for pkg in $enableval; do
3512 if test "X$pkg" = "X$p"; then
3513 enable_fast_install=yes
3520 enable_fast_install=yes
3523 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3524 if test "${with_gnu_ld+set}" = set; then
3525 withval="$with_gnu_ld"
3526 test "$withval" = no || with_gnu_ld=yes
3531 if test "$GCC" = yes; then
3532 # Check if gcc -print-prog-name=ld gives a path.
3533 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3534 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3537 # gcc leaves a trailing carriage return which upsets mingw
3538 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3540 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3543 # Accept absolute paths.
3544 [\\/]* | [A-Za-z]:[\\/]*)
3545 re_direlt='/[^/][^/]*/\.\./'
3546 # Canonicalize the path of ld
3547 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3548 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3549 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3551 test -z "$LD" && LD="$ac_prog"
3554 # If it fails, then pretend we aren't using GCC.
3558 # If it is relative, then search for the first ld in PATH.
3562 elif test "$with_gnu_ld" = yes; then
3563 echo "$as_me:$LINENO: checking for GNU ld" >&5
3564 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3566 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3567 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3569 if test "${lt_cv_path_LD+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 if test -z "$LD"; then
3573 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3574 for ac_dir in $PATH; do
3575 test -z "$ac_dir" && ac_dir=.
3576 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3577 lt_cv_path_LD="$ac_dir/$ac_prog"
3578 # Check to see if the program is GNU ld. I'd rather use --version,
3579 # but apparently some GNU ld's only accept -v.
3580 # Break only if it was the GNU/non-GNU ld that we prefer.
3581 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3582 test "$with_gnu_ld" != no && break
3584 test "$with_gnu_ld" != yes && break
3590 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3595 if test -n "$LD"; then
3596 echo "$as_me:$LINENO: result: $LD" >&5
3597 echo "${ECHO_T}$LD" >&6
3599 echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6
3602 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3603 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3604 { (exit 1); exit 1; }; }
3605 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3606 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3607 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3611 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3612 lt_cv_prog_gnu_ld=yes
3614 lt_cv_prog_gnu_ld=no
3617 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3618 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3619 with_gnu_ld=$lt_cv_prog_gnu_ld
3622 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3623 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3624 if test "${lt_cv_ld_reload_flag+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 lt_cv_ld_reload_flag='-r'
3629 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3630 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3631 reload_flag=$lt_cv_ld_reload_flag
3632 test -n "$reload_flag" && reload_flag=" $reload_flag"
3634 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3635 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3636 if test "${lt_cv_path_NM+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 if test -n "$NM"; then
3640 # Let the user override the test.
3643 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3644 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3645 test -z "$ac_dir" && ac_dir=.
3646 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3647 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3648 # Check to see if the nm accepts a BSD-compat flag.
3649 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3650 # nm: unknown option "B" ignored
3651 # Tru64's nm complains that /dev/null is an invalid object file
3652 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3653 lt_cv_path_NM="$tmp_nm -B"
3655 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3656 lt_cv_path_NM="$tmp_nm -p"
3659 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3660 continue # so that we can try to find one that supports BSD flags
3665 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3670 echo "$as_me:$LINENO: result: $NM" >&5
3671 echo "${ECHO_T}$NM" >&6
3673 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3674 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3676 if test "$LN_S" = "ln -s"; then
3677 echo "$as_me:$LINENO: result: yes" >&5
3678 echo "${ECHO_T}yes" >&6
3680 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3681 echo "${ECHO_T}no, using $LN_S" >&6
3684 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3685 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3686 if test "${lt_cv_deplibs_check_method+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 lt_cv_file_magic_cmd='$MAGIC_CMD'
3690 lt_cv_file_magic_test_file=
3691 lt_cv_deplibs_check_method='unknown'
3692 # Need to set the preceding variable on all platforms that support
3693 # interlibrary dependencies.
3694 # 'none' -- dependencies not supported.
3695 # `unknown' -- same as none, but documents that we really don't know.
3696 # 'pass_all' -- all dependencies passed with no checks.
3697 # 'test_compile' -- check by making test program.
3698 # 'file_magic [regex]' -- check by looking for files in library path
3699 # which responds to the $file_magic_cmd with a given egrep regex.
3700 # If you have `file' or equivalent on your system and you're not sure
3701 # whether `pass_all' will *always* work, you probably want this one.
3705 lt_cv_deplibs_check_method=pass_all
3709 lt_cv_deplibs_check_method=pass_all
3713 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3714 lt_cv_file_magic_cmd='/usr/bin/file -L'
3715 lt_cv_file_magic_test_file=/shlib/libc.so
3718 cygwin* | mingw* |pw32*)
3719 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3720 lt_cv_file_magic_cmd='$OBJDUMP -f'
3723 darwin* | rhapsody*)
3724 # this will be overwritten by pass_all, but leave it in just in case
3725 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3726 lt_cv_file_magic_cmd='/usr/bin/file -L'
3728 rhapsody* | darwin1.012)
3729 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3732 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3735 lt_cv_deplibs_check_method=pass_all
3738 freebsd* | kfreebsd*-gnu)
3739 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3742 # Not sure whether the presence of OpenBSD here was a mistake.
3743 # Let's accept both of them until this is cleared up.
3744 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3745 lt_cv_file_magic_cmd=/usr/bin/file
3746 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3750 lt_cv_deplibs_check_method=pass_all
3755 lt_cv_deplibs_check_method=pass_all
3761 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3762 lt_cv_file_magic_cmd=/usr/bin/file
3763 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3766 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3767 lt_cv_file_magic_cmd=/usr/bin/file
3768 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3776 # this will be overridden with pass_all, but let us keep it just in case
3777 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3781 *-32|*"-32 ") libmagic=32-bit;;
3782 *-n32|*"-n32 ") libmagic=N32;;
3783 *-64|*"-64 ") libmagic=64-bit;;
3784 *) libmagic=never-match;;
3786 # this will be overridden with pass_all, but let us keep it just in case
3787 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3790 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3791 lt_cv_deplibs_check_method=pass_all
3794 # This must be Linux ELF.
3796 lt_cv_deplibs_check_method=pass_all
3799 netbsd* | knetbsd*-gnu)
3800 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3801 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3803 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3808 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3809 lt_cv_file_magic_cmd=/usr/bin/file
3810 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3813 osf3* | osf4* | osf5*)
3814 # this will be overridden with pass_all, but let us keep it just in case
3815 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3816 lt_cv_file_magic_test_file=/shlib/libc.so
3817 lt_cv_deplibs_check_method=pass_all
3821 lt_cv_deplibs_check_method=pass_all
3825 lt_cv_deplibs_check_method=pass_all
3826 lt_cv_file_magic_test_file=/lib/libc.so
3829 sysv5uw[78]* | sysv4*uw2*)
3830 lt_cv_deplibs_check_method=pass_all
3833 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3834 case $host_vendor in
3836 lt_cv_deplibs_check_method=pass_all
3839 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]'
3840 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3847 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3848 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3849 file_magic_cmd=$lt_cv_file_magic_cmd
3850 deplibs_check_method=$lt_cv_deplibs_check_method
3854 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3856 # find the maximum length of command line arguments
3857 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3858 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3859 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 # On DJGPP, this test can blow up pretty badly due to problems in libc
3868 # (any single argument exceeding 2000 bytes causes a buffer overrun
3869 # during glob expansion). Even if it were fixed, the result of this
3870 # check would be larger than it should be.
3871 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3875 # On Win9x/ME, this test blows up -- it succeeds, but takes
3876 # about 5 minutes as the teststring grows exponentially.
3877 # Worse, since 9x/ME are not pre-emptively multitasking,
3878 # you end up with a "frozen" computer, even though with patience
3879 # the test eventually succeeds (with a max line length of 256k).
3880 # Instead, let's just punt: use the minimum linelength reported by
3881 # all of the supported platforms: 8192 (on NT/2K/XP).
3882 lt_cv_sys_max_cmd_len=8192;
3886 # On AmigaOS with pdksh, this test takes hours, literally.
3887 # So we just punt and use a minimum line length of 8192.
3888 lt_cv_sys_max_cmd_len=8192;
3891 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3892 # This has been around since 386BSD, at least. Likely further.
3893 if test -x /sbin/sysctl; then
3894 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3895 elif test -x /usr/sbin/sysctl; then
3896 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3898 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3900 # And add a safety zone
3901 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3902 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3908 if test -n "$lt_cv_sys_max_cmd_len" ; then
3909 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3910 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3912 echo "$as_me:$LINENO: result: none" >&5
3913 echo "${ECHO_T}none" >&6
3917 # Only perform the check for file, if the check method requires it
3918 case $deplibs_check_method in
3920 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3921 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3922 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3923 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3931 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3934 ac_save_MAGIC_CMD="$MAGIC_CMD"
3935 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3936 ac_dummy="/usr/bin:$PATH"
3937 for ac_dir in $ac_dummy; do
3938 test -z "$ac_dir" && ac_dir=.
3939 if test -f $ac_dir/${ac_tool_prefix}file; then
3940 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3941 if test -n "$file_magic_test_file"; then
3942 case $deplibs_check_method in
3944 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3945 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3946 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3947 egrep "$file_magic_regex" > /dev/null; then
3952 *** Warning: the command libtool uses to detect shared libraries,
3953 *** $file_magic_cmd, produces output that libtool cannot recognize.
3954 *** The result is that libtool may fail to recognize shared libraries
3955 *** as such. This will affect the creation of libtool libraries that
3956 *** depend on shared libraries, but programs linked with such libtool
3957 *** libraries will work regardless of this problem. Nevertheless, you
3958 *** may want to report the problem to your system manager and/or to
3959 *** bug-libtool@gnu.org
3969 MAGIC_CMD="$ac_save_MAGIC_CMD"
3974 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3975 if test -n "$MAGIC_CMD"; then
3976 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3977 echo "${ECHO_T}$MAGIC_CMD" >&6
3979 echo "$as_me:$LINENO: result: no" >&5
3980 echo "${ECHO_T}no" >&6
3983 if test -z "$lt_cv_path_MAGIC_CMD"; then
3984 if test -n "$ac_tool_prefix"; then
3985 echo "$as_me:$LINENO: checking for file" >&5
3986 echo $ECHO_N "checking for file... $ECHO_C" >&6
3987 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3995 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3998 ac_save_MAGIC_CMD="$MAGIC_CMD"
3999 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4000 ac_dummy="/usr/bin:$PATH"
4001 for ac_dir in $ac_dummy; do
4002 test -z "$ac_dir" && ac_dir=.
4003 if test -f $ac_dir/file; then
4004 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4005 if test -n "$file_magic_test_file"; then
4006 case $deplibs_check_method in
4008 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4009 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4010 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4011 egrep "$file_magic_regex" > /dev/null; then
4016 *** Warning: the command libtool uses to detect shared libraries,
4017 *** $file_magic_cmd, produces output that libtool cannot recognize.
4018 *** The result is that libtool may fail to recognize shared libraries
4019 *** as such. This will affect the creation of libtool libraries that
4020 *** depend on shared libraries, but programs linked with such libtool
4021 *** libraries will work regardless of this problem. Nevertheless, you
4022 *** may want to report the problem to your system manager and/or to
4023 *** bug-libtool@gnu.org
4033 MAGIC_CMD="$ac_save_MAGIC_CMD"
4038 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4039 if test -n "$MAGIC_CMD"; then
4040 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4041 echo "${ECHO_T}$MAGIC_CMD" >&6
4043 echo "$as_me:$LINENO: result: no" >&5
4044 echo "${ECHO_T}no" >&6
4056 if test -n "$ac_tool_prefix"; then
4057 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4058 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4059 echo "$as_me:$LINENO: checking for $ac_word" >&5
4060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4061 if test "${ac_cv_prog_RANLIB+set}" = set; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 if test -n "$RANLIB"; then
4065 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4071 test -z "$as_dir" && as_dir=.
4072 for ac_exec_ext in '' $ac_executable_extensions; do
4073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4074 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4083 RANLIB=$ac_cv_prog_RANLIB
4084 if test -n "$RANLIB"; then
4085 echo "$as_me:$LINENO: result: $RANLIB" >&5
4086 echo "${ECHO_T}$RANLIB" >&6
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4093 if test -z "$ac_cv_prog_RANLIB"; then
4094 ac_ct_RANLIB=$RANLIB
4095 # Extract the first word of "ranlib", so it can be a program name with args.
4096 set dummy ranlib; ac_word=$2
4097 echo "$as_me:$LINENO: checking for $ac_word" >&5
4098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4099 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 if test -n "$ac_ct_RANLIB"; then
4103 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4112 ac_cv_prog_ac_ct_RANLIB="ranlib"
4113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4122 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4123 if test -n "$ac_ct_RANLIB"; then
4124 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4125 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4127 echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6
4131 RANLIB=$ac_ct_RANLIB
4133 RANLIB="$ac_cv_prog_RANLIB"
4136 if test -n "$ac_tool_prefix"; then
4137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4138 set dummy ${ac_tool_prefix}strip; ac_word=$2
4139 echo "$as_me:$LINENO: checking for $ac_word" >&5
4140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4141 if test "${ac_cv_prog_STRIP+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4144 if test -n "$STRIP"; then
4145 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 test -z "$as_dir" && as_dir=.
4152 for ac_exec_ext in '' $ac_executable_extensions; do
4153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 STRIP=$ac_cv_prog_STRIP
4164 if test -n "$STRIP"; then
4165 echo "$as_me:$LINENO: result: $STRIP" >&5
4166 echo "${ECHO_T}$STRIP" >&6
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4173 if test -z "$ac_cv_prog_STRIP"; then
4175 # Extract the first word of "strip", so it can be a program name with args.
4176 set dummy strip; ac_word=$2
4177 echo "$as_me:$LINENO: checking for $ac_word" >&5
4178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4179 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 if test -n "$ac_ct_STRIP"; then
4183 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir=.
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4192 ac_cv_prog_ac_ct_STRIP="strip"
4193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4202 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4203 if test -n "$ac_ct_STRIP"; then
4204 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4205 echo "${ECHO_T}$ac_ct_STRIP" >&6
4207 echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6
4213 STRIP="$ac_cv_prog_STRIP"
4217 # Check for any special flags to pass to ltconfig.
4218 libtool_flags="--cache-file=$cache_file"
4219 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4220 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4221 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4222 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4223 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4226 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4227 if test "${enable_libtool_lock+set}" = set; then
4228 enableval="$enable_libtool_lock"
4231 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4232 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4235 # Check whether --with-pic or --without-pic was given.
4236 if test "${with_pic+set}" = set; then
4242 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4243 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4245 # Some flags need to be propagated to the compiler or linker for good
4249 # Find out which ABI we are using.
4250 echo '#line 4250 "configure"' > conftest.$ac_ext
4251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4252 (eval $ac_compile) 2>&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; then
4256 if test "$lt_cv_prog_gnu_ld" = yes; then
4257 case `/usr/bin/file conftest.$ac_objext` in
4259 LD="${LD-ld} -melf32bsmip"
4262 LD="${LD-ld} -melf32bmipn32"
4265 LD="${LD-ld} -melf64bmip"
4269 case `/usr/bin/file conftest.$ac_objext` in
4286 # Find out which ABI we are using.
4287 echo 'int i;' > conftest.$ac_ext
4288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4289 (eval $ac_compile) 2>&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); }; then
4293 case "`/usr/bin/file conftest.o`" in
4305 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4306 # Find out which ABI we are using.
4307 echo 'int i;' > conftest.$ac_ext
4308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4309 (eval $ac_compile) 2>&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; then
4313 case "`/usr/bin/file conftest.o`" in
4317 LD="${LD-ld} -m elf_i386"
4319 ppc64-*linux*|powerpc64-*linux*)
4320 LD="${LD-ld} -m elf32ppclinux"
4323 LD="${LD-ld} -m elf_s390"
4326 LD="${LD-ld} -m elf32_sparc"
4333 LD="${LD-ld} -m elf_x86_64"
4335 ppc*-*linux*|powerpc*-*linux*)
4336 LD="${LD-ld} -m elf64ppc"
4339 LD="${LD-ld} -m elf64_s390"
4342 LD="${LD-ld} -m elf64_sparc"
4352 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4353 SAVE_CFLAGS="$CFLAGS"
4354 CFLAGS="$CFLAGS -belf"
4355 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4356 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4357 if test "${lt_cv_cc_needs_belf+set}" = set; then
4358 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 ac_cpp='$CPP $CPPFLAGS'
4364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4368 cat >conftest.$ac_ext <<_ACEOF
4371 cat confdefs.h >>conftest.$ac_ext
4372 cat >>conftest.$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4383 rm -f conftest.$ac_objext conftest$ac_exeext
4384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4385 (eval $ac_link) 2>conftest.er1
4387 grep -v '^ *+' conftest.er1 >conftest.err
4389 cat conftest.err >&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); } &&
4392 { ac_try='test -z "$ac_c_werror_flag"
4393 || test ! -s conftest.err'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; } &&
4399 { ac_try='test -s conftest$ac_exeext'
4400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; }; then
4405 lt_cv_cc_needs_belf=yes
4407 echo "$as_me: failed program was:" >&5
4408 sed 's/^/| /' conftest.$ac_ext >&5
4410 lt_cv_cc_needs_belf=no
4412 rm -f conftest.err conftest.$ac_objext \
4413 conftest$ac_exeext conftest.$ac_ext
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4421 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4422 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4423 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4424 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4425 CFLAGS="$SAVE_CFLAGS"
4433 # Save cache, so that ltconfig can load it
4434 cat >confcache <<\_ACEOF
4435 # This file is a shell script that caches the results of configure
4436 # tests run on this system so they can be shared between configure
4437 # scripts and configure runs, see configure's option --config-cache.
4438 # It is not useful on other systems. If it contains results you don't
4439 # want to keep, you may remove or edit it.
4441 # config.status only pays attention to the cache file if you give it
4442 # the --recheck option to rerun configure.
4444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4450 # The following way of writing the cache mishandles newlines in values,
4451 # but we know of no workaround that is simple, portable, and efficient.
4452 # So, don't put newlines in cache variables' values.
4453 # Ultrix sh set writes to stderr and can't be redirected directly,
4454 # and sets the high bit in the cache file unless we assign to the vars.
4457 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4459 # `set' does not quote correctly, so add quotes (double-quote
4460 # substitution turns \\\\ into \\, and sed turns \\ into \).
4463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4466 # `set' quotes correctly as required by POSIX, so do not add quotes.
4468 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4477 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4479 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4480 if test -w $cache_file; then
4481 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4482 cat confcache >$cache_file
4484 echo "not updating unwritable cache $cache_file"
4489 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4490 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4491 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4492 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4493 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4494 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4495 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4496 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4497 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4498 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4499 echo "$as_me: error: libtool configure failed" >&2;}
4500 { (exit 1); exit 1; }; }
4502 # Reload cache, that may have been modified by ltconfig
4503 if test -r "$cache_file"; then
4504 # Some versions of bash will fail to source /dev/null (special
4505 # files actually), so we avoid doing that.
4506 if test -f "$cache_file"; then
4507 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4508 echo "$as_me: loading cache $cache_file" >&6;}
4510 [\\/]* | ?:[\\/]* ) . $cache_file;;
4511 *) . ./$cache_file;;
4515 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4516 echo "$as_me: creating cache $cache_file" >&6;}
4521 # This can be used to rebuild libtool when needed
4522 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4524 # Always use our own libtool.
4525 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4527 # Redirect the config.log output again, so that the ltconfig log is not
4528 # clobbered by the next message.
4529 exec 5>>./config.log
4539 # Calculate toolexeclibdir
4540 # Also toolexecdir, though it's only used in toolexeclibdir
4541 case ${version_specific_libs} in
4543 # Need the gcc compiler version to know where to install libraries
4544 # and header files if --enable-version-specific-runtime-libs option
4546 toolexecdir='$(libdir)/gcc/$(target_alias)'
4547 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4550 if test -n "$with_cross_host" &&
4551 test x"$with_cross_host" != x"no"; then
4552 # Install a library built with a cross compiler in tooldir, not libdir.
4553 toolexecdir='$(exec_prefix)/$(target_alias)'
4554 toolexeclibdir='$(toolexecdir)/lib'
4556 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4557 toolexeclibdir='$(libdir)'
4559 multi_os_directory=`$CC -print-multi-os-directory`
4560 case $multi_os_directory in
4561 .) ;; # Avoid trailing /.
4562 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4569 if test ${multilib} = yes; then
4570 multilib_arg="--enable-multilib"
4576 # Now check which parts we include in the library.
4581 # Handle multilib cases
4582 if test "x$target_ilp32" = xyes; then
4584 arch_libraries="i386/libsse2.la"
4585 arch_maps="i386/sse2.map"
4595 if test "x$arch_subdirs" != x; then
4596 BUILD_LIBGCC_MATH_TRUE=
4597 BUILD_LIBGCC_MATH_FALSE='#'
4599 BUILD_LIBGCC_MATH_TRUE='#'
4600 BUILD_LIBGCC_MATH_FALSE=
4605 ac_config_files="$ac_config_files Makefile i386/Makefile"
4607 cat >confcache <<\_ACEOF
4608 # This file is a shell script that caches the results of configure
4609 # tests run on this system so they can be shared between configure
4610 # scripts and configure runs, see configure's option --config-cache.
4611 # It is not useful on other systems. If it contains results you don't
4612 # want to keep, you may remove or edit it.
4614 # config.status only pays attention to the cache file if you give it
4615 # the --recheck option to rerun configure.
4617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4623 # The following way of writing the cache mishandles newlines in values,
4624 # but we know of no workaround that is simple, portable, and efficient.
4625 # So, don't put newlines in cache variables' values.
4626 # Ultrix sh set writes to stderr and can't be redirected directly,
4627 # and sets the high bit in the cache file unless we assign to the vars.
4630 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4632 # `set' does not quote correctly, so add quotes (double-quote
4633 # substitution turns \\\\ into \\, and sed turns \\ into \).
4636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4639 # `set' quotes correctly as required by POSIX, so do not add quotes.
4641 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4648 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4650 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4652 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4653 if test -w $cache_file; then
4654 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4655 cat confcache >$cache_file
4657 echo "not updating unwritable cache $cache_file"
4662 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4663 # Let make expand exec_prefix.
4664 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4666 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4667 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4668 # trailing colons and then remove the whole line if VPATH becomes empty
4669 # (actually we leave an empty line to preserve line numbers).
4670 if test "x$srcdir" = x.; then
4671 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4672 s/:*\$(srcdir):*/:/;
4673 s/:*\${srcdir}:*/:/;
4675 s/^\([^=]*=[ ]*\):*/\1/;
4681 # Transform confdefs.h into DEFS.
4682 # Protect against shell expansion while executing Makefile rules.
4683 # Protect against Makefile macro expansion.
4685 # If the first sed substitution is executed (which looks for macros that
4686 # take arguments), then we branch to the quote section. Otherwise,
4687 # look for a macro that doesn't take arguments.
4688 cat >confdef2opt.sed <<\_ACEOF
4691 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4693 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4697 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4703 # We use echo to avoid assuming a particular line-breaking character.
4704 # The extra dot is to prevent the shell from consuming trailing
4705 # line-breaks from the sub-command output. A line-break within
4706 # single-quotes doesn't work because, if this script is created in a
4707 # platform that uses two characters for line-breaks (e.g., DOS), tr
4709 ac_LF_and_DOT=`echo; echo .`
4710 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4711 rm -f confdef2opt.sed
4716 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4717 # 1. Remove the extension, and $U if already installed.
4718 ac_i=`echo "$ac_i" |
4719 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4721 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4722 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4726 LTLIBOBJS=$ac_ltlibobjs
4729 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4730 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4731 Usually this means the macro was only invoked conditionally." >&5
4732 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4733 Usually this means the macro was only invoked conditionally." >&2;}
4734 { (exit 1); exit 1; }; }
4736 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4737 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4738 Usually this means the macro was only invoked conditionally." >&5
4739 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4740 Usually this means the macro was only invoked conditionally." >&2;}
4741 { (exit 1); exit 1; }; }
4743 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4744 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4745 Usually this means the macro was only invoked conditionally." >&5
4746 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4747 Usually this means the macro was only invoked conditionally." >&2;}
4748 { (exit 1); exit 1; }; }
4750 if test -z "${LIBGCCM_USE_SYMVER_TRUE}" && test -z "${LIBGCCM_USE_SYMVER_FALSE}"; then
4751 { { echo "$as_me:$LINENO: error: conditional \"LIBGCCM_USE_SYMVER\" was never defined.
4752 Usually this means the macro was only invoked conditionally." >&5
4753 echo "$as_me: error: conditional \"LIBGCCM_USE_SYMVER\" was never defined.
4754 Usually this means the macro was only invoked conditionally." >&2;}
4755 { (exit 1); exit 1; }; }
4757 if test -z "${TARGET_ILP32_TRUE}" && test -z "${TARGET_ILP32_FALSE}"; then
4758 { { echo "$as_me:$LINENO: error: conditional \"TARGET_ILP32\" was never defined.
4759 Usually this means the macro was only invoked conditionally." >&5
4760 echo "$as_me: error: conditional \"TARGET_ILP32\" was never defined.
4761 Usually this means the macro was only invoked conditionally." >&2;}
4762 { (exit 1); exit 1; }; }
4764 if test -z "${BUILD_LIBGCC_MATH_TRUE}" && test -z "${BUILD_LIBGCC_MATH_FALSE}"; then
4765 { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGCC_MATH\" was never defined.
4766 Usually this means the macro was only invoked conditionally." >&5
4767 echo "$as_me: error: conditional \"BUILD_LIBGCC_MATH\" was never defined.
4768 Usually this means the macro was only invoked conditionally." >&2;}
4769 { (exit 1); exit 1; }; }
4772 : ${CONFIG_STATUS=./config.status}
4773 ac_clean_files_save=$ac_clean_files
4774 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4775 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4776 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4777 cat >$CONFIG_STATUS <<_ACEOF
4779 # Generated by $as_me.
4780 # Run this file to recreate the current configuration.
4781 # Compiler output produced by configure, useful for debugging
4782 # configure, is in config.log if it exists.
4787 SHELL=\${CONFIG_SHELL-$SHELL}
4790 cat >>$CONFIG_STATUS <<\_ACEOF
4791 ## --------------------- ##
4792 ## M4sh Initialization. ##
4793 ## --------------------- ##
4795 # Be Bourne compatible
4796 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4799 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4800 # is contrary to our usage. Disable this feature.
4801 alias -g '${1+"$@"}'='"$@"'
4802 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4805 DUALCASE=1; export DUALCASE # for MKS sh
4807 # Support unset when possible.
4808 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4815 # Work around bugs in pre-3.0 UWIN ksh.
4816 $as_unset ENV MAIL MAILPATH
4823 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4824 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4825 LC_TELEPHONE LC_TIME
4827 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4828 eval $as_var=C; export $as_var
4834 # Required to use basename.
4835 if expr a : '\(a\)' >/dev/null 2>&1; then
4841 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4842 as_basename=basename
4848 # Name of the executable.
4849 as_me=`$as_basename "$0" ||
4850 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4851 X"$0" : 'X\(//\)$' \| \
4852 X"$0" : 'X\(/\)$' \| \
4853 . : '\(.\)' 2>/dev/null ||
4855 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4856 /^X\/\(\/\/\)$/{ s//\1/; q; }
4857 /^X\/\(\/\).*/{ s//\1/; q; }
4861 # PATH needs CR, and LINENO needs CR and PATH.
4862 # Avoid depending upon Character Ranges.
4863 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4864 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4865 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4866 as_cr_digits='0123456789'
4867 as_cr_alnum=$as_cr_Letters$as_cr_digits
4869 # The user is always right.
4870 if test "${PATH_SEPARATOR+set}" != set; then
4871 echo "#! /bin/sh" >conf$$.sh
4872 echo "exit 0" >>conf$$.sh
4874 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4885 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4886 test "x$as_lineno_1" != "x$as_lineno_2" &&
4887 test "x$as_lineno_3" = "x$as_lineno_2" || {
4888 # Find who we are. Look in the path if we contain no path at all
4891 *[\\/]* ) as_myself=$0 ;;
4892 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir=.
4897 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4902 # We did not find ourselves, most probably we were run as `sh COMMAND'
4903 # in which case we are not to be found in the path.
4904 if test "x$as_myself" = x; then
4907 if test ! -f "$as_myself"; then
4908 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4909 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4910 { (exit 1); exit 1; }; }
4912 case $CONFIG_SHELL in
4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4918 test -z "$as_dir" && as_dir=.
4919 for as_base in sh bash ksh sh5; do
4922 if ("$as_dir/$as_base" -c '
4925 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4926 test "x$as_lineno_1" != "x$as_lineno_2" &&
4927 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4928 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4929 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4930 CONFIG_SHELL=$as_dir/$as_base
4932 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4940 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4941 # uniformly replaced by the line number. The first 'sed' inserts a
4942 # line-number line before each line; the second 'sed' does the real
4943 # work. The second script uses 'N' to pair each line-number line
4944 # with the numbered line, and appends trailing '-' during
4945 # substitution so that $LINENO is not a special case at line end.
4946 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4947 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4948 sed '=' <$as_myself |
4953 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4956 s,^['$as_cr_digits']*\n,,
4958 chmod +x $as_me.lineno ||
4959 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4960 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4961 { (exit 1); exit 1; }; }
4963 # Don't try to exec as it changes $[0], causing all sort of problems
4964 # (the dirname of $[0] is not the place where we might find the
4965 # original and so on. Autoconf is especially sensible to this).
4967 # Exit status is that of the last command.
4972 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4973 *c*,-n*) ECHO_N= ECHO_C='
4975 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4976 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4979 if expr a : '\(a\)' >/dev/null 2>&1; then
4985 rm -f conf$$ conf$$.exe conf$$.file
4987 if ln -s conf$$.file conf$$ 2>/dev/null; then
4988 # We could just check for DJGPP; but this test a) works b) is more generic
4989 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4990 if test -f conf$$.exe; then
4991 # Don't use ln at all; we don't have any links
4996 elif ln conf$$.file conf$$ 2>/dev/null; then
5001 rm -f conf$$ conf$$.exe conf$$.file
5003 if mkdir -p . 2>/dev/null; then
5006 test -d ./-p && rmdir ./-p
5010 as_executable_p="test -f"
5012 # Sed expression to map a string onto a valid CPP name.
5013 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5015 # Sed expression to map a string onto a valid variable name.
5016 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5020 # We need space, tab and new line, in precisely that order.
5030 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5031 # report actual input values of CONFIG_FILES etc. instead of their
5032 # values after options handling. Logging --version etc. is OK.
5036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5037 ## Running $as_me. ##
5042 This file was extended by libgcc-math $as_me 1.0, which was
5043 generated by GNU Autoconf 2.59. Invocation command line was
5045 CONFIG_FILES = $CONFIG_FILES
5046 CONFIG_HEADERS = $CONFIG_HEADERS
5047 CONFIG_LINKS = $CONFIG_LINKS
5048 CONFIG_COMMANDS = $CONFIG_COMMANDS
5052 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5056 # Files that config.status was made for.
5057 if test -n "$ac_config_files"; then
5058 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5061 if test -n "$ac_config_headers"; then
5062 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5065 if test -n "$ac_config_links"; then
5066 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5069 if test -n "$ac_config_commands"; then
5070 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5073 cat >>$CONFIG_STATUS <<\_ACEOF
5076 \`$as_me' instantiates files from templates according to the
5077 current configuration.
5079 Usage: $0 [OPTIONS] [FILE]...
5081 -h, --help print this help, then exit
5082 -V, --version print version number, then exit
5083 -q, --quiet do not print progress messages
5084 -d, --debug don't remove temporary files
5085 --recheck update $as_me by reconfiguring in the same conditions
5086 --file=FILE[:TEMPLATE]
5087 instantiate the configuration file FILE
5089 Configuration files:
5092 Configuration commands:
5095 Report bugs to <bug-autoconf@gnu.org>."
5098 cat >>$CONFIG_STATUS <<_ACEOF
5100 libgcc-math config.status 1.0
5101 configured by $0, generated by GNU Autoconf 2.59,
5102 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5104 Copyright (C) 2003 Free Software Foundation, Inc.
5105 This config.status script is free software; the Free Software Foundation
5106 gives unlimited permission to copy, distribute and modify it."
5111 cat >>$CONFIG_STATUS <<\_ACEOF
5112 # If no file are specified by the user, then we need to provide default
5113 # value. By we need to know if files were specified by the user.
5119 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5120 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5128 *) # This is not an option, so the user has probably given explicit
5131 ac_need_defaults=false;;
5135 # Handling of the options.
5137 cat >>$CONFIG_STATUS <<\_ACEOF
5138 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5140 --version | --vers* | -V )
5141 echo "$ac_cs_version"; exit 0 ;;
5143 # Conflict between --help and --header
5144 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5145 Try \`$0 --help' for more information." >&5
5146 echo "$as_me: error: ambiguous option: $1
5147 Try \`$0 --help' for more information." >&2;}
5148 { (exit 1); exit 1; }; };;
5149 --help | --hel | -h )
5150 echo "$ac_cs_usage"; exit 0 ;;
5151 --debug | --d* | -d )
5153 --file | --fil | --fi | --f )
5155 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5156 ac_need_defaults=false;;
5157 --header | --heade | --head | --hea )
5159 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5160 ac_need_defaults=false;;
5161 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5162 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5166 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5167 Try \`$0 --help' for more information." >&5
5168 echo "$as_me: error: unrecognized option: $1
5169 Try \`$0 --help' for more information." >&2;}
5170 { (exit 1); exit 1; }; } ;;
5172 *) ac_config_targets="$ac_config_targets $1" ;;
5178 ac_configure_extra_args=
5180 if $ac_cs_silent; then
5182 ac_configure_extra_args="$ac_configure_extra_args --silent"
5186 cat >>$CONFIG_STATUS <<_ACEOF
5187 if \$ac_cs_recheck; then
5188 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5189 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5194 cat >>$CONFIG_STATUS <<_ACEOF
5196 # INIT-COMMANDS section.
5203 with_multisubdir="$with_multisubdir"
5204 with_multisrctop="$with_multisrctop"
5205 with_target_subdir="$with_target_subdir"
5206 ac_configure_args="${multilib_arg} ${ac_configure_args}"
5207 multi_basedir="$multi_basedir"
5208 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5210 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5216 cat >>$CONFIG_STATUS <<\_ACEOF
5217 for ac_config_target in $ac_config_targets
5219 case "$ac_config_target" in
5220 # Handling of arguments.
5221 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5222 "i386/Makefile" ) CONFIG_FILES="$CONFIG_FILES i386/Makefile" ;;
5223 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5224 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5225 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5226 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5227 { (exit 1); exit 1; }; };;
5231 # If the user did not use the arguments to specify the items to instantiate,
5232 # then the envvar interface is used. Set only those that are not.
5233 # We use the long form for the default assignment because of an extremely
5234 # bizarre bug on SunOS 4.1.3.
5235 if $ac_need_defaults; then
5236 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5237 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5240 # Have a temporary directory for convenience. Make it in the build tree
5241 # simply because there is no reason to put it here, and in addition,
5242 # creating and moving files from /tmp can sometimes cause problems.
5243 # Create a temporary directory, and hook for its removal unless debugging.
5246 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5247 trap '{ (exit 1); exit 1; }' 1 2 13 15
5250 # Create a (secure) tmp directory for tmp files.
5253 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5254 test -n "$tmp" && test -d "$tmp"
5257 tmp=./confstat$$-$RANDOM
5258 (umask 077 && mkdir $tmp)
5261 echo "$me: cannot create a temporary directory in ." >&2
5262 { (exit 1); exit 1; }
5267 cat >>$CONFIG_STATUS <<_ACEOF
5270 # CONFIG_FILES section.
5273 # No need to generate the scripts if there are no CONFIG_FILES.
5274 # This happens for instance when ./config.status config.h
5275 if test -n "\$CONFIG_FILES"; then
5276 # Protect against being on the right side of a sed subst in config.status.
5277 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5278 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5279 s,@SHELL@,$SHELL,;t t
5280 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5281 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5282 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5283 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5284 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5285 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5286 s,@exec_prefix@,$exec_prefix,;t t
5287 s,@prefix@,$prefix,;t t
5288 s,@program_transform_name@,$program_transform_name,;t t
5289 s,@bindir@,$bindir,;t t
5290 s,@sbindir@,$sbindir,;t t
5291 s,@libexecdir@,$libexecdir,;t t
5292 s,@datadir@,$datadir,;t t
5293 s,@sysconfdir@,$sysconfdir,;t t
5294 s,@sharedstatedir@,$sharedstatedir,;t t
5295 s,@localstatedir@,$localstatedir,;t t
5296 s,@libdir@,$libdir,;t t
5297 s,@includedir@,$includedir,;t t
5298 s,@oldincludedir@,$oldincludedir,;t t
5299 s,@infodir@,$infodir,;t t
5300 s,@mandir@,$mandir,;t t
5301 s,@build_alias@,$build_alias,;t t
5302 s,@host_alias@,$host_alias,;t t
5303 s,@target_alias@,$target_alias,;t t
5305 s,@ECHO_C@,$ECHO_C,;t t
5306 s,@ECHO_N@,$ECHO_N,;t t
5307 s,@ECHO_T@,$ECHO_T,;t t
5309 s,@build@,$build,;t t
5310 s,@build_cpu@,$build_cpu,;t t
5311 s,@build_vendor@,$build_vendor,;t t
5312 s,@build_os@,$build_os,;t t
5314 s,@host_cpu@,$host_cpu,;t t
5315 s,@host_vendor@,$host_vendor,;t t
5316 s,@host_os@,$host_os,;t t
5317 s,@target@,$target,;t t
5318 s,@target_cpu@,$target_cpu,;t t
5319 s,@target_vendor@,$target_vendor,;t t
5320 s,@target_os@,$target_os,;t t
5321 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5322 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5323 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5324 s,@CYGPATH_W@,$CYGPATH_W,;t t
5325 s,@PACKAGE@,$PACKAGE,;t t
5326 s,@VERSION@,$VERSION,;t t
5327 s,@ACLOCAL@,$ACLOCAL,;t t
5328 s,@AUTOCONF@,$AUTOCONF,;t t
5329 s,@AUTOMAKE@,$AUTOMAKE,;t t
5330 s,@AUTOHEADER@,$AUTOHEADER,;t t
5331 s,@MAKEINFO@,$MAKEINFO,;t t
5332 s,@install_sh@,$install_sh,;t t
5333 s,@STRIP@,$STRIP,;t t
5334 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5335 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5336 s,@mkdir_p@,$mkdir_p,;t t
5338 s,@SET_MAKE@,$SET_MAKE,;t t
5339 s,@am__leading_dot@,$am__leading_dot,;t t
5340 s,@AMTAR@,$AMTAR,;t t
5341 s,@am__tar@,$am__tar,;t t
5342 s,@am__untar@,$am__untar,;t t
5343 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5344 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5345 s,@MAINT@,$MAINT,;t t
5346 s,@multi_basedir@,$multi_basedir,;t t
5348 s,@ac_ct_CC@,$ac_ct_CC,;t t
5349 s,@EXEEXT@,$EXEEXT,;t t
5350 s,@OBJEXT@,$OBJEXT,;t t
5351 s,@DEPDIR@,$DEPDIR,;t t
5352 s,@am__include@,$am__include,;t t
5353 s,@am__quote@,$am__quote,;t t
5354 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5355 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5356 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5357 s,@CCDEPMODE@,$CCDEPMODE,;t t
5358 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5359 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5360 s,@CFLAGS@,$CFLAGS,;t t
5362 s,@CPPFLAGS@,$CPPFLAGS,;t t
5364 s,@CCASFLAGS@,$CCASFLAGS,;t t
5365 s,@LIBGCCM_USE_SYMVER_TRUE@,$LIBGCCM_USE_SYMVER_TRUE,;t t
5366 s,@LIBGCCM_USE_SYMVER_FALSE@,$LIBGCCM_USE_SYMVER_FALSE,;t t
5367 s,@TARGET_ILP32_TRUE@,$TARGET_ILP32_TRUE,;t t
5368 s,@TARGET_ILP32_FALSE@,$TARGET_ILP32_FALSE,;t t
5370 s,@RANLIB@,$RANLIB,;t t
5371 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5372 s,@LIBTOOL@,$LIBTOOL,;t t
5373 s,@enable_shared@,$enable_shared,;t t
5374 s,@enable_static@,$enable_static,;t t
5375 s,@toolexecdir@,$toolexecdir,;t t
5376 s,@toolexeclibdir@,$toolexeclibdir,;t t
5377 s,@arch_subdirs@,$arch_subdirs,;t t
5378 s,@arch_libraries@,$arch_libraries,;t t
5379 s,@arch_maps@,$arch_maps,;t t
5380 s,@BUILD_LIBGCC_MATH_TRUE@,$BUILD_LIBGCC_MATH_TRUE,;t t
5381 s,@BUILD_LIBGCC_MATH_FALSE@,$BUILD_LIBGCC_MATH_FALSE,;t t
5382 s,@LIBOBJS@,$LIBOBJS,;t t
5383 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5388 cat >>$CONFIG_STATUS <<\_ACEOF
5389 # Split the substitutions into bite-sized pieces for seds with
5390 # small command number limits, like on Digital OSF/1 and HP-UX.
5392 ac_sed_frag=1 # Number of current file.
5393 ac_beg=1 # First line for current file.
5394 ac_end=$ac_max_sed_lines # Line after last line for current file.
5397 while $ac_more_lines; do
5398 if test $ac_beg -gt 1; then
5399 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5401 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5403 if test ! -s $tmp/subs.frag; then
5406 # The purpose of the label and of the branching condition is to
5407 # speed up the sed processing (if there are no `@' at all, there
5408 # is no need to browse any of the substitutions).
5409 # These are the two extra sed commands mentioned above.
5411 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5412 if test -z "$ac_sed_cmds"; then
5413 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5415 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5417 ac_sed_frag=`expr $ac_sed_frag + 1`
5419 ac_end=`expr $ac_end + $ac_max_sed_lines`
5422 if test -z "$ac_sed_cmds"; then
5425 fi # test -n "$CONFIG_FILES"
5428 cat >>$CONFIG_STATUS <<\_ACEOF
5429 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5430 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5432 - | *:- | *:-:* ) # input from stdin
5434 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5435 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5436 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5437 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5438 * ) ac_file_in=$ac_file.in ;;
5441 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5442 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5443 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5444 X"$ac_file" : 'X\(//\)[^/]' \| \
5445 X"$ac_file" : 'X\(//\)$' \| \
5446 X"$ac_file" : 'X\(/\)' \| \
5447 . : '\(.\)' 2>/dev/null ||
5449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5450 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5451 /^X\(\/\/\)$/{ s//\1/; q; }
5452 /^X\(\/\).*/{ s//\1/; q; }
5454 { if $as_mkdir_p; then
5459 while test ! -d "$as_dir"; do
5460 as_dirs="$as_dir $as_dirs"
5461 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5463 X"$as_dir" : 'X\(//\)[^/]' \| \
5464 X"$as_dir" : 'X\(//\)$' \| \
5465 X"$as_dir" : 'X\(/\)' \| \
5466 . : '\(.\)' 2>/dev/null ||
5468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5469 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5470 /^X\(\/\/\)$/{ s//\1/; q; }
5471 /^X\(\/\).*/{ s//\1/; q; }
5474 test ! -n "$as_dirs" || mkdir $as_dirs
5475 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5476 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5477 { (exit 1); exit 1; }; }; }
5481 if test "$ac_dir" != .; then
5482 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5483 # A "../" for each directory in $ac_dir_suffix.
5484 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5486 ac_dir_suffix= ac_top_builddir=
5490 .) # No --srcdir option. We are building in place.
5492 if test -z "$ac_top_builddir"; then
5495 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5497 [\\/]* | ?:[\\/]* ) # Absolute path.
5498 ac_srcdir=$srcdir$ac_dir_suffix;
5499 ac_top_srcdir=$srcdir ;;
5501 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5502 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5505 # Do not use `cd foo && pwd` to compute absolute paths, because
5506 # the directories may not exist.
5508 .) ac_abs_builddir="$ac_dir";;
5511 .) ac_abs_builddir=`pwd`;;
5512 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5513 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5516 case $ac_abs_builddir in
5517 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5519 case ${ac_top_builddir}. in
5520 .) ac_abs_top_builddir=$ac_abs_builddir;;
5521 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5522 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5525 case $ac_abs_builddir in
5526 .) ac_abs_srcdir=$ac_srcdir;;
5529 .) ac_abs_srcdir=$ac_abs_builddir;;
5530 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5531 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5534 case $ac_abs_builddir in
5535 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5537 case $ac_top_srcdir in
5538 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5539 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5540 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5546 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5547 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5550 if test x"$ac_file" != x-; then
5551 { echo "$as_me:$LINENO: creating $ac_file" >&5
5552 echo "$as_me: creating $ac_file" >&6;}
5555 # Let's still pretend it is `configure' which instantiates (i.e., don't
5556 # use $as_me), people would be surprised to read:
5557 # /* config.h. Generated by config.status. */
5558 if test x"$ac_file" = x-; then
5561 configure_input="$ac_file. "
5563 configure_input=$configure_input"Generated from `echo $ac_file_in |
5564 sed 's,.*/,,'` by configure."
5566 # First look for the input files in the build tree, otherwise in the
5568 ac_file_inputs=`IFS=:
5569 for f in $ac_file_in; do
5571 -) echo $tmp/stdin ;;
5573 # Absolute (can't be DOS-style, as IFS=:)
5574 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5575 echo "$as_me: error: cannot find input file: $f" >&2;}
5576 { (exit 1); exit 1; }; }
5579 if test -f "$f"; then
5582 elif test -f "$srcdir/$f"; then
5587 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5588 echo "$as_me: error: cannot find input file: $f" >&2;}
5589 { (exit 1); exit 1; }; }
5592 done` || { (exit 1); exit 1; }
5594 cat >>$CONFIG_STATUS <<_ACEOF
5598 cat >>$CONFIG_STATUS <<\_ACEOF
5600 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5601 s,@configure_input@,$configure_input,;t t
5602 s,@srcdir@,$ac_srcdir,;t t
5603 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5604 s,@top_srcdir@,$ac_top_srcdir,;t t
5605 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5606 s,@builddir@,$ac_builddir,;t t
5607 s,@abs_builddir@,$ac_abs_builddir,;t t
5608 s,@top_builddir@,$ac_top_builddir,;t t
5609 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5610 s,@INSTALL@,$ac_INSTALL,;t t
5611 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5613 if test x"$ac_file" != x-; then
5614 mv $tmp/out $ac_file
5622 cat >>$CONFIG_STATUS <<\_ACEOF
5625 # CONFIG_COMMANDS section.
5627 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5628 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5629 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5630 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5631 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5632 X"$ac_dest" : 'X\(//\)[^/]' \| \
5633 X"$ac_dest" : 'X\(//\)$' \| \
5634 X"$ac_dest" : 'X\(/\)' \| \
5635 . : '\(.\)' 2>/dev/null ||
5637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5639 /^X\(\/\/\)$/{ s//\1/; q; }
5640 /^X\(\/\).*/{ s//\1/; q; }
5642 { if $as_mkdir_p; then
5647 while test ! -d "$as_dir"; do
5648 as_dirs="$as_dir $as_dirs"
5649 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5651 X"$as_dir" : 'X\(//\)[^/]' \| \
5652 X"$as_dir" : 'X\(//\)$' \| \
5653 X"$as_dir" : 'X\(/\)' \| \
5654 . : '\(.\)' 2>/dev/null ||
5656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5658 /^X\(\/\/\)$/{ s//\1/; q; }
5659 /^X\(\/\).*/{ s//\1/; q; }
5662 test ! -n "$as_dirs" || mkdir $as_dirs
5663 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5664 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5665 { (exit 1); exit 1; }; }; }
5669 if test "$ac_dir" != .; then
5670 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5671 # A "../" for each directory in $ac_dir_suffix.
5672 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5674 ac_dir_suffix= ac_top_builddir=
5678 .) # No --srcdir option. We are building in place.
5680 if test -z "$ac_top_builddir"; then
5683 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5685 [\\/]* | ?:[\\/]* ) # Absolute path.
5686 ac_srcdir=$srcdir$ac_dir_suffix;
5687 ac_top_srcdir=$srcdir ;;
5689 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5690 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5693 # Do not use `cd foo && pwd` to compute absolute paths, because
5694 # the directories may not exist.
5696 .) ac_abs_builddir="$ac_dir";;
5699 .) ac_abs_builddir=`pwd`;;
5700 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5701 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5704 case $ac_abs_builddir in
5705 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5707 case ${ac_top_builddir}. in
5708 .) ac_abs_top_builddir=$ac_abs_builddir;;
5709 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5710 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5713 case $ac_abs_builddir in
5714 .) ac_abs_srcdir=$ac_srcdir;;
5717 .) ac_abs_srcdir=$ac_abs_builddir;;
5718 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5719 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5722 case $ac_abs_builddir in
5723 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5725 case $ac_top_srcdir in
5726 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5727 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5728 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5733 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5734 echo "$as_me: executing $ac_dest commands" >&6;}
5737 # Only add multilib support code if we just rebuilt the top-level
5739 case " $CONFIG_FILES " in
5741 ac_file=Makefile . ${multi_basedir}/config-ml.in
5744 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5745 # Strip MF so we end up with the name of the file.
5746 mf=`echo "$mf" | sed -e 's/:.*$//'`
5747 # Check whether this is an Automake generated Makefile or not.
5748 # We used to match only the files named `Makefile.in', but
5749 # some people rename them; so instead we look at the file content.
5750 # Grep'ing the first line is not enough: some people post-process
5751 # each Makefile.in and add a new line on top of each file to say so.
5752 # So let's grep whole file.
5753 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5754 dirpart=`(dirname "$mf") 2>/dev/null ||
5755 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5756 X"$mf" : 'X\(//\)[^/]' \| \
5757 X"$mf" : 'X\(//\)$' \| \
5758 X"$mf" : 'X\(/\)' \| \
5759 . : '\(.\)' 2>/dev/null ||
5761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5762 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5763 /^X\(\/\/\)$/{ s//\1/; q; }
5764 /^X\(\/\).*/{ s//\1/; q; }
5769 # Extract the definition of DEPDIR, am__include, and am__quote
5770 # from the Makefile without running `make'.
5771 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5772 test -z "$DEPDIR" && continue
5773 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5774 test -z "am__include" && continue
5775 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5776 # When using ansi2knr, U may be empty or an underscore; expand it
5777 U=`sed -n 's/^U = //p' < "$mf"`
5778 # Find all dependency output files, they are included files with
5779 # $(DEPDIR) in their names. We invoke sed twice because it is the
5780 # simplest approach to changing $(DEPDIR) to its actual value in the
5782 for file in `sed -n "
5783 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5784 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5785 # Make sure the directory exists.
5786 test -f "$dirpart/$file" && continue
5787 fdir=`(dirname "$file") 2>/dev/null ||
5788 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5789 X"$file" : 'X\(//\)[^/]' \| \
5790 X"$file" : 'X\(//\)$' \| \
5791 X"$file" : 'X\(/\)' \| \
5792 . : '\(.\)' 2>/dev/null ||
5794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5795 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5796 /^X\(\/\/\)$/{ s//\1/; q; }
5797 /^X\(\/\).*/{ s//\1/; q; }
5799 { if $as_mkdir_p; then
5800 mkdir -p $dirpart/$fdir
5802 as_dir=$dirpart/$fdir
5804 while test ! -d "$as_dir"; do
5805 as_dirs="$as_dir $as_dirs"
5806 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5807 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5808 X"$as_dir" : 'X\(//\)[^/]' \| \
5809 X"$as_dir" : 'X\(//\)$' \| \
5810 X"$as_dir" : 'X\(/\)' \| \
5811 . : '\(.\)' 2>/dev/null ||
5813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5815 /^X\(\/\/\)$/{ s//\1/; q; }
5816 /^X\(\/\).*/{ s//\1/; q; }
5819 test ! -n "$as_dirs" || mkdir $as_dirs
5820 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5821 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5822 { (exit 1); exit 1; }; }; }
5824 # echo "creating $dirpart/$file"
5825 echo '# dummy' > "$dirpart/$file"
5833 cat >>$CONFIG_STATUS <<\_ACEOF
5835 { (exit 0); exit 0; }
5837 chmod +x $CONFIG_STATUS
5838 ac_clean_files=$ac_clean_files_save
5841 # configure is writing to config.log, and then calls config.status.
5842 # config.status does its own redirection, appending to config.log.
5843 # Unfortunately, on DOS this fails, as config.log is still kept open
5844 # by configure, so config.status won't be able to write to it; its
5845 # output is simply discarded. So we exec the FD to /dev/null,
5846 # effectively closing config.log, so it can be properly (re)opened and
5847 # appended to by config.status. When coming back to configure, we
5848 # need to make the FD available again.
5849 if test "$no_create" != yes; then
5851 ac_config_status_args=
5852 test "$silent" = yes &&
5853 ac_config_status_args="$ac_config_status_args --quiet"
5855 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5857 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5858 # would make configure fail if this is the last instruction.
5859 $ac_cs_success || { (exit 1); exit 1; }