2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) ||
{ (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") ||
{
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir
-p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='GNU C Library'
577 PACKAGE_TARNAME
='c-library'
578 PACKAGE_VERSION
='(see version.h)'
579 PACKAGE_STRING
='GNU C Library (see version.h)'
580 PACKAGE_BUGREPORT
='glibc'
582 ac_unique_file
="include/features.h"
592 program_transform_name
672 libc_cv_gcc_static_libgcc
682 libc_cv_cc_with_libunwind
684 libc_cv_libgcc_s_suffix
694 libc_cv_have_initfini
697 libc_cv_cc_submachine
703 libc_cv_gcc_unwind_find_fde
712 libc_cv_forced_unwind
713 libc_cv_cpp_asm_debuginfo
733 ac_precious_vars
='build_alias
747 # Initialize some variables set by options.
749 ac_init_version
=false
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
759 program_transform_name
=s
,x
,x
,
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir
='${exec_prefix}/bin'
774 sbindir
='${exec_prefix}/sbin'
775 libexecdir
='${exec_prefix}/libexec'
776 datarootdir
='${prefix}/share'
777 datadir
='${datarootdir}'
778 sysconfdir
='${prefix}/etc'
779 sharedstatedir
='${prefix}/com'
780 localstatedir
='${prefix}/var'
781 includedir
='${prefix}/include'
782 oldincludedir
='/usr/include'
783 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
784 infodir
='${datarootdir}/info'
789 libdir
='${exec_prefix}/lib'
790 localedir
='${datarootdir}/locale'
791 mandir
='${datarootdir}/man'
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\
$ac_option
805 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
809 # Accept the important Cygnus configure options, so we can diagnose typos.
811 case $ac_dashdash$ac_option in
815 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
817 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
820 -build |
--build |
--buil |
--bui |
--bu)
821 ac_prev
=build_alias
;;
822 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
823 build_alias
=$ac_optarg ;;
825 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
826 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
827 ac_prev
=cache_file
;;
828 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
829 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
830 cache_file
=$ac_optarg ;;
833 cache_file
=config.cache
;;
835 -datadir |
--datadir |
--datadi |
--datad)
837 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
838 datadir
=$ac_optarg ;;
840 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
841 |
--dataroo |
--dataro |
--datar)
842 ac_prev
=datarootdir
;;
843 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
844 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
845 datarootdir
=$ac_optarg ;;
847 -disable-* |
--disable-*)
848 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
851 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
852 { (exit 1); exit 1; }; }
853 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
854 eval enable_
$ac_feature=no
;;
856 -docdir |
--docdir |
--docdi |
--doc |
--do)
858 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
861 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
863 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
866 -enable-* |
--enable-*)
867 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
870 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
871 { (exit 1); exit 1; }; }
872 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
873 eval enable_
$ac_feature=\
$ac_optarg ;;
875 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
876 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
877 |
--exec |
--exe |
--ex)
878 ac_prev
=exec_prefix
;;
879 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
880 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
881 |
--exec=* |
--exe=* |
--ex=*)
882 exec_prefix
=$ac_optarg ;;
884 -gas |
--gas |
--ga |
--g)
885 # Obsolete; use --with-gas.
888 -help |
--help |
--hel |
--he |
-h)
890 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
891 ac_init_help
=recursive
;;
892 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
893 ac_init_help
=short
;;
895 -host |
--host |
--hos |
--ho)
896 ac_prev
=host_alias
;;
897 -host=* |
--host=* |
--hos=* |
--ho=*)
898 host_alias
=$ac_optarg ;;
900 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
902 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
904 htmldir
=$ac_optarg ;;
906 -includedir |
--includedir |
--includedi |
--included |
--include \
907 |
--includ |
--inclu |
--incl |
--inc)
908 ac_prev
=includedir
;;
909 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
910 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
911 includedir
=$ac_optarg ;;
913 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
915 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
916 infodir
=$ac_optarg ;;
918 -libdir |
--libdir |
--libdi |
--libd)
920 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
923 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
924 |
--libexe |
--libex |
--libe)
925 ac_prev
=libexecdir
;;
926 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
927 |
--libexe=* |
--libex=* |
--libe=*)
928 libexecdir
=$ac_optarg ;;
930 -localedir |
--localedir |
--localedi |
--localed |
--locale)
932 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
933 localedir
=$ac_optarg ;;
935 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
936 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
937 ac_prev
=localstatedir
;;
938 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
939 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
940 localstatedir
=$ac_optarg ;;
942 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
944 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
948 # Obsolete; use --without-fp.
951 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
952 |
--no-cr |
--no-c |
-n)
955 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
956 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
959 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
960 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
961 |
--oldin |
--oldi |
--old |
--ol |
--o)
962 ac_prev
=oldincludedir
;;
963 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
964 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
965 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
966 oldincludedir
=$ac_optarg ;;
968 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
970 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
973 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
974 |
--program-pre |
--program-pr |
--program-p)
975 ac_prev
=program_prefix
;;
976 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
977 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
978 program_prefix
=$ac_optarg ;;
980 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
981 |
--program-suf |
--program-su |
--program-s)
982 ac_prev
=program_suffix
;;
983 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
984 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
985 program_suffix
=$ac_optarg ;;
987 -program-transform-name |
--program-transform-name \
988 |
--program-transform-nam |
--program-transform-na \
989 |
--program-transform-n |
--program-transform- \
990 |
--program-transform |
--program-transfor \
991 |
--program-transfo |
--program-transf \
992 |
--program-trans |
--program-tran \
993 |
--progr-tra |
--program-tr |
--program-t)
994 ac_prev
=program_transform_name
;;
995 -program-transform-name=* |
--program-transform-name=* \
996 |
--program-transform-nam=* |
--program-transform-na=* \
997 |
--program-transform-n=* |
--program-transform-=* \
998 |
--program-transform=* |
--program-transfor=* \
999 |
--program-transfo=* |
--program-transf=* \
1000 |
--program-trans=* |
--program-tran=* \
1001 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1002 program_transform_name
=$ac_optarg ;;
1004 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1006 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1007 pdfdir
=$ac_optarg ;;
1009 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1011 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1014 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1015 |
-silent |
--silent |
--silen |
--sile |
--sil)
1018 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1020 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1022 sbindir
=$ac_optarg ;;
1024 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1025 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1026 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1028 ac_prev
=sharedstatedir
;;
1029 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1030 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1031 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1033 sharedstatedir
=$ac_optarg ;;
1035 -site |
--site |
--sit)
1037 -site=* |
--site=* |
--sit=*)
1040 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1042 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1043 srcdir
=$ac_optarg ;;
1045 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1046 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1047 ac_prev
=sysconfdir
;;
1048 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1049 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1050 sysconfdir
=$ac_optarg ;;
1052 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1053 ac_prev
=target_alias
;;
1054 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1055 target_alias
=$ac_optarg ;;
1057 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1060 -version |
--version |
--versio |
--versi |
--vers |
-V)
1061 ac_init_version
=: ;;
1064 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1067 { echo "$as_me: error: invalid package name: $ac_package" >&2
1068 { (exit 1); exit 1; }; }
1069 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1070 eval with_
$ac_package=\
$ac_optarg ;;
1072 -without-* |
--without-*)
1073 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1076 { echo "$as_me: error: invalid package name: $ac_package" >&2
1077 { (exit 1); exit 1; }; }
1078 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1079 eval with_
$ac_package=no
;;
1082 # Obsolete; use --with-x.
1085 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1086 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1087 ac_prev
=x_includes
;;
1088 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1089 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1090 x_includes
=$ac_optarg ;;
1092 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1093 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1094 ac_prev
=x_libraries
;;
1095 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1096 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1097 x_libraries
=$ac_optarg ;;
1099 -*) { echo "$as_me: error: unrecognized option: $ac_option
1100 Try \`$0 --help' for more information." >&2
1101 { (exit 1); exit 1; }; }
1105 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1108 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1109 { (exit 1); exit 1; }; }
1110 eval $ac_envvar=\
$ac_optarg
1111 export $ac_envvar ;;
1114 # FIXME: should be removed in autoconf 3.0.
1115 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1116 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1117 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1118 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1124 if test -n "$ac_prev"; then
1125 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1126 { echo "$as_me: error: missing argument to $ac_option" >&2
1127 { (exit 1); exit 1; }; }
1130 # Be sure to have absolute directory names.
1131 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1132 datadir sysconfdir sharedstatedir localstatedir includedir \
1133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1134 libdir localedir mandir
1136 eval ac_val
=\$
$ac_var
1138 [\\/$
]* | ?
:[\\/]* ) continue;;
1139 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1141 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1142 { (exit 1); exit 1; }; }
1145 # There might be people who depend on the old broken behavior: `$host'
1146 # used to hold the argument of --host etc.
1147 # FIXME: To remove some day.
1150 target
=$target_alias
1152 # FIXME: To remove some day.
1153 if test "x$host_alias" != x
; then
1154 if test "x$build_alias" = x
; then
1155 cross_compiling
=maybe
1156 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1157 If a cross compiler is detected then cross compile mode will be used." >&2
1158 elif test "x$build_alias" != "x$host_alias"; then
1164 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1166 test "$silent" = yes && exec 6>/dev
/null
1169 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1170 ac_ls_di
=`ls -di .` &&
1171 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1172 { echo "$as_me: error: Working directory cannot be determined" >&2
1173 { (exit 1); exit 1; }; }
1174 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1175 { echo "$as_me: error: pwd does not report name of working directory" >&2
1176 { (exit 1); exit 1; }; }
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted
=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir
=`$as_dirname -- "$0" ||
1184 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$0" : 'X\(//\)[^/]' \| \
1186 X"$0" : 'X\(//\)$' \| \
1187 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1211 ac_srcdir_defaulted
=no
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1215 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1216 { (exit 1); exit 1; }; }
1218 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1220 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1221 { (exit 1); exit 1; }; }
1223 # When building in place, set srcdir=.
1224 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227 # Remove unnecessary trailing slashes from srcdir.
1228 # Double slashes in file names in object file debugging info
1229 # mess up M-x gdb in Emacs.
1231 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1233 for ac_var
in $ac_precious_vars; do
1234 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1235 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1236 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1237 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1241 # Report the --help message.
1243 if test "$ac_init_help" = "long"; then
1244 # Omit some internal or obsolete options to make the list less imposing.
1245 # This message is too long to be a string in the A/UX 3.1 sh.
1247 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1249 Usage: $0 [OPTION]... [VAR=VALUE]...
1251 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1252 VAR=VALUE. See below for descriptions of some of the useful variables.
1254 Defaults for the options are specified in brackets.
1257 -h, --help display this help and exit
1258 --help=short display options specific to this package
1259 --help=recursive display the short help of all the included packages
1260 -V, --version display version information and exit
1261 -q, --quiet, --silent do not print \`checking...' messages
1262 --cache-file=FILE cache test results in FILE [disabled]
1263 -C, --config-cache alias for \`--cache-file=config.cache'
1264 -n, --no-create do not create output files
1265 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1267 Installation directories:
1268 --prefix=PREFIX install architecture-independent files in PREFIX
1269 [$ac_default_prefix]
1270 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1273 By default, \`make install' will install all the files in
1274 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1275 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1276 for instance \`--prefix=\$HOME'.
1278 For better control, use the options below.
1280 Fine tuning of the installation directories:
1281 --bindir=DIR user executables [EPREFIX/bin]
1282 --sbindir=DIR system admin executables [EPREFIX/sbin]
1283 --libexecdir=DIR program executables [EPREFIX/libexec]
1284 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1285 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1286 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1287 --libdir=DIR object code libraries [EPREFIX/lib]
1288 --includedir=DIR C header files [PREFIX/include]
1289 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1290 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1291 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1292 --infodir=DIR info documentation [DATAROOTDIR/info]
1293 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1294 --mandir=DIR man documentation [DATAROOTDIR/man]
1295 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1296 --htmldir=DIR html documentation [DOCDIR]
1297 --dvidir=DIR dvi documentation [DOCDIR]
1298 --pdfdir=DIR pdf documentation [DOCDIR]
1299 --psdir=DIR ps documentation [DOCDIR]
1305 --build=BUILD configure
for building on BUILD
[guessed
]
1306 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1310 if test -n "$ac_init_help"; then
1311 case $ac_init_help in
1312 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1317 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1318 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1319 --disable-sanity-checks really
do not use threads
(should not be used except
1320 in special situations
) [default
=yes]
1321 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1323 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1324 --enable-profile build profiled library
[default
=no
]
1325 --enable-omitfp build undebuggable optimized library
[default
=no
]
1326 --enable-bounded build with runtime bounds checking
[default
=no
]
1327 --disable-versioning do not include versioning information
in the library
1328 objects
[default
=yes if supported
]
1329 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1330 [default
=glibc default
]
1331 --enable-stackguard-randomization
1332 initialize __stack_chk_guard canary with a random
1333 number
at program start
1334 --enable-add-ons[=DIRS...
]
1335 configure and build add-ons
in DIR1
,DIR2
,... search
1336 for add-ons
if no parameter given
1337 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1338 --enable-bind-now disable lazy relocations
in DSOs
1339 --enable-static-nss build static NSS modules
[default
=no
]
1340 --disable-force-install don
't force installation of files from this package,
1341 even if they are older than the installed files
1342 --enable-kernel=VERSION compile for compatibility with kernel not older than
1344 --enable-all-warnings enable all useful warnings gcc can issue
1347 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1348 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1349 --with-gd=DIR find libgd include dir and library with prefix DIR
1350 --with-gd-include=DIR find libgd include files in DIR
1351 --with-gd-lib=DIR find libgd library files in DIR
1352 --with-fp if using floating-point hardware [default=yes]
1353 --with-binutils=PATH specify location of binutils (as and ld)
1354 --with-elf if using the ELF object format
1355 --with-selinux if building with SELinux support
1356 --with-xcoff if using the XCOFF object format
1357 --without-cvs if CVS should not be used
1358 --with-headers=PATH location of system headers to use (for example
1359 /usr/src/linux/include) [default=compiler default]
1360 --with-tls enable support for TLS
1361 --without-__thread do not use TLS features even when supporting them
1362 --with-cpu=CPU select code for CPU variant
1364 Some influential environment variables:
1365 CC C compiler command
1366 CFLAGS C compiler flags
1367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1368 nonstandard directory <lib dir>
1369 LIBS libraries to pass to the linker, e.g. -l<library>
1370 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1371 you have headers in a nonstandard directory <include dir>
1373 CXX C++ compiler command
1374 CXXFLAGS C++ compiler flags
1376 Use these variables to override the choices made by `configure' or to
help
1377 it to
find libraries and programs with nonstandard names
/locations.
1379 Report bugs to
<glibc
>.
1384 if test "$ac_init_help" = "recursive"; then
1385 # If there are subdirs, report their specific --help.
1386 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1387 test -d "$ac_dir" ||
continue
1391 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1393 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1394 # A ".." for each directory in $ac_dir_suffix.
1395 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1396 case $ac_top_builddir_sub in
1397 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1398 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1401 ac_abs_top_builddir
=$ac_pwd
1402 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1403 # for backward compatibility:
1404 ac_top_builddir
=$ac_top_build_prefix
1407 .
) # We are building in place.
1409 ac_top_srcdir
=$ac_top_builddir_sub
1410 ac_abs_top_srcdir
=$ac_pwd ;;
1411 [\\/]* | ?
:[\\/]* ) # Absolute name.
1412 ac_srcdir
=$srcdir$ac_dir_suffix;
1413 ac_top_srcdir
=$srcdir
1414 ac_abs_top_srcdir
=$srcdir ;;
1416 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1417 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1418 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1420 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1422 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1423 # Check for guested configure.
1424 if test -f "$ac_srcdir/configure.gnu"; then
1426 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1427 elif test -f "$ac_srcdir/configure"; then
1429 $SHELL "$ac_srcdir/configure" --help=recursive
1431 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1433 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1437 test -n "$ac_init_help" && exit $ac_status
1438 if $ac_init_version; then
1440 GNU C Library configure
(see version.h
)
1441 generated by GNU Autoconf
2.61
1443 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1444 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1445 This configure
script is free software
; the Free Software Foundation
1446 gives unlimited permission to copy
, distribute and modify it.
1450 cat >config.log
<<_ACEOF
1451 This file contains any messages produced by compilers while
1452 running configure, to aid debugging if configure makes a mistake.
1454 It was created by GNU C Library $as_me (see version.h), which was
1455 generated by GNU Autoconf 2.61. Invocation command line was
1467 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1468 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1469 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1470 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1471 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1473 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1474 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1476 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1477 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1478 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1479 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1480 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1481 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1482 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1490 test -z "$as_dir" && as_dir
=.
1491 echo "PATH: $as_dir"
1507 # Keep a trace of the command line.
1508 # Strip out --no-create and --no-recursion so they do not pile up.
1509 # Strip out --silent because we don't want to record it for future runs.
1510 # Also quote any args containing shell meta-characters.
1511 # Make two passes to allow for proper duplicate-argument suppression.
1515 ac_must_keep_next
=false
1521 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1522 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1523 |
-silent |
--silent |
--silen |
--sile |
--sil)
1526 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1529 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1531 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1532 if test $ac_must_keep_next = true
; then
1533 ac_must_keep_next
=false
# Got value, back to normal.
1536 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1537 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1538 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1539 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1540 case "$ac_configure_args0 " in
1541 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1544 -* ) ac_must_keep_next
=true
;;
1547 ac_configure_args
="$ac_configure_args '$ac_arg'"
1552 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1553 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1555 # When interrupted or exit'd, cleanup temporary files, and complete
1556 # config.log. We remove comments because anyway the quotes in there
1557 # would cause problems or look ugly.
1558 # WARNING: Use '\'' to represent an apostrophe within the trap.
1559 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1560 trap 'exit_status=$?
1561 # Save into config.log some information that might help in debugging.
1566 ## ---------------- ##
1567 ## Cache variables. ##
1568 ## ---------------- ##
1571 # The following way of writing the cache mishandles newlines in values,
1573 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1574 eval ac_val=\$$ac_var
1578 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1579 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1582 _ | IFS | as_nl) ;; #(
1583 *) $as_unset $ac_var ;;
1588 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1589 *${as_nl}ac_space=\ *)
1591 "s/'\''/'\''\\\\'\'''\''/g;
1592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1595 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1603 ## ----------------- ##
1604 ## Output variables. ##
1605 ## ----------------- ##
1608 for ac_var in $ac_subst_vars
1610 eval ac_val=\$$ac_var
1612 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614 echo "$ac_var='\''$ac_val'\''"
1618 if test -n "$ac_subst_files"; then
1620 ## ------------------- ##
1621 ## File substitutions. ##
1622 ## ------------------- ##
1625 for ac_var
in $ac_subst_files
1627 eval ac_val
=\$
$ac_var
1629 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 echo "$ac_var='\''$ac_val'\''"
1636 if test -s confdefs.h; then
1646 test "$ac_signal" != 0 &&
1647 echo "$as_me: caught signal $ac_signal"
1648 echo "$as_me: exit $exit_status"
1650 rm -f core *.core core.conftest.* &&
1651 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1654 for ac_signal
in 1 2 13 15; do
1655 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1659 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1660 rm -f -r conftest
* confdefs.h
1662 # Predefined preprocessor variables.
1664 cat >>confdefs.h
<<_ACEOF
1665 #define PACKAGE_NAME "$PACKAGE_NAME"
1669 cat >>confdefs.h
<<_ACEOF
1670 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1674 cat >>confdefs.h
<<_ACEOF
1675 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1679 cat >>confdefs.h
<<_ACEOF
1680 #define PACKAGE_STRING "$PACKAGE_STRING"
1684 cat >>confdefs.h
<<_ACEOF
1685 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1689 # Let the site file select an alternate cache file if it wants to.
1690 # Prefer explicitly selected file to automatically selected ones.
1691 if test -n "$CONFIG_SITE"; then
1692 set x
"$CONFIG_SITE"
1693 elif test "x$prefix" != xNONE
; then
1694 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1696 set x
"$ac_default_prefix/share/config.site" \
1697 "$ac_default_prefix/etc/config.site"
1702 if test -r "$ac_site_file"; then
1703 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1704 echo "$as_me: loading site script $ac_site_file" >&6;}
1705 sed 's/^/| /' "$ac_site_file" >&5
1710 if test -r "$cache_file"; then
1711 # Some versions of bash will fail to source /dev/null (special
1712 # files actually), so we avoid doing that.
1713 if test -f "$cache_file"; then
1714 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1715 echo "$as_me: loading cache $cache_file" >&6;}
1717 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1718 *) .
"./$cache_file";;
1722 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1723 echo "$as_me: creating cache $cache_file" >&6;}
1727 # Check that the precious variables saved in the cache have kept the same
1729 ac_cache_corrupted
=false
1730 for ac_var
in $ac_precious_vars; do
1731 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1732 eval ac_new_set
=\
$ac_env_${ac_var}_set
1733 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1734 eval ac_new_val
=\
$ac_env_${ac_var}_value
1735 case $ac_old_set,$ac_new_set in
1737 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1738 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1739 ac_cache_corrupted
=: ;;
1741 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1742 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1743 ac_cache_corrupted
=: ;;
1746 if test "x$ac_old_val" != "x$ac_new_val"; then
1747 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1748 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1749 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1750 echo "$as_me: former value: $ac_old_val" >&2;}
1751 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1752 echo "$as_me: current value: $ac_new_val" >&2;}
1753 ac_cache_corrupted
=:
1756 # Pass precious variables to config.status.
1757 if test "$ac_new_set" = set; then
1759 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1760 *) ac_arg
=$ac_var=$ac_new_val ;;
1762 case " $ac_configure_args " in
1763 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1764 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1768 if $ac_cache_corrupted; then
1769 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1770 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1771 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1772 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1773 { (exit 1); exit 1; }; }
1801 ac_cpp
='$CPP $CPPFLAGS'
1802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1808 ac_config_headers
="$ac_config_headers config.h"
1811 for ac_dir
in scripts
"$srcdir"/scripts
; do
1812 if test -f "$ac_dir/install-sh"; then
1814 ac_install_sh
="$ac_aux_dir/install-sh -c"
1816 elif test -f "$ac_dir/install.sh"; then
1818 ac_install_sh
="$ac_aux_dir/install.sh -c"
1820 elif test -f "$ac_dir/shtool"; then
1822 ac_install_sh
="$ac_aux_dir/shtool install -c"
1826 if test -z "$ac_aux_dir"; then
1827 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
1828 echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
1829 { (exit 1); exit 1; }; }
1832 # These three variables are undocumented and unsupported,
1833 # and are intended to be withdrawn in a future Autoconf release.
1834 # They can cause serious problems if a builder's source tree is in a directory
1835 # whose full name contains unusual characters.
1836 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1837 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1838 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1842 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
1843 { { echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
1844 echo "$as_me: error: you must configure in a separate build directory" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # This will get text that should go into config.make.
1851 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
1853 # Check whether --with-gd was given.
1854 if test "${with_gd+set}" = set; then
1855 withval
=$with_gd; case "$with_gd" in
1857 *) libgd_include
="-I$withval/include"
1858 libgd_ldflags
="-L$withval/lib" ;;
1864 # Check whether --with-gd-include was given.
1865 if test "${with_gd_include+set}" = set; then
1866 withval
=$with_gd_include; case "$with_gd_include" in
1868 *) libgd_include
="-I$withval" ;;
1874 # Check whether --with-gd-lib was given.
1875 if test "${with_gd_lib+set}" = set; then
1876 withval
=$with_gd_lib; case "$with_gd_lib" in
1878 *) libgd_ldflags
="-L$withval" ;;
1884 if test -n "$libgd_include"; then
1885 config_vars
="$config_vars
1886 CFLAGS-memusagestat.c = $libgd_include"
1888 if test -n "$libgd_ldflags"; then
1889 config_vars
="$config_vars
1890 libgd-LDFLAGS = $libgd_ldflags"
1894 # Check whether --with-fp was given.
1895 if test "${with_fp+set}" = set; then
1896 withval
=$with_fp; with_fp
=$withval
1903 # Check whether --with-binutils was given.
1904 if test "${with_binutils+set}" = set; then
1905 withval
=$with_binutils; path_binutils
=$withval
1911 # Check whether --with-elf was given.
1912 if test "${with_elf+set}" = set; then
1913 withval
=$with_elf; elf
=$withval
1919 # Check whether --with-selinux was given.
1920 if test "${with_selinux+set}" = set; then
1921 withval
=$with_selinux; with_selinux
=$withval
1927 # Check whether --with-xcoff was given.
1928 if test "${with_xcoff+set}" = set; then
1929 withval
=$with_xcoff; xcoff
=$withval
1935 # Check whether --with-cvs was given.
1936 if test "${with_cvs+set}" = set; then
1937 withval
=$with_cvs; with_cvs
=$withval
1942 if test "$with_cvs" = yes; then
1943 if test -d $srcdir/CVS
&& grep :pserver
: $srcdir/CVS
/Root
> /dev
/null
1951 # Check whether --with-headers was given.
1952 if test "${with_headers+set}" = set; then
1953 withval
=$with_headers; sysheaders
=$withval
1959 # Check whether --enable-sanity-checks was given.
1960 if test "${enable_sanity_checks+set}" = set; then
1961 enableval
=$enable_sanity_checks; enable_sanity
=$enableval
1968 # Check whether --enable-check-abi was given.
1969 if test "${enable_check_abi+set}" = set; then
1970 enableval
=$enable_check_abi; enable_check_abi
=$enableval
1977 # Check whether --enable-shared was given.
1978 if test "${enable_shared+set}" = set; then
1979 enableval
=$enable_shared; shared
=$enableval
1984 # Check whether --enable-profile was given.
1985 if test "${enable_profile+set}" = set; then
1986 enableval
=$enable_profile; profile
=$enableval
1991 # Check whether --enable-omitfp was given.
1992 if test "${enable_omitfp+set}" = set; then
1993 enableval
=$enable_omitfp; omitfp
=$enableval
1998 # Check whether --enable-bounded was given.
1999 if test "${enable_bounded+set}" = set; then
2000 enableval
=$enable_bounded; bounded
=$enableval
2005 # Check whether --enable-versioning was given.
2006 if test "${enable_versioning+set}" = set; then
2007 enableval
=$enable_versioning; enable_versioning
=$enableval
2009 enable_versioning
=yes
2013 # Check whether --enable-oldest-abi was given.
2014 if test "${enable_oldest_abi+set}" = set; then
2015 enableval
=$enable_oldest_abi; oldest_abi
=$enableval
2020 if test "$oldest_abi" = yes ||
test "$oldest_abi" = no
; then
2023 cat >>confdefs.h
<<_ACEOF
2024 #define GLIBC_OLDEST_ABI "$oldest_abi"
2030 # Check whether --enable-stackguard-randomization was given.
2031 if test "${enable_stackguard_randomization+set}" = set; then
2032 enableval
=$enable_stackguard_randomization; enable_stackguard_randomize
=$enableval
2034 enable_stackguard_randomize
=no
2037 if test "$enable_stackguard_randomize" = yes; then
2038 cat >>confdefs.h
<<\_ACEOF
2039 #define ENABLE_STACKGUARD_RANDOMIZE 1
2044 # Check whether --enable-add-ons was given.
2045 if test "${enable_add_ons+set}" = set; then
2046 enableval
=$enable_add_ons;
2053 # Check whether --with-tls was given.
2054 if test "${with_tls+set}" = set; then
2055 withval
=$with_tls; usetls
=$withval
2062 # Check whether --with-__thread was given.
2063 if test "${with___thread+set}" = set; then
2064 withval
=$with___thread; use__thread
=$withval
2070 # Check whether --enable-hidden-plt was given.
2071 if test "${enable_hidden_plt+set}" = set; then
2072 enableval
=$enable_hidden_plt; hidden
=$enableval
2077 if test "x$hidden" = xno
; then
2078 cat >>confdefs.h
<<\_ACEOF
2084 # Check whether --enable-bind-now was given.
2085 if test "${enable_bind_now+set}" = set; then
2086 enableval
=$enable_bind_now; bindnow
=$enableval
2093 # Check whether --enable-static-nss was given.
2094 if test "${enable_static_nss+set}" = set; then
2095 enableval
=$enable_static_nss; static_nss
=$enableval
2100 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
2102 cat >>confdefs.h
<<\_ACEOF
2103 #define DO_STATIC_NSS 1
2108 # Check whether --enable-force-install was given.
2109 if test "${enable_force_install+set}" = set; then
2110 enableval
=$enable_force_install; force_install
=$enableval
2117 # Check whether --enable-kernel was given.
2118 if test "${enable_kernel+set}" = set; then
2119 enableval
=$enable_kernel; minimum_kernel
=$enableval
2122 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
2123 # Better nothing than this.
2126 if test "$minimum_kernel" = current
; then
2127 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
2131 # Check whether --enable-all-warnings was given.
2132 if test "${enable_all_warnings+set}" = set; then
2133 enableval
=$enable_all_warnings; all_warnings
=$enableval
2138 # Make sure we can run config.sub.
2139 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2140 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2141 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2142 { (exit 1); exit 1; }; }
2144 { echo "$as_me:$LINENO: checking build system type" >&5
2145 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2146 if test "${ac_cv_build+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 ac_build_alias
=$build_alias
2150 test "x$ac_build_alias" = x
&&
2151 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2152 test "x$ac_build_alias" = x
&&
2153 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2154 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2155 { (exit 1); exit 1; }; }
2156 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2157 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2158 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2159 { (exit 1); exit 1; }; }
2162 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2163 echo "${ECHO_T}$ac_cv_build" >&6; }
2164 case $ac_cv_build in
2166 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2167 echo "$as_me: error: invalid value of canonical build" >&2;}
2168 { (exit 1); exit 1; }; };;
2171 ac_save_IFS
=$IFS; IFS
='-'
2177 # Remember, the first character of IFS is used to create $*,
2178 # except with old shells:
2181 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2184 { echo "$as_me:$LINENO: checking host system type" >&5
2185 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2186 if test "${ac_cv_host+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test "x$host_alias" = x
; then
2190 ac_cv_host
=$ac_cv_build
2192 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2193 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2194 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2195 { (exit 1); exit 1; }; }
2199 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2200 echo "${ECHO_T}$ac_cv_host" >&6; }
2203 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2204 echo "$as_me: error: invalid value of canonical host" >&2;}
2205 { (exit 1); exit 1; }; };;
2208 ac_save_IFS
=$IFS; IFS
='-'
2214 # Remember, the first character of IFS is used to create $*,
2215 # except with old shells:
2218 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2222 # The way shlib-versions is used to generate soversions.mk uses a
2223 # fairly simplistic model for name recognition that can't distinguish
2224 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
2225 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
2226 # tell. This doesn't get used much beyond that, so it's fairly safe.
2231 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
2235 # We keep the original values in `$config_*' and never modify them, so we
2236 # can write them unchanged into config.make. Everything else uses
2237 # $machine, $vendor, and $os, and changes them whenever convenient.
2238 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
2240 # Don't allow vendor == "unknown"
2241 test "$config_vendor" = unknown
&& config_vendor
=
2242 config_os
="`echo $config_os | sed 's/^unknown-//'`"
2244 # Some configurations imply other options.
2246 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
2247 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
2249 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
2250 # These systems (almost) always use the ELF format.
2254 # These systems are always xcoff
2260 # The configure fragment of an add-on port can modify these to supplement
2261 # or override the table in the case statement below. No fragment should
2262 # ever change the config_* variables, however.
2263 machine
=$config_machine
2264 vendor
=$config_vendor
2268 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
2270 if test "$machine" = rs6000
; then
2274 # Braindead PowerPC box with absolutely no FPU.
2275 case "$machine-$host_os" in
2283 # Check whether --with-cpu was given.
2284 if test "${with_cpu+set}" = set; then
2285 withval
=$with_cpu; case "$withval" in
2286 yes|
'') { { echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
2287 echo "$as_me: error: --with-cpu requires an argument" >&2;}
2288 { (exit 1); exit 1; }; } ;;
2290 *) submachine
="$withval" ;;
2296 # An add-on can set this when it wants to disable the sanity check below.
2302 case "$enable_add_ons" in
2305 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
2306 sed 's@/[^/]*$@@' | sort | uniq`
2307 add_ons_automatic
=yes
2309 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
2310 add_ons_automatic
=no
;;
2316 if test x
"$add_ons" != x
; then
2317 for f
in $add_ons; do
2318 # Some sanity checks
2321 { { echo "$as_me:$LINENO: error:
2322 *** It seems that you're using an old \`crypt' add-on. crypt is now
2323 *** part of glibc and using the old add-on will not work with this
2324 *** release. Start again with fresh sources and without the old
2325 *** \`crypt' add-on." >&5
2326 echo "$as_me: error:
2327 *** It seems that you're using an old \`crypt' add-on. crypt is now
2328 *** part of glibc and using the old add-on will not work with this
2329 *** release. Start again with fresh sources and without the old
2330 *** \`crypt' add-on." >&2;}
2331 { (exit 1); exit 1; }; }
2334 { { echo "$as_me:$LINENO: error:
2335 *** It seems that you're using an old \`localedata' add-on. localedata
2336 *** is now part of glibc and using the old add-on will not work with
2337 *** this release. Start again with fresh sources and without the old
2338 *** \`localedata' add-on." >&5
2339 echo "$as_me: error:
2340 *** It seems that you're using an old \`localedata' add-on. localedata
2341 *** is now part of glibc and using the old add-on will not work with
2342 *** this release. Start again with fresh sources and without the old
2343 *** \`localedata' add-on." >&2;}
2344 { (exit 1); exit 1; }; }
2349 # Now source each add-on's configure fragment.
2350 # The fragments can use $srcdir/$libc_add_on to find themselves,
2351 # and test $add_ons_automatic to see if they were explicitly requested.
2352 # A fragment can clear (or even change) $libc_add_on to affect
2353 # whether it goes into the list to be actually used in the build.
2355 for libc_add_on
in $add_ons; do
2356 # Test whether such a directory really exists.
2357 # It can be absolute, or relative to $srcdir, or relative to the build dir.
2358 case "$libc_add_on" in
2360 libc_add_on_srcdir
=$libc_add_on
2363 test -d "$srcdir/$libc_add_on" ||
{
2364 if test -d "$libc_add_on"; then
2365 libc_add_on
="`pwd`/$libc_add_on"
2367 { { echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
2368 echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
2369 { (exit 1); exit 1; }; }
2372 libc_add_on_srcdir
=$srcdir/$libc_add_on
2376 libc_add_on_frag
=$libc_add_on_srcdir/configure
2377 libc_add_on_canonical
=
2378 if test -r "$libc_add_on_frag"; then
2379 { echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
2380 echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
2381 libc_add_on_canonical
=unknown
2382 libc_add_on_subdirs
=
2383 .
"$libc_add_on_frag"
2384 test -z "$libc_add_on" ||
{
2385 configured_add_ons
="$configured_add_ons $libc_add_on"
2386 if test "x$libc_add_on_canonical" = xunknown
; then
2387 { { echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
2388 echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
2389 { (exit 1); exit 1; }; }
2391 for d
in $libc_add_on_subdirs; do
2392 case "$libc_add_on" in
2393 /*) subdir_srcdir
="$libc_add_on" ;;
2394 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
2398 d
="${libc_add_on_canonical:-$libc_add_on}"
2404 subdir_srcdir
="$subdir_srcdir/$d"
2407 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
2408 add_on_subdirs
="$add_on_subdirs $d"
2409 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
2410 $d-srcdir = $subdir_srcdir"
2414 if test -n "$libc_add_on"; then
2415 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
2417 { echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
2418 echo $ECHO_N "checking add-on $libc_add_on for preconfigure fragments... $ECHO_C" >&6; }
2419 for frag
in $frags; do
2420 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
2421 echo $ECHO_N "$name $ECHO_C" >&6
2424 { echo "$as_me:$LINENO: result: " >&5
2425 echo "${ECHO_T}" >&6; }
2427 use_add_ons
="$use_add_ons $libc_add_on"
2428 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
2429 test -z "$libc_add_on_canonical" ||
2430 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
2433 # Use echo to strip excess whitespace.
2434 add_ons
="`echo $use_add_ons`"
2441 ### I put this here to prevent those annoying emails from people who cannot
2442 ### read and try to compile glibc on unsupported platforms. --drepper
2444 ### By using the undocumented --enable-hacker-mode option for configure
2445 ### one can skip this test to make the configuration not fail for unsupported
2448 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
2449 case "$machine-$host_os" in
2450 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
2453 echo "*** The GNU C library is currently not available for this platform."
2454 echo "*** So far nobody cared to port it and if there is no volunteer it"
2455 echo "*** might never happen. So, if you have interest to see glibc on"
2456 echo "*** this platform visit"
2457 echo "*** http://www.gnu.org/software/libc/porting.html"
2458 echo "*** and join the group of porters"
2464 # Expand the configuration machine name into a subdirectory by architecture
2465 # type and particular chip. If an add-on configure fragment already set
2466 # base_machine, we don't change it.
2467 test -n "$base_machine" ||
case "$machine" in
2468 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
2469 alpha
*) base_machine
=alpha machine
=alpha
/$machine ;;
2470 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
2471 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
2472 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
2473 ia64
) base_machine
=ia64 machine
=ia64
;;
2474 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
2475 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
2476 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
2477 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
2478 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
2479 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
2480 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
2481 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
2483 base_machine
=sparc machine
=sparc
/sparc32
;;
2484 sparcv8 | supersparc | hypersparc
)
2485 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
2486 sparcv8plus | sparcv8plusa | sparcv9
)
2487 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
2488 sparcv8plusb | sparcv9b
)
2489 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
2491 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
2493 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
2495 base_machine
=sparc machine
=sparc
/sparc64
;;
2497 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
2499 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
2501 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
2502 *) base_machine
=$machine ;;
2506 if test "$base_machine" = "i386"; then
2507 cat >>confdefs.h
<<\_ACEOF
2508 #define USE_REGPARMS 1
2513 # Compute the list of sysdep directories for this configuration.
2514 # This can take a while to compute.
2515 sysdep_dir
=$srcdir/sysdeps
2516 { echo "$as_me:$LINENO: checking sysdep dirs" >&5
2517 echo $ECHO_N "checking sysdep dirs... $ECHO_C" >&6; }
2518 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
2519 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
2521 test "x$base_os" != x ||
case "$os" in
2523 base_os
=mach
/hurd
;;
2524 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
2525 base_os
=unix
/bsd
/bsd4.4
;;
2526 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
2528 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
2529 base_os
=unix
/sysv
;;
2531 base_os
=unix
/sysv
/irix
6/$os ;;
2533 base_os
=unix
/sysv
/sysv4
;;
2535 base_os
=unix
/sysv
/hpux
/$os ;;
2537 base_os
=unix
/sysv
/aix
/aix4.3
;;
2539 base_os
=standalone
;;
2542 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
2545 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
2549 o
=`echo $tail | sed 's/[0-9]*$//'`
2550 if test $o != $tail; then
2553 # For linux-gnu, try linux-gnu, then linux.
2554 o
=`echo $tail | sed 's/-.*$//'`
2555 if test $o != $tail; then
2559 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
2562 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
2568 # For sparc/sparc32, try sparc/sparc32 and then sparc.
2570 tail=$machine${submachine:+/$submachine}
2571 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
2573 # Prepend the machine's FPU directory unless --without-fp.
2574 if test "$with_fp" = yes; then
2575 mach
="$mach /$1/fpu"
2577 mach
="$mach /$1/nofpu"
2584 # Find what sysdep directories exist.
2586 sysnames
="sysdeps/nacl "
2587 for b
in $base ''; do
2588 for m0
in $mach ''; do
2589 for v
in /$vendor ''; do
2590 test "$v" = / && continue
2591 for o
in /$ostry ''; do
2592 test "$o" = / && continue
2593 for m
in $mach ''; do
2594 for d
in $add_ons_pfx ''; do
2595 for a
in $add_ons_sfx ''; do
2596 if test -n "$m0$m0sub$b$v$o$m$msub"; then
2597 try_srcdir
="${srcdir}/"
2601 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
2602 test -n "$enable_debug_configure" &&
2603 echo "$0 DEBUG: try $try" >&2
2604 if test -d "$try_srcdir$try"; then
2605 sysnames
="$sysnames $try"
2606 { test -n "$o" ||
test -n "$b"; } && os_used
=t
2607 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
2609 x
*/$submachine) submachine_used
=t
;;
2611 if test -n "$d"; then
2612 case "$sysnames_add_ons" in
2614 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
2627 if test -z "$os_used" && test "$os" != none
; then
2628 { { echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
2629 echo "$as_me: error: Operating system $os is not supported." >&2;}
2630 { (exit 1); exit 1; }; }
2632 if test -z "$machine_used" && test "$machine" != none
; then
2633 { { echo "$as_me:$LINENO: error: The $machine is not supported." >&5
2634 echo "$as_me: error: The $machine is not supported." >&2;}
2635 { (exit 1); exit 1; }; }
2637 if test -z "$submachine_used" && test -n "$submachine"; then
2638 { { echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
2639 echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
2640 { (exit 1); exit 1; }; }
2644 # We have now validated the configuration.
2647 # If using ELF, look for an `elf' subdirectory of each machine directory.
2648 # We prepend these rather than inserting them whereever the machine appears
2649 # because things specified by the machine's ELF ABI should override
2650 # OS-specific things, and should always be the same for any OS on the
2651 # machine (otherwise what's the point of an ABI?).
2652 if test "$elf" = yes; then
2654 for d
in $add_ons_pfx ''; do
2656 if test -d $srcdir/${d}sysdeps
$m/elf
; then
2657 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
2661 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
2665 # Expand the list of system names into a full list of directories
2666 # from each element's parent name and Implies file (if present).
2669 while test $# -gt 0; do
2673 case " $names " in *" $name "*)
2674 # Already in the list.
2678 # Report each name as we discover it, so there is no long pause in output.
2679 echo $ECHO_N "$name $ECHO_C" >&6
2681 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
2685 *) xsrcdir
=$srcdir/ ;;
2687 test -n "$enable_debug_configure" &&
2688 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
2690 if test -f $xsrcdir$name/Implies
; then
2691 # Collect more names from the `Implies' file (removing comments).
2692 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
2694 for x
in $implied_candidate; do
2696 if test -d $xsrcdir$name_base/$x; then
2697 implied
="$implied $name_base/$x";
2700 for d
in $add_ons_pfx ''; do
2701 try
="${d}sysdeps/$x"
2704 *) try_srcdir
=$srcdir/ ;;
2706 test -n "$enable_debug_configure" &&
2707 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
2708 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
2710 implied
="$implied $try"
2712 case "$sysnames_add_ons" in
2714 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
2718 if test $found = no
; then
2719 { echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
2720 echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
2727 # Add NAME to the list of names.
2728 names
="$names $name"
2730 # Find the parent of NAME, using the empty string if it has none.
2731 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
2733 # Add the names implied by NAME, and NAME's parent (if it has one), to
2734 # the list of names to be processed (the argument list). We prepend the
2735 # implied names to the list and append the parent. We want implied
2736 # directories to come before further directories inferred from the
2737 # configuration components; this ensures that for sysv4, unix/common
2738 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
2740 sysnames
="`echo $implied $* $parent`"
2741 test -n "$sysnames" && set $sysnames
2744 # Add the default directories.
2745 default_sysnames
=sysdeps
/generic
2746 if test "$elf" = yes; then
2747 default_sysnames
="sysdeps/generic/elf $default_sysnames"
2749 sysnames
="$names $default_sysnames"
2751 # The other names were emitted during the scan.
2752 { echo "$as_me:$LINENO: result: $default_sysnames" >&5
2753 echo "${ECHO_T}$default_sysnames" >&6; }
2755 # Collect the list of add-ons that supply partial sysdeps trees.
2757 for add_on
in $add_ons; do
2760 *) xsrcdir
="$srcdir/" ;;
2763 test -d "$xsrcdir$add_on/sysdeps" ||
{
2764 case "$configured_add_ons " in
2767 { { echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
2768 echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
2769 { (exit 1); exit 1; }; }
2775 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
2776 case "$sysnames_add_ons" in
2779 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
2780 echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
2785 for d
in $sysnames; do
2787 $add_on/sysdeps
/*) ;;
2790 (cd "$xsrcdir$d" && for f
in *[!~
]; do
2793 for ff
in $f/*.h
; do
2794 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
2798 test -d "$f" ||
{ test -e "$f" && exit 88; }
2802 if test $?
-eq 88; then
2807 if test $found = no
; then
2808 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
2809 echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
2817 # Find a good install program. We prefer a C program (faster),
2818 # so one script is as good as another. But avoid the broken or
2819 # incompatible versions:
2820 # SysV /etc/install, /usr/sbin/install
2821 # SunOS /usr/etc/install
2822 # IRIX /sbin/install
2824 # AmigaOS /C/install, which installs bootblocks on floppy discs
2825 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2826 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2827 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2828 # OS/2's system install, which has a completely different semantic
2829 # ./install, which can be erroneously created by make from ./install.sh.
2830 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2831 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2832 if test -z "$INSTALL"; then
2833 if test "${ac_cv_path_install+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6
2836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir
=.
2841 # Account for people who put trailing slashes in PATH elements.
2843 .
/ | .
// |
/cC
/* | \
2844 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2845 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2848 # OSF1 and SCO ODT 3.0 have their own names for install.
2849 # Don't use installbsd from OSF since it installs stuff as root
2851 for ac_prog
in ginstall scoinst
install; do
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2854 if test $ac_prog = install &&
2855 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2856 # AIX install. It has an incompatible calling convention.
2858 elif test $ac_prog = install &&
2859 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2860 # program-specific install script used by HP pwplus--don't use.
2863 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2876 if test "${ac_cv_path_install+set}" = set; then
2877 INSTALL
=$ac_cv_path_install
2879 # As a last resort, use the slow shell script. Don't cache a
2880 # value for INSTALL within a source directory, because that will
2881 # break other packages using the cache if that directory is
2882 # removed, or if the value is a relative name.
2883 INSTALL
=$ac_install_sh
2886 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2887 echo "${ECHO_T}$INSTALL" >&6; }
2889 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2890 # It thinks the first close brace ends the variable substitution.
2891 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2893 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2895 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2897 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
2898 # The makefiles need to use a different form to find it in $srcdir.
2899 INSTALL
='\$(..)./scripts/install-sh -c'
2901 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2902 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2904 if test "$LN_S" = "ln -s"; then
2905 { echo "$as_me:$LINENO: result: yes" >&5
2906 echo "${ECHO_T}yes" >&6; }
2908 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2909 echo "${ECHO_T}no, using $LN_S" >&6; }
2914 ac_cpp
='$CPP $CPPFLAGS'
2915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2918 if test -n "$ac_tool_prefix"; then
2919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2920 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2923 if test "${ac_cv_prog_CC+set}" = set; then
2924 echo $ECHO_N "(cached) $ECHO_C" >&6
2926 if test -n "$CC"; then
2927 ac_cv_prog_CC
="$CC" # Let the user override the test.
2929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir
=.
2934 for ac_exec_ext
in '' $ac_executable_extensions; do
2935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2936 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 if test -n "$CC"; then
2948 { echo "$as_me:$LINENO: result: $CC" >&5
2949 echo "${ECHO_T}$CC" >&6; }
2951 { echo "$as_me:$LINENO: result: no" >&5
2952 echo "${ECHO_T}no" >&6; }
2957 if test -z "$ac_cv_prog_CC"; then
2959 # Extract the first word of "gcc", so it can be a program name with args.
2960 set dummy gcc
; ac_word
=$2
2961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2963 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 if test -n "$ac_ct_CC"; then
2967 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2973 test -z "$as_dir" && as_dir
=.
2974 for ac_exec_ext
in '' $ac_executable_extensions; do
2975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2976 ac_cv_prog_ac_ct_CC
="gcc"
2977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2987 if test -n "$ac_ct_CC"; then
2988 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2989 echo "${ECHO_T}$ac_ct_CC" >&6; }
2991 { echo "$as_me:$LINENO: result: no" >&5
2992 echo "${ECHO_T}no" >&6; }
2995 if test "x$ac_ct_CC" = x
; then
2998 case $cross_compiling:$ac_tool_warned in
3000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3001 whose name does not start with the host triplet. If you think this
3002 configuration is useful to you, please write to autoconf@gnu.org." >&5
3003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3004 whose name does not start with the host triplet. If you think this
3005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3006 ac_tool_warned
=yes ;;
3014 if test -z "$CC"; then
3015 if test -n "$ac_tool_prefix"; then
3016 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3017 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3020 if test "${ac_cv_prog_CC+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 if test -n "$CC"; then
3024 ac_cv_prog_CC
="$CC" # Let the user override the test.
3026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir
=.
3031 for ac_exec_ext
in '' $ac_executable_extensions; do
3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 if test -n "$CC"; then
3045 { echo "$as_me:$LINENO: result: $CC" >&5
3046 echo "${ECHO_T}$CC" >&6; }
3048 { echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6; }
3055 if test -z "$CC"; then
3056 # Extract the first word of "cc", so it can be a program name with args.
3057 set dummy cc
; ac_word
=$2
3058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3060 if test "${ac_cv_prog_CC+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 if test -n "$CC"; then
3064 ac_cv_prog_CC
="$CC" # Let the user override the test.
3067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir
=.
3072 for ac_exec_ext
in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3075 ac_prog_rejected
=yes
3079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 if test $ac_prog_rejected = yes; then
3087 # We found a bogon in the path, so make sure we never use it.
3088 set dummy
$ac_cv_prog_CC
3090 if test $# != 0; then
3091 # We chose a different compiler from the bogus one.
3092 # However, it has the same basename, so the bogon will be chosen
3093 # first if we set CC to just the basename; use the full file name.
3095 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3101 if test -n "$CC"; then
3102 { echo "$as_me:$LINENO: result: $CC" >&5
3103 echo "${ECHO_T}$CC" >&6; }
3105 { echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6; }
3111 if test -z "$CC"; then
3112 if test -n "$ac_tool_prefix"; then
3113 for ac_prog
in cl.exe
3115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3116 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3119 if test "${ac_cv_prog_CC+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 if test -n "$CC"; then
3123 ac_cv_prog_CC
="$CC" # Let the user override the test.
3125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir
=.
3130 for ac_exec_ext
in '' $ac_executable_extensions; do
3131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3132 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 if test -n "$CC"; then
3144 { echo "$as_me:$LINENO: result: $CC" >&5
3145 echo "${ECHO_T}$CC" >&6; }
3147 { echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6; }
3152 test -n "$CC" && break
3155 if test -z "$CC"; then
3157 for ac_prog
in cl.exe
3159 # Extract the first word of "$ac_prog", so it can be a program name with args.
3160 set dummy
$ac_prog; ac_word
=$2
3161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3163 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3164 echo $ECHO_N "(cached) $ECHO_C" >&6
3166 if test -n "$ac_ct_CC"; then
3167 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir
=.
3174 for ac_exec_ext
in '' $ac_executable_extensions; do
3175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176 ac_cv_prog_ac_ct_CC
="$ac_prog"
3177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3187 if test -n "$ac_ct_CC"; then
3188 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3189 echo "${ECHO_T}$ac_ct_CC" >&6; }
3191 { echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6; }
3196 test -n "$ac_ct_CC" && break
3199 if test "x$ac_ct_CC" = x
; then
3202 case $cross_compiling:$ac_tool_warned in
3204 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3205 whose name does not start with the host triplet. If you think this
3206 configuration is useful to you, please write to autoconf@gnu.org." >&5
3207 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3208 whose name does not start with the host triplet. If you think this
3209 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3210 ac_tool_warned
=yes ;;
3219 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3220 See \`config.log' for more details." >&5
3221 echo "$as_me: error: no acceptable C compiler found in \$PATH
3222 See \`config.log' for more details." >&2;}
3223 { (exit 1); exit 1; }; }
3225 # Provide some information about the compiler.
3226 echo "$as_me:$LINENO: checking for C compiler version" >&5
3227 ac_compiler
=`set X $ac_compile; echo $2`
3228 { (ac_try
="$ac_compiler --version >&5"
3230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3234 (eval "$ac_compiler --version >&5") 2>&5
3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); }
3238 { (ac_try="$ac_compiler -v >&5"
3240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3241 *) ac_try_echo
=$ac_try;;
3243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3244 (eval "$ac_compiler -v >&5") 2>&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }
3248 { (ac_try
="$ac_compiler -V >&5"
3250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_compiler -V >&5") 2>&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }
3260 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3261 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3262 if test "${ac_cv_objext+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 cat >conftest.$ac_ext <<_ACEOF
3268 cat confdefs.h >>conftest.$ac_ext
3269 cat >>conftest.$ac_ext <<_ACEOF
3270 /* end confdefs.h. */
3280 rm -f conftest.o conftest.obj
3281 if { (ac_try="$ac_compile"
3283 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3284 *) ac_try_echo
=$ac_try;;
3286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3287 (eval "$ac_compile") 2>&5
3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); }; then
3291 for ac_file
in conftest.o conftest.obj conftest.
*; do
3292 test -f "$ac_file" ||
continue;
3294 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf
) ;;
3295 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3300 echo "$as_me: failed program was:" >&5
3301 sed 's/^/| /' conftest.
$ac_ext >&5
3303 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3304 See \`config.log' for more details." >&5
3305 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3306 See \`config.log' for more details." >&2;}
3307 { (exit 1); exit 1; }; }
3310 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3312 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3313 echo "${ECHO_T}$ac_cv_objext" >&6; }
3314 OBJEXT
=$ac_cv_objext
3316 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3317 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3318 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 cat >conftest.
$ac_ext <<_ACEOF
3324 cat confdefs.h
>>conftest.
$ac_ext
3325 cat >>conftest.
$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3339 rm -f conftest.
$ac_objext
3340 if { (ac_try
="$ac_compile"
3342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_compile") 2>conftest.er1
3348 grep -v '^ *+' conftest.er1 >conftest.err
3350 cat conftest.err >&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } && {
3353 test -z "$ac_c_werror_flag" ||
3354 test ! -s conftest.err
3355 } && test -s conftest.$ac_objext; then
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3368 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3369 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3370 GCC=`test $ac_compiler_gnu = yes && echo yes`
3371 ac_test_CFLAGS=${CFLAGS+set}
3372 ac_save_CFLAGS=$CFLAGS
3373 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3374 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3375 if test "${ac_cv_prog_cc_g+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 ac_save_c_werror_flag=$ac_c_werror_flag
3379 ac_c_werror_flag=yes
3382 cat >conftest.$ac_ext <<_ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3397 rm -f conftest.$ac_objext
3398 if { (ac_try="$ac_compile"
3400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3401 *) ac_try_echo
=$ac_try;;
3403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3404 (eval "$ac_compile") 2>conftest.er1
3406 grep -v '^ *+' conftest.er1
>conftest.err
3408 cat conftest.err
>&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } && {
3411 test -z "$ac_c_werror_flag" ||
3412 test ! -s conftest.err
3413 } && test -s conftest.
$ac_objext; then
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.
$ac_ext >&5
3420 cat >conftest.
$ac_ext <<_ACEOF
3423 cat confdefs.h
>>conftest.
$ac_ext
3424 cat >>conftest.
$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3435 rm -f conftest.
$ac_objext
3436 if { (ac_try
="$ac_compile"
3438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3444 grep -v '^ *+' conftest.er1 >conftest.err
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } && {
3449 test -z "$ac_c_werror_flag" ||
3450 test ! -s conftest.err
3451 } && test -s conftest.$ac_objext; then
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 ac_c_werror_flag=$ac_save_c_werror_flag
3459 cat >conftest.$ac_ext <<_ACEOF
3462 cat confdefs.h >>conftest.$ac_ext
3463 cat >>conftest.$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.$ac_objext
3475 if { (ac_try="$ac_compile"
3477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3478 *) ac_try_echo
=$ac_try;;
3480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3481 (eval "$ac_compile") 2>conftest.er1
3483 grep -v '^ *+' conftest.er1
>conftest.err
3485 cat conftest.err
>&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); } && {
3488 test -z "$ac_c_werror_flag" ||
3489 test ! -s conftest.err
3490 } && test -s conftest.
$ac_objext; then
3493 echo "$as_me: failed program was:" >&5
3494 sed 's/^/| /' conftest.
$ac_ext >&5
3499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3506 ac_c_werror_flag
=$ac_save_c_werror_flag
3508 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3509 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3510 if test "$ac_test_CFLAGS" = set; then
3511 CFLAGS
=$ac_save_CFLAGS
3512 elif test $ac_cv_prog_cc_g = yes; then
3513 if test "$GCC" = yes; then
3519 if test "$GCC" = yes; then
3525 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3526 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3527 if test "${ac_cv_prog_cc_c89+set}" = set; then
3528 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 ac_cv_prog_cc_c89
=no
3532 cat >conftest.
$ac_ext <<_ACEOF
3535 cat confdefs.h
>>conftest.
$ac_ext
3536 cat >>conftest.
$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3540 #include <sys/types.h>
3541 #include <sys/stat.h>
3542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3543 struct buf { int x; };
3544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3545 static char *e (p, i)
3551 static char *f (char * (*g) (char **, int), char **p, ...)
3556 s = g (p, va_arg (v,int));
3561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3562 function prototypes and stuff, but not '\xHH' hex character constants.
3563 These don't provoke an error unfortunately, instead are silently treated
3564 as 'x'. The following induces an error, until -std is added to get
3565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3566 array size at least. It's necessary to write '\x00'==0 to get something
3567 that's true only with -std. */
3568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3571 inside strings and character constants. */
3573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3575 int test (int i, double x);
3576 struct s1 {int (*f) (int a);};
3577 struct s2 {int (*f) (double a);};
3578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3584 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3589 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3590 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3592 CC
="$ac_save_CC $ac_arg"
3593 rm -f conftest.
$ac_objext
3594 if { (ac_try
="$ac_compile"
3596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_compile") 2>conftest.er1
3602 grep -v '^ *+' conftest.er1 >conftest.err
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } && {
3607 test -z "$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 } && test -s conftest.$ac_objext; then
3610 ac_cv_prog_cc_c89=$ac_arg
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3618 rm -f core conftest.err conftest.$ac_objext
3619 test "x$ac_cv_prog_cc_c89" != "xno" && break
3621 rm -f conftest.$ac_ext
3626 case "x$ac_cv_prog_cc_c89" in
3628 { echo "$as_me:$LINENO: result: none needed" >&5
3629 echo "${ECHO_T}none needed" >&6; } ;;
3631 { echo "$as_me:$LINENO: result: unsupported" >&5
3632 echo "${ECHO_T}unsupported" >&6; } ;;
3634 CC="$CC $ac_cv_prog_cc_c89"
3635 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3636 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3641 ac_cpp='$CPP $CPPFLAGS'
3642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3646 if test $host != $build; then
3647 for ac_prog in gcc cc
3649 # Extract the first word of "$ac_prog", so it can be a program name with args.
3650 set dummy $ac_prog; ac_word=$2
3651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3653 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
3654 echo $ECHO_N "(cached) $ECHO_C" >&6
3656 if test -n "$BUILD_CC"; then
3657 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666 ac_cv_prog_BUILD_CC="$ac_prog"
3667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 BUILD_CC=$ac_cv_prog_BUILD_CC
3677 if test -n "$BUILD_CC"; then
3678 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
3679 echo "${ECHO_T}$BUILD_CC" >&6; }
3681 { echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6; }
3686 test -n "$BUILD_CC" && break
3692 ac_cpp='$CPP $CPPFLAGS'
3693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3696 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3697 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3698 # On Suns, sometimes $CPP names a directory.
3699 if test -n "$CPP" && test -d "$CPP"; then
3702 if test -z "$CPP"; then
3703 if test "${ac_cv_prog_CPP+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 # Double quotes because CPP needs to be expanded
3707 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3710 for ac_c_preproc_warn_flag in '' yes
3712 # Use a header file that comes with gcc, so configuring glibc
3713 # with a fresh cross-compiler works.
3714 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3715 # <limits.h> exists even on freestanding compilers.
3716 # On the NeXT, cc -E runs the code through the compiler's parser,
3717 # not just through cpp. "Syntax error" is here to catch this case.
3718 cat >conftest.$ac_ext <<_ACEOF
3721 cat confdefs.h >>conftest.$ac_ext
3722 cat >>conftest.$ac_ext <<_ACEOF
3723 /* end confdefs.h. */
3725 # include <limits.h>
3727 # include <assert.h>
3731 if { (ac_try="$ac_cpp conftest.$ac_ext"
3733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3734 *) ac_try_echo
=$ac_try;;
3736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3739 grep -v '^ *+' conftest.er1
>conftest.err
3741 cat conftest.err
>&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); } >/dev
/null
&& {
3744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3745 test ! -s conftest.err
3749 echo "$as_me: failed program was:" >&5
3750 sed 's/^/| /' conftest.
$ac_ext >&5
3752 # Broken: fails on valid input.
3756 rm -f conftest.err conftest.
$ac_ext
3758 # OK, works on sane cases. Now check whether nonexistent headers
3759 # can be detected and how.
3760 cat >conftest.
$ac_ext <<_ACEOF
3763 cat confdefs.h
>>conftest.
$ac_ext
3764 cat >>conftest.
$ac_ext <<_ACEOF
3765 /* end confdefs.h. */
3766 #include <ac_nonexistent.h>
3768 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3771 *) ac_try_echo=$ac_try;;
3773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3776 grep -v '^ *+' conftest.er1 >conftest.err
3778 cat conftest.err >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } >/dev/null && {
3781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3782 test ! -s conftest.err
3784 # Broken: success on invalid input.
3787 echo "$as_me: failed program was:" >&5
3788 sed 's/^/| /' conftest.$ac_ext >&5
3790 # Passes both tests.
3795 rm -f conftest.err conftest.$ac_ext
3798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3799 rm -f conftest.err conftest.
$ac_ext
3800 if $ac_preproc_ok; then
3812 { echo "$as_me:$LINENO: result: $CPP" >&5
3813 echo "${ECHO_T}$CPP" >&6; }
3815 for ac_c_preproc_warn_flag
in '' yes
3817 # Use a header file that comes with gcc, so configuring glibc
3818 # with a fresh cross-compiler works.
3819 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3820 # <limits.h> exists even on freestanding compilers.
3821 # On the NeXT, cc -E runs the code through the compiler's parser,
3822 # not just through cpp. "Syntax error" is here to catch this case.
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3830 # include <limits.h>
3832 # include <assert.h>
3836 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3839 *) ac_try_echo=$ac_try;;
3841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3844 grep -v '^ *+' conftest.er1 >conftest.err
3846 cat conftest.err >&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); } >/dev/null && {
3849 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3850 test ! -s conftest.err
3854 echo "$as_me: failed program was:" >&5
3855 sed 's/^/| /' conftest.$ac_ext >&5
3857 # Broken: fails on valid input.
3861 rm -f conftest.err conftest.$ac_ext
3863 # OK, works on sane cases. Now check whether nonexistent headers
3864 # can be detected and how.
3865 cat >conftest.$ac_ext <<_ACEOF
3868 cat confdefs.h >>conftest.$ac_ext
3869 cat >>conftest.$ac_ext <<_ACEOF
3870 /* end confdefs.h. */
3871 #include <ac_nonexistent.h>
3873 if { (ac_try="$ac_cpp conftest.$ac_ext"
3875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3876 *) ac_try_echo
=$ac_try;;
3878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3881 grep -v '^ *+' conftest.er1
>conftest.err
3883 cat conftest.err
>&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } >/dev
/null
&& {
3886 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3887 test ! -s conftest.err
3889 # Broken: success on invalid input.
3892 echo "$as_me: failed program was:" >&5
3893 sed 's/^/| /' conftest.
$ac_ext >&5
3895 # Passes both tests.
3900 rm -f conftest.err conftest.
$ac_ext
3903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3904 rm -f conftest.err conftest.
$ac_ext
3905 if $ac_preproc_ok; then
3908 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3909 See \`config.log' for more details." >&5
3910 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3911 See \`config.log' for more details." >&2;}
3912 { (exit 1); exit 1; }; }
3916 ac_cpp
='$CPP $CPPFLAGS'
3917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3921 # We need the C++ compiler only for testing.
3923 ac_cpp
='$CXXCPP $CPPFLAGS'
3924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3927 if test -z "$CXX"; then
3928 if test -n "$CCC"; then
3931 if test -n "$ac_tool_prefix"; then
3932 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3935 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3938 if test "${ac_cv_prog_CXX+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 if test -n "$CXX"; then
3942 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3948 test -z "$as_dir" && as_dir
=.
3949 for ac_exec_ext
in '' $ac_executable_extensions; do
3950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3962 if test -n "$CXX"; then
3963 { echo "$as_me:$LINENO: result: $CXX" >&5
3964 echo "${ECHO_T}$CXX" >&6; }
3966 { echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6; }
3971 test -n "$CXX" && break
3974 if test -z "$CXX"; then
3976 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3978 # Extract the first word of "$ac_prog", so it can be a program name with args.
3979 set dummy
$ac_prog; ac_word
=$2
3980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3982 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3983 echo $ECHO_N "(cached) $ECHO_C" >&6
3985 if test -n "$ac_ct_CXX"; then
3986 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3995 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4006 if test -n "$ac_ct_CXX"; then
4007 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4008 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4010 { echo "$as_me:$LINENO: result: no" >&5
4011 echo "${ECHO_T}no" >&6; }
4015 test -n "$ac_ct_CXX" && break
4018 if test "x$ac_ct_CXX" = x
; then
4021 case $cross_compiling:$ac_tool_warned in
4023 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4024 whose name does not start with the host triplet. If you think this
4025 configuration is useful to you, please write to autoconf@gnu.org." >&5
4026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4027 whose name does not start with the host triplet. If you think this
4028 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4029 ac_tool_warned
=yes ;;
4037 # Provide some information about the compiler.
4038 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4039 ac_compiler
=`set X $ac_compile; echo $2`
4040 { (ac_try
="$ac_compiler --version >&5"
4042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_compiler --version >&5") 2>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }
4050 { (ac_try="$ac_compiler -v >&5"
4052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4053 *) ac_try_echo
=$ac_try;;
4055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4056 (eval "$ac_compiler -v >&5") 2>&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); }
4060 { (ac_try
="$ac_compiler -V >&5"
4062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4066 (eval "$ac_compiler -V >&5") 2>&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }
4071 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4072 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4073 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 cat >conftest.$ac_ext <<_ACEOF
4079 cat confdefs.h >>conftest.$ac_ext
4080 cat >>conftest.$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4094 rm -f conftest.$ac_objext
4095 if { (ac_try="$ac_compile"
4097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4098 *) ac_try_echo
=$ac_try;;
4100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4101 (eval "$ac_compile") 2>conftest.er1
4103 grep -v '^ *+' conftest.er1
>conftest.err
4105 cat conftest.err
>&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); } && {
4108 test -z "$ac_cxx_werror_flag" ||
4109 test ! -s conftest.err
4110 } && test -s conftest.
$ac_objext; then
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.
$ac_ext >&5
4119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4120 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4123 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4124 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4125 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4126 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4127 ac_save_CXXFLAGS
=$CXXFLAGS
4128 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4129 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4130 if test "${ac_cv_prog_cxx_g+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4134 ac_cxx_werror_flag
=yes
4137 cat >conftest.
$ac_ext <<_ACEOF
4140 cat confdefs.h
>>conftest.
$ac_ext
4141 cat >>conftest.
$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4152 rm -f conftest.
$ac_objext
4153 if { (ac_try
="$ac_compile"
4155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4156 *) ac_try_echo=$ac_try;;
4158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4159 (eval "$ac_compile") 2>conftest.er1
4161 grep -v '^ *+' conftest.er1 >conftest.err
4163 cat conftest.err >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } && {
4166 test -z "$ac_cxx_werror_flag" ||
4167 test ! -s conftest.err
4168 } && test -s conftest.$ac_objext; then
4169 ac_cv_prog_cxx_g=yes
4171 echo "$as_me: failed program was:" >&5
4172 sed 's/^/| /' conftest.$ac_ext >&5
4175 cat >conftest.$ac_ext <<_ACEOF
4178 cat confdefs.h >>conftest.$ac_ext
4179 cat >>conftest.$ac_ext <<_ACEOF
4180 /* end confdefs.h. */
4190 rm -f conftest.$ac_objext
4191 if { (ac_try="$ac_compile"
4193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4194 *) ac_try_echo
=$ac_try;;
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_compile") 2>conftest.er1
4199 grep -v '^ *+' conftest.er1
>conftest.err
4201 cat conftest.err
>&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_cxx_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest.
$ac_objext; then
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.
$ac_ext >&5
4212 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4214 cat >conftest.
$ac_ext <<_ACEOF
4217 cat confdefs.h
>>conftest.
$ac_ext
4218 cat >>conftest.
$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4229 rm -f conftest.
$ac_objext
4230 if { (ac_try
="$ac_compile"
4232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4233 *) ac_try_echo=$ac_try;;
4235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4236 (eval "$ac_compile") 2>conftest.er1
4238 grep -v '^ *+' conftest.er1 >conftest.err
4240 cat conftest.err >&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); } && {
4243 test -z "$ac_cxx_werror_flag" ||
4244 test ! -s conftest.err
4245 } && test -s conftest.$ac_objext; then
4246 ac_cv_prog_cxx_g=yes
4248 echo "$as_me: failed program was:" >&5
4249 sed 's/^/| /' conftest.$ac_ext >&5
4254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4263 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4264 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4265 if test "$ac_test_CXXFLAGS" = set; then
4266 CXXFLAGS=$ac_save_CXXFLAGS
4267 elif test $ac_cv_prog_cxx_g = yes; then
4268 if test "$GXX" = yes; then
4274 if test "$GXX" = yes; then
4281 ac_cpp='$CPP $CPPFLAGS'
4282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4286 # Was a --with-binutils option given?
4287 if test -n "$path_binutils"; then
4288 # Make absolute; ensure a single trailing slash.
4289 path_binutils=`(cd $path_binutils; pwd) |
sed 's%/*$%/%'`
4290 CC="$CC -B$path_binutils"
4292 AS=`$CC -print-prog-name=as
`
4293 LD=`$CC -print-prog-name=ld
`
4294 AR=`$CC -print-prog-name=ar`
4296 OBJDUMP=`$CC -print-prog-name=objdump
`
4299 # ranlib has to be treated a bit differently since it might not exist at all.
4300 ac_ranlib=`$CC -print-prog-name=ranlib
`
4301 if test "x$ac_ranlib" = xranlib; then
4302 # This extra check has to happen since gcc simply echos the parameter in
4303 # case it cannot find the value in its own directories.
4304 if test -n "$ac_tool_prefix"; then
4305 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4306 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4309 if test "${ac_cv_prog_RANLIB+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 if test -n "$RANLIB"; then
4313 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir=.
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4322 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 RANLIB=$ac_cv_prog_RANLIB
4333 if test -n "$RANLIB"; then
4334 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4335 echo "${ECHO_T}$RANLIB" >&6; }
4337 { echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6; }
4343 if test -z "$ac_cv_prog_RANLIB"; then
4344 ac_ct_RANLIB=$RANLIB
4345 # Extract the first word of "ranlib", so it can be a program name with args.
4346 set dummy ranlib; ac_word=$2
4347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4349 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4350 echo $ECHO_N "(cached) $ECHO_C" >&6
4352 if test -n "$ac_ct_RANLIB"; then
4353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362 ac_cv_prog_ac_ct_RANLIB="ranlib"
4363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4373 if test -n "$ac_ct_RANLIB"; then
4374 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4375 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4377 { echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6; }
4381 if test "x$ac_ct_RANLIB" = x; then
4384 case $cross_compiling:$ac_tool_warned in
4386 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4387 whose name does not start with the host triplet. If you think this
4388 configuration is useful to you, please write to autoconf@gnu.org." >&5
4389 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4390 whose name does not start with the host triplet. If you think this
4391 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4392 ac_tool_warned=yes ;;
4394 RANLIB=$ac_ct_RANLIB
4397 RANLIB="$ac_cv_prog_RANLIB"
4405 # Determine whether we are using GNU binutils.
4406 { echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4407 echo $ECHO_N "checking whether $AS is GNU as... $ECHO_C" >&6; }
4408 if test "${libc_cv_prog_as_gnu+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4411 # Most GNU programs take a -v and spit out some text including
4412 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4413 if $AS -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4414 libc_cv_prog_as_gnu=yes
4416 libc_cv_prog_as_gnu=no
4420 { echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4421 echo "${ECHO_T}$libc_cv_prog_as_gnu" >&6; }
4423 gnu_as=$libc_cv_prog_as_gnu
4425 { echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4426 echo $ECHO_N "checking whether $LD is GNU ld... $ECHO_C" >&6; }
4427 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 # Most GNU programs take a -v and spit out some text including
4431 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4432 if $LD -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4433 libc_cv_prog_ld_gnu=yes
4435 libc_cv_prog_ld_gnu=no
4439 { echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4440 echo "${ECHO_T}$libc_cv_prog_ld_gnu" >&6; }
4441 gnu_ld=$libc_cv_prog_ld_gnu
4444 # Accept binutils 2.13 or newer.
4447 # Extract the first word of "$ac_prog", so it can be a program name with args.
4448 set dummy $ac_prog; ac_word=$2
4449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4451 if test "${ac_cv_prog_AS+set}" = set; then
4452 echo $ECHO_N "(cached) $ECHO_C" >&6
4454 if test -n "$AS"; then
4455 ac_cv_prog_AS="$AS" # Let the user override the test.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464 ac_cv_prog_AS="$ac_prog"
4465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 if test -n "$AS"; then
4476 { echo "$as_me:$LINENO: result: $AS" >&5
4477 echo "${ECHO_T}$AS" >&6; }
4479 { echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6; }
4484 test -n "$AS" && break
4487 if test -z "$AS"; then
4490 # Found it, now check the version.
4491 { echo "$as_me:$LINENO: checking version of $AS" >&5
4492 echo $ECHO_N "checking version of $AS... $ECHO_C" >&6; }
4493 ac_prog_version=`$AS --version 2>&1 |
sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4494 case $ac_prog_version in
4495 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4497 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4498 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4501 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4502 echo "${ECHO_T}$ac_prog_version" >&6; }
4504 if test $ac_verc_fail = yes; then
4505 AS=: critic_missing="$critic_missing as"
4510 # Extract the first word of "$ac_prog", so it can be a program name with args.
4511 set dummy $ac_prog; ac_word=$2
4512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4514 if test "${ac_cv_prog_LD+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 if test -n "$LD"; then
4518 ac_cv_prog_LD="$LD" # Let the user override the test.
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4527 ac_cv_prog_LD="$ac_prog"
4528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 if test -n "$LD"; then
4539 { echo "$as_me:$LINENO: result: $LD" >&5
4540 echo "${ECHO_T}$LD" >&6; }
4542 { echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6; }
4547 test -n "$LD" && break
4550 if test -z "$LD"; then
4553 # Found it, now check the version.
4554 { echo "$as_me:$LINENO: checking version of $LD" >&5
4555 echo $ECHO_N "checking version of $LD... $ECHO_C" >&6; }
4556 ac_prog_version=`$LD --version 2>&1 |
sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4557 case $ac_prog_version in
4558 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4560 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4561 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4564 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4565 echo "${ECHO_T}$ac_prog_version" >&6; }
4567 if test $ac_verc_fail = yes; then
4568 LD=: critic_missing="$critic_missing ld"
4572 # We need the physical current working directory. We cannot use the
4573 # "pwd -P" shell builtin since that's not portable. Instead we try to
4574 # find a pwd binary. Note that assigning to the PWD environment
4575 # variable might have some interesting side effects, so we don't do
4577 # Extract the first word of "pwd", so it can be a program name with args.
4578 set dummy pwd; ac_word=$2
4579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4581 if test "${ac_cv_path_PWD_P+set}" = set; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 ac_cv_path_PWD_P="$PWD_P" # Let the user override the test with a path.
4589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 test -z "$as_dir" && as_dir=.
4594 for ac_exec_ext in '' $ac_executable_extensions; do
4595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4596 ac_cv_path_PWD_P="$as_dir/$ac_word$ac_exec_ext"
4597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P="no"
4608 PWD_P=$ac_cv_path_PWD_P
4609 if test -n "$PWD_P"; then
4610 { echo "$as_me:$LINENO: result: $PWD_P" >&5
4611 echo "${ECHO_T}$PWD_P" >&6; }
4613 { echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6; }
4618 if test "$PWD_P" = no; then
4619 { { echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4620 echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4621 { (exit 1); exit 1; }; }
4624 # These programs are version sensitive.
4626 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
4628 # Extract the first word of "$ac_prog", so it can be a program name with args.
4629 set dummy $ac_prog; ac_word=$2
4630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4632 if test "${ac_cv_prog_CC+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 if test -n "$CC"; then
4636 ac_cv_prog_CC="$CC" # Let the user override the test.
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642 test -z "$as_dir" && as_dir=.
4643 for ac_exec_ext in '' $ac_executable_extensions; do
4644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4645 ac_cv_prog_CC="$ac_prog"
4646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 if test -n "$CC"; then
4657 { echo "$as_me:$LINENO: result: $CC" >&5
4658 echo "${ECHO_T}$CC" >&6; }
4660 { echo "$as_me:$LINENO: result: no" >&5
4661 echo "${ECHO_T}no" >&6; }
4665 test -n "$CC" && break
4668 if test -z "$CC"; then
4671 # Found it, now check the version.
4672 { echo "$as_me:$LINENO: checking version of $CC" >&5
4673 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6; }
4674 ac_prog_version=`$CC -v 2>&1 |
sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
4675 case $ac_prog_version in
4676 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4678 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4679 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4682 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4683 echo "${ECHO_T}$ac_prog_version" >&6; }
4685 if test $ac_verc_fail = yes; then
4686 critic_missing="$critic_missing gcc"
4689 for ac_prog in gnumake gmake make
4691 # Extract the first word of "$ac_prog", so it can be a program name with args.
4692 set dummy $ac_prog; ac_word=$2
4693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4695 if test "${ac_cv_prog_MAKE+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4698 if test -n "$MAKE"; then
4699 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
4701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 test -z "$as_dir" && as_dir=.
4706 for ac_exec_ext in '' $ac_executable_extensions; do
4707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4708 ac_cv_prog_MAKE="$ac_prog"
4709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 MAKE=$ac_cv_prog_MAKE
4719 if test -n "$MAKE"; then
4720 { echo "$as_me:$LINENO: result: $MAKE" >&5
4721 echo "${ECHO_T}$MAKE" >&6; }
4723 { echo "$as_me:$LINENO: result: no" >&5
4724 echo "${ECHO_T}no" >&6; }
4728 test -n "$MAKE" && break
4731 if test -z "$MAKE"; then
4734 # Found it, now check the version.
4735 { echo "$as_me:$LINENO: checking version of $MAKE" >&5
4736 echo $ECHO_N "checking version of $MAKE... $ECHO_C" >&6; }
4737 ac_prog_version=`$MAKE --version 2>&1 |
sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4738 case $ac_prog_version in
4739 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4741 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4742 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4745 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4746 echo "${ECHO_T}$ac_prog_version" >&6; }
4748 if test $ac_verc_fail = yes; then
4749 critic_missing="$critic_missing make"
4753 for ac_prog in gnumsgfmt gmsgfmt msgfmt
4755 # Extract the first word of "$ac_prog", so it can be a program name with args.
4756 set dummy $ac_prog; ac_word=$2
4757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4759 if test "${ac_cv_prog_MSGFMT+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 if test -n "$MSGFMT"; then
4763 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 test -z "$as_dir" && as_dir=.
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4772 ac_cv_prog_MSGFMT="$ac_prog"
4773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 MSGFMT=$ac_cv_prog_MSGFMT
4783 if test -n "$MSGFMT"; then
4784 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4785 echo "${ECHO_T}$MSGFMT" >&6; }
4787 { echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6; }
4792 test -n "$MSGFMT" && break
4795 if test -z "$MSGFMT"; then
4798 # Found it, now check the version.
4799 { echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
4800 echo $ECHO_N "checking version of $MSGFMT... $ECHO_C" >&6; }
4801 ac_prog_version=`$MSGFMT --version 2>&1 |
sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4802 case $ac_prog_version in
4803 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4804 0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
4805 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4806 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4809 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4810 echo "${ECHO_T}$ac_prog_version" >&6; }
4812 if test $ac_verc_fail = yes; then
4813 MSGFMT=: aux_missing="$aux_missing msgfmt"
4816 for ac_prog in makeinfo
4818 # Extract the first word of "$ac_prog", so it can be a program name with args.
4819 set dummy $ac_prog; ac_word=$2
4820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4822 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
4823 echo $ECHO_N "(cached) $ECHO_C" >&6
4825 if test -n "$MAKEINFO"; then
4826 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 ac_cv_prog_MAKEINFO="$ac_prog"
4836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 MAKEINFO=$ac_cv_prog_MAKEINFO
4846 if test -n "$MAKEINFO"; then
4847 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
4848 echo "${ECHO_T}$MAKEINFO" >&6; }
4850 { echo "$as_me:$LINENO: result: no" >&5
4851 echo "${ECHO_T}no" >&6; }
4855 test -n "$MAKEINFO" && break
4858 if test -z "$MAKEINFO"; then
4861 # Found it, now check the version.
4862 { echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
4863 echo $ECHO_N "checking version of $MAKEINFO... $ECHO_C" >&6; }
4864 ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4865 case $ac_prog_version in
4866 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4868 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4869 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4872 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4873 echo "${ECHO_T}$ac_prog_version" >&6; }
4875 if test $ac_verc_fail = yes; then
4876 MAKEINFO=: aux_missing="$aux_missing makeinfo"
4881 # Extract the first word of "$ac_prog", so it can be a program name with args.
4882 set dummy $ac_prog; ac_word=$2
4883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4885 if test "${ac_cv_prog_SED+set}" = set; then
4886 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 if test -n "$SED"; then
4889 ac_cv_prog_SED="$SED" # Let the user override the test.
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4898 ac_cv_prog_SED="$ac_prog"
4899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 if test -n "$SED"; then
4910 { echo "$as_me:$LINENO: result: $SED" >&5
4911 echo "${ECHO_T}$SED" >&6; }
4913 { echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6; }
4918 test -n "$SED" && break
4921 if test -z "$SED"; then
4924 # Found it, now check the version.
4925 { echo "$as_me:$LINENO: checking version of $SED" >&5
4926 echo $ECHO_N "checking version of $SED... $ECHO_C" >&6; }
4927 ac_prog_version=`$SED --version 2>&1 |
sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
4928 case $ac_prog_version in
4929 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4930 3.0[2-9]*|3.[1-9]*|[4-9]*)
4931 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4932 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4935 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4936 echo "${ECHO_T}$ac_prog_version" >&6; }
4938 if test $ac_verc_fail = yes; then
4939 SED=: aux_missing="$aux_missing sed"
4943 for ac_prog in autoconf
4945 # Extract the first word of "$ac_prog", so it can be a program name with args.
4946 set dummy $ac_prog; ac_word=$2
4947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4949 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
4950 echo $ECHO_N "(cached) $ECHO_C" >&6
4952 if test -n "$AUTOCONF"; then
4953 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir=.
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4962 ac_cv_prog_AUTOCONF="$ac_prog"
4963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 AUTOCONF=$ac_cv_prog_AUTOCONF
4973 if test -n "$AUTOCONF"; then
4974 { echo "$as_me:$LINENO: result: $AUTOCONF" >&5
4975 echo "${ECHO_T}$AUTOCONF" >&6; }
4977 { echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6; }
4982 test -n "$AUTOCONF" && break
4984 test -n "$AUTOCONF" || AUTOCONF="no"
4986 case "x$AUTOCONF" in
4987 xno|x|x:) AUTOCONF=no ;;
4989 { echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
4990 echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6; }
4991 if test "${libc_cv_autoconf_works+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
4995 libc_cv_autoconf_works=yes
4997 libc_cv_autoconf_works=no
5000 { echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5001 echo "${ECHO_T}$libc_cv_autoconf_works" >&6; }
5002 test $libc_cv_autoconf_works = yes || AUTOCONF=no
5005 if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
5006 # If --without-cvs they probably won't change configure.in, so no complaints.
5007 aux_missing="$aux_missing autoconf"
5010 test -n "$critic_missing" && { { echo "$as_me:$LINENO: error:
5011 *** These critical programs are missing or too old:$critic_missing
5012 *** Check the INSTALL file for required versions." >&5
5013 echo "$as_me: error:
5014 *** These critical programs are missing or too old:$critic_missing
5015 *** Check the INSTALL file for required versions." >&2;}
5016 { (exit 1); exit 1; }; }
5018 test -n "$aux_missing" && { echo "$as_me:$LINENO: WARNING:
5019 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5020 *** some features will be disabled.
5021 *** Check the INSTALL file for required versions." >&5
5022 echo "$as_me: WARNING:
5023 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5024 *** some features will be disabled.
5025 *** Check the INSTALL file for required versions." >&2;}
5027 # if using special system headers, find out the compiler's sekrit
5028 # header directory and add that to the list. NOTE: Only does the right
5029 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5030 if test -n "$sysheaders"; then
5031 SYSINCLUDES=-nostdinc
5032 for d in include include-fixed; do
5033 i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
5034 SYSINCLUDES="$SYSINCLUDES -isystem $i"
5036 SYSINCLUDES="$SYSINCLUDES \
5037 -isystem `echo $sysheaders |
sed 's/:/ -isystem /g'`"
5038 if test -n "$CXX"; then
5039 cxxversion=`$CXX -dumpversion 2>&5` &&
5040 cxxmachine=`$CXX -dumpmachine 2>&5` &&
5041 cxxheaders=`$CXX -print-file-name=..
/..
/..
/..
/include
/c
++/`"$cxxversion" &&
5042 CXX_SYSINCLUDES="-isystem $cxxheaders \
5043 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5049 # check if ranlib is necessary
5050 { echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5051 echo $ECHO_N "checking whether ranlib is necessary... $ECHO_C" >&6; }
5052 if test "${libc_cv_ranlib_necessary+set}" = set; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5055 cat > conftest.c <<EOF
5060 $CC $CFLAGS $CPPFLAGS -c conftest.c
5061 $AR cr conftest.a conftest.o
5062 cp conftest.a conftest2.a
5064 if cmp -s conftest.a conftest2.a; then
5065 libc_cv_ranlib_necessary=no
5067 libc_cv_ranlib_necessary=yes
5071 { echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5072 echo "${ECHO_T}$libc_cv_ranlib_necessary" >&6; }
5073 if test "$libc_cv_ranlib_necessary" = no; then
5077 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5078 # since this would lead to problems installing/building glibc.
5079 # LD_LIBRARY_PATH contains the current directory if one of the following
5081 # - one of the terminals (":" and ";") is the first or last sign
5082 # - two terminals occur directly after each other
5083 # - the path contains an element with a dot in it
5084 { echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5085 echo $ECHO_N "checking LD_LIBRARY_PATH variable... $ECHO_C" >&6; }
5086 case ${LD_LIBRARY_PATH} in
5087 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
5088 ld_library_path_setting="contains current directory"
5091 ld_library_path_setting="ok"
5094 { echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5095 echo "${ECHO_T}$ld_library_path_setting" >&6; }
5096 if test "$ld_library_path_setting" != "ok"; then
5097 { { echo "$as_me:$LINENO: error:
5098 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5099 *** building glibc. Please change the environment variable
5100 *** and run configure again." >&5
5101 echo "$as_me: error:
5102 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5103 *** building glibc. Please change the environment variable
5104 *** and run configure again." >&2;}
5105 { (exit 1); exit 1; }; }
5108 { echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5109 echo $ECHO_N "checking whether GCC supports -static-libgcc... $ECHO_C" >&6; }
5110 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5111 echo $ECHO_N "(cached) $ECHO_C" >&6
5113 if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then
5114 libc_cv_gcc_static_libgcc=
5116 libc_cv_gcc_static_libgcc=-static-libgcc
5119 { echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5120 echo "${ECHO_T}$libc_cv_gcc_static_libgcc" >&6; }
5123 # Extract the first word of "bash", so it can be a program name with args.
5124 set dummy bash; ac_word=$2
5125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5127 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5132 ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5142 ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
5143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
5154 BASH_SHELL=$ac_cv_path_BASH_SHELL
5155 if test -n "$BASH_SHELL"; then
5156 { echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5157 echo "${ECHO_T}$BASH_SHELL" >&6; }
5159 { echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6; }
5164 if test "$BASH_SHELL" != no &&
5165 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5166 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5167 libc_cv_have_bash2=yes
5169 libc_cv_have_bash2=no
5173 if test "$BASH_SHELL" = no; then
5174 # Extract the first word of "ksh", so it can be a program name with args.
5175 set dummy ksh; ac_word=$2
5176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5178 if test "${ac_cv_path_KSH+set}" = set; then
5179 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 test -z "$as_dir" && as_dir=.
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5193 ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
5194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
5206 if test -n "$KSH"; then
5207 { echo "$as_me:$LINENO: result: $KSH" >&5
5208 echo "${ECHO_T}$KSH" >&6; }
5210 { echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6; }
5215 if test "$KSH" = no; then
5218 libc_cv_have_ksh=yes
5223 libc_cv_have_ksh=yes
5227 for ac_prog in gawk mawk nawk awk
5229 # Extract the first word of "$ac_prog", so it can be a program name with args.
5230 set dummy $ac_prog; ac_word=$2
5231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5233 if test "${ac_cv_prog_AWK+set}" = set; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 if test -n "$AWK"; then
5237 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 test -z "$as_dir" && as_dir=.
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5246 ac_cv_prog_AWK="$ac_prog"
5247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 if test -n "$AWK"; then
5258 { echo "$as_me:$LINENO: result: $AWK" >&5
5259 echo "${ECHO_T}$AWK" >&6; }
5261 { echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6; }
5266 test -n "$AWK" && break
5269 # Extract the first word of "perl", so it can be a program name with args.
5270 set dummy perl; ac_word=$2
5271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5273 if test "${ac_cv_path_PERL+set}" = set; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5278 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir=.
5286 for ac_exec_ext in '' $ac_executable_extensions; do
5287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5288 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
5300 PERL=$ac_cv_path_PERL
5301 if test -n "$PERL"; then
5302 { echo "$as_me:$LINENO: result: $PERL" >&5
5303 echo "${ECHO_T}$PERL" >&6; }
5305 { echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6; }
5310 if test "$PERL" != no &&
5311 (eval `$PERL -V:apiversion
`; test `expr "$apiversion" \
< 5` -ne 0); then
5314 # Extract the first word of "install-info", so it can be a program name with args.
5315 set dummy install-info; ac_word=$2
5316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5318 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5321 case $INSTALL_INFO in
5323 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5328 for as_dir in $as_dummy
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5342 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
5346 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5347 if test -n "$INSTALL_INFO"; then
5348 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5349 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5351 { echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6; }
5356 # Extract the first word of "bison", so it can be a program name with args.
5357 set dummy bison; ac_word=$2
5358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5360 if test "${ac_cv_path_BISON+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5365 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 as_dummy="$PATH:/usr/local/bin:/usr/bin:/bin"
5370 for as_dir in $as_dummy
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5376 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no"
5388 BISON=$ac_cv_path_BISON
5389 if test -n "$BISON"; then
5390 { echo "$as_me:$LINENO: result: $BISON" >&5
5391 echo "${ECHO_T}$BISON" >&6; }
5393 { echo "$as_me:$LINENO: result: no" >&5
5394 echo "${ECHO_T}no" >&6; }
5399 { echo "$as_me:$LINENO: checking for signed size_t type" >&5
5400 echo $ECHO_N "checking for signed size_t type... $ECHO_C" >&6; }
5401 if test "${libc_cv_signed_size_t+set}" = set; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5404 echo '#include <stddef.h>
5405 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5406 if eval "$ac_cpp conftest.c 2>/dev/null" \
5407 | grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev/null; then
5408 libc_cv_signed_size_t=no
5410 libc_cv_signed_size_t=yes
5414 { echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5415 echo "${ECHO_T}$libc_cv_signed_size_t" >&6; }
5416 if test $libc_cv_signed_size_t = yes; then
5417 cat >> confdefs.h <<\EOF
5418 #undef __SIZE_TYPE__
5419 #define __SIZE_TYPE__ unsigned
5424 { echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5425 echo $ECHO_N "checking for libc-friendly stddef.h... $ECHO_C" >&6; }
5426 if test "${libc_cv_friendly_stddef+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 cat >conftest.$ac_ext <<_ACEOF
5432 cat confdefs.h >>conftest.$ac_ext
5433 cat >>conftest.$ac_ext <<_ACEOF
5434 /* end confdefs.h. */
5435 #define __need_size_t
5436 #define __need_wchar_t
5443 size_t size; wchar_t wchar;
5445 #error stddef.h ignored __need_*
5447 if (&size == NULL || &wchar == NULL) abort ();
5452 rm -f conftest.$ac_objext
5453 if { (ac_try="$ac_compile"
5455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5456 *) ac_try_echo
=$ac_try;;
5458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5459 (eval "$ac_compile") 2>conftest.er1
5461 grep -v '^ *+' conftest.er1
>conftest.err
5463 cat conftest.err
>&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } && {
5466 test -z "$ac_c_werror_flag" ||
5467 test ! -s conftest.err
5468 } && test -s conftest.
$ac_objext; then
5469 libc_cv_friendly_stddef
=yes
5471 echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.
$ac_ext >&5
5474 libc_cv_friendly_stddef
=no
5477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5479 { echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5480 echo "${ECHO_T}$libc_cv_friendly_stddef" >&6; }
5481 if test $libc_cv_friendly_stddef = yes; then
5482 config_vars
="$config_vars
5483 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5486 { echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5487 echo $ECHO_N "checking whether we need to use -P to assemble .S files... $ECHO_C" >&6; }
5488 if test "${libc_cv_need_minus_P+set}" = set; then
5489 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 cat > conftest.S
<<EOF
5492 #include "confdefs.h"
5493 /* Nothing whatsoever. */
5495 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); }; }; then
5501 libc_cv_need_minus_P
=no
5503 libc_cv_need_minus_P
=yes
5507 { echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5508 echo "${ECHO_T}$libc_cv_need_minus_P" >&6; }
5509 if test $libc_cv_need_minus_P = yes; then
5510 config_vars
="$config_vars
5511 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5514 { echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5515 echo $ECHO_N "checking whether .text pseudo-op must be used... $ECHO_C" >&6; }
5516 if test "${libc_cv_dot_text+set}" = set; then
5517 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 cat > conftest.s
<<EOF
5523 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; }; then
5529 libc_cv_dot_text
=.text
5534 if test -z "$libc_cv_dot_text"; then
5535 { echo "$as_me:$LINENO: result: no" >&5
5536 echo "${ECHO_T}no" >&6; }
5538 { echo "$as_me:$LINENO: result: yes" >&5
5539 echo "${ECHO_T}yes" >&6; }
5542 { echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5543 echo $ECHO_N "checking for assembler global-symbol directive... $ECHO_C" >&6; }
5544 if test "${libc_cv_asm_global_directive+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 libc_cv_asm_global_directive
=UNKNOWN
5548 for ac_globl
in .globl .global .EXPORT
; do
5549 cat > conftest.s
<<EOF
5554 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); }; }; then
5560 libc_cv_asm_global_directive
=${ac_globl}
5563 test $libc_cv_asm_global_directive != UNKNOWN
&& break
5566 { echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5567 echo "${ECHO_T}$libc_cv_asm_global_directive" >&6; }
5568 if test $libc_cv_asm_global_directive = UNKNOWN
; then
5569 { { echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5570 echo "$as_me: error: cannot determine asm global directive" >&2;}
5571 { (exit 1); exit 1; }; }
5573 cat >>confdefs.h
<<_ACEOF
5574 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5579 { echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5580 echo $ECHO_N "checking for .set assembler directive... $ECHO_C" >&6; }
5581 if test "${libc_cv_asm_set_directive+set}" = set; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5584 cat > conftest.s
<<EOF
5587 .set glibc_conftest_frobozz,foo
5588 $libc_cv_asm_global_directive glibc_conftest_frobozz
5590 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5591 # (but it doesn't work), so we must do a linking check to be sure.
5592 cat > conftest1.c
<<\EOF
5593 extern int glibc_conftest_frobozz
;
5594 void _start
() { glibc_conftest_frobozz
= 1; }
5596 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5597 -nostartfiles -nostdlib \
5598 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5599 libc_cv_asm_set_directive
=yes
5601 libc_cv_asm_set_directive
=no
5605 { echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5606 echo "${ECHO_T}$libc_cv_asm_set_directive" >&6; }
5607 if test $libc_cv_asm_set_directive = yes; then
5608 cat >>confdefs.h
<<\_ACEOF
5609 #define HAVE_ASM_SET_DIRECTIVE 1
5614 { echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5615 echo $ECHO_N "checking for assembler .type directive prefix... $ECHO_C" >&6; }
5616 if test "${libc_cv_asm_type_prefix+set}" = set; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 libc_cv_asm_type_prefix
=no
5620 for ac_try_prefix
in '@' '%' '#'; do
5621 cat > conftest.s
<<EOF
5623 ${libc_cv_asm_global_directive} foo
5624 .type foo, ${ac_try_prefix}object
5629 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); }; }; then
5635 libc_cv_asm_type_prefix
=${ac_try_prefix}
5638 test "x$libc_cv_asm_type_prefix" != xno
&& break
5641 { echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
5642 echo "${ECHO_T}$libc_cv_asm_type_prefix" >&6; }
5643 if test "x$libc_cv_asm_type_prefix" != xno
; then
5644 cat >>confdefs.h
<<_ACEOF
5645 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
5650 { echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
5651 echo $ECHO_N "checking for .symver assembler directive... $ECHO_C" >&6; }
5652 if test "${libc_cv_asm_symver_directive+set}" = set; then
5653 echo $ECHO_N "(cached) $ECHO_C" >&6
5655 cat > conftest.s
<<EOF
5658 .symver _sym,sym@VERS
5660 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5661 libc_cv_asm_symver_directive
=yes
5663 libc_cv_asm_symver_directive
=no
5667 { echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
5668 echo "${ECHO_T}$libc_cv_asm_symver_directive" >&6; }
5669 { echo "$as_me:$LINENO: checking for ld --version-script" >&5
5670 echo $ECHO_N "checking for ld --version-script... $ECHO_C" >&6; }
5671 if test "${libc_cv_ld_version_script_option+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 if test $libc_cv_asm_symver_directive = yes; then
5675 cat > conftest.s
<<EOF
5678 .symver _sym,sym@VERS
5680 cat > conftest.map
<<EOF
5689 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5690 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
5691 -o conftest.so conftest.o
5692 -nostartfiles -nostdlib
5693 -Wl,--version-script,conftest.map
5695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); }; };
5701 libc_cv_ld_version_script_option
=yes
5703 libc_cv_ld_version_script_option
=no
5706 libc_cv_ld_version_script_option
=no
5709 libc_cv_ld_version_script_option
=no
5713 { echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
5714 echo "${ECHO_T}$libc_cv_ld_version_script_option" >&6; }
5715 if test $shared != no
&&
5716 test $libc_cv_asm_symver_directive = yes &&
5717 test $libc_cv_ld_version_script_option = yes &&
5718 test $enable_versioning = yes; then
5720 cat >>confdefs.h
<<\_ACEOF
5721 #define DO_VERSIONING 1
5729 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
5731 *** WARNING: You should not compile GNU libc without versioning. Not using
5732 *** versioning will introduce incompatibilities so that old binaries
5733 *** will not run anymore.
5734 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
5736 if test $elf = yes; then
5737 { echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
5738 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6; }
5739 if test "${libc_cv_asm_previous_directive+set}" = set; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 cat > conftest.s
<<EOF
5743 .section foo_section
5746 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; }; then
5752 libc_cv_asm_previous_directive
=yes
5754 libc_cv_asm_previous_directive
=no
5758 { echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
5759 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6; }
5760 if test $libc_cv_asm_previous_directive = yes; then
5761 cat >>confdefs.h
<<\_ACEOF
5762 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
5766 { echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
5767 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6; }
5768 if test "${libc_cv_asm_popsection_directive+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 cat > conftest.s
<<EOF
5772 .pushsection foo_section
5775 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; }; then
5781 libc_cv_asm_popsection_directive
=yes
5783 libc_cv_asm_popsection_directive
=no
5787 { echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
5788 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6; }
5789 if test $libc_cv_asm_popsection_directive = yes; then
5790 cat >>confdefs.h
<<\_ACEOF
5791 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
5796 { echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
5797 echo $ECHO_N "checking for .protected and .hidden assembler directive... $ECHO_C" >&6; }
5798 if test "${libc_cv_asm_protected_directive+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 cat > conftest.s
<<EOF
5807 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; }; then
5813 libc_cv_asm_protected_directive
=yes
5815 { { echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
5816 echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
5817 { (exit 1); exit 1; }; }
5821 { echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
5822 echo "${ECHO_T}$libc_cv_asm_protected_directive" >&6; }
5824 if test $libc_cv_asm_protected_directive = yes; then
5825 { echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
5826 echo $ECHO_N "checking whether __attribute__((visibility())) is supported... $ECHO_C" >&6; }
5827 if test "${libc_cv_visibility_attribute+set}" = set; then
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
5830 cat > conftest.c
<<EOF
5831 int foo __attribute__ ((visibility ("hidden"))) = 1;
5832 int bar __attribute__ ((visibility ("protected"))) = 1;
5834 libc_cv_visibility_attribute
=no
5835 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5841 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
5842 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5843 libc_cv_visibility_attribute
=yes
5850 { echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
5851 echo "${ECHO_T}$libc_cv_visibility_attribute" >&6; }
5852 if test $libc_cv_visibility_attribute != yes; then
5853 { { echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
5854 echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
5855 { (exit 1); exit 1; }; }
5859 if test $libc_cv_visibility_attribute = yes; then
5860 { echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
5861 echo $ECHO_N "checking for broken __attribute__((visibility()))... $ECHO_C" >&6; }
5862 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
5863 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 cat > conftest.c
<<EOF
5867 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5868 int bar (int x) { return x; }
5870 libc_cv_broken_visibility_attribute
=yes
5871 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; }; then
5877 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5878 libc_cv_broken_visibility_attribute
=no
5881 rm -f conftest.c conftest.s
5884 { echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
5885 echo "${ECHO_T}$libc_cv_broken_visibility_attribute" >&6; }
5886 if test $libc_cv_broken_visibility_attribute = yes; then
5887 { { echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
5888 echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
5889 { (exit 1); exit 1; }; }
5893 { echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
5894 echo $ECHO_N "checking for broken __attribute__((alias()))... $ECHO_C" >&6; }
5895 if test "${libc_cv_broken_alias_attribute+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 cat > conftest.c
<<EOF
5899 extern int foo (int x) __asm ("xyzzy");
5900 int bar (int x) { return x; }
5901 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5903 extern __typeof (dfoo) dfoo __asm ("abccb");
5906 libc_cv_broken_alias_attribute
=yes
5907 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; }; then
5913 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5914 grep 'abccb' conftest.s
>/dev
/null
; then
5915 libc_cv_broken_alias_attribute
=no
5918 rm -f conftest.c conftest.s
5921 { echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
5922 echo "${ECHO_T}$libc_cv_broken_alias_attribute" >&6; }
5923 if test $libc_cv_broken_alias_attribute = yes; then
5924 { { echo "$as_me:$LINENO: error: working alias attribute support required" >&5
5925 echo "$as_me: error: working alias attribute support required" >&2;}
5926 { (exit 1); exit 1; }; }
5929 if test $libc_cv_visibility_attribute = yes; then
5930 { echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
5931 echo $ECHO_N "checking whether to put _rtld_local into .sdata section... $ECHO_C" >&6; }
5932 if test "${libc_cv_have_sdata_section+set}" = set; then
5933 echo $ECHO_N "(cached) $ECHO_C" >&6
5935 echo "int i;" > conftest.c
5936 libc_cv_have_sdata_section
=no
5937 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5938 |
grep '\.sdata' >/dev
/null
; then
5939 libc_cv_have_sdata_section
=yes
5941 rm -f conftest.c conftest.so
5944 { echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
5945 echo "${ECHO_T}$libc_cv_have_sdata_section" >&6; }
5946 if test $libc_cv_have_sdata_section = yes; then
5947 cat >>confdefs.h
<<\_ACEOF
5948 #define HAVE_SDATA_SECTION 1
5954 { echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
5955 echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6; }
5956 if test "${libc_cv_initfini_array+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 cat > conftest.c
<<EOF
5960 int _start (void) { return 0; }
5961 int __start (void) { return 0; }
5962 int foo (void) { return 1; }
5963 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
5965 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
5966 -static -nostartfiles -nostdlib 1>&5'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; }
5973 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
5974 libc_cv_initfini_array
=yes
5976 libc_cv_initfini_array
=no
5979 libc_cv_initfini_array
=no
5983 { echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
5984 echo "${ECHO_T}$libc_cv_initfini_array" >&6; }
5985 if test $libc_cv_initfini_array != yes; then
5986 { { echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
5987 echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
5988 { (exit 1); exit 1; }; }
5991 { echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
5992 echo $ECHO_N "checking for libunwind-support in compiler... $ECHO_C" >&6; }
5993 if test "${libc_cv_cc_with_libunwind+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 cat > conftest.c
<<EOF
5998 int main (void) { return 0; }
6000 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6001 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6002 libc_cv_cc_with_libunwind
=yes
6004 libc_cv_cc_with_libunwind
=no
6008 { echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6009 echo "${ECHO_T}$libc_cv_cc_with_libunwind" >&6; }
6011 if test $libc_cv_cc_with_libunwind = yes; then
6012 cat >>confdefs.h
<<\_ACEOF
6013 #define HAVE_CC_WITH_LIBUNWIND 1
6018 { echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6019 echo $ECHO_N "checking for -z nodelete option... $ECHO_C" >&6; }
6020 if test "${libc_cv_z_nodelete+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 cat > conftest.c
<<EOF
6024 int _start (void) { return 42; }
6026 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6027 -fPIC -shared -o conftest.so conftest.c
6028 -nostartfiles -nostdlib
6029 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; }
6036 libc_cv_z_nodelete
=yes
6038 { { echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6039 echo "$as_me: error: linker with -z nodelete support required" >&2;}
6040 { (exit 1); exit 1; }; }
6044 { echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6045 echo "${ECHO_T}$libc_cv_z_nodelete" >&6; }
6047 { echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6048 echo $ECHO_N "checking for -z nodlopen option... $ECHO_C" >&6; }
6049 if test "${libc_cv_z_nodlopen+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 cat > conftest.c
<<EOF
6053 int _start (void) { return 42; }
6055 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6056 -fPIC -shared -o conftest.so conftest.c
6057 -nostartfiles -nostdlib
6058 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); }; }
6065 libc_cv_z_nodlopen
=yes
6067 { { echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6068 echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6069 { (exit 1); exit 1; }; }
6073 { echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6074 echo "${ECHO_T}$libc_cv_z_nodlopen" >&6; }
6076 { echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6077 echo $ECHO_N "checking for -z initfirst option... $ECHO_C" >&6; }
6078 if test "${libc_cv_z_initfirst+set}" = set; then
6079 echo $ECHO_N "(cached) $ECHO_C" >&6
6081 cat > conftest.c
<<EOF
6082 int _start (void) { return 42; }
6084 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6085 -fPIC -shared -o conftest.so conftest.c
6086 -nostartfiles -nostdlib
6087 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); }; }
6094 libc_cv_z_initfirst
=yes
6096 { { echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6097 echo "$as_me: error: linker with -z initfirst support required" >&2;}
6098 { (exit 1); exit 1; }; }
6102 { echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6103 echo "${ECHO_T}$libc_cv_z_initfirst" >&6; }
6105 case "$base_machine" in
6106 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6107 { echo "$as_me:$LINENO: checking for -z relro option" >&5
6108 echo $ECHO_N "checking for -z relro option... $ECHO_C" >&6; }
6109 if test "${libc_cv_z_relro+set}" = set; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6113 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); }; }
6120 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); }; }
6131 { echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6132 echo "${ECHO_T}$libc_cv_z_relro" >&6; }
6133 if test "$libc_cv_z_relro" = no
; then
6134 { { echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6135 echo "$as_me: error: linker with -z relro support required" >&2;}
6136 { (exit 1); exit 1; }; }
6142 { echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6143 echo $ECHO_N "checking for -Bgroup option... $ECHO_C" >&6; }
6144 if test "${libc_cv_Bgroup+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 cat > conftest.c
<<EOF
6148 int _start (void) { return 42; }
6150 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6151 -fPIC -shared -o conftest.so conftest.c
6152 -Wl,-Bgroup -nostdlib 1>&5'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; }
6165 { echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6166 echo "${ECHO_T}$libc_cv_Bgroup" >&6; }
6169 { echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6170 echo $ECHO_N "checking for libgcc_s suffix... $ECHO_C" >&6; }
6171 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6172 echo $ECHO_N "(cached) $ECHO_C" >&6
6174 cat > conftest.c
<<EOF
6175 int main (void) { return 0; }
6177 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6178 -fPIC -shared -shared-libgcc -o conftest.so \
6179 conftest.c -v 2>&1 >/dev/null \
6180 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6183 { echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6184 echo "${ECHO_T}$libc_cv_libgcc_s_suffix" >&6; }
6187 { echo "$as_me:$LINENO: checking for --as-needed option" >&5
6188 echo $ECHO_N "checking for --as-needed option... $ECHO_C" >&6; }
6189 if test "${libc_cv_as_needed+set}" = set; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 cat > conftest.c
<<EOF
6193 int main (void) { return 0; }
6195 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6196 -fPIC -shared -o conftest.so conftest.c
6197 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); }; }
6205 libc_cv_as_needed
=yes
6207 libc_cv_as_needed
=no
6211 { echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6212 echo "${ECHO_T}$libc_cv_as_needed" >&6; }
6216 { echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6217 echo $ECHO_N "checking whether --noexecstack is desirable for .S files... $ECHO_C" >&6; }
6218 if test "${libc_cv_as_noexecstack+set}" = set; then
6219 echo $ECHO_N "(cached) $ECHO_C" >&6
6221 cat > conftest.c
<<EOF
6224 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6225 -S -o conftest.s conftest.c 1>&5'
6226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6230 (exit $ac_status); }; } \
6231 && grep -q .note.GNU-stack conftest.s \
6232 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6233 -c -o conftest.o conftest.s 1>&5'
6234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); }; }
6240 libc_cv_as_noexecstack
=yes
6242 libc_cv_as_noexecstack
=no
6246 { echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6247 echo "${ECHO_T}$libc_cv_as_noexecstack" >&6; }
6248 if test $libc_cv_as_noexecstack = yes; then
6249 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6253 { echo "$as_me:$LINENO: checking for -z combreloc" >&5
6254 echo $ECHO_N "checking for -z combreloc... $ECHO_C" >&6; }
6255 if test "${libc_cv_z_combreloc+set}" = set; then
6256 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 cat > conftest.c
<<EOF
6259 extern int bar (int);
6261 int foo (void) { return bar (mumble); }
6263 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6264 -fPIC -shared -o conftest.so conftest.c
6265 -nostdlib -nostartfiles
6266 -Wl,-z,combreloc 1>&5'
6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; }
6273 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6274 libc_cv_z_combreloc
=yes
6276 libc_cv_z_combreloc
=no
6279 libc_cv_z_combreloc
=no
6283 { echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6284 echo "${ECHO_T}$libc_cv_z_combreloc" >&6; }
6285 if test "$libc_cv_z_combreloc" = yes; then
6286 cat >>confdefs.h
<<\_ACEOF
6287 #define HAVE_Z_COMBRELOC 1
6293 { echo "$as_me:$LINENO: checking for -z execstack" >&5
6294 echo $ECHO_N "checking for -z execstack... $ECHO_C" >&6; }
6295 if test "${libc_cv_z_execstack+set}" = set; then
6296 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 cat > conftest.c
<<EOF
6299 int _start (void) { return 42; }
6301 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6302 -fPIC -shared -o conftest.so conftest.c
6303 -Wl,-z,execstack -nostdlib
6305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); }; }
6311 libc_cv_z_execstack
=yes
6313 libc_cv_z_execstack
=no
6317 { echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6318 echo "${ECHO_T}$libc_cv_z_execstack" >&6; }
6321 { echo "$as_me:$LINENO: checking for -fpie" >&5
6322 echo $ECHO_N "checking for -fpie... $ECHO_C" >&6; }
6323 if test "${libc_cv_fpie+set}" = set; then
6324 echo $ECHO_N "(cached) $ECHO_C" >&6
6326 cat > conftest.c
<<EOF
6328 main () { return 0;}
6330 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6331 -o conftest conftest.c 1>&5'
6332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); }; }
6344 { echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6345 echo "${ECHO_T}$libc_cv_fpie" >&6; }
6349 { echo "$as_me:$LINENO: checking for --hash-style option" >&5
6350 echo $ECHO_N "checking for --hash-style option... $ECHO_C" >&6; }
6351 if test "${libc_cv_hashstyle+set}" = set; then
6352 echo $ECHO_N "(cached) $ECHO_C" >&6
6354 cat > conftest.c
<<EOF
6355 int _start (void) { return 42; }
6357 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6358 -fPIC -shared -o conftest.so conftest.c
6359 -Wl,--hash-style=both -nostdlib 1>&5'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; }
6366 libc_cv_hashstyle
=yes
6368 libc_cv_hashstyle
=no
6372 { echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6373 echo "${ECHO_T}$libc_cv_hashstyle" >&6; }
6377 { echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6378 echo $ECHO_N "checking for -fno-toplevel-reorder -fno-section-anchors... $ECHO_C" >&6; }
6379 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 cat > conftest.c
<<EOF
6385 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); }; }
6393 libc_cv_fno_toplevel_reorder
=yes
6395 libc_cv_fno_toplevel_reorder
=no
6399 { echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6400 echo "${ECHO_T}$libc_cv_fno_toplevel_reorder" >&6; }
6401 if test $libc_cv_fno_toplevel_reorder = yes; then
6402 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6404 fno_unit_at_a_time
=-fno-unit-at-a-time
6408 { echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6409 echo $ECHO_N "checking for -fstack-protector... $ECHO_C" >&6; }
6410 if test "${libc_cv_ssp+set}" = set; then
6411 echo $ECHO_N "(cached) $ECHO_C" >&6
6413 cat > conftest.c
<<EOF
6415 main () { return 0;}
6417 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6418 -o conftest conftest.c 1>&5'
6419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; }
6431 { echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6432 echo "${ECHO_T}$libc_cv_ssp" >&6; }
6435 { echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6436 echo $ECHO_N "checking for -fgnu89-inline... $ECHO_C" >&6; }
6437 if test "${libc_cv_gnu89_inline+set}" = set; then
6438 echo $ECHO_N "(cached) $ECHO_C" >&6
6440 cat > conftest.c
<<EOF
6442 #ifdef __GNUC_GNU_INLINE__
6443 main () { return 0;}
6448 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6449 -o conftest.s conftest.c 1>&5'
6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); }; }
6456 libc_cv_gnu89_inline
=yes
6458 libc_cv_gnu89_inline
=no
6462 { echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6463 echo "${ECHO_T}$libc_cv_gnu89_inline" >&6; }
6464 if test $libc_cv_gnu89_inline = yes; then
6465 libc_cv_gnu89_inline
=-fgnu89-inline
6467 libc_cv_gnu89_inline
=
6471 if test $elf != yes; then
6472 { echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6473 echo $ECHO_N "checking for .init and .fini sections... $ECHO_C" >&6; }
6474 if test "${libc_cv_have_initfini+set}" = set; then
6475 echo $ECHO_N "(cached) $ECHO_C" >&6
6477 cat >conftest.
$ac_ext <<_ACEOF
6480 cat confdefs.h
>>conftest.
$ac_ext
6481 cat >>conftest.
$ac_ext <<_ACEOF
6482 /* end confdefs.h. */
6487 asm (".section .init");
6488 asm (".section .fini");
6489 asm ("${libc_cv_dot_text}");
6494 rm -f conftest.
$ac_objext
6495 if { (ac_try
="$ac_compile"
6497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6498 *) ac_try_echo=$ac_try;;
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6501 (eval "$ac_compile") 2>conftest.er1
6503 grep -v '^ *+' conftest.er1 >conftest.err
6505 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && {
6508 test -z "$ac_c_werror_flag" ||
6509 test ! -s conftest.err
6510 } && test -s conftest.$ac_objext; then
6511 libc_cv_have_initfini=yes
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 libc_cv_have_initfini=no
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 { echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6522 echo "${ECHO_T}$libc_cv_have_initfini" >&6; }
6523 if test $libc_cv_have_initfini = yes; then
6524 cat >>confdefs.h <<\_ACEOF
6525 #define HAVE_INITFINI 1
6531 if test $elf = yes; then
6532 { echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6533 echo $ECHO_N "checking whether cc puts quotes around section names... $ECHO_C" >&6; }
6534 if test "${libc_cv_have_section_quotes+set}" = set; then
6535 echo $ECHO_N "(cached) $ECHO_C" >&6
6537 cat > conftest.c <<EOF
6538 static const int foo
6539 __attribute__ ((section ("bar"))) = 1;
6541 if ${CC-cc} -S conftest.c -o conftest.s; then
6542 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6543 libc_cv_have_section_quotes=yes
6545 libc_cv_have_section_quotes=no
6548 libc_cv_have_section_quotes=unknown
6553 { echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6554 echo "${ECHO_T}$libc_cv_have_section_quotes" >&6; }
6555 if test $libc_cv_have_section_quotes = yes; then
6556 cat >>confdefs.h <<\_ACEOF
6557 #define HAVE_SECTION_QUOTES 1
6565 if test $elf = yes; then
6566 libc_cv_asm_underscores=no
6568 if test $ac_cv_prog_cc_works = yes; then
6569 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6570 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6571 if test "${libc_cv_asm_underscores+set}" = set; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6574 cat >conftest.$ac_ext <<_ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6580 asm ("_glibc_foobar:");
6589 rm -f conftest.$ac_objext conftest$ac_exeext
6590 if { (ac_try="$ac_link"
6592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6593 *) ac_try_echo
=$ac_try;;
6595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6596 (eval "$ac_link") 2>conftest.er1
6598 grep -v '^ *+' conftest.er1
>conftest.err
6600 cat conftest.err
>&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); } && {
6603 test -z "$ac_c_werror_flag" ||
6604 test ! -s conftest.err
6605 } && test -s conftest
$ac_exeext &&
6606 $as_test_x conftest
$ac_exeext; then
6607 libc_cv_asm_underscores
=yes
6609 echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.
$ac_ext >&5
6612 libc_cv_asm_underscores
=no
6615 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6616 conftest
$ac_exeext conftest.
$ac_ext
6618 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6619 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6621 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6622 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6623 if test "${libc_cv_asm_underscores+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6626 cat > conftest.
$ac_ext <<EOF
6627 #line $LINENO "configure"
6628 #include "confdefs.h"
6629 void underscore_test(void) {
6632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6633 (eval $ac_compile) 2>&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); }; then
6637 if grep _underscore_test conftest
* >/dev
/null
; then
6639 libc_cv_asm_underscores
=yes
6642 libc_cv_asm_underscores
=no
6645 echo "configure: failed program was:" >&5
6646 cat conftest.
$ac_ext >&5
6648 libc_cv_asm_underscores
=no
6652 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6653 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6656 if test $libc_cv_asm_underscores = no
; then
6657 cat >>confdefs.h
<<\_ACEOF
6658 #define NO_UNDERSCORES 1
6663 if test $elf = yes; then
6664 libc_cv_weak_symbols
=yes
6667 { echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
6668 echo $ECHO_N "checking for assembler .weak directive... $ECHO_C" >&6; }
6669 if test "${libc_cv_asm_weak_directive+set}" = set; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 cat > conftest.s
<<EOF
6674 ${libc_cv_asm_global_directive} foo
6677 .weak bar; bar = foo
6679 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); }; }; then
6685 libc_cv_asm_weak_directive
=yes
6687 libc_cv_asm_weak_directive
=no
6691 { echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
6692 echo "${ECHO_T}$libc_cv_asm_weak_directive" >&6; }
6694 if test $libc_cv_asm_weak_directive = no
; then
6695 { echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
6696 echo $ECHO_N "checking for assembler .weakext directive... $ECHO_C" >&6; }
6697 if test "${libc_cv_asm_weakext_directive+set}" = set; then
6698 echo $ECHO_N "(cached) $ECHO_C" >&6
6700 cat > conftest.s
<<EOF
6702 ${libc_cv_asm_global_directive} foo
6706 ${libc_cv_asm_global_directive} baz
6709 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; }; then
6715 libc_cv_asm_weakext_directive
=yes
6717 libc_cv_asm_weakext_directive
=no
6721 { echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
6722 echo "${ECHO_T}$libc_cv_asm_weakext_directive" >&6; }
6726 if test $libc_cv_asm_weak_directive = yes; then
6727 cat >>confdefs.h
<<\_ACEOF
6728 #define HAVE_ASM_WEAK_DIRECTIVE 1
6731 elif test $libc_cv_asm_weakext_directive = yes; then
6732 cat >>confdefs.h
<<\_ACEOF
6733 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
6738 { echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
6739 echo $ECHO_N "checking whether CFI directives are supported... $ECHO_C" >&6; }
6740 if test "${libc_cv_asm_cfi_directives+set}" = set; then
6741 echo $ECHO_N "(cached) $ECHO_C" >&6
6744 sparc
/sparc64
*) cfi_offset
=2047;;
6747 cat > conftest.s
<<EOF
6749 .type func,%function
6753 .cfi_rel_offset 1, $cfi_offset
6756 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); }; }; then
6762 libc_cv_asm_cfi_directives
=yes
6764 libc_cv_asm_cfi_directives
=no
6768 { echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
6769 echo "${ECHO_T}$libc_cv_asm_cfi_directives" >&6; }
6770 if test $libc_cv_asm_cfi_directives = yes; then
6771 cat >>confdefs.h
<<\_ACEOF
6772 #define HAVE_ASM_CFI_DIRECTIVES 1
6777 { echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
6778 echo $ECHO_N "checking for ld --no-whole-archive... $ECHO_C" >&6; }
6779 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
6780 echo $ECHO_N "(cached) $ECHO_C" >&6
6782 cat > conftest.c
<<\EOF
6787 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6788 -nostdlib -nostartfiles -Wl,--no-whole-archive
6789 -o conftest conftest.c 1>&5'
6790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); }; }; then
6795 libc_cv_ld_no_whole_archive
=yes
6797 libc_cv_ld_no_whole_archive
=no
6801 { echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
6802 echo "${ECHO_T}$libc_cv_ld_no_whole_archive" >&6; }
6803 if test $libc_cv_ld_no_whole_archive = yes; then
6804 no_whole_archive
=-Wl,--no-whole-archive
6807 { echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
6808 echo $ECHO_N "checking for gcc -fexceptions... $ECHO_C" >&6; }
6809 if test "${libc_cv_gcc_exceptions+set}" = set; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 cat > conftest.c
<<\EOF
6817 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6818 -nostdlib -nostartfiles -fexceptions
6819 -o conftest conftest.c 1>&5'
6820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); }; }; then
6825 libc_cv_gcc_exceptions
=yes
6827 libc_cv_gcc_exceptions
=no
6831 { echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
6832 echo "${ECHO_T}$libc_cv_gcc_exceptions" >&6; }
6833 if test $libc_cv_gcc_exceptions = yes; then
6834 exceptions
=-fexceptions
6837 if test "$host_cpu" = powerpc
; then
6838 # Check for a bug present in at least versions 2.8.x of GCC
6839 # and versions 1.0.x of EGCS.
6840 { echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
6841 echo $ECHO_N "checking whether clobbering cr0 causes problems... $ECHO_C" >&6; }
6842 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 cat >conftest.
$ac_ext <<_ACEOF
6848 cat confdefs.h
>>conftest.
$ac_ext
6849 cat >>conftest.
$ac_ext <<_ACEOF
6850 /* end confdefs.h. */
6851 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
6860 rm -f conftest.
$ac_objext
6861 if { (ac_try
="$ac_compile"
6863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6864 *) ac_try_echo=$ac_try;;
6866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6867 (eval "$ac_compile") 2>conftest.er1
6869 grep -v '^ *+' conftest.er1 >conftest.err
6871 cat conftest.err >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } && {
6874 test -z "$ac_c_werror_flag" ||
6875 test ! -s conftest.err
6876 } && test -s conftest.$ac_objext; then
6877 libc_cv_c_asmcr0_bug='no'
6879 echo "$as_me: failed program was:" >&5
6880 sed 's/^/| /' conftest.$ac_ext >&5
6882 libc_cv_c_asmcr0_bug='yes'
6885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6887 { echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
6888 echo "${ECHO_T}$libc_cv_c_asmcr0_bug" >&6; }
6889 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
6890 cat >>confdefs.h <<\_ACEOF
6891 #define BROKEN_PPC_ASM_CR0 1
6897 { echo "$as_me:$LINENO: checking for __builtin_expect" >&5
6898 echo $ECHO_N "checking for __builtin_expect... $ECHO_C" >&6; }
6899 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6
6902 cat > conftest.c <<EOF
6903 #line $LINENO "configure"
6906 a = __builtin_expect (a, 10);
6907 return a == 10 ? 0 : 1;
6910 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
6911 -o conftest conftest.c -lgcc >&5'
6912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); }; }; then
6917 libc_cv_gcc_builtin_expect=yes
6919 libc_cv_gcc_builtin_expect=no
6923 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
6924 echo "${ECHO_T}$libc_cv_gcc_builtin_expect" >&6; }
6925 if test "$libc_cv_gcc_builtin_expect" = yes; then
6926 cat >>confdefs.h <<\_ACEOF
6927 #define HAVE_BUILTIN_EXPECT 1
6932 { echo "$as_me:$LINENO: checking for __builtin_memset" >&5
6933 echo $ECHO_N "checking for __builtin_memset... $ECHO_C" >&6; }
6934 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
6935 echo $ECHO_N "(cached) $ECHO_C" >&6
6937 cat > conftest.c <<\EOF
6940 __builtin_memset (x, 0, 1000);
6943 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); }; };
6950 libc_cv_gcc_builtin_memset=no
6952 libc_cv_gcc_builtin_memset=yes
6956 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
6957 echo "${ECHO_T}$libc_cv_gcc_builtin_memset" >&6; }
6958 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6959 cat >>confdefs.h <<\_ACEOF
6960 #define HAVE_BUILTIN_MEMSET 1
6965 { echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
6966 echo $ECHO_N "checking for redirection of built-in functions... $ECHO_C" >&6; }
6967 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
6968 echo $ECHO_N "(cached) $ECHO_C" >&6
6970 cat > conftest.c <<\EOF
6971 extern char *strstr (const char *, const char *) __asm ("my_strstr");
6972 char *foo (const char *a, const char *b)
6974 return __builtin_strstr (a, b);
6977 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; };
6984 libc_cv_gcc_builtin_redirection=yes
6986 libc_cv_gcc_builtin_redirection=no
6990 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
6991 echo "${ECHO_T}$libc_cv_gcc_builtin_redirection" >&6; }
6992 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
6993 cat >>confdefs.h <<\_ACEOF
6994 #define HAVE_BUILTIN_REDIRECTION 1
6999 if test "x$use__thread" != xno; then
7000 { echo "$as_me:$LINENO: checking for __thread" >&5
7001 echo $ECHO_N "checking for __thread... $ECHO_C" >&6; }
7002 if test "${libc_cv_gcc___thread+set}" = set; then
7003 echo $ECHO_N "(cached) $ECHO_C" >&6
7005 cat > conftest.c <<\EOF
7006 __thread int a = 42;
7008 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; }; then
7014 libc_cv_gcc___thread=yes
7016 libc_cv_gcc___thread=no
7020 { echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7021 echo "${ECHO_T}$libc_cv_gcc___thread" >&6; }
7022 if test "$libc_cv_gcc___thread" = yes; then
7023 cat >>confdefs.h <<\_ACEOF
7024 #define HAVE___THREAD 1
7029 libc_cv_gcc___thread=no
7032 if test "$libc_cv_gcc___thread" = yes; then
7033 { echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7034 echo $ECHO_N "checking for tls_model attribute... $ECHO_C" >&6; }
7035 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 cat > conftest.c <<\EOF
7039 extern __thread int a __attribute__((tls_model ("initial-exec")));
7041 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then
7047 libc_cv_gcc_tls_model_attr=yes
7049 libc_cv_gcc_tls_model_attr=no
7053 { echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7054 echo "${ECHO_T}$libc_cv_gcc_tls_model_attr" >&6; }
7055 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7056 cat >>confdefs.h <<\_ACEOF
7057 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7063 if test -n "$submachine"; then
7064 { echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7065 echo $ECHO_N "checking for compiler option for CPU variant... $ECHO_C" >&6; }
7066 if test "${libc_cv_cc_submachine+set}" = set; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7069 libc_cv_cc_submachine=no
7070 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7071 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7077 libc_cv_cc_submachine="$opt"
7082 { echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7083 echo "${ECHO_T}$libc_cv_cc_submachine" >&6; }
7084 if test "x$libc_cv_cc_submachine" = xno; then
7085 { { echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7086 echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7087 { (exit 1); exit 1; }; }
7092 { echo "$as_me:$LINENO: checking for libgd" >&5
7093 echo $ECHO_N "checking for libgd... $ECHO_C" >&6; }
7094 if test "$with_gd" != "no"; then
7095 old_CFLAGS="$CFLAGS"
7096 CFLAGS="$CFLAGS $libgd_include"
7097 old_LDFLAGS="$LDFLAGS"
7098 LDFLAGS="$LDFLAGS $libgd_ldflags"
7100 LIBS="$LIBS -lgd -lpng -lz -lm"
7101 cat >conftest.$ac_ext <<_ACEOF
7104 cat confdefs.h >>conftest.$ac_ext
7105 cat >>conftest.$ac_ext <<_ACEOF
7106 /* end confdefs.h. */
7116 rm -f conftest.$ac_objext conftest$ac_exeext
7117 if { (ac_try="$ac_link"
7119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7120 *) ac_try_echo
=$ac_try;;
7122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7123 (eval "$ac_link") 2>conftest.er1
7125 grep -v '^ *+' conftest.er1
>conftest.err
7127 cat conftest.err
>&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); } && {
7130 test -z "$ac_c_werror_flag" ||
7131 test ! -s conftest.err
7132 } && test -s conftest
$ac_exeext &&
7133 $as_test_x conftest
$ac_exeext; then
7136 echo "$as_me: failed program was:" >&5
7137 sed 's/^/| /' conftest.
$ac_ext >&5
7142 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7143 conftest
$ac_exeext conftest.
$ac_ext
7144 CFLAGS
="$old_CFLAGS"
7145 LDFLAGS
="$old_LDFLAGS"
7150 { echo "$as_me:$LINENO: result: $LIBGD" >&5
7151 echo "${ECHO_T}$LIBGD" >&6; }
7155 if test x
$with_selinux = xno
; then
7158 # See if we have the SELinux library
7159 { echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7160 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
7161 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7162 echo $ECHO_N "(cached) $ECHO_C" >&6
7164 ac_check_lib_save_LIBS
=$LIBS
7165 LIBS
="-lselinux $LIBS"
7166 cat >conftest.
$ac_ext <<_ACEOF
7169 cat confdefs.h
>>conftest.
$ac_ext
7170 cat >>conftest.
$ac_ext <<_ACEOF
7171 /* end confdefs.h. */
7173 /* Override any GCC internal prototype to avoid an error.
7174 Use char because int might match the return type of a GCC
7175 builtin and then its argument prototype would still apply. */
7179 char is_selinux_enabled ();
7183 return is_selinux_enabled ();
7188 rm -f conftest.
$ac_objext conftest
$ac_exeext
7189 if { (ac_try
="$ac_link"
7191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7192 *) ac_try_echo=$ac_try;;
7194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7195 (eval "$ac_link") 2>conftest.er1
7197 grep -v '^ *+' conftest.er1 >conftest.err
7199 cat conftest.err >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } && {
7202 test -z "$ac_c_werror_flag" ||
7203 test ! -s conftest.err
7204 } && test -s conftest$ac_exeext &&
7205 $as_test_x conftest$ac_exeext; then
7206 ac_cv_lib_selinux_is_selinux_enabled=yes
7208 echo "$as_me: failed program was:" >&5
7209 sed 's/^/| /' conftest.$ac_ext >&5
7211 ac_cv_lib_selinux_is_selinux_enabled=no
7214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7215 conftest$ac_exeext conftest.$ac_ext
7216 LIBS=$ac_check_lib_save_LIBS
7218 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7219 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7220 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
7226 # See if we have the SELinux header with the NSCD permissions in it.
7227 if test x$have_selinux = xyes ; then
7228 { echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7229 echo $ECHO_N "checking for NSCD Flask permissions in selinux/av_permissions.h... $ECHO_C" >&6; }
7230 cat >conftest.$ac_ext <<_ACEOF
7233 cat confdefs.h >>conftest.$ac_ext
7234 cat >>conftest.$ac_ext <<_ACEOF
7235 /* end confdefs.h. */
7236 #include <selinux/av_permissions.h>
7240 #ifdef NSCD__SHMEMHOST
7243 #error NSCD__SHMEMHOST not defined
7249 rm -f conftest.$ac_objext
7250 if { (ac_try="$ac_compile"
7252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7253 *) ac_try_echo
=$ac_try;;
7255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7256 (eval "$ac_compile") 2>conftest.er1
7258 grep -v '^ *+' conftest.er1
>conftest.err
7260 cat conftest.err
>&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } && {
7263 test -z "$ac_c_werror_flag" ||
7264 test ! -s conftest.err
7265 } && test -s conftest.
$ac_objext; then
7268 echo "$as_me: failed program was:" >&5
7269 sed 's/^/| /' conftest.
$ac_ext >&5
7274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7275 { echo "$as_me:$LINENO: result: $have_selinux" >&5
7276 echo "${ECHO_T}$have_selinux" >&6; }
7279 if test x
$with_selinux = xyes
; then
7280 if test x
$have_selinux = xno
; then
7281 { { echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7282 echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7283 { (exit 1); exit 1; }; }
7287 # Check if we're building with SELinux support.
7288 if test "x$have_selinux" = xyes
; then
7290 cat >>confdefs.h
<<\_ACEOF
7291 #define HAVE_SELINUX 1
7295 # See if we have the libaudit library
7296 { echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7297 echo $ECHO_N "checking for audit_log_user_avc_message in -laudit... $ECHO_C" >&6; }
7298 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7299 echo $ECHO_N "(cached) $ECHO_C" >&6
7301 ac_check_lib_save_LIBS
=$LIBS
7302 LIBS
="-laudit $LIBS"
7303 cat >conftest.
$ac_ext <<_ACEOF
7306 cat confdefs.h
>>conftest.
$ac_ext
7307 cat >>conftest.
$ac_ext <<_ACEOF
7308 /* end confdefs.h. */
7310 /* Override any GCC internal prototype to avoid an error.
7311 Use char because int might match the return type of a GCC
7312 builtin and then its argument prototype would still apply. */
7316 char audit_log_user_avc_message ();
7320 return audit_log_user_avc_message ();
7325 rm -f conftest.
$ac_objext conftest
$ac_exeext
7326 if { (ac_try
="$ac_link"
7328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7329 *) ac_try_echo=$ac_try;;
7331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7332 (eval "$ac_link") 2>conftest.er1
7334 grep -v '^ *+' conftest.er1 >conftest.err
7336 cat conftest.err >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } && {
7339 test -z "$ac_c_werror_flag" ||
7340 test ! -s conftest.err
7341 } && test -s conftest$ac_exeext &&
7342 $as_test_x conftest$ac_exeext; then
7343 ac_cv_lib_audit_audit_log_user_avc_message=yes
7345 echo "$as_me: failed program was:" >&5
7346 sed 's/^/| /' conftest.$ac_ext >&5
7348 ac_cv_lib_audit_audit_log_user_avc_message=no
7351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7352 conftest$ac_exeext conftest.$ac_ext
7353 LIBS=$ac_check_lib_save_LIBS
7355 { echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7356 echo "${ECHO_T}$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7357 if test $ac_cv_lib_audit_audit_log_user_avc_message = yes; then
7363 if test "x$have_libaudit" = xyes; then
7365 cat >>confdefs.h <<\_ACEOF
7366 #define HAVE_LIBAUDIT 1
7372 # See if we have the libcap library
7373 { echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7374 echo $ECHO_N "checking for cap_init in -lcap... $ECHO_C" >&6; }
7375 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7376 echo $ECHO_N "(cached) $ECHO_C" >&6
7378 ac_check_lib_save_LIBS=$LIBS
7380 cat >conftest.$ac_ext <<_ACEOF
7383 cat confdefs.h >>conftest.$ac_ext
7384 cat >>conftest.$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7387 /* Override any GCC internal prototype to avoid an error.
7388 Use char because int might match the return type of a GCC
7389 builtin and then its argument prototype would still apply. */
7402 rm -f conftest.$ac_objext conftest$ac_exeext
7403 if { (ac_try="$ac_link"
7405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7406 *) ac_try_echo
=$ac_try;;
7408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7409 (eval "$ac_link") 2>conftest.er1
7411 grep -v '^ *+' conftest.er1
>conftest.err
7413 cat conftest.err
>&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } && {
7416 test -z "$ac_c_werror_flag" ||
7417 test ! -s conftest.err
7418 } && test -s conftest
$ac_exeext &&
7419 $as_test_x conftest
$ac_exeext; then
7420 ac_cv_lib_cap_cap_init
=yes
7422 echo "$as_me: failed program was:" >&5
7423 sed 's/^/| /' conftest.
$ac_ext >&5
7425 ac_cv_lib_cap_cap_init
=no
7428 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7429 conftest
$ac_exeext conftest.
$ac_ext
7430 LIBS
=$ac_check_lib_save_LIBS
7432 { echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7433 echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
7434 if test $ac_cv_lib_cap_cap_init = yes; then
7440 if test "x$have_libcap" = xyes
; then
7442 cat >>confdefs.h
<<\_ACEOF
7443 #define HAVE_LIBCAP 1
7451 #AC_CHECK_SIZEOF(long double, 0)
7452 #sizeof_long_double=$ac_cv_sizeof_long_double
7455 ### End of automated tests.
7456 ### Now run sysdeps configure fragments.
7458 # They also can set these variables.
7460 ldd_rewrite_script
=no
7461 libc_cv_sysconfdir
=$sysconfdir
7462 libc_cv_gcc_unwind_find_fde
=no
7465 # Iterate over all the sysdep directories we will use, running their
7466 # configure fragments, and looking for a uname implementation.
7468 for dir
in $sysnames; do
7471 *) dest
=$srcdir/$dir ;;
7473 if test -r $dest/configure
; then
7474 { echo "$as_me:$LINENO: result: running configure fragment for $dir" >&5
7475 echo "${ECHO_T}running configure fragment for $dir" >&6; }
7479 if test -z "$uname"; then
7480 if test -r $dest/uname.c ||
7481 test -r $dest/uname.S ||
7482 { test -r $dest/syscalls.list
&&
7483 grep '^uname[ ]' $dest/syscalls.list
>/dev
/null
; }; then
7489 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
7490 cat >>confdefs.h
<<\_ACEOF
7491 #define EXPORT_UNWIND_FIND_FDE 1
7497 # If we will use the generic uname implementation, we must figure out what
7498 # it will say by examining the system, and write the results in config-name.h.
7499 if test "$uname" = "sysdeps/generic"; then
7501 uname_sysname
=`echo $config_os | sed 's/[0-9.]*$//'`
7502 if test $uname_sysname != $config_os; then
7503 config_release
=`echo $config_os | sed s/$uname_sysname//`
7506 { echo "$as_me:$LINENO: checking OS release for uname" >&5
7507 echo $ECHO_N "checking OS release for uname... $ECHO_C" >&6; }
7508 if test "${libc_cv_uname_release+set}" = set; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 if test -r /vmunix
; then
7512 kernel_id
=`strings /vmunix | grep UNIX`
7513 elif test -r /dynix
; then
7514 kernel_id
=`strings /dynix | grep DYNIX`
7519 kernel_release
=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
7520 if test x
`echo "$config_release" | sed "s/^$kernel_release//"` \
7521 != x
$config_release; then
7522 # The configuration release is a substring of the kernel release.
7523 libc_cv_uname_release
=$kernel_release
7524 elif test x
$config_release != x
; then
7525 libc_cv_uname_release
=$config_release
7526 elif test x
$kernel_release != x
; then
7527 libc_cv_uname_release
=$kernel_release
7529 libc_cv_uname_release
=unknown
7532 { echo "$as_me:$LINENO: result: $libc_cv_uname_release" >&5
7533 echo "${ECHO_T}$libc_cv_uname_release" >&6; }
7534 uname_release
="$libc_cv_uname_release"
7536 { echo "$as_me:$LINENO: checking OS version for uname" >&5
7537 echo $ECHO_N "checking OS version for uname... $ECHO_C" >&6; }
7538 if test "${libc_cv_uname_version+set}" = set; then
7539 echo $ECHO_N "(cached) $ECHO_C" >&6
7541 if test -r /vmunix
; then
7542 kernel_id
=`strings /vmunix | grep UNIX`
7543 elif test -r /dynix
; then
7544 kernel_id
=`strings /dynix | grep DYNIX`
7549 kernel_version
=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
7550 if test -n "$kernel_version"; then
7551 libc_cv_uname_version
="$kernel_version"
7553 libc_cv_uname_version
=unknown
7556 { echo "$as_me:$LINENO: result: $libc_cv_uname_version" >&5
7557 echo "${ECHO_T}$libc_cv_uname_version" >&6; }
7558 uname_version
="$libc_cv_uname_version"
7560 config_uname
=config-name.h
:config-name.
in
7562 # For non-generic uname, we don't need to create config-name.h at all.
7566 cat >>confdefs.h
<<\_ACEOF
7567 #define USE_IN_LIBIO 1
7571 # Test for old glibc 2.0.x headers so that they can be removed properly
7572 # Search only in includedir.
7573 { echo "$as_me:$LINENO: checking for old glibc 2.0.x headers" >&5
7574 echo $ECHO_N "checking for old glibc 2.0.x headers... $ECHO_C" >&6; }
7575 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7577 old_glibc_headers
=yes
7579 old_glibc_headers
=no
7581 { echo "$as_me:$LINENO: result: $old_glibc_headers" >&5
7582 echo "${ECHO_T}$old_glibc_headers" >&6; }
7583 if test ${old_glibc_headers} = yes; then
7584 { echo "$as_me:$LINENO: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7585 echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7586 { echo "$as_me:$LINENO: WARNING: *** be removed." >&5
7587 echo "$as_me: WARNING: *** be removed." >&2;}
7603 if test $elf = yes; then
7604 cat >>confdefs.h
<<\_ACEOF
7609 if test $xcoff = yes; then
7610 cat >>confdefs.h
<<\_ACEOF
7611 #define HAVE_XCOFF 1
7618 if test $shared = default
; then
7622 { echo "$as_me:$LINENO: checking whether -fPIC is default" >&5
7623 echo $ECHO_N "checking whether -fPIC is default... $ECHO_C" >&6; }
7624 if test "${pic_default+set}" = set; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7628 cat > conftest.c
<<EOF
7629 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7630 # error PIC is default.
7633 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7638 { echo "$as_me:$LINENO: result: $pic_default" >&5
7639 echo "${ECHO_T}$pic_default" >&6; }
7652 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
7655 config_makefile
=Makefile
7658 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7659 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7663 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
7665 ac_config_commands
="$ac_config_commands default"
7667 cat >confcache
<<\_ACEOF
7668 # This file is a shell script that caches the results of configure
7669 # tests run on this system so they can be shared between configure
7670 # scripts and configure runs, see configure's option --config-cache.
7671 # It is not useful on other systems. If it contains results you don't
7672 # want to keep, you may remove or edit it.
7674 # config.status only pays attention to the cache file if you give it
7675 # the --recheck option to rerun configure.
7677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7683 # The following way of writing the cache mishandles newlines in values,
7684 # but we know of no workaround that is simple, portable, and efficient.
7685 # So, we kill variables containing newlines.
7686 # Ultrix sh set writes to stderr and can't be redirected directly,
7687 # and sets the high bit in the cache file unless we assign to the vars.
7689 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7690 eval ac_val
=\$
$ac_var
7694 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7695 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7698 _ | IFS | as_nl
) ;; #(
7699 *) $as_unset $ac_var ;;
7705 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7706 *${as_nl}ac_space
=\
*)
7707 # `set' does not quote correctly, so add quotes (double-quote
7708 # substitution turns \\\\ into \\, and sed turns \\ into \).
7711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7714 # `set' quotes correctly as required by POSIX, so do not add quotes.
7715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7726 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7728 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7729 if test -w "$cache_file"; then
7730 test "x$cache_file" != "x/dev/null" &&
7731 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7732 echo "$as_me: updating cache $cache_file" >&6;}
7733 cat confcache
>$cache_file
7735 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7736 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7741 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7742 # Let make expand exec_prefix.
7743 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7745 DEFS
=-DHAVE_CONFIG_H
7749 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7750 # 1. Remove the extension, and $U if already installed.
7751 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7752 ac_i
=`echo "$ac_i" | sed "$ac_script"`
7753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7754 # will be set to the directory where LIBOBJS objects are built.
7755 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7756 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7760 LTLIBOBJS
=$ac_ltlibobjs
7764 : ${CONFIG_STATUS=./config.status}
7765 ac_clean_files_save
=$ac_clean_files
7766 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7767 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7768 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7769 cat >$CONFIG_STATUS <<_ACEOF
7771 # Generated by $as_me.
7772 # Run this file to recreate the current configuration.
7773 # Compiler output produced by configure, useful for debugging
7774 # configure, is in config.log if it exists.
7779 SHELL=\${CONFIG_SHELL-$SHELL}
7782 cat >>$CONFIG_STATUS <<\_ACEOF
7783 ## --------------------- ##
7784 ## M4sh Initialization. ##
7785 ## --------------------- ##
7787 # Be more Bourne compatible
7788 DUALCASE
=1; export DUALCASE
# for MKS sh
7789 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7792 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7793 # is contrary to our usage. Disable this feature.
7794 alias -g '${1+"$@"}'='"$@"'
7795 setopt NO_GLOB_SUBST
7797 case `(set -o) 2>/dev/null` in
7798 *posix
*) set -o posix
;;
7807 # Avoid depending upon Character Ranges.
7808 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7809 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7810 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7811 as_cr_digits
='0123456789'
7812 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7814 # The user is always right.
7815 if test "${PATH_SEPARATOR+set}" != set; then
7816 echo "#! /bin/sh" >conf$$.sh
7817 echo "exit 0" >>conf$$.sh
7819 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7827 # Support unset when possible.
7828 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7836 # We need space, tab and new line, in precisely that order. Quoting is
7837 # there to prevent editors from complaining about space-tab.
7838 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7839 # splitting by setting IFS to empty value.)
7844 # Find who we are. Look in the path if we contain no directory separator.
7846 *[\\/]* ) as_myself
=$0 ;;
7847 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7851 test -z "$as_dir" && as_dir
=.
7852 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7858 # We did not find ourselves, most probably we were run as `sh COMMAND'
7859 # in which case we are not to be found in the path.
7860 if test "x$as_myself" = x
; then
7863 if test ! -f "$as_myself"; then
7864 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7865 { (exit 1); exit 1; }
7868 # Work around bugs in pre-3.0 UWIN ksh.
7869 for as_var
in ENV MAIL MAILPATH
7870 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7878 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7879 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7880 LC_TELEPHONE LC_TIME
7882 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7883 eval $as_var=C
; export $as_var
7885 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7889 # Required to use basename.
7890 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7891 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7897 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7898 as_basename
=basename
7904 # Name of the executable.
7905 as_me
=`$as_basename -- "$0" ||
7906 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7907 X"$0" : 'X\(//\)$' \| \
7908 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7910 sed '/^.*\/\([^/][^/]*\)\/*$/{
7931 test "x$as_lineno_1" != "x$as_lineno_2" &&
7932 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7934 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7935 # uniformly replaced by the line number. The first 'sed' inserts a
7936 # line-number line after each line using $LINENO; the second 'sed'
7937 # does the real work. The second script uses 'N' to pair each
7938 # line-number line with the line containing $LINENO, and appends
7939 # trailing '-' during substitution so that $LINENO is not a special
7941 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7942 # scripts with optimization help from Paolo Bonzini. Blame Lee
7943 # E. McMahon (1931-1989) for sed's syntax. :-)
7955 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7959 chmod +x
"$as_me.lineno" ||
7960 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7961 { (exit 1); exit 1; }; }
7963 # Don't try to exec as it changes $[0], causing all sort of problems
7964 # (the dirname of $[0] is not the place where we might find the
7965 # original and so on. Autoconf is especially sensitive to this).
7967 # Exit status is that of the last command.
7972 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7978 ECHO_C
= ECHO_N
= ECHO_T
=
7981 case `echo 'x\c'` in
7982 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7989 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7990 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7996 rm -f conf$$ conf$$.exe conf$$.
file
7997 if test -d conf$$.dir
; then
7998 rm -f conf$$.dir
/conf$$.
file
8004 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8006 # ... but there are two gotchas:
8007 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8008 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8009 # In both cases, we have to default to `cp -p'.
8010 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8012 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8017 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8018 rmdir conf$$.dir
2>/dev
/null
8020 if mkdir
-p .
2>/dev
/null
; then
8023 test -d .
/-p && rmdir .
/-p
8027 if test -x / >/dev
/null
2>&1; then
8030 if ls -dL / >/dev
/null
2>&1; then
8037 if test -d "$1"; then
8043 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8044 ???[sx]*):;;*)false;;esac;fi
8048 as_executable_p
=$as_test_x
8050 # Sed expression to map a string onto a valid CPP name.
8051 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8053 # Sed expression to map a string onto a valid variable name.
8054 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8059 # Save the log message, to keep $[0] and so on meaningful, and to
8060 # report actual input values of CONFIG_FILES etc. instead of their
8061 # values after options handling.
8063 This file was extended by GNU C Library $as_me (see version.h), which was
8064 generated by GNU Autoconf 2.61. Invocation command line was
8066 CONFIG_FILES = $CONFIG_FILES
8067 CONFIG_HEADERS = $CONFIG_HEADERS
8068 CONFIG_LINKS = $CONFIG_LINKS
8069 CONFIG_COMMANDS = $CONFIG_COMMANDS
8072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8077 cat >>$CONFIG_STATUS <<_ACEOF
8078 # Files that config.status was made for.
8079 config_files="$ac_config_files"
8080 config_headers="$ac_config_headers"
8081 config_commands="$ac_config_commands"
8085 cat >>$CONFIG_STATUS <<\_ACEOF
8087 \`$as_me' instantiates files from templates according to the
8088 current configuration.
8090 Usage: $0 [OPTIONS] [FILE]...
8092 -h, --help print this help, then exit
8093 -V, --version print version number and configuration settings, then exit
8094 -q, --quiet do not print progress messages
8095 -d, --debug don't remove temporary files
8096 --recheck update $as_me by reconfiguring in the same conditions
8097 --file=FILE[:TEMPLATE]
8098 instantiate the configuration file FILE
8099 --header=FILE[:TEMPLATE]
8100 instantiate the configuration header FILE
8102 Configuration files:
8105 Configuration headers:
8108 Configuration commands:
8111 Report bugs to <bug-autoconf@gnu.org>."
8114 cat >>$CONFIG_STATUS <<_ACEOF
8116 GNU C Library config.status (see version.h)
8117 configured by $0, generated by GNU Autoconf 2.61,
8118 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8120 Copyright (C) 2006 Free Software Foundation, Inc.
8121 This config.status script is free software; the Free Software Foundation
8122 gives unlimited permission to copy, distribute and modify it."
8129 cat >>$CONFIG_STATUS <<\_ACEOF
8130 # If no file are specified by the user, then we need to provide default
8131 # value. By we need to know if files were specified by the user.
8137 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8138 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8149 # Handling of the options.
8150 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8152 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8153 echo "$ac_cs_version"; exit ;;
8154 --debug |
--debu |
--deb |
--de |
--d |
-d )
8156 --file |
--fil |
--fi |
--f )
8158 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8159 ac_need_defaults
=false
;;
8160 --header |
--heade |
--head |
--hea )
8162 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8163 ac_need_defaults
=false
;;
8165 # Conflict between --help and --header
8166 { echo "$as_me: error: ambiguous option: $1
8167 Try \`$0 --help' for more information." >&2
8168 { (exit 1); exit 1; }; };;
8169 --help |
--hel |
-h )
8170 echo "$ac_cs_usage"; exit ;;
8171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8172 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8176 -*) { echo "$as_me: error: unrecognized option: $1
8177 Try \`$0 --help' for more information." >&2
8178 { (exit 1); exit 1; }; } ;;
8180 *) ac_config_targets
="$ac_config_targets $1"
8181 ac_need_defaults
=false
;;
8187 ac_configure_extra_args
=
8189 if $ac_cs_silent; then
8191 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8195 cat >>$CONFIG_STATUS <<_ACEOF
8196 if \$ac_cs_recheck; then
8197 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8200 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8204 cat >>$CONFIG_STATUS <<\_ACEOF
8208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8209 ## Running $as_me. ##
8215 cat >>$CONFIG_STATUS <<_ACEOF
8219 config_vars='$config_vars'
8223 cat >>$CONFIG_STATUS <<\_ACEOF
8225 # Handling of arguments.
8226 for ac_config_target
in $ac_config_targets
8228 case $ac_config_target in
8229 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8230 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
8231 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
8232 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
8233 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8235 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8236 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8237 { (exit 1); exit 1; }; };;
8242 # If the user did not use the arguments to specify the items to instantiate,
8243 # then the envvar interface is used. Set only those that are not.
8244 # We use the long form for the default assignment because of an extremely
8245 # bizarre bug on SunOS 4.1.3.
8246 if $ac_need_defaults; then
8247 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8248 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8249 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8252 # Have a temporary directory for convenience. Make it in the build tree
8253 # simply because there is no reason against having it here, and in addition,
8254 # creating and moving files from /tmp can sometimes cause problems.
8255 # Hook for its removal unless debugging.
8256 # Note that there is a small window in which the directory will not be cleaned:
8257 # after its creation but before its name has been assigned to `$tmp'.
8261 trap 'exit_status=$?
8262 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8264 trap '{ (exit 1); exit 1; }' 1 2 13 15
8266 # Create a (secure) tmp directory for tmp files.
8269 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8270 test -n "$tmp" && test -d "$tmp"
8273 tmp
=.
/conf$$
-$RANDOM
8274 (umask 077 && mkdir
"$tmp")
8277 echo "$me: cannot create a temporary directory in ." >&2
8278 { (exit 1); exit 1; }
8282 # Set up the sed scripts for CONFIG_FILES section.
8285 # No need to generate the scripts if there are no CONFIG_FILES.
8286 # This happens for instance when ./config.status config.h
8287 if test -n "$CONFIG_FILES"; then
8294 for ac_last_try
in false false false false false
:; do
8295 cat >conf$
$subs.
sed <<_ACEOF
8296 SHELL!$SHELL$ac_delim
8297 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8298 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8299 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8300 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8301 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8302 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8303 exec_prefix!$exec_prefix$ac_delim
8304 prefix!$prefix$ac_delim
8305 program_transform_name!$program_transform_name$ac_delim
8306 bindir!$bindir$ac_delim
8307 sbindir!$sbindir$ac_delim
8308 libexecdir!$libexecdir$ac_delim
8309 datarootdir!$datarootdir$ac_delim
8310 datadir!$datadir$ac_delim
8311 sysconfdir!$sysconfdir$ac_delim
8312 sharedstatedir!$sharedstatedir$ac_delim
8313 localstatedir!$localstatedir$ac_delim
8314 includedir!$includedir$ac_delim
8315 oldincludedir!$oldincludedir$ac_delim
8316 docdir!$docdir$ac_delim
8317 infodir!$infodir$ac_delim
8318 htmldir!$htmldir$ac_delim
8319 dvidir!$dvidir$ac_delim
8320 pdfdir!$pdfdir$ac_delim
8321 psdir!$psdir$ac_delim
8322 libdir!$libdir$ac_delim
8323 localedir!$localedir$ac_delim
8324 mandir!$mandir$ac_delim
8326 ECHO_C!$ECHO_C$ac_delim
8327 ECHO_N!$ECHO_N$ac_delim
8328 ECHO_T!$ECHO_T$ac_delim
8330 build_alias!$build_alias$ac_delim
8331 host_alias!$host_alias$ac_delim
8332 target_alias!$target_alias$ac_delim
8333 with_fp!$with_fp$ac_delim
8334 with_cvs!$with_cvs$ac_delim
8335 enable_check_abi!$enable_check_abi$ac_delim
8336 oldest_abi!$oldest_abi$ac_delim
8337 bindnow!$bindnow$ac_delim
8338 force_install!$force_install$ac_delim
8339 all_warnings!$all_warnings$ac_delim
8340 build!$build$ac_delim
8341 build_cpu!$build_cpu$ac_delim
8342 build_vendor!$build_vendor$ac_delim
8343 build_os!$build_os$ac_delim
8345 host_cpu!$host_cpu$ac_delim
8346 host_vendor!$host_vendor$ac_delim
8347 host_os!$host_os$ac_delim
8348 subdirs!$subdirs$ac_delim
8349 add_ons!$add_ons$ac_delim
8350 add_on_subdirs!$add_on_subdirs$ac_delim
8351 base_machine!$base_machine$ac_delim
8352 submachine!$submachine$ac_delim
8353 sysnames!$sysnames$ac_delim
8354 sysdeps_add_ons!$sysdeps_add_ons$ac_delim
8355 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8356 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8357 INSTALL_DATA!$INSTALL_DATA$ac_delim
8360 CFLAGS!$CFLAGS$ac_delim
8361 LDFLAGS!$LDFLAGS$ac_delim
8362 CPPFLAGS!$CPPFLAGS$ac_delim
8363 ac_ct_CC!$ac_ct_CC$ac_delim
8364 OBJEXT!$OBJEXT$ac_delim
8365 BUILD_CC!$BUILD_CC$ac_delim
8366 cross_compiling!$cross_compiling$ac_delim
8369 CXXFLAGS!$CXXFLAGS$ac_delim
8370 ac_ct_CXX!$ac_ct_CXX$ac_delim
8372 OBJDUMP!$OBJDUMP$ac_delim
8373 RANLIB!$RANLIB$ac_delim
8377 PWD_P!$PWD_P$ac_delim
8379 MSGFMT!$MSGFMT$ac_delim
8380 MAKEINFO!$MAKEINFO$ac_delim
8382 AUTOCONF!$AUTOCONF$ac_delim
8383 SYSINCLUDES!$SYSINCLUDES$ac_delim
8384 CXX_SYSINCLUDES!$CXX_SYSINCLUDES$ac_delim
8385 libc_cv_gcc_static_libgcc!$libc_cv_gcc_static_libgcc$ac_delim
8386 BASH_SHELL!$BASH_SHELL$ac_delim
8387 libc_cv_have_bash2!$libc_cv_have_bash2$ac_delim
8389 libc_cv_have_ksh!$libc_cv_have_ksh$ac_delim
8392 INSTALL_INFO!$INSTALL_INFO$ac_delim
8395 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8397 elif $ac_last_try; then
8398 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8399 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8400 { (exit 1); exit 1; }; }
8402 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
8406 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8407 if test -n "$ac_eof"; then
8408 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
8409 ac_eof
=`expr $ac_eof + 1`
8412 cat >>$CONFIG_STATUS <<_ACEOF
8413 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8414 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8417 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8418 s/^/s,@/; s/!/@,|#_!!_#|/
8421 s/'"$ac_delim"'$/,g/; t
8423 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8424 ' >>$CONFIG_STATUS <conf$
$subs.
sed
8425 rm -f conf$
$subs.
sed
8426 cat >>$CONFIG_STATUS <<_ACEOF
8432 for ac_last_try
in false false false false false
:; do
8433 cat >conf$
$subs.
sed <<_ACEOF
8434 BISON!$BISON$ac_delim
8435 VERSIONING!$VERSIONING$ac_delim
8436 libc_cv_cc_with_libunwind!$libc_cv_cc_with_libunwind$ac_delim
8437 libc_cv_Bgroup!$libc_cv_Bgroup$ac_delim
8438 libc_cv_libgcc_s_suffix!$libc_cv_libgcc_s_suffix$ac_delim
8439 libc_cv_as_needed!$libc_cv_as_needed$ac_delim
8440 ASFLAGS_config!$ASFLAGS_config$ac_delim
8441 libc_cv_z_combreloc!$libc_cv_z_combreloc$ac_delim
8442 libc_cv_z_execstack!$libc_cv_z_execstack$ac_delim
8443 libc_cv_fpie!$libc_cv_fpie$ac_delim
8444 libc_cv_hashstyle!$libc_cv_hashstyle$ac_delim
8445 fno_unit_at_a_time!$fno_unit_at_a_time$ac_delim
8446 libc_cv_ssp!$libc_cv_ssp$ac_delim
8447 libc_cv_gnu89_inline!$libc_cv_gnu89_inline$ac_delim
8448 libc_cv_have_initfini!$libc_cv_have_initfini$ac_delim
8449 no_whole_archive!$no_whole_archive$ac_delim
8450 exceptions!$exceptions$ac_delim
8451 libc_cv_cc_submachine!$libc_cv_cc_submachine$ac_delim
8452 LIBGD!$LIBGD$ac_delim
8453 have_libaudit!$have_libaudit$ac_delim
8454 have_libcap!$have_libcap$ac_delim
8455 have_selinux!$have_selinux$ac_delim
8456 sizeof_long_double!$sizeof_long_double$ac_delim
8457 libc_cv_gcc_unwind_find_fde!$libc_cv_gcc_unwind_find_fde$ac_delim
8458 uname_sysname!$uname_sysname$ac_delim
8459 uname_release!$uname_release$ac_delim
8460 uname_version!$uname_version$ac_delim
8461 old_glibc_headers!$old_glibc_headers$ac_delim
8462 libc_cv_slibdir!$libc_cv_slibdir$ac_delim
8463 libc_cv_localedir!$libc_cv_localedir$ac_delim
8464 libc_cv_sysconfdir!$libc_cv_sysconfdir$ac_delim
8465 libc_cv_rootsbindir!$libc_cv_rootsbindir$ac_delim
8466 libc_cv_forced_unwind!$libc_cv_forced_unwind$ac_delim
8467 libc_cv_cpp_asm_debuginfo!$libc_cv_cpp_asm_debuginfo$ac_delim
8468 use_ldconfig!$use_ldconfig$ac_delim
8469 ldd_rewrite_script!$ldd_rewrite_script$ac_delim
8471 xcoff!$xcoff$ac_delim
8472 static!$static$ac_delim
8473 shared!$shared$ac_delim
8474 pic_default!$pic_default$ac_delim
8475 profile!$profile$ac_delim
8476 omitfp!$omitfp$ac_delim
8477 bounded!$bounded$ac_delim
8478 static_nss!$static_nss$ac_delim
8479 nopic_initfini!$nopic_initfini$ac_delim
8480 DEFINES!$DEFINES$ac_delim
8481 mach_interface_list!$mach_interface_list$ac_delim
8482 VERSION!$VERSION$ac_delim
8483 RELEASE!$RELEASE$ac_delim
8484 LIBOBJS!$LIBOBJS$ac_delim
8485 LTLIBOBJS!$LTLIBOBJS$ac_delim
8488 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
8490 elif $ac_last_try; then
8491 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8492 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8493 { (exit 1); exit 1; }; }
8495 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
8499 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8500 if test -n "$ac_eof"; then
8501 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
8502 ac_eof
=`expr $ac_eof + 1`
8505 cat >>$CONFIG_STATUS <<_ACEOF
8506 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8507 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8510 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8511 s/^/s,@/; s/!/@,|#_!!_#|/
8514 s/'"$ac_delim"'$/,g/; t
8516 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8517 ' >>$CONFIG_STATUS <conf$
$subs.
sed
8518 rm -f conf$
$subs.
sed
8519 cat >>$CONFIG_STATUS <<_ACEOF
8526 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8527 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8528 # trailing colons and then remove the whole line if VPATH becomes empty
8529 # (actually we leave an empty line to preserve line numbers).
8530 if test "x$srcdir" = x.
; then
8531 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8535 s/^\([^=]*=[ ]*\):*/\1/
8541 cat >>$CONFIG_STATUS <<\_ACEOF
8542 fi # test -n "$CONFIG_FILES"
8545 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
8548 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8550 case $ac_mode$ac_tag in
8552 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8553 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8554 { (exit 1); exit 1; }; };;
8555 :[FH
]-) ac_tag
=-:-;;
8556 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8573 -) ac_f
="$tmp/stdin";;
8574 *) # Look for the file first in the build tree, then in the source tree
8575 # (if the path is not absolute). The absolute path cannot be DOS-style,
8576 # because $ac_f cannot contain `:'.
8580 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8582 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8583 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8584 { (exit 1); exit 1; }; };;
8586 ac_file_inputs
="$ac_file_inputs $ac_f"
8589 # Let's still pretend it is `configure' which instantiates (i.e., don't
8590 # use $as_me), people would be surprised to read:
8591 # /* config.h. Generated by config.status. */
8592 configure_input
="Generated from "`IFS=:
8593 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8594 if test x
"$ac_file" != x-
; then
8595 configure_input
="$ac_file. $configure_input"
8596 { echo "$as_me:$LINENO: creating $ac_file" >&5
8597 echo "$as_me: creating $ac_file" >&6;}
8601 *:-:* |
*:-) cat >"$tmp/stdin";;
8606 ac_dir
=`$as_dirname -- "$ac_file" ||
8607 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8608 X"$ac_file" : 'X\(//\)[^/]' \| \
8609 X"$ac_file" : 'X\(//\)$' \| \
8610 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8631 -*) as_dir
=.
/$as_dir;;
8633 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8637 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8638 *) as_qdir
=$as_dir;;
8640 as_dirs
="'$as_qdir' $as_dirs"
8641 as_dir
=`$as_dirname -- "$as_dir" ||
8642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8643 X"$as_dir" : 'X\(//\)[^/]' \| \
8644 X"$as_dir" : 'X\(//\)$' \| \
8645 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8664 test -d "$as_dir" && break
8666 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8667 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8668 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8669 { (exit 1); exit 1; }; }; }
8673 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8675 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8676 # A ".." for each directory in $ac_dir_suffix.
8677 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8678 case $ac_top_builddir_sub in
8679 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8680 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8683 ac_abs_top_builddir
=$ac_pwd
8684 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8685 # for backward compatibility:
8686 ac_top_builddir
=$ac_top_build_prefix
8689 .
) # We are building in place.
8691 ac_top_srcdir
=$ac_top_builddir_sub
8692 ac_abs_top_srcdir
=$ac_pwd ;;
8693 [\\/]* | ?
:[\\/]* ) # Absolute name.
8694 ac_srcdir
=$srcdir$ac_dir_suffix;
8695 ac_top_srcdir
=$srcdir
8696 ac_abs_top_srcdir
=$srcdir ;;
8698 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8699 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8700 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8702 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8712 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8713 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8717 cat >>$CONFIG_STATUS <<\_ACEOF
8718 # If the template does not know about datarootdir, expand it.
8719 # FIXME: This hack should be removed a few years after 2.60.
8720 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8722 case `sed -n '/datarootdir/ {
8731 ' $ac_file_inputs` in
8732 *datarootdir
*) ac_datarootdir_seen
=yes;;
8733 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8734 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8735 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8737 cat >>$CONFIG_STATUS <<_ACEOF
8738 ac_datarootdir_hack='
8739 s&@datadir@&$datadir&g
8740 s&@docdir@&$docdir&g
8741 s&@infodir@&$infodir&g
8742 s&@localedir@&$localedir&g
8743 s&@mandir@&$mandir&g
8744 s&\\\${datarootdir}&$datarootdir&g' ;;
8748 # Neutralize VPATH when `$srcdir' = `.'.
8749 # Shell code in configure.ac might set extrasub.
8750 # FIXME: do we really want to maintain this feature?
8751 cat >>$CONFIG_STATUS <<_ACEOF
8755 cat >>$CONFIG_STATUS <<\_ACEOF
8757 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8758 s
&@configure_input@
&$configure_input&;t t
8759 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8760 s
&@srcdir@
&$ac_srcdir&;t t
8761 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8762 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8763 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8764 s
&@builddir@
&$ac_builddir&;t t
8765 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8766 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8767 s
&@INSTALL@
&$ac_INSTALL&;t t
8768 $ac_datarootdir_hack
8769 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
8771 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8772 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8773 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8774 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8775 which seems to be undefined. Please make sure it is defined." >&5
8776 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8777 which seems to be undefined. Please make sure it is defined." >&2;}
8781 -) cat "$tmp/out"; rm -f "$tmp/out";;
8782 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8791 # Transform confdefs.h into a sed script `conftest.defines', that
8792 # substitutes the proper values into config.h.in to produce config.h.
8793 rm -f conftest.defines conftest.
tail
8794 # First, append a space to every undef/define line, to ease matching.
8795 echo 's/$/ /' >conftest.defines
8796 # Then, protect against being on the right side of a sed subst, or in
8797 # an unquoted here document, in config.status. If some macros were
8798 # called several times there might be several #defines for the same
8799 # symbol, which is useless. But do not sort them, since the last
8800 # AC_DEFINE must be honored.
8801 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
8802 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8803 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8804 # PARAMS is the parameter list in the macro definition--in most cases, it's
8805 # just an empty string.
8806 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8807 ac_dB
='\\)[ (].*,\\1define\\2'
8815 s/^[ ]*#[ ]*define[ ][ ]*//
8820 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8821 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8822 ' >>conftest.defines
8824 # Remove the space that was appended to ease matching.
8825 # Then replace #undef with comments. This is necessary, for
8826 # example, in the case of _POSIX_SOURCE, which is predefined and required
8827 # on some systems where configure will not decide to define it.
8828 # (The regexp can be short, since the line contains either #define or #undef.)
8830 s,^[ #]*u.*,/* & */,' >>conftest.defines
8832 # Break up conftest.defines:
8835 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8836 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8837 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8839 ac_in
='$ac_file_inputs'
8840 ac_out
='"$tmp/out1"'
8841 ac_nxt
='"$tmp/out2"'
8845 # Write a here document:
8846 cat >>$CONFIG_STATUS <<_ACEOF
8847 # First, check the format of the line:
8848 cat >"\$tmp/defines.sed" <<\\CEOF
8849 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8850 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8854 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
8856 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8857 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
8858 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
8859 grep . conftest.
tail >/dev
/null ||
break
8860 rm -f conftest.defines
8861 mv conftest.
tail conftest.defines
8863 rm -f conftest.defines conftest.
tail
8865 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8866 cat >>$CONFIG_STATUS <<\_ACEOF
8867 if test x
"$ac_file" != x-
; then
8868 echo "/* $configure_input */" >"$tmp/config.h"
8869 cat "$ac_result" >>"$tmp/config.h"
8870 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
8871 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8872 echo "$as_me: $ac_file is unchanged" >&6;}
8875 mv "$tmp/config.h" $ac_file
8878 echo "/* $configure_input */"
8884 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8885 echo "$as_me: executing $ac_file commands" >&6;}
8890 case $ac_file$ac_mode in
8892 case $CONFIG_FILES in *config.
make*)
8893 echo "$config_vars" >> config.
make;;
8895 test -d bits || mkdir bits
;;
8901 { (exit 0); exit 0; }
8903 chmod +x
$CONFIG_STATUS
8904 ac_clean_files
=$ac_clean_files_save
8907 # configure is writing to config.log, and then calls config.status.
8908 # config.status does its own redirection, appending to config.log.
8909 # Unfortunately, on DOS this fails, as config.log is still kept open
8910 # by configure, so config.status won't be able to write to it; its
8911 # output is simply discarded. So we exec the FD to /dev/null,
8912 # effectively closing config.log, so it can be properly (re)opened and
8913 # appended to by config.status. When coming back to configure, we
8914 # need to make the FD available again.
8915 if test "$no_create" != yes; then
8917 ac_config_status_args
=
8918 test "$silent" = yes &&
8919 ac_config_status_args
="$ac_config_status_args --quiet"
8921 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8923 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8924 # would make configure fail if this is the last instruction.
8925 $ac_cs_success ||
{ (exit 1); exit 1; }
8929 # CONFIG_SUBDIRS section.
8931 if test "$no_recursion" != yes; then
8933 # Remove --cache-file and --srcdir arguments so they do not pile up.
8934 ac_sub_configure_args
=
8936 eval "set x $ac_configure_args"
8940 if test -n "$ac_prev"; then
8945 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8946 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8947 ac_prev
=cache_file
;;
8948 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8949 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8952 --config-cache |
-C)
8954 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8956 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8958 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8960 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8964 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8966 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
8970 # Always prepend --prefix to ensure using the same prefix
8971 # in subdir configurations.
8972 ac_arg
="--prefix=$prefix"
8974 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8976 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8979 if test "$silent" = yes; then
8980 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8984 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8986 # Do not complain, so a configure script can configure whichever
8987 # parts of a large source tree are present.
8988 test -d "$srcdir/$ac_dir" ||
continue
8990 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8991 echo "$as_me:$LINENO: $ac_msg" >&5
8995 -*) as_dir
=.
/$as_dir;;
8997 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9001 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9002 *) as_qdir
=$as_dir;;
9004 as_dirs
="'$as_qdir' $as_dirs"
9005 as_dir
=`$as_dirname -- "$as_dir" ||
9006 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9007 X"$as_dir" : 'X\(//\)[^/]' \| \
9008 X"$as_dir" : 'X\(//\)$' \| \
9009 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9028 test -d "$as_dir" && break
9030 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9031 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9032 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9033 { (exit 1); exit 1; }; }; }
9037 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9039 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9040 # A ".." for each directory in $ac_dir_suffix.
9041 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9042 case $ac_top_builddir_sub in
9043 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9044 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9047 ac_abs_top_builddir
=$ac_pwd
9048 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9049 # for backward compatibility:
9050 ac_top_builddir
=$ac_top_build_prefix
9053 .
) # We are building in place.
9055 ac_top_srcdir
=$ac_top_builddir_sub
9056 ac_abs_top_srcdir
=$ac_pwd ;;
9057 [\\/]* | ?
:[\\/]* ) # Absolute name.
9058 ac_srcdir
=$srcdir$ac_dir_suffix;
9059 ac_top_srcdir
=$srcdir
9060 ac_abs_top_srcdir
=$srcdir ;;
9062 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9063 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9064 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9066 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9071 # Check for guested configure; otherwise get Cygnus style configure.
9072 if test -f "$ac_srcdir/configure.gnu"; then
9073 ac_sub_configure
=$ac_srcdir/configure.gnu
9074 elif test -f "$ac_srcdir/configure"; then
9075 ac_sub_configure
=$ac_srcdir/configure
9076 elif test -f "$ac_srcdir/configure.in"; then
9077 # This should be Cygnus configure.
9078 ac_sub_configure
=$ac_aux_dir/configure
9080 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9081 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9085 # The recursion is here.
9086 if test -n "$ac_sub_configure"; then
9087 # Make the cache file name correct relative to the subdirectory.
9089 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
9091 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
9094 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9095 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9096 # The eval makes quoting arguments work.
9097 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9098 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9099 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
9100 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
9101 { (exit 1); exit 1; }; }