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"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
708 libc_cv_gcc_static_libgcc
718 libc_cv_cc_with_libunwind
720 libc_cv_libgcc_s_suffix
730 libc_cv_have_initfini
733 libc_cv_cc_submachine
741 libc_cv_gcc_unwind_find_fde
750 libc_cv_forced_unwind
770 ac_precious_vars
='build_alias
785 # Initialize some variables set by options.
787 ac_init_version
=false
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
797 program_transform_name
=s
,x
,x
,
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir
='${exec_prefix}/bin'
812 sbindir
='${exec_prefix}/sbin'
813 libexecdir
='${exec_prefix}/libexec'
814 datarootdir
='${prefix}/share'
815 datadir
='${datarootdir}'
816 sysconfdir
='${prefix}/etc'
817 sharedstatedir
='${prefix}/com'
818 localstatedir
='${prefix}/var'
819 includedir
='${prefix}/include'
820 oldincludedir
='/usr/include'
821 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
822 infodir
='${datarootdir}/info'
827 libdir
='${exec_prefix}/lib'
828 localedir
='${datarootdir}/locale'
829 mandir
='${datarootdir}/man'
835 # If the previous option needs an argument, assign it.
836 if test -n "$ac_prev"; then
837 eval $ac_prev=\
$ac_option
843 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
853 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
855 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
858 -build |
--build |
--buil |
--bui |
--bu)
859 ac_prev
=build_alias
;;
860 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
861 build_alias
=$ac_optarg ;;
863 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
864 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
865 ac_prev
=cache_file
;;
866 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
867 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
868 cache_file
=$ac_optarg ;;
871 cache_file
=config.cache
;;
873 -datadir |
--datadir |
--datadi |
--datad)
875 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
876 datadir
=$ac_optarg ;;
878 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
879 |
--dataroo |
--dataro |
--datar)
880 ac_prev
=datarootdir
;;
881 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
882 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
883 datarootdir
=$ac_optarg ;;
885 -disable-* |
--disable-*)
886 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
889 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
890 { (exit 1); exit 1; }; }
891 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
892 eval enable_
$ac_feature=no
;;
894 -docdir |
--docdir |
--docdi |
--doc |
--do)
896 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
899 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
901 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
904 -enable-* |
--enable-*)
905 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
908 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
909 { (exit 1); exit 1; }; }
910 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
911 eval enable_
$ac_feature=\
$ac_optarg ;;
913 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
914 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
915 |
--exec |
--exe |
--ex)
916 ac_prev
=exec_prefix
;;
917 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
918 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
919 |
--exec=* |
--exe=* |
--ex=*)
920 exec_prefix
=$ac_optarg ;;
922 -gas |
--gas |
--ga |
--g)
923 # Obsolete; use --with-gas.
926 -help |
--help |
--hel |
--he |
-h)
928 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
929 ac_init_help
=recursive
;;
930 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
931 ac_init_help
=short
;;
933 -host |
--host |
--hos |
--ho)
934 ac_prev
=host_alias
;;
935 -host=* |
--host=* |
--hos=* |
--ho=*)
936 host_alias
=$ac_optarg ;;
938 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
940 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
942 htmldir
=$ac_optarg ;;
944 -includedir |
--includedir |
--includedi |
--included |
--include \
945 |
--includ |
--inclu |
--incl |
--inc)
946 ac_prev
=includedir
;;
947 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
948 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
949 includedir
=$ac_optarg ;;
951 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
953 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
954 infodir
=$ac_optarg ;;
956 -libdir |
--libdir |
--libdi |
--libd)
958 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
961 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
962 |
--libexe |
--libex |
--libe)
963 ac_prev
=libexecdir
;;
964 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
965 |
--libexe=* |
--libex=* |
--libe=*)
966 libexecdir
=$ac_optarg ;;
968 -localedir |
--localedir |
--localedi |
--localed |
--locale)
970 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
971 localedir
=$ac_optarg ;;
973 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
974 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
975 ac_prev
=localstatedir
;;
976 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
977 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
978 localstatedir
=$ac_optarg ;;
980 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
982 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
986 # Obsolete; use --without-fp.
989 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
990 |
--no-cr |
--no-c |
-n)
993 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
994 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
997 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
998 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
999 |
--oldin |
--oldi |
--old |
--ol |
--o)
1000 ac_prev
=oldincludedir
;;
1001 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1002 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1003 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1004 oldincludedir
=$ac_optarg ;;
1006 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1008 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1009 prefix
=$ac_optarg ;;
1011 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1012 |
--program-pre |
--program-pr |
--program-p)
1013 ac_prev
=program_prefix
;;
1014 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1015 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1016 program_prefix
=$ac_optarg ;;
1018 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1019 |
--program-suf |
--program-su |
--program-s)
1020 ac_prev
=program_suffix
;;
1021 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1022 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1023 program_suffix
=$ac_optarg ;;
1025 -program-transform-name |
--program-transform-name \
1026 |
--program-transform-nam |
--program-transform-na \
1027 |
--program-transform-n |
--program-transform- \
1028 |
--program-transform |
--program-transfor \
1029 |
--program-transfo |
--program-transf \
1030 |
--program-trans |
--program-tran \
1031 |
--progr-tra |
--program-tr |
--program-t)
1032 ac_prev
=program_transform_name
;;
1033 -program-transform-name=* |
--program-transform-name=* \
1034 |
--program-transform-nam=* |
--program-transform-na=* \
1035 |
--program-transform-n=* |
--program-transform-=* \
1036 |
--program-transform=* |
--program-transfor=* \
1037 |
--program-transfo=* |
--program-transf=* \
1038 |
--program-trans=* |
--program-tran=* \
1039 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1040 program_transform_name
=$ac_optarg ;;
1042 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1044 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1045 pdfdir
=$ac_optarg ;;
1047 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1049 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1053 |
-silent |
--silent |
--silen |
--sile |
--sil)
1056 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1058 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1060 sbindir
=$ac_optarg ;;
1062 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1063 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1064 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1066 ac_prev
=sharedstatedir
;;
1067 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1068 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1069 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1071 sharedstatedir
=$ac_optarg ;;
1073 -site |
--site |
--sit)
1075 -site=* |
--site=* |
--sit=*)
1078 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1080 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1081 srcdir
=$ac_optarg ;;
1083 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1084 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1085 ac_prev
=sysconfdir
;;
1086 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1087 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1088 sysconfdir
=$ac_optarg ;;
1090 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1091 ac_prev
=target_alias
;;
1092 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1093 target_alias
=$ac_optarg ;;
1095 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1098 -version |
--version |
--versio |
--versi |
--vers |
-V)
1099 ac_init_version
=: ;;
1102 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1105 { echo "$as_me: error: invalid package name: $ac_package" >&2
1106 { (exit 1); exit 1; }; }
1107 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1108 eval with_
$ac_package=\
$ac_optarg ;;
1110 -without-* |
--without-*)
1111 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_
$ac_package=no
;;
1120 # Obsolete; use --with-x.
1123 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1124 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1125 ac_prev
=x_includes
;;
1126 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1127 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1128 x_includes
=$ac_optarg ;;
1130 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1131 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1132 ac_prev
=x_libraries
;;
1133 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1134 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1135 x_libraries
=$ac_optarg ;;
1137 -*) { echo "$as_me: error: unrecognized option: $ac_option
1138 Try \`$0 --help' for more information." >&2
1139 { (exit 1); exit 1; }; }
1143 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1146 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1147 { (exit 1); exit 1; }; }
1148 eval $ac_envvar=\
$ac_optarg
1149 export $ac_envvar ;;
1152 # FIXME: should be removed in autoconf 3.0.
1153 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1154 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1155 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1156 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1162 if test -n "$ac_prev"; then
1163 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1164 { echo "$as_me: error: missing argument to $ac_option" >&2
1165 { (exit 1); exit 1; }; }
1168 # Be sure to have absolute directory names.
1169 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1170 datadir sysconfdir sharedstatedir localstatedir includedir \
1171 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172 libdir localedir mandir
1174 eval ac_val
=\$
$ac_var
1176 [\\/$
]* | ?
:[\\/]* ) continue;;
1177 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1179 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1180 { (exit 1); exit 1; }; }
1183 # There might be people who depend on the old broken behavior: `$host'
1184 # used to hold the argument of --host etc.
1185 # FIXME: To remove some day.
1188 target
=$target_alias
1190 # FIXME: To remove some day.
1191 if test "x$host_alias" != x
; then
1192 if test "x$build_alias" = x
; then
1193 cross_compiling
=maybe
1194 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1195 If a cross compiler is detected then cross compile mode will be used." >&2
1196 elif test "x$build_alias" != "x$host_alias"; then
1202 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1204 test "$silent" = yes && exec 6>/dev
/null
1207 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1208 ac_ls_di
=`ls -di .` &&
1209 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1210 { echo "$as_me: error: Working directory cannot be determined" >&2
1211 { (exit 1); exit 1; }; }
1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1213 { echo "$as_me: error: pwd does not report name of working directory" >&2
1214 { (exit 1); exit 1; }; }
1217 # Find the source files, if location was not specified.
1218 if test -z "$srcdir"; then
1219 ac_srcdir_defaulted
=yes
1220 # Try the directory containing this script, then the parent directory.
1221 ac_confdir
=`$as_dirname -- "$0" ||
1222 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1223 X"$0" : 'X\(//\)[^/]' \| \
1224 X"$0" : 'X\(//\)$' \| \
1225 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245 if test ! -r "$srcdir/$ac_unique_file"; then
1249 ac_srcdir_defaulted
=no
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1253 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1254 { (exit 1); exit 1; }; }
1256 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1259 { (exit 1); exit 1; }; }
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1269 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 for ac_var
in $ac_precious_vars; do
1272 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1274 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1279 # Report the --help message.
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1285 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1292 Defaults for the options are specified in brackets.
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1316 For better control, use the options below.
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --libdir=DIR object code libraries [EPREFIX/lib]
1326 --includedir=DIR C header files [PREFIX/include]
1327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330 --infodir=DIR info documentation [DATAROOTDIR/info]
1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332 --mandir=DIR man documentation [DATAROOTDIR/man]
1333 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1334 --htmldir=DIR html documentation [DOCDIR]
1335 --dvidir=DIR dvi documentation [DOCDIR]
1336 --pdfdir=DIR pdf documentation [DOCDIR]
1337 --psdir=DIR ps documentation [DOCDIR]
1343 --build=BUILD configure
for building on BUILD
[guessed
]
1344 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1355 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1356 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1357 --disable-sanity-checks really
do not use threads
(should not be used except
1358 in special situations
) [default
=yes]
1359 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1361 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1362 --enable-profile build profiled library
[default
=no
]
1363 --enable-omitfp build undebuggable optimized library
[default
=no
]
1364 --enable-bounded build with runtime bounds checking
[default
=no
]
1365 --disable-versioning do not include versioning information
in the library
1366 objects
[default
=yes if supported
]
1367 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1368 [default
=glibc default
]
1369 --enable-stackguard-randomization
1370 initialize __stack_chk_guard canary with a random
1371 number
at program start
1372 --enable-add-ons[=DIRS...
]
1373 configure and build add-ons
in DIR1
,DIR2
,... search
1374 for add-ons
if no parameter given
1375 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1376 --enable-bind-now disable lazy relocations
in DSOs
1377 --enable-static-nss build static NSS modules
[default
=no
]
1378 --disable-force-install don
't force installation of files from this package,
1379 even if they are older than the installed files
1380 --enable-kernel=VERSION compile for compatibility with kernel not older than
1382 --enable-all-warnings enable all useful warnings gcc can issue
1385 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1386 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1387 --with-gd=DIR find libgd include dir and library with prefix DIR
1388 --with-gd-include=DIR find libgd include files in DIR
1389 --with-gd-lib=DIR find libgd library files in DIR
1390 --with-fp if using floating-point hardware [default=yes]
1391 --with-binutils=PATH specify location of binutils (as and ld)
1392 --with-elf if using the ELF object format
1393 --with-selinux if building with SELinux support
1394 --with-xcoff if using the XCOFF object format
1395 --without-cvs if CVS should not be used
1396 --with-headers=PATH location of system headers to use (for example
1397 /usr/src/linux/include) [default=compiler default]
1398 --with-tls enable support for TLS
1399 --without-__thread do not use TLS features even when supporting them
1400 --with-cpu=CPU select code for CPU variant
1402 Some influential environment variables:
1403 CC C compiler command
1404 CFLAGS C compiler flags
1405 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1406 nonstandard directory <lib dir>
1407 LIBS libraries to pass to the linker, e.g. -l<library>
1408 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1409 you have headers in a nonstandard directory <include dir>
1411 CXX C++ compiler command
1412 CXXFLAGS C++ compiler flags
1414 Use these variables to override the choices made by `configure' or to
help
1415 it to
find libraries and programs with nonstandard names
/locations.
1417 Report bugs to
<glibc
>.
1422 if test "$ac_init_help" = "recursive"; then
1423 # If there are subdirs, report their specific --help.
1424 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1425 test -d "$ac_dir" ||
continue
1429 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1431 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1432 # A ".." for each directory in $ac_dir_suffix.
1433 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1434 case $ac_top_builddir_sub in
1435 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1436 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1439 ac_abs_top_builddir
=$ac_pwd
1440 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1441 # for backward compatibility:
1442 ac_top_builddir
=$ac_top_build_prefix
1445 .
) # We are building in place.
1447 ac_top_srcdir
=$ac_top_builddir_sub
1448 ac_abs_top_srcdir
=$ac_pwd ;;
1449 [\\/]* | ?
:[\\/]* ) # Absolute name.
1450 ac_srcdir
=$srcdir$ac_dir_suffix;
1451 ac_top_srcdir
=$srcdir
1452 ac_abs_top_srcdir
=$srcdir ;;
1454 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1455 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1456 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1458 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1460 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1461 # Check for guested configure.
1462 if test -f "$ac_srcdir/configure.gnu"; then
1464 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1465 elif test -f "$ac_srcdir/configure"; then
1467 $SHELL "$ac_srcdir/configure" --help=recursive
1469 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1471 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1475 test -n "$ac_init_help" && exit $ac_status
1476 if $ac_init_version; then
1478 GNU C Library configure
(see version.h
)
1479 generated by GNU Autoconf
2.61
1481 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1482 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1483 This configure
script is free software
; the Free Software Foundation
1484 gives unlimited permission to copy
, distribute and modify it.
1488 cat >config.log
<<_ACEOF
1489 This file contains any messages produced by compilers while
1490 running configure, to aid debugging if configure makes a mistake.
1492 It was created by GNU C Library $as_me (see version.h), which was
1493 generated by GNU Autoconf 2.61. Invocation command line was
1505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1528 test -z "$as_dir" && as_dir
=.
1529 echo "PATH: $as_dir"
1545 # Keep a trace of the command line.
1546 # Strip out --no-create and --no-recursion so they do not pile up.
1547 # Strip out --silent because we don't want to record it for future runs.
1548 # Also quote any args containing shell meta-characters.
1549 # Make two passes to allow for proper duplicate-argument suppression.
1553 ac_must_keep_next
=false
1559 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1560 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1561 |
-silent |
--silent |
--silen |
--sile |
--sil)
1564 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1567 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1569 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1570 if test $ac_must_keep_next = true
; then
1571 ac_must_keep_next
=false
# Got value, back to normal.
1574 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1575 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1576 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1577 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1578 case "$ac_configure_args0 " in
1579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1582 -* ) ac_must_keep_next
=true
;;
1585 ac_configure_args
="$ac_configure_args '$ac_arg'"
1590 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1591 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1593 # When interrupted or exit'd, cleanup temporary files, and complete
1594 # config.log. We remove comments because anyway the quotes in there
1595 # would cause problems or look ugly.
1596 # WARNING: Use '\'' to represent an apostrophe within the trap.
1597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1598 trap 'exit_status=$?
1599 # Save into config.log some information that might help in debugging.
1604 ## ---------------- ##
1605 ## Cache variables. ##
1606 ## ---------------- ##
1609 # The following way of writing the cache mishandles newlines in values,
1611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1612 eval ac_val=\$$ac_var
1616 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1617 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1620 _ | IFS | as_nl) ;; #(
1621 *) $as_unset $ac_var ;;
1626 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1627 *${as_nl}ac_space=\ *)
1629 "s/'\''/'\''\\\\'\'''\''/g;
1630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1633 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1641 ## ----------------- ##
1642 ## Output variables. ##
1643 ## ----------------- ##
1646 for ac_var in $ac_subst_vars
1648 eval ac_val=\$$ac_var
1650 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1652 echo "$ac_var='\''$ac_val'\''"
1656 if test -n "$ac_subst_files"; then
1658 ## ------------------- ##
1659 ## File substitutions. ##
1660 ## ------------------- ##
1663 for ac_var
in $ac_subst_files
1665 eval ac_val
=\$
$ac_var
1667 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1669 echo "$ac_var='\''$ac_val'\''"
1674 if test -s confdefs.h; then
1684 test "$ac_signal" != 0 &&
1685 echo "$as_me: caught signal $ac_signal"
1686 echo "$as_me: exit $exit_status"
1688 rm -f core *.core core.conftest.* &&
1689 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1692 for ac_signal
in 1 2 13 15; do
1693 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1697 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1698 rm -f -r conftest
* confdefs.h
1700 # Predefined preprocessor variables.
1702 cat >>confdefs.h
<<_ACEOF
1703 #define PACKAGE_NAME "$PACKAGE_NAME"
1707 cat >>confdefs.h
<<_ACEOF
1708 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1712 cat >>confdefs.h
<<_ACEOF
1713 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1717 cat >>confdefs.h
<<_ACEOF
1718 #define PACKAGE_STRING "$PACKAGE_STRING"
1722 cat >>confdefs.h
<<_ACEOF
1723 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1727 # Let the site file select an alternate cache file if it wants to.
1728 # Prefer explicitly selected file to automatically selected ones.
1729 if test -n "$CONFIG_SITE"; then
1730 set x
"$CONFIG_SITE"
1731 elif test "x$prefix" != xNONE
; then
1732 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1734 set x
"$ac_default_prefix/share/config.site" \
1735 "$ac_default_prefix/etc/config.site"
1740 if test -r "$ac_site_file"; then
1741 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1742 echo "$as_me: loading site script $ac_site_file" >&6;}
1743 sed 's/^/| /' "$ac_site_file" >&5
1748 if test -r "$cache_file"; then
1749 # Some versions of bash will fail to source /dev/null (special
1750 # files actually), so we avoid doing that.
1751 if test -f "$cache_file"; then
1752 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1753 echo "$as_me: loading cache $cache_file" >&6;}
1755 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1756 *) .
"./$cache_file";;
1760 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1761 echo "$as_me: creating cache $cache_file" >&6;}
1765 # Check that the precious variables saved in the cache have kept the same
1767 ac_cache_corrupted
=false
1768 for ac_var
in $ac_precious_vars; do
1769 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1770 eval ac_new_set
=\
$ac_env_${ac_var}_set
1771 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1772 eval ac_new_val
=\
$ac_env_${ac_var}_value
1773 case $ac_old_set,$ac_new_set in
1775 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1776 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1777 ac_cache_corrupted
=: ;;
1779 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1780 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1781 ac_cache_corrupted
=: ;;
1784 if test "x$ac_old_val" != "x$ac_new_val"; then
1785 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1786 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1787 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1788 echo "$as_me: former value: $ac_old_val" >&2;}
1789 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1790 echo "$as_me: current value: $ac_new_val" >&2;}
1791 ac_cache_corrupted
=:
1794 # Pass precious variables to config.status.
1795 if test "$ac_new_set" = set; then
1797 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1798 *) ac_arg
=$ac_var=$ac_new_val ;;
1800 case " $ac_configure_args " in
1801 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1802 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1806 if $ac_cache_corrupted; then
1807 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1808 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1809 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1810 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1811 { (exit 1); exit 1; }; }
1839 ac_cpp
='$CPP $CPPFLAGS'
1840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1846 ac_config_headers
="$ac_config_headers config.h"
1849 for ac_dir
in scripts
"$srcdir"/scripts
; do
1850 if test -f "$ac_dir/install-sh"; then
1852 ac_install_sh
="$ac_aux_dir/install-sh -c"
1854 elif test -f "$ac_dir/install.sh"; then
1856 ac_install_sh
="$ac_aux_dir/install.sh -c"
1858 elif test -f "$ac_dir/shtool"; then
1860 ac_install_sh
="$ac_aux_dir/shtool install -c"
1864 if test -z "$ac_aux_dir"; then
1865 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
1866 echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
1867 { (exit 1); exit 1; }; }
1870 # These three variables are undocumented and unsupported,
1871 # and are intended to be withdrawn in a future Autoconf release.
1872 # They can cause serious problems if a builder's source tree is in a directory
1873 # whose full name contains unusual characters.
1874 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1875 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1876 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1880 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
1881 { { echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
1882 echo "$as_me: error: you must configure in a separate build directory" >&2;}
1883 { (exit 1); exit 1; }; }
1886 # This will get text that should go into config.make.
1889 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
1891 # Check whether --with-gd was given.
1892 if test "${with_gd+set}" = set; then
1893 withval
=$with_gd; case "$with_gd" in
1895 *) libgd_include
="-I$withval/include"
1896 libgd_ldflags
="-L$withval/lib" ;;
1902 # Check whether --with-gd-include was given.
1903 if test "${with_gd_include+set}" = set; then
1904 withval
=$with_gd_include; case "$with_gd_include" in
1906 *) libgd_include
="-I$withval" ;;
1912 # Check whether --with-gd-lib was given.
1913 if test "${with_gd_lib+set}" = set; then
1914 withval
=$with_gd_lib; case "$with_gd_lib" in
1916 *) libgd_ldflags
="-L$withval" ;;
1922 if test -n "$libgd_include"; then
1923 config_vars
="$config_vars
1924 CFLAGS-memusagestat.c = $libgd_include"
1926 if test -n "$libgd_ldflags"; then
1927 config_vars
="$config_vars
1928 libgd-LDFLAGS = $libgd_ldflags"
1932 # Check whether --with-fp was given.
1933 if test "${with_fp+set}" = set; then
1934 withval
=$with_fp; with_fp
=$withval
1941 # Check whether --with-binutils was given.
1942 if test "${with_binutils+set}" = set; then
1943 withval
=$with_binutils; path_binutils
=$withval
1949 # Check whether --with-elf was given.
1950 if test "${with_elf+set}" = set; then
1951 withval
=$with_elf; elf
=$withval
1957 # Check whether --with-selinux was given.
1958 if test "${with_selinux+set}" = set; then
1959 withval
=$with_selinux; with_selinux
=$withval
1965 # Check whether --with-xcoff was given.
1966 if test "${with_xcoff+set}" = set; then
1967 withval
=$with_xcoff; xcoff
=$withval
1973 # Check whether --with-cvs was given.
1974 if test "${with_cvs+set}" = set; then
1975 withval
=$with_cvs; with_cvs
=$withval
1980 if test "$with_cvs" = yes; then
1981 if test -d $srcdir/CVS
&& grep :pserver
: $srcdir/CVS
/Root
> /dev
/null
1989 # Check whether --with-headers was given.
1990 if test "${with_headers+set}" = set; then
1991 withval
=$with_headers; sysheaders
=$withval
1997 # Check whether --enable-sanity-checks was given.
1998 if test "${enable_sanity_checks+set}" = set; then
1999 enableval
=$enable_sanity_checks; enable_sanity
=$enableval
2006 # Check whether --enable-check-abi was given.
2007 if test "${enable_check_abi+set}" = set; then
2008 enableval
=$enable_check_abi; enable_check_abi
=$enableval
2015 # Check whether --enable-shared was given.
2016 if test "${enable_shared+set}" = set; then
2017 enableval
=$enable_shared; shared
=$enableval
2022 # Check whether --enable-profile was given.
2023 if test "${enable_profile+set}" = set; then
2024 enableval
=$enable_profile; profile
=$enableval
2029 # Check whether --enable-omitfp was given.
2030 if test "${enable_omitfp+set}" = set; then
2031 enableval
=$enable_omitfp; omitfp
=$enableval
2036 # Check whether --enable-bounded was given.
2037 if test "${enable_bounded+set}" = set; then
2038 enableval
=$enable_bounded; bounded
=$enableval
2043 # Check whether --enable-versioning was given.
2044 if test "${enable_versioning+set}" = set; then
2045 enableval
=$enable_versioning; enable_versioning
=$enableval
2047 enable_versioning
=yes
2051 # Check whether --enable-oldest-abi was given.
2052 if test "${enable_oldest_abi+set}" = set; then
2053 enableval
=$enable_oldest_abi; oldest_abi
=$enableval
2058 if test "$oldest_abi" = yes ||
test "$oldest_abi" = no
; then
2061 cat >>confdefs.h
<<_ACEOF
2062 #define GLIBC_OLDEST_ABI "$oldest_abi"
2068 # Check whether --enable-stackguard-randomization was given.
2069 if test "${enable_stackguard_randomization+set}" = set; then
2070 enableval
=$enable_stackguard_randomization; enable_stackguard_randomize
=$enableval
2072 enable_stackguard_randomize
=no
2075 if test "$enable_stackguard_randomize" = yes; then
2076 cat >>confdefs.h
<<\_ACEOF
2077 #define ENABLE_STACKGUARD_RANDOMIZE 1
2082 # Check whether --enable-add-ons was given.
2083 if test "${enable_add_ons+set}" = set; then
2084 enableval
=$enable_add_ons;
2091 # Check whether --with-tls was given.
2092 if test "${with_tls+set}" = set; then
2093 withval
=$with_tls; usetls
=$withval
2100 # Check whether --with-__thread was given.
2101 if test "${with___thread+set}" = set; then
2102 withval
=$with___thread; use__thread
=$withval
2108 # Check whether --enable-hidden-plt was given.
2109 if test "${enable_hidden_plt+set}" = set; then
2110 enableval
=$enable_hidden_plt; hidden
=$enableval
2115 if test "x$hidden" = xno
; then
2116 cat >>confdefs.h
<<\_ACEOF
2122 # Check whether --enable-bind-now was given.
2123 if test "${enable_bind_now+set}" = set; then
2124 enableval
=$enable_bind_now; bindnow
=$enableval
2131 # Check whether --enable-static-nss was given.
2132 if test "${enable_static_nss+set}" = set; then
2133 enableval
=$enable_static_nss; static_nss
=$enableval
2138 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
2140 cat >>confdefs.h
<<\_ACEOF
2141 #define DO_STATIC_NSS 1
2146 # Check whether --enable-force-install was given.
2147 if test "${enable_force_install+set}" = set; then
2148 enableval
=$enable_force_install; force_install
=$enableval
2155 # Check whether --enable-kernel was given.
2156 if test "${enable_kernel+set}" = set; then
2157 enableval
=$enable_kernel; minimum_kernel
=$enableval
2160 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
2161 # Better nothing than this.
2164 if test "$minimum_kernel" = current
; then
2165 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
2169 # Check whether --enable-all-warnings was given.
2170 if test "${enable_all_warnings+set}" = set; then
2171 enableval
=$enable_all_warnings; all_warnings
=$enableval
2179 # Make sure we can run config.sub.
2180 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2181 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2182 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2183 { (exit 1); exit 1; }; }
2185 { echo "$as_me:$LINENO: checking build system type" >&5
2186 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2187 if test "${ac_cv_build+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 ac_build_alias
=$build_alias
2191 test "x$ac_build_alias" = x
&&
2192 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2193 test "x$ac_build_alias" = x
&&
2194 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2195 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2196 { (exit 1); exit 1; }; }
2197 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2198 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2199 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2200 { (exit 1); exit 1; }; }
2203 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2204 echo "${ECHO_T}$ac_cv_build" >&6; }
2205 case $ac_cv_build in
2207 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2208 echo "$as_me: error: invalid value of canonical build" >&2;}
2209 { (exit 1); exit 1; }; };;
2212 ac_save_IFS
=$IFS; IFS
='-'
2218 # Remember, the first character of IFS is used to create $*,
2219 # except with old shells:
2222 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2225 { echo "$as_me:$LINENO: checking host system type" >&5
2226 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2227 if test "${ac_cv_host+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 if test "x$host_alias" = x
; then
2231 ac_cv_host
=$ac_cv_build
2233 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2234 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2235 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2236 { (exit 1); exit 1; }; }
2240 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2241 echo "${ECHO_T}$ac_cv_host" >&6; }
2244 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2245 echo "$as_me: error: invalid value of canonical host" >&2;}
2246 { (exit 1); exit 1; }; };;
2249 ac_save_IFS
=$IFS; IFS
='-'
2255 # Remember, the first character of IFS is used to create $*,
2256 # except with old shells:
2259 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2263 # The way shlib-versions is used to generate soversions.mk uses a
2264 # fairly simplistic model for name recognition that can't distinguish
2265 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
2266 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
2267 # tell. This doesn't get used much beyond that, so it's fairly safe.
2272 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
2276 # We keep the original values in `$config_*' and never modify them, so we
2277 # can write them unchanged into config.make. Everything else uses
2278 # $machine, $vendor, and $os, and changes them whenever convenient.
2279 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
2281 # Don't allow vendor == "unknown"
2282 test "$config_vendor" = unknown
&& config_vendor
=
2283 config_os
="`echo $config_os | sed 's/^unknown-//'`"
2285 # Some configurations imply other options.
2287 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
2288 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
2290 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
2291 # These systems (almost) always use the ELF format.
2295 # These systems are always xcoff
2301 # The configure fragment of an add-on port can modify these to supplement
2302 # or override the table in the case statement below. No fragment should
2303 # ever change the config_* variables, however.
2304 machine
=$config_machine
2305 vendor
=$config_vendor
2309 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
2311 if test "$machine" = rs6000
; then
2315 # Braindead PowerPC box with absolutely no FPU.
2316 case "$machine-$host_os" in
2324 # Check whether --with-cpu was given.
2325 if test "${with_cpu+set}" = set; then
2326 withval
=$with_cpu; case "$withval" in
2327 yes|
'') { { echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
2328 echo "$as_me: error: --with-cpu requires an argument" >&2;}
2329 { (exit 1); exit 1; }; } ;;
2331 *) submachine
="$withval" ;;
2337 # An add-on can set this when it wants to disable the sanity check below.
2343 case "$enable_add_ons" in
2346 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
2347 sed 's@/[^/]*$@@' | sort | uniq`
2348 add_ons_automatic
=yes
2350 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
2351 add_ons_automatic
=no
;;
2357 if test x
"$add_ons" != x
; then
2358 for f
in $add_ons; do
2359 # Some sanity checks
2362 { { echo "$as_me:$LINENO: error:
2363 *** It seems that you're using an old \`crypt' add-on. crypt is now
2364 *** part of glibc and using the old add-on will not work with this
2365 *** release. Start again with fresh sources and without the old
2366 *** \`crypt' add-on." >&5
2367 echo "$as_me: error:
2368 *** It seems that you're using an old \`crypt' add-on. crypt is now
2369 *** part of glibc and using the old add-on will not work with this
2370 *** release. Start again with fresh sources and without the old
2371 *** \`crypt' add-on." >&2;}
2372 { (exit 1); exit 1; }; }
2375 { { echo "$as_me:$LINENO: error:
2376 *** It seems that you're using an old \`localedata' add-on. localedata
2377 *** is now part of glibc and using the old add-on will not work with
2378 *** this release. Start again with fresh sources and without the old
2379 *** \`localedata' add-on." >&5
2380 echo "$as_me: error:
2381 *** It seems that you're using an old \`localedata' add-on. localedata
2382 *** is now part of glibc and using the old add-on will not work with
2383 *** this release. Start again with fresh sources and without the old
2384 *** \`localedata' add-on." >&2;}
2385 { (exit 1); exit 1; }; }
2390 # Now source each add-on's configure fragment.
2391 # The fragments can use $srcdir/$libc_add_on to find themselves,
2392 # and test $add_ons_automatic to see if they were explicitly requested.
2393 # A fragment can clear (or even change) $libc_add_on to affect
2394 # whether it goes into the list to be actually used in the build.
2396 for libc_add_on
in $add_ons; do
2397 # Test whether such a directory really exists.
2398 # It can be absolute, or relative to $srcdir, or relative to the build dir.
2399 case "$libc_add_on" in
2401 libc_add_on_srcdir
=$libc_add_on
2404 test -d "$srcdir/$libc_add_on" ||
{
2405 if test -d "$libc_add_on"; then
2406 libc_add_on
="`pwd`/$libc_add_on"
2408 { { echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
2409 echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
2410 { (exit 1); exit 1; }; }
2413 libc_add_on_srcdir
=$srcdir/$libc_add_on
2417 libc_add_on_frag
=$libc_add_on_srcdir/configure
2418 libc_add_on_canonical
=
2419 libc_add_on_config_subdirs
=
2420 if test -r "$libc_add_on_frag"; then
2421 { echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
2422 echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
2423 libc_add_on_canonical
=unknown
2424 libc_add_on_subdirs
=
2425 .
"$libc_add_on_frag"
2426 test -z "$libc_add_on" ||
{
2427 configured_add_ons
="$configured_add_ons $libc_add_on"
2428 if test "x$libc_add_on_canonical" = xunknown
; then
2429 { { echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
2430 echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
2431 { (exit 1); exit 1; }; }
2433 for d
in $libc_add_on_subdirs; do
2434 case "$libc_add_on" in
2435 /*) subdir_srcdir
="$libc_add_on" ;;
2436 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
2440 d
="${libc_add_on_canonical:-$libc_add_on}"
2446 subdir_srcdir
="$subdir_srcdir/$d"
2449 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
2450 add_on_subdirs
="$add_on_subdirs $d"
2451 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
2452 $d-srcdir = $subdir_srcdir"
2454 for d
in $libc_add_on_config_subdirs; do
2456 /*) { { echo "$as_me:$LINENO: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&5
2457 echo "$as_me: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&2;}
2458 { (exit 1); exit 1; }; } ;;
2460 if test ! -d "$libc_add_on_srcdir/$d"; then
2461 { { echo "$as_me:$LINENO: error: fragment wants to configure missing directory $d" >&5
2462 echo "$as_me: error: fragment wants to configure missing directory $d" >&2;}
2463 { (exit 1); exit 1; }; }
2465 case "$libc_add_on" in
2466 /*) { { echo "$as_me:$LINENO: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&5
2467 echo "$as_me: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&2;}
2468 { (exit 1); exit 1; }; } ;;
2470 subdirs
="$subdirs $libc_add_on/$d"
2474 if test -n "$libc_add_on"; then
2475 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
2477 { echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
2478 echo $ECHO_N "checking add-on $libc_add_on for preconfigure fragments... $ECHO_C" >&6; }
2479 for frag
in $frags; do
2480 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
2481 echo $ECHO_N "$name $ECHO_C" >&6
2484 { echo "$as_me:$LINENO: result: " >&5
2485 echo "${ECHO_T}" >&6; }
2487 use_add_ons
="$use_add_ons $libc_add_on"
2488 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
2489 test -z "$libc_add_on_canonical" ||
2490 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
2493 # Use echo to strip excess whitespace.
2494 add_ons
="`echo $use_add_ons`"
2501 ### I put this here to prevent those annoying emails from people who cannot
2502 ### read and try to compile glibc on unsupported platforms. --drepper
2504 ### By using the undocumented --enable-hacker-mode option for configure
2505 ### one can skip this test to make the configuration not fail for unsupported
2508 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
2509 case "$machine-$host_os" in
2510 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
2513 echo "*** The GNU C library is currently not available for this platform."
2514 echo "*** So far nobody cared to port it and if there is no volunteer it"
2515 echo "*** might never happen. So, if you have interest to see glibc on"
2516 echo "*** this platform visit"
2517 echo "*** http://www.gnu.org/software/libc/porting.html"
2518 echo "*** and join the group of porters"
2524 # Expand the configuration machine name into a subdirectory by architecture
2525 # type and particular chip. If an add-on configure fragment already set
2526 # base_machine, we don't change it.
2527 test -n "$base_machine" ||
case "$machine" in
2528 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
2529 alpha
*) base_machine
=alpha machine
=alpha
/$machine ;;
2530 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
2531 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
2532 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
2533 ia64
) base_machine
=ia64 machine
=ia64
;;
2534 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
2535 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
2536 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
2537 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
2538 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
2539 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
2540 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
2541 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
2543 base_machine
=sparc machine
=sparc
/sparc32
;;
2544 sparcv8 | supersparc | hypersparc
)
2545 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
2546 sparcv8plus | sparcv8plusa | sparcv9
)
2547 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
2548 sparcv8plusb | sparcv9b
)
2549 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
2551 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
2553 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
2555 base_machine
=sparc machine
=sparc
/sparc64
;;
2557 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
2559 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
2561 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
2562 *) base_machine
=$machine ;;
2566 if test "$base_machine" = "i386"; then
2567 cat >>confdefs.h
<<\_ACEOF
2568 #define USE_REGPARMS 1
2573 # Compute the list of sysdep directories for this configuration.
2574 # This can take a while to compute.
2575 sysdep_dir
=$srcdir/sysdeps
2576 { echo "$as_me:$LINENO: checking sysdep dirs" >&5
2577 echo $ECHO_N "checking sysdep dirs... $ECHO_C" >&6; }
2578 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
2579 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
2581 test "x$base_os" != x ||
case "$os" in
2583 base_os
=mach
/hurd
;;
2584 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
2585 base_os
=unix
/bsd
/bsd4.4
;;
2586 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
2588 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
2589 base_os
=unix
/sysv
;;
2591 base_os
=unix
/sysv
/irix
6/$os ;;
2593 base_os
=unix
/sysv
/sysv4
;;
2595 base_os
=unix
/sysv
/hpux
/$os ;;
2597 base_os
=unix
/sysv
/aix
/aix4.3
;;
2599 base_os
=standalone
;;
2602 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
2605 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
2609 o
=`echo $tail | sed 's/[0-9]*$//'`
2610 if test $o != $tail; then
2613 # For linux-gnu, try linux-gnu, then linux.
2614 o
=`echo $tail | sed 's/-.*$//'`
2615 if test $o != $tail; then
2619 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
2622 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
2628 # For sparc/sparc32, try sparc/sparc32 and then sparc.
2630 tail=$machine${submachine:+/$submachine}
2631 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
2633 # Prepend the machine's FPU directory unless --without-fp.
2634 if test "$with_fp" = yes; then
2635 mach
="$mach /$1/fpu"
2637 mach
="$mach /$1/nofpu"
2644 # Find what sysdep directories exist.
2647 for b
in $base ''; do
2648 for m0
in $mach ''; do
2649 for v
in /$vendor ''; do
2650 test "$v" = / && continue
2651 for o
in /$ostry ''; do
2652 test "$o" = / && continue
2653 for m
in $mach ''; do
2654 for d
in $add_ons_pfx ''; do
2655 for a
in $add_ons_sfx ''; do
2656 if test -n "$m0$m0sub$b$v$o$m$msub"; then
2657 try_srcdir
="${srcdir}/"
2661 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
2662 test -n "$enable_debug_configure" &&
2663 echo "$0 DEBUG: try $try" >&2
2664 if test -d "$try_srcdir$try"; then
2665 sysnames
="$sysnames $try"
2666 { test -n "$o" ||
test -n "$b"; } && os_used
=t
2667 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
2669 x
*/$submachine) submachine_used
=t
;;
2671 if test -n "$d"; then
2672 case "$sysnames_add_ons" in
2674 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
2687 if test -z "$os_used" && test "$os" != none
; then
2688 { { echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
2689 echo "$as_me: error: Operating system $os is not supported." >&2;}
2690 { (exit 1); exit 1; }; }
2692 if test -z "$machine_used" && test "$machine" != none
; then
2693 { { echo "$as_me:$LINENO: error: The $machine is not supported." >&5
2694 echo "$as_me: error: The $machine is not supported." >&2;}
2695 { (exit 1); exit 1; }; }
2697 if test -z "$submachine_used" && test -n "$submachine"; then
2698 { { echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
2699 echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
2700 { (exit 1); exit 1; }; }
2704 # We have now validated the configuration.
2707 # If using ELF, look for an `elf' subdirectory of each machine directory.
2708 # We prepend these rather than inserting them whereever the machine appears
2709 # because things specified by the machine's ELF ABI should override
2710 # OS-specific things, and should always be the same for any OS on the
2711 # machine (otherwise what's the point of an ABI?).
2712 if test "$elf" = yes; then
2714 for d
in $add_ons_pfx ''; do
2716 if test -d $srcdir/${d}sysdeps
$m/elf
; then
2717 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
2721 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
2725 # Expand the list of system names into a full list of directories
2726 # from each element's parent name and Implies file (if present).
2729 while test $# -gt 0; do
2733 case " $names " in *" $name "*)
2734 # Already in the list.
2738 # Report each name as we discover it, so there is no long pause in output.
2739 echo $ECHO_N "$name $ECHO_C" >&6
2741 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
2745 *) xsrcdir
=$srcdir/ ;;
2747 test -n "$enable_debug_configure" &&
2748 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
2750 if test -f $xsrcdir$name/Implies
; then
2751 # Collect more names from the `Implies' file (removing comments).
2752 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
2754 for x
in $implied_candidate; do
2756 if test -d $xsrcdir$name_base/$x; then
2757 implied
="$implied $name_base/$x";
2760 for d
in $add_ons_pfx ''; do
2761 try
="${d}sysdeps/$x"
2764 *) try_srcdir
=$srcdir/ ;;
2766 test -n "$enable_debug_configure" &&
2767 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
2768 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
2770 implied
="$implied $try"
2772 case "$sysnames_add_ons" in
2774 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
2778 if test $found = no
; then
2779 { echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
2780 echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
2787 # Add NAME to the list of names.
2788 names
="$names $name"
2790 # Find the parent of NAME, using the empty string if it has none.
2791 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
2793 # Add the names implied by NAME, and NAME's parent (if it has one), to
2794 # the list of names to be processed (the argument list). We prepend the
2795 # implied names to the list and append the parent. We want implied
2796 # directories to come before further directories inferred from the
2797 # configuration components; this ensures that for sysv4, unix/common
2798 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
2800 sysnames
="`echo $implied $* $parent`"
2801 test -n "$sysnames" && set $sysnames
2804 # Add the default directories.
2805 default_sysnames
=sysdeps
/generic
2806 if test "$elf" = yes; then
2807 default_sysnames
="sysdeps/generic/elf $default_sysnames"
2809 sysnames
="$names $default_sysnames"
2811 # The other names were emitted during the scan.
2812 { echo "$as_me:$LINENO: result: $default_sysnames" >&5
2813 echo "${ECHO_T}$default_sysnames" >&6; }
2815 # Collect the list of add-ons that supply partial sysdeps trees.
2817 for add_on
in $add_ons; do
2820 *) xsrcdir
="$srcdir/" ;;
2823 test -d "$xsrcdir$add_on/sysdeps" ||
{
2824 case "$configured_add_ons " in
2827 { { echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
2828 echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
2829 { (exit 1); exit 1; }; }
2835 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
2836 case "$sysnames_add_ons" in
2839 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
2840 echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
2845 for d
in $sysnames; do
2847 $add_on/sysdeps
/*) ;;
2850 (cd "$xsrcdir$d" && for f
in *[!~
]; do
2853 for ff
in $f/*.h
; do
2854 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
2858 test -d "$f" ||
{ test -e "$f" && exit 88; }
2862 if test $?
-eq 88; then
2867 if test $found = no
; then
2868 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
2869 echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
2877 # Find a good install program. We prefer a C program (faster),
2878 # so one script is as good as another. But avoid the broken or
2879 # incompatible versions:
2880 # SysV /etc/install, /usr/sbin/install
2881 # SunOS /usr/etc/install
2882 # IRIX /sbin/install
2884 # AmigaOS /C/install, which installs bootblocks on floppy discs
2885 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2886 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2887 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2888 # OS/2's system install, which has a completely different semantic
2889 # ./install, which can be erroneously created by make from ./install.sh.
2890 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2891 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2892 if test -z "$INSTALL"; then
2893 if test "${ac_cv_path_install+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir
=.
2901 # Account for people who put trailing slashes in PATH elements.
2903 .
/ | .
// |
/cC
/* | \
2904 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2905 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2908 # OSF1 and SCO ODT 3.0 have their own names for install.
2909 # Don't use installbsd from OSF since it installs stuff as root
2911 for ac_prog
in ginstall scoinst
install; do
2912 for ac_exec_ext
in '' $ac_executable_extensions; do
2913 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2914 if test $ac_prog = install &&
2915 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2916 # AIX install. It has an incompatible calling convention.
2918 elif test $ac_prog = install &&
2919 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2920 # program-specific install script used by HP pwplus--don't use.
2923 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2936 if test "${ac_cv_path_install+set}" = set; then
2937 INSTALL
=$ac_cv_path_install
2939 # As a last resort, use the slow shell script. Don't cache a
2940 # value for INSTALL within a source directory, because that will
2941 # break other packages using the cache if that directory is
2942 # removed, or if the value is a relative name.
2943 INSTALL
=$ac_install_sh
2946 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2947 echo "${ECHO_T}$INSTALL" >&6; }
2949 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2950 # It thinks the first close brace ends the variable substitution.
2951 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2953 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2955 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2957 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
2958 # The makefiles need to use a different form to find it in $srcdir.
2959 INSTALL
='\$(..)./scripts/install-sh -c'
2961 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2962 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2964 if test "$LN_S" = "ln -s"; then
2965 { echo "$as_me:$LINENO: result: yes" >&5
2966 echo "${ECHO_T}yes" >&6; }
2968 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2969 echo "${ECHO_T}no, using $LN_S" >&6; }
2974 ac_cpp
='$CPP $CPPFLAGS'
2975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2978 if test -n "$ac_tool_prefix"; then
2979 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2980 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2983 if test "${ac_cv_prog_CC+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC
="$CC" # Let the user override the test.
2989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir
=.
2994 for ac_exec_ext
in '' $ac_executable_extensions; do
2995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2996 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 if test -n "$CC"; then
3008 { echo "$as_me:$LINENO: result: $CC" >&5
3009 echo "${ECHO_T}$CC" >&6; }
3011 { echo "$as_me:$LINENO: result: no" >&5
3012 echo "${ECHO_T}no" >&6; }
3017 if test -z "$ac_cv_prog_CC"; then
3019 # Extract the first word of "gcc", so it can be a program name with args.
3020 set dummy gcc
; ac_word
=$2
3021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3026 if test -n "$ac_ct_CC"; then
3027 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir
=.
3034 for ac_exec_ext
in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_ac_ct_CC
="gcc"
3037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3047 if test -n "$ac_ct_CC"; then
3048 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3049 echo "${ECHO_T}$ac_ct_CC" >&6; }
3051 { echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6; }
3055 if test "x$ac_ct_CC" = x
; then
3058 case $cross_compiling:$ac_tool_warned in
3060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3061 whose name does not start with the host triplet. If you think this
3062 configuration is useful to you, please write to autoconf@gnu.org." >&5
3063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3064 whose name does not start with the host triplet. If you think this
3065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3066 ac_tool_warned
=yes ;;
3074 if test -z "$CC"; then
3075 if test -n "$ac_tool_prefix"; then
3076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3077 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3080 if test "${ac_cv_prog_CC+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 if test -n "$CC"; then
3084 ac_cv_prog_CC
="$CC" # Let the user override the test.
3086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3090 test -z "$as_dir" && as_dir
=.
3091 for ac_exec_ext
in '' $ac_executable_extensions; do
3092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3093 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 if test -n "$CC"; then
3105 { echo "$as_me:$LINENO: result: $CC" >&5
3106 echo "${ECHO_T}$CC" >&6; }
3108 { echo "$as_me:$LINENO: result: no" >&5
3109 echo "${ECHO_T}no" >&6; }
3115 if test -z "$CC"; then
3116 # Extract the first word of "cc", so it can be a program name with args.
3117 set dummy cc
; ac_word
=$2
3118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3120 if test "${ac_cv_prog_CC+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 if test -n "$CC"; then
3124 ac_cv_prog_CC
="$CC" # Let the user override the test.
3127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir
=.
3132 for ac_exec_ext
in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3135 ac_prog_rejected
=yes
3139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 if test $ac_prog_rejected = yes; then
3147 # We found a bogon in the path, so make sure we never use it.
3148 set dummy
$ac_cv_prog_CC
3150 if test $# != 0; then
3151 # We chose a different compiler from the bogus one.
3152 # However, it has the same basename, so the bogon will be chosen
3153 # first if we set CC to just the basename; use the full file name.
3155 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3161 if test -n "$CC"; then
3162 { echo "$as_me:$LINENO: result: $CC" >&5
3163 echo "${ECHO_T}$CC" >&6; }
3165 { echo "$as_me:$LINENO: result: no" >&5
3166 echo "${ECHO_T}no" >&6; }
3171 if test -z "$CC"; then
3172 if test -n "$ac_tool_prefix"; then
3173 for ac_prog
in cl.exe
3175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3176 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3179 if test "${ac_cv_prog_CC+set}" = set; then
3180 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 if test -n "$CC"; then
3183 ac_cv_prog_CC
="$CC" # Let the user override the test.
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test -n "$CC"; then
3204 { echo "$as_me:$LINENO: result: $CC" >&5
3205 echo "${ECHO_T}$CC" >&6; }
3207 { echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6; }
3212 test -n "$CC" && break
3215 if test -z "$CC"; then
3217 for ac_prog
in cl.exe
3219 # Extract the first word of "$ac_prog", so it can be a program name with args.
3220 set dummy
$ac_prog; ac_word
=$2
3221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6
3226 if test -n "$ac_ct_CC"; then
3227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir
=.
3234 for ac_exec_ext
in '' $ac_executable_extensions; do
3235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3236 ac_cv_prog_ac_ct_CC
="$ac_prog"
3237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3247 if test -n "$ac_ct_CC"; then
3248 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3249 echo "${ECHO_T}$ac_ct_CC" >&6; }
3251 { echo "$as_me:$LINENO: result: no" >&5
3252 echo "${ECHO_T}no" >&6; }
3256 test -n "$ac_ct_CC" && break
3259 if test "x$ac_ct_CC" = x
; then
3262 case $cross_compiling:$ac_tool_warned in
3264 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3265 whose name does not start with the host triplet. If you think this
3266 configuration is useful to you, please write to autoconf@gnu.org." >&5
3267 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3268 whose name does not start with the host triplet. If you think this
3269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3270 ac_tool_warned
=yes ;;
3279 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3280 See \`config.log' for more details." >&5
3281 echo "$as_me: error: no acceptable C compiler found in \$PATH
3282 See \`config.log' for more details." >&2;}
3283 { (exit 1); exit 1; }; }
3285 # Provide some information about the compiler.
3286 echo "$as_me:$LINENO: checking for C compiler version" >&5
3287 ac_compiler
=`set X $ac_compile; echo $2`
3288 { (ac_try
="$ac_compiler --version >&5"
3290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_compiler --version >&5") 2>&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }
3298 { (ac_try="$ac_compiler -v >&5"
3300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3301 *) ac_try_echo
=$ac_try;;
3303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_compiler -v >&5") 2>&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }
3308 { (ac_try
="$ac_compiler -V >&5"
3310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_compiler -V >&5") 2>&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); }
3320 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3321 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3322 if test "${ac_cv_objext+set}" = set; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 cat >conftest.$ac_ext <<_ACEOF
3328 cat confdefs.h >>conftest.$ac_ext
3329 cat >>conftest.$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3340 rm -f conftest.o conftest.obj
3341 if { (ac_try="$ac_compile"
3343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3344 *) ac_try_echo
=$ac_try;;
3346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3347 (eval "$ac_compile") 2>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; then
3351 for ac_file
in conftest.o conftest.obj conftest.
*; do
3352 test -f "$ac_file" ||
continue;
3354 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf
) ;;
3355 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3360 echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.
$ac_ext >&5
3363 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3364 See \`config.log' for more details." >&5
3365 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3366 See \`config.log' for more details." >&2;}
3367 { (exit 1); exit 1; }; }
3370 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3372 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3373 echo "${ECHO_T}$ac_cv_objext" >&6; }
3374 OBJEXT
=$ac_cv_objext
3376 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3377 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3378 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 cat >conftest.
$ac_ext <<_ACEOF
3384 cat confdefs.h
>>conftest.
$ac_ext
3385 cat >>conftest.
$ac_ext <<_ACEOF
3386 /* end confdefs.h. */
3399 rm -f conftest.
$ac_objext
3400 if { (ac_try
="$ac_compile"
3402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3406 (eval "$ac_compile") 2>conftest.er1
3408 grep -v '^ *+' conftest.er1 >conftest.err
3410 cat conftest.err >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } && {
3413 test -z "$ac_c_werror_flag" ||
3414 test ! -s conftest.err
3415 } && test -s conftest.$ac_objext; then
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.$ac_ext >&5
3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3428 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3429 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3430 GCC=`test $ac_compiler_gnu = yes && echo yes`
3431 ac_test_CFLAGS=${CFLAGS+set}
3432 ac_save_CFLAGS=$CFLAGS
3433 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3434 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3435 if test "${ac_cv_prog_cc_g+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 ac_save_c_werror_flag=$ac_c_werror_flag
3439 ac_c_werror_flag=yes
3442 cat >conftest.$ac_ext <<_ACEOF
3445 cat confdefs.h >>conftest.$ac_ext
3446 cat >>conftest.$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3457 rm -f conftest.$ac_objext
3458 if { (ac_try="$ac_compile"
3460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3461 *) ac_try_echo
=$ac_try;;
3463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3464 (eval "$ac_compile") 2>conftest.er1
3466 grep -v '^ *+' conftest.er1
>conftest.err
3468 cat conftest.err
>&5
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); } && {
3471 test -z "$ac_c_werror_flag" ||
3472 test ! -s conftest.err
3473 } && test -s conftest.
$ac_objext; then
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.
$ac_ext >&5
3480 cat >conftest.
$ac_ext <<_ACEOF
3483 cat confdefs.h
>>conftest.
$ac_ext
3484 cat >>conftest.
$ac_ext <<_ACEOF
3485 /* end confdefs.h. */
3495 rm -f conftest.
$ac_objext
3496 if { (ac_try
="$ac_compile"
3498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3499 *) ac_try_echo=$ac_try;;
3501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3502 (eval "$ac_compile") 2>conftest.er1
3504 grep -v '^ *+' conftest.er1 >conftest.err
3506 cat conftest.err >&5
3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); } && {
3509 test -z "$ac_c_werror_flag" ||
3510 test ! -s conftest.err
3511 } && test -s conftest.$ac_objext; then
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.$ac_ext >&5
3517 ac_c_werror_flag=$ac_save_c_werror_flag
3519 cat >conftest.$ac_ext <<_ACEOF
3522 cat confdefs.h >>conftest.$ac_ext
3523 cat >>conftest.$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3534 rm -f conftest.$ac_objext
3535 if { (ac_try="$ac_compile"
3537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3538 *) ac_try_echo
=$ac_try;;
3540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3541 (eval "$ac_compile") 2>conftest.er1
3543 grep -v '^ *+' conftest.er1
>conftest.err
3545 cat conftest.err
>&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); } && {
3548 test -z "$ac_c_werror_flag" ||
3549 test ! -s conftest.err
3550 } && test -s conftest.
$ac_objext; then
3553 echo "$as_me: failed program was:" >&5
3554 sed 's/^/| /' conftest.
$ac_ext >&5
3559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3566 ac_c_werror_flag
=$ac_save_c_werror_flag
3568 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3569 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3570 if test "$ac_test_CFLAGS" = set; then
3571 CFLAGS
=$ac_save_CFLAGS
3572 elif test $ac_cv_prog_cc_g = yes; then
3573 if test "$GCC" = yes; then
3579 if test "$GCC" = yes; then
3585 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3586 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3587 if test "${ac_cv_prog_cc_c89+set}" = set; then
3588 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 ac_cv_prog_cc_c89
=no
3592 cat >conftest.
$ac_ext <<_ACEOF
3595 cat confdefs.h
>>conftest.
$ac_ext
3596 cat >>conftest.
$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3600 #include <sys/types.h>
3601 #include <sys/stat.h>
3602 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3603 struct buf { int x; };
3604 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3605 static char *e (p, i)
3611 static char *f (char * (*g) (char **, int), char **p, ...)
3616 s = g (p, va_arg (v,int));
3621 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3622 function prototypes and stuff, but not '\xHH' hex character constants.
3623 These don't provoke an error unfortunately, instead are silently treated
3624 as 'x'. The following induces an error, until -std is added to get
3625 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3626 array size at least. It's necessary to write '\x00'==0 to get something
3627 that's true only with -std. */
3628 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3630 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3631 inside strings and character constants. */
3633 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3635 int test (int i, double x);
3636 struct s1 {int (*f) (int a);};
3637 struct s2 {int (*f) (double a);};
3638 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3644 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3649 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3650 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3652 CC
="$ac_save_CC $ac_arg"
3653 rm -f conftest.
$ac_objext
3654 if { (ac_try
="$ac_compile"
3656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3660 (eval "$ac_compile") 2>conftest.er1
3662 grep -v '^ *+' conftest.er1 >conftest.err
3664 cat conftest.err >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } && {
3667 test -z "$ac_c_werror_flag" ||
3668 test ! -s conftest.err
3669 } && test -s conftest.$ac_objext; then
3670 ac_cv_prog_cc_c89=$ac_arg
3672 echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.$ac_ext >&5
3678 rm -f core conftest.err conftest.$ac_objext
3679 test "x$ac_cv_prog_cc_c89" != "xno" && break
3681 rm -f conftest.$ac_ext
3686 case "x$ac_cv_prog_cc_c89" in
3688 { echo "$as_me:$LINENO: result: none needed" >&5
3689 echo "${ECHO_T}none needed" >&6; } ;;
3691 { echo "$as_me:$LINENO: result: unsupported" >&5
3692 echo "${ECHO_T}unsupported" >&6; } ;;
3694 CC="$CC $ac_cv_prog_cc_c89"
3695 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3696 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3701 ac_cpp='$CPP $CPPFLAGS'
3702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3706 if test $host != $build; then
3707 for ac_prog in gcc cc
3709 # Extract the first word of "$ac_prog", so it can be a program name with args.
3710 set dummy $ac_prog; ac_word=$2
3711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3713 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
3714 echo $ECHO_N "(cached) $ECHO_C" >&6
3716 if test -n "$BUILD_CC"; then
3717 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726 ac_cv_prog_BUILD_CC="$ac_prog"
3727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 BUILD_CC=$ac_cv_prog_BUILD_CC
3737 if test -n "$BUILD_CC"; then
3738 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
3739 echo "${ECHO_T}$BUILD_CC" >&6; }
3741 { echo "$as_me:$LINENO: result: no" >&5
3742 echo "${ECHO_T}no" >&6; }
3746 test -n "$BUILD_CC" && break
3752 ac_cpp='$CPP $CPPFLAGS'
3753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3756 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3757 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3758 # On Suns, sometimes $CPP names a directory.
3759 if test -n "$CPP" && test -d "$CPP"; then
3762 if test -z "$CPP"; then
3763 if test "${ac_cv_prog_CPP+set}" = set; then
3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3766 # Double quotes because CPP needs to be expanded
3767 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3770 for ac_c_preproc_warn_flag in '' yes
3772 # Use a header file that comes with gcc, so configuring glibc
3773 # with a fresh cross-compiler works.
3774 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3775 # <limits.h> exists even on freestanding compilers.
3776 # On the NeXT, cc -E runs the code through the compiler's parser,
3777 # not just through cpp. "Syntax error" is here to catch this case.
3778 cat >conftest.$ac_ext <<_ACEOF
3781 cat confdefs.h >>conftest.$ac_ext
3782 cat >>conftest.$ac_ext <<_ACEOF
3783 /* end confdefs.h. */
3785 # include <limits.h>
3787 # include <assert.h>
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3794 *) ac_try_echo
=$ac_try;;
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3799 grep -v '^ *+' conftest.er1
>conftest.err
3801 cat conftest.err
>&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev
/null
&& {
3804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.
$ac_ext >&5
3812 # Broken: fails on valid input.
3816 rm -f conftest.err conftest.
$ac_ext
3818 # OK, works on sane cases. Now check whether nonexistent headers
3819 # can be detected and how.
3820 cat >conftest.
$ac_ext <<_ACEOF
3823 cat confdefs.h
>>conftest.
$ac_ext
3824 cat >>conftest.
$ac_ext <<_ACEOF
3825 /* end confdefs.h. */
3826 #include <ac_nonexistent.h>
3828 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3831 *) ac_try_echo=$ac_try;;
3833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3836 grep -v '^ *+' conftest.er1 >conftest.err
3838 cat conftest.err >&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } >/dev/null && {
3841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3842 test ! -s conftest.err
3844 # Broken: success on invalid input.
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.$ac_ext >&5
3850 # Passes both tests.
3855 rm -f conftest.err conftest.$ac_ext
3858 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3859 rm -f conftest.err conftest.
$ac_ext
3860 if $ac_preproc_ok; then
3872 { echo "$as_me:$LINENO: result: $CPP" >&5
3873 echo "${ECHO_T}$CPP" >&6; }
3875 for ac_c_preproc_warn_flag
in '' yes
3877 # Use a header file that comes with gcc, so configuring glibc
3878 # with a fresh cross-compiler works.
3879 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3880 # <limits.h> exists even on freestanding compilers.
3881 # On the NeXT, cc -E runs the code through the compiler's parser,
3882 # not just through cpp. "Syntax error" is here to catch this case.
3883 cat >conftest.
$ac_ext <<_ACEOF
3886 cat confdefs.h
>>conftest.
$ac_ext
3887 cat >>conftest.
$ac_ext <<_ACEOF
3888 /* end confdefs.h. */
3890 # include <limits.h>
3892 # include <assert.h>
3896 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3904 grep -v '^ *+' conftest.er1 >conftest.err
3906 cat conftest.err >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } >/dev/null && {
3909 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3910 test ! -s conftest.err
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.$ac_ext >&5
3917 # Broken: fails on valid input.
3921 rm -f conftest.err conftest.$ac_ext
3923 # OK, works on sane cases. Now check whether nonexistent headers
3924 # can be detected and how.
3925 cat >conftest.$ac_ext <<_ACEOF
3928 cat confdefs.h >>conftest.$ac_ext
3929 cat >>conftest.$ac_ext <<_ACEOF
3930 /* end confdefs.h. */
3931 #include <ac_nonexistent.h>
3933 if { (ac_try="$ac_cpp conftest.$ac_ext"
3935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3936 *) ac_try_echo
=$ac_try;;
3938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3941 grep -v '^ *+' conftest.er1
>conftest.err
3943 cat conftest.err
>&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); } >/dev
/null
&& {
3946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3947 test ! -s conftest.err
3949 # Broken: success on invalid input.
3952 echo "$as_me: failed program was:" >&5
3953 sed 's/^/| /' conftest.
$ac_ext >&5
3955 # Passes both tests.
3960 rm -f conftest.err conftest.
$ac_ext
3963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3964 rm -f conftest.err conftest.
$ac_ext
3965 if $ac_preproc_ok; then
3968 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3969 See \`config.log' for more details." >&5
3970 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3971 See \`config.log' for more details." >&2;}
3972 { (exit 1); exit 1; }; }
3976 ac_cpp
='$CPP $CPPFLAGS'
3977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3981 # We need the C++ compiler only for testing.
3983 ac_cpp
='$CXXCPP $CPPFLAGS'
3984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3987 if test -z "$CXX"; then
3988 if test -n "$CCC"; then
3991 if test -n "$ac_tool_prefix"; then
3992 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3995 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3998 if test "${ac_cv_prog_CXX+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 if test -n "$CXX"; then
4002 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4008 test -z "$as_dir" && as_dir
=.
4009 for ac_exec_ext
in '' $ac_executable_extensions; do
4010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4011 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 if test -n "$CXX"; then
4023 { echo "$as_me:$LINENO: result: $CXX" >&5
4024 echo "${ECHO_T}$CXX" >&6; }
4026 { echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6; }
4031 test -n "$CXX" && break
4034 if test -z "$CXX"; then
4036 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4038 # Extract the first word of "$ac_prog", so it can be a program name with args.
4039 set dummy
$ac_prog; ac_word
=$2
4040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4042 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 if test -n "$ac_ct_CXX"; then
4046 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4052 test -z "$as_dir" && as_dir
=.
4053 for ac_exec_ext
in '' $ac_executable_extensions; do
4054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4055 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4066 if test -n "$ac_ct_CXX"; then
4067 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4068 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4070 { echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6; }
4075 test -n "$ac_ct_CXX" && break
4078 if test "x$ac_ct_CXX" = x
; then
4081 case $cross_compiling:$ac_tool_warned in
4083 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4084 whose name does not start with the host triplet. If you think this
4085 configuration is useful to you, please write to autoconf@gnu.org." >&5
4086 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4087 whose name does not start with the host triplet. If you think this
4088 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4089 ac_tool_warned
=yes ;;
4097 # Provide some information about the compiler.
4098 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4099 ac_compiler
=`set X $ac_compile; echo $2`
4100 { (ac_try
="$ac_compiler --version >&5"
4102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4106 (eval "$ac_compiler --version >&5") 2>&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); }
4110 { (ac_try="$ac_compiler -v >&5"
4112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4113 *) ac_try_echo
=$ac_try;;
4115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4116 (eval "$ac_compiler -v >&5") 2>&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }
4120 { (ac_try
="$ac_compiler -V >&5"
4122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4126 (eval "$ac_compiler -V >&5") 2>&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }
4131 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4132 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4133 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 cat >conftest.$ac_ext <<_ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4154 rm -f conftest.$ac_objext
4155 if { (ac_try="$ac_compile"
4157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4158 *) ac_try_echo
=$ac_try;;
4160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161 (eval "$ac_compile") 2>conftest.er1
4163 grep -v '^ *+' conftest.er1
>conftest.err
4165 cat conftest.err
>&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); } && {
4168 test -z "$ac_cxx_werror_flag" ||
4169 test ! -s conftest.err
4170 } && test -s conftest.
$ac_objext; then
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.
$ac_ext >&5
4179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4180 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4183 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4184 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4185 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4186 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4187 ac_save_CXXFLAGS
=$CXXFLAGS
4188 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4189 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4190 if test "${ac_cv_prog_cxx_g+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4194 ac_cxx_werror_flag
=yes
4197 cat >conftest.
$ac_ext <<_ACEOF
4200 cat confdefs.h
>>conftest.
$ac_ext
4201 cat >>conftest.
$ac_ext <<_ACEOF
4202 /* end confdefs.h. */
4212 rm -f conftest.
$ac_objext
4213 if { (ac_try
="$ac_compile"
4215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4219 (eval "$ac_compile") 2>conftest.er1
4221 grep -v '^ *+' conftest.er1 >conftest.err
4223 cat conftest.err >&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); } && {
4226 test -z "$ac_cxx_werror_flag" ||
4227 test ! -s conftest.err
4228 } && test -s conftest.$ac_objext; then
4229 ac_cv_prog_cxx_g=yes
4231 echo "$as_me: failed program was:" >&5
4232 sed 's/^/| /' conftest.$ac_ext >&5
4235 cat >conftest.$ac_ext <<_ACEOF
4238 cat confdefs.h >>conftest.$ac_ext
4239 cat >>conftest.$ac_ext <<_ACEOF
4240 /* end confdefs.h. */
4250 rm -f conftest.$ac_objext
4251 if { (ac_try="$ac_compile"
4253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4254 *) ac_try_echo
=$ac_try;;
4256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4257 (eval "$ac_compile") 2>conftest.er1
4259 grep -v '^ *+' conftest.er1
>conftest.err
4261 cat conftest.err
>&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); } && {
4264 test -z "$ac_cxx_werror_flag" ||
4265 test ! -s conftest.err
4266 } && test -s conftest.
$ac_objext; then
4269 echo "$as_me: failed program was:" >&5
4270 sed 's/^/| /' conftest.
$ac_ext >&5
4272 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4274 cat >conftest.
$ac_ext <<_ACEOF
4277 cat confdefs.h
>>conftest.
$ac_ext
4278 cat >>conftest.
$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4289 rm -f conftest.
$ac_objext
4290 if { (ac_try
="$ac_compile"
4292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_compile") 2>conftest.er1
4298 grep -v '^ *+' conftest.er1 >conftest.err
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_cxx_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest.$ac_objext; then
4306 ac_cv_prog_cxx_g=yes
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4321 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4323 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4324 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4325 if test "$ac_test_CXXFLAGS" = set; then
4326 CXXFLAGS=$ac_save_CXXFLAGS
4327 elif test $ac_cv_prog_cxx_g = yes; then
4328 if test "$GXX" = yes; then
4334 if test "$GXX" = yes; then
4341 ac_cpp='$CPP $CPPFLAGS'
4342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 # Was a --with-binutils option given?
4347 if test -n "$path_binutils"; then
4348 # Make absolute; ensure a single trailing slash.
4349 path_binutils=`(cd $path_binutils; pwd) |
sed 's%/*$%/%'`
4350 CC="$CC -B$path_binutils"
4352 AS=`$CC -print-prog-name=as
`
4353 LD=`$CC -print-prog-name=ld
`
4354 AR=`$CC -print-prog-name=ar`
4356 OBJDUMP=`$CC -print-prog-name=objdump
`
4359 # ranlib has to be treated a bit differently since it might not exist at all.
4360 ac_ranlib=`$CC -print-prog-name=ranlib
`
4361 if test "x$ac_ranlib" = xranlib; then
4362 # This extra check has to happen since gcc simply echos the parameter in
4363 # case it cannot find the value in its own directories.
4364 if test -n "$ac_tool_prefix"; then
4365 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4366 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4369 if test "${ac_cv_prog_RANLIB+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 if test -n "$RANLIB"; then
4373 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 test -z "$as_dir" && as_dir=.
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 RANLIB=$ac_cv_prog_RANLIB
4393 if test -n "$RANLIB"; then
4394 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4395 echo "${ECHO_T}$RANLIB" >&6; }
4397 { echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6; }
4403 if test -z "$ac_cv_prog_RANLIB"; then
4404 ac_ct_RANLIB=$RANLIB
4405 # Extract the first word of "ranlib", so it can be a program name with args.
4406 set dummy ranlib; ac_word=$2
4407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4409 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 if test -n "$ac_ct_RANLIB"; then
4413 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir=.
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_prog_ac_ct_RANLIB="ranlib"
4423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4433 if test -n "$ac_ct_RANLIB"; then
4434 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4435 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4437 { echo "$as_me:$LINENO: result: no" >&5
4438 echo "${ECHO_T}no" >&6; }
4441 if test "x$ac_ct_RANLIB" = x; then
4444 case $cross_compiling:$ac_tool_warned in
4446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4447 whose name does not start with the host triplet. If you think this
4448 configuration is useful to you, please write to autoconf@gnu.org." >&5
4449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4450 whose name does not start with the host triplet. If you think this
4451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4452 ac_tool_warned=yes ;;
4454 RANLIB=$ac_ct_RANLIB
4457 RANLIB="$ac_cv_prog_RANLIB"
4465 # Determine whether we are using GNU binutils.
4466 { echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4467 echo $ECHO_N "checking whether $AS is GNU as... $ECHO_C" >&6; }
4468 if test "${libc_cv_prog_as_gnu+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 # Most GNU programs take a -v and spit out some text including
4472 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4473 if $AS -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4474 libc_cv_prog_as_gnu=yes
4476 libc_cv_prog_as_gnu=no
4480 { echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4481 echo "${ECHO_T}$libc_cv_prog_as_gnu" >&6; }
4483 gnu_as=$libc_cv_prog_as_gnu
4485 { echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4486 echo $ECHO_N "checking whether $LD is GNU ld... $ECHO_C" >&6; }
4487 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 # Most GNU programs take a -v and spit out some text including
4491 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4492 if $LD -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4493 libc_cv_prog_ld_gnu=yes
4495 libc_cv_prog_ld_gnu=no
4499 { echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4500 echo "${ECHO_T}$libc_cv_prog_ld_gnu" >&6; }
4501 gnu_ld=$libc_cv_prog_ld_gnu
4504 # Accept binutils 2.13 or newer.
4507 # Extract the first word of "$ac_prog", so it can be a program name with args.
4508 set dummy $ac_prog; ac_word=$2
4509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4511 if test "${ac_cv_prog_AS+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 if test -n "$AS"; then
4515 ac_cv_prog_AS="$AS" # Let the user override the test.
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4524 ac_cv_prog_AS="$ac_prog"
4525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 if test -n "$AS"; then
4536 { echo "$as_me:$LINENO: result: $AS" >&5
4537 echo "${ECHO_T}$AS" >&6; }
4539 { echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6; }
4544 test -n "$AS" && break
4547 if test -z "$AS"; then
4550 # Found it, now check the version.
4551 { echo "$as_me:$LINENO: checking version of $AS" >&5
4552 echo $ECHO_N "checking version of $AS... $ECHO_C" >&6; }
4553 ac_prog_version=`$AS --version 2>&1 |
sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4554 case $ac_prog_version in
4555 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4556 2.1[3-9]*|[2-9].[2-9]*)
4557 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4558 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4561 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4562 echo "${ECHO_T}$ac_prog_version" >&6; }
4564 if test $ac_verc_fail = yes; then
4565 AS=: critic_missing="$critic_missing as"
4570 # Extract the first word of "$ac_prog", so it can be a program name with args.
4571 set dummy $ac_prog; ac_word=$2
4572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4574 if test "${ac_cv_prog_LD+set}" = set; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 if test -n "$LD"; then
4578 ac_cv_prog_LD="$LD" # Let the user override the test.
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4587 ac_cv_prog_LD="$ac_prog"
4588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 if test -n "$LD"; then
4599 { echo "$as_me:$LINENO: result: $LD" >&5
4600 echo "${ECHO_T}$LD" >&6; }
4602 { echo "$as_me:$LINENO: result: no" >&5
4603 echo "${ECHO_T}no" >&6; }
4607 test -n "$LD" && break
4610 if test -z "$LD"; then
4613 # Found it, now check the version.
4614 { echo "$as_me:$LINENO: checking version of $LD" >&5
4615 echo $ECHO_N "checking version of $LD... $ECHO_C" >&6; }
4616 ac_prog_version=`$LD --version 2>&1 |
sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4617 case $ac_prog_version in
4618 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4619 2.1[3-9]*|[2-9].[2-9]*)
4620 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4621 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4624 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4625 echo "${ECHO_T}$ac_prog_version" >&6; }
4627 if test $ac_verc_fail = yes; then
4628 LD=: critic_missing="$critic_missing ld"
4632 # We need the physical current working directory. We cannot use the
4633 # "pwd -P" shell builtin since that's not portable. Instead we try to
4634 # find a pwd binary. Note that assigning to the PWD environment
4635 # variable might have some interesting side effects, so we don't do
4637 # Extract the first word of "pwd", so it can be a program name with args.
4638 set dummy pwd; ac_word=$2
4639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4641 if test "${ac_cv_path_PWD_P+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 ac_cv_path_PWD_P="$PWD_P" # Let the user override the test with a path.
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4656 ac_cv_path_PWD_P="$as_dir/$ac_word$ac_exec_ext"
4657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P="no"
4668 PWD_P=$ac_cv_path_PWD_P
4669 if test -n "$PWD_P"; then
4670 { echo "$as_me:$LINENO: result: $PWD_P" >&5
4671 echo "${ECHO_T}$PWD_P" >&6; }
4673 { echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6; }
4678 if test "$PWD_P" = no; then
4679 { { echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4680 echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4681 { (exit 1); exit 1; }; }
4684 # These programs are version sensitive.
4686 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
4688 # Extract the first word of "$ac_prog", so it can be a program name with args.
4689 set dummy $ac_prog; ac_word=$2
4690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4692 if test "${ac_cv_prog_CC+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 if test -n "$CC"; then
4696 ac_cv_prog_CC="$CC" # Let the user override the test.
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir=.
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4705 ac_cv_prog_CC="$ac_prog"
4706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 if test -n "$CC"; then
4717 { echo "$as_me:$LINENO: result: $CC" >&5
4718 echo "${ECHO_T}$CC" >&6; }
4720 { echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6; }
4725 test -n "$CC" && break
4728 if test -z "$CC"; then
4731 # Found it, now check the version.
4732 { echo "$as_me:$LINENO: checking version of $CC" >&5
4733 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6; }
4734 ac_prog_version=`$CC -v 2>&1 |
sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
4735 case $ac_prog_version in
4736 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4738 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4739 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4742 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4743 echo "${ECHO_T}$ac_prog_version" >&6; }
4745 if test $ac_verc_fail = yes; then
4746 critic_missing="$critic_missing gcc"
4749 for ac_prog in gnumake gmake make
4751 # Extract the first word of "$ac_prog", so it can be a program name with args.
4752 set dummy $ac_prog; ac_word=$2
4753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4755 if test "${ac_cv_prog_MAKE+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4758 if test -n "$MAKE"; then
4759 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir=.
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4768 ac_cv_prog_MAKE="$ac_prog"
4769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 MAKE=$ac_cv_prog_MAKE
4779 if test -n "$MAKE"; then
4780 { echo "$as_me:$LINENO: result: $MAKE" >&5
4781 echo "${ECHO_T}$MAKE" >&6; }
4783 { echo "$as_me:$LINENO: result: no" >&5
4784 echo "${ECHO_T}no" >&6; }
4788 test -n "$MAKE" && break
4791 if test -z "$MAKE"; then
4794 # Found it, now check the version.
4795 { echo "$as_me:$LINENO: checking version of $MAKE" >&5
4796 echo $ECHO_N "checking version of $MAKE... $ECHO_C" >&6; }
4797 ac_prog_version=`$MAKE --version 2>&1 |
sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4798 case $ac_prog_version in
4799 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4801 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4802 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4805 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4806 echo "${ECHO_T}$ac_prog_version" >&6; }
4808 if test $ac_verc_fail = yes; then
4809 critic_missing="$critic_missing make"
4813 for ac_prog in gnumsgfmt gmsgfmt msgfmt
4815 # Extract the first word of "$ac_prog", so it can be a program name with args.
4816 set dummy $ac_prog; ac_word=$2
4817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4819 if test "${ac_cv_prog_MSGFMT+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 if test -n "$MSGFMT"; then
4823 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4832 ac_cv_prog_MSGFMT="$ac_prog"
4833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 MSGFMT=$ac_cv_prog_MSGFMT
4843 if test -n "$MSGFMT"; then
4844 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4845 echo "${ECHO_T}$MSGFMT" >&6; }
4847 { echo "$as_me:$LINENO: result: no" >&5
4848 echo "${ECHO_T}no" >&6; }
4852 test -n "$MSGFMT" && break
4855 if test -z "$MSGFMT"; then
4858 # Found it, now check the version.
4859 { echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
4860 echo $ECHO_N "checking version of $MSGFMT... $ECHO_C" >&6; }
4861 ac_prog_version=`$MSGFMT --version 2>&1 |
sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4862 case $ac_prog_version in
4863 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4864 0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
4865 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4866 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4869 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4870 echo "${ECHO_T}$ac_prog_version" >&6; }
4872 if test $ac_verc_fail = yes; then
4873 MSGFMT=: aux_missing="$aux_missing msgfmt"
4876 for ac_prog in makeinfo
4878 # Extract the first word of "$ac_prog", so it can be a program name with args.
4879 set dummy $ac_prog; ac_word=$2
4880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4882 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 if test -n "$MAKEINFO"; then
4886 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895 ac_cv_prog_MAKEINFO="$ac_prog"
4896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 MAKEINFO=$ac_cv_prog_MAKEINFO
4906 if test -n "$MAKEINFO"; then
4907 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
4908 echo "${ECHO_T}$MAKEINFO" >&6; }
4910 { echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6; }
4915 test -n "$MAKEINFO" && break
4918 if test -z "$MAKEINFO"; then
4921 # Found it, now check the version.
4922 { echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
4923 echo $ECHO_N "checking version of $MAKEINFO... $ECHO_C" >&6; }
4924 ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4925 case $ac_prog_version in
4926 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4928 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4929 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4932 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4933 echo "${ECHO_T}$ac_prog_version" >&6; }
4935 if test $ac_verc_fail = yes; then
4936 MAKEINFO=: aux_missing="$aux_missing makeinfo"
4941 # Extract the first word of "$ac_prog", so it can be a program name with args.
4942 set dummy $ac_prog; ac_word=$2
4943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4945 if test "${ac_cv_prog_SED+set}" = set; then
4946 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 if test -n "$SED"; then
4949 ac_cv_prog_SED="$SED" # Let the user override the test.
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir=.
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4958 ac_cv_prog_SED="$ac_prog"
4959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 if test -n "$SED"; then
4970 { echo "$as_me:$LINENO: result: $SED" >&5
4971 echo "${ECHO_T}$SED" >&6; }
4973 { echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6; }
4978 test -n "$SED" && break
4981 if test -z "$SED"; then
4984 # Found it, now check the version.
4985 { echo "$as_me:$LINENO: checking version of $SED" >&5
4986 echo $ECHO_N "checking version of $SED... $ECHO_C" >&6; }
4987 ac_prog_version=`$SED --version 2>&1 |
sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
4988 case $ac_prog_version in
4989 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4990 3.0[2-9]*|3.[1-9]*|[4-9]*)
4991 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4992 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4995 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4996 echo "${ECHO_T}$ac_prog_version" >&6; }
4998 if test $ac_verc_fail = yes; then
4999 SED=: aux_missing="$aux_missing sed"
5003 for ac_prog in autoconf
5005 # Extract the first word of "$ac_prog", so it can be a program name with args.
5006 set dummy $ac_prog; ac_word=$2
5007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5009 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 if test -n "$AUTOCONF"; then
5013 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir=.
5020 for ac_exec_ext in '' $ac_executable_extensions; do
5021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5022 ac_cv_prog_AUTOCONF="$ac_prog"
5023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 AUTOCONF=$ac_cv_prog_AUTOCONF
5033 if test -n "$AUTOCONF"; then
5034 { echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5035 echo "${ECHO_T}$AUTOCONF" >&6; }
5037 { echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6; }
5042 test -n "$AUTOCONF" && break
5044 test -n "$AUTOCONF" || AUTOCONF="no"
5046 case "x$AUTOCONF" in
5047 xno|x|x:) AUTOCONF=no ;;
5049 { echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5050 echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6; }
5051 if test "${libc_cv_autoconf_works+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
5055 libc_cv_autoconf_works=yes
5057 libc_cv_autoconf_works=no
5060 { echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5061 echo "${ECHO_T}$libc_cv_autoconf_works" >&6; }
5062 test $libc_cv_autoconf_works = yes || AUTOCONF=no
5065 if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
5066 # If --without-cvs they probably won't change configure.in, so no complaints.
5067 aux_missing="$aux_missing autoconf"
5070 test -n "$critic_missing" && { { echo "$as_me:$LINENO: error:
5071 *** These critical programs are missing or too old:$critic_missing
5072 *** Check the INSTALL file for required versions." >&5
5073 echo "$as_me: error:
5074 *** These critical programs are missing or too old:$critic_missing
5075 *** Check the INSTALL file for required versions." >&2;}
5076 { (exit 1); exit 1; }; }
5078 test -n "$aux_missing" && { echo "$as_me:$LINENO: WARNING:
5079 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5080 *** some features will be disabled.
5081 *** Check the INSTALL file for required versions." >&5
5082 echo "$as_me: WARNING:
5083 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5084 *** some features will be disabled.
5085 *** Check the INSTALL file for required versions." >&2;}
5087 # if using special system headers, find out the compiler's sekrit
5088 # header directory and add that to the list. NOTE: Only does the right
5089 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5090 if test -n "$sysheaders"; then
5091 SYSINCLUDES=-nostdinc
5092 for d in include include-fixed; do
5093 i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
5094 SYSINCLUDES="$SYSINCLUDES -isystem $i"
5096 SYSINCLUDES="$SYSINCLUDES \
5097 -isystem `echo $sysheaders |
sed 's/:/ -isystem /g'`"
5098 if test -n "$CXX"; then
5099 cxxversion=`$CXX -dumpversion 2>&5` &&
5100 cxxmachine=`$CXX -dumpmachine 2>&5` &&
5101 cxxheaders=`$CXX -print-file-name=..
/..
/..
/..
/include
/c
++/`"$cxxversion" &&
5102 CXX_SYSINCLUDES="-isystem $cxxheaders \
5103 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5109 # check if ranlib is necessary
5110 { echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5111 echo $ECHO_N "checking whether ranlib is necessary... $ECHO_C" >&6; }
5112 if test "${libc_cv_ranlib_necessary+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 cat > conftest.c <<EOF
5120 $CC $CFLAGS $CPPFLAGS -c conftest.c
5121 $AR cr conftest.a conftest.o
5122 cp conftest.a conftest2.a
5124 if cmp -s conftest.a conftest2.a; then
5125 libc_cv_ranlib_necessary=no
5127 libc_cv_ranlib_necessary=yes
5131 { echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5132 echo "${ECHO_T}$libc_cv_ranlib_necessary" >&6; }
5133 if test "$libc_cv_ranlib_necessary" = no; then
5137 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5138 # since this would lead to problems installing/building glibc.
5139 # LD_LIBRARY_PATH contains the current directory if one of the following
5141 # - one of the terminals (":" and ";") is the first or last sign
5142 # - two terminals occur directly after each other
5143 # - the path contains an element with a dot in it
5144 { echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5145 echo $ECHO_N "checking LD_LIBRARY_PATH variable... $ECHO_C" >&6; }
5146 case ${LD_LIBRARY_PATH} in
5147 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
5148 ld_library_path_setting="contains current directory"
5151 ld_library_path_setting="ok"
5154 { echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5155 echo "${ECHO_T}$ld_library_path_setting" >&6; }
5156 if test "$ld_library_path_setting" != "ok"; then
5157 { { echo "$as_me:$LINENO: error:
5158 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5159 *** building glibc. Please change the environment variable
5160 *** and run configure again." >&5
5161 echo "$as_me: error:
5162 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5163 *** building glibc. Please change the environment variable
5164 *** and run configure again." >&2;}
5165 { (exit 1); exit 1; }; }
5168 { echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5169 echo $ECHO_N "checking whether GCC supports -static-libgcc... $ECHO_C" >&6; }
5170 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5173 if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then
5174 libc_cv_gcc_static_libgcc=
5176 libc_cv_gcc_static_libgcc=-static-libgcc
5179 { echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5180 echo "${ECHO_T}$libc_cv_gcc_static_libgcc" >&6; }
5183 # Extract the first word of "bash", so it can be a program name with args.
5184 set dummy bash; ac_word=$2
5185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5187 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5192 ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir=.
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202 ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
5203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
5214 BASH_SHELL=$ac_cv_path_BASH_SHELL
5215 if test -n "$BASH_SHELL"; then
5216 { echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5217 echo "${ECHO_T}$BASH_SHELL" >&6; }
5219 { echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6; }
5224 if test "$BASH_SHELL" != no &&
5225 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5226 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5227 libc_cv_have_bash2=yes
5229 libc_cv_have_bash2=no
5233 if test "$BASH_SHELL" = no; then
5234 # Extract the first word of "ksh", so it can be a program name with args.
5235 set dummy ksh; ac_word=$2
5236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5238 if test "${ac_cv_path_KSH+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir=.
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253 ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
5254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
5266 if test -n "$KSH"; then
5267 { echo "$as_me:$LINENO: result: $KSH" >&5
5268 echo "${ECHO_T}$KSH" >&6; }
5270 { echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6; }
5275 if test "$KSH" = no; then
5278 libc_cv_have_ksh=yes
5283 libc_cv_have_ksh=yes
5287 for ac_prog in gawk mawk nawk awk
5289 # Extract the first word of "$ac_prog", so it can be a program name with args.
5290 set dummy $ac_prog; ac_word=$2
5291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5293 if test "${ac_cv_prog_AWK+set}" = set; then
5294 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 if test -n "$AWK"; then
5297 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 test -z "$as_dir" && as_dir=.
5304 for ac_exec_ext in '' $ac_executable_extensions; do
5305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5306 ac_cv_prog_AWK="$ac_prog"
5307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 if test -n "$AWK"; then
5318 { echo "$as_me:$LINENO: result: $AWK" >&5
5319 echo "${ECHO_T}$AWK" >&6; }
5321 { echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6; }
5326 test -n "$AWK" && break
5329 # Extract the first word of "perl", so it can be a program name with args.
5330 set dummy perl; ac_word=$2
5331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5333 if test "${ac_cv_path_PERL+set}" = set; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
5360 PERL=$ac_cv_path_PERL
5361 if test -n "$PERL"; then
5362 { echo "$as_me:$LINENO: result: $PERL" >&5
5363 echo "${ECHO_T}$PERL" >&6; }
5365 { echo "$as_me:$LINENO: result: no" >&5
5366 echo "${ECHO_T}no" >&6; }
5370 if test "$PERL" != no &&
5371 (eval `$PERL -V:apiversion
`; test `expr "$apiversion" \
< 5` -ne 0); then
5374 # Extract the first word of "install-info", so it can be a program name with args.
5375 set dummy install-info; ac_word=$2
5376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5378 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 case $INSTALL_INFO in
5383 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5388 for as_dir in $as_dummy
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
5406 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5407 if test -n "$INSTALL_INFO"; then
5408 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5409 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5411 { echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6; }
5416 # Extract the first word of "bison", so it can be a program name with args.
5417 set dummy bison; ac_word=$2
5418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5420 if test "${ac_cv_path_BISON+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 as_dummy="$PATH:/usr/local/bin:/usr/bin:/bin"
5430 for as_dir in $as_dummy
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5436 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no"
5448 BISON=$ac_cv_path_BISON
5449 if test -n "$BISON"; then
5450 { echo "$as_me:$LINENO: result: $BISON" >&5
5451 echo "${ECHO_T}$BISON" >&6; }
5453 { echo "$as_me:$LINENO: result: no" >&5
5454 echo "${ECHO_T}no" >&6; }
5459 { echo "$as_me:$LINENO: checking for signed size_t type" >&5
5460 echo $ECHO_N "checking for signed size_t type... $ECHO_C" >&6; }
5461 if test "${libc_cv_signed_size_t+set}" = set; then
5462 echo $ECHO_N "(cached) $ECHO_C" >&6
5464 echo '#include <stddef.h>
5465 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5466 if eval "$ac_cpp conftest.c 2>/dev/null" \
5467 | grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev/null; then
5468 libc_cv_signed_size_t=no
5470 libc_cv_signed_size_t=yes
5474 { echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5475 echo "${ECHO_T}$libc_cv_signed_size_t" >&6; }
5476 if test $libc_cv_signed_size_t = yes; then
5477 cat >> confdefs.h <<\EOF
5478 #undef __SIZE_TYPE__
5479 #define __SIZE_TYPE__ unsigned
5484 { echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5485 echo $ECHO_N "checking for libc-friendly stddef.h... $ECHO_C" >&6; }
5486 if test "${libc_cv_friendly_stddef+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 cat >conftest.$ac_ext <<_ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5495 #define __need_size_t
5496 #define __need_wchar_t
5503 size_t size; wchar_t wchar;
5505 #error stddef.h ignored __need_*
5507 if (&size == NULL || &wchar == NULL) abort ();
5512 rm -f conftest.$ac_objext
5513 if { (ac_try="$ac_compile"
5515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5516 *) ac_try_echo
=$ac_try;;
5518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5519 (eval "$ac_compile") 2>conftest.er1
5521 grep -v '^ *+' conftest.er1
>conftest.err
5523 cat conftest.err
>&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); } && {
5526 test -z "$ac_c_werror_flag" ||
5527 test ! -s conftest.err
5528 } && test -s conftest.
$ac_objext; then
5529 libc_cv_friendly_stddef
=yes
5531 echo "$as_me: failed program was:" >&5
5532 sed 's/^/| /' conftest.
$ac_ext >&5
5534 libc_cv_friendly_stddef
=no
5537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5539 { echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5540 echo "${ECHO_T}$libc_cv_friendly_stddef" >&6; }
5541 if test $libc_cv_friendly_stddef = yes; then
5542 config_vars
="$config_vars
5543 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5546 { echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5547 echo $ECHO_N "checking whether we need to use -P to assemble .S files... $ECHO_C" >&6; }
5548 if test "${libc_cv_need_minus_P+set}" = set; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 cat > conftest.S
<<EOF
5552 #include "confdefs.h"
5553 /* Nothing whatsoever. */
5555 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }; }; then
5561 libc_cv_need_minus_P
=no
5563 libc_cv_need_minus_P
=yes
5567 { echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5568 echo "${ECHO_T}$libc_cv_need_minus_P" >&6; }
5569 if test $libc_cv_need_minus_P = yes; then
5570 config_vars
="$config_vars
5571 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5574 { echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5575 echo $ECHO_N "checking whether .text pseudo-op must be used... $ECHO_C" >&6; }
5576 if test "${libc_cv_dot_text+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 cat > conftest.s
<<EOF
5583 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); }; }; then
5589 libc_cv_dot_text
=.text
5594 if test -z "$libc_cv_dot_text"; then
5595 { echo "$as_me:$LINENO: result: no" >&5
5596 echo "${ECHO_T}no" >&6; }
5598 { echo "$as_me:$LINENO: result: yes" >&5
5599 echo "${ECHO_T}yes" >&6; }
5602 { echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5603 echo $ECHO_N "checking for assembler global-symbol directive... $ECHO_C" >&6; }
5604 if test "${libc_cv_asm_global_directive+set}" = set; then
5605 echo $ECHO_N "(cached) $ECHO_C" >&6
5607 libc_cv_asm_global_directive
=UNKNOWN
5608 for ac_globl
in .globl .global .EXPORT
; do
5609 cat > conftest.s
<<EOF
5614 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); }; }; then
5620 libc_cv_asm_global_directive
=${ac_globl}
5623 test $libc_cv_asm_global_directive != UNKNOWN
&& break
5626 { echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5627 echo "${ECHO_T}$libc_cv_asm_global_directive" >&6; }
5628 if test $libc_cv_asm_global_directive = UNKNOWN
; then
5629 { { echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5630 echo "$as_me: error: cannot determine asm global directive" >&2;}
5631 { (exit 1); exit 1; }; }
5633 cat >>confdefs.h
<<_ACEOF
5634 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5639 { echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5640 echo $ECHO_N "checking for .set assembler directive... $ECHO_C" >&6; }
5641 if test "${libc_cv_asm_set_directive+set}" = set; then
5642 echo $ECHO_N "(cached) $ECHO_C" >&6
5644 cat > conftest.s
<<EOF
5647 .set glibc_conftest_frobozz,foo
5648 $libc_cv_asm_global_directive glibc_conftest_frobozz
5650 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5651 # (but it doesn't work), so we must do a linking check to be sure.
5652 cat > conftest1.c
<<\EOF
5653 extern int glibc_conftest_frobozz
;
5654 void _start
() { glibc_conftest_frobozz
= 1; }
5656 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5657 -nostartfiles -nostdlib \
5658 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5659 libc_cv_asm_set_directive
=yes
5661 libc_cv_asm_set_directive
=no
5665 { echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5666 echo "${ECHO_T}$libc_cv_asm_set_directive" >&6; }
5667 if test $libc_cv_asm_set_directive = yes; then
5668 cat >>confdefs.h
<<\_ACEOF
5669 #define HAVE_ASM_SET_DIRECTIVE 1
5674 { echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5675 echo $ECHO_N "checking for assembler .type directive prefix... $ECHO_C" >&6; }
5676 if test "${libc_cv_asm_type_prefix+set}" = set; then
5677 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 libc_cv_asm_type_prefix
=no
5680 for ac_try_prefix
in '@' '%' '#'; do
5681 cat > conftest.s
<<EOF
5683 ${libc_cv_asm_global_directive} foo
5684 .type foo, ${ac_try_prefix}object
5689 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; }; then
5695 libc_cv_asm_type_prefix
=${ac_try_prefix}
5698 test "x$libc_cv_asm_type_prefix" != xno
&& break
5701 { echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
5702 echo "${ECHO_T}$libc_cv_asm_type_prefix" >&6; }
5703 if test "x$libc_cv_asm_type_prefix" != xno
; then
5704 cat >>confdefs.h
<<_ACEOF
5705 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
5710 { echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
5711 echo $ECHO_N "checking for .symver assembler directive... $ECHO_C" >&6; }
5712 if test "${libc_cv_asm_symver_directive+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 cat > conftest.s
<<EOF
5718 .symver _sym,sym@VERS
5720 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5721 libc_cv_asm_symver_directive
=yes
5723 libc_cv_asm_symver_directive
=no
5727 { echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
5728 echo "${ECHO_T}$libc_cv_asm_symver_directive" >&6; }
5729 { echo "$as_me:$LINENO: checking for ld --version-script" >&5
5730 echo $ECHO_N "checking for ld --version-script... $ECHO_C" >&6; }
5731 if test "${libc_cv_ld_version_script_option+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 if test $libc_cv_asm_symver_directive = yes; then
5735 cat > conftest.s
<<EOF
5738 .symver _sym,sym@VERS
5740 cat > conftest.map
<<EOF
5749 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5750 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
5751 -o conftest.so conftest.o
5752 -nostartfiles -nostdlib
5753 -Wl,--version-script,conftest.map
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; };
5761 libc_cv_ld_version_script_option
=yes
5763 libc_cv_ld_version_script_option
=no
5766 libc_cv_ld_version_script_option
=no
5769 libc_cv_ld_version_script_option
=no
5773 { echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
5774 echo "${ECHO_T}$libc_cv_ld_version_script_option" >&6; }
5775 if test $shared != no
&&
5776 test $libc_cv_asm_symver_directive = yes &&
5777 test $libc_cv_ld_version_script_option = yes &&
5778 test $enable_versioning = yes; then
5780 cat >>confdefs.h
<<\_ACEOF
5781 #define DO_VERSIONING 1
5789 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
5791 *** WARNING: You should not compile GNU libc without versioning. Not using
5792 *** versioning will introduce incompatibilities so that old binaries
5793 *** will not run anymore.
5794 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
5796 if test $elf = yes; then
5797 { echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
5798 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6; }
5799 if test "${libc_cv_asm_previous_directive+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 cat > conftest.s
<<EOF
5803 .section foo_section
5806 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); }; }; then
5812 libc_cv_asm_previous_directive
=yes
5814 libc_cv_asm_previous_directive
=no
5818 { echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
5819 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6; }
5820 if test $libc_cv_asm_previous_directive = yes; then
5821 cat >>confdefs.h
<<\_ACEOF
5822 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
5826 { echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
5827 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6; }
5828 if test "${libc_cv_asm_popsection_directive+set}" = set; then
5829 echo $ECHO_N "(cached) $ECHO_C" >&6
5831 cat > conftest.s
<<EOF
5832 .pushsection foo_section
5835 if { ac_try
='${CC-cc} -c $ASFLAGS 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 libc_cv_asm_popsection_directive
=yes
5843 libc_cv_asm_popsection_directive
=no
5847 { echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
5848 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6; }
5849 if test $libc_cv_asm_popsection_directive = yes; then
5850 cat >>confdefs.h
<<\_ACEOF
5851 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
5856 { echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
5857 echo $ECHO_N "checking for .protected and .hidden assembler directive... $ECHO_C" >&6; }
5858 if test "${libc_cv_asm_protected_directive+set}" = set; then
5859 echo $ECHO_N "(cached) $ECHO_C" >&6
5861 cat > conftest.s
<<EOF
5867 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); }; }; then
5873 libc_cv_asm_protected_directive
=yes
5875 { { echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
5876 echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
5877 { (exit 1); exit 1; }; }
5881 { echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
5882 echo "${ECHO_T}$libc_cv_asm_protected_directive" >&6; }
5884 if test $libc_cv_asm_protected_directive = yes; then
5885 { echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
5886 echo $ECHO_N "checking whether __attribute__((visibility())) is supported... $ECHO_C" >&6; }
5887 if test "${libc_cv_visibility_attribute+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 cat > conftest.c
<<EOF
5891 int foo __attribute__ ((visibility ("hidden"))) = 1;
5892 int bar __attribute__ ((visibility ("protected"))) = 1;
5894 libc_cv_visibility_attribute
=no
5895 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); }; }; then
5901 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
5902 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5903 libc_cv_visibility_attribute
=yes
5910 { echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
5911 echo "${ECHO_T}$libc_cv_visibility_attribute" >&6; }
5912 if test $libc_cv_visibility_attribute != yes; then
5913 { { echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
5914 echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
5915 { (exit 1); exit 1; }; }
5919 if test $libc_cv_visibility_attribute = yes; then
5920 { echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
5921 echo $ECHO_N "checking for broken __attribute__((visibility()))... $ECHO_C" >&6; }
5922 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
5923 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 cat > conftest.c
<<EOF
5927 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5928 int bar (int x) { return x; }
5930 libc_cv_broken_visibility_attribute
=yes
5931 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; }; then
5937 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5938 libc_cv_broken_visibility_attribute
=no
5941 rm -f conftest.c conftest.s
5944 { echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
5945 echo "${ECHO_T}$libc_cv_broken_visibility_attribute" >&6; }
5946 if test $libc_cv_broken_visibility_attribute = yes; then
5947 { { echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
5948 echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
5949 { (exit 1); exit 1; }; }
5953 { echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
5954 echo $ECHO_N "checking for broken __attribute__((alias()))... $ECHO_C" >&6; }
5955 if test "${libc_cv_broken_alias_attribute+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 cat > conftest.c
<<EOF
5959 extern int foo (int x) __asm ("xyzzy");
5960 int bar (int x) { return x; }
5961 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5963 extern __typeof (dfoo) dfoo __asm ("abccb");
5966 libc_cv_broken_alias_attribute
=yes
5967 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); }; }; then
5973 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5974 grep 'abccb' conftest.s
>/dev
/null
; then
5975 libc_cv_broken_alias_attribute
=no
5978 rm -f conftest.c conftest.s
5981 { echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
5982 echo "${ECHO_T}$libc_cv_broken_alias_attribute" >&6; }
5983 if test $libc_cv_broken_alias_attribute = yes; then
5984 { { echo "$as_me:$LINENO: error: working alias attribute support required" >&5
5985 echo "$as_me: error: working alias attribute support required" >&2;}
5986 { (exit 1); exit 1; }; }
5989 if test $libc_cv_visibility_attribute = yes; then
5990 { echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
5991 echo $ECHO_N "checking whether to put _rtld_local into .sdata section... $ECHO_C" >&6; }
5992 if test "${libc_cv_have_sdata_section+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 echo "int i;" > conftest.c
5996 libc_cv_have_sdata_section
=no
5997 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5998 |
grep '\.sdata' >/dev
/null
; then
5999 libc_cv_have_sdata_section
=yes
6001 rm -f conftest.c conftest.so
6004 { echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6005 echo "${ECHO_T}$libc_cv_have_sdata_section" >&6; }
6006 if test $libc_cv_have_sdata_section = yes; then
6007 cat >>confdefs.h
<<\_ACEOF
6008 #define HAVE_SDATA_SECTION 1
6014 { echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6015 echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6; }
6016 if test "${libc_cv_initfini_array+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 cat > conftest.c
<<EOF
6020 int _start (void) { return 0; }
6021 int __start (void) { return 0; }
6022 int foo (void) { return 1; }
6023 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6025 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6026 -static -nostartfiles -nostdlib 1>&5'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }
6033 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6034 libc_cv_initfini_array
=yes
6036 libc_cv_initfini_array
=no
6039 libc_cv_initfini_array
=no
6043 { echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6044 echo "${ECHO_T}$libc_cv_initfini_array" >&6; }
6045 if test $libc_cv_initfini_array != yes; then
6046 { { echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6047 echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6048 { (exit 1); exit 1; }; }
6051 { echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6052 echo $ECHO_N "checking for libunwind-support in compiler... $ECHO_C" >&6; }
6053 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6057 cat > conftest.c
<<EOF
6058 int main (void) { return 0; }
6060 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6061 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6062 libc_cv_cc_with_libunwind
=yes
6064 libc_cv_cc_with_libunwind
=no
6068 { echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6069 echo "${ECHO_T}$libc_cv_cc_with_libunwind" >&6; }
6071 if test $libc_cv_cc_with_libunwind = yes; then
6072 cat >>confdefs.h
<<\_ACEOF
6073 #define HAVE_CC_WITH_LIBUNWIND 1
6078 { echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6079 echo $ECHO_N "checking for -z nodelete option... $ECHO_C" >&6; }
6080 if test "${libc_cv_z_nodelete+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 cat > conftest.c
<<EOF
6084 int _start (void) { return 42; }
6086 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6087 -fPIC -shared -o conftest.so conftest.c
6088 -nostartfiles -nostdlib
6089 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }
6096 libc_cv_z_nodelete
=yes
6098 { { echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6099 echo "$as_me: error: linker with -z nodelete support required" >&2;}
6100 { (exit 1); exit 1; }; }
6104 { echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6105 echo "${ECHO_T}$libc_cv_z_nodelete" >&6; }
6107 { echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6108 echo $ECHO_N "checking for -z nodlopen option... $ECHO_C" >&6; }
6109 if test "${libc_cv_z_nodlopen+set}" = set; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 cat > conftest.c
<<EOF
6113 int _start (void) { return 42; }
6115 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6116 -fPIC -shared -o conftest.so conftest.c
6117 -nostartfiles -nostdlib
6118 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); }; }
6125 libc_cv_z_nodlopen
=yes
6127 { { echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6128 echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6129 { (exit 1); exit 1; }; }
6133 { echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6134 echo "${ECHO_T}$libc_cv_z_nodlopen" >&6; }
6136 { echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6137 echo $ECHO_N "checking for -z initfirst option... $ECHO_C" >&6; }
6138 if test "${libc_cv_z_initfirst+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 cat > conftest.c
<<EOF
6142 int _start (void) { return 42; }
6144 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6145 -fPIC -shared -o conftest.so conftest.c
6146 -nostartfiles -nostdlib
6147 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }
6154 libc_cv_z_initfirst
=yes
6156 { { echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6157 echo "$as_me: error: linker with -z initfirst support required" >&2;}
6158 { (exit 1); exit 1; }; }
6162 { echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6163 echo "${ECHO_T}$libc_cv_z_initfirst" >&6; }
6165 case "$base_machine" in
6166 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6167 { echo "$as_me:$LINENO: checking for -z relro option" >&5
6168 echo $ECHO_N "checking for -z relro option... $ECHO_C" >&6; }
6169 if test "${libc_cv_z_relro+set}" = set; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); }; }
6180 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; }
6191 { echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6192 echo "${ECHO_T}$libc_cv_z_relro" >&6; }
6193 if test "$libc_cv_z_relro" = no
; then
6194 { { echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6195 echo "$as_me: error: linker with -z relro support required" >&2;}
6196 { (exit 1); exit 1; }; }
6202 { echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6203 echo $ECHO_N "checking for -Bgroup option... $ECHO_C" >&6; }
6204 if test "${libc_cv_Bgroup+set}" = set; then
6205 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 cat > conftest.c
<<EOF
6208 int _start (void) { return 42; }
6210 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6211 -fPIC -shared -o conftest.so conftest.c
6212 -Wl,-Bgroup -nostdlib 1>&5'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }
6225 { echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6226 echo "${ECHO_T}$libc_cv_Bgroup" >&6; }
6229 { echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6230 echo $ECHO_N "checking for libgcc_s suffix... $ECHO_C" >&6; }
6231 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 cat > conftest.c
<<EOF
6235 int main (void) { return 0; }
6237 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6238 -fPIC -shared -shared-libgcc -o conftest.so \
6239 conftest.c -v 2>&1 >/dev/null \
6240 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6243 { echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6244 echo "${ECHO_T}$libc_cv_libgcc_s_suffix" >&6; }
6247 { echo "$as_me:$LINENO: checking for --as-needed option" >&5
6248 echo $ECHO_N "checking for --as-needed option... $ECHO_C" >&6; }
6249 if test "${libc_cv_as_needed+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 cat > conftest.c
<<EOF
6253 int main (void) { return 0; }
6255 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6256 -fPIC -shared -o conftest.so conftest.c
6257 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; }
6265 libc_cv_as_needed
=yes
6267 libc_cv_as_needed
=no
6271 { echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6272 echo "${ECHO_T}$libc_cv_as_needed" >&6; }
6276 { echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6277 echo $ECHO_N "checking whether --noexecstack is desirable for .S files... $ECHO_C" >&6; }
6278 if test "${libc_cv_as_noexecstack+set}" = set; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 cat > conftest.c
<<EOF
6284 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6285 -S -o conftest.s conftest.c 1>&5'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; } \
6291 && grep -q .note.GNU-stack conftest.s \
6292 && { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Wa,--noexecstack
6293 -c -o conftest.o conftest.s 1>&5'
6294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); }; }
6300 libc_cv_as_noexecstack
=yes
6302 libc_cv_as_noexecstack
=no
6306 { echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6307 echo "${ECHO_T}$libc_cv_as_noexecstack" >&6; }
6308 if test $libc_cv_as_noexecstack = yes; then
6309 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6313 { echo "$as_me:$LINENO: checking for -z combreloc" >&5
6314 echo $ECHO_N "checking for -z combreloc... $ECHO_C" >&6; }
6315 if test "${libc_cv_z_combreloc+set}" = set; then
6316 echo $ECHO_N "(cached) $ECHO_C" >&6
6318 cat > conftest.c
<<EOF
6319 extern int bar (int);
6321 int foo (void) { return bar (mumble); }
6323 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6324 -fPIC -shared -o conftest.so conftest.c
6325 -nostdlib -nostartfiles
6326 -Wl,-z,combreloc 1>&5'
6327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); }; }
6333 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6334 libc_cv_z_combreloc
=yes
6336 libc_cv_z_combreloc
=no
6339 libc_cv_z_combreloc
=no
6343 { echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6344 echo "${ECHO_T}$libc_cv_z_combreloc" >&6; }
6345 if test "$libc_cv_z_combreloc" = yes; then
6346 cat >>confdefs.h
<<\_ACEOF
6347 #define HAVE_Z_COMBRELOC 1
6353 { echo "$as_me:$LINENO: checking for -z execstack" >&5
6354 echo $ECHO_N "checking for -z execstack... $ECHO_C" >&6; }
6355 if test "${libc_cv_z_execstack+set}" = set; then
6356 echo $ECHO_N "(cached) $ECHO_C" >&6
6358 cat > conftest.c
<<EOF
6359 int _start (void) { return 42; }
6361 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6362 -fPIC -shared -o conftest.so conftest.c
6363 -Wl,-z,execstack -nostdlib
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; }
6371 libc_cv_z_execstack
=yes
6373 libc_cv_z_execstack
=no
6377 { echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6378 echo "${ECHO_T}$libc_cv_z_execstack" >&6; }
6381 { echo "$as_me:$LINENO: checking for -fpie" >&5
6382 echo $ECHO_N "checking for -fpie... $ECHO_C" >&6; }
6383 if test "${libc_cv_fpie+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 cat > conftest.c
<<EOF
6388 main () { return 0;}
6390 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6391 -o conftest conftest.c 1>&5'
6392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; }
6404 { echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6405 echo "${ECHO_T}$libc_cv_fpie" >&6; }
6409 { echo "$as_me:$LINENO: checking for --hash-style option" >&5
6410 echo $ECHO_N "checking for --hash-style option... $ECHO_C" >&6; }
6411 if test "${libc_cv_hashstyle+set}" = set; then
6412 echo $ECHO_N "(cached) $ECHO_C" >&6
6414 cat > conftest.c
<<EOF
6415 int _start (void) { return 42; }
6417 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6418 -fPIC -shared -o conftest.so conftest.c
6419 -Wl,--hash-style=both -nostdlib 1>&5'
6420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); }; }
6426 libc_cv_hashstyle
=yes
6428 libc_cv_hashstyle
=no
6432 { echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6433 echo "${ECHO_T}$libc_cv_hashstyle" >&6; }
6437 { echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6438 echo $ECHO_N "checking for -fno-toplevel-reorder -fno-section-anchors... $ECHO_C" >&6; }
6439 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6440 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 cat > conftest.c
<<EOF
6445 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); }; }
6453 libc_cv_fno_toplevel_reorder
=yes
6455 libc_cv_fno_toplevel_reorder
=no
6459 { echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6460 echo "${ECHO_T}$libc_cv_fno_toplevel_reorder" >&6; }
6461 if test $libc_cv_fno_toplevel_reorder = yes; then
6462 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6464 fno_unit_at_a_time
=-fno-unit-at-a-time
6468 { echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6469 echo $ECHO_N "checking for -fstack-protector... $ECHO_C" >&6; }
6470 if test "${libc_cv_ssp+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 cat > conftest.c
<<EOF
6475 main () { return 0;}
6477 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fstack-protector
6478 -o conftest conftest.c 1>&5'
6479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483 (exit $ac_status); }; }
6491 { echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6492 echo "${ECHO_T}$libc_cv_ssp" >&6; }
6495 { echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6496 echo $ECHO_N "checking for -fgnu89-inline... $ECHO_C" >&6; }
6497 if test "${libc_cv_gnu89_inline+set}" = set; then
6498 echo $ECHO_N "(cached) $ECHO_C" >&6
6500 cat > conftest.c
<<EOF
6502 #ifdef __GNUC_GNU_INLINE__
6503 main () { return 0;}
6508 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6509 -o conftest.s conftest.c 1>&5'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); }; }
6516 libc_cv_gnu89_inline
=yes
6518 libc_cv_gnu89_inline
=no
6522 { echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6523 echo "${ECHO_T}$libc_cv_gnu89_inline" >&6; }
6524 if test $libc_cv_gnu89_inline = yes; then
6525 libc_cv_gnu89_inline
=-fgnu89-inline
6527 libc_cv_gnu89_inline
=
6531 if test $elf != yes; then
6532 { echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6533 echo $ECHO_N "checking for .init and .fini sections... $ECHO_C" >&6; }
6534 if test "${libc_cv_have_initfini+set}" = set; then
6535 echo $ECHO_N "(cached) $ECHO_C" >&6
6537 cat >conftest.
$ac_ext <<_ACEOF
6540 cat confdefs.h
>>conftest.
$ac_ext
6541 cat >>conftest.
$ac_ext <<_ACEOF
6542 /* end confdefs.h. */
6547 asm (".section .init");
6548 asm (".section .fini");
6549 asm ("${libc_cv_dot_text}");
6554 rm -f conftest.
$ac_objext
6555 if { (ac_try
="$ac_compile"
6557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6558 *) ac_try_echo=$ac_try;;
6560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6561 (eval "$ac_compile") 2>conftest.er1
6563 grep -v '^ *+' conftest.er1 >conftest.err
6565 cat conftest.err >&5
6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567 (exit $ac_status); } && {
6568 test -z "$ac_c_werror_flag" ||
6569 test ! -s conftest.err
6570 } && test -s conftest.$ac_objext; then
6571 libc_cv_have_initfini=yes
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.$ac_ext >&5
6576 libc_cv_have_initfini=no
6579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6581 { echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6582 echo "${ECHO_T}$libc_cv_have_initfini" >&6; }
6583 if test $libc_cv_have_initfini = yes; then
6584 cat >>confdefs.h <<\_ACEOF
6585 #define HAVE_INITFINI 1
6591 if test $elf = yes; then
6592 { echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6593 echo $ECHO_N "checking whether cc puts quotes around section names... $ECHO_C" >&6; }
6594 if test "${libc_cv_have_section_quotes+set}" = set; then
6595 echo $ECHO_N "(cached) $ECHO_C" >&6
6597 cat > conftest.c <<EOF
6598 static const int foo
6599 __attribute__ ((section ("bar"))) = 1;
6601 if ${CC-cc} -S conftest.c -o conftest.s; then
6602 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6603 libc_cv_have_section_quotes=yes
6605 libc_cv_have_section_quotes=no
6608 libc_cv_have_section_quotes=unknown
6613 { echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6614 echo "${ECHO_T}$libc_cv_have_section_quotes" >&6; }
6615 if test $libc_cv_have_section_quotes = yes; then
6616 cat >>confdefs.h <<\_ACEOF
6617 #define HAVE_SECTION_QUOTES 1
6625 if test $elf = yes; then
6626 libc_cv_asm_underscores=no
6628 if test $ac_cv_prog_cc_works = yes; then
6629 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6630 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6631 if test "${libc_cv_asm_underscores+set}" = set; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6634 cat >conftest.$ac_ext <<_ACEOF
6637 cat confdefs.h >>conftest.$ac_ext
6638 cat >>conftest.$ac_ext <<_ACEOF
6639 /* end confdefs.h. */
6640 asm ("_glibc_foobar:");
6649 rm -f conftest.$ac_objext conftest$ac_exeext
6650 if { (ac_try="$ac_link"
6652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6653 *) ac_try_echo
=$ac_try;;
6655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6656 (eval "$ac_link") 2>conftest.er1
6658 grep -v '^ *+' conftest.er1
>conftest.err
6660 cat conftest.err
>&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); } && {
6663 test -z "$ac_c_werror_flag" ||
6664 test ! -s conftest.err
6665 } && test -s conftest
$ac_exeext &&
6666 $as_test_x conftest
$ac_exeext; then
6667 libc_cv_asm_underscores
=yes
6669 echo "$as_me: failed program was:" >&5
6670 sed 's/^/| /' conftest.
$ac_ext >&5
6672 libc_cv_asm_underscores
=no
6675 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6676 conftest
$ac_exeext conftest.
$ac_ext
6678 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6679 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6681 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6682 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6683 if test "${libc_cv_asm_underscores+set}" = set; then
6684 echo $ECHO_N "(cached) $ECHO_C" >&6
6686 cat > conftest.
$ac_ext <<EOF
6687 #line $LINENO "configure"
6688 #include "confdefs.h"
6689 void underscore_test(void) {
6692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6693 (eval $ac_compile) 2>&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; then
6697 if grep _underscore_test conftest
* >/dev
/null
; then
6699 libc_cv_asm_underscores
=yes
6702 libc_cv_asm_underscores
=no
6705 echo "configure: failed program was:" >&5
6706 cat conftest.
$ac_ext >&5
6708 libc_cv_asm_underscores
=no
6712 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6713 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6716 if test $libc_cv_asm_underscores = no
; then
6717 cat >>confdefs.h
<<\_ACEOF
6718 #define NO_UNDERSCORES 1
6723 if test $elf = yes; then
6724 libc_cv_weak_symbols
=yes
6727 { echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
6728 echo $ECHO_N "checking for assembler .weak directive... $ECHO_C" >&6; }
6729 if test "${libc_cv_asm_weak_directive+set}" = set; then
6730 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 cat > conftest.s
<<EOF
6734 ${libc_cv_asm_global_directive} foo
6737 .weak bar; bar = foo
6739 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; }; then
6745 libc_cv_asm_weak_directive
=yes
6747 libc_cv_asm_weak_directive
=no
6751 { echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
6752 echo "${ECHO_T}$libc_cv_asm_weak_directive" >&6; }
6754 if test $libc_cv_asm_weak_directive = no
; then
6755 { echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
6756 echo $ECHO_N "checking for assembler .weakext directive... $ECHO_C" >&6; }
6757 if test "${libc_cv_asm_weakext_directive+set}" = set; then
6758 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 cat > conftest.s
<<EOF
6762 ${libc_cv_asm_global_directive} foo
6766 ${libc_cv_asm_global_directive} baz
6769 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); }; }; then
6775 libc_cv_asm_weakext_directive
=yes
6777 libc_cv_asm_weakext_directive
=no
6781 { echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
6782 echo "${ECHO_T}$libc_cv_asm_weakext_directive" >&6; }
6786 if test $libc_cv_asm_weak_directive = yes; then
6787 cat >>confdefs.h
<<\_ACEOF
6788 #define HAVE_ASM_WEAK_DIRECTIVE 1
6791 elif test $libc_cv_asm_weakext_directive = yes; then
6792 cat >>confdefs.h
<<\_ACEOF
6793 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
6798 { echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
6799 echo $ECHO_N "checking whether CFI directives are supported... $ECHO_C" >&6; }
6800 if test "${libc_cv_asm_cfi_directives+set}" = set; then
6801 echo $ECHO_N "(cached) $ECHO_C" >&6
6804 sparc
/sparc64
*) cfi_offset
=2047;;
6807 cat > conftest.s
<<EOF
6809 .type func,%function
6813 .cfi_rel_offset 1, $cfi_offset
6816 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); }; }; then
6822 libc_cv_asm_cfi_directives
=yes
6824 libc_cv_asm_cfi_directives
=no
6828 { echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
6829 echo "${ECHO_T}$libc_cv_asm_cfi_directives" >&6; }
6830 if test $libc_cv_asm_cfi_directives = yes; then
6831 cat >>confdefs.h
<<\_ACEOF
6832 #define HAVE_ASM_CFI_DIRECTIVES 1
6837 { echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
6838 echo $ECHO_N "checking for ld --no-whole-archive... $ECHO_C" >&6; }
6839 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
6840 echo $ECHO_N "(cached) $ECHO_C" >&6
6842 cat > conftest.c
<<\EOF
6847 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6848 -nostdlib -nostartfiles -Wl,--no-whole-archive
6849 -o conftest conftest.c 1>&5'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 libc_cv_ld_no_whole_archive
=yes
6857 libc_cv_ld_no_whole_archive
=no
6861 { echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
6862 echo "${ECHO_T}$libc_cv_ld_no_whole_archive" >&6; }
6863 if test $libc_cv_ld_no_whole_archive = yes; then
6864 no_whole_archive
=-Wl,--no-whole-archive
6867 { echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
6868 echo $ECHO_N "checking for gcc -fexceptions... $ECHO_C" >&6; }
6869 if test "${libc_cv_gcc_exceptions+set}" = set; then
6870 echo $ECHO_N "(cached) $ECHO_C" >&6
6872 cat > conftest.c
<<\EOF
6877 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6878 -nostdlib -nostartfiles -fexceptions
6879 -o conftest conftest.c 1>&5'
6880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); }; }; then
6885 libc_cv_gcc_exceptions
=yes
6887 libc_cv_gcc_exceptions
=no
6891 { echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
6892 echo "${ECHO_T}$libc_cv_gcc_exceptions" >&6; }
6893 if test $libc_cv_gcc_exceptions = yes; then
6894 exceptions
=-fexceptions
6897 if test "$host_cpu" = powerpc
; then
6898 # Check for a bug present in at least versions 2.8.x of GCC
6899 # and versions 1.0.x of EGCS.
6900 { echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
6901 echo $ECHO_N "checking whether clobbering cr0 causes problems... $ECHO_C" >&6; }
6902 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
6903 echo $ECHO_N "(cached) $ECHO_C" >&6
6905 cat >conftest.
$ac_ext <<_ACEOF
6908 cat confdefs.h
>>conftest.
$ac_ext
6909 cat >>conftest.
$ac_ext <<_ACEOF
6910 /* end confdefs.h. */
6911 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
6920 rm -f conftest.
$ac_objext
6921 if { (ac_try
="$ac_compile"
6923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6924 *) ac_try_echo=$ac_try;;
6926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6927 (eval "$ac_compile") 2>conftest.er1
6929 grep -v '^ *+' conftest.er1 >conftest.err
6931 cat conftest.err >&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); } && {
6934 test -z "$ac_c_werror_flag" ||
6935 test ! -s conftest.err
6936 } && test -s conftest.$ac_objext; then
6937 libc_cv_c_asmcr0_bug='no'
6939 echo "$as_me: failed program was:" >&5
6940 sed 's/^/| /' conftest.$ac_ext >&5
6942 libc_cv_c_asmcr0_bug='yes'
6945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6947 { echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
6948 echo "${ECHO_T}$libc_cv_c_asmcr0_bug" >&6; }
6949 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
6950 cat >>confdefs.h <<\_ACEOF
6951 #define BROKEN_PPC_ASM_CR0 1
6957 { echo "$as_me:$LINENO: checking for __builtin_expect" >&5
6958 echo $ECHO_N "checking for __builtin_expect... $ECHO_C" >&6; }
6959 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6962 cat > conftest.c <<EOF
6963 #line $LINENO "configure"
6966 a = __builtin_expect (a, 10);
6967 return a == 10 ? 0 : 1;
6970 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
6971 -o conftest conftest.c -lgcc >&5'
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); }; }; then
6977 libc_cv_gcc_builtin_expect=yes
6979 libc_cv_gcc_builtin_expect=no
6983 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
6984 echo "${ECHO_T}$libc_cv_gcc_builtin_expect" >&6; }
6985 if test "$libc_cv_gcc_builtin_expect" = yes; then
6986 cat >>confdefs.h <<\_ACEOF
6987 #define HAVE_BUILTIN_EXPECT 1
6992 { echo "$as_me:$LINENO: checking for __builtin_memset" >&5
6993 echo $ECHO_N "checking for __builtin_memset... $ECHO_C" >&6; }
6994 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 cat > conftest.c <<\EOF
7000 __builtin_memset (x, 0, 1000);
7003 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); }; };
7010 libc_cv_gcc_builtin_memset=no
7012 libc_cv_gcc_builtin_memset=yes
7016 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7017 echo "${ECHO_T}$libc_cv_gcc_builtin_memset" >&6; }
7018 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7019 cat >>confdefs.h <<\_ACEOF
7020 #define HAVE_BUILTIN_MEMSET 1
7025 { echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7026 echo $ECHO_N "checking for redirection of built-in functions... $ECHO_C" >&6; }
7027 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7028 echo $ECHO_N "(cached) $ECHO_C" >&6
7030 cat > conftest.c <<\EOF
7031 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7032 char *foo (const char *a, const char *b)
7034 return __builtin_strstr (a, b);
7037 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); }; };
7044 libc_cv_gcc_builtin_redirection=yes
7046 libc_cv_gcc_builtin_redirection=no
7050 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7051 echo "${ECHO_T}$libc_cv_gcc_builtin_redirection" >&6; }
7052 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7053 cat >>confdefs.h <<\_ACEOF
7054 #define HAVE_BUILTIN_REDIRECTION 1
7059 if test "x$use__thread" != xno; then
7060 { echo "$as_me:$LINENO: checking for __thread" >&5
7061 echo $ECHO_N "checking for __thread... $ECHO_C" >&6; }
7062 if test "${libc_cv_gcc___thread+set}" = set; then
7063 echo $ECHO_N "(cached) $ECHO_C" >&6
7065 cat > conftest.c <<\EOF
7066 __thread int a = 42;
7068 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); }; }; then
7074 libc_cv_gcc___thread=yes
7076 libc_cv_gcc___thread=no
7080 { echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7081 echo "${ECHO_T}$libc_cv_gcc___thread" >&6; }
7082 if test "$libc_cv_gcc___thread" = yes; then
7083 cat >>confdefs.h <<\_ACEOF
7084 #define HAVE___THREAD 1
7089 libc_cv_gcc___thread=no
7092 if test "$libc_cv_gcc___thread" = yes; then
7093 { echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7094 echo $ECHO_N "checking for tls_model attribute... $ECHO_C" >&6; }
7095 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7096 echo $ECHO_N "(cached) $ECHO_C" >&6
7098 cat > conftest.c <<\EOF
7099 extern __thread int a __attribute__((tls_model ("initial-exec")));
7101 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; }; then
7107 libc_cv_gcc_tls_model_attr=yes
7109 libc_cv_gcc_tls_model_attr=no
7113 { echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7114 echo "${ECHO_T}$libc_cv_gcc_tls_model_attr" >&6; }
7115 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7116 cat >>confdefs.h <<\_ACEOF
7117 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7123 if test -n "$submachine"; then
7124 { echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7125 echo $ECHO_N "checking for compiler option for CPU variant... $ECHO_C" >&6; }
7126 if test "${libc_cv_cc_submachine+set}" = set; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 libc_cv_cc_submachine=no
7130 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7131 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; }; then
7137 libc_cv_cc_submachine="$opt"
7142 { echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7143 echo "${ECHO_T}$libc_cv_cc_submachine" >&6; }
7144 if test "x$libc_cv_cc_submachine" = xno; then
7145 { { echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7146 echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7147 { (exit 1); exit 1; }; }
7152 { echo "$as_me:$LINENO: checking for libgd" >&5
7153 echo $ECHO_N "checking for libgd... $ECHO_C" >&6; }
7154 if test "$with_gd" != "no"; then
7155 old_CFLAGS="$CFLAGS"
7156 CFLAGS="$CFLAGS $libgd_include"
7157 old_LDFLAGS="$LDFLAGS"
7158 LDFLAGS="$LDFLAGS $libgd_ldflags"
7160 LIBS="$LIBS -lgd -lpng -lz -lm"
7161 cat >conftest.$ac_ext <<_ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7176 rm -f conftest.$ac_objext conftest$ac_exeext
7177 if { (ac_try="$ac_link"
7179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7180 *) ac_try_echo
=$ac_try;;
7182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7183 (eval "$ac_link") 2>conftest.er1
7185 grep -v '^ *+' conftest.er1
>conftest.err
7187 cat conftest.err
>&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); } && {
7190 test -z "$ac_c_werror_flag" ||
7191 test ! -s conftest.err
7192 } && test -s conftest
$ac_exeext &&
7193 $as_test_x conftest
$ac_exeext; then
7196 echo "$as_me: failed program was:" >&5
7197 sed 's/^/| /' conftest.
$ac_ext >&5
7202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7203 conftest
$ac_exeext conftest.
$ac_ext
7204 CFLAGS
="$old_CFLAGS"
7205 LDFLAGS
="$old_LDFLAGS"
7210 { echo "$as_me:$LINENO: result: $LIBGD" >&5
7211 echo "${ECHO_T}$LIBGD" >&6; }
7215 if test x
$with_selinux = xno
; then
7218 # See if we have the SELinux library
7219 { echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7220 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
7221 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7222 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 ac_check_lib_save_LIBS
=$LIBS
7225 LIBS
="-lselinux $LIBS"
7226 cat >conftest.
$ac_ext <<_ACEOF
7229 cat confdefs.h
>>conftest.
$ac_ext
7230 cat >>conftest.
$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7233 /* Override any GCC internal prototype to avoid an error.
7234 Use char because int might match the return type of a GCC
7235 builtin and then its argument prototype would still apply. */
7239 char is_selinux_enabled ();
7243 return is_selinux_enabled ();
7248 rm -f conftest.
$ac_objext conftest
$ac_exeext
7249 if { (ac_try
="$ac_link"
7251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7252 *) ac_try_echo=$ac_try;;
7254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7255 (eval "$ac_link") 2>conftest.er1
7257 grep -v '^ *+' conftest.er1 >conftest.err
7259 cat conftest.err >&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); } && {
7262 test -z "$ac_c_werror_flag" ||
7263 test ! -s conftest.err
7264 } && test -s conftest$ac_exeext &&
7265 $as_test_x conftest$ac_exeext; then
7266 ac_cv_lib_selinux_is_selinux_enabled=yes
7268 echo "$as_me: failed program was:" >&5
7269 sed 's/^/| /' conftest.$ac_ext >&5
7271 ac_cv_lib_selinux_is_selinux_enabled=no
7274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7275 conftest$ac_exeext conftest.$ac_ext
7276 LIBS=$ac_check_lib_save_LIBS
7278 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7279 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7280 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
7286 # See if we have the SELinux header with the NSCD permissions in it.
7287 if test x$have_selinux = xyes ; then
7288 { echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7289 echo $ECHO_N "checking for NSCD Flask permissions in selinux/av_permissions.h... $ECHO_C" >&6; }
7290 cat >conftest.$ac_ext <<_ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <selinux/av_permissions.h>
7300 #ifdef NSCD__SHMEMHOST
7303 #error NSCD__SHMEMHOST not defined
7309 rm -f conftest.$ac_objext
7310 if { (ac_try="$ac_compile"
7312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7313 *) ac_try_echo
=$ac_try;;
7315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7316 (eval "$ac_compile") 2>conftest.er1
7318 grep -v '^ *+' conftest.er1
>conftest.err
7320 cat conftest.err
>&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); } && {
7323 test -z "$ac_c_werror_flag" ||
7324 test ! -s conftest.err
7325 } && test -s conftest.
$ac_objext; then
7328 echo "$as_me: failed program was:" >&5
7329 sed 's/^/| /' conftest.
$ac_ext >&5
7334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7335 { echo "$as_me:$LINENO: result: $have_selinux" >&5
7336 echo "${ECHO_T}$have_selinux" >&6; }
7339 if test x
$with_selinux = xyes
; then
7340 if test x
$have_selinux = xno
; then
7341 { { echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7342 echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7343 { (exit 1); exit 1; }; }
7347 # Check if we're building with SELinux support.
7348 if test "x$have_selinux" = xyes
; then
7350 cat >>confdefs.h
<<\_ACEOF
7351 #define HAVE_SELINUX 1
7355 # See if we have the libaudit library
7356 { echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7357 echo $ECHO_N "checking for audit_log_user_avc_message in -laudit... $ECHO_C" >&6; }
7358 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6
7361 ac_check_lib_save_LIBS
=$LIBS
7362 LIBS
="-laudit $LIBS"
7363 cat >conftest.
$ac_ext <<_ACEOF
7366 cat confdefs.h
>>conftest.
$ac_ext
7367 cat >>conftest.
$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7370 /* Override any GCC internal prototype to avoid an error.
7371 Use char because int might match the return type of a GCC
7372 builtin and then its argument prototype would still apply. */
7376 char audit_log_user_avc_message ();
7380 return audit_log_user_avc_message ();
7385 rm -f conftest.
$ac_objext conftest
$ac_exeext
7386 if { (ac_try
="$ac_link"
7388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7389 *) ac_try_echo=$ac_try;;
7391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7392 (eval "$ac_link") 2>conftest.er1
7394 grep -v '^ *+' conftest.er1 >conftest.err
7396 cat conftest.err >&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } && {
7399 test -z "$ac_c_werror_flag" ||
7400 test ! -s conftest.err
7401 } && test -s conftest$ac_exeext &&
7402 $as_test_x conftest$ac_exeext; then
7403 ac_cv_lib_audit_audit_log_user_avc_message=yes
7405 echo "$as_me: failed program was:" >&5
7406 sed 's/^/| /' conftest.$ac_ext >&5
7408 ac_cv_lib_audit_audit_log_user_avc_message=no
7411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7412 conftest$ac_exeext conftest.$ac_ext
7413 LIBS=$ac_check_lib_save_LIBS
7415 { echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7416 echo "${ECHO_T}$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7417 if test $ac_cv_lib_audit_audit_log_user_avc_message = yes; then
7423 if test "x$have_libaudit" = xyes; then
7425 cat >>confdefs.h <<\_ACEOF
7426 #define HAVE_LIBAUDIT 1
7432 # See if we have the libcap library
7433 { echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7434 echo $ECHO_N "checking for cap_init in -lcap... $ECHO_C" >&6; }
7435 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7436 echo $ECHO_N "(cached) $ECHO_C" >&6
7438 ac_check_lib_save_LIBS=$LIBS
7440 cat >conftest.$ac_ext <<_ACEOF
7443 cat confdefs.h >>conftest.$ac_ext
7444 cat >>conftest.$ac_ext <<_ACEOF
7445 /* end confdefs.h. */
7447 /* Override any GCC internal prototype to avoid an error.
7448 Use char because int might match the return type of a GCC
7449 builtin and then its argument prototype would still apply. */
7462 rm -f conftest.$ac_objext conftest$ac_exeext
7463 if { (ac_try="$ac_link"
7465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7466 *) ac_try_echo
=$ac_try;;
7468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469 (eval "$ac_link") 2>conftest.er1
7471 grep -v '^ *+' conftest.er1
>conftest.err
7473 cat conftest.err
>&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); } && {
7476 test -z "$ac_c_werror_flag" ||
7477 test ! -s conftest.err
7478 } && test -s conftest
$ac_exeext &&
7479 $as_test_x conftest
$ac_exeext; then
7480 ac_cv_lib_cap_cap_init
=yes
7482 echo "$as_me: failed program was:" >&5
7483 sed 's/^/| /' conftest.
$ac_ext >&5
7485 ac_cv_lib_cap_cap_init
=no
7488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7489 conftest
$ac_exeext conftest.
$ac_ext
7490 LIBS
=$ac_check_lib_save_LIBS
7492 { echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7493 echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
7494 if test $ac_cv_lib_cap_cap_init = yes; then
7500 if test "x$have_libcap" = xyes
; then
7502 cat >>confdefs.h
<<\_ACEOF
7503 #define HAVE_LIBCAP 1
7512 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7513 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7514 if test "${ac_cv_path_GREP+set}" = set; then
7515 echo $ECHO_N "(cached) $ECHO_C" >&6
7517 # Extract the first word of "grep ggrep" to use in msg output
7518 if test -z "$GREP"; then
7519 set dummy
grep ggrep
; ac_prog_name
=$2
7520 if test "${ac_cv_path_GREP+set}" = set; then
7521 echo $ECHO_N "(cached) $ECHO_C" >&6
7523 ac_path_GREP_found
=false
7524 # Loop through the user's path and test for each of PROGNAME-LIST
7525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7526 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7529 test -z "$as_dir" && as_dir
=.
7530 for ac_prog
in grep ggrep
; do
7531 for ac_exec_ext
in '' $ac_executable_extensions; do
7532 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7533 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7534 # Check for GNU ac_path_GREP and select it if it is found.
7535 # Check for GNU $ac_path_GREP
7536 case `"$ac_path_GREP" --version 2>&1` in
7538 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7541 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7544 cat "conftest.in" "conftest.in" >"conftest.tmp"
7545 mv "conftest.tmp" "conftest.in"
7546 cp "conftest.in" "conftest.nl"
7547 echo 'GREP' >> "conftest.nl"
7548 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7549 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7550 ac_count
=`expr $ac_count + 1`
7551 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7552 # Best one so far, save it but keep looking for a better one
7553 ac_cv_path_GREP
="$ac_path_GREP"
7554 ac_path_GREP_max
=$ac_count
7556 # 10*(2^10) chars as input seems more than enough
7557 test $ac_count -gt 10 && break
7559 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7563 $ac_path_GREP_found && break 3
7573 GREP
="$ac_cv_path_GREP"
7574 if test -z "$GREP"; then
7575 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7576 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7577 { (exit 1); exit 1; }; }
7581 ac_cv_path_GREP
=$GREP
7586 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7587 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7588 GREP
="$ac_cv_path_GREP"
7591 { echo "$as_me:$LINENO: checking for egrep" >&5
7592 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7593 if test "${ac_cv_path_EGREP+set}" = set; then
7594 echo $ECHO_N "(cached) $ECHO_C" >&6
7596 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7597 then ac_cv_path_EGREP
="$GREP -E"
7599 # Extract the first word of "egrep" to use in msg output
7600 if test -z "$EGREP"; then
7601 set dummy
egrep; ac_prog_name
=$2
7602 if test "${ac_cv_path_EGREP+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 ac_path_EGREP_found
=false
7606 # Loop through the user's path and test for each of PROGNAME-LIST
7607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7608 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7611 test -z "$as_dir" && as_dir
=.
7612 for ac_prog
in egrep; do
7613 for ac_exec_ext
in '' $ac_executable_extensions; do
7614 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7615 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7616 # Check for GNU ac_path_EGREP and select it if it is found.
7617 # Check for GNU $ac_path_EGREP
7618 case `"$ac_path_EGREP" --version 2>&1` in
7620 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7623 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7626 cat "conftest.in" "conftest.in" >"conftest.tmp"
7627 mv "conftest.tmp" "conftest.in"
7628 cp "conftest.in" "conftest.nl"
7629 echo 'EGREP' >> "conftest.nl"
7630 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7631 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7632 ac_count
=`expr $ac_count + 1`
7633 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7634 # Best one so far, save it but keep looking for a better one
7635 ac_cv_path_EGREP
="$ac_path_EGREP"
7636 ac_path_EGREP_max
=$ac_count
7638 # 10*(2^10) chars as input seems more than enough
7639 test $ac_count -gt 10 && break
7641 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7645 $ac_path_EGREP_found && break 3
7655 EGREP
="$ac_cv_path_EGREP"
7656 if test -z "$EGREP"; then
7657 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7658 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7659 { (exit 1); exit 1; }; }
7663 ac_cv_path_EGREP
=$EGREP
7669 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7670 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7671 EGREP
="$ac_cv_path_EGREP"
7674 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7675 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7676 if test "${ac_cv_header_stdc+set}" = set; then
7677 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 cat >conftest.
$ac_ext <<_ACEOF
7682 cat confdefs.h
>>conftest.
$ac_ext
7683 cat >>conftest.
$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7698 rm -f conftest.
$ac_objext
7699 if { (ac_try
="$ac_compile"
7701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7702 *) ac_try_echo=$ac_try;;
7704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7705 (eval "$ac_compile") 2>conftest.er1
7707 grep -v '^ *+' conftest.er1 >conftest.err
7709 cat conftest.err >&5
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); } && {
7712 test -z "$ac_c_werror_flag" ||
7713 test ! -s conftest.err
7714 } && test -s conftest.$ac_objext; then
7715 ac_cv_header_stdc=yes
7717 echo "$as_me: failed program was:" >&5
7718 sed 's/^/| /' conftest.$ac_ext >&5
7720 ac_cv_header_stdc=no
7723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7725 if test $ac_cv_header_stdc = yes; then
7726 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7727 cat >conftest.$ac_ext <<_ACEOF
7730 cat confdefs.h >>conftest.$ac_ext
7731 cat >>conftest.$ac_ext <<_ACEOF
7732 /* end confdefs.h. */
7736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7737 $EGREP "memchr" >/dev/null 2>&1; then
7740 ac_cv_header_stdc=no
7746 if test $ac_cv_header_stdc = yes; then
7747 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7748 cat >conftest.$ac_ext <<_ACEOF
7751 cat confdefs.h >>conftest.$ac_ext
7752 cat >>conftest.$ac_ext <<_ACEOF
7753 /* end confdefs.h. */
7757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7758 $EGREP "free" >/dev/null 2>&1; then
7761 ac_cv_header_stdc=no
7767 if test $ac_cv_header_stdc = yes; then
7768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7769 if test "$cross_compiling" = yes; then
7772 cat >conftest.$ac_ext <<_ACEOF
7775 cat confdefs.h >>conftest.$ac_ext
7776 cat >>conftest.$ac_ext <<_ACEOF
7777 /* end confdefs.h. */
7780 #if ((' ' & 0x0FF) == 0x020)
7781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7784 # define ISLOWER(c) \
7785 (('a' <= (c) && (c) <= 'i') \
7786 || ('j' <= (c) && (c) <= 'r') \
7787 || ('s' <= (c) && (c) <= 'z'))
7788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7796 for (i = 0; i < 256; i++)
7797 if (XOR (islower (i), ISLOWER (i))
7798 || toupper (i) != TOUPPER (i))
7803 rm -f conftest$ac_exeext
7804 if { (ac_try="$ac_link"
7806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7807 *) ac_try_echo
=$ac_try;;
7809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7810 (eval "$ac_link") 2>&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7814 { (case "(($ac_try" in
7815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7816 *) ac_try_echo=$ac_try;;
7818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7819 (eval "$ac_try") 2>&5
7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 (exit $ac_status); }; }; then
7825 echo "$as_me: program exited with status $ac_status" >&5
7826 echo "$as_me: failed program was:" >&5
7827 sed 's/^/| /' conftest.$ac_ext >&5
7830 ac_cv_header_stdc=no
7832 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7838 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7839 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7840 if test $ac_cv_header_stdc = yes; then
7842 cat >>confdefs.h <<\_ACEOF
7843 #define STDC_HEADERS 1
7848 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7858 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7859 inttypes.h stdint.h unistd.h
7861 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7862 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7865 echo $ECHO_N "(cached) $ECHO_C" >&6
7867 cat >conftest.$ac_ext <<_ACEOF
7870 cat confdefs.h >>conftest.$ac_ext
7871 cat >>conftest.$ac_ext <<_ACEOF
7872 /* end confdefs.h. */
7873 $ac_includes_default
7875 #include <$ac_header>
7877 rm -f conftest.$ac_objext
7878 if { (ac_try="$ac_compile"
7880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7881 *) ac_try_echo
=$ac_try;;
7883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7884 (eval "$ac_compile") 2>conftest.er1
7886 grep -v '^ *+' conftest.er1
>conftest.err
7888 cat conftest.err
>&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); } && {
7891 test -z "$ac_c_werror_flag" ||
7892 test ! -s conftest.err
7893 } && test -s conftest.
$ac_objext; then
7894 eval "$as_ac_Header=yes"
7896 echo "$as_me: failed program was:" >&5
7897 sed 's/^/| /' conftest.
$ac_ext >&5
7899 eval "$as_ac_Header=no"
7902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7904 ac_res
=`eval echo '${'$as_ac_Header'}'`
7905 { echo "$as_me:$LINENO: result: $ac_res" >&5
7906 echo "${ECHO_T}$ac_res" >&6; }
7907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7908 cat >>confdefs.h
<<_ACEOF
7909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7917 { echo "$as_me:$LINENO: checking for long double" >&5
7918 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
7919 if test "${ac_cv_type_long_double+set}" = set; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 cat >conftest.
$ac_ext <<_ACEOF
7925 cat confdefs.h
>>conftest.
$ac_ext
7926 cat >>conftest.
$ac_ext <<_ACEOF
7927 /* end confdefs.h. */
7928 $ac_includes_default
7929 typedef long double ac__type_new_;
7933 if ((ac__type_new_ *) 0)
7935 if (sizeof (ac__type_new_))
7941 rm -f conftest.
$ac_objext
7942 if { (ac_try
="$ac_compile"
7944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7945 *) ac_try_echo=$ac_try;;
7947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7948 (eval "$ac_compile") 2>conftest.er1
7950 grep -v '^ *+' conftest.er1 >conftest.err
7952 cat conftest.err >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); } && {
7955 test -z "$ac_c_werror_flag" ||
7956 test ! -s conftest.err
7957 } && test -s conftest.$ac_objext; then
7958 ac_cv_type_long_double=yes
7960 echo "$as_me: failed program was:" >&5
7961 sed 's/^/| /' conftest.$ac_ext >&5
7963 ac_cv_type_long_double=no
7966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7968 { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
7969 echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
7971 # The cast to long int works around a bug in the HP C Compiler
7972 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7973 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
7974 # This bug is HP SR number 8606223364.
7975 { echo "$as_me:$LINENO: checking size of long double" >&5
7976 echo $ECHO_N "checking size of long double... $ECHO_C" >&6; }
7977 if test "${ac_cv_sizeof_long_double+set}" = set; then
7978 echo $ECHO_N "(cached) $ECHO_C" >&6
7980 if test "$cross_compiling" = yes; then
7981 # Depending upon the size, compute the lo and hi bounds.
7982 cat >conftest.$ac_ext <<_ACEOF
7985 cat confdefs.h >>conftest.$ac_ext
7986 cat >>conftest.$ac_ext <<_ACEOF
7987 /* end confdefs.h. */
7988 $ac_includes_default
7989 typedef long double ac__type_sizeof_;
7993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8000 rm -f conftest.$ac_objext
8001 if { (ac_try="$ac_compile"
8003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8004 *) ac_try_echo=$ac_try;;
8006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8007 (eval "$ac_compile") 2>conftest.er1
8009 grep -v '^
*+' conftest.er1 >conftest.err
8011 cat conftest.err >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } && {
8014 test -z "$ac_c_werror_flag" ||
8015 test ! -s conftest.err
8016 } && test -s conftest.$ac_objext; then
8019 cat >conftest.$ac_ext <<_ACEOF
8022 cat confdefs.h >>conftest.$ac_ext
8023 cat >>conftest.$ac_ext <<_ACEOF
8024 /* end confdefs.h. */
8025 $ac_includes_default
8026 typedef long double ac__type_sizeof_;
8030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8037 rm -f conftest.$ac_objext
8038 if { (ac_try="$ac_compile"
8040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8041 *) ac_try_echo=$ac_try;;
8043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8044 (eval "$ac_compile") 2>conftest.er1
8046 grep -v '^
*+' conftest.er1 >conftest.err
8048 cat conftest.err >&5
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 (exit $ac_status); } && {
8051 test -z "$ac_c_werror_flag" ||
8052 test ! -s conftest.err
8053 } && test -s conftest.$ac_objext; then
8054 ac_hi=$ac_mid; break
8056 echo "$as_me: failed program was:" >&5
8057 sed 's
/^
/|
/' conftest.$ac_ext >&5
8059 ac_lo=`expr $ac_mid + 1`
8060 if test $ac_lo -le $ac_mid; then
8064 ac_mid=`expr 2 '*' $ac_mid + 1`
8067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8070 echo "$as_me: failed program was:" >&5
8071 sed 's
/^
/|
/' conftest.$ac_ext >&5
8073 cat >conftest.$ac_ext <<_ACEOF
8076 cat confdefs.h >>conftest.$ac_ext
8077 cat >>conftest.$ac_ext <<_ACEOF
8078 /* end confdefs.h. */
8079 $ac_includes_default
8080 typedef long double ac__type_sizeof_;
8084 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8091 rm -f conftest.$ac_objext
8092 if { (ac_try="$ac_compile"
8094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8095 *) ac_try_echo=$ac_try;;
8097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8098 (eval "$ac_compile") 2>conftest.er1
8100 grep -v '^
*+' conftest.er1 >conftest.err
8102 cat conftest.err >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); } && {
8105 test -z "$ac_c_werror_flag" ||
8106 test ! -s conftest.err
8107 } && test -s conftest.$ac_objext; then
8110 cat >conftest.$ac_ext <<_ACEOF
8113 cat confdefs.h >>conftest.$ac_ext
8114 cat >>conftest.$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8116 $ac_includes_default
8117 typedef long double ac__type_sizeof_;
8121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8128 rm -f conftest.$ac_objext
8129 if { (ac_try="$ac_compile"
8131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8132 *) ac_try_echo=$ac_try;;
8134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8135 (eval "$ac_compile") 2>conftest.er1
8137 grep -v '^
*+' conftest.er1 >conftest.err
8139 cat conftest.err >&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); } && {
8142 test -z "$ac_c_werror_flag" ||
8143 test ! -s conftest.err
8144 } && test -s conftest.$ac_objext; then
8145 ac_lo=$ac_mid; break
8147 echo "$as_me: failed program was:" >&5
8148 sed 's
/^
/|
/' conftest.$ac_ext >&5
8150 ac_hi=`expr '(' $ac_mid ')' - 1`
8151 if test $ac_mid -le $ac_hi; then
8155 ac_mid=`expr 2 '*' $ac_mid`
8158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8161 echo "$as_me: failed program was:" >&5
8162 sed 's
/^
/|
/' conftest.$ac_ext >&5
8167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8171 # Binary search between lo and hi bounds.
8172 while test "x$ac_lo" != "x$ac_hi"; do
8173 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8174 cat >conftest.$ac_ext <<_ACEOF
8177 cat confdefs.h >>conftest.$ac_ext
8178 cat >>conftest.$ac_ext <<_ACEOF
8179 /* end confdefs.h. */
8180 $ac_includes_default
8181 typedef long double ac__type_sizeof_;
8185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8192 rm -f conftest.$ac_objext
8193 if { (ac_try="$ac_compile"
8195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8196 *) ac_try_echo=$ac_try;;
8198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8199 (eval "$ac_compile") 2>conftest.er1
8201 grep -v '^
*+' conftest.er1 >conftest.err
8203 cat conftest.err >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } && {
8206 test -z "$ac_c_werror_flag" ||
8207 test ! -s conftest.err
8208 } && test -s conftest.$ac_objext; then
8211 echo "$as_me: failed program was:" >&5
8212 sed 's
/^
/|
/' conftest.$ac_ext >&5
8214 ac_lo=`expr '(' $ac_mid ')' + 1`
8217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8220 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8221 '') if test "$ac_cv_type_long_double" = yes; then
8222 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8223 See \`config.log' for more details.
" >&5
8224 echo "$as_me: error
: cannot compute sizeof
(long double
)
8225 See \
`config.log' for more details." >&2;}
8226 { (exit 77); exit 77; }; }
8228 ac_cv_sizeof_long_double=0
8232 cat >conftest.$ac_ext <<_ACEOF
8235 cat confdefs.h >>conftest.$ac_ext
8236 cat >>conftest.$ac_ext <<_ACEOF
8237 /* end confdefs.h. */
8238 $ac_includes_default
8239 typedef long double ac__type_sizeof_;
8240 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8241 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8248 FILE *f = fopen ("conftest.val", "w");
8251 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8253 long int i = longval ();
8254 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8256 fprintf (f, "%ld\n", i);
8260 unsigned long int i = ulongval ();
8261 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8263 fprintf (f, "%lu\n", i);
8265 return ferror (f) || fclose (f) != 0;
8271 rm -f conftest$ac_exeext
8272 if { (ac_try="$ac_link"
8274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8275 *) ac_try_echo
=$ac_try;;
8277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8278 (eval "$ac_link") 2>&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8282 { (case "(($ac_try" in
8283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8284 *) ac_try_echo=$ac_try;;
8286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8287 (eval "$ac_try") 2>&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); }; }; then
8291 ac_cv_sizeof_long_double=`cat conftest.val
`
8293 echo "$as_me: program exited with status $ac_status" >&5
8294 echo "$as_me: failed program was:" >&5
8295 sed 's/^/| /' conftest.$ac_ext >&5
8298 if test "$ac_cv_type_long_double" = yes; then
8299 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8300 See \`config.log
' for more details." >&5
8301 echo "$as_me: error: cannot compute sizeof (long double)
8302 See \`config.log' for more details.
" >&2;}
8303 { (exit 77); exit 77; }; }
8305 ac_cv_sizeof_long_double=0
8308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8312 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8313 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6; }
8317 cat >>confdefs.h <<_ACEOF
8318 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8322 sizeof_long_double=$ac_cv_sizeof_long_double
8325 ### End of automated tests.
8326 ### Now run sysdeps configure fragments.
8328 # They also can set these variables.
8330 ldd_rewrite_script=no
8331 libc_cv_sysconfdir=$sysconfdir
8332 libc_cv_gcc_unwind_find_fde=no
8335 # Iterate over all the sysdep directories we will use, running their
8336 # configure fragments, and looking for a uname implementation.
8338 for dir in $sysnames; do
8341 *) dest=$srcdir/$dir ;;
8343 if test -r $dest/configure; then
8344 { echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8345 echo "${ECHO_T}running configure fragment
for $dir" >&6; }
8349 if test -z "$uname"; then
8350 if test -r $dest/uname.c ||
8351 test -r $dest/uname.S ||
8352 { test -r $dest/syscalls.list &&
8353 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8359 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8360 cat >>confdefs.h <<\_ACEOF
8361 #define EXPORT_UNWIND_FIND_FDE 1
8367 # If we will use the generic uname implementation, we must figure out what
8368 # it will say by examining the system, and write the results in config-name.h.
8369 if test "$uname" = "sysdeps
/generic
"; then
8371 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8372 if test $uname_sysname != $config_os; then
8373 config_release=`echo $config_os | sed s/$uname_sysname//`
8376 { echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8377 echo $ECHO_N "checking OS release
for uname...
$ECHO_C" >&6; }
8378 if test "${libc_cv_uname_release+set}" = set; then
8379 echo $ECHO_N "(cached
) $ECHO_C" >&6
8381 if test -r /vmunix; then
8382 kernel_id=`strings /vmunix | grep UNIX`
8383 elif test -r /dynix; then
8384 kernel_id=`strings /dynix | grep DYNIX`
8389 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8390 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8391 != x$config_release; then
8392 # The configuration release is a substring of the kernel release.
8393 libc_cv_uname_release=$kernel_release
8394 elif test x$config_release != x; then
8395 libc_cv_uname_release=$config_release
8396 elif test x$kernel_release != x; then
8397 libc_cv_uname_release=$kernel_release
8399 libc_cv_uname_release=unknown
8402 { echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8403 echo "${ECHO_T}$libc_cv_uname_release" >&6; }
8404 uname_release="$libc_cv_uname_release"
8406 { echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8407 echo $ECHO_N "checking OS version
for uname...
$ECHO_C" >&6; }
8408 if test "${libc_cv_uname_version+set}" = set; then
8409 echo $ECHO_N "(cached
) $ECHO_C" >&6
8411 if test -r /vmunix; then
8412 kernel_id=`strings /vmunix | grep UNIX`
8413 elif test -r /dynix; then
8414 kernel_id=`strings /dynix | grep DYNIX`
8419 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8420 if test -n "$kernel_version"; then
8421 libc_cv_uname_version="$kernel_version"
8423 libc_cv_uname_version=unknown
8426 { echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8427 echo "${ECHO_T}$libc_cv_uname_version" >&6; }
8428 uname_version="$libc_cv_uname_version"
8430 config_uname=config-name.h:config-name.in
8432 # For non-generic uname, we don't need to create config-name.h at all.
8436 cat >>confdefs.h <<\_ACEOF
8437 #define USE_IN_LIBIO 1
8441 # Test for old glibc 2.0.x headers so that they can be removed properly
8442 # Search only in includedir.
8443 { echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8444 echo $ECHO_N "checking
for old glibc
2.0.x headers...
$ECHO_C" >&6; }
8445 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8447 old_glibc_headers=yes
8449 old_glibc_headers=no
8451 { echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8452 echo "${ECHO_T}$old_glibc_headers" >&6; }
8453 if test ${old_glibc_headers} = yes; then
8454 { echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8455 echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8456 { echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8457 echo "$as_me: WARNING
: *** be removed.
" >&2;}
8471 if test $elf = yes; then
8472 cat >>confdefs.h <<\_ACEOF
8477 if test $xcoff = yes; then
8478 cat >>confdefs.h <<\_ACEOF
8479 #define HAVE_XCOFF 1
8486 if test $shared = default; then
8490 { echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8491 echo $ECHO_N "checking whether
-fPIC is default...
$ECHO_C" >&6; }
8492 if test "${pic_default+set}" = set; then
8493 echo $ECHO_N "(cached
) $ECHO_C" >&6
8496 cat > conftest.c <<EOF
8497 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8498 # error PIC is default.
8501 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8506 { echo "$as_me:$LINENO: result
: $pic_default" >&5
8507 echo "${ECHO_T}$pic_default" >&6; }
8520 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8523 config_makefile=Makefile
8526 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8527 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8531 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8533 ac_config_commands
="$ac_config_commands default"
8535 cat >confcache
<<\_ACEOF
8536 # This file is a shell script that caches the results of configure
8537 # tests run on this system so they can be shared between configure
8538 # scripts and configure runs, see configure's option --config-cache.
8539 # It is not useful on other systems. If it contains results you don't
8540 # want to keep, you may remove or edit it.
8542 # config.status only pays attention to the cache file if you give it
8543 # the --recheck option to rerun configure.
8545 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8546 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8551 # The following way of writing the cache mishandles newlines in values,
8552 # but we know of no workaround that is simple, portable, and efficient.
8553 # So, we kill variables containing newlines.
8554 # Ultrix sh set writes to stderr and can't be redirected directly,
8555 # and sets the high bit in the cache file unless we assign to the vars.
8557 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8558 eval ac_val
=\$
$ac_var
8562 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8563 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8566 _ | IFS | as_nl
) ;; #(
8567 *) $as_unset $ac_var ;;
8573 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8574 *${as_nl}ac_space
=\
*)
8575 # `set' does not quote correctly, so add quotes (double-quote
8576 # substitution turns \\\\ into \\, and sed turns \\ into \).
8579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8582 # `set' quotes correctly as required by POSIX, so do not add quotes.
8583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8592 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8594 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8596 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8597 if test -w "$cache_file"; then
8598 test "x$cache_file" != "x/dev/null" &&
8599 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8600 echo "$as_me: updating cache $cache_file" >&6;}
8601 cat confcache
>$cache_file
8603 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8604 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8609 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8610 # Let make expand exec_prefix.
8611 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8613 DEFS
=-DHAVE_CONFIG_H
8617 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8618 # 1. Remove the extension, and $U if already installed.
8619 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8620 ac_i
=`echo "$ac_i" | sed "$ac_script"`
8621 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8622 # will be set to the directory where LIBOBJS objects are built.
8623 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8624 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8628 LTLIBOBJS
=$ac_ltlibobjs
8632 : ${CONFIG_STATUS=./config.status}
8633 ac_clean_files_save
=$ac_clean_files
8634 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8635 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8636 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8637 cat >$CONFIG_STATUS <<_ACEOF
8639 # Generated by $as_me.
8640 # Run this file to recreate the current configuration.
8641 # Compiler output produced by configure, useful for debugging
8642 # configure, is in config.log if it exists.
8647 SHELL=\${CONFIG_SHELL-$SHELL}
8650 cat >>$CONFIG_STATUS <<\_ACEOF
8651 ## --------------------- ##
8652 ## M4sh Initialization. ##
8653 ## --------------------- ##
8655 # Be more Bourne compatible
8656 DUALCASE
=1; export DUALCASE
# for MKS sh
8657 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8660 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8661 # is contrary to our usage. Disable this feature.
8662 alias -g '${1+"$@"}'='"$@"'
8663 setopt NO_GLOB_SUBST
8665 case `(set -o) 2>/dev/null` in
8666 *posix
*) set -o posix
;;
8675 # Avoid depending upon Character Ranges.
8676 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8677 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8678 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8679 as_cr_digits
='0123456789'
8680 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8682 # The user is always right.
8683 if test "${PATH_SEPARATOR+set}" != set; then
8684 echo "#! /bin/sh" >conf$$.sh
8685 echo "exit 0" >>conf$$.sh
8687 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8695 # Support unset when possible.
8696 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8704 # We need space, tab and new line, in precisely that order. Quoting is
8705 # there to prevent editors from complaining about space-tab.
8706 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8707 # splitting by setting IFS to empty value.)
8712 # Find who we are. Look in the path if we contain no directory separator.
8714 *[\\/]* ) as_myself
=$0 ;;
8715 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8719 test -z "$as_dir" && as_dir
=.
8720 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8726 # We did not find ourselves, most probably we were run as `sh COMMAND'
8727 # in which case we are not to be found in the path.
8728 if test "x$as_myself" = x
; then
8731 if test ! -f "$as_myself"; then
8732 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8733 { (exit 1); exit 1; }
8736 # Work around bugs in pre-3.0 UWIN ksh.
8737 for as_var
in ENV MAIL MAILPATH
8738 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8746 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8747 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8748 LC_TELEPHONE LC_TIME
8750 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8751 eval $as_var=C
; export $as_var
8753 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8757 # Required to use basename.
8758 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8759 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8765 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8766 as_basename
=basename
8772 # Name of the executable.
8773 as_me
=`$as_basename -- "$0" ||
8774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8775 X"$0" : 'X\(//\)$' \| \
8776 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8778 sed '/^.*\/\([^/][^/]*\)\/*$/{
8799 test "x$as_lineno_1" != "x$as_lineno_2" &&
8800 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8802 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8803 # uniformly replaced by the line number. The first 'sed' inserts a
8804 # line-number line after each line using $LINENO; the second 'sed'
8805 # does the real work. The second script uses 'N' to pair each
8806 # line-number line with the line containing $LINENO, and appends
8807 # trailing '-' during substitution so that $LINENO is not a special
8809 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8810 # scripts with optimization help from Paolo Bonzini. Blame Lee
8811 # E. McMahon (1931-1989) for sed's syntax. :-)
8823 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8827 chmod +x
"$as_me.lineno" ||
8828 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8829 { (exit 1); exit 1; }; }
8831 # Don't try to exec as it changes $[0], causing all sort of problems
8832 # (the dirname of $[0] is not the place where we might find the
8833 # original and so on. Autoconf is especially sensitive to this).
8835 # Exit status is that of the last command.
8840 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8846 ECHO_C
= ECHO_N
= ECHO_T
=
8849 case `echo 'x\c'` in
8850 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8857 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8858 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8864 rm -f conf$$ conf$$.exe conf$$.
file
8865 if test -d conf$$.dir
; then
8866 rm -f conf$$.dir
/conf$$.
file
8872 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8874 # ... but there are two gotchas:
8875 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8876 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8877 # In both cases, we have to default to `cp -p'.
8878 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8880 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8885 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8886 rmdir conf$$.dir
2>/dev
/null
8888 if mkdir
-p .
2>/dev
/null
; then
8891 test -d .
/-p && rmdir .
/-p
8895 if test -x / >/dev
/null
2>&1; then
8898 if ls -dL / >/dev
/null
2>&1; then
8905 if test -d "$1"; then
8911 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8912 ???[sx]*):;;*)false;;esac;fi
8916 as_executable_p
=$as_test_x
8918 # Sed expression to map a string onto a valid CPP name.
8919 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8921 # Sed expression to map a string onto a valid variable name.
8922 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8927 # Save the log message, to keep $[0] and so on meaningful, and to
8928 # report actual input values of CONFIG_FILES etc. instead of their
8929 # values after options handling.
8931 This file was extended by GNU C Library $as_me (see version.h), which was
8932 generated by GNU Autoconf 2.61. Invocation command line was
8934 CONFIG_FILES = $CONFIG_FILES
8935 CONFIG_HEADERS = $CONFIG_HEADERS
8936 CONFIG_LINKS = $CONFIG_LINKS
8937 CONFIG_COMMANDS = $CONFIG_COMMANDS
8940 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8945 cat >>$CONFIG_STATUS <<_ACEOF
8946 # Files that config.status was made for.
8947 config_files="$ac_config_files"
8948 config_headers="$ac_config_headers"
8949 config_commands="$ac_config_commands"
8953 cat >>$CONFIG_STATUS <<\_ACEOF
8955 \`$as_me' instantiates files from templates according to the
8956 current configuration.
8958 Usage: $0 [OPTIONS] [FILE]...
8960 -h, --help print this help, then exit
8961 -V, --version print version number and configuration settings, then exit
8962 -q, --quiet do not print progress messages
8963 -d, --debug don't remove temporary files
8964 --recheck update $as_me by reconfiguring in the same conditions
8965 --file=FILE[:TEMPLATE]
8966 instantiate the configuration file FILE
8967 --header=FILE[:TEMPLATE]
8968 instantiate the configuration header FILE
8970 Configuration files:
8973 Configuration headers:
8976 Configuration commands:
8979 Report bugs to <bug-autoconf@gnu.org>."
8982 cat >>$CONFIG_STATUS <<_ACEOF
8984 GNU C Library config.status (see version.h)
8985 configured by $0, generated by GNU Autoconf 2.61,
8986 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8988 Copyright (C) 2006 Free Software Foundation, Inc.
8989 This config.status script is free software; the Free Software Foundation
8990 gives unlimited permission to copy, distribute and modify it."
8997 cat >>$CONFIG_STATUS <<\_ACEOF
8998 # If no file are specified by the user, then we need to provide default
8999 # value. By we need to know if files were specified by the user.
9005 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9006 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9017 # Handling of the options.
9018 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9020 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9021 echo "$ac_cs_version"; exit ;;
9022 --debug |
--debu |
--deb |
--de |
--d |
-d )
9024 --file |
--fil |
--fi |
--f )
9026 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9027 ac_need_defaults
=false
;;
9028 --header |
--heade |
--head |
--hea )
9030 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9031 ac_need_defaults
=false
;;
9033 # Conflict between --help and --header
9034 { echo "$as_me: error: ambiguous option: $1
9035 Try \`$0 --help' for more information." >&2
9036 { (exit 1); exit 1; }; };;
9037 --help |
--hel |
-h )
9038 echo "$ac_cs_usage"; exit ;;
9039 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9040 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9044 -*) { echo "$as_me: error: unrecognized option: $1
9045 Try \`$0 --help' for more information." >&2
9046 { (exit 1); exit 1; }; } ;;
9048 *) ac_config_targets
="$ac_config_targets $1"
9049 ac_need_defaults
=false
;;
9055 ac_configure_extra_args
=
9057 if $ac_cs_silent; then
9059 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9063 cat >>$CONFIG_STATUS <<_ACEOF
9064 if \$ac_cs_recheck; then
9065 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9068 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9072 cat >>$CONFIG_STATUS <<\_ACEOF
9076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9077 ## Running $as_me. ##
9083 cat >>$CONFIG_STATUS <<_ACEOF
9087 config_vars='$config_vars'
9091 cat >>$CONFIG_STATUS <<\_ACEOF
9093 # Handling of arguments.
9094 for ac_config_target
in $ac_config_targets
9096 case $ac_config_target in
9097 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9098 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9099 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9100 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9101 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9103 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9104 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9105 { (exit 1); exit 1; }; };;
9110 # If the user did not use the arguments to specify the items to instantiate,
9111 # then the envvar interface is used. Set only those that are not.
9112 # We use the long form for the default assignment because of an extremely
9113 # bizarre bug on SunOS 4.1.3.
9114 if $ac_need_defaults; then
9115 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9116 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9117 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9120 # Have a temporary directory for convenience. Make it in the build tree
9121 # simply because there is no reason against having it here, and in addition,
9122 # creating and moving files from /tmp can sometimes cause problems.
9123 # Hook for its removal unless debugging.
9124 # Note that there is a small window in which the directory will not be cleaned:
9125 # after its creation but before its name has been assigned to `$tmp'.
9129 trap 'exit_status=$?
9130 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9132 trap '{ (exit 1); exit 1; }' 1 2 13 15
9134 # Create a (secure) tmp directory for tmp files.
9137 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9138 test -n "$tmp" && test -d "$tmp"
9141 tmp
=.
/conf$$
-$RANDOM
9142 (umask 077 && mkdir
"$tmp")
9145 echo "$me: cannot create a temporary directory in ." >&2
9146 { (exit 1); exit 1; }
9150 # Set up the sed scripts for CONFIG_FILES section.
9153 # No need to generate the scripts if there are no CONFIG_FILES.
9154 # This happens for instance when ./config.status config.h
9155 if test -n "$CONFIG_FILES"; then
9162 for ac_last_try
in false false false false false
:; do
9163 cat >conf$
$subs.
sed <<_ACEOF
9164 SHELL!$SHELL$ac_delim
9165 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9166 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9167 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9168 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9169 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9170 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9171 exec_prefix!$exec_prefix$ac_delim
9172 prefix!$prefix$ac_delim
9173 program_transform_name!$program_transform_name$ac_delim
9174 bindir!$bindir$ac_delim
9175 sbindir!$sbindir$ac_delim
9176 libexecdir!$libexecdir$ac_delim
9177 datarootdir!$datarootdir$ac_delim
9178 datadir!$datadir$ac_delim
9179 sysconfdir!$sysconfdir$ac_delim
9180 sharedstatedir!$sharedstatedir$ac_delim
9181 localstatedir!$localstatedir$ac_delim
9182 includedir!$includedir$ac_delim
9183 oldincludedir!$oldincludedir$ac_delim
9184 docdir!$docdir$ac_delim
9185 infodir!$infodir$ac_delim
9186 htmldir!$htmldir$ac_delim
9187 dvidir!$dvidir$ac_delim
9188 pdfdir!$pdfdir$ac_delim
9189 psdir!$psdir$ac_delim
9190 libdir!$libdir$ac_delim
9191 localedir!$localedir$ac_delim
9192 mandir!$mandir$ac_delim
9194 ECHO_C!$ECHO_C$ac_delim
9195 ECHO_N!$ECHO_N$ac_delim
9196 ECHO_T!$ECHO_T$ac_delim
9198 build_alias!$build_alias$ac_delim
9199 host_alias!$host_alias$ac_delim
9200 target_alias!$target_alias$ac_delim
9201 with_fp!$with_fp$ac_delim
9202 with_cvs!$with_cvs$ac_delim
9203 enable_check_abi!$enable_check_abi$ac_delim
9204 oldest_abi!$oldest_abi$ac_delim
9205 bindnow!$bindnow$ac_delim
9206 force_install!$force_install$ac_delim
9207 all_warnings!$all_warnings$ac_delim
9208 subdirs!$subdirs$ac_delim
9209 build!$build$ac_delim
9210 build_cpu!$build_cpu$ac_delim
9211 build_vendor!$build_vendor$ac_delim
9212 build_os!$build_os$ac_delim
9214 host_cpu!$host_cpu$ac_delim
9215 host_vendor!$host_vendor$ac_delim
9216 host_os!$host_os$ac_delim
9217 add_ons!$add_ons$ac_delim
9218 add_on_subdirs!$add_on_subdirs$ac_delim
9219 base_machine!$base_machine$ac_delim
9220 submachine!$submachine$ac_delim
9221 sysnames!$sysnames$ac_delim
9222 sysdeps_add_ons!$sysdeps_add_ons$ac_delim
9223 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9224 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9225 INSTALL_DATA!$INSTALL_DATA$ac_delim
9228 CFLAGS!$CFLAGS$ac_delim
9229 LDFLAGS!$LDFLAGS$ac_delim
9230 CPPFLAGS!$CPPFLAGS$ac_delim
9231 ac_ct_CC!$ac_ct_CC$ac_delim
9232 OBJEXT!$OBJEXT$ac_delim
9233 BUILD_CC!$BUILD_CC$ac_delim
9234 cross_compiling!$cross_compiling$ac_delim
9237 CXXFLAGS!$CXXFLAGS$ac_delim
9238 ac_ct_CXX!$ac_ct_CXX$ac_delim
9240 OBJDUMP!$OBJDUMP$ac_delim
9241 RANLIB!$RANLIB$ac_delim
9245 PWD_P!$PWD_P$ac_delim
9247 MSGFMT!$MSGFMT$ac_delim
9248 MAKEINFO!$MAKEINFO$ac_delim
9250 AUTOCONF!$AUTOCONF$ac_delim
9251 SYSINCLUDES!$SYSINCLUDES$ac_delim
9252 CXX_SYSINCLUDES!$CXX_SYSINCLUDES$ac_delim
9253 libc_cv_gcc_static_libgcc!$libc_cv_gcc_static_libgcc$ac_delim
9254 BASH_SHELL!$BASH_SHELL$ac_delim
9255 libc_cv_have_bash2!$libc_cv_have_bash2$ac_delim
9257 libc_cv_have_ksh!$libc_cv_have_ksh$ac_delim
9260 INSTALL_INFO!$INSTALL_INFO$ac_delim
9263 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9265 elif $ac_last_try; then
9266 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9267 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9268 { (exit 1); exit 1; }; }
9270 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9274 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9275 if test -n "$ac_eof"; then
9276 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9277 ac_eof
=`expr $ac_eof + 1`
9280 cat >>$CONFIG_STATUS <<_ACEOF
9281 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9282 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9285 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9286 s/^/s,@/; s/!/@,|#_!!_#|/
9289 s/'"$ac_delim"'$/,g/; t
9291 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9292 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9293 rm -f conf$
$subs.
sed
9294 cat >>$CONFIG_STATUS <<_ACEOF
9300 for ac_last_try
in false false false false false
:; do
9301 cat >conf$
$subs.
sed <<_ACEOF
9302 BISON!$BISON$ac_delim
9303 VERSIONING!$VERSIONING$ac_delim
9304 libc_cv_cc_with_libunwind!$libc_cv_cc_with_libunwind$ac_delim
9305 libc_cv_Bgroup!$libc_cv_Bgroup$ac_delim
9306 libc_cv_libgcc_s_suffix!$libc_cv_libgcc_s_suffix$ac_delim
9307 libc_cv_as_needed!$libc_cv_as_needed$ac_delim
9308 ASFLAGS_config!$ASFLAGS_config$ac_delim
9309 libc_cv_z_combreloc!$libc_cv_z_combreloc$ac_delim
9310 libc_cv_z_execstack!$libc_cv_z_execstack$ac_delim
9311 libc_cv_fpie!$libc_cv_fpie$ac_delim
9312 libc_cv_hashstyle!$libc_cv_hashstyle$ac_delim
9313 fno_unit_at_a_time!$fno_unit_at_a_time$ac_delim
9314 libc_cv_ssp!$libc_cv_ssp$ac_delim
9315 libc_cv_gnu89_inline!$libc_cv_gnu89_inline$ac_delim
9316 libc_cv_have_initfini!$libc_cv_have_initfini$ac_delim
9317 no_whole_archive!$no_whole_archive$ac_delim
9318 exceptions!$exceptions$ac_delim
9319 libc_cv_cc_submachine!$libc_cv_cc_submachine$ac_delim
9320 LIBGD!$LIBGD$ac_delim
9321 have_libaudit!$have_libaudit$ac_delim
9322 have_libcap!$have_libcap$ac_delim
9323 have_selinux!$have_selinux$ac_delim
9325 EGREP!$EGREP$ac_delim
9326 sizeof_long_double!$sizeof_long_double$ac_delim
9327 libc_cv_gcc_unwind_find_fde!$libc_cv_gcc_unwind_find_fde$ac_delim
9328 uname_sysname!$uname_sysname$ac_delim
9329 uname_release!$uname_release$ac_delim
9330 uname_version!$uname_version$ac_delim
9331 old_glibc_headers!$old_glibc_headers$ac_delim
9332 libc_cv_slibdir!$libc_cv_slibdir$ac_delim
9333 libc_cv_localedir!$libc_cv_localedir$ac_delim
9334 libc_cv_sysconfdir!$libc_cv_sysconfdir$ac_delim
9335 libc_cv_rootsbindir!$libc_cv_rootsbindir$ac_delim
9336 libc_cv_forced_unwind!$libc_cv_forced_unwind$ac_delim
9337 use_ldconfig!$use_ldconfig$ac_delim
9338 ldd_rewrite_script!$ldd_rewrite_script$ac_delim
9340 xcoff!$xcoff$ac_delim
9341 static!$static$ac_delim
9342 shared!$shared$ac_delim
9343 pic_default!$pic_default$ac_delim
9344 profile!$profile$ac_delim
9345 omitfp!$omitfp$ac_delim
9346 bounded!$bounded$ac_delim
9347 static_nss!$static_nss$ac_delim
9348 nopic_initfini!$nopic_initfini$ac_delim
9349 DEFINES!$DEFINES$ac_delim
9350 mach_interface_list!$mach_interface_list$ac_delim
9351 VERSION!$VERSION$ac_delim
9352 RELEASE!$RELEASE$ac_delim
9353 LIBOBJS!$LIBOBJS$ac_delim
9354 LTLIBOBJS!$LTLIBOBJS$ac_delim
9357 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then
9359 elif $ac_last_try; then
9360 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9361 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9362 { (exit 1); exit 1; }; }
9364 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9368 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9369 if test -n "$ac_eof"; then
9370 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9371 ac_eof
=`expr $ac_eof + 1`
9374 cat >>$CONFIG_STATUS <<_ACEOF
9375 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9376 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9379 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9380 s/^/s,@/; s/!/@,|#_!!_#|/
9383 s/'"$ac_delim"'$/,g/; t
9385 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9386 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9387 rm -f conf$
$subs.
sed
9388 cat >>$CONFIG_STATUS <<_ACEOF
9395 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9396 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9397 # trailing colons and then remove the whole line if VPATH becomes empty
9398 # (actually we leave an empty line to preserve line numbers).
9399 if test "x$srcdir" = x.
; then
9400 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9404 s/^\([^=]*=[ ]*\):*/\1/
9410 cat >>$CONFIG_STATUS <<\_ACEOF
9411 fi # test -n "$CONFIG_FILES"
9414 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
9417 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9419 case $ac_mode$ac_tag in
9421 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9422 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9423 { (exit 1); exit 1; }; };;
9424 :[FH
]-) ac_tag
=-:-;;
9425 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9442 -) ac_f
="$tmp/stdin";;
9443 *) # Look for the file first in the build tree, then in the source tree
9444 # (if the path is not absolute). The absolute path cannot be DOS-style,
9445 # because $ac_f cannot contain `:'.
9449 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9451 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9452 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9453 { (exit 1); exit 1; }; };;
9455 ac_file_inputs
="$ac_file_inputs $ac_f"
9458 # Let's still pretend it is `configure' which instantiates (i.e., don't
9459 # use $as_me), people would be surprised to read:
9460 # /* config.h. Generated by config.status. */
9461 configure_input
="Generated from "`IFS=:
9462 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9463 if test x
"$ac_file" != x-
; then
9464 configure_input
="$ac_file. $configure_input"
9465 { echo "$as_me:$LINENO: creating $ac_file" >&5
9466 echo "$as_me: creating $ac_file" >&6;}
9470 *:-:* |
*:-) cat >"$tmp/stdin";;
9475 ac_dir
=`$as_dirname -- "$ac_file" ||
9476 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9477 X"$ac_file" : 'X\(//\)[^/]' \| \
9478 X"$ac_file" : 'X\(//\)$' \| \
9479 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9500 -*) as_dir
=.
/$as_dir;;
9502 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9506 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9507 *) as_qdir
=$as_dir;;
9509 as_dirs
="'$as_qdir' $as_dirs"
9510 as_dir
=`$as_dirname -- "$as_dir" ||
9511 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9512 X"$as_dir" : 'X\(//\)[^/]' \| \
9513 X"$as_dir" : 'X\(//\)$' \| \
9514 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9533 test -d "$as_dir" && break
9535 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9536 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9537 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9538 { (exit 1); exit 1; }; }; }
9542 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9544 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9545 # A ".." for each directory in $ac_dir_suffix.
9546 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9547 case $ac_top_builddir_sub in
9548 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9549 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9552 ac_abs_top_builddir
=$ac_pwd
9553 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9554 # for backward compatibility:
9555 ac_top_builddir
=$ac_top_build_prefix
9558 .
) # We are building in place.
9560 ac_top_srcdir
=$ac_top_builddir_sub
9561 ac_abs_top_srcdir
=$ac_pwd ;;
9562 [\\/]* | ?
:[\\/]* ) # Absolute name.
9563 ac_srcdir
=$srcdir$ac_dir_suffix;
9564 ac_top_srcdir
=$srcdir
9565 ac_abs_top_srcdir
=$srcdir ;;
9567 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9568 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9569 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9571 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9581 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9582 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9586 cat >>$CONFIG_STATUS <<\_ACEOF
9587 # If the template does not know about datarootdir, expand it.
9588 # FIXME: This hack should be removed a few years after 2.60.
9589 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9591 case `sed -n '/datarootdir/ {
9600 ' $ac_file_inputs` in
9601 *datarootdir
*) ac_datarootdir_seen
=yes;;
9602 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9603 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9604 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9606 cat >>$CONFIG_STATUS <<_ACEOF
9607 ac_datarootdir_hack='
9608 s&@datadir@&$datadir&g
9609 s&@docdir@&$docdir&g
9610 s&@infodir@&$infodir&g
9611 s&@localedir@&$localedir&g
9612 s&@mandir@&$mandir&g
9613 s&\\\${datarootdir}&$datarootdir&g' ;;
9617 # Neutralize VPATH when `$srcdir' = `.'.
9618 # Shell code in configure.ac might set extrasub.
9619 # FIXME: do we really want to maintain this feature?
9620 cat >>$CONFIG_STATUS <<_ACEOF
9624 cat >>$CONFIG_STATUS <<\_ACEOF
9626 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9627 s
&@configure_input@
&$configure_input&;t t
9628 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9629 s
&@srcdir@
&$ac_srcdir&;t t
9630 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9631 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9632 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9633 s
&@builddir@
&$ac_builddir&;t t
9634 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9635 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9636 s
&@INSTALL@
&$ac_INSTALL&;t t
9637 $ac_datarootdir_hack
9638 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
9640 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9641 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9642 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9643 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9644 which seems to be undefined. Please make sure it is defined." >&5
9645 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9646 which seems to be undefined. Please make sure it is defined." >&2;}
9650 -) cat "$tmp/out"; rm -f "$tmp/out";;
9651 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9660 # Transform confdefs.h into a sed script `conftest.defines', that
9661 # substitutes the proper values into config.h.in to produce config.h.
9662 rm -f conftest.defines conftest.
tail
9663 # First, append a space to every undef/define line, to ease matching.
9664 echo 's/$/ /' >conftest.defines
9665 # Then, protect against being on the right side of a sed subst, or in
9666 # an unquoted here document, in config.status. If some macros were
9667 # called several times there might be several #defines for the same
9668 # symbol, which is useless. But do not sort them, since the last
9669 # AC_DEFINE must be honored.
9670 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
9671 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9672 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9673 # PARAMS is the parameter list in the macro definition--in most cases, it's
9674 # just an empty string.
9675 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9676 ac_dB
='\\)[ (].*,\\1define\\2'
9684 s/^[ ]*#[ ]*define[ ][ ]*//
9689 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9690 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9691 ' >>conftest.defines
9693 # Remove the space that was appended to ease matching.
9694 # Then replace #undef with comments. This is necessary, for
9695 # example, in the case of _POSIX_SOURCE, which is predefined and required
9696 # on some systems where configure will not decide to define it.
9697 # (The regexp can be short, since the line contains either #define or #undef.)
9699 s,^[ #]*u.*,/* & */,' >>conftest.defines
9701 # Break up conftest.defines:
9704 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9705 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9706 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9708 ac_in
='$ac_file_inputs'
9709 ac_out
='"$tmp/out1"'
9710 ac_nxt
='"$tmp/out2"'
9714 # Write a here document:
9715 cat >>$CONFIG_STATUS <<_ACEOF
9716 # First, check the format of the line:
9717 cat >"\$tmp/defines.sed" <<\\CEOF
9718 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9719 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9723 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
9725 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9726 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
9727 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
9728 grep . conftest.
tail >/dev
/null ||
break
9729 rm -f conftest.defines
9730 mv conftest.
tail conftest.defines
9732 rm -f conftest.defines conftest.
tail
9734 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9735 cat >>$CONFIG_STATUS <<\_ACEOF
9736 if test x
"$ac_file" != x-
; then
9737 echo "/* $configure_input */" >"$tmp/config.h"
9738 cat "$ac_result" >>"$tmp/config.h"
9739 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
9740 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9741 echo "$as_me: $ac_file is unchanged" >&6;}
9744 mv "$tmp/config.h" $ac_file
9747 echo "/* $configure_input */"
9753 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9754 echo "$as_me: executing $ac_file commands" >&6;}
9759 case $ac_file$ac_mode in
9761 case $CONFIG_FILES in *config.
make*)
9762 echo "$config_vars" >> config.
make;;
9764 test -d bits || mkdir bits
;;
9770 { (exit 0); exit 0; }
9772 chmod +x
$CONFIG_STATUS
9773 ac_clean_files
=$ac_clean_files_save
9776 # configure is writing to config.log, and then calls config.status.
9777 # config.status does its own redirection, appending to config.log.
9778 # Unfortunately, on DOS this fails, as config.log is still kept open
9779 # by configure, so config.status won't be able to write to it; its
9780 # output is simply discarded. So we exec the FD to /dev/null,
9781 # effectively closing config.log, so it can be properly (re)opened and
9782 # appended to by config.status. When coming back to configure, we
9783 # need to make the FD available again.
9784 if test "$no_create" != yes; then
9786 ac_config_status_args
=
9787 test "$silent" = yes &&
9788 ac_config_status_args
="$ac_config_status_args --quiet"
9790 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9792 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9793 # would make configure fail if this is the last instruction.
9794 $ac_cs_success ||
{ (exit 1); exit 1; }
9798 # CONFIG_SUBDIRS section.
9800 if test "$no_recursion" != yes; then
9802 # Remove --cache-file and --srcdir arguments so they do not pile up.
9803 ac_sub_configure_args
=
9805 eval "set x $ac_configure_args"
9809 if test -n "$ac_prev"; then
9814 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
9815 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
9816 ac_prev
=cache_file
;;
9817 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
9818 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
9821 --config-cache |
-C)
9823 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
9825 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
9827 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
9829 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
9833 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9835 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
9839 # Always prepend --prefix to ensure using the same prefix
9840 # in subdir configurations.
9841 ac_arg
="--prefix=$prefix"
9843 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9845 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
9848 if test "$silent" = yes; then
9849 ac_sub_configure_args
="--silent $ac_sub_configure_args"
9853 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
9855 # Do not complain, so a configure script can configure whichever
9856 # parts of a large source tree are present.
9857 test -d "$srcdir/$ac_dir" ||
continue
9859 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9860 echo "$as_me:$LINENO: $ac_msg" >&5
9864 -*) as_dir
=.
/$as_dir;;
9866 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9870 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9871 *) as_qdir
=$as_dir;;
9873 as_dirs
="'$as_qdir' $as_dirs"
9874 as_dir
=`$as_dirname -- "$as_dir" ||
9875 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9876 X"$as_dir" : 'X\(//\)[^/]' \| \
9877 X"$as_dir" : 'X\(//\)$' \| \
9878 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9897 test -d "$as_dir" && break
9899 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9900 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9901 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9902 { (exit 1); exit 1; }; }; }
9906 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9908 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9909 # A ".." for each directory in $ac_dir_suffix.
9910 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9911 case $ac_top_builddir_sub in
9912 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9913 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9916 ac_abs_top_builddir
=$ac_pwd
9917 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9918 # for backward compatibility:
9919 ac_top_builddir
=$ac_top_build_prefix
9922 .
) # We are building in place.
9924 ac_top_srcdir
=$ac_top_builddir_sub
9925 ac_abs_top_srcdir
=$ac_pwd ;;
9926 [\\/]* | ?
:[\\/]* ) # Absolute name.
9927 ac_srcdir
=$srcdir$ac_dir_suffix;
9928 ac_top_srcdir
=$srcdir
9929 ac_abs_top_srcdir
=$srcdir ;;
9931 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9932 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9933 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9935 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9940 # Check for guested configure; otherwise get Cygnus style configure.
9941 if test -f "$ac_srcdir/configure.gnu"; then
9942 ac_sub_configure
=$ac_srcdir/configure.gnu
9943 elif test -f "$ac_srcdir/configure"; then
9944 ac_sub_configure
=$ac_srcdir/configure
9945 elif test -f "$ac_srcdir/configure.in"; then
9946 # This should be Cygnus configure.
9947 ac_sub_configure
=$ac_aux_dir/configure
9949 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9950 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9954 # The recursion is here.
9955 if test -n "$ac_sub_configure"; then
9956 # Make the cache file name correct relative to the subdirectory.
9958 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
9960 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
9963 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9964 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9965 # The eval makes quoting arguments work.
9966 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9967 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9968 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
9969 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
9970 { (exit 1); exit 1; }; }