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
710 libc_cv_gcc_static_libgcc
720 libc_cv_cc_with_libunwind
722 libc_cv_libgcc_s_suffix
732 libc_cv_have_initfini
735 libc_cv_cc_submachine
743 libc_cv_gcc_unwind_find_fde
752 libc_cv_forced_unwind
753 libc_cv_cpp_asm_debuginfo
773 ac_precious_vars
='build_alias
787 # Initialize some variables set by options.
789 ac_init_version
=false
790 # The variables have the same names as the options, with
791 # dashes changed to underlines.
799 program_transform_name
=s
,x
,x
,
807 # Installation directory options.
808 # These are left unexpanded so users can "make install exec_prefix=/foo"
809 # and all the variables that are supposed to be based on exec_prefix
810 # by default will actually change.
811 # Use braces instead of parens because sh, perl, etc. also accept them.
812 # (The list follows the same order as the GNU Coding Standards.)
813 bindir
='${exec_prefix}/bin'
814 sbindir
='${exec_prefix}/sbin'
815 libexecdir
='${exec_prefix}/libexec'
816 datarootdir
='${prefix}/share'
817 datadir
='${datarootdir}'
818 sysconfdir
='${prefix}/etc'
819 sharedstatedir
='${prefix}/com'
820 localstatedir
='${prefix}/var'
821 includedir
='${prefix}/include'
822 oldincludedir
='/usr/include'
823 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
824 infodir
='${datarootdir}/info'
829 libdir
='${exec_prefix}/lib'
830 localedir
='${datarootdir}/locale'
831 mandir
='${datarootdir}/man'
837 # If the previous option needs an argument, assign it.
838 if test -n "$ac_prev"; then
839 eval $ac_prev=\
$ac_option
845 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
855 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
857 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
860 -build |
--build |
--buil |
--bui |
--bu)
861 ac_prev
=build_alias
;;
862 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
863 build_alias
=$ac_optarg ;;
865 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
866 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
867 ac_prev
=cache_file
;;
868 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
869 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
870 cache_file
=$ac_optarg ;;
873 cache_file
=config.cache
;;
875 -datadir |
--datadir |
--datadi |
--datad)
877 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
878 datadir
=$ac_optarg ;;
880 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
881 |
--dataroo |
--dataro |
--datar)
882 ac_prev
=datarootdir
;;
883 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
884 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
885 datarootdir
=$ac_optarg ;;
887 -disable-* |
--disable-*)
888 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
891 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
892 { (exit 1); exit 1; }; }
893 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
894 eval enable_
$ac_feature=no
;;
896 -docdir |
--docdir |
--docdi |
--doc |
--do)
898 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
901 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
903 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
906 -enable-* |
--enable-*)
907 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
910 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
911 { (exit 1); exit 1; }; }
912 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
913 eval enable_
$ac_feature=\
$ac_optarg ;;
915 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
916 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
917 |
--exec |
--exe |
--ex)
918 ac_prev
=exec_prefix
;;
919 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
920 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
921 |
--exec=* |
--exe=* |
--ex=*)
922 exec_prefix
=$ac_optarg ;;
924 -gas |
--gas |
--ga |
--g)
925 # Obsolete; use --with-gas.
928 -help |
--help |
--hel |
--he |
-h)
930 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
931 ac_init_help
=recursive
;;
932 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
933 ac_init_help
=short
;;
935 -host |
--host |
--hos |
--ho)
936 ac_prev
=host_alias
;;
937 -host=* |
--host=* |
--hos=* |
--ho=*)
938 host_alias
=$ac_optarg ;;
940 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
942 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
944 htmldir
=$ac_optarg ;;
946 -includedir |
--includedir |
--includedi |
--included |
--include \
947 |
--includ |
--inclu |
--incl |
--inc)
948 ac_prev
=includedir
;;
949 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
950 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
951 includedir
=$ac_optarg ;;
953 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
955 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
956 infodir
=$ac_optarg ;;
958 -libdir |
--libdir |
--libdi |
--libd)
960 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
963 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
964 |
--libexe |
--libex |
--libe)
965 ac_prev
=libexecdir
;;
966 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
967 |
--libexe=* |
--libex=* |
--libe=*)
968 libexecdir
=$ac_optarg ;;
970 -localedir |
--localedir |
--localedi |
--localed |
--locale)
972 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
973 localedir
=$ac_optarg ;;
975 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
976 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
977 ac_prev
=localstatedir
;;
978 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
979 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
980 localstatedir
=$ac_optarg ;;
982 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
984 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
988 # Obsolete; use --without-fp.
991 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
992 |
--no-cr |
--no-c |
-n)
995 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
996 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
999 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1000 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1001 |
--oldin |
--oldi |
--old |
--ol |
--o)
1002 ac_prev
=oldincludedir
;;
1003 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1004 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1005 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1006 oldincludedir
=$ac_optarg ;;
1008 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1010 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1011 prefix
=$ac_optarg ;;
1013 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1014 |
--program-pre |
--program-pr |
--program-p)
1015 ac_prev
=program_prefix
;;
1016 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1017 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1018 program_prefix
=$ac_optarg ;;
1020 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1021 |
--program-suf |
--program-su |
--program-s)
1022 ac_prev
=program_suffix
;;
1023 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1024 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1025 program_suffix
=$ac_optarg ;;
1027 -program-transform-name |
--program-transform-name \
1028 |
--program-transform-nam |
--program-transform-na \
1029 |
--program-transform-n |
--program-transform- \
1030 |
--program-transform |
--program-transfor \
1031 |
--program-transfo |
--program-transf \
1032 |
--program-trans |
--program-tran \
1033 |
--progr-tra |
--program-tr |
--program-t)
1034 ac_prev
=program_transform_name
;;
1035 -program-transform-name=* |
--program-transform-name=* \
1036 |
--program-transform-nam=* |
--program-transform-na=* \
1037 |
--program-transform-n=* |
--program-transform-=* \
1038 |
--program-transform=* |
--program-transfor=* \
1039 |
--program-transfo=* |
--program-transf=* \
1040 |
--program-trans=* |
--program-tran=* \
1041 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1042 program_transform_name
=$ac_optarg ;;
1044 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1046 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1047 pdfdir
=$ac_optarg ;;
1049 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1051 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1054 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1055 |
-silent |
--silent |
--silen |
--sile |
--sil)
1058 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1060 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1062 sbindir
=$ac_optarg ;;
1064 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1065 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1066 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1068 ac_prev
=sharedstatedir
;;
1069 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1070 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1071 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1073 sharedstatedir
=$ac_optarg ;;
1075 -site |
--site |
--sit)
1077 -site=* |
--site=* |
--sit=*)
1080 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1082 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1083 srcdir
=$ac_optarg ;;
1085 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1086 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1087 ac_prev
=sysconfdir
;;
1088 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1089 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1090 sysconfdir
=$ac_optarg ;;
1092 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1093 ac_prev
=target_alias
;;
1094 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1095 target_alias
=$ac_optarg ;;
1097 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1100 -version |
--version |
--versio |
--versi |
--vers |
-V)
1101 ac_init_version
=: ;;
1104 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1107 { echo "$as_me: error: invalid package name: $ac_package" >&2
1108 { (exit 1); exit 1; }; }
1109 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1110 eval with_
$ac_package=\
$ac_optarg ;;
1112 -without-* |
--without-*)
1113 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_
$ac_package=no
;;
1122 # Obsolete; use --with-x.
1125 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1126 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1127 ac_prev
=x_includes
;;
1128 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1129 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1130 x_includes
=$ac_optarg ;;
1132 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1133 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1134 ac_prev
=x_libraries
;;
1135 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1136 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1137 x_libraries
=$ac_optarg ;;
1139 -*) { echo "$as_me: error: unrecognized option: $ac_option
1140 Try \`$0 --help' for more information." >&2
1141 { (exit 1); exit 1; }; }
1145 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1146 # Reject names that are not valid shell variable names.
1147 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1148 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1149 { (exit 1); exit 1; }; }
1150 eval $ac_envvar=\
$ac_optarg
1151 export $ac_envvar ;;
1154 # FIXME: should be removed in autoconf 3.0.
1155 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1157 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1164 if test -n "$ac_prev"; then
1165 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1166 { echo "$as_me: error: missing argument to $ac_option" >&2
1167 { (exit 1); exit 1; }; }
1170 # Be sure to have absolute directory names.
1171 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1172 datadir sysconfdir sharedstatedir localstatedir includedir \
1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1174 libdir localedir mandir
1176 eval ac_val
=\$
$ac_var
1178 [\\/$
]* | ?
:[\\/]* ) continue;;
1179 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1181 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1182 { (exit 1); exit 1; }; }
1185 # There might be people who depend on the old broken behavior: `$host'
1186 # used to hold the argument of --host etc.
1187 # FIXME: To remove some day.
1190 target
=$target_alias
1192 # FIXME: To remove some day.
1193 if test "x$host_alias" != x
; then
1194 if test "x$build_alias" = x
; then
1195 cross_compiling
=maybe
1196 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1197 If a cross compiler is detected then cross compile mode will be used." >&2
1198 elif test "x$build_alias" != "x$host_alias"; then
1204 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1206 test "$silent" = yes && exec 6>/dev
/null
1209 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1210 ac_ls_di
=`ls -di .` &&
1211 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1212 { echo "$as_me: error: Working directory cannot be determined" >&2
1213 { (exit 1); exit 1; }; }
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 { echo "$as_me: error: pwd does not report name of working directory" >&2
1216 { (exit 1); exit 1; }; }
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted
=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir
=`$as_dirname -- "$0" ||
1224 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$0" : 'X\(//\)[^/]' \| \
1226 X"$0" : 'X\(//\)$' \| \
1227 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted
=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1255 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1256 { (exit 1); exit 1; }; }
1258 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1260 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1261 { (exit 1); exit 1; }; }
1263 # When building in place, set srcdir=.
1264 if test "$ac_abs_confdir" = "$ac_pwd"; then
1267 # Remove unnecessary trailing slashes from srcdir.
1268 # Double slashes in file names in object file debugging info
1269 # mess up M-x gdb in Emacs.
1271 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1273 for ac_var
in $ac_precious_vars; do
1274 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1275 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1276 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1277 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1281 # Report the --help message.
1283 if test "$ac_init_help" = "long"; then
1284 # Omit some internal or obsolete options to make the list less imposing.
1285 # This message is too long to be a string in the A/UX 3.1 sh.
1287 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1289 Usage: $0 [OPTION]... [VAR=VALUE]...
1291 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1292 VAR=VALUE. See below for descriptions of some of the useful variables.
1294 Defaults for the options are specified in brackets.
1297 -h, --help display this help and exit
1298 --help=short display options specific to this package
1299 --help=recursive display the short help of all the included packages
1300 -V, --version display version information and exit
1301 -q, --quiet, --silent do not print \`checking...' messages
1302 --cache-file=FILE cache test results in FILE [disabled]
1303 -C, --config-cache alias for \`--cache-file=config.cache'
1304 -n, --no-create do not create output files
1305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1307 Installation directories:
1308 --prefix=PREFIX install architecture-independent files in PREFIX
1309 [$ac_default_prefix]
1310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1313 By default, \`make install' will install all the files in
1314 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1315 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1316 for instance \`--prefix=\$HOME'.
1318 For better control, use the options below.
1320 Fine tuning of the installation directories:
1321 --bindir=DIR user executables [EPREFIX/bin]
1322 --sbindir=DIR system admin executables [EPREFIX/sbin]
1323 --libexecdir=DIR program executables [EPREFIX/libexec]
1324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1327 --libdir=DIR object code libraries [EPREFIX/lib]
1328 --includedir=DIR C header files [PREFIX/include]
1329 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1330 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1331 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1332 --infodir=DIR info documentation [DATAROOTDIR/info]
1333 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1334 --mandir=DIR man documentation [DATAROOTDIR/man]
1335 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1336 --htmldir=DIR html documentation [DOCDIR]
1337 --dvidir=DIR dvi documentation [DOCDIR]
1338 --pdfdir=DIR pdf documentation [DOCDIR]
1339 --psdir=DIR ps documentation [DOCDIR]
1345 --build=BUILD configure
for building on BUILD
[guessed
]
1346 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1350 if test -n "$ac_init_help"; then
1351 case $ac_init_help in
1352 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1357 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1358 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1359 --disable-sanity-checks really
do not use threads
(should not be used except
1360 in special situations
) [default
=yes]
1361 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1363 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1364 --enable-profile build profiled library
[default
=no
]
1365 --enable-omitfp build undebuggable optimized library
[default
=no
]
1366 --enable-bounded build with runtime bounds checking
[default
=no
]
1367 --disable-versioning do not include versioning information
in the library
1368 objects
[default
=yes if supported
]
1369 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1370 [default
=glibc default
]
1371 --enable-stackguard-randomization
1372 initialize __stack_chk_guard canary with a random
1373 number
at program start
1374 --enable-add-ons[=DIRS...
]
1375 configure and build add-ons
in DIR1
,DIR2
,... search
1376 for add-ons
if no parameter given
1377 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1378 --enable-bind-now disable lazy relocations
in DSOs
1379 --enable-static-nss build static NSS modules
[default
=no
]
1380 --disable-force-install don
't force installation of files from this package,
1381 even if they are older than the installed files
1382 --enable-kernel=VERSION compile for compatibility with kernel not older than
1384 --enable-all-warnings enable all useful warnings gcc can issue
1385 --enable-multi-arch enable single DSO with optimizations for multiple
1387 --enable-experimental-malloc
1388 enable experimental malloc features
1391 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1392 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1393 --with-gd=DIR find libgd include dir and library with prefix DIR
1394 --with-gd-include=DIR find libgd include files in DIR
1395 --with-gd-lib=DIR find libgd library files in DIR
1396 --with-fp if using floating-point hardware [default=yes]
1397 --with-binutils=PATH specify location of binutils (as and ld)
1398 --with-elf if using the ELF object format
1399 --with-selinux if building with SELinux support
1400 --with-xcoff if using the XCOFF object format
1401 --without-cvs if CVS should not be used
1402 --with-headers=PATH location of system headers to use (for example
1403 /usr/src/linux/include) [default=compiler default]
1404 --with-tls enable support for TLS
1405 --without-__thread do not use TLS features even when supporting them
1406 --with-cpu=CPU select code for CPU variant
1408 Some influential environment variables:
1409 CC C compiler command
1410 CFLAGS C compiler flags
1411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1412 nonstandard directory <lib dir>
1413 LIBS libraries to pass to the linker, e.g. -l<library>
1414 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1415 you have headers in a nonstandard directory <include dir>
1417 CXX C++ compiler command
1418 CXXFLAGS C++ compiler flags
1420 Use these variables to override the choices made by `configure' or to
help
1421 it to
find libraries and programs with nonstandard names
/locations.
1423 Report bugs to
<glibc
>.
1428 if test "$ac_init_help" = "recursive"; then
1429 # If there are subdirs, report their specific --help.
1430 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1431 test -d "$ac_dir" ||
continue
1435 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1437 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1438 # A ".." for each directory in $ac_dir_suffix.
1439 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1440 case $ac_top_builddir_sub in
1441 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1442 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1445 ac_abs_top_builddir
=$ac_pwd
1446 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1447 # for backward compatibility:
1448 ac_top_builddir
=$ac_top_build_prefix
1451 .
) # We are building in place.
1453 ac_top_srcdir
=$ac_top_builddir_sub
1454 ac_abs_top_srcdir
=$ac_pwd ;;
1455 [\\/]* | ?
:[\\/]* ) # Absolute name.
1456 ac_srcdir
=$srcdir$ac_dir_suffix;
1457 ac_top_srcdir
=$srcdir
1458 ac_abs_top_srcdir
=$srcdir ;;
1460 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1461 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1462 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1464 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1466 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1467 # Check for guested configure.
1468 if test -f "$ac_srcdir/configure.gnu"; then
1470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1471 elif test -f "$ac_srcdir/configure"; then
1473 $SHELL "$ac_srcdir/configure" --help=recursive
1475 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1477 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1481 test -n "$ac_init_help" && exit $ac_status
1482 if $ac_init_version; then
1484 GNU C Library configure
(see version.h
)
1485 generated by GNU Autoconf
2.61
1487 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1488 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1489 This configure
script is free software
; the Free Software Foundation
1490 gives unlimited permission to copy
, distribute and modify it.
1494 cat >config.log
<<_ACEOF
1495 This file contains any messages produced by compilers while
1496 running configure, to aid debugging if configure makes a mistake.
1498 It was created by GNU C Library $as_me (see version.h), which was
1499 generated by GNU Autoconf 2.61. Invocation command line was
1511 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1512 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1513 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1514 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1515 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1517 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1518 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1520 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1521 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1522 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1523 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1524 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1525 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1526 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir
=.
1535 echo "PATH: $as_dir"
1551 # Keep a trace of the command line.
1552 # Strip out --no-create and --no-recursion so they do not pile up.
1553 # Strip out --silent because we don't want to record it for future runs.
1554 # Also quote any args containing shell meta-characters.
1555 # Make two passes to allow for proper duplicate-argument suppression.
1559 ac_must_keep_next
=false
1565 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1566 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1567 |
-silent |
--silent |
--silen |
--sile |
--sil)
1570 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1573 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1575 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1576 if test $ac_must_keep_next = true
; then
1577 ac_must_keep_next
=false
# Got value, back to normal.
1580 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1581 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1582 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1583 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1584 case "$ac_configure_args0 " in
1585 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1588 -* ) ac_must_keep_next
=true
;;
1591 ac_configure_args
="$ac_configure_args '$ac_arg'"
1596 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1597 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1599 # When interrupted or exit'd, cleanup temporary files, and complete
1600 # config.log. We remove comments because anyway the quotes in there
1601 # would cause problems or look ugly.
1602 # WARNING: Use '\'' to represent an apostrophe within the trap.
1603 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1604 trap 'exit_status=$?
1605 # Save into config.log some information that might help in debugging.
1610 ## ---------------- ##
1611 ## Cache variables. ##
1612 ## ---------------- ##
1615 # The following way of writing the cache mishandles newlines in values,
1617 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1618 eval ac_val=\$$ac_var
1622 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1623 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1626 _ | IFS | as_nl) ;; #(
1627 *) $as_unset $ac_var ;;
1632 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1633 *${as_nl}ac_space=\ *)
1635 "s/'\''/'\''\\\\'\'''\''/g;
1636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1647 ## ----------------- ##
1648 ## Output variables. ##
1649 ## ----------------- ##
1652 for ac_var in $ac_subst_vars
1654 eval ac_val=\$$ac_var
1656 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1658 echo "$ac_var='\''$ac_val'\''"
1662 if test -n "$ac_subst_files"; then
1664 ## ------------------- ##
1665 ## File substitutions. ##
1666 ## ------------------- ##
1669 for ac_var
in $ac_subst_files
1671 eval ac_val
=\$
$ac_var
1673 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1675 echo "$ac_var='\''$ac_val'\''"
1680 if test -s confdefs.h; then
1690 test "$ac_signal" != 0 &&
1691 echo "$as_me: caught signal $ac_signal"
1692 echo "$as_me: exit $exit_status"
1694 rm -f core *.core core.conftest.* &&
1695 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1698 for ac_signal
in 1 2 13 15; do
1699 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1703 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1704 rm -f -r conftest
* confdefs.h
1706 # Predefined preprocessor variables.
1708 cat >>confdefs.h
<<_ACEOF
1709 #define PACKAGE_NAME "$PACKAGE_NAME"
1713 cat >>confdefs.h
<<_ACEOF
1714 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1718 cat >>confdefs.h
<<_ACEOF
1719 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1723 cat >>confdefs.h
<<_ACEOF
1724 #define PACKAGE_STRING "$PACKAGE_STRING"
1728 cat >>confdefs.h
<<_ACEOF
1729 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1733 # Let the site file select an alternate cache file if it wants to.
1734 # Prefer explicitly selected file to automatically selected ones.
1735 if test -n "$CONFIG_SITE"; then
1736 set x
"$CONFIG_SITE"
1737 elif test "x$prefix" != xNONE
; then
1738 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1740 set x
"$ac_default_prefix/share/config.site" \
1741 "$ac_default_prefix/etc/config.site"
1746 if test -r "$ac_site_file"; then
1747 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1748 echo "$as_me: loading site script $ac_site_file" >&6;}
1749 sed 's/^/| /' "$ac_site_file" >&5
1754 if test -r "$cache_file"; then
1755 # Some versions of bash will fail to source /dev/null (special
1756 # files actually), so we avoid doing that.
1757 if test -f "$cache_file"; then
1758 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1759 echo "$as_me: loading cache $cache_file" >&6;}
1761 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1762 *) .
"./$cache_file";;
1766 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1767 echo "$as_me: creating cache $cache_file" >&6;}
1771 # Check that the precious variables saved in the cache have kept the same
1773 ac_cache_corrupted
=false
1774 for ac_var
in $ac_precious_vars; do
1775 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1776 eval ac_new_set
=\
$ac_env_${ac_var}_set
1777 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1778 eval ac_new_val
=\
$ac_env_${ac_var}_value
1779 case $ac_old_set,$ac_new_set in
1781 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1782 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1783 ac_cache_corrupted
=: ;;
1785 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1786 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1787 ac_cache_corrupted
=: ;;
1790 if test "x$ac_old_val" != "x$ac_new_val"; then
1791 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1792 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1793 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1794 echo "$as_me: former value: $ac_old_val" >&2;}
1795 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1796 echo "$as_me: current value: $ac_new_val" >&2;}
1797 ac_cache_corrupted
=:
1800 # Pass precious variables to config.status.
1801 if test "$ac_new_set" = set; then
1803 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1804 *) ac_arg
=$ac_var=$ac_new_val ;;
1806 case " $ac_configure_args " in
1807 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1808 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1812 if $ac_cache_corrupted; then
1813 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1814 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1815 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1816 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1817 { (exit 1); exit 1; }; }
1845 ac_cpp
='$CPP $CPPFLAGS'
1846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1852 ac_config_headers
="$ac_config_headers config.h"
1855 for ac_dir
in scripts
"$srcdir"/scripts
; do
1856 if test -f "$ac_dir/install-sh"; then
1858 ac_install_sh
="$ac_aux_dir/install-sh -c"
1860 elif test -f "$ac_dir/install.sh"; then
1862 ac_install_sh
="$ac_aux_dir/install.sh -c"
1864 elif test -f "$ac_dir/shtool"; then
1866 ac_install_sh
="$ac_aux_dir/shtool install -c"
1870 if test -z "$ac_aux_dir"; then
1871 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
1872 echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
1873 { (exit 1); exit 1; }; }
1876 # These three variables are undocumented and unsupported,
1877 # and are intended to be withdrawn in a future Autoconf release.
1878 # They can cause serious problems if a builder's source tree is in a directory
1879 # whose full name contains unusual characters.
1880 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1881 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1882 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1886 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
1887 { { echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
1888 echo "$as_me: error: you must configure in a separate build directory" >&2;}
1889 { (exit 1); exit 1; }; }
1892 # This will get text that should go into config.make.
1895 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
1897 # Check whether --with-gd was given.
1898 if test "${with_gd+set}" = set; then
1899 withval
=$with_gd; case "$with_gd" in
1901 *) libgd_include
="-I$withval/include"
1902 libgd_ldflags
="-L$withval/lib" ;;
1908 # Check whether --with-gd-include was given.
1909 if test "${with_gd_include+set}" = set; then
1910 withval
=$with_gd_include; case "$with_gd_include" in
1912 *) libgd_include
="-I$withval" ;;
1918 # Check whether --with-gd-lib was given.
1919 if test "${with_gd_lib+set}" = set; then
1920 withval
=$with_gd_lib; case "$with_gd_lib" in
1922 *) libgd_ldflags
="-L$withval" ;;
1928 if test -n "$libgd_include"; then
1929 config_vars
="$config_vars
1930 CFLAGS-memusagestat.c = $libgd_include"
1932 if test -n "$libgd_ldflags"; then
1933 config_vars
="$config_vars
1934 libgd-LDFLAGS = $libgd_ldflags"
1938 # Check whether --with-fp was given.
1939 if test "${with_fp+set}" = set; then
1940 withval
=$with_fp; with_fp
=$withval
1947 # Check whether --with-binutils was given.
1948 if test "${with_binutils+set}" = set; then
1949 withval
=$with_binutils; path_binutils
=$withval
1955 # Check whether --with-elf was given.
1956 if test "${with_elf+set}" = set; then
1957 withval
=$with_elf; elf
=$withval
1963 # Check whether --with-selinux was given.
1964 if test "${with_selinux+set}" = set; then
1965 withval
=$with_selinux; with_selinux
=$withval
1971 # Check whether --with-xcoff was given.
1972 if test "${with_xcoff+set}" = set; then
1973 withval
=$with_xcoff; xcoff
=$withval
1979 # Check whether --with-cvs was given.
1980 if test "${with_cvs+set}" = set; then
1981 withval
=$with_cvs; with_cvs
=$withval
1986 if test "$with_cvs" = yes; then
1987 if test -d $srcdir/CVS
&& grep :pserver
: $srcdir/CVS
/Root
> /dev
/null
1995 # Check whether --with-headers was given.
1996 if test "${with_headers+set}" = set; then
1997 withval
=$with_headers; sysheaders
=$withval
2003 # Check whether --enable-sanity-checks was given.
2004 if test "${enable_sanity_checks+set}" = set; then
2005 enableval
=$enable_sanity_checks; enable_sanity
=$enableval
2012 # Check whether --enable-check-abi was given.
2013 if test "${enable_check_abi+set}" = set; then
2014 enableval
=$enable_check_abi; enable_check_abi
=$enableval
2021 # Check whether --enable-shared was given.
2022 if test "${enable_shared+set}" = set; then
2023 enableval
=$enable_shared; shared
=$enableval
2028 # Check whether --enable-profile was given.
2029 if test "${enable_profile+set}" = set; then
2030 enableval
=$enable_profile; profile
=$enableval
2035 # Check whether --enable-omitfp was given.
2036 if test "${enable_omitfp+set}" = set; then
2037 enableval
=$enable_omitfp; omitfp
=$enableval
2042 # Check whether --enable-bounded was given.
2043 if test "${enable_bounded+set}" = set; then
2044 enableval
=$enable_bounded; bounded
=$enableval
2049 # Check whether --enable-versioning was given.
2050 if test "${enable_versioning+set}" = set; then
2051 enableval
=$enable_versioning; enable_versioning
=$enableval
2053 enable_versioning
=yes
2057 # Check whether --enable-oldest-abi was given.
2058 if test "${enable_oldest_abi+set}" = set; then
2059 enableval
=$enable_oldest_abi; oldest_abi
=$enableval
2064 if test "$oldest_abi" = yes ||
test "$oldest_abi" = no
; then
2067 cat >>confdefs.h
<<_ACEOF
2068 #define GLIBC_OLDEST_ABI "$oldest_abi"
2074 # Check whether --enable-stackguard-randomization was given.
2075 if test "${enable_stackguard_randomization+set}" = set; then
2076 enableval
=$enable_stackguard_randomization; enable_stackguard_randomize
=$enableval
2078 enable_stackguard_randomize
=no
2081 if test "$enable_stackguard_randomize" = yes; then
2082 cat >>confdefs.h
<<\_ACEOF
2083 #define ENABLE_STACKGUARD_RANDOMIZE 1
2088 # Check whether --enable-add-ons was given.
2089 if test "${enable_add_ons+set}" = set; then
2090 enableval
=$enable_add_ons;
2097 # Check whether --with-tls was given.
2098 if test "${with_tls+set}" = set; then
2099 withval
=$with_tls; usetls
=$withval
2106 # Check whether --with-__thread was given.
2107 if test "${with___thread+set}" = set; then
2108 withval
=$with___thread; use__thread
=$withval
2114 # Check whether --enable-hidden-plt was given.
2115 if test "${enable_hidden_plt+set}" = set; then
2116 enableval
=$enable_hidden_plt; hidden
=$enableval
2121 if test "x$hidden" = xno
; then
2122 cat >>confdefs.h
<<\_ACEOF
2128 # Check whether --enable-bind-now was given.
2129 if test "${enable_bind_now+set}" = set; then
2130 enableval
=$enable_bind_now; bindnow
=$enableval
2137 # Check whether --enable-static-nss was given.
2138 if test "${enable_static_nss+set}" = set; then
2139 enableval
=$enable_static_nss; static_nss
=$enableval
2144 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
2146 cat >>confdefs.h
<<\_ACEOF
2147 #define DO_STATIC_NSS 1
2152 # Check whether --enable-force-install was given.
2153 if test "${enable_force_install+set}" = set; then
2154 enableval
=$enable_force_install; force_install
=$enableval
2161 # Check whether --enable-kernel was given.
2162 if test "${enable_kernel+set}" = set; then
2163 enableval
=$enable_kernel; minimum_kernel
=$enableval
2166 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
2167 # Better nothing than this.
2170 if test "$minimum_kernel" = current
; then
2171 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
2175 # Check whether --enable-all-warnings was given.
2176 if test "${enable_all_warnings+set}" = set; then
2177 enableval
=$enable_all_warnings; all_warnings
=$enableval
2182 # Check whether --enable-multi-arch was given.
2183 if test "${enable_multi_arch+set}" = set; then
2184 enableval
=$enable_multi_arch; multi_arch
=$enableval
2189 if test x
"$multi_arch" = xyes
; then
2190 cat >>confdefs.h
<<\_ACEOF
2191 #define USE_MULTIARCH 1
2194 multi_arch_d
=/multiarch
2198 # Check whether --enable-experimental-malloc was given.
2199 if test "${enable_experimental_malloc+set}" = set; then
2200 enableval
=$enable_experimental_malloc; experimental_malloc
=$enableval
2205 # Make sure we can run config.sub.
2206 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2207 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2208 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2209 { (exit 1); exit 1; }; }
2211 { echo "$as_me:$LINENO: checking build system type" >&5
2212 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2213 if test "${ac_cv_build+set}" = set; then
2214 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 ac_build_alias
=$build_alias
2217 test "x$ac_build_alias" = x
&&
2218 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2219 test "x$ac_build_alias" = x
&&
2220 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2221 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2222 { (exit 1); exit 1; }; }
2223 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2224 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2225 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2226 { (exit 1); exit 1; }; }
2229 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2230 echo "${ECHO_T}$ac_cv_build" >&6; }
2231 case $ac_cv_build in
2233 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2234 echo "$as_me: error: invalid value of canonical build" >&2;}
2235 { (exit 1); exit 1; }; };;
2238 ac_save_IFS
=$IFS; IFS
='-'
2244 # Remember, the first character of IFS is used to create $*,
2245 # except with old shells:
2248 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2251 { echo "$as_me:$LINENO: checking host system type" >&5
2252 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2253 if test "${ac_cv_host+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 if test "x$host_alias" = x
; then
2257 ac_cv_host
=$ac_cv_build
2259 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2260 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2261 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2262 { (exit 1); exit 1; }; }
2266 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2267 echo "${ECHO_T}$ac_cv_host" >&6; }
2270 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2271 echo "$as_me: error: invalid value of canonical host" >&2;}
2272 { (exit 1); exit 1; }; };;
2275 ac_save_IFS
=$IFS; IFS
='-'
2281 # Remember, the first character of IFS is used to create $*,
2282 # except with old shells:
2285 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2289 # The way shlib-versions is used to generate soversions.mk uses a
2290 # fairly simplistic model for name recognition that can't distinguish
2291 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
2292 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
2293 # tell. This doesn't get used much beyond that, so it's fairly safe.
2298 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
2302 # We keep the original values in `$config_*' and never modify them, so we
2303 # can write them unchanged into config.make. Everything else uses
2304 # $machine, $vendor, and $os, and changes them whenever convenient.
2305 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
2307 # Don't allow vendor == "unknown"
2308 test "$config_vendor" = unknown
&& config_vendor
=
2309 config_os
="`echo $config_os | sed 's/^unknown-//'`"
2311 # Some configurations imply other options.
2313 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
2314 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
2316 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
2317 # These systems (almost) always use the ELF format.
2321 # These systems are always xcoff
2327 # The configure fragment of an add-on port can modify these to supplement
2328 # or override the table in the case statement below. No fragment should
2329 # ever change the config_* variables, however.
2330 machine
=$config_machine
2331 vendor
=$config_vendor
2335 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
2337 if test "$machine" = rs6000
; then
2341 # Braindead PowerPC box with absolutely no FPU.
2342 case "$machine-$host_os" in
2350 # Check whether --with-cpu was given.
2351 if test "${with_cpu+set}" = set; then
2352 withval
=$with_cpu; case "$withval" in
2353 yes|
'') { { echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
2354 echo "$as_me: error: --with-cpu requires an argument" >&2;}
2355 { (exit 1); exit 1; }; } ;;
2357 *) submachine
="$withval" ;;
2363 # An add-on can set this when it wants to disable the sanity check below.
2369 case "$enable_add_ons" in
2372 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
2373 sed 's@/[^/]*$@@' | sort | uniq`
2374 add_ons_automatic
=yes
2376 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
2377 add_ons_automatic
=no
;;
2383 if test x
"$add_ons" != x
; then
2384 for f
in $add_ons; do
2385 # Some sanity checks
2388 { { echo "$as_me:$LINENO: error:
2389 *** It seems that you're using an old \`crypt' add-on. crypt is now
2390 *** part of glibc and using the old add-on will not work with this
2391 *** release. Start again with fresh sources and without the old
2392 *** \`crypt' add-on." >&5
2393 echo "$as_me: error:
2394 *** It seems that you're using an old \`crypt' add-on. crypt is now
2395 *** part of glibc and using the old add-on will not work with this
2396 *** release. Start again with fresh sources and without the old
2397 *** \`crypt' add-on." >&2;}
2398 { (exit 1); exit 1; }; }
2401 { { echo "$as_me:$LINENO: error:
2402 *** It seems that you're using an old \`localedata' add-on. localedata
2403 *** is now part of glibc and using the old add-on will not work with
2404 *** this release. Start again with fresh sources and without the old
2405 *** \`localedata' add-on." >&5
2406 echo "$as_me: error:
2407 *** It seems that you're using an old \`localedata' add-on. localedata
2408 *** is now part of glibc and using the old add-on will not work with
2409 *** this release. Start again with fresh sources and without the old
2410 *** \`localedata' add-on." >&2;}
2411 { (exit 1); exit 1; }; }
2416 # Now source each add-on's configure fragment.
2417 # The fragments can use $srcdir/$libc_add_on to find themselves,
2418 # and test $add_ons_automatic to see if they were explicitly requested.
2419 # A fragment can clear (or even change) $libc_add_on to affect
2420 # whether it goes into the list to be actually used in the build.
2422 for libc_add_on
in $add_ons; do
2423 # Test whether such a directory really exists.
2424 # It can be absolute, or relative to $srcdir, or relative to the build dir.
2425 case "$libc_add_on" in
2427 libc_add_on_srcdir
=$libc_add_on
2430 test -d "$srcdir/$libc_add_on" ||
{
2431 if test -d "$libc_add_on"; then
2432 libc_add_on
="`pwd`/$libc_add_on"
2434 { { echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
2435 echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
2436 { (exit 1); exit 1; }; }
2439 libc_add_on_srcdir
=$srcdir/$libc_add_on
2443 libc_add_on_frag
=$libc_add_on_srcdir/configure
2444 libc_add_on_canonical
=
2445 if test -r "$libc_add_on_frag"; then
2446 { echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
2447 echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
2448 libc_add_on_canonical
=unknown
2449 libc_add_on_subdirs
=
2450 .
"$libc_add_on_frag"
2451 test -z "$libc_add_on" ||
{
2452 configured_add_ons
="$configured_add_ons $libc_add_on"
2453 if test "x$libc_add_on_canonical" = xunknown
; then
2454 { { echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
2455 echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
2456 { (exit 1); exit 1; }; }
2458 for d
in $libc_add_on_subdirs; do
2459 case "$libc_add_on" in
2460 /*) subdir_srcdir
="$libc_add_on" ;;
2461 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
2465 d
="${libc_add_on_canonical:-$libc_add_on}"
2471 subdir_srcdir
="$subdir_srcdir/$d"
2474 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
2475 add_on_subdirs
="$add_on_subdirs $d"
2476 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
2477 $d-srcdir = $subdir_srcdir"
2481 if test -n "$libc_add_on"; then
2482 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
2484 { echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
2485 echo $ECHO_N "checking add-on $libc_add_on for preconfigure fragments... $ECHO_C" >&6; }
2486 for frag
in $frags; do
2487 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
2488 echo $ECHO_N "$name $ECHO_C" >&6
2491 { echo "$as_me:$LINENO: result: " >&5
2492 echo "${ECHO_T}" >&6; }
2494 use_add_ons
="$use_add_ons $libc_add_on"
2495 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
2496 test -z "$libc_add_on_canonical" ||
2497 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
2500 # Use echo to strip excess whitespace.
2501 add_ons
="`echo $use_add_ons`"
2508 ### I put this here to prevent those annoying emails from people who cannot
2509 ### read and try to compile glibc on unsupported platforms. --drepper
2511 ### By using the undocumented --enable-hacker-mode option for configure
2512 ### one can skip this test to make the configuration not fail for unsupported
2515 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
2516 case "$machine-$host_os" in
2517 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
2520 echo "*** The GNU C library is currently not available for this platform."
2521 echo "*** So far nobody cared to port it and if there is no volunteer it"
2522 echo "*** might never happen. So, if you have interest to see glibc on"
2523 echo "*** this platform visit"
2524 echo "*** http://www.gnu.org/software/libc/porting.html"
2525 echo "*** and join the group of porters"
2531 # Expand the configuration machine name into a subdirectory by architecture
2532 # type and particular chip. If an add-on configure fragment already set
2533 # base_machine, we don't change it.
2534 test -n "$base_machine" ||
case "$machine" in
2535 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
2536 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
2537 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
2538 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
2539 ia64
) base_machine
=ia64 machine
=ia64
;;
2540 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
2541 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
2542 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
2543 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
2544 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
2545 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
2546 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
2547 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
2549 base_machine
=sparc machine
=sparc
/sparc32
;;
2550 sparcv8 | supersparc | hypersparc
)
2551 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
2552 sparcv8plus | sparcv8plusa | sparcv9
)
2553 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
2554 sparcv8plusb | sparcv9b
)
2555 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
2557 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
2559 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
2561 base_machine
=sparc machine
=sparc
/sparc64
;;
2563 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
2565 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
2567 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
2568 *) base_machine
=$machine ;;
2572 if test "$base_machine" = "i386"; then
2573 cat >>confdefs.h
<<\_ACEOF
2574 #define USE_REGPARMS 1
2579 # Compute the list of sysdep directories for this configuration.
2580 # This can take a while to compute.
2581 sysdep_dir
=$srcdir/sysdeps
2582 { echo "$as_me:$LINENO: checking sysdep dirs" >&5
2583 echo $ECHO_N "checking sysdep dirs... $ECHO_C" >&6; }
2584 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
2585 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
2587 test "x$base_os" != x ||
case "$os" in
2589 base_os
=mach
/hurd
;;
2590 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
2591 base_os
=unix
/bsd
/bsd4.4
;;
2592 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
2594 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
2595 base_os
=unix
/sysv
;;
2597 base_os
=unix
/sysv
/irix
6/$os ;;
2599 base_os
=unix
/sysv
/sysv4
;;
2601 base_os
=unix
/sysv
/hpux
/$os ;;
2603 base_os
=unix
/sysv
/aix
/aix4.3
;;
2605 base_os
=standalone
;;
2608 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
2611 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
2615 o
=`echo $tail | sed 's/[0-9]*$//'`
2616 if test $o != $tail; then
2619 # For linux-gnu, try linux-gnu, then linux.
2620 o
=`echo $tail | sed 's/-.*$//'`
2621 if test $o != $tail; then
2625 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
2628 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
2634 # For sparc/sparc32, try sparc/sparc32 and then sparc.
2636 tail=$machine${submachine:+/$submachine}
2637 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
2639 # Prepend the machine's FPU directory unless --without-fp.
2640 if test "$with_fp" = yes; then
2641 mach
="$mach /$1/fpu"
2643 mach
="$mach /$1/nofpu"
2650 # Find what sysdep directories exist.
2653 for b
in $base ''; do
2654 for m0
in $mach ''; do
2655 for v
in /$vendor ''; do
2656 test "$v" = / && continue
2657 for o
in /$ostry ''; do
2658 test "$o" = / && continue
2659 for m
in $multi_arch_d $mach ''; do
2660 for d
in $add_ons_pfx ''; do
2661 for a
in $add_ons_sfx ''; do
2662 if test -n "$m0$m0sub$b$v$o$m$msub"; then
2663 try_srcdir
="${srcdir}/"
2667 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
2668 test -n "$enable_debug_configure" &&
2669 echo "$0 DEBUG: try $try" >&2
2670 if test -d "$try_srcdir$try"; then
2671 sysnames
="$sysnames $try"
2672 { test -n "$o" ||
test -n "$b"; } && os_used
=t
2673 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
2675 x
*/$submachine) submachine_used
=t
;;
2677 if test -n "$d"; then
2678 case "$sysnames_add_ons" in
2680 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
2693 if test -z "$os_used" && test "$os" != none
; then
2694 { { echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
2695 echo "$as_me: error: Operating system $os is not supported." >&2;}
2696 { (exit 1); exit 1; }; }
2698 if test -z "$machine_used" && test "$machine" != none
; then
2699 { { echo "$as_me:$LINENO: error: The $machine is not supported." >&5
2700 echo "$as_me: error: The $machine is not supported." >&2;}
2701 { (exit 1); exit 1; }; }
2703 if test -z "$submachine_used" && test -n "$submachine"; then
2704 { { echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
2705 echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
2706 { (exit 1); exit 1; }; }
2710 # We have now validated the configuration.
2713 # If using ELF, look for an `elf' subdirectory of each machine directory.
2714 # We prepend these rather than inserting them whereever the machine appears
2715 # because things specified by the machine's ELF ABI should override
2716 # OS-specific things, and should always be the same for any OS on the
2717 # machine (otherwise what's the point of an ABI?).
2718 if test "$elf" = yes; then
2720 for d
in $add_ons_pfx ''; do
2722 if test -d $srcdir/${d}sysdeps
$m/elf
; then
2723 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
2727 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
2731 # Expand the list of system names into a full list of directories
2732 # from each element's parent name and Implies file (if present).
2735 while test $# -gt 0; do
2739 case " $names " in *" $name "*)
2740 # Already in the list.
2744 # Report each name as we discover it, so there is no long pause in output.
2745 echo $ECHO_N "$name $ECHO_C" >&6
2747 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
2751 *) xsrcdir
=$srcdir/ ;;
2753 test -n "$enable_debug_configure" &&
2754 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
2756 if test -f $xsrcdir$name/Implies
; then
2757 # Collect more names from the `Implies' file (removing comments).
2758 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
2760 for x
in $implied_candidate; do
2762 if test -d $xsrcdir$name_base/$x; then
2763 implied
="$implied $name_base/$x";
2766 for d
in $add_ons_pfx ''; do
2767 try
="${d}sysdeps/$x"
2770 *) try_srcdir
=$srcdir/ ;;
2772 test -n "$enable_debug_configure" &&
2773 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
2774 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
2776 implied
="$implied $try"
2778 case "$sysnames_add_ons" in
2780 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
2784 if test $found = no
; then
2785 { echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
2786 echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
2793 # Add NAME to the list of names.
2794 names
="$names $name"
2796 # Find the parent of NAME, using the empty string if it has none.
2797 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
2799 # Add the names implied by NAME, and NAME's parent (if it has one), to
2800 # the list of names to be processed (the argument list). We prepend the
2801 # implied names to the list and append the parent. We want implied
2802 # directories to come before further directories inferred from the
2803 # configuration components; this ensures that for sysv4, unix/common
2804 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
2806 sysnames
="`echo $implied $* $parent`"
2807 test -n "$sysnames" && set $sysnames
2810 # Add the default directories.
2811 default_sysnames
=sysdeps
/generic
2812 if test "$elf" = yes; then
2813 default_sysnames
="sysdeps/generic/elf $default_sysnames"
2815 sysnames
="$names $default_sysnames"
2817 # The other names were emitted during the scan.
2818 { echo "$as_me:$LINENO: result: $default_sysnames" >&5
2819 echo "${ECHO_T}$default_sysnames" >&6; }
2821 # Collect the list of add-ons that supply partial sysdeps trees.
2823 for add_on
in $add_ons; do
2826 *) xsrcdir
="$srcdir/" ;;
2829 test -d "$xsrcdir$add_on/sysdeps" ||
{
2830 case "$configured_add_ons " in
2833 { { echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
2834 echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
2835 { (exit 1); exit 1; }; }
2841 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
2842 case "$sysnames_add_ons" in
2845 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
2846 echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
2851 for d
in $sysnames; do
2853 $add_on/sysdeps
/*) ;;
2856 (cd "$xsrcdir$d" && for f
in *[!~
]; do
2859 for ff
in $f/*.h
; do
2860 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
2864 test -d "$f" ||
{ test -e "$f" && exit 88; }
2868 if test $?
-eq 88; then
2873 if test $found = no
; then
2874 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
2875 echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
2883 # Find a good install program. We prefer a C program (faster),
2884 # so one script is as good as another. But avoid the broken or
2885 # incompatible versions:
2886 # SysV /etc/install, /usr/sbin/install
2887 # SunOS /usr/etc/install
2888 # IRIX /sbin/install
2890 # AmigaOS /C/install, which installs bootblocks on floppy discs
2891 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2892 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2893 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2894 # OS/2's system install, which has a completely different semantic
2895 # ./install, which can be erroneously created by make from ./install.sh.
2896 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2897 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2898 if test -z "$INSTALL"; then
2899 if test "${ac_cv_path_install+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir
=.
2907 # Account for people who put trailing slashes in PATH elements.
2909 .
/ | .
// |
/cC
/* | \
2910 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2911 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2914 # OSF1 and SCO ODT 3.0 have their own names for install.
2915 # Don't use installbsd from OSF since it installs stuff as root
2917 for ac_prog
in ginstall scoinst
install; do
2918 for ac_exec_ext
in '' $ac_executable_extensions; do
2919 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2920 if test $ac_prog = install &&
2921 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2922 # AIX install. It has an incompatible calling convention.
2924 elif test $ac_prog = install &&
2925 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2926 # program-specific install script used by HP pwplus--don't use.
2929 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2942 if test "${ac_cv_path_install+set}" = set; then
2943 INSTALL
=$ac_cv_path_install
2945 # As a last resort, use the slow shell script. Don't cache a
2946 # value for INSTALL within a source directory, because that will
2947 # break other packages using the cache if that directory is
2948 # removed, or if the value is a relative name.
2949 INSTALL
=$ac_install_sh
2952 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2953 echo "${ECHO_T}$INSTALL" >&6; }
2955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2956 # It thinks the first close brace ends the variable substitution.
2957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2961 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2963 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
2964 # The makefiles need to use a different form to find it in $srcdir.
2965 INSTALL
='\$(..)./scripts/install-sh -c'
2967 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2968 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2970 if test "$LN_S" = "ln -s"; then
2971 { echo "$as_me:$LINENO: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6; }
2974 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2975 echo "${ECHO_T}no, using $LN_S" >&6; }
2980 ac_cpp
='$CPP $CPPFLAGS'
2981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2984 if test -n "$ac_tool_prefix"; then
2985 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2986 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2989 if test "${ac_cv_prog_CC+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 if test -n "$CC"; then
2993 ac_cv_prog_CC
="$CC" # Let the user override the test.
2995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir
=.
3000 for ac_exec_ext
in '' $ac_executable_extensions; do
3001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3002 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 if test -n "$CC"; then
3014 { echo "$as_me:$LINENO: result: $CC" >&5
3015 echo "${ECHO_T}$CC" >&6; }
3017 { echo "$as_me:$LINENO: result: no" >&5
3018 echo "${ECHO_T}no" >&6; }
3023 if test -z "$ac_cv_prog_CC"; then
3025 # Extract the first word of "gcc", so it can be a program name with args.
3026 set dummy gcc
; ac_word
=$2
3027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3029 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 if test -n "$ac_ct_CC"; then
3033 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_ac_ct_CC
="gcc"
3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3053 if test -n "$ac_ct_CC"; then
3054 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3055 echo "${ECHO_T}$ac_ct_CC" >&6; }
3057 { echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6; }
3061 if test "x$ac_ct_CC" = x
; then
3064 case $cross_compiling:$ac_tool_warned in
3066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3067 whose name does not start with the host triplet. If you think this
3068 configuration is useful to you, please write to autoconf@gnu.org." >&5
3069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3070 whose name does not start with the host triplet. If you think this
3071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3072 ac_tool_warned
=yes ;;
3080 if test -z "$CC"; then
3081 if test -n "$ac_tool_prefix"; then
3082 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3083 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3086 if test "${ac_cv_prog_CC+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 if test -n "$CC"; then
3090 ac_cv_prog_CC
="$CC" # Let the user override the test.
3092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir
=.
3097 for ac_exec_ext
in '' $ac_executable_extensions; do
3098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3099 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3110 if test -n "$CC"; then
3111 { echo "$as_me:$LINENO: result: $CC" >&5
3112 echo "${ECHO_T}$CC" >&6; }
3114 { echo "$as_me:$LINENO: result: no" >&5
3115 echo "${ECHO_T}no" >&6; }
3121 if test -z "$CC"; then
3122 # Extract the first word of "cc", so it can be a program name with args.
3123 set dummy cc
; ac_word
=$2
3124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3126 if test "${ac_cv_prog_CC+set}" = set; then
3127 echo $ECHO_N "(cached) $ECHO_C" >&6
3129 if test -n "$CC"; then
3130 ac_cv_prog_CC
="$CC" # Let the user override the test.
3133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3137 test -z "$as_dir" && as_dir
=.
3138 for ac_exec_ext
in '' $ac_executable_extensions; do
3139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3140 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3141 ac_prog_rejected
=yes
3145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3152 if test $ac_prog_rejected = yes; then
3153 # We found a bogon in the path, so make sure we never use it.
3154 set dummy
$ac_cv_prog_CC
3156 if test $# != 0; then
3157 # We chose a different compiler from the bogus one.
3158 # However, it has the same basename, so the bogon will be chosen
3159 # first if we set CC to just the basename; use the full file name.
3161 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3167 if test -n "$CC"; then
3168 { echo "$as_me:$LINENO: result: $CC" >&5
3169 echo "${ECHO_T}$CC" >&6; }
3171 { echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6; }
3177 if test -z "$CC"; then
3178 if test -n "$ac_tool_prefix"; then
3179 for ac_prog
in cl.exe
3181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3182 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3185 if test "${ac_cv_prog_CC+set}" = set; then
3186 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 if test -n "$CC"; then
3189 ac_cv_prog_CC
="$CC" # Let the user override the test.
3191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3195 test -z "$as_dir" && as_dir
=.
3196 for ac_exec_ext
in '' $ac_executable_extensions; do
3197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 if test -n "$CC"; then
3210 { echo "$as_me:$LINENO: result: $CC" >&5
3211 echo "${ECHO_T}$CC" >&6; }
3213 { echo "$as_me:$LINENO: result: no" >&5
3214 echo "${ECHO_T}no" >&6; }
3218 test -n "$CC" && break
3221 if test -z "$CC"; then
3223 for ac_prog
in cl.exe
3225 # Extract the first word of "$ac_prog", so it can be a program name with args.
3226 set dummy
$ac_prog; ac_word
=$2
3227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 if test -n "$ac_ct_CC"; then
3233 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3239 test -z "$as_dir" && as_dir
=.
3240 for ac_exec_ext
in '' $ac_executable_extensions; do
3241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3242 ac_cv_prog_ac_ct_CC
="$ac_prog"
3243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3252 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3253 if test -n "$ac_ct_CC"; then
3254 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3255 echo "${ECHO_T}$ac_ct_CC" >&6; }
3257 { echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6; }
3262 test -n "$ac_ct_CC" && break
3265 if test "x$ac_ct_CC" = x
; then
3268 case $cross_compiling:$ac_tool_warned in
3270 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3271 whose name does not start with the host triplet. If you think this
3272 configuration is useful to you, please write to autoconf@gnu.org." >&5
3273 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3274 whose name does not start with the host triplet. If you think this
3275 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3276 ac_tool_warned
=yes ;;
3285 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3286 See \`config.log' for more details." >&5
3287 echo "$as_me: error: no acceptable C compiler found in \$PATH
3288 See \`config.log' for more details." >&2;}
3289 { (exit 1); exit 1; }; }
3291 # Provide some information about the compiler.
3292 echo "$as_me:$LINENO: checking for C compiler version" >&5
3293 ac_compiler
=`set X $ac_compile; echo $2`
3294 { (ac_try
="$ac_compiler --version >&5"
3296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3300 (eval "$ac_compiler --version >&5") 2>&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }
3304 { (ac_try="$ac_compiler -v >&5"
3306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3307 *) ac_try_echo
=$ac_try;;
3309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3310 (eval "$ac_compiler -v >&5") 2>&5
3312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); }
3314 { (ac_try
="$ac_compiler -V >&5"
3316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3320 (eval "$ac_compiler -V >&5") 2>&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }
3326 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3327 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3328 if test "${ac_cv_objext+set}" = set; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3331 cat >conftest.$ac_ext <<_ACEOF
3334 cat confdefs.h >>conftest.$ac_ext
3335 cat >>conftest.$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3346 rm -f conftest.o conftest.obj
3347 if { (ac_try="$ac_compile"
3349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3350 *) ac_try_echo
=$ac_try;;
3352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3353 (eval "$ac_compile") 2>&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; then
3357 for ac_file
in conftest.o conftest.obj conftest.
*; do
3358 test -f "$ac_file" ||
continue;
3360 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf
) ;;
3361 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3366 echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.
$ac_ext >&5
3369 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3370 See \`config.log' for more details." >&5
3371 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3372 See \`config.log' for more details." >&2;}
3373 { (exit 1); exit 1; }; }
3376 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3378 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3379 echo "${ECHO_T}$ac_cv_objext" >&6; }
3380 OBJEXT
=$ac_cv_objext
3382 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3383 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3384 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 cat >conftest.
$ac_ext <<_ACEOF
3390 cat confdefs.h
>>conftest.
$ac_ext
3391 cat >>conftest.
$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3405 rm -f conftest.
$ac_objext
3406 if { (ac_try
="$ac_compile"
3408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3409 *) ac_try_echo=$ac_try;;
3411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3412 (eval "$ac_compile") 2>conftest.er1
3414 grep -v '^ *+' conftest.er1 >conftest.err
3416 cat conftest.err >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } && {
3419 test -z "$ac_c_werror_flag" ||
3420 test ! -s conftest.err
3421 } && test -s conftest.$ac_objext; then
3424 echo "$as_me: failed program was:" >&5
3425 sed 's/^/| /' conftest.$ac_ext >&5
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3434 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3435 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3436 GCC=`test $ac_compiler_gnu = yes && echo yes`
3437 ac_test_CFLAGS=${CFLAGS+set}
3438 ac_save_CFLAGS=$CFLAGS
3439 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3440 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3441 if test "${ac_cv_prog_cc_g+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 ac_save_c_werror_flag=$ac_c_werror_flag
3445 ac_c_werror_flag=yes
3448 cat >conftest.$ac_ext <<_ACEOF
3451 cat confdefs.h >>conftest.$ac_ext
3452 cat >>conftest.$ac_ext <<_ACEOF
3453 /* end confdefs.h. */
3463 rm -f conftest.$ac_objext
3464 if { (ac_try="$ac_compile"
3466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3467 *) ac_try_echo
=$ac_try;;
3469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3470 (eval "$ac_compile") 2>conftest.er1
3472 grep -v '^ *+' conftest.er1
>conftest.err
3474 cat conftest.err
>&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); } && {
3477 test -z "$ac_c_werror_flag" ||
3478 test ! -s conftest.err
3479 } && test -s conftest.
$ac_objext; then
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3486 cat >conftest.
$ac_ext <<_ACEOF
3489 cat confdefs.h
>>conftest.
$ac_ext
3490 cat >>conftest.
$ac_ext <<_ACEOF
3491 /* end confdefs.h. */
3501 rm -f conftest.
$ac_objext
3502 if { (ac_try
="$ac_compile"
3504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3505 *) ac_try_echo=$ac_try;;
3507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3508 (eval "$ac_compile") 2>conftest.er1
3510 grep -v '^ *+' conftest.er1 >conftest.err
3512 cat conftest.err >&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } && {
3515 test -z "$ac_c_werror_flag" ||
3516 test ! -s conftest.err
3517 } && test -s conftest.$ac_objext; then
3520 echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.$ac_ext >&5
3523 ac_c_werror_flag=$ac_save_c_werror_flag
3525 cat >conftest.$ac_ext <<_ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3540 rm -f conftest.$ac_objext
3541 if { (ac_try="$ac_compile"
3543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3544 *) ac_try_echo
=$ac_try;;
3546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3547 (eval "$ac_compile") 2>conftest.er1
3549 grep -v '^ *+' conftest.er1
>conftest.err
3551 cat conftest.err
>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } && {
3554 test -z "$ac_c_werror_flag" ||
3555 test ! -s conftest.err
3556 } && test -s conftest.
$ac_objext; then
3559 echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.
$ac_ext >&5
3565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3572 ac_c_werror_flag
=$ac_save_c_werror_flag
3574 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3575 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3576 if test "$ac_test_CFLAGS" = set; then
3577 CFLAGS
=$ac_save_CFLAGS
3578 elif test $ac_cv_prog_cc_g = yes; then
3579 if test "$GCC" = yes; then
3585 if test "$GCC" = yes; then
3591 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3592 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3593 if test "${ac_cv_prog_cc_c89+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 ac_cv_prog_cc_c89
=no
3598 cat >conftest.
$ac_ext <<_ACEOF
3601 cat confdefs.h
>>conftest.
$ac_ext
3602 cat >>conftest.
$ac_ext <<_ACEOF
3603 /* end confdefs.h. */
3606 #include <sys/types.h>
3607 #include <sys/stat.h>
3608 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3609 struct buf { int x; };
3610 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3611 static char *e (p, i)
3617 static char *f (char * (*g) (char **, int), char **p, ...)
3622 s = g (p, va_arg (v,int));
3627 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3628 function prototypes and stuff, but not '\xHH' hex character constants.
3629 These don't provoke an error unfortunately, instead are silently treated
3630 as 'x'. The following induces an error, until -std is added to get
3631 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3632 array size at least. It's necessary to write '\x00'==0 to get something
3633 that's true only with -std. */
3634 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3636 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3637 inside strings and character constants. */
3639 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3641 int test (int i, double x);
3642 struct s1 {int (*f) (int a);};
3643 struct s2 {int (*f) (double a);};
3644 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3650 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3655 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3656 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3658 CC
="$ac_save_CC $ac_arg"
3659 rm -f conftest.
$ac_objext
3660 if { (ac_try
="$ac_compile"
3662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3663 *) ac_try_echo=$ac_try;;
3665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3666 (eval "$ac_compile") 2>conftest.er1
3668 grep -v '^ *+' conftest.er1 >conftest.err
3670 cat conftest.err >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } && {
3673 test -z "$ac_c_werror_flag" ||
3674 test ! -s conftest.err
3675 } && test -s conftest.$ac_objext; then
3676 ac_cv_prog_cc_c89=$ac_arg
3678 echo "$as_me: failed program was:" >&5
3679 sed 's/^/| /' conftest.$ac_ext >&5
3684 rm -f core conftest.err conftest.$ac_objext
3685 test "x$ac_cv_prog_cc_c89" != "xno" && break
3687 rm -f conftest.$ac_ext
3692 case "x$ac_cv_prog_cc_c89" in
3694 { echo "$as_me:$LINENO: result: none needed" >&5
3695 echo "${ECHO_T}none needed" >&6; } ;;
3697 { echo "$as_me:$LINENO: result: unsupported" >&5
3698 echo "${ECHO_T}unsupported" >&6; } ;;
3700 CC="$CC $ac_cv_prog_cc_c89"
3701 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3702 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3707 ac_cpp='$CPP $CPPFLAGS'
3708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3712 if test $host != $build; then
3713 for ac_prog in gcc cc
3715 # Extract the first word of "$ac_prog", so it can be a program name with args.
3716 set dummy $ac_prog; ac_word=$2
3717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3719 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 if test -n "$BUILD_CC"; then
3723 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir=.
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3732 ac_cv_prog_BUILD_CC="$ac_prog"
3733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 BUILD_CC=$ac_cv_prog_BUILD_CC
3743 if test -n "$BUILD_CC"; then
3744 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
3745 echo "${ECHO_T}$BUILD_CC" >&6; }
3747 { echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6; }
3752 test -n "$BUILD_CC" && break
3758 ac_cpp='$CPP $CPPFLAGS'
3759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3762 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3763 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3764 # On Suns, sometimes $CPP names a directory.
3765 if test -n "$CPP" && test -d "$CPP"; then
3768 if test -z "$CPP"; then
3769 if test "${ac_cv_prog_CPP+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 # Double quotes because CPP needs to be expanded
3773 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3776 for ac_c_preproc_warn_flag in '' yes
3778 # Use a header file that comes with gcc, so configuring glibc
3779 # with a fresh cross-compiler works.
3780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3781 # <limits.h> exists even on freestanding compilers.
3782 # On the NeXT, cc -E runs the code through the compiler's parser,
3783 # not just through cpp. "Syntax error" is here to catch this case.
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3791 # include <limits.h>
3793 # include <assert.h>
3797 if { (ac_try="$ac_cpp conftest.$ac_ext"
3799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3800 *) ac_try_echo
=$ac_try;;
3802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3805 grep -v '^ *+' conftest.er1
>conftest.err
3807 cat conftest.err
>&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } >/dev
/null
&& {
3810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3811 test ! -s conftest.err
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.
$ac_ext >&5
3818 # Broken: fails on valid input.
3822 rm -f conftest.err conftest.
$ac_ext
3824 # OK, works on sane cases. Now check whether nonexistent headers
3825 # can be detected and how.
3826 cat >conftest.
$ac_ext <<_ACEOF
3829 cat confdefs.h
>>conftest.
$ac_ext
3830 cat >>conftest.
$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3832 #include <ac_nonexistent.h>
3834 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3842 grep -v '^ *+' conftest.er1 >conftest.err
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } >/dev/null && {
3847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3850 # Broken: success on invalid input.
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3856 # Passes both tests.
3861 rm -f conftest.err conftest.$ac_ext
3864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3865 rm -f conftest.err conftest.
$ac_ext
3866 if $ac_preproc_ok; then
3878 { echo "$as_me:$LINENO: result: $CPP" >&5
3879 echo "${ECHO_T}$CPP" >&6; }
3881 for ac_c_preproc_warn_flag
in '' yes
3883 # Use a header file that comes with gcc, so configuring glibc
3884 # with a fresh cross-compiler works.
3885 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3886 # <limits.h> exists even on freestanding compilers.
3887 # On the NeXT, cc -E runs the code through the compiler's parser,
3888 # not just through cpp. "Syntax error" is here to catch this case.
3889 cat >conftest.
$ac_ext <<_ACEOF
3892 cat confdefs.h
>>conftest.
$ac_ext
3893 cat >>conftest.
$ac_ext <<_ACEOF
3894 /* end confdefs.h. */
3896 # include <limits.h>
3898 # include <assert.h>
3902 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3905 *) ac_try_echo=$ac_try;;
3907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3910 grep -v '^ *+' conftest.er1 >conftest.err
3912 cat conftest.err >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } >/dev/null && {
3915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3916 test ! -s conftest.err
3920 echo "$as_me: failed program was:" >&5
3921 sed 's/^/| /' conftest.$ac_ext >&5
3923 # Broken: fails on valid input.
3927 rm -f conftest.err conftest.$ac_ext
3929 # OK, works on sane cases. Now check whether nonexistent headers
3930 # can be detected and how.
3931 cat >conftest.$ac_ext <<_ACEOF
3934 cat confdefs.h >>conftest.$ac_ext
3935 cat >>conftest.$ac_ext <<_ACEOF
3936 /* end confdefs.h. */
3937 #include <ac_nonexistent.h>
3939 if { (ac_try="$ac_cpp conftest.$ac_ext"
3941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3942 *) ac_try_echo
=$ac_try;;
3944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3947 grep -v '^ *+' conftest.er1
>conftest.err
3949 cat conftest.err
>&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); } >/dev
/null
&& {
3952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3953 test ! -s conftest.err
3955 # Broken: success on invalid input.
3958 echo "$as_me: failed program was:" >&5
3959 sed 's/^/| /' conftest.
$ac_ext >&5
3961 # Passes both tests.
3966 rm -f conftest.err conftest.
$ac_ext
3969 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3970 rm -f conftest.err conftest.
$ac_ext
3971 if $ac_preproc_ok; then
3974 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3975 See \`config.log' for more details." >&5
3976 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3977 See \`config.log' for more details." >&2;}
3978 { (exit 1); exit 1; }; }
3982 ac_cpp
='$CPP $CPPFLAGS'
3983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3987 # We need the C++ compiler only for testing.
3989 ac_cpp
='$CXXCPP $CPPFLAGS'
3990 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3993 if test -z "$CXX"; then
3994 if test -n "$CCC"; then
3997 if test -n "$ac_tool_prefix"; then
3998 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4001 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4004 if test "${ac_cv_prog_CXX+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 if test -n "$CXX"; then
4008 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4014 test -z "$as_dir" && as_dir
=.
4015 for ac_exec_ext
in '' $ac_executable_extensions; do
4016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4017 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4028 if test -n "$CXX"; then
4029 { echo "$as_me:$LINENO: result: $CXX" >&5
4030 echo "${ECHO_T}$CXX" >&6; }
4032 { echo "$as_me:$LINENO: result: no" >&5
4033 echo "${ECHO_T}no" >&6; }
4037 test -n "$CXX" && break
4040 if test -z "$CXX"; then
4042 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4044 # Extract the first word of "$ac_prog", so it can be a program name with args.
4045 set dummy
$ac_prog; ac_word
=$2
4046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4048 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4049 echo $ECHO_N "(cached) $ECHO_C" >&6
4051 if test -n "$ac_ct_CXX"; then
4052 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4058 test -z "$as_dir" && as_dir
=.
4059 for ac_exec_ext
in '' $ac_executable_extensions; do
4060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4061 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4071 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4072 if test -n "$ac_ct_CXX"; then
4073 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4074 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4076 { echo "$as_me:$LINENO: result: no" >&5
4077 echo "${ECHO_T}no" >&6; }
4081 test -n "$ac_ct_CXX" && break
4084 if test "x$ac_ct_CXX" = x
; then
4087 case $cross_compiling:$ac_tool_warned in
4089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4090 whose name does not start with the host triplet. If you think this
4091 configuration is useful to you, please write to autoconf@gnu.org." >&5
4092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4093 whose name does not start with the host triplet. If you think this
4094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4095 ac_tool_warned
=yes ;;
4103 # Provide some information about the compiler.
4104 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4105 ac_compiler
=`set X $ac_compile; echo $2`
4106 { (ac_try
="$ac_compiler --version >&5"
4108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4112 (eval "$ac_compiler --version >&5") 2>&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); }
4116 { (ac_try="$ac_compiler -v >&5"
4118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4119 *) ac_try_echo
=$ac_try;;
4121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4122 (eval "$ac_compiler -v >&5") 2>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }
4126 { (ac_try
="$ac_compiler -V >&5"
4128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4132 (eval "$ac_compiler -V >&5") 2>&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); }
4137 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4138 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4139 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 cat >conftest.$ac_ext <<_ACEOF
4145 cat confdefs.h >>conftest.$ac_ext
4146 cat >>conftest.$ac_ext <<_ACEOF
4147 /* end confdefs.h. */
4160 rm -f conftest.$ac_objext
4161 if { (ac_try="$ac_compile"
4163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4164 *) ac_try_echo
=$ac_try;;
4166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4167 (eval "$ac_compile") 2>conftest.er1
4169 grep -v '^ *+' conftest.er1
>conftest.err
4171 cat conftest.err
>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); } && {
4174 test -z "$ac_cxx_werror_flag" ||
4175 test ! -s conftest.err
4176 } && test -s conftest.
$ac_objext; then
4179 echo "$as_me: failed program was:" >&5
4180 sed 's/^/| /' conftest.
$ac_ext >&5
4185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4186 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4189 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4190 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4191 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4192 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4193 ac_save_CXXFLAGS
=$CXXFLAGS
4194 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4195 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4196 if test "${ac_cv_prog_cxx_g+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4199 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4200 ac_cxx_werror_flag
=yes
4203 cat >conftest.
$ac_ext <<_ACEOF
4206 cat confdefs.h
>>conftest.
$ac_ext
4207 cat >>conftest.
$ac_ext <<_ACEOF
4208 /* end confdefs.h. */
4218 rm -f conftest.
$ac_objext
4219 if { (ac_try
="$ac_compile"
4221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4222 *) ac_try_echo=$ac_try;;
4224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4225 (eval "$ac_compile") 2>conftest.er1
4227 grep -v '^ *+' conftest.er1 >conftest.err
4229 cat conftest.err >&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } && {
4232 test -z "$ac_cxx_werror_flag" ||
4233 test ! -s conftest.err
4234 } && test -s conftest.$ac_objext; then
4235 ac_cv_prog_cxx_g=yes
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4241 cat >conftest.$ac_ext <<_ACEOF
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
4246 /* end confdefs.h. */
4256 rm -f conftest.$ac_objext
4257 if { (ac_try="$ac_compile"
4259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4260 *) ac_try_echo
=$ac_try;;
4262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4263 (eval "$ac_compile") 2>conftest.er1
4265 grep -v '^ *+' conftest.er1
>conftest.err
4267 cat conftest.err
>&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); } && {
4270 test -z "$ac_cxx_werror_flag" ||
4271 test ! -s conftest.err
4272 } && test -s conftest.
$ac_objext; then
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.
$ac_ext >&5
4278 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4280 cat >conftest.
$ac_ext <<_ACEOF
4283 cat confdefs.h
>>conftest.
$ac_ext
4284 cat >>conftest.
$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4295 rm -f conftest.
$ac_objext
4296 if { (ac_try
="$ac_compile"
4298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4299 *) ac_try_echo=$ac_try;;
4301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4302 (eval "$ac_compile") 2>conftest.er1
4304 grep -v '^ *+' conftest.er1 >conftest.err
4306 cat conftest.err >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } && {
4309 test -z "$ac_cxx_werror_flag" ||
4310 test ! -s conftest.err
4311 } && test -s conftest.$ac_objext; then
4312 ac_cv_prog_cxx_g=yes
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4327 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4329 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4330 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4331 if test "$ac_test_CXXFLAGS" = set; then
4332 CXXFLAGS=$ac_save_CXXFLAGS
4333 elif test $ac_cv_prog_cxx_g = yes; then
4334 if test "$GXX" = yes; then
4340 if test "$GXX" = yes; then
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 # Was a --with-binutils option given?
4353 if test -n "$path_binutils"; then
4354 # Make absolute; ensure a single trailing slash.
4355 path_binutils=`(cd $path_binutils; pwd) |
sed 's%/*$%/%'`
4356 CC="$CC -B$path_binutils"
4358 AS=`$CC -print-prog-name=as
`
4359 LD=`$CC -print-prog-name=ld
`
4360 AR=`$CC -print-prog-name=ar`
4362 OBJDUMP=`$CC -print-prog-name=objdump
`
4365 # ranlib has to be treated a bit differently since it might not exist at all.
4366 ac_ranlib=`$CC -print-prog-name=ranlib
`
4367 if test "x$ac_ranlib" = xranlib; then
4368 # This extra check has to happen since gcc simply echos the parameter in
4369 # case it cannot find the value in its own directories.
4370 if test -n "$ac_tool_prefix"; then
4371 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4372 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4375 if test "${ac_cv_prog_RANLIB+set}" = set; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4378 if test -n "$RANLIB"; then
4379 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir=.
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4388 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 RANLIB=$ac_cv_prog_RANLIB
4399 if test -n "$RANLIB"; then
4400 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4401 echo "${ECHO_T}$RANLIB" >&6; }
4403 { echo "$as_me:$LINENO: result: no" >&5
4404 echo "${ECHO_T}no" >&6; }
4409 if test -z "$ac_cv_prog_RANLIB"; then
4410 ac_ct_RANLIB=$RANLIB
4411 # Extract the first word of "ranlib", so it can be a program name with args.
4412 set dummy ranlib; ac_word=$2
4413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4415 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 if test -n "$ac_ct_RANLIB"; then
4419 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir=.
4426 for ac_exec_ext in '' $ac_executable_extensions; do
4427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4428 ac_cv_prog_ac_ct_RANLIB="ranlib"
4429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4439 if test -n "$ac_ct_RANLIB"; then
4440 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4441 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4443 { echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6; }
4447 if test "x$ac_ct_RANLIB" = x; then
4450 case $cross_compiling:$ac_tool_warned in
4452 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4453 whose name does not start with the host triplet. If you think this
4454 configuration is useful to you, please write to autoconf@gnu.org." >&5
4455 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4456 whose name does not start with the host triplet. If you think this
4457 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4458 ac_tool_warned=yes ;;
4460 RANLIB=$ac_ct_RANLIB
4463 RANLIB="$ac_cv_prog_RANLIB"
4471 # Determine whether we are using GNU binutils.
4472 { echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4473 echo $ECHO_N "checking whether $AS is GNU as... $ECHO_C" >&6; }
4474 if test "${libc_cv_prog_as_gnu+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 # Most GNU programs take a -v and spit out some text including
4478 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4479 if $AS -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4480 libc_cv_prog_as_gnu=yes
4482 libc_cv_prog_as_gnu=no
4486 { echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4487 echo "${ECHO_T}$libc_cv_prog_as_gnu" >&6; }
4489 gnu_as=$libc_cv_prog_as_gnu
4491 { echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4492 echo $ECHO_N "checking whether $LD is GNU ld... $ECHO_C" >&6; }
4493 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 # Most GNU programs take a -v and spit out some text including
4497 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4498 if $LD -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4499 libc_cv_prog_ld_gnu=yes
4501 libc_cv_prog_ld_gnu=no
4505 { echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4506 echo "${ECHO_T}$libc_cv_prog_ld_gnu" >&6; }
4507 gnu_ld=$libc_cv_prog_ld_gnu
4510 # Accept binutils 2.13 or newer.
4513 # Extract the first word of "$ac_prog", so it can be a program name with args.
4514 set dummy $ac_prog; ac_word=$2
4515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4517 if test "${ac_cv_prog_AS+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 if test -n "$AS"; then
4521 ac_cv_prog_AS="$AS" # Let the user override the test.
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir=.
4528 for ac_exec_ext in '' $ac_executable_extensions; do
4529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4530 ac_cv_prog_AS="$ac_prog"
4531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 if test -n "$AS"; then
4542 { echo "$as_me:$LINENO: result: $AS" >&5
4543 echo "${ECHO_T}$AS" >&6; }
4545 { echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6; }
4550 test -n "$AS" && break
4553 if test -z "$AS"; then
4556 # Found it, now check the version.
4557 { echo "$as_me:$LINENO: checking version of $AS" >&5
4558 echo $ECHO_N "checking version of $AS... $ECHO_C" >&6; }
4559 ac_prog_version=`$AS --version 2>&1 |
sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4560 case $ac_prog_version in
4561 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4563 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4564 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4567 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4568 echo "${ECHO_T}$ac_prog_version" >&6; }
4570 if test $ac_verc_fail = yes; then
4571 AS=: critic_missing="$critic_missing as"
4576 # Extract the first word of "$ac_prog", so it can be a program name with args.
4577 set dummy $ac_prog; ac_word=$2
4578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4580 if test "${ac_cv_prog_LD+set}" = set; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
4583 if test -n "$LD"; then
4584 ac_cv_prog_LD="$LD" # Let the user override the test.
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir=.
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_prog_LD="$ac_prog"
4594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 if test -n "$LD"; then
4605 { echo "$as_me:$LINENO: result: $LD" >&5
4606 echo "${ECHO_T}$LD" >&6; }
4608 { echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6; }
4613 test -n "$LD" && break
4616 if test -z "$LD"; then
4619 # Found it, now check the version.
4620 { echo "$as_me:$LINENO: checking version of $LD" >&5
4621 echo $ECHO_N "checking version of $LD... $ECHO_C" >&6; }
4622 ac_prog_version=`$LD --version 2>&1 |
sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4623 case $ac_prog_version in
4624 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4626 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4627 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4630 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4631 echo "${ECHO_T}$ac_prog_version" >&6; }
4633 if test $ac_verc_fail = yes; then
4634 LD=: critic_missing="$critic_missing ld"
4638 # We need the physical current working directory. We cannot use the
4639 # "pwd -P" shell builtin since that's not portable. Instead we try to
4640 # find a pwd binary. Note that assigning to the PWD environment
4641 # variable might have some interesting side effects, so we don't do
4643 # Extract the first word of "pwd", so it can be a program name with args.
4644 set dummy pwd; ac_word=$2
4645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4647 if test "${ac_cv_path_PWD_P+set}" = set; then
4648 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 ac_cv_path_PWD_P="$PWD_P" # Let the user override the test with a path.
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir=.
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4662 ac_cv_path_PWD_P="$as_dir/$ac_word$ac_exec_ext"
4663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P="no"
4674 PWD_P=$ac_cv_path_PWD_P
4675 if test -n "$PWD_P"; then
4676 { echo "$as_me:$LINENO: result: $PWD_P" >&5
4677 echo "${ECHO_T}$PWD_P" >&6; }
4679 { echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6; }
4684 if test "$PWD_P" = no; then
4685 { { echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4686 echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4687 { (exit 1); exit 1; }; }
4690 # These programs are version sensitive.
4692 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
4694 # Extract the first word of "$ac_prog", so it can be a program name with args.
4695 set dummy $ac_prog; ac_word=$2
4696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4698 if test "${ac_cv_prog_CC+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 if test -n "$CC"; then
4702 ac_cv_prog_CC="$CC" # Let the user override the test.
4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir=.
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4711 ac_cv_prog_CC="$ac_prog"
4712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 if test -n "$CC"; then
4723 { echo "$as_me:$LINENO: result: $CC" >&5
4724 echo "${ECHO_T}$CC" >&6; }
4726 { echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6; }
4731 test -n "$CC" && break
4734 if test -z "$CC"; then
4737 # Found it, now check the version.
4738 { echo "$as_me:$LINENO: checking version of $CC" >&5
4739 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6; }
4740 ac_prog_version=`$CC -v 2>&1 |
sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
4741 case $ac_prog_version in
4742 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4744 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4745 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4748 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4749 echo "${ECHO_T}$ac_prog_version" >&6; }
4751 if test $ac_verc_fail = yes; then
4752 critic_missing="$critic_missing gcc"
4755 for ac_prog in gnumake gmake make
4757 # Extract the first word of "$ac_prog", so it can be a program name with args.
4758 set dummy $ac_prog; ac_word=$2
4759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4761 if test "${ac_cv_prog_MAKE+set}" = set; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 if test -n "$MAKE"; then
4765 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir=.
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4774 ac_cv_prog_MAKE="$ac_prog"
4775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 MAKE=$ac_cv_prog_MAKE
4785 if test -n "$MAKE"; then
4786 { echo "$as_me:$LINENO: result: $MAKE" >&5
4787 echo "${ECHO_T}$MAKE" >&6; }
4789 { echo "$as_me:$LINENO: result: no" >&5
4790 echo "${ECHO_T}no" >&6; }
4794 test -n "$MAKE" && break
4797 if test -z "$MAKE"; then
4800 # Found it, now check the version.
4801 { echo "$as_me:$LINENO: checking version of $MAKE" >&5
4802 echo $ECHO_N "checking version of $MAKE... $ECHO_C" >&6; }
4803 ac_prog_version=`$MAKE --version 2>&1 |
sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4804 case $ac_prog_version in
4805 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4807 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4808 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4811 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4812 echo "${ECHO_T}$ac_prog_version" >&6; }
4814 if test $ac_verc_fail = yes; then
4815 critic_missing="$critic_missing make"
4819 for ac_prog in gnumsgfmt gmsgfmt msgfmt
4821 # Extract the first word of "$ac_prog", so it can be a program name with args.
4822 set dummy $ac_prog; ac_word=$2
4823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4825 if test "${ac_cv_prog_MSGFMT+set}" = set; then
4826 echo $ECHO_N "(cached) $ECHO_C" >&6
4828 if test -n "$MSGFMT"; then
4829 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir=.
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4838 ac_cv_prog_MSGFMT="$ac_prog"
4839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4848 MSGFMT=$ac_cv_prog_MSGFMT
4849 if test -n "$MSGFMT"; then
4850 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4851 echo "${ECHO_T}$MSGFMT" >&6; }
4853 { echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6; }
4858 test -n "$MSGFMT" && break
4861 if test -z "$MSGFMT"; then
4864 # Found it, now check the version.
4865 { echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
4866 echo $ECHO_N "checking version of $MSGFMT... $ECHO_C" >&6; }
4867 ac_prog_version=`$MSGFMT --version 2>&1 |
sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4868 case $ac_prog_version in
4869 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4870 0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
4871 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4872 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4875 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4876 echo "${ECHO_T}$ac_prog_version" >&6; }
4878 if test $ac_verc_fail = yes; then
4879 MSGFMT=: aux_missing="$aux_missing msgfmt"
4882 for ac_prog in makeinfo
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy $ac_prog; ac_word=$2
4886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4888 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 if test -n "$MAKEINFO"; then
4892 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901 ac_cv_prog_MAKEINFO="$ac_prog"
4902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 MAKEINFO=$ac_cv_prog_MAKEINFO
4912 if test -n "$MAKEINFO"; then
4913 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
4914 echo "${ECHO_T}$MAKEINFO" >&6; }
4916 { echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6; }
4921 test -n "$MAKEINFO" && break
4924 if test -z "$MAKEINFO"; then
4927 # Found it, now check the version.
4928 { echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
4929 echo $ECHO_N "checking version of $MAKEINFO... $ECHO_C" >&6; }
4930 ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4931 case $ac_prog_version in
4932 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4934 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4935 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4938 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4939 echo "${ECHO_T}$ac_prog_version" >&6; }
4941 if test $ac_verc_fail = yes; then
4942 MAKEINFO=: aux_missing="$aux_missing makeinfo"
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy $ac_prog; ac_word=$2
4949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4951 if test "${ac_cv_prog_SED+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 if test -n "$SED"; then
4955 ac_cv_prog_SED="$SED" # Let the user override the test.
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4964 ac_cv_prog_SED="$ac_prog"
4965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 if test -n "$SED"; then
4976 { echo "$as_me:$LINENO: result: $SED" >&5
4977 echo "${ECHO_T}$SED" >&6; }
4979 { echo "$as_me:$LINENO: result: no" >&5
4980 echo "${ECHO_T}no" >&6; }
4984 test -n "$SED" && break
4987 if test -z "$SED"; then
4990 # Found it, now check the version.
4991 { echo "$as_me:$LINENO: checking version of $SED" >&5
4992 echo $ECHO_N "checking version of $SED... $ECHO_C" >&6; }
4993 ac_prog_version=`$SED --version 2>&1 |
sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
4994 case $ac_prog_version in
4995 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4996 3.0[2-9]*|3.[1-9]*|[4-9]*)
4997 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4998 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5001 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5002 echo "${ECHO_T}$ac_prog_version" >&6; }
5004 if test $ac_verc_fail = yes; then
5005 SED=: aux_missing="$aux_missing sed"
5009 for ac_prog in autoconf
5011 # Extract the first word of "$ac_prog", so it can be a program name with args.
5012 set dummy $ac_prog; ac_word=$2
5013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5015 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5016 echo $ECHO_N "(cached) $ECHO_C" >&6
5018 if test -n "$AUTOCONF"; then
5019 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_AUTOCONF="$ac_prog"
5029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 AUTOCONF=$ac_cv_prog_AUTOCONF
5039 if test -n "$AUTOCONF"; then
5040 { echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5041 echo "${ECHO_T}$AUTOCONF" >&6; }
5043 { echo "$as_me:$LINENO: result: no" >&5
5044 echo "${ECHO_T}no" >&6; }
5048 test -n "$AUTOCONF" && break
5050 test -n "$AUTOCONF" || AUTOCONF="no"
5052 case "x$AUTOCONF" in
5053 xno|x|x:) AUTOCONF=no ;;
5055 { echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5056 echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6; }
5057 if test "${libc_cv_autoconf_works+set}" = set; then
5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
5061 libc_cv_autoconf_works=yes
5063 libc_cv_autoconf_works=no
5066 { echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5067 echo "${ECHO_T}$libc_cv_autoconf_works" >&6; }
5068 test $libc_cv_autoconf_works = yes || AUTOCONF=no
5071 if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
5072 # If --without-cvs they probably won't change configure.in, so no complaints.
5073 aux_missing="$aux_missing autoconf"
5076 test -n "$critic_missing" && { { echo "$as_me:$LINENO: error:
5077 *** These critical programs are missing or too old:$critic_missing
5078 *** Check the INSTALL file for required versions." >&5
5079 echo "$as_me: error:
5080 *** These critical programs are missing or too old:$critic_missing
5081 *** Check the INSTALL file for required versions." >&2;}
5082 { (exit 1); exit 1; }; }
5084 test -n "$aux_missing" && { echo "$as_me:$LINENO: WARNING:
5085 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5086 *** some features will be disabled.
5087 *** Check the INSTALL file for required versions." >&5
5088 echo "$as_me: WARNING:
5089 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5090 *** some features will be disabled.
5091 *** Check the INSTALL file for required versions." >&2;}
5093 # if using special system headers, find out the compiler's sekrit
5094 # header directory and add that to the list. NOTE: Only does the right
5095 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5096 if test -n "$sysheaders"; then
5097 SYSINCLUDES=-nostdinc
5098 for d in include include-fixed; do
5099 i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
5100 SYSINCLUDES="$SYSINCLUDES -isystem $i"
5102 SYSINCLUDES="$SYSINCLUDES \
5103 -isystem `echo $sysheaders |
sed 's/:/ -isystem /g'`"
5104 if test -n "$CXX"; then
5105 cxxversion=`$CXX -dumpversion 2>&5` &&
5106 cxxmachine=`$CXX -dumpmachine 2>&5` &&
5107 cxxheaders=`$CXX -print-file-name=..
/..
/..
/..
/include
/c
++/`"$cxxversion" &&
5108 CXX_SYSINCLUDES="-isystem $cxxheaders \
5109 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5115 # check if ranlib is necessary
5116 { echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5117 echo $ECHO_N "checking whether ranlib is necessary... $ECHO_C" >&6; }
5118 if test "${libc_cv_ranlib_necessary+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 cat > conftest.c <<EOF
5126 $CC $CFLAGS $CPPFLAGS -c conftest.c
5127 $AR cr conftest.a conftest.o
5128 cp conftest.a conftest2.a
5130 if cmp -s conftest.a conftest2.a; then
5131 libc_cv_ranlib_necessary=no
5133 libc_cv_ranlib_necessary=yes
5137 { echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5138 echo "${ECHO_T}$libc_cv_ranlib_necessary" >&6; }
5139 if test "$libc_cv_ranlib_necessary" = no; then
5143 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5144 # since this would lead to problems installing/building glibc.
5145 # LD_LIBRARY_PATH contains the current directory if one of the following
5147 # - one of the terminals (":" and ";") is the first or last sign
5148 # - two terminals occur directly after each other
5149 # - the path contains an element with a dot in it
5150 { echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5151 echo $ECHO_N "checking LD_LIBRARY_PATH variable... $ECHO_C" >&6; }
5152 case ${LD_LIBRARY_PATH} in
5153 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
5154 ld_library_path_setting="contains current directory"
5157 ld_library_path_setting="ok"
5160 { echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5161 echo "${ECHO_T}$ld_library_path_setting" >&6; }
5162 if test "$ld_library_path_setting" != "ok"; then
5163 { { echo "$as_me:$LINENO: error:
5164 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5165 *** building glibc. Please change the environment variable
5166 *** and run configure again." >&5
5167 echo "$as_me: error:
5168 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5169 *** building glibc. Please change the environment variable
5170 *** and run configure again." >&2;}
5171 { (exit 1); exit 1; }; }
5174 { echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5175 echo $ECHO_N "checking whether GCC supports -static-libgcc... $ECHO_C" >&6; }
5176 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5179 if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then
5180 libc_cv_gcc_static_libgcc=
5182 libc_cv_gcc_static_libgcc=-static-libgcc
5185 { echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5186 echo "${ECHO_T}$libc_cv_gcc_static_libgcc" >&6; }
5189 # Extract the first word of "bash", so it can be a program name with args.
5190 set dummy bash; ac_word=$2
5191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5193 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5198 ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 test -z "$as_dir" && as_dir=.
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5208 ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
5209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
5220 BASH_SHELL=$ac_cv_path_BASH_SHELL
5221 if test -n "$BASH_SHELL"; then
5222 { echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5223 echo "${ECHO_T}$BASH_SHELL" >&6; }
5225 { echo "$as_me:$LINENO: result: no" >&5
5226 echo "${ECHO_T}no" >&6; }
5230 if test "$BASH_SHELL" != no &&
5231 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5232 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5233 libc_cv_have_bash2=yes
5235 libc_cv_have_bash2=no
5239 if test "$BASH_SHELL" = no; then
5240 # Extract the first word of "ksh", so it can be a program name with args.
5241 set dummy ksh; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_path_KSH+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
5272 if test -n "$KSH"; then
5273 { echo "$as_me:$LINENO: result: $KSH" >&5
5274 echo "${ECHO_T}$KSH" >&6; }
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5281 if test "$KSH" = no; then
5284 libc_cv_have_ksh=yes
5289 libc_cv_have_ksh=yes
5293 for ac_prog in gawk mawk nawk awk
5295 # Extract the first word of "$ac_prog", so it can be a program name with args.
5296 set dummy $ac_prog; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AWK+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 if test -n "$AWK"; then
5303 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AWK="$ac_prog"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 if test -n "$AWK"; then
5324 { echo "$as_me:$LINENO: result: $AWK" >&5
5325 echo "${ECHO_T}$AWK" >&6; }
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5332 test -n "$AWK" && break
5335 # Extract the first word of "perl", so it can be a program name with args.
5336 set dummy perl; ac_word=$2
5337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5339 if test "${ac_cv_path_PERL+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir=.
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
5366 PERL=$ac_cv_path_PERL
5367 if test -n "$PERL"; then
5368 { echo "$as_me:$LINENO: result: $PERL" >&5
5369 echo "${ECHO_T}$PERL" >&6; }
5371 { echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6; }
5376 if test "$PERL" != no &&
5377 (eval `$PERL -V:apiversion
`; test `expr "$apiversion" \
< 5` -ne 0); then
5380 # Extract the first word of "install-info", so it can be a program name with args.
5381 set dummy install-info; ac_word=$2
5382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5384 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 case $INSTALL_INFO in
5389 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5394 for as_dir in $as_dummy
5397 test -z "$as_dir" && as_dir=.
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5400 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
5412 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5413 if test -n "$INSTALL_INFO"; then
5414 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5415 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5417 { echo "$as_me:$LINENO: result: no" >&5
5418 echo "${ECHO_T}no" >&6; }
5422 # Extract the first word of "bison", so it can be a program name with args.
5423 set dummy bison; ac_word=$2
5424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5426 if test "${ac_cv_path_BISON+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 as_dummy="$PATH:/usr/local/bin:/usr/bin:/bin"
5436 for as_dir in $as_dummy
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no"
5454 BISON=$ac_cv_path_BISON
5455 if test -n "$BISON"; then
5456 { echo "$as_me:$LINENO: result: $BISON" >&5
5457 echo "${ECHO_T}$BISON" >&6; }
5459 { echo "$as_me:$LINENO: result: no" >&5
5460 echo "${ECHO_T}no" >&6; }
5465 { echo "$as_me:$LINENO: checking for signed size_t type" >&5
5466 echo $ECHO_N "checking for signed size_t type... $ECHO_C" >&6; }
5467 if test "${libc_cv_signed_size_t+set}" = set; then
5468 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 echo '#include <stddef.h>
5471 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5472 if eval "$ac_cpp conftest.c 2>/dev/null" \
5473 | grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev/null; then
5474 libc_cv_signed_size_t=no
5476 libc_cv_signed_size_t=yes
5480 { echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5481 echo "${ECHO_T}$libc_cv_signed_size_t" >&6; }
5482 if test $libc_cv_signed_size_t = yes; then
5483 cat >> confdefs.h <<\EOF
5484 #undef __SIZE_TYPE__
5485 #define __SIZE_TYPE__ unsigned
5490 { echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5491 echo $ECHO_N "checking for libc-friendly stddef.h... $ECHO_C" >&6; }
5492 if test "${libc_cv_friendly_stddef+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 cat >conftest.$ac_ext <<_ACEOF
5498 cat confdefs.h >>conftest.$ac_ext
5499 cat >>conftest.$ac_ext <<_ACEOF
5500 /* end confdefs.h. */
5501 #define __need_size_t
5502 #define __need_wchar_t
5509 size_t size; wchar_t wchar;
5511 #error stddef.h ignored __need_*
5513 if (&size == NULL || &wchar == NULL) abort ();
5518 rm -f conftest.$ac_objext
5519 if { (ac_try="$ac_compile"
5521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5522 *) ac_try_echo
=$ac_try;;
5524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5525 (eval "$ac_compile") 2>conftest.er1
5527 grep -v '^ *+' conftest.er1
>conftest.err
5529 cat conftest.err
>&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); } && {
5532 test -z "$ac_c_werror_flag" ||
5533 test ! -s conftest.err
5534 } && test -s conftest.
$ac_objext; then
5535 libc_cv_friendly_stddef
=yes
5537 echo "$as_me: failed program was:" >&5
5538 sed 's/^/| /' conftest.
$ac_ext >&5
5540 libc_cv_friendly_stddef
=no
5543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5545 { echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5546 echo "${ECHO_T}$libc_cv_friendly_stddef" >&6; }
5547 if test $libc_cv_friendly_stddef = yes; then
5548 config_vars
="$config_vars
5549 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5552 { echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5553 echo $ECHO_N "checking whether we need to use -P to assemble .S files... $ECHO_C" >&6; }
5554 if test "${libc_cv_need_minus_P+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5557 cat > conftest.S
<<EOF
5558 #include "confdefs.h"
5559 /* Nothing whatsoever. */
5561 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); }; }; then
5567 libc_cv_need_minus_P
=no
5569 libc_cv_need_minus_P
=yes
5573 { echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5574 echo "${ECHO_T}$libc_cv_need_minus_P" >&6; }
5575 if test $libc_cv_need_minus_P = yes; then
5576 config_vars
="$config_vars
5577 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5580 { echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5581 echo $ECHO_N "checking whether .text pseudo-op must be used... $ECHO_C" >&6; }
5582 if test "${libc_cv_dot_text+set}" = set; then
5583 echo $ECHO_N "(cached) $ECHO_C" >&6
5585 cat > conftest.s
<<EOF
5589 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; }; then
5595 libc_cv_dot_text
=.text
5600 if test -z "$libc_cv_dot_text"; then
5601 { echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6; }
5604 { echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6; }
5608 { echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5609 echo $ECHO_N "checking for assembler global-symbol directive... $ECHO_C" >&6; }
5610 if test "${libc_cv_asm_global_directive+set}" = set; then
5611 echo $ECHO_N "(cached) $ECHO_C" >&6
5613 libc_cv_asm_global_directive
=UNKNOWN
5614 for ac_globl
in .globl .global .EXPORT
; do
5615 cat > conftest.s
<<EOF
5620 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); }; }; then
5626 libc_cv_asm_global_directive
=${ac_globl}
5629 test $libc_cv_asm_global_directive != UNKNOWN
&& break
5632 { echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5633 echo "${ECHO_T}$libc_cv_asm_global_directive" >&6; }
5634 if test $libc_cv_asm_global_directive = UNKNOWN
; then
5635 { { echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5636 echo "$as_me: error: cannot determine asm global directive" >&2;}
5637 { (exit 1); exit 1; }; }
5639 cat >>confdefs.h
<<_ACEOF
5640 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5645 { echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5646 echo $ECHO_N "checking for .set assembler directive... $ECHO_C" >&6; }
5647 if test "${libc_cv_asm_set_directive+set}" = set; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 cat > conftest.s
<<EOF
5653 .set glibc_conftest_frobozz,foo
5654 $libc_cv_asm_global_directive glibc_conftest_frobozz
5656 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5657 # (but it doesn't work), so we must do a linking check to be sure.
5658 cat > conftest1.c
<<\EOF
5659 extern int glibc_conftest_frobozz
;
5660 void _start
() { glibc_conftest_frobozz
= 1; }
5662 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5663 -nostartfiles -nostdlib \
5664 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5665 libc_cv_asm_set_directive
=yes
5667 libc_cv_asm_set_directive
=no
5671 { echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5672 echo "${ECHO_T}$libc_cv_asm_set_directive" >&6; }
5673 if test $libc_cv_asm_set_directive = yes; then
5674 cat >>confdefs.h
<<\_ACEOF
5675 #define HAVE_ASM_SET_DIRECTIVE 1
5680 { echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5681 echo $ECHO_N "checking for assembler .type directive prefix... $ECHO_C" >&6; }
5682 if test "${libc_cv_asm_type_prefix+set}" = set; then
5683 echo $ECHO_N "(cached) $ECHO_C" >&6
5685 libc_cv_asm_type_prefix
=no
5686 for ac_try_prefix
in '@' '%' '#'; do
5687 cat > conftest.s
<<EOF
5689 ${libc_cv_asm_global_directive} foo
5690 .type foo, ${ac_try_prefix}object
5695 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); }; }; then
5701 libc_cv_asm_type_prefix
=${ac_try_prefix}
5704 test "x$libc_cv_asm_type_prefix" != xno
&& break
5707 { echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
5708 echo "${ECHO_T}$libc_cv_asm_type_prefix" >&6; }
5709 if test "x$libc_cv_asm_type_prefix" != xno
; then
5710 cat >>confdefs.h
<<_ACEOF
5711 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
5716 # For the multi-arch option we need support in the assembler.
5717 if test "$multi_arch" = yes; then
5718 if test "x$libc_cv_asm_type_prefix" != xno
; then
5719 { echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
5720 echo $ECHO_N "checking for assembler gnu_indirect_function symbol type support... $ECHO_C" >&6; }
5721 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 cat > conftest.s
<<EOF
5725 .type foo,%gnu_indirect_function
5727 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
5729 libc_cv_asm_gnu_indirect_function
=yes
5731 libc_cv_asm_gnu_indirect_function
=no
5735 { echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
5736 echo "${ECHO_T}$libc_cv_asm_gnu_indirect_function" >&6; }
5738 libc_cv_asm_gnu_indirect_function
=no
5740 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
; then
5741 { { echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
5742 echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
5743 { (exit 1); exit 1; }; }
5747 { echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
5748 echo $ECHO_N "checking for .symver assembler directive... $ECHO_C" >&6; }
5749 if test "${libc_cv_asm_symver_directive+set}" = set; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5752 cat > conftest.s
<<EOF
5755 .symver _sym,sym@VERS
5757 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5758 libc_cv_asm_symver_directive
=yes
5760 libc_cv_asm_symver_directive
=no
5764 { echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
5765 echo "${ECHO_T}$libc_cv_asm_symver_directive" >&6; }
5766 { echo "$as_me:$LINENO: checking for ld --version-script" >&5
5767 echo $ECHO_N "checking for ld --version-script... $ECHO_C" >&6; }
5768 if test "${libc_cv_ld_version_script_option+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 if test $libc_cv_asm_symver_directive = yes; then
5772 cat > conftest.s
<<EOF
5775 .symver _sym,sym@VERS
5777 cat > conftest.map
<<EOF
5786 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5787 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
5788 -o conftest.so conftest.o
5789 -nostartfiles -nostdlib
5790 -Wl,--version-script,conftest.map
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; };
5798 libc_cv_ld_version_script_option
=yes
5800 libc_cv_ld_version_script_option
=no
5803 libc_cv_ld_version_script_option
=no
5806 libc_cv_ld_version_script_option
=no
5810 { echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
5811 echo "${ECHO_T}$libc_cv_ld_version_script_option" >&6; }
5812 if test $shared != no
&&
5813 test $libc_cv_asm_symver_directive = yes &&
5814 test $libc_cv_ld_version_script_option = yes &&
5815 test $enable_versioning = yes; then
5817 cat >>confdefs.h
<<\_ACEOF
5818 #define DO_VERSIONING 1
5826 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
5828 *** WARNING: You should not compile GNU libc without versioning. Not using
5829 *** versioning will introduce incompatibilities so that old binaries
5830 *** will not run anymore.
5831 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
5833 if test $elf = yes; then
5834 { echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
5835 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6; }
5836 if test "${libc_cv_asm_previous_directive+set}" = set; then
5837 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 cat > conftest.s
<<EOF
5840 .section foo_section
5843 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; }; then
5849 libc_cv_asm_previous_directive
=yes
5851 libc_cv_asm_previous_directive
=no
5855 { echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
5856 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6; }
5857 if test $libc_cv_asm_previous_directive = yes; then
5858 cat >>confdefs.h
<<\_ACEOF
5859 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
5863 { echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
5864 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6; }
5865 if test "${libc_cv_asm_popsection_directive+set}" = set; then
5866 echo $ECHO_N "(cached) $ECHO_C" >&6
5868 cat > conftest.s
<<EOF
5869 .pushsection foo_section
5872 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; }; then
5878 libc_cv_asm_popsection_directive
=yes
5880 libc_cv_asm_popsection_directive
=no
5884 { echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
5885 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6; }
5886 if test $libc_cv_asm_popsection_directive = yes; then
5887 cat >>confdefs.h
<<\_ACEOF
5888 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
5893 { echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
5894 echo $ECHO_N "checking for .protected and .hidden assembler directive... $ECHO_C" >&6; }
5895 if test "${libc_cv_asm_protected_directive+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 cat > conftest.s
<<EOF
5904 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; }; then
5910 libc_cv_asm_protected_directive
=yes
5912 { { echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
5913 echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
5914 { (exit 1); exit 1; }; }
5918 { echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
5919 echo "${ECHO_T}$libc_cv_asm_protected_directive" >&6; }
5921 if test $libc_cv_asm_protected_directive = yes; then
5922 { echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
5923 echo $ECHO_N "checking whether __attribute__((visibility())) is supported... $ECHO_C" >&6; }
5924 if test "${libc_cv_visibility_attribute+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 cat > conftest.c
<<EOF
5928 int foo __attribute__ ((visibility ("hidden"))) = 1;
5929 int bar __attribute__ ((visibility ("protected"))) = 1;
5931 libc_cv_visibility_attribute
=no
5932 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); }; }; then
5938 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
5939 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5940 libc_cv_visibility_attribute
=yes
5947 { echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
5948 echo "${ECHO_T}$libc_cv_visibility_attribute" >&6; }
5949 if test $libc_cv_visibility_attribute != yes; then
5950 { { echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
5951 echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
5952 { (exit 1); exit 1; }; }
5956 if test $libc_cv_visibility_attribute = yes; then
5957 { echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
5958 echo $ECHO_N "checking for broken __attribute__((visibility()))... $ECHO_C" >&6; }
5959 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5962 cat > conftest.c
<<EOF
5964 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5965 int bar (int x) { return x; }
5967 libc_cv_broken_visibility_attribute
=yes
5968 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
5969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 (exit $ac_status); }; }; then
5974 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5975 libc_cv_broken_visibility_attribute
=no
5978 rm -f conftest.c conftest.s
5981 { echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
5982 echo "${ECHO_T}$libc_cv_broken_visibility_attribute" >&6; }
5983 if test $libc_cv_broken_visibility_attribute = yes; then
5984 { { echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
5985 echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
5986 { (exit 1); exit 1; }; }
5990 { echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
5991 echo $ECHO_N "checking for broken __attribute__((alias()))... $ECHO_C" >&6; }
5992 if test "${libc_cv_broken_alias_attribute+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 cat > conftest.c
<<EOF
5996 extern int foo (int x) __asm ("xyzzy");
5997 int bar (int x) { return x; }
5998 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6000 extern __typeof (dfoo) dfoo __asm ("abccb");
6003 libc_cv_broken_alias_attribute
=yes
6004 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; }; then
6010 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6011 grep 'abccb' conftest.s
>/dev
/null
; then
6012 libc_cv_broken_alias_attribute
=no
6015 rm -f conftest.c conftest.s
6018 { echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6019 echo "${ECHO_T}$libc_cv_broken_alias_attribute" >&6; }
6020 if test $libc_cv_broken_alias_attribute = yes; then
6021 { { echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6022 echo "$as_me: error: working alias attribute support required" >&2;}
6023 { (exit 1); exit 1; }; }
6026 if test $libc_cv_visibility_attribute = yes; then
6027 { echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6028 echo $ECHO_N "checking whether to put _rtld_local into .sdata section... $ECHO_C" >&6; }
6029 if test "${libc_cv_have_sdata_section+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6032 echo "int i;" > conftest.c
6033 libc_cv_have_sdata_section
=no
6034 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6035 |
grep '\.sdata' >/dev
/null
; then
6036 libc_cv_have_sdata_section
=yes
6038 rm -f conftest.c conftest.so
6041 { echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6042 echo "${ECHO_T}$libc_cv_have_sdata_section" >&6; }
6043 if test $libc_cv_have_sdata_section = yes; then
6044 cat >>confdefs.h
<<\_ACEOF
6045 #define HAVE_SDATA_SECTION 1
6051 { echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6052 echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6; }
6053 if test "${libc_cv_initfini_array+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 cat > conftest.c
<<EOF
6057 int _start (void) { return 0; }
6058 int __start (void) { return 0; }
6059 int foo (void) { return 1; }
6060 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6062 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6063 -static -nostartfiles -nostdlib 1>&5'
6064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); }; }
6070 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6071 libc_cv_initfini_array
=yes
6073 libc_cv_initfini_array
=no
6076 libc_cv_initfini_array
=no
6080 { echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6081 echo "${ECHO_T}$libc_cv_initfini_array" >&6; }
6082 if test $libc_cv_initfini_array != yes; then
6083 { { echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6084 echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6085 { (exit 1); exit 1; }; }
6088 { echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6089 echo $ECHO_N "checking for libunwind-support in compiler... $ECHO_C" >&6; }
6090 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 cat > conftest.c
<<EOF
6095 int main (void) { return 0; }
6097 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6098 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6099 libc_cv_cc_with_libunwind
=yes
6101 libc_cv_cc_with_libunwind
=no
6105 { echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6106 echo "${ECHO_T}$libc_cv_cc_with_libunwind" >&6; }
6108 if test $libc_cv_cc_with_libunwind = yes; then
6109 cat >>confdefs.h
<<\_ACEOF
6110 #define HAVE_CC_WITH_LIBUNWIND 1
6115 { echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6116 echo $ECHO_N "checking for -z nodelete option... $ECHO_C" >&6; }
6117 if test "${libc_cv_z_nodelete+set}" = set; then
6118 echo $ECHO_N "(cached) $ECHO_C" >&6
6120 cat > conftest.c
<<EOF
6121 int _start (void) { return 42; }
6123 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6124 -fPIC -shared -o conftest.so conftest.c
6125 -nostartfiles -nostdlib
6126 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); }; }
6133 libc_cv_z_nodelete
=yes
6135 { { echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6136 echo "$as_me: error: linker with -z nodelete support required" >&2;}
6137 { (exit 1); exit 1; }; }
6141 { echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6142 echo "${ECHO_T}$libc_cv_z_nodelete" >&6; }
6144 { echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6145 echo $ECHO_N "checking for -z nodlopen option... $ECHO_C" >&6; }
6146 if test "${libc_cv_z_nodlopen+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 cat > conftest.c
<<EOF
6150 int _start (void) { return 42; }
6152 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6153 -fPIC -shared -o conftest.so conftest.c
6154 -nostartfiles -nostdlib
6155 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); }; }
6162 libc_cv_z_nodlopen
=yes
6164 { { echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6165 echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6166 { (exit 1); exit 1; }; }
6170 { echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6171 echo "${ECHO_T}$libc_cv_z_nodlopen" >&6; }
6173 { echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6174 echo $ECHO_N "checking for -z initfirst option... $ECHO_C" >&6; }
6175 if test "${libc_cv_z_initfirst+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 cat > conftest.c
<<EOF
6179 int _start (void) { return 42; }
6181 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6182 -fPIC -shared -o conftest.so conftest.c
6183 -nostartfiles -nostdlib
6184 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; }
6191 libc_cv_z_initfirst
=yes
6193 { { echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6194 echo "$as_me: error: linker with -z initfirst support required" >&2;}
6195 { (exit 1); exit 1; }; }
6199 { echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6200 echo "${ECHO_T}$libc_cv_z_initfirst" >&6; }
6202 case "$base_machine" in
6203 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6204 { echo "$as_me:$LINENO: checking for -z relro option" >&5
6205 echo $ECHO_N "checking for -z relro option... $ECHO_C" >&6; }
6206 if test "${libc_cv_z_relro+set}" = set; then
6207 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; }
6217 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); }; }
6228 { echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6229 echo "${ECHO_T}$libc_cv_z_relro" >&6; }
6230 if test "$libc_cv_z_relro" = no
; then
6231 { { echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6232 echo "$as_me: error: linker with -z relro support required" >&2;}
6233 { (exit 1); exit 1; }; }
6239 { echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6240 echo $ECHO_N "checking for -Bgroup option... $ECHO_C" >&6; }
6241 if test "${libc_cv_Bgroup+set}" = set; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 cat > conftest.c
<<EOF
6245 int _start (void) { return 42; }
6247 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6248 -fPIC -shared -o conftest.so conftest.c
6249 -Wl,-Bgroup -nostdlib 1>&5'
6250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); }; }
6262 { echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6263 echo "${ECHO_T}$libc_cv_Bgroup" >&6; }
6266 { echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6267 echo $ECHO_N "checking for libgcc_s suffix... $ECHO_C" >&6; }
6268 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6269 echo $ECHO_N "(cached) $ECHO_C" >&6
6271 cat > conftest.c
<<EOF
6272 int main (void) { return 0; }
6274 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6275 -fPIC -shared -shared-libgcc -o conftest.so \
6276 conftest.c -v 2>&1 >/dev/null \
6277 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6280 { echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6281 echo "${ECHO_T}$libc_cv_libgcc_s_suffix" >&6; }
6284 { echo "$as_me:$LINENO: checking for --as-needed option" >&5
6285 echo $ECHO_N "checking for --as-needed option... $ECHO_C" >&6; }
6286 if test "${libc_cv_as_needed+set}" = set; then
6287 echo $ECHO_N "(cached) $ECHO_C" >&6
6289 cat > conftest.c
<<EOF
6290 int main (void) { return 0; }
6292 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6293 -fPIC -shared -o conftest.so conftest.c
6294 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); }; }
6302 libc_cv_as_needed
=yes
6304 libc_cv_as_needed
=no
6308 { echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6309 echo "${ECHO_T}$libc_cv_as_needed" >&6; }
6313 { echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6314 echo $ECHO_N "checking whether --noexecstack is desirable for .S files... $ECHO_C" >&6; }
6315 if test "${libc_cv_as_noexecstack+set}" = set; then
6316 echo $ECHO_N "(cached) $ECHO_C" >&6
6318 cat > conftest.c
<<EOF
6321 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6322 -S -o conftest.s conftest.c 1>&5'
6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); }; } \
6328 && grep -q .note.GNU-stack conftest.s \
6329 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6330 -c -o conftest.o conftest.s 1>&5'
6331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 (exit $ac_status); }; }
6337 libc_cv_as_noexecstack
=yes
6339 libc_cv_as_noexecstack
=no
6343 { echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6344 echo "${ECHO_T}$libc_cv_as_noexecstack" >&6; }
6345 if test $libc_cv_as_noexecstack = yes; then
6346 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6350 { echo "$as_me:$LINENO: checking for -z combreloc" >&5
6351 echo $ECHO_N "checking for -z combreloc... $ECHO_C" >&6; }
6352 if test "${libc_cv_z_combreloc+set}" = set; then
6353 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 cat > conftest.c
<<EOF
6356 extern int bar (int);
6358 int foo (void) { return bar (mumble); }
6360 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6361 -fPIC -shared -o conftest.so conftest.c
6362 -nostdlib -nostartfiles
6363 -Wl,-z,combreloc 1>&5'
6364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); }; }
6370 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6371 libc_cv_z_combreloc
=yes
6373 libc_cv_z_combreloc
=no
6376 libc_cv_z_combreloc
=no
6380 { echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6381 echo "${ECHO_T}$libc_cv_z_combreloc" >&6; }
6382 if test "$libc_cv_z_combreloc" = yes; then
6383 cat >>confdefs.h
<<\_ACEOF
6384 #define HAVE_Z_COMBRELOC 1
6390 { echo "$as_me:$LINENO: checking for -z execstack" >&5
6391 echo $ECHO_N "checking for -z execstack... $ECHO_C" >&6; }
6392 if test "${libc_cv_z_execstack+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 cat > conftest.c
<<EOF
6396 int _start (void) { return 42; }
6398 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6399 -fPIC -shared -o conftest.so conftest.c
6400 -Wl,-z,execstack -nostdlib
6402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); }; }
6408 libc_cv_z_execstack
=yes
6410 libc_cv_z_execstack
=no
6414 { echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6415 echo "${ECHO_T}$libc_cv_z_execstack" >&6; }
6418 { echo "$as_me:$LINENO: checking for -fpie" >&5
6419 echo $ECHO_N "checking for -fpie... $ECHO_C" >&6; }
6420 if test "${libc_cv_fpie+set}" = set; then
6421 echo $ECHO_N "(cached) $ECHO_C" >&6
6423 cat > conftest.c
<<EOF
6425 main () { return 0;}
6427 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6428 -o conftest conftest.c 1>&5'
6429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); }; }
6441 { echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6442 echo "${ECHO_T}$libc_cv_fpie" >&6; }
6446 { echo "$as_me:$LINENO: checking for --hash-style option" >&5
6447 echo $ECHO_N "checking for --hash-style option... $ECHO_C" >&6; }
6448 if test "${libc_cv_hashstyle+set}" = set; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6451 cat > conftest.c
<<EOF
6452 int _start (void) { return 42; }
6454 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6455 -fPIC -shared -o conftest.so conftest.c
6456 -Wl,--hash-style=both -nostdlib 1>&5'
6457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); }; }
6463 libc_cv_hashstyle
=yes
6465 libc_cv_hashstyle
=no
6469 { echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6470 echo "${ECHO_T}$libc_cv_hashstyle" >&6; }
6474 { echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6475 echo $ECHO_N "checking for -fno-toplevel-reorder -fno-section-anchors... $ECHO_C" >&6; }
6476 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 cat > conftest.c
<<EOF
6482 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; }
6490 libc_cv_fno_toplevel_reorder
=yes
6492 libc_cv_fno_toplevel_reorder
=no
6496 { echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6497 echo "${ECHO_T}$libc_cv_fno_toplevel_reorder" >&6; }
6498 if test $libc_cv_fno_toplevel_reorder = yes; then
6499 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6501 fno_unit_at_a_time
=-fno-unit-at-a-time
6505 { echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6506 echo $ECHO_N "checking for -fstack-protector... $ECHO_C" >&6; }
6507 if test "${libc_cv_ssp+set}" = set; then
6508 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 cat > conftest.c
<<EOF
6512 main () { return 0;}
6514 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6515 -o conftest conftest.c 1>&5'
6516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); }; }
6528 { echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6529 echo "${ECHO_T}$libc_cv_ssp" >&6; }
6532 { echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6533 echo $ECHO_N "checking for -fgnu89-inline... $ECHO_C" >&6; }
6534 if test "${libc_cv_gnu89_inline+set}" = set; then
6535 echo $ECHO_N "(cached) $ECHO_C" >&6
6537 cat > conftest.c
<<EOF
6539 #ifdef __GNUC_GNU_INLINE__
6540 main () { return 0;}
6545 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6546 -o conftest.s conftest.c 1>&5'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; }
6553 libc_cv_gnu89_inline
=yes
6555 libc_cv_gnu89_inline
=no
6559 { echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6560 echo "${ECHO_T}$libc_cv_gnu89_inline" >&6; }
6561 if test $libc_cv_gnu89_inline = yes; then
6562 libc_cv_gnu89_inline
=-fgnu89-inline
6564 libc_cv_gnu89_inline
=
6568 if test $elf != yes; then
6569 { echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6570 echo $ECHO_N "checking for .init and .fini sections... $ECHO_C" >&6; }
6571 if test "${libc_cv_have_initfini+set}" = set; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6574 cat >conftest.
$ac_ext <<_ACEOF
6577 cat confdefs.h
>>conftest.
$ac_ext
6578 cat >>conftest.
$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6584 asm (".section .init");
6585 asm (".section .fini");
6586 asm ("${libc_cv_dot_text}");
6591 rm -f conftest.
$ac_objext
6592 if { (ac_try
="$ac_compile"
6594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6595 *) ac_try_echo=$ac_try;;
6597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6598 (eval "$ac_compile") 2>conftest.er1
6600 grep -v '^ *+' conftest.er1 >conftest.err
6602 cat conftest.err >&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); } && {
6605 test -z "$ac_c_werror_flag" ||
6606 test ! -s conftest.err
6607 } && test -s conftest.$ac_objext; then
6608 libc_cv_have_initfini=yes
6610 echo "$as_me: failed program was:" >&5
6611 sed 's/^/| /' conftest.$ac_ext >&5
6613 libc_cv_have_initfini=no
6616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6618 { echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6619 echo "${ECHO_T}$libc_cv_have_initfini" >&6; }
6620 if test $libc_cv_have_initfini = yes; then
6621 cat >>confdefs.h <<\_ACEOF
6622 #define HAVE_INITFINI 1
6628 if test $elf = yes; then
6629 { echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6630 echo $ECHO_N "checking whether cc puts quotes around section names... $ECHO_C" >&6; }
6631 if test "${libc_cv_have_section_quotes+set}" = set; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6634 cat > conftest.c <<EOF
6635 static const int foo
6636 __attribute__ ((section ("bar"))) = 1;
6638 if ${CC-cc} -S conftest.c -o conftest.s; then
6639 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6640 libc_cv_have_section_quotes=yes
6642 libc_cv_have_section_quotes=no
6645 libc_cv_have_section_quotes=unknown
6650 { echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6651 echo "${ECHO_T}$libc_cv_have_section_quotes" >&6; }
6652 if test $libc_cv_have_section_quotes = yes; then
6653 cat >>confdefs.h <<\_ACEOF
6654 #define HAVE_SECTION_QUOTES 1
6662 if test $elf = yes; then
6663 libc_cv_asm_underscores=no
6665 if test $ac_cv_prog_cc_works = yes; then
6666 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6667 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6668 if test "${libc_cv_asm_underscores+set}" = set; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 cat >conftest.$ac_ext <<_ACEOF
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6677 asm ("_glibc_foobar:");
6686 rm -f conftest.$ac_objext conftest$ac_exeext
6687 if { (ac_try="$ac_link"
6689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6690 *) ac_try_echo
=$ac_try;;
6692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6693 (eval "$ac_link") 2>conftest.er1
6695 grep -v '^ *+' conftest.er1
>conftest.err
6697 cat conftest.err
>&5
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); } && {
6700 test -z "$ac_c_werror_flag" ||
6701 test ! -s conftest.err
6702 } && test -s conftest
$ac_exeext &&
6703 $as_test_x conftest
$ac_exeext; then
6704 libc_cv_asm_underscores
=yes
6706 echo "$as_me: failed program was:" >&5
6707 sed 's/^/| /' conftest.
$ac_ext >&5
6709 libc_cv_asm_underscores
=no
6712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6713 conftest
$ac_exeext conftest.
$ac_ext
6715 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6716 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6718 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6719 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6720 if test "${libc_cv_asm_underscores+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6723 cat > conftest.
$ac_ext <<EOF
6724 #line $LINENO "configure"
6725 #include "confdefs.h"
6726 void underscore_test(void) {
6729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6730 (eval $ac_compile) 2>&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); }; then
6734 if grep _underscore_test conftest
* >/dev
/null
; then
6736 libc_cv_asm_underscores
=yes
6739 libc_cv_asm_underscores
=no
6742 echo "configure: failed program was:" >&5
6743 cat conftest.
$ac_ext >&5
6745 libc_cv_asm_underscores
=no
6749 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6750 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6753 if test $libc_cv_asm_underscores = no
; then
6754 cat >>confdefs.h
<<\_ACEOF
6755 #define NO_UNDERSCORES 1
6760 if test $elf = yes; then
6761 libc_cv_weak_symbols
=yes
6764 { echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
6765 echo $ECHO_N "checking for assembler .weak directive... $ECHO_C" >&6; }
6766 if test "${libc_cv_asm_weak_directive+set}" = set; then
6767 echo $ECHO_N "(cached) $ECHO_C" >&6
6769 cat > conftest.s
<<EOF
6771 ${libc_cv_asm_global_directive} foo
6774 .weak bar; bar = foo
6776 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then
6782 libc_cv_asm_weak_directive
=yes
6784 libc_cv_asm_weak_directive
=no
6788 { echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
6789 echo "${ECHO_T}$libc_cv_asm_weak_directive" >&6; }
6791 if test $libc_cv_asm_weak_directive = no
; then
6792 { echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
6793 echo $ECHO_N "checking for assembler .weakext directive... $ECHO_C" >&6; }
6794 if test "${libc_cv_asm_weakext_directive+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 cat > conftest.s
<<EOF
6799 ${libc_cv_asm_global_directive} foo
6803 ${libc_cv_asm_global_directive} baz
6806 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); }; }; then
6812 libc_cv_asm_weakext_directive
=yes
6814 libc_cv_asm_weakext_directive
=no
6818 { echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
6819 echo "${ECHO_T}$libc_cv_asm_weakext_directive" >&6; }
6823 if test $libc_cv_asm_weak_directive = yes; then
6824 cat >>confdefs.h
<<\_ACEOF
6825 #define HAVE_ASM_WEAK_DIRECTIVE 1
6828 elif test $libc_cv_asm_weakext_directive = yes; then
6829 cat >>confdefs.h
<<\_ACEOF
6830 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
6835 { echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
6836 echo $ECHO_N "checking whether CFI directives are supported... $ECHO_C" >&6; }
6837 if test "${libc_cv_asm_cfi_directives+set}" = set; then
6838 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 sparc
/sparc64
*) cfi_offset
=2047;;
6844 cat > conftest.s
<<EOF
6846 .type func,%function
6850 .cfi_rel_offset 1, $cfi_offset
6853 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); }; }; then
6859 libc_cv_asm_cfi_directives
=yes
6861 libc_cv_asm_cfi_directives
=no
6865 { echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
6866 echo "${ECHO_T}$libc_cv_asm_cfi_directives" >&6; }
6867 if test $libc_cv_asm_cfi_directives = yes; then
6868 cat >>confdefs.h
<<\_ACEOF
6869 #define HAVE_ASM_CFI_DIRECTIVES 1
6874 { echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
6875 echo $ECHO_N "checking for ld --no-whole-archive... $ECHO_C" >&6; }
6876 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 cat > conftest.c
<<\EOF
6884 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6885 -nostdlib -nostartfiles -Wl,--no-whole-archive
6886 -o conftest conftest.c 1>&5'
6887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); }; }; then
6892 libc_cv_ld_no_whole_archive
=yes
6894 libc_cv_ld_no_whole_archive
=no
6898 { echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
6899 echo "${ECHO_T}$libc_cv_ld_no_whole_archive" >&6; }
6900 if test $libc_cv_ld_no_whole_archive = yes; then
6901 no_whole_archive
=-Wl,--no-whole-archive
6904 { echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
6905 echo $ECHO_N "checking for gcc -fexceptions... $ECHO_C" >&6; }
6906 if test "${libc_cv_gcc_exceptions+set}" = set; then
6907 echo $ECHO_N "(cached) $ECHO_C" >&6
6909 cat > conftest.c
<<\EOF
6914 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6915 -nostdlib -nostartfiles -fexceptions
6916 -o conftest conftest.c 1>&5'
6917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); }; }; then
6922 libc_cv_gcc_exceptions
=yes
6924 libc_cv_gcc_exceptions
=no
6928 { echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
6929 echo "${ECHO_T}$libc_cv_gcc_exceptions" >&6; }
6930 if test $libc_cv_gcc_exceptions = yes; then
6931 exceptions
=-fexceptions
6934 if test "$host_cpu" = powerpc
; then
6935 # Check for a bug present in at least versions 2.8.x of GCC
6936 # and versions 1.0.x of EGCS.
6937 { echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
6938 echo $ECHO_N "checking whether clobbering cr0 causes problems... $ECHO_C" >&6; }
6939 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 cat >conftest.
$ac_ext <<_ACEOF
6945 cat confdefs.h
>>conftest.
$ac_ext
6946 cat >>conftest.
$ac_ext <<_ACEOF
6947 /* end confdefs.h. */
6948 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
6957 rm -f conftest.
$ac_objext
6958 if { (ac_try
="$ac_compile"
6960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6961 *) ac_try_echo=$ac_try;;
6963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6964 (eval "$ac_compile") 2>conftest.er1
6966 grep -v '^ *+' conftest.er1 >conftest.err
6968 cat conftest.err >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } && {
6971 test -z "$ac_c_werror_flag" ||
6972 test ! -s conftest.err
6973 } && test -s conftest.$ac_objext; then
6974 libc_cv_c_asmcr0_bug='no'
6976 echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.$ac_ext >&5
6979 libc_cv_c_asmcr0_bug='yes'
6982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 { echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
6985 echo "${ECHO_T}$libc_cv_c_asmcr0_bug" >&6; }
6986 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
6987 cat >>confdefs.h <<\_ACEOF
6988 #define BROKEN_PPC_ASM_CR0 1
6994 { echo "$as_me:$LINENO: checking for __builtin_expect" >&5
6995 echo $ECHO_N "checking for __builtin_expect... $ECHO_C" >&6; }
6996 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
6997 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 cat > conftest.c <<EOF
7000 #line $LINENO "configure"
7003 a = __builtin_expect (a, 10);
7004 return a == 10 ? 0 : 1;
7007 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7008 -o conftest conftest.c -lgcc >&5'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; }; then
7014 libc_cv_gcc_builtin_expect=yes
7016 libc_cv_gcc_builtin_expect=no
7020 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7021 echo "${ECHO_T}$libc_cv_gcc_builtin_expect" >&6; }
7022 if test "$libc_cv_gcc_builtin_expect" = yes; then
7023 cat >>confdefs.h <<\_ACEOF
7024 #define HAVE_BUILTIN_EXPECT 1
7029 { echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7030 echo $ECHO_N "checking for __builtin_memset... $ECHO_C" >&6; }
7031 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 cat > conftest.c <<\EOF
7037 __builtin_memset (x, 0, 1000);
7040 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); }; };
7047 libc_cv_gcc_builtin_memset=no
7049 libc_cv_gcc_builtin_memset=yes
7053 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7054 echo "${ECHO_T}$libc_cv_gcc_builtin_memset" >&6; }
7055 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7056 cat >>confdefs.h <<\_ACEOF
7057 #define HAVE_BUILTIN_MEMSET 1
7062 { echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7063 echo $ECHO_N "checking for redirection of built-in functions... $ECHO_C" >&6; }
7064 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7065 echo $ECHO_N "(cached) $ECHO_C" >&6
7067 cat > conftest.c <<\EOF
7068 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7069 char *foo (const char *a, const char *b)
7071 return __builtin_strstr (a, b);
7074 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; };
7081 libc_cv_gcc_builtin_redirection=yes
7083 libc_cv_gcc_builtin_redirection=no
7087 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7088 echo "${ECHO_T}$libc_cv_gcc_builtin_redirection" >&6; }
7089 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7090 cat >>confdefs.h <<\_ACEOF
7091 #define HAVE_BUILTIN_REDIRECTION 1
7096 if test "x$use__thread" != xno; then
7097 { echo "$as_me:$LINENO: checking for __thread" >&5
7098 echo $ECHO_N "checking for __thread... $ECHO_C" >&6; }
7099 if test "${libc_cv_gcc___thread+set}" = set; then
7100 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 cat > conftest.c <<\EOF
7103 __thread int a = 42;
7105 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7110 (exit $ac_status); }; }; then
7111 libc_cv_gcc___thread=yes
7113 libc_cv_gcc___thread=no
7117 { echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7118 echo "${ECHO_T}$libc_cv_gcc___thread" >&6; }
7119 if test "$libc_cv_gcc___thread" = yes; then
7120 cat >>confdefs.h <<\_ACEOF
7121 #define HAVE___THREAD 1
7126 libc_cv_gcc___thread=no
7129 if test "$libc_cv_gcc___thread" = yes; then
7130 { echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7131 echo $ECHO_N "checking for tls_model attribute... $ECHO_C" >&6; }
7132 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7133 echo $ECHO_N "(cached) $ECHO_C" >&6
7135 cat > conftest.c <<\EOF
7136 extern __thread int a __attribute__((tls_model ("initial-exec")));
7138 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); }; }; then
7144 libc_cv_gcc_tls_model_attr=yes
7146 libc_cv_gcc_tls_model_attr=no
7150 { echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7151 echo "${ECHO_T}$libc_cv_gcc_tls_model_attr" >&6; }
7152 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7153 cat >>confdefs.h <<\_ACEOF
7154 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7160 if test -n "$submachine"; then
7161 { echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7162 echo $ECHO_N "checking for compiler option for CPU variant... $ECHO_C" >&6; }
7163 if test "${libc_cv_cc_submachine+set}" = set; then
7164 echo $ECHO_N "(cached) $ECHO_C" >&6
7166 libc_cv_cc_submachine=no
7167 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7168 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); }; }; then
7174 libc_cv_cc_submachine="$opt"
7179 { echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7180 echo "${ECHO_T}$libc_cv_cc_submachine" >&6; }
7181 if test "x$libc_cv_cc_submachine" = xno; then
7182 { { echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7183 echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7184 { (exit 1); exit 1; }; }
7189 { echo "$as_me:$LINENO: checking for libgd" >&5
7190 echo $ECHO_N "checking for libgd... $ECHO_C" >&6; }
7191 if test "$with_gd" != "no"; then
7192 old_CFLAGS="$CFLAGS"
7193 CFLAGS="$CFLAGS $libgd_include"
7194 old_LDFLAGS="$LDFLAGS"
7195 LDFLAGS="$LDFLAGS $libgd_ldflags"
7197 LIBS="$LIBS -lgd -lpng -lz -lm"
7198 cat >conftest.$ac_ext <<_ACEOF
7201 cat confdefs.h >>conftest.$ac_ext
7202 cat >>conftest.$ac_ext <<_ACEOF
7203 /* end confdefs.h. */
7213 rm -f conftest.$ac_objext conftest$ac_exeext
7214 if { (ac_try="$ac_link"
7216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7217 *) ac_try_echo
=$ac_try;;
7219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7220 (eval "$ac_link") 2>conftest.er1
7222 grep -v '^ *+' conftest.er1
>conftest.err
7224 cat conftest.err
>&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } && {
7227 test -z "$ac_c_werror_flag" ||
7228 test ! -s conftest.err
7229 } && test -s conftest
$ac_exeext &&
7230 $as_test_x conftest
$ac_exeext; then
7233 echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.
$ac_ext >&5
7239 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7240 conftest
$ac_exeext conftest.
$ac_ext
7241 CFLAGS
="$old_CFLAGS"
7242 LDFLAGS
="$old_LDFLAGS"
7247 { echo "$as_me:$LINENO: result: $LIBGD" >&5
7248 echo "${ECHO_T}$LIBGD" >&6; }
7252 if test x
$with_selinux = xno
; then
7255 # See if we have the SELinux library
7256 { echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7257 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
7258 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 ac_check_lib_save_LIBS
=$LIBS
7262 LIBS
="-lselinux $LIBS"
7263 cat >conftest.
$ac_ext <<_ACEOF
7266 cat confdefs.h
>>conftest.
$ac_ext
7267 cat >>conftest.
$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7270 /* Override any GCC internal prototype to avoid an error.
7271 Use char because int might match the return type of a GCC
7272 builtin and then its argument prototype would still apply. */
7276 char is_selinux_enabled ();
7280 return is_selinux_enabled ();
7285 rm -f conftest.
$ac_objext conftest
$ac_exeext
7286 if { (ac_try
="$ac_link"
7288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7289 *) ac_try_echo=$ac_try;;
7291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7292 (eval "$ac_link") 2>conftest.er1
7294 grep -v '^ *+' conftest.er1 >conftest.err
7296 cat conftest.err >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); } && {
7299 test -z "$ac_c_werror_flag" ||
7300 test ! -s conftest.err
7301 } && test -s conftest$ac_exeext &&
7302 $as_test_x conftest$ac_exeext; then
7303 ac_cv_lib_selinux_is_selinux_enabled=yes
7305 echo "$as_me: failed program was:" >&5
7306 sed 's/^/| /' conftest.$ac_ext >&5
7308 ac_cv_lib_selinux_is_selinux_enabled=no
7311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7312 conftest$ac_exeext conftest.$ac_ext
7313 LIBS=$ac_check_lib_save_LIBS
7315 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7316 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7317 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
7323 # See if we have the SELinux header with the NSCD permissions in it.
7324 if test x$have_selinux = xyes ; then
7325 { echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7326 echo $ECHO_N "checking for NSCD Flask permissions in selinux/av_permissions.h... $ECHO_C" >&6; }
7327 cat >conftest.$ac_ext <<_ACEOF
7330 cat confdefs.h >>conftest.$ac_ext
7331 cat >>conftest.$ac_ext <<_ACEOF
7332 /* end confdefs.h. */
7333 #include <selinux/av_permissions.h>
7337 #ifdef NSCD__SHMEMHOST
7340 #error NSCD__SHMEMHOST not defined
7346 rm -f conftest.$ac_objext
7347 if { (ac_try="$ac_compile"
7349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7350 *) ac_try_echo
=$ac_try;;
7352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7353 (eval "$ac_compile") 2>conftest.er1
7355 grep -v '^ *+' conftest.er1
>conftest.err
7357 cat conftest.err
>&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); } && {
7360 test -z "$ac_c_werror_flag" ||
7361 test ! -s conftest.err
7362 } && test -s conftest.
$ac_objext; then
7365 echo "$as_me: failed program was:" >&5
7366 sed 's/^/| /' conftest.
$ac_ext >&5
7371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7372 { echo "$as_me:$LINENO: result: $have_selinux" >&5
7373 echo "${ECHO_T}$have_selinux" >&6; }
7376 if test x
$with_selinux = xyes
; then
7377 if test x
$have_selinux = xno
; then
7378 { { echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7379 echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7380 { (exit 1); exit 1; }; }
7384 # Check if we're building with SELinux support.
7385 if test "x$have_selinux" = xyes
; then
7387 cat >>confdefs.h
<<\_ACEOF
7388 #define HAVE_SELINUX 1
7392 # See if we have the libaudit library
7393 { echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7394 echo $ECHO_N "checking for audit_log_user_avc_message in -laudit... $ECHO_C" >&6; }
7395 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7396 echo $ECHO_N "(cached) $ECHO_C" >&6
7398 ac_check_lib_save_LIBS
=$LIBS
7399 LIBS
="-laudit $LIBS"
7400 cat >conftest.
$ac_ext <<_ACEOF
7403 cat confdefs.h
>>conftest.
$ac_ext
7404 cat >>conftest.
$ac_ext <<_ACEOF
7405 /* end confdefs.h. */
7407 /* Override any GCC internal prototype to avoid an error.
7408 Use char because int might match the return type of a GCC
7409 builtin and then its argument prototype would still apply. */
7413 char audit_log_user_avc_message ();
7417 return audit_log_user_avc_message ();
7422 rm -f conftest.
$ac_objext conftest
$ac_exeext
7423 if { (ac_try
="$ac_link"
7425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7426 *) ac_try_echo=$ac_try;;
7428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7429 (eval "$ac_link") 2>conftest.er1
7431 grep -v '^ *+' conftest.er1 >conftest.err
7433 cat conftest.err >&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } && {
7436 test -z "$ac_c_werror_flag" ||
7437 test ! -s conftest.err
7438 } && test -s conftest$ac_exeext &&
7439 $as_test_x conftest$ac_exeext; then
7440 ac_cv_lib_audit_audit_log_user_avc_message=yes
7442 echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7445 ac_cv_lib_audit_audit_log_user_avc_message=no
7448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7449 conftest$ac_exeext conftest.$ac_ext
7450 LIBS=$ac_check_lib_save_LIBS
7452 { echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7453 echo "${ECHO_T}$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7454 if test $ac_cv_lib_audit_audit_log_user_avc_message = yes; then
7460 if test "x$have_libaudit" = xyes; then
7462 cat >>confdefs.h <<\_ACEOF
7463 #define HAVE_LIBAUDIT 1
7469 # See if we have the libcap library
7470 { echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7471 echo $ECHO_N "checking for cap_init in -lcap... $ECHO_C" >&6; }
7472 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 ac_check_lib_save_LIBS=$LIBS
7477 cat >conftest.$ac_ext <<_ACEOF
7480 cat confdefs.h >>conftest.$ac_ext
7481 cat >>conftest.$ac_ext <<_ACEOF
7482 /* end confdefs.h. */
7484 /* Override any GCC internal prototype to avoid an error.
7485 Use char because int might match the return type of a GCC
7486 builtin and then its argument prototype would still apply. */
7499 rm -f conftest.$ac_objext conftest$ac_exeext
7500 if { (ac_try="$ac_link"
7502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7503 *) ac_try_echo
=$ac_try;;
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_link") 2>conftest.er1
7508 grep -v '^ *+' conftest.er1
>conftest.err
7510 cat conftest.err
>&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_c_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest
$ac_exeext &&
7516 $as_test_x conftest
$ac_exeext; then
7517 ac_cv_lib_cap_cap_init
=yes
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.
$ac_ext >&5
7522 ac_cv_lib_cap_cap_init
=no
7525 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7526 conftest
$ac_exeext conftest.
$ac_ext
7527 LIBS
=$ac_check_lib_save_LIBS
7529 { echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7530 echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
7531 if test $ac_cv_lib_cap_cap_init = yes; then
7537 if test "x$have_libcap" = xyes
; then
7539 cat >>confdefs.h
<<\_ACEOF
7540 #define HAVE_LIBCAP 1
7549 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7550 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7551 if test "${ac_cv_path_GREP+set}" = set; then
7552 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 # Extract the first word of "grep ggrep" to use in msg output
7555 if test -z "$GREP"; then
7556 set dummy
grep ggrep
; ac_prog_name
=$2
7557 if test "${ac_cv_path_GREP+set}" = set; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 ac_path_GREP_found
=false
7561 # Loop through the user's path and test for each of PROGNAME-LIST
7562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7563 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7566 test -z "$as_dir" && as_dir
=.
7567 for ac_prog
in grep ggrep
; do
7568 for ac_exec_ext
in '' $ac_executable_extensions; do
7569 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7570 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7571 # Check for GNU ac_path_GREP and select it if it is found.
7572 # Check for GNU $ac_path_GREP
7573 case `"$ac_path_GREP" --version 2>&1` in
7575 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7578 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7581 cat "conftest.in" "conftest.in" >"conftest.tmp"
7582 mv "conftest.tmp" "conftest.in"
7583 cp "conftest.in" "conftest.nl"
7584 echo 'GREP' >> "conftest.nl"
7585 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7586 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7587 ac_count
=`expr $ac_count + 1`
7588 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7589 # Best one so far, save it but keep looking for a better one
7590 ac_cv_path_GREP
="$ac_path_GREP"
7591 ac_path_GREP_max
=$ac_count
7593 # 10*(2^10) chars as input seems more than enough
7594 test $ac_count -gt 10 && break
7596 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7600 $ac_path_GREP_found && break 3
7610 GREP
="$ac_cv_path_GREP"
7611 if test -z "$GREP"; then
7612 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7613 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7614 { (exit 1); exit 1; }; }
7618 ac_cv_path_GREP
=$GREP
7623 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7624 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7625 GREP
="$ac_cv_path_GREP"
7628 { echo "$as_me:$LINENO: checking for egrep" >&5
7629 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7630 if test "${ac_cv_path_EGREP+set}" = set; then
7631 echo $ECHO_N "(cached) $ECHO_C" >&6
7633 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7634 then ac_cv_path_EGREP
="$GREP -E"
7636 # Extract the first word of "egrep" to use in msg output
7637 if test -z "$EGREP"; then
7638 set dummy
egrep; ac_prog_name
=$2
7639 if test "${ac_cv_path_EGREP+set}" = set; then
7640 echo $ECHO_N "(cached) $ECHO_C" >&6
7642 ac_path_EGREP_found
=false
7643 # Loop through the user's path and test for each of PROGNAME-LIST
7644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7645 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7648 test -z "$as_dir" && as_dir
=.
7649 for ac_prog
in egrep; do
7650 for ac_exec_ext
in '' $ac_executable_extensions; do
7651 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7652 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7653 # Check for GNU ac_path_EGREP and select it if it is found.
7654 # Check for GNU $ac_path_EGREP
7655 case `"$ac_path_EGREP" --version 2>&1` in
7657 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7660 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7663 cat "conftest.in" "conftest.in" >"conftest.tmp"
7664 mv "conftest.tmp" "conftest.in"
7665 cp "conftest.in" "conftest.nl"
7666 echo 'EGREP' >> "conftest.nl"
7667 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7668 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7669 ac_count
=`expr $ac_count + 1`
7670 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7671 # Best one so far, save it but keep looking for a better one
7672 ac_cv_path_EGREP
="$ac_path_EGREP"
7673 ac_path_EGREP_max
=$ac_count
7675 # 10*(2^10) chars as input seems more than enough
7676 test $ac_count -gt 10 && break
7678 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7682 $ac_path_EGREP_found && break 3
7692 EGREP
="$ac_cv_path_EGREP"
7693 if test -z "$EGREP"; then
7694 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7695 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7696 { (exit 1); exit 1; }; }
7700 ac_cv_path_EGREP
=$EGREP
7706 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7707 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7708 EGREP
="$ac_cv_path_EGREP"
7711 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7712 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7713 if test "${ac_cv_header_stdc+set}" = set; then
7714 echo $ECHO_N "(cached) $ECHO_C" >&6
7716 cat >conftest.
$ac_ext <<_ACEOF
7719 cat confdefs.h
>>conftest.
$ac_ext
7720 cat >>conftest.
$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7735 rm -f conftest.
$ac_objext
7736 if { (ac_try
="$ac_compile"
7738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7739 *) ac_try_echo=$ac_try;;
7741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7742 (eval "$ac_compile") 2>conftest.er1
7744 grep -v '^ *+' conftest.er1 >conftest.err
7746 cat conftest.err >&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); } && {
7749 test -z "$ac_c_werror_flag" ||
7750 test ! -s conftest.err
7751 } && test -s conftest.$ac_objext; then
7752 ac_cv_header_stdc=yes
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.$ac_ext >&5
7757 ac_cv_header_stdc=no
7760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7762 if test $ac_cv_header_stdc = yes; then
7763 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7764 cat >conftest.$ac_ext <<_ACEOF
7767 cat confdefs.h >>conftest.$ac_ext
7768 cat >>conftest.$ac_ext <<_ACEOF
7769 /* end confdefs.h. */
7773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7774 $EGREP "memchr" >/dev/null 2>&1; then
7777 ac_cv_header_stdc=no
7783 if test $ac_cv_header_stdc = yes; then
7784 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7785 cat >conftest.$ac_ext <<_ACEOF
7788 cat confdefs.h >>conftest.$ac_ext
7789 cat >>conftest.$ac_ext <<_ACEOF
7790 /* end confdefs.h. */
7794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7795 $EGREP "free" >/dev/null 2>&1; then
7798 ac_cv_header_stdc=no
7804 if test $ac_cv_header_stdc = yes; then
7805 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7806 if test "$cross_compiling" = yes; then
7809 cat >conftest.$ac_ext <<_ACEOF
7812 cat confdefs.h >>conftest.$ac_ext
7813 cat >>conftest.$ac_ext <<_ACEOF
7814 /* end confdefs.h. */
7817 #if ((' ' & 0x0FF) == 0x020)
7818 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7819 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7821 # define ISLOWER(c) \
7822 (('a' <= (c) && (c) <= 'i') \
7823 || ('j' <= (c) && (c) <= 'r') \
7824 || ('s' <= (c) && (c) <= 'z'))
7825 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7828 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7833 for (i = 0; i < 256; i++)
7834 if (XOR (islower (i), ISLOWER (i))
7835 || toupper (i) != TOUPPER (i))
7840 rm -f conftest$ac_exeext
7841 if { (ac_try="$ac_link"
7843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7844 *) ac_try_echo
=$ac_try;;
7846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7847 (eval "$ac_link") 2>&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7851 { (case "(($ac_try" in
7852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7853 *) ac_try_echo=$ac_try;;
7855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7856 (eval "$ac_try") 2>&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; }; then
7862 echo "$as_me: program exited with status $ac_status" >&5
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7867 ac_cv_header_stdc=no
7869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7875 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7876 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7877 if test $ac_cv_header_stdc = yes; then
7879 cat >>confdefs.h <<\_ACEOF
7880 #define STDC_HEADERS 1
7885 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7895 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7896 inttypes.h stdint.h unistd.h
7898 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7902 echo $ECHO_N "(cached) $ECHO_C" >&6
7904 cat >conftest.$ac_ext <<_ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7910 $ac_includes_default
7912 #include <$ac_header>
7914 rm -f conftest.$ac_objext
7915 if { (ac_try="$ac_compile"
7917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7918 *) ac_try_echo
=$ac_try;;
7920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7921 (eval "$ac_compile") 2>conftest.er1
7923 grep -v '^ *+' conftest.er1
>conftest.err
7925 cat conftest.err
>&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); } && {
7928 test -z "$ac_c_werror_flag" ||
7929 test ! -s conftest.err
7930 } && test -s conftest.
$ac_objext; then
7931 eval "$as_ac_Header=yes"
7933 echo "$as_me: failed program was:" >&5
7934 sed 's/^/| /' conftest.
$ac_ext >&5
7936 eval "$as_ac_Header=no"
7939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7941 ac_res
=`eval echo '${'$as_ac_Header'}'`
7942 { echo "$as_me:$LINENO: result: $ac_res" >&5
7943 echo "${ECHO_T}$ac_res" >&6; }
7944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7945 cat >>confdefs.h
<<_ACEOF
7946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7954 { echo "$as_me:$LINENO: checking for long double" >&5
7955 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
7956 if test "${ac_cv_type_long_double+set}" = set; then
7957 echo $ECHO_N "(cached) $ECHO_C" >&6
7959 cat >conftest.
$ac_ext <<_ACEOF
7962 cat confdefs.h
>>conftest.
$ac_ext
7963 cat >>conftest.
$ac_ext <<_ACEOF
7964 /* end confdefs.h. */
7965 $ac_includes_default
7966 typedef long double ac__type_new_;
7970 if ((ac__type_new_ *) 0)
7972 if (sizeof (ac__type_new_))
7978 rm -f conftest.
$ac_objext
7979 if { (ac_try
="$ac_compile"
7981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7982 *) ac_try_echo=$ac_try;;
7984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7985 (eval "$ac_compile") 2>conftest.er1
7987 grep -v '^ *+' conftest.er1 >conftest.err
7989 cat conftest.err >&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); } && {
7992 test -z "$ac_c_werror_flag" ||
7993 test ! -s conftest.err
7994 } && test -s conftest.$ac_objext; then
7995 ac_cv_type_long_double=yes
7997 echo "$as_me: failed program was:" >&5
7998 sed 's/^/| /' conftest.$ac_ext >&5
8000 ac_cv_type_long_double=no
8003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8005 { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
8006 echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
8008 # The cast to long int works around a bug in the HP C Compiler
8009 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8010 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
8011 # This bug is HP SR number 8606223364.
8012 { echo "$as_me:$LINENO: checking size of long double" >&5
8013 echo $ECHO_N "checking size of long double... $ECHO_C" >&6; }
8014 if test "${ac_cv_sizeof_long_double+set}" = set; then
8015 echo $ECHO_N "(cached) $ECHO_C" >&6
8017 if test "$cross_compiling" = yes; then
8018 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
8056 cat >conftest.$ac_ext <<_ACEOF
8059 cat confdefs.h >>conftest.$ac_ext
8060 cat >>conftest.$ac_ext <<_ACEOF
8061 /* end confdefs.h. */
8062 $ac_includes_default
8063 typedef long double ac__type_sizeof_;
8067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8074 rm -f conftest.$ac_objext
8075 if { (ac_try="$ac_compile"
8077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8078 *) ac_try_echo=$ac_try;;
8080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8081 (eval "$ac_compile") 2>conftest.er1
8083 grep -v '^
*+' conftest.er1 >conftest.err
8085 cat conftest.err >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); } && {
8088 test -z "$ac_c_werror_flag" ||
8089 test ! -s conftest.err
8090 } && test -s conftest.$ac_objext; then
8091 ac_hi=$ac_mid; break
8093 echo "$as_me: failed program was:" >&5
8094 sed 's
/^
/|
/' conftest.$ac_ext >&5
8096 ac_lo=`expr $ac_mid + 1`
8097 if test $ac_lo -le $ac_mid; then
8101 ac_mid=`expr 2 '*' $ac_mid + 1`
8104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8107 echo "$as_me: failed program was:" >&5
8108 sed 's
/^
/|
/' conftest.$ac_ext >&5
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_))) < 0)];
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
8147 cat >conftest.$ac_ext <<_ACEOF
8150 cat confdefs.h >>conftest.$ac_ext
8151 cat >>conftest.$ac_ext <<_ACEOF
8152 /* end confdefs.h. */
8153 $ac_includes_default
8154 typedef long double ac__type_sizeof_;
8158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8165 rm -f conftest.$ac_objext
8166 if { (ac_try="$ac_compile"
8168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8169 *) ac_try_echo=$ac_try;;
8171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8172 (eval "$ac_compile") 2>conftest.er1
8174 grep -v '^
*+' conftest.er1 >conftest.err
8176 cat conftest.err >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } && {
8179 test -z "$ac_c_werror_flag" ||
8180 test ! -s conftest.err
8181 } && test -s conftest.$ac_objext; then
8182 ac_lo=$ac_mid; break
8184 echo "$as_me: failed program was:" >&5
8185 sed 's
/^
/|
/' conftest.$ac_ext >&5
8187 ac_hi=`expr '(' $ac_mid ')' - 1`
8188 if test $ac_mid -le $ac_hi; then
8192 ac_mid=`expr 2 '*' $ac_mid`
8195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8198 echo "$as_me: failed program was:" >&5
8199 sed 's
/^
/|
/' conftest.$ac_ext >&5
8204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8208 # Binary search between lo and hi bounds.
8209 while test "x$ac_lo" != "x$ac_hi"; do
8210 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8211 cat >conftest.$ac_ext <<_ACEOF
8214 cat confdefs.h >>conftest.$ac_ext
8215 cat >>conftest.$ac_ext <<_ACEOF
8216 /* end confdefs.h. */
8217 $ac_includes_default
8218 typedef long double ac__type_sizeof_;
8222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8229 rm -f conftest.$ac_objext
8230 if { (ac_try="$ac_compile"
8232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8233 *) ac_try_echo=$ac_try;;
8235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8236 (eval "$ac_compile") 2>conftest.er1
8238 grep -v '^
*+' conftest.er1 >conftest.err
8240 cat conftest.err >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } && {
8243 test -z "$ac_c_werror_flag" ||
8244 test ! -s conftest.err
8245 } && test -s conftest.$ac_objext; then
8248 echo "$as_me: failed program was:" >&5
8249 sed 's
/^
/|
/' conftest.$ac_ext >&5
8251 ac_lo=`expr '(' $ac_mid ')' + 1`
8254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8257 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8258 '') if test "$ac_cv_type_long_double" = yes; then
8259 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8260 See \`config.log' for more details.
" >&5
8261 echo "$as_me: error
: cannot compute sizeof
(long double
)
8262 See \
`config.log' for more details." >&2;}
8263 { (exit 77); exit 77; }; }
8265 ac_cv_sizeof_long_double=0
8269 cat >conftest.$ac_ext <<_ACEOF
8272 cat confdefs.h >>conftest.$ac_ext
8273 cat >>conftest.$ac_ext <<_ACEOF
8274 /* end confdefs.h. */
8275 $ac_includes_default
8276 typedef long double ac__type_sizeof_;
8277 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8278 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8285 FILE *f = fopen ("conftest.val", "w");
8288 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8290 long int i = longval ();
8291 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8293 fprintf (f, "%ld\n", i);
8297 unsigned long int i = ulongval ();
8298 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8300 fprintf (f, "%lu\n", i);
8302 return ferror (f) || fclose (f) != 0;
8308 rm -f conftest$ac_exeext
8309 if { (ac_try="$ac_link"
8311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8312 *) ac_try_echo
=$ac_try;;
8314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8315 (eval "$ac_link") 2>&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8319 { (case "(($ac_try" in
8320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8321 *) ac_try_echo=$ac_try;;
8323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8324 (eval "$ac_try") 2>&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); }; }; then
8328 ac_cv_sizeof_long_double=`cat conftest.val
`
8330 echo "$as_me: program exited with status $ac_status" >&5
8331 echo "$as_me: failed program was:" >&5
8332 sed 's/^/| /' conftest.$ac_ext >&5
8335 if test "$ac_cv_type_long_double" = yes; then
8336 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8337 See \`config.log
' for more details." >&5
8338 echo "$as_me: error: cannot compute sizeof (long double)
8339 See \`config.log' for more details.
" >&2;}
8340 { (exit 77); exit 77; }; }
8342 ac_cv_sizeof_long_double=0
8345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8349 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8350 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6; }
8354 cat >>confdefs.h <<_ACEOF
8355 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8359 sizeof_long_double=$ac_cv_sizeof_long_double
8362 ### End of automated tests.
8363 ### Now run sysdeps configure fragments.
8365 # They also can set these variables.
8367 ldd_rewrite_script=no
8368 libc_cv_sysconfdir=$sysconfdir
8369 libc_cv_gcc_unwind_find_fde=no
8372 # Iterate over all the sysdep directories we will use, running their
8373 # configure fragments, and looking for a uname implementation.
8375 for dir in $sysnames; do
8378 *) dest=$srcdir/$dir ;;
8380 if test -r $dest/configure; then
8381 { echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8382 echo "${ECHO_T}running configure fragment
for $dir" >&6; }
8386 if test -z "$uname"; then
8387 if test -r $dest/uname.c ||
8388 test -r $dest/uname.S ||
8389 { test -r $dest/syscalls.list &&
8390 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8396 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8397 cat >>confdefs.h <<\_ACEOF
8398 #define EXPORT_UNWIND_FIND_FDE 1
8404 # If we will use the generic uname implementation, we must figure out what
8405 # it will say by examining the system, and write the results in config-name.h.
8406 if test "$uname" = "sysdeps
/generic
"; then
8408 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8409 if test $uname_sysname != $config_os; then
8410 config_release=`echo $config_os | sed s/$uname_sysname//`
8413 { echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8414 echo $ECHO_N "checking OS release
for uname...
$ECHO_C" >&6; }
8415 if test "${libc_cv_uname_release+set}" = set; then
8416 echo $ECHO_N "(cached
) $ECHO_C" >&6
8418 if test -r /vmunix; then
8419 kernel_id=`strings /vmunix | grep UNIX`
8420 elif test -r /dynix; then
8421 kernel_id=`strings /dynix | grep DYNIX`
8426 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8427 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8428 != x$config_release; then
8429 # The configuration release is a substring of the kernel release.
8430 libc_cv_uname_release=$kernel_release
8431 elif test x$config_release != x; then
8432 libc_cv_uname_release=$config_release
8433 elif test x$kernel_release != x; then
8434 libc_cv_uname_release=$kernel_release
8436 libc_cv_uname_release=unknown
8439 { echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8440 echo "${ECHO_T}$libc_cv_uname_release" >&6; }
8441 uname_release="$libc_cv_uname_release"
8443 { echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8444 echo $ECHO_N "checking OS version
for uname...
$ECHO_C" >&6; }
8445 if test "${libc_cv_uname_version+set}" = set; then
8446 echo $ECHO_N "(cached
) $ECHO_C" >&6
8448 if test -r /vmunix; then
8449 kernel_id=`strings /vmunix | grep UNIX`
8450 elif test -r /dynix; then
8451 kernel_id=`strings /dynix | grep DYNIX`
8456 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8457 if test -n "$kernel_version"; then
8458 libc_cv_uname_version="$kernel_version"
8460 libc_cv_uname_version=unknown
8463 { echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8464 echo "${ECHO_T}$libc_cv_uname_version" >&6; }
8465 uname_version="$libc_cv_uname_version"
8467 config_uname=config-name.h:config-name.in
8469 # For non-generic uname, we don't need to create config-name.h at all.
8473 cat >>confdefs.h <<\_ACEOF
8474 #define USE_IN_LIBIO 1
8478 # Test for old glibc 2.0.x headers so that they can be removed properly
8479 # Search only in includedir.
8480 { echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8481 echo $ECHO_N "checking
for old glibc
2.0.x headers...
$ECHO_C" >&6; }
8482 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8484 old_glibc_headers=yes
8486 old_glibc_headers=no
8488 { echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8489 echo "${ECHO_T}$old_glibc_headers" >&6; }
8490 if test ${old_glibc_headers} = yes; then
8491 { echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8492 echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8493 { echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8494 echo "$as_me: WARNING
: *** be removed.
" >&2;}
8510 if test $elf = yes; then
8511 cat >>confdefs.h <<\_ACEOF
8516 if test $xcoff = yes; then
8517 cat >>confdefs.h <<\_ACEOF
8518 #define HAVE_XCOFF 1
8525 if test $shared = default; then
8529 { echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8530 echo $ECHO_N "checking whether
-fPIC is default...
$ECHO_C" >&6; }
8531 if test "${pic_default+set}" = set; then
8532 echo $ECHO_N "(cached
) $ECHO_C" >&6
8535 cat > conftest.c <<EOF
8536 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8537 # error PIC is default.
8540 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8545 { echo "$as_me:$LINENO: result
: $pic_default" >&5
8546 echo "${ECHO_T}$pic_default" >&6; }
8559 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8562 config_makefile=Makefile
8565 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8566 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8570 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8572 ac_config_commands
="$ac_config_commands default"
8574 cat >confcache
<<\_ACEOF
8575 # This file is a shell script that caches the results of configure
8576 # tests run on this system so they can be shared between configure
8577 # scripts and configure runs, see configure's option --config-cache.
8578 # It is not useful on other systems. If it contains results you don't
8579 # want to keep, you may remove or edit it.
8581 # config.status only pays attention to the cache file if you give it
8582 # the --recheck option to rerun configure.
8584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8590 # The following way of writing the cache mishandles newlines in values,
8591 # but we know of no workaround that is simple, portable, and efficient.
8592 # So, we kill variables containing newlines.
8593 # Ultrix sh set writes to stderr and can't be redirected directly,
8594 # and sets the high bit in the cache file unless we assign to the vars.
8596 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8597 eval ac_val
=\$
$ac_var
8601 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8602 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8605 _ | IFS | as_nl
) ;; #(
8606 *) $as_unset $ac_var ;;
8612 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8613 *${as_nl}ac_space
=\
*)
8614 # `set' does not quote correctly, so add quotes (double-quote
8615 # substitution turns \\\\ into \\, and sed turns \\ into \).
8618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8621 # `set' quotes correctly as required by POSIX, so do not add quotes.
8622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8631 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8633 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8635 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8636 if test -w "$cache_file"; then
8637 test "x$cache_file" != "x/dev/null" &&
8638 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8639 echo "$as_me: updating cache $cache_file" >&6;}
8640 cat confcache
>$cache_file
8642 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8643 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8648 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8649 # Let make expand exec_prefix.
8650 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8652 DEFS
=-DHAVE_CONFIG_H
8656 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8657 # 1. Remove the extension, and $U if already installed.
8658 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8659 ac_i
=`echo "$ac_i" | sed "$ac_script"`
8660 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8661 # will be set to the directory where LIBOBJS objects are built.
8662 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8663 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8667 LTLIBOBJS
=$ac_ltlibobjs
8671 : ${CONFIG_STATUS=./config.status}
8672 ac_clean_files_save
=$ac_clean_files
8673 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8674 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8675 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8676 cat >$CONFIG_STATUS <<_ACEOF
8678 # Generated by $as_me.
8679 # Run this file to recreate the current configuration.
8680 # Compiler output produced by configure, useful for debugging
8681 # configure, is in config.log if it exists.
8686 SHELL=\${CONFIG_SHELL-$SHELL}
8689 cat >>$CONFIG_STATUS <<\_ACEOF
8690 ## --------------------- ##
8691 ## M4sh Initialization. ##
8692 ## --------------------- ##
8694 # Be more Bourne compatible
8695 DUALCASE
=1; export DUALCASE
# for MKS sh
8696 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8699 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8700 # is contrary to our usage. Disable this feature.
8701 alias -g '${1+"$@"}'='"$@"'
8702 setopt NO_GLOB_SUBST
8704 case `(set -o) 2>/dev/null` in
8705 *posix
*) set -o posix
;;
8714 # Avoid depending upon Character Ranges.
8715 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8716 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8717 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8718 as_cr_digits
='0123456789'
8719 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8721 # The user is always right.
8722 if test "${PATH_SEPARATOR+set}" != set; then
8723 echo "#! /bin/sh" >conf$$.sh
8724 echo "exit 0" >>conf$$.sh
8726 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8734 # Support unset when possible.
8735 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8743 # We need space, tab and new line, in precisely that order. Quoting is
8744 # there to prevent editors from complaining about space-tab.
8745 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8746 # splitting by setting IFS to empty value.)
8751 # Find who we are. Look in the path if we contain no directory separator.
8753 *[\\/]* ) as_myself
=$0 ;;
8754 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir
=.
8759 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8765 # We did not find ourselves, most probably we were run as `sh COMMAND'
8766 # in which case we are not to be found in the path.
8767 if test "x$as_myself" = x
; then
8770 if test ! -f "$as_myself"; then
8771 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8772 { (exit 1); exit 1; }
8775 # Work around bugs in pre-3.0 UWIN ksh.
8776 for as_var
in ENV MAIL MAILPATH
8777 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8785 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8786 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8787 LC_TELEPHONE LC_TIME
8789 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8790 eval $as_var=C
; export $as_var
8792 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8796 # Required to use basename.
8797 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8798 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8804 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8805 as_basename
=basename
8811 # Name of the executable.
8812 as_me
=`$as_basename -- "$0" ||
8813 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8814 X"$0" : 'X\(//\)$' \| \
8815 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8817 sed '/^.*\/\([^/][^/]*\)\/*$/{
8838 test "x$as_lineno_1" != "x$as_lineno_2" &&
8839 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8841 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8842 # uniformly replaced by the line number. The first 'sed' inserts a
8843 # line-number line after each line using $LINENO; the second 'sed'
8844 # does the real work. The second script uses 'N' to pair each
8845 # line-number line with the line containing $LINENO, and appends
8846 # trailing '-' during substitution so that $LINENO is not a special
8848 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8849 # scripts with optimization help from Paolo Bonzini. Blame Lee
8850 # E. McMahon (1931-1989) for sed's syntax. :-)
8862 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8866 chmod +x
"$as_me.lineno" ||
8867 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8868 { (exit 1); exit 1; }; }
8870 # Don't try to exec as it changes $[0], causing all sort of problems
8871 # (the dirname of $[0] is not the place where we might find the
8872 # original and so on. Autoconf is especially sensitive to this).
8874 # Exit status is that of the last command.
8879 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8885 ECHO_C
= ECHO_N
= ECHO_T
=
8888 case `echo 'x\c'` in
8889 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8896 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8897 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8903 rm -f conf$$ conf$$.exe conf$$.
file
8904 if test -d conf$$.dir
; then
8905 rm -f conf$$.dir
/conf$$.
file
8911 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8913 # ... but there are two gotchas:
8914 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8915 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8916 # In both cases, we have to default to `cp -p'.
8917 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8919 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8924 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8925 rmdir conf$$.dir
2>/dev
/null
8927 if mkdir
-p .
2>/dev
/null
; then
8930 test -d .
/-p && rmdir .
/-p
8934 if test -x / >/dev
/null
2>&1; then
8937 if ls -dL / >/dev
/null
2>&1; then
8944 if test -d "$1"; then
8950 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8951 ???[sx]*):;;*)false;;esac;fi
8955 as_executable_p
=$as_test_x
8957 # Sed expression to map a string onto a valid CPP name.
8958 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8960 # Sed expression to map a string onto a valid variable name.
8961 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8966 # Save the log message, to keep $[0] and so on meaningful, and to
8967 # report actual input values of CONFIG_FILES etc. instead of their
8968 # values after options handling.
8970 This file was extended by GNU C Library $as_me (see version.h), which was
8971 generated by GNU Autoconf 2.61. Invocation command line was
8973 CONFIG_FILES = $CONFIG_FILES
8974 CONFIG_HEADERS = $CONFIG_HEADERS
8975 CONFIG_LINKS = $CONFIG_LINKS
8976 CONFIG_COMMANDS = $CONFIG_COMMANDS
8979 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8984 cat >>$CONFIG_STATUS <<_ACEOF
8985 # Files that config.status was made for.
8986 config_files="$ac_config_files"
8987 config_headers="$ac_config_headers"
8988 config_commands="$ac_config_commands"
8992 cat >>$CONFIG_STATUS <<\_ACEOF
8994 \`$as_me' instantiates files from templates according to the
8995 current configuration.
8997 Usage: $0 [OPTIONS] [FILE]...
8999 -h, --help print this help, then exit
9000 -V, --version print version number and configuration settings, then exit
9001 -q, --quiet do not print progress messages
9002 -d, --debug don't remove temporary files
9003 --recheck update $as_me by reconfiguring in the same conditions
9004 --file=FILE[:TEMPLATE]
9005 instantiate the configuration file FILE
9006 --header=FILE[:TEMPLATE]
9007 instantiate the configuration header FILE
9009 Configuration files:
9012 Configuration headers:
9015 Configuration commands:
9018 Report bugs to <bug-autoconf@gnu.org>."
9021 cat >>$CONFIG_STATUS <<_ACEOF
9023 GNU C Library config.status (see version.h)
9024 configured by $0, generated by GNU Autoconf 2.61,
9025 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9027 Copyright (C) 2006 Free Software Foundation, Inc.
9028 This config.status script is free software; the Free Software Foundation
9029 gives unlimited permission to copy, distribute and modify it."
9036 cat >>$CONFIG_STATUS <<\_ACEOF
9037 # If no file are specified by the user, then we need to provide default
9038 # value. By we need to know if files were specified by the user.
9044 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9045 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9056 # Handling of the options.
9057 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9059 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9060 echo "$ac_cs_version"; exit ;;
9061 --debug |
--debu |
--deb |
--de |
--d |
-d )
9063 --file |
--fil |
--fi |
--f )
9065 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9066 ac_need_defaults
=false
;;
9067 --header |
--heade |
--head |
--hea )
9069 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9070 ac_need_defaults
=false
;;
9072 # Conflict between --help and --header
9073 { echo "$as_me: error: ambiguous option: $1
9074 Try \`$0 --help' for more information." >&2
9075 { (exit 1); exit 1; }; };;
9076 --help |
--hel |
-h )
9077 echo "$ac_cs_usage"; exit ;;
9078 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9079 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9083 -*) { echo "$as_me: error: unrecognized option: $1
9084 Try \`$0 --help' for more information." >&2
9085 { (exit 1); exit 1; }; } ;;
9087 *) ac_config_targets
="$ac_config_targets $1"
9088 ac_need_defaults
=false
;;
9094 ac_configure_extra_args
=
9096 if $ac_cs_silent; then
9098 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9102 cat >>$CONFIG_STATUS <<_ACEOF
9103 if \$ac_cs_recheck; then
9104 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9107 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9111 cat >>$CONFIG_STATUS <<\_ACEOF
9115 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9116 ## Running $as_me. ##
9122 cat >>$CONFIG_STATUS <<_ACEOF
9126 config_vars='$config_vars'
9130 cat >>$CONFIG_STATUS <<\_ACEOF
9132 # Handling of arguments.
9133 for ac_config_target
in $ac_config_targets
9135 case $ac_config_target in
9136 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9137 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9138 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9139 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9140 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9142 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9143 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9144 { (exit 1); exit 1; }; };;
9149 # If the user did not use the arguments to specify the items to instantiate,
9150 # then the envvar interface is used. Set only those that are not.
9151 # We use the long form for the default assignment because of an extremely
9152 # bizarre bug on SunOS 4.1.3.
9153 if $ac_need_defaults; then
9154 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9155 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9156 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9159 # Have a temporary directory for convenience. Make it in the build tree
9160 # simply because there is no reason against having it here, and in addition,
9161 # creating and moving files from /tmp can sometimes cause problems.
9162 # Hook for its removal unless debugging.
9163 # Note that there is a small window in which the directory will not be cleaned:
9164 # after its creation but before its name has been assigned to `$tmp'.
9168 trap 'exit_status=$?
9169 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9171 trap '{ (exit 1); exit 1; }' 1 2 13 15
9173 # Create a (secure) tmp directory for tmp files.
9176 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9177 test -n "$tmp" && test -d "$tmp"
9180 tmp
=.
/conf$$
-$RANDOM
9181 (umask 077 && mkdir
"$tmp")
9184 echo "$me: cannot create a temporary directory in ." >&2
9185 { (exit 1); exit 1; }
9189 # Set up the sed scripts for CONFIG_FILES section.
9192 # No need to generate the scripts if there are no CONFIG_FILES.
9193 # This happens for instance when ./config.status config.h
9194 if test -n "$CONFIG_FILES"; then
9201 for ac_last_try
in false false false false false
:; do
9202 cat >conf$
$subs.
sed <<_ACEOF
9203 SHELL!$SHELL$ac_delim
9204 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9205 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9206 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9207 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9208 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9209 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9210 exec_prefix!$exec_prefix$ac_delim
9211 prefix!$prefix$ac_delim
9212 program_transform_name!$program_transform_name$ac_delim
9213 bindir!$bindir$ac_delim
9214 sbindir!$sbindir$ac_delim
9215 libexecdir!$libexecdir$ac_delim
9216 datarootdir!$datarootdir$ac_delim
9217 datadir!$datadir$ac_delim
9218 sysconfdir!$sysconfdir$ac_delim
9219 sharedstatedir!$sharedstatedir$ac_delim
9220 localstatedir!$localstatedir$ac_delim
9221 includedir!$includedir$ac_delim
9222 oldincludedir!$oldincludedir$ac_delim
9223 docdir!$docdir$ac_delim
9224 infodir!$infodir$ac_delim
9225 htmldir!$htmldir$ac_delim
9226 dvidir!$dvidir$ac_delim
9227 pdfdir!$pdfdir$ac_delim
9228 psdir!$psdir$ac_delim
9229 libdir!$libdir$ac_delim
9230 localedir!$localedir$ac_delim
9231 mandir!$mandir$ac_delim
9233 ECHO_C!$ECHO_C$ac_delim
9234 ECHO_N!$ECHO_N$ac_delim
9235 ECHO_T!$ECHO_T$ac_delim
9237 build_alias!$build_alias$ac_delim
9238 host_alias!$host_alias$ac_delim
9239 target_alias!$target_alias$ac_delim
9240 with_fp!$with_fp$ac_delim
9241 with_cvs!$with_cvs$ac_delim
9242 enable_check_abi!$enable_check_abi$ac_delim
9243 oldest_abi!$oldest_abi$ac_delim
9244 bindnow!$bindnow$ac_delim
9245 force_install!$force_install$ac_delim
9246 all_warnings!$all_warnings$ac_delim
9247 multi_arch!$multi_arch$ac_delim
9248 experimental_malloc!$experimental_malloc$ac_delim
9249 build!$build$ac_delim
9250 build_cpu!$build_cpu$ac_delim
9251 build_vendor!$build_vendor$ac_delim
9252 build_os!$build_os$ac_delim
9254 host_cpu!$host_cpu$ac_delim
9255 host_vendor!$host_vendor$ac_delim
9256 host_os!$host_os$ac_delim
9257 subdirs!$subdirs$ac_delim
9258 add_ons!$add_ons$ac_delim
9259 add_on_subdirs!$add_on_subdirs$ac_delim
9260 base_machine!$base_machine$ac_delim
9261 submachine!$submachine$ac_delim
9262 sysnames!$sysnames$ac_delim
9263 sysdeps_add_ons!$sysdeps_add_ons$ac_delim
9264 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9265 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9266 INSTALL_DATA!$INSTALL_DATA$ac_delim
9269 CFLAGS!$CFLAGS$ac_delim
9270 LDFLAGS!$LDFLAGS$ac_delim
9271 CPPFLAGS!$CPPFLAGS$ac_delim
9272 ac_ct_CC!$ac_ct_CC$ac_delim
9273 OBJEXT!$OBJEXT$ac_delim
9274 BUILD_CC!$BUILD_CC$ac_delim
9275 cross_compiling!$cross_compiling$ac_delim
9278 CXXFLAGS!$CXXFLAGS$ac_delim
9279 ac_ct_CXX!$ac_ct_CXX$ac_delim
9281 OBJDUMP!$OBJDUMP$ac_delim
9282 RANLIB!$RANLIB$ac_delim
9286 PWD_P!$PWD_P$ac_delim
9288 MSGFMT!$MSGFMT$ac_delim
9289 MAKEINFO!$MAKEINFO$ac_delim
9291 AUTOCONF!$AUTOCONF$ac_delim
9292 SYSINCLUDES!$SYSINCLUDES$ac_delim
9293 CXX_SYSINCLUDES!$CXX_SYSINCLUDES$ac_delim
9294 libc_cv_gcc_static_libgcc!$libc_cv_gcc_static_libgcc$ac_delim
9295 BASH_SHELL!$BASH_SHELL$ac_delim
9296 libc_cv_have_bash2!$libc_cv_have_bash2$ac_delim
9298 libc_cv_have_ksh!$libc_cv_have_ksh$ac_delim
9302 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9304 elif $ac_last_try; then
9305 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9306 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9307 { (exit 1); exit 1; }; }
9309 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9313 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9314 if test -n "$ac_eof"; then
9315 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9316 ac_eof
=`expr $ac_eof + 1`
9319 cat >>$CONFIG_STATUS <<_ACEOF
9320 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9321 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9324 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9325 s/^/s,@/; s/!/@,|#_!!_#|/
9328 s/'"$ac_delim"'$/,g/; t
9330 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9331 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9332 rm -f conf$
$subs.
sed
9333 cat >>$CONFIG_STATUS <<_ACEOF
9339 for ac_last_try
in false false false false false
:; do
9340 cat >conf$
$subs.
sed <<_ACEOF
9342 INSTALL_INFO!$INSTALL_INFO$ac_delim
9343 BISON!$BISON$ac_delim
9344 VERSIONING!$VERSIONING$ac_delim
9345 libc_cv_cc_with_libunwind!$libc_cv_cc_with_libunwind$ac_delim
9346 libc_cv_Bgroup!$libc_cv_Bgroup$ac_delim
9347 libc_cv_libgcc_s_suffix!$libc_cv_libgcc_s_suffix$ac_delim
9348 libc_cv_as_needed!$libc_cv_as_needed$ac_delim
9349 ASFLAGS_config!$ASFLAGS_config$ac_delim
9350 libc_cv_z_combreloc!$libc_cv_z_combreloc$ac_delim
9351 libc_cv_z_execstack!$libc_cv_z_execstack$ac_delim
9352 libc_cv_fpie!$libc_cv_fpie$ac_delim
9353 libc_cv_hashstyle!$libc_cv_hashstyle$ac_delim
9354 fno_unit_at_a_time!$fno_unit_at_a_time$ac_delim
9355 libc_cv_ssp!$libc_cv_ssp$ac_delim
9356 libc_cv_gnu89_inline!$libc_cv_gnu89_inline$ac_delim
9357 libc_cv_have_initfini!$libc_cv_have_initfini$ac_delim
9358 no_whole_archive!$no_whole_archive$ac_delim
9359 exceptions!$exceptions$ac_delim
9360 libc_cv_cc_submachine!$libc_cv_cc_submachine$ac_delim
9361 LIBGD!$LIBGD$ac_delim
9362 have_libaudit!$have_libaudit$ac_delim
9363 have_libcap!$have_libcap$ac_delim
9364 have_selinux!$have_selinux$ac_delim
9366 EGREP!$EGREP$ac_delim
9367 sizeof_long_double!$sizeof_long_double$ac_delim
9368 libc_cv_gcc_unwind_find_fde!$libc_cv_gcc_unwind_find_fde$ac_delim
9369 uname_sysname!$uname_sysname$ac_delim
9370 uname_release!$uname_release$ac_delim
9371 uname_version!$uname_version$ac_delim
9372 old_glibc_headers!$old_glibc_headers$ac_delim
9373 libc_cv_slibdir!$libc_cv_slibdir$ac_delim
9374 libc_cv_localedir!$libc_cv_localedir$ac_delim
9375 libc_cv_sysconfdir!$libc_cv_sysconfdir$ac_delim
9376 libc_cv_rootsbindir!$libc_cv_rootsbindir$ac_delim
9377 libc_cv_forced_unwind!$libc_cv_forced_unwind$ac_delim
9378 libc_cv_cpp_asm_debuginfo!$libc_cv_cpp_asm_debuginfo$ac_delim
9379 use_ldconfig!$use_ldconfig$ac_delim
9380 ldd_rewrite_script!$ldd_rewrite_script$ac_delim
9382 xcoff!$xcoff$ac_delim
9383 static!$static$ac_delim
9384 shared!$shared$ac_delim
9385 pic_default!$pic_default$ac_delim
9386 profile!$profile$ac_delim
9387 omitfp!$omitfp$ac_delim
9388 bounded!$bounded$ac_delim
9389 static_nss!$static_nss$ac_delim
9390 nopic_initfini!$nopic_initfini$ac_delim
9391 DEFINES!$DEFINES$ac_delim
9392 mach_interface_list!$mach_interface_list$ac_delim
9393 VERSION!$VERSION$ac_delim
9394 RELEASE!$RELEASE$ac_delim
9395 LIBOBJS!$LIBOBJS$ac_delim
9396 LTLIBOBJS!$LTLIBOBJS$ac_delim
9399 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
9401 elif $ac_last_try; then
9402 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9403 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9404 { (exit 1); exit 1; }; }
9406 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9410 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9411 if test -n "$ac_eof"; then
9412 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9413 ac_eof
=`expr $ac_eof + 1`
9416 cat >>$CONFIG_STATUS <<_ACEOF
9417 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9418 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9421 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9422 s/^/s,@/; s/!/@,|#_!!_#|/
9425 s/'"$ac_delim"'$/,g/; t
9427 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9428 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9429 rm -f conf$
$subs.
sed
9430 cat >>$CONFIG_STATUS <<_ACEOF
9437 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9438 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9439 # trailing colons and then remove the whole line if VPATH becomes empty
9440 # (actually we leave an empty line to preserve line numbers).
9441 if test "x$srcdir" = x.
; then
9442 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9446 s/^\([^=]*=[ ]*\):*/\1/
9452 cat >>$CONFIG_STATUS <<\_ACEOF
9453 fi # test -n "$CONFIG_FILES"
9456 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
9459 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9461 case $ac_mode$ac_tag in
9463 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9464 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9465 { (exit 1); exit 1; }; };;
9466 :[FH
]-) ac_tag
=-:-;;
9467 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9484 -) ac_f
="$tmp/stdin";;
9485 *) # Look for the file first in the build tree, then in the source tree
9486 # (if the path is not absolute). The absolute path cannot be DOS-style,
9487 # because $ac_f cannot contain `:'.
9491 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9493 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9494 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9495 { (exit 1); exit 1; }; };;
9497 ac_file_inputs
="$ac_file_inputs $ac_f"
9500 # Let's still pretend it is `configure' which instantiates (i.e., don't
9501 # use $as_me), people would be surprised to read:
9502 # /* config.h. Generated by config.status. */
9503 configure_input
="Generated from "`IFS=:
9504 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9505 if test x
"$ac_file" != x-
; then
9506 configure_input
="$ac_file. $configure_input"
9507 { echo "$as_me:$LINENO: creating $ac_file" >&5
9508 echo "$as_me: creating $ac_file" >&6;}
9512 *:-:* |
*:-) cat >"$tmp/stdin";;
9517 ac_dir
=`$as_dirname -- "$ac_file" ||
9518 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9519 X"$ac_file" : 'X\(//\)[^/]' \| \
9520 X"$ac_file" : 'X\(//\)$' \| \
9521 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9542 -*) as_dir
=.
/$as_dir;;
9544 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9548 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9549 *) as_qdir
=$as_dir;;
9551 as_dirs
="'$as_qdir' $as_dirs"
9552 as_dir
=`$as_dirname -- "$as_dir" ||
9553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9554 X"$as_dir" : 'X\(//\)[^/]' \| \
9555 X"$as_dir" : 'X\(//\)$' \| \
9556 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9575 test -d "$as_dir" && break
9577 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9578 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9579 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9580 { (exit 1); exit 1; }; }; }
9584 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9586 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9587 # A ".." for each directory in $ac_dir_suffix.
9588 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9589 case $ac_top_builddir_sub in
9590 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9591 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9594 ac_abs_top_builddir
=$ac_pwd
9595 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9596 # for backward compatibility:
9597 ac_top_builddir
=$ac_top_build_prefix
9600 .
) # We are building in place.
9602 ac_top_srcdir
=$ac_top_builddir_sub
9603 ac_abs_top_srcdir
=$ac_pwd ;;
9604 [\\/]* | ?
:[\\/]* ) # Absolute name.
9605 ac_srcdir
=$srcdir$ac_dir_suffix;
9606 ac_top_srcdir
=$srcdir
9607 ac_abs_top_srcdir
=$srcdir ;;
9609 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9610 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9611 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9613 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9623 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9624 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9628 cat >>$CONFIG_STATUS <<\_ACEOF
9629 # If the template does not know about datarootdir, expand it.
9630 # FIXME: This hack should be removed a few years after 2.60.
9631 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9633 case `sed -n '/datarootdir/ {
9642 ' $ac_file_inputs` in
9643 *datarootdir
*) ac_datarootdir_seen
=yes;;
9644 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9645 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9646 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9648 cat >>$CONFIG_STATUS <<_ACEOF
9649 ac_datarootdir_hack='
9650 s&@datadir@&$datadir&g
9651 s&@docdir@&$docdir&g
9652 s&@infodir@&$infodir&g
9653 s&@localedir@&$localedir&g
9654 s&@mandir@&$mandir&g
9655 s&\\\${datarootdir}&$datarootdir&g' ;;
9659 # Neutralize VPATH when `$srcdir' = `.'.
9660 # Shell code in configure.ac might set extrasub.
9661 # FIXME: do we really want to maintain this feature?
9662 cat >>$CONFIG_STATUS <<_ACEOF
9666 cat >>$CONFIG_STATUS <<\_ACEOF
9668 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9669 s
&@configure_input@
&$configure_input&;t t
9670 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9671 s
&@srcdir@
&$ac_srcdir&;t t
9672 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9673 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9674 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9675 s
&@builddir@
&$ac_builddir&;t t
9676 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9677 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9678 s
&@INSTALL@
&$ac_INSTALL&;t t
9679 $ac_datarootdir_hack
9680 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
9682 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9683 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9684 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9685 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9686 which seems to be undefined. Please make sure it is defined." >&5
9687 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9688 which seems to be undefined. Please make sure it is defined." >&2;}
9692 -) cat "$tmp/out"; rm -f "$tmp/out";;
9693 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9702 # Transform confdefs.h into a sed script `conftest.defines', that
9703 # substitutes the proper values into config.h.in to produce config.h.
9704 rm -f conftest.defines conftest.
tail
9705 # First, append a space to every undef/define line, to ease matching.
9706 echo 's/$/ /' >conftest.defines
9707 # Then, protect against being on the right side of a sed subst, or in
9708 # an unquoted here document, in config.status. If some macros were
9709 # called several times there might be several #defines for the same
9710 # symbol, which is useless. But do not sort them, since the last
9711 # AC_DEFINE must be honored.
9712 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
9713 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9714 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9715 # PARAMS is the parameter list in the macro definition--in most cases, it's
9716 # just an empty string.
9717 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9718 ac_dB
='\\)[ (].*,\\1define\\2'
9726 s/^[ ]*#[ ]*define[ ][ ]*//
9731 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9732 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9733 ' >>conftest.defines
9735 # Remove the space that was appended to ease matching.
9736 # Then replace #undef with comments. This is necessary, for
9737 # example, in the case of _POSIX_SOURCE, which is predefined and required
9738 # on some systems where configure will not decide to define it.
9739 # (The regexp can be short, since the line contains either #define or #undef.)
9741 s,^[ #]*u.*,/* & */,' >>conftest.defines
9743 # Break up conftest.defines:
9746 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9747 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9748 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9750 ac_in
='$ac_file_inputs'
9751 ac_out
='"$tmp/out1"'
9752 ac_nxt
='"$tmp/out2"'
9756 # Write a here document:
9757 cat >>$CONFIG_STATUS <<_ACEOF
9758 # First, check the format of the line:
9759 cat >"\$tmp/defines.sed" <<\\CEOF
9760 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9761 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9765 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
9767 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9768 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
9769 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
9770 grep . conftest.
tail >/dev
/null ||
break
9771 rm -f conftest.defines
9772 mv conftest.
tail conftest.defines
9774 rm -f conftest.defines conftest.
tail
9776 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9777 cat >>$CONFIG_STATUS <<\_ACEOF
9778 if test x
"$ac_file" != x-
; then
9779 echo "/* $configure_input */" >"$tmp/config.h"
9780 cat "$ac_result" >>"$tmp/config.h"
9781 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
9782 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9783 echo "$as_me: $ac_file is unchanged" >&6;}
9786 mv "$tmp/config.h" $ac_file
9789 echo "/* $configure_input */"
9795 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9796 echo "$as_me: executing $ac_file commands" >&6;}
9801 case $ac_file$ac_mode in
9803 case $CONFIG_FILES in *config.
make*)
9804 echo "$config_vars" >> config.
make;;
9806 test -d bits || mkdir bits
;;
9812 { (exit 0); exit 0; }
9814 chmod +x
$CONFIG_STATUS
9815 ac_clean_files
=$ac_clean_files_save
9818 # configure is writing to config.log, and then calls config.status.
9819 # config.status does its own redirection, appending to config.log.
9820 # Unfortunately, on DOS this fails, as config.log is still kept open
9821 # by configure, so config.status won't be able to write to it; its
9822 # output is simply discarded. So we exec the FD to /dev/null,
9823 # effectively closing config.log, so it can be properly (re)opened and
9824 # appended to by config.status. When coming back to configure, we
9825 # need to make the FD available again.
9826 if test "$no_create" != yes; then
9828 ac_config_status_args
=
9829 test "$silent" = yes &&
9830 ac_config_status_args
="$ac_config_status_args --quiet"
9832 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9834 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9835 # would make configure fail if this is the last instruction.
9836 $ac_cs_success ||
{ (exit 1); exit 1; }
9840 # CONFIG_SUBDIRS section.
9842 if test "$no_recursion" != yes; then
9844 # Remove --cache-file and --srcdir arguments so they do not pile up.
9845 ac_sub_configure_args
=
9847 eval "set x $ac_configure_args"
9851 if test -n "$ac_prev"; then
9856 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
9857 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
9858 ac_prev
=cache_file
;;
9859 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
9860 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
9863 --config-cache |
-C)
9865 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
9867 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
9869 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
9871 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
9875 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9877 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
9881 # Always prepend --prefix to ensure using the same prefix
9882 # in subdir configurations.
9883 ac_arg
="--prefix=$prefix"
9885 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9887 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
9890 if test "$silent" = yes; then
9891 ac_sub_configure_args
="--silent $ac_sub_configure_args"
9895 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
9897 # Do not complain, so a configure script can configure whichever
9898 # parts of a large source tree are present.
9899 test -d "$srcdir/$ac_dir" ||
continue
9901 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9902 echo "$as_me:$LINENO: $ac_msg" >&5
9906 -*) as_dir
=.
/$as_dir;;
9908 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9912 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9913 *) as_qdir
=$as_dir;;
9915 as_dirs
="'$as_qdir' $as_dirs"
9916 as_dir
=`$as_dirname -- "$as_dir" ||
9917 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9918 X"$as_dir" : 'X\(//\)[^/]' \| \
9919 X"$as_dir" : 'X\(//\)$' \| \
9920 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9939 test -d "$as_dir" && break
9941 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9942 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9943 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9944 { (exit 1); exit 1; }; }; }
9948 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9950 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9951 # A ".." for each directory in $ac_dir_suffix.
9952 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9953 case $ac_top_builddir_sub in
9954 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9955 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9958 ac_abs_top_builddir
=$ac_pwd
9959 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9960 # for backward compatibility:
9961 ac_top_builddir
=$ac_top_build_prefix
9964 .
) # We are building in place.
9966 ac_top_srcdir
=$ac_top_builddir_sub
9967 ac_abs_top_srcdir
=$ac_pwd ;;
9968 [\\/]* | ?
:[\\/]* ) # Absolute name.
9969 ac_srcdir
=$srcdir$ac_dir_suffix;
9970 ac_top_srcdir
=$srcdir
9971 ac_abs_top_srcdir
=$srcdir ;;
9973 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9974 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9975 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9977 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9982 # Check for guested configure; otherwise get Cygnus style configure.
9983 if test -f "$ac_srcdir/configure.gnu"; then
9984 ac_sub_configure
=$ac_srcdir/configure.gnu
9985 elif test -f "$ac_srcdir/configure"; then
9986 ac_sub_configure
=$ac_srcdir/configure
9987 elif test -f "$ac_srcdir/configure.in"; then
9988 # This should be Cygnus configure.
9989 ac_sub_configure
=$ac_aux_dir/configure
9991 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9992 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9996 # The recursion is here.
9997 if test -n "$ac_sub_configure"; then
9998 # Make the cache file name correct relative to the subdirectory.
10000 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
10001 *) # Relative name.
10002 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
10005 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10006 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10007 # The eval makes quoting arguments work.
10008 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10009 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10010 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10011 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10012 { (exit 1); exit 1; }; }