2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) ||
{ (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") ||
{
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir
-p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='GNU C Library'
577 PACKAGE_TARNAME
='c-library'
578 PACKAGE_VERSION
='(see version.h)'
579 PACKAGE_STRING
='GNU C Library (see version.h)'
580 PACKAGE_BUGREPORT
='glibc'
582 ac_unique_file
="include/features.h"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
708 libc_cv_gcc_static_libgcc
718 libc_cv_cc_with_libunwind
720 libc_cv_libgcc_s_suffix
730 libc_cv_have_initfini
740 libc_cv_gcc_unwind_find_fde
749 libc_cv_forced_unwind
769 ac_precious_vars
='build_alias
783 # Initialize some variables set by options.
785 ac_init_version
=false
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
795 program_transform_name
=s
,x
,x
,
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir
='${exec_prefix}/bin'
810 sbindir
='${exec_prefix}/sbin'
811 libexecdir
='${exec_prefix}/libexec'
812 datarootdir
='${prefix}/share'
813 datadir
='${datarootdir}'
814 sysconfdir
='${prefix}/etc'
815 sharedstatedir
='${prefix}/com'
816 localstatedir
='${prefix}/var'
817 includedir
='${prefix}/include'
818 oldincludedir
='/usr/include'
819 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir
='${datarootdir}/info'
825 libdir
='${exec_prefix}/lib'
826 localedir
='${datarootdir}/locale'
827 mandir
='${datarootdir}/man'
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\
$ac_option
841 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845 # Accept the important Cygnus configure options, so we can diagnose typos.
847 case $ac_dashdash$ac_option in
851 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
853 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
856 -build |
--build |
--buil |
--bui |
--bu)
857 ac_prev
=build_alias
;;
858 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
859 build_alias
=$ac_optarg ;;
861 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
862 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
863 ac_prev
=cache_file
;;
864 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
865 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
866 cache_file
=$ac_optarg ;;
869 cache_file
=config.cache
;;
871 -datadir |
--datadir |
--datadi |
--datad)
873 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
874 datadir
=$ac_optarg ;;
876 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
877 |
--dataroo |
--dataro |
--datar)
878 ac_prev
=datarootdir
;;
879 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
880 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
881 datarootdir
=$ac_optarg ;;
883 -disable-* |
--disable-*)
884 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
887 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
888 { (exit 1); exit 1; }; }
889 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
890 eval enable_
$ac_feature=no
;;
892 -docdir |
--docdir |
--docdi |
--doc |
--do)
894 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
897 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
899 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
902 -enable-* |
--enable-*)
903 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
906 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
907 { (exit 1); exit 1; }; }
908 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
909 eval enable_
$ac_feature=\
$ac_optarg ;;
911 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
912 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
913 |
--exec |
--exe |
--ex)
914 ac_prev
=exec_prefix
;;
915 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
916 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
917 |
--exec=* |
--exe=* |
--ex=*)
918 exec_prefix
=$ac_optarg ;;
920 -gas |
--gas |
--ga |
--g)
921 # Obsolete; use --with-gas.
924 -help |
--help |
--hel |
--he |
-h)
926 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
927 ac_init_help
=recursive
;;
928 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
929 ac_init_help
=short
;;
931 -host |
--host |
--hos |
--ho)
932 ac_prev
=host_alias
;;
933 -host=* |
--host=* |
--hos=* |
--ho=*)
934 host_alias
=$ac_optarg ;;
936 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
938 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
940 htmldir
=$ac_optarg ;;
942 -includedir |
--includedir |
--includedi |
--included |
--include \
943 |
--includ |
--inclu |
--incl |
--inc)
944 ac_prev
=includedir
;;
945 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
946 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
947 includedir
=$ac_optarg ;;
949 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
951 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
952 infodir
=$ac_optarg ;;
954 -libdir |
--libdir |
--libdi |
--libd)
956 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
959 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
960 |
--libexe |
--libex |
--libe)
961 ac_prev
=libexecdir
;;
962 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
963 |
--libexe=* |
--libex=* |
--libe=*)
964 libexecdir
=$ac_optarg ;;
966 -localedir |
--localedir |
--localedi |
--localed |
--locale)
968 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
969 localedir
=$ac_optarg ;;
971 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
972 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
973 ac_prev
=localstatedir
;;
974 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
975 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
976 localstatedir
=$ac_optarg ;;
978 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
980 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
984 # Obsolete; use --without-fp.
987 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
988 |
--no-cr |
--no-c |
-n)
991 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
992 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
995 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
996 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
997 |
--oldin |
--oldi |
--old |
--ol |
--o)
998 ac_prev
=oldincludedir
;;
999 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1000 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1001 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1002 oldincludedir
=$ac_optarg ;;
1004 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1006 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1007 prefix
=$ac_optarg ;;
1009 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1010 |
--program-pre |
--program-pr |
--program-p)
1011 ac_prev
=program_prefix
;;
1012 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1013 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1014 program_prefix
=$ac_optarg ;;
1016 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1017 |
--program-suf |
--program-su |
--program-s)
1018 ac_prev
=program_suffix
;;
1019 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1020 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1021 program_suffix
=$ac_optarg ;;
1023 -program-transform-name |
--program-transform-name \
1024 |
--program-transform-nam |
--program-transform-na \
1025 |
--program-transform-n |
--program-transform- \
1026 |
--program-transform |
--program-transfor \
1027 |
--program-transfo |
--program-transf \
1028 |
--program-trans |
--program-tran \
1029 |
--progr-tra |
--program-tr |
--program-t)
1030 ac_prev
=program_transform_name
;;
1031 -program-transform-name=* |
--program-transform-name=* \
1032 |
--program-transform-nam=* |
--program-transform-na=* \
1033 |
--program-transform-n=* |
--program-transform-=* \
1034 |
--program-transform=* |
--program-transfor=* \
1035 |
--program-transfo=* |
--program-transf=* \
1036 |
--program-trans=* |
--program-tran=* \
1037 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1038 program_transform_name
=$ac_optarg ;;
1040 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1042 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1043 pdfdir
=$ac_optarg ;;
1045 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1047 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1050 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1051 |
-silent |
--silent |
--silen |
--sile |
--sil)
1054 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1056 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1058 sbindir
=$ac_optarg ;;
1060 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1061 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1062 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1064 ac_prev
=sharedstatedir
;;
1065 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1066 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1067 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1069 sharedstatedir
=$ac_optarg ;;
1071 -site |
--site |
--sit)
1073 -site=* |
--site=* |
--sit=*)
1076 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1078 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1079 srcdir
=$ac_optarg ;;
1081 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1082 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1083 ac_prev
=sysconfdir
;;
1084 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1085 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1086 sysconfdir
=$ac_optarg ;;
1088 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1089 ac_prev
=target_alias
;;
1090 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1091 target_alias
=$ac_optarg ;;
1093 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1096 -version |
--version |
--versio |
--versi |
--vers |
-V)
1097 ac_init_version
=: ;;
1100 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1103 { echo "$as_me: error: invalid package name: $ac_package" >&2
1104 { (exit 1); exit 1; }; }
1105 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1106 eval with_
$ac_package=\
$ac_optarg ;;
1108 -without-* |
--without-*)
1109 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_
$ac_package=no
;;
1118 # Obsolete; use --with-x.
1121 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1122 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1123 ac_prev
=x_includes
;;
1124 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1125 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1126 x_includes
=$ac_optarg ;;
1128 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1129 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1130 ac_prev
=x_libraries
;;
1131 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1132 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1133 x_libraries
=$ac_optarg ;;
1135 -*) { echo "$as_me: error: unrecognized option: $ac_option
1136 Try \`$0 --help' for more information." >&2
1137 { (exit 1); exit 1; }; }
1141 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1144 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1145 { (exit 1); exit 1; }; }
1146 eval $ac_envvar=\
$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1153 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1160 if test -n "$ac_prev"; then
1161 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1162 { echo "$as_me: error: missing argument to $ac_option" >&2
1163 { (exit 1); exit 1; }; }
1166 # Be sure to have absolute directory names.
1167 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val
=\$
$ac_var
1174 [\\/$
]* | ?
:[\\/]* ) continue;;
1175 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1177 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1178 { (exit 1); exit 1; }; }
1181 # There might be people who depend on the old broken behavior: `$host'
1182 # used to hold the argument of --host etc.
1183 # FIXME: To remove some day.
1186 target
=$target_alias
1188 # FIXME: To remove some day.
1189 if test "x$host_alias" != x
; then
1190 if test "x$build_alias" = x
; then
1191 cross_compiling
=maybe
1192 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1193 If a cross compiler is detected then cross compile mode will be used." >&2
1194 elif test "x$build_alias" != "x$host_alias"; then
1200 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1202 test "$silent" = yes && exec 6>/dev
/null
1205 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di
=`ls -di .` &&
1207 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1208 { echo "$as_me: error: Working directory cannot be determined" >&2
1209 { (exit 1); exit 1; }; }
1210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1211 { echo "$as_me: error: pwd does not report name of working directory" >&2
1212 { (exit 1); exit 1; }; }
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted
=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir
=`$as_dirname -- "$0" ||
1220 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$0" : 'X\(//\)[^/]' \| \
1222 X"$0" : 'X\(//\)$' \| \
1223 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1247 ac_srcdir_defaulted
=no
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1251 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1252 { (exit 1); exit 1; }; }
1254 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1256 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1257 { (exit 1); exit 1; }; }
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1267 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1269 for ac_var
in $ac_precious_vars; do
1270 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1272 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1277 # Report the --help message.
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1283 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1290 Defaults for the options are specified in brackets.
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1314 For better control, use the options below.
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1341 --build=BUILD configure
for building on BUILD
[guessed
]
1342 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1346 if test -n "$ac_init_help"; then
1347 case $ac_init_help in
1348 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1353 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1354 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1355 --disable-sanity-checks really
do not use threads
(should not be used except
1356 in special situations
) [default
=yes]
1357 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1359 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1360 --enable-profile build profiled library
[default
=no
]
1361 --enable-omitfp build undebuggable optimized library
[default
=no
]
1362 --enable-bounded build with runtime bounds checking
[default
=no
]
1363 --disable-versioning do not include versioning information
in the library
1364 objects
[default
=yes if supported
]
1365 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1366 [default
=glibc default
]
1367 --enable-stackguard-randomization
1368 initialize __stack_chk_guard canary with a random
1369 number
at program start
1370 --enable-add-ons[=DIRS...
]
1371 configure and build add-ons
in DIR1
,DIR2
,... search
1372 for add-ons
if no parameter given
1373 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1374 --enable-bind-now disable lazy relocations
in DSOs
1375 --enable-static-nss build static NSS modules
[default
=no
]
1376 --disable-force-install don
't force installation of files from this package,
1377 even if they are older than the installed files
1378 --enable-kernel=VERSION compile for compatibility with kernel not older than
1380 --enable-all-warnings enable all useful warnings gcc can issue
1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1385 --with-gd=DIR find libgd include dir and library with prefix DIR
1386 --with-gd-include=DIR find libgd include files in DIR
1387 --with-gd-lib=DIR find libgd library files in DIR
1388 --with-fp if using floating-point hardware [default=yes]
1389 --with-binutils=PATH specify location of binutils (as and ld)
1390 --with-elf if using the ELF object format
1391 --with-selinux if building with SELinux support
1392 --with-xcoff if using the XCOFF object format
1393 --without-cvs if CVS should not be used
1394 --with-headers=PATH location of system headers to use (for example
1395 /usr/src/linux/include) [default=compiler default]
1396 --with-tls enable support for TLS
1397 --without-__thread do not use TLS features even when supporting them
1398 --with-cpu=CPU select code for CPU variant
1400 Some influential environment variables:
1401 CC C compiler command
1402 CFLAGS C compiler flags
1403 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1404 nonstandard directory <lib dir>
1405 LIBS libraries to pass to the linker, e.g. -l<library>
1406 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1407 you have headers in a nonstandard directory <include dir>
1409 CXX C++ compiler command
1410 CXXFLAGS C++ compiler flags
1412 Use these variables to override the choices made by `configure' or to
help
1413 it to
find libraries and programs with nonstandard names
/locations.
1415 Report bugs to
<glibc
>.
1420 if test "$ac_init_help" = "recursive"; then
1421 # If there are subdirs, report their specific --help.
1422 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1423 test -d "$ac_dir" ||
continue
1427 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1429 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1430 # A ".." for each directory in $ac_dir_suffix.
1431 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1432 case $ac_top_builddir_sub in
1433 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1434 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1437 ac_abs_top_builddir
=$ac_pwd
1438 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1439 # for backward compatibility:
1440 ac_top_builddir
=$ac_top_build_prefix
1443 .
) # We are building in place.
1445 ac_top_srcdir
=$ac_top_builddir_sub
1446 ac_abs_top_srcdir
=$ac_pwd ;;
1447 [\\/]* | ?
:[\\/]* ) # Absolute name.
1448 ac_srcdir
=$srcdir$ac_dir_suffix;
1449 ac_top_srcdir
=$srcdir
1450 ac_abs_top_srcdir
=$srcdir ;;
1452 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1453 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1454 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1456 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1458 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1459 # Check for guested configure.
1460 if test -f "$ac_srcdir/configure.gnu"; then
1462 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463 elif test -f "$ac_srcdir/configure"; then
1465 $SHELL "$ac_srcdir/configure" --help=recursive
1467 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1473 test -n "$ac_init_help" && exit $ac_status
1474 if $ac_init_version; then
1476 GNU C Library configure
(see version.h
)
1477 generated by GNU Autoconf
2.61
1479 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1480 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1481 This configure
script is free software
; the Free Software Foundation
1482 gives unlimited permission to copy
, distribute and modify it.
1486 cat >config.log
<<_ACEOF
1487 This file contains any messages produced by compilers while
1488 running configure, to aid debugging if configure makes a mistake.
1490 It was created by GNU C Library $as_me (see version.h), which was
1491 generated by GNU Autoconf 2.61. Invocation command line was
1503 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1504 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1505 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1506 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1507 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1509 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1510 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1512 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1513 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1514 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1515 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1516 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1517 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1518 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1526 test -z "$as_dir" && as_dir
=.
1527 echo "PATH: $as_dir"
1543 # Keep a trace of the command line.
1544 # Strip out --no-create and --no-recursion so they do not pile up.
1545 # Strip out --silent because we don't want to record it for future runs.
1546 # Also quote any args containing shell meta-characters.
1547 # Make two passes to allow for proper duplicate-argument suppression.
1551 ac_must_keep_next
=false
1557 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1558 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1559 |
-silent |
--silent |
--silen |
--sile |
--sil)
1562 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1565 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1567 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1568 if test $ac_must_keep_next = true
; then
1569 ac_must_keep_next
=false
# Got value, back to normal.
1572 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1573 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1574 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1575 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1576 case "$ac_configure_args0 " in
1577 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1580 -* ) ac_must_keep_next
=true
;;
1583 ac_configure_args
="$ac_configure_args '$ac_arg'"
1588 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1589 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1591 # When interrupted or exit'd, cleanup temporary files, and complete
1592 # config.log. We remove comments because anyway the quotes in there
1593 # would cause problems or look ugly.
1594 # WARNING: Use '\'' to represent an apostrophe within the trap.
1595 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1596 trap 'exit_status=$?
1597 # Save into config.log some information that might help in debugging.
1602 ## ---------------- ##
1603 ## Cache variables. ##
1604 ## ---------------- ##
1607 # The following way of writing the cache mishandles newlines in values,
1609 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1610 eval ac_val=\$$ac_var
1614 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1615 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1618 _ | IFS | as_nl) ;; #(
1619 *) $as_unset $ac_var ;;
1624 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1625 *${as_nl}ac_space=\ *)
1627 "s/'\''/'\''\\\\'\'''\''/g;
1628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1631 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1639 ## ----------------- ##
1640 ## Output variables. ##
1641 ## ----------------- ##
1644 for ac_var in $ac_subst_vars
1646 eval ac_val=\$$ac_var
1648 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650 echo "$ac_var='\''$ac_val'\''"
1654 if test -n "$ac_subst_files"; then
1656 ## ------------------- ##
1657 ## File substitutions. ##
1658 ## ------------------- ##
1661 for ac_var
in $ac_subst_files
1663 eval ac_val
=\$
$ac_var
1665 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 echo "$ac_var='\''$ac_val'\''"
1672 if test -s confdefs.h; then
1682 test "$ac_signal" != 0 &&
1683 echo "$as_me: caught signal $ac_signal"
1684 echo "$as_me: exit $exit_status"
1686 rm -f core *.core core.conftest.* &&
1687 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1690 for ac_signal
in 1 2 13 15; do
1691 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1695 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1696 rm -f -r conftest
* confdefs.h
1698 # Predefined preprocessor variables.
1700 cat >>confdefs.h
<<_ACEOF
1701 #define PACKAGE_NAME "$PACKAGE_NAME"
1705 cat >>confdefs.h
<<_ACEOF
1706 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1710 cat >>confdefs.h
<<_ACEOF
1711 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1715 cat >>confdefs.h
<<_ACEOF
1716 #define PACKAGE_STRING "$PACKAGE_STRING"
1720 cat >>confdefs.h
<<_ACEOF
1721 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1725 # Let the site file select an alternate cache file if it wants to.
1726 # Prefer explicitly selected file to automatically selected ones.
1727 if test -n "$CONFIG_SITE"; then
1728 set x
"$CONFIG_SITE"
1729 elif test "x$prefix" != xNONE
; then
1730 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1732 set x
"$ac_default_prefix/share/config.site" \
1733 "$ac_default_prefix/etc/config.site"
1738 if test -r "$ac_site_file"; then
1739 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1740 echo "$as_me: loading site script $ac_site_file" >&6;}
1741 sed 's/^/| /' "$ac_site_file" >&5
1746 if test -r "$cache_file"; then
1747 # Some versions of bash will fail to source /dev/null (special
1748 # files actually), so we avoid doing that.
1749 if test -f "$cache_file"; then
1750 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1751 echo "$as_me: loading cache $cache_file" >&6;}
1753 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1754 *) .
"./$cache_file";;
1758 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1759 echo "$as_me: creating cache $cache_file" >&6;}
1763 # Check that the precious variables saved in the cache have kept the same
1765 ac_cache_corrupted
=false
1766 for ac_var
in $ac_precious_vars; do
1767 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1768 eval ac_new_set
=\
$ac_env_${ac_var}_set
1769 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1770 eval ac_new_val
=\
$ac_env_${ac_var}_value
1771 case $ac_old_set,$ac_new_set in
1773 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1774 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1775 ac_cache_corrupted
=: ;;
1777 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1778 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1779 ac_cache_corrupted
=: ;;
1782 if test "x$ac_old_val" != "x$ac_new_val"; then
1783 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1784 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1785 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1786 echo "$as_me: former value: $ac_old_val" >&2;}
1787 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1788 echo "$as_me: current value: $ac_new_val" >&2;}
1789 ac_cache_corrupted
=:
1792 # Pass precious variables to config.status.
1793 if test "$ac_new_set" = set; then
1795 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1796 *) ac_arg
=$ac_var=$ac_new_val ;;
1798 case " $ac_configure_args " in
1799 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1800 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1804 if $ac_cache_corrupted; then
1805 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1806 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1807 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1808 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1809 { (exit 1); exit 1; }; }
1837 ac_cpp
='$CPP $CPPFLAGS'
1838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1844 ac_config_headers
="$ac_config_headers config.h"
1847 for ac_dir
in scripts
"$srcdir"/scripts
; do
1848 if test -f "$ac_dir/install-sh"; then
1850 ac_install_sh
="$ac_aux_dir/install-sh -c"
1852 elif test -f "$ac_dir/install.sh"; then
1854 ac_install_sh
="$ac_aux_dir/install.sh -c"
1856 elif test -f "$ac_dir/shtool"; then
1858 ac_install_sh
="$ac_aux_dir/shtool install -c"
1862 if test -z "$ac_aux_dir"; then
1863 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
1864 echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
1865 { (exit 1); exit 1; }; }
1868 # These three variables are undocumented and unsupported,
1869 # and are intended to be withdrawn in a future Autoconf release.
1870 # They can cause serious problems if a builder's source tree is in a directory
1871 # whose full name contains unusual characters.
1872 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1873 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1874 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1878 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
1879 { { echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
1880 echo "$as_me: error: you must configure in a separate build directory" >&2;}
1881 { (exit 1); exit 1; }; }
1884 # This will get text that should go into config.make.
1887 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
1889 # Check whether --with-gd was given.
1890 if test "${with_gd+set}" = set; then
1891 withval
=$with_gd; case "$with_gd" in
1893 *) libgd_include
="-I$withval/include"
1894 libgd_ldflags
="-L$withval/lib" ;;
1900 # Check whether --with-gd-include was given.
1901 if test "${with_gd_include+set}" = set; then
1902 withval
=$with_gd_include; case "$with_gd_include" in
1904 *) libgd_include
="-I$withval" ;;
1910 # Check whether --with-gd-lib was given.
1911 if test "${with_gd_lib+set}" = set; then
1912 withval
=$with_gd_lib; case "$with_gd_lib" in
1914 *) libgd_ldflags
="-L$withval" ;;
1920 if test -n "$libgd_include"; then
1921 config_vars
="$config_vars
1922 CFLAGS-memusagestat.c = $libgd_include"
1924 if test -n "$libgd_ldflags"; then
1925 config_vars
="$config_vars
1926 libgd-LDFLAGS = $libgd_ldflags"
1930 # Check whether --with-fp was given.
1931 if test "${with_fp+set}" = set; then
1932 withval
=$with_fp; with_fp
=$withval
1939 # Check whether --with-binutils was given.
1940 if test "${with_binutils+set}" = set; then
1941 withval
=$with_binutils; path_binutils
=$withval
1947 # Check whether --with-elf was given.
1948 if test "${with_elf+set}" = set; then
1949 withval
=$with_elf; elf
=$withval
1955 # Check whether --with-selinux was given.
1956 if test "${with_selinux+set}" = set; then
1957 withval
=$with_selinux; with_selinux
=$withval
1963 # Check whether --with-xcoff was given.
1964 if test "${with_xcoff+set}" = set; then
1965 withval
=$with_xcoff; xcoff
=$withval
1971 # Check whether --with-cvs was given.
1972 if test "${with_cvs+set}" = set; then
1973 withval
=$with_cvs; with_cvs
=$withval
1978 if test "$with_cvs" = yes; then
1979 if test -d $srcdir/CVS
&& grep :pserver
: $srcdir/CVS
/Root
> /dev
/null
1987 # Check whether --with-headers was given.
1988 if test "${with_headers+set}" = set; then
1989 withval
=$with_headers; sysheaders
=$withval
1995 # Check whether --enable-sanity-checks was given.
1996 if test "${enable_sanity_checks+set}" = set; then
1997 enableval
=$enable_sanity_checks; enable_sanity
=$enableval
2004 # Check whether --enable-check-abi was given.
2005 if test "${enable_check_abi+set}" = set; then
2006 enableval
=$enable_check_abi; enable_check_abi
=$enableval
2013 # Check whether --enable-shared was given.
2014 if test "${enable_shared+set}" = set; then
2015 enableval
=$enable_shared; shared
=$enableval
2020 # Check whether --enable-profile was given.
2021 if test "${enable_profile+set}" = set; then
2022 enableval
=$enable_profile; profile
=$enableval
2027 # Check whether --enable-omitfp was given.
2028 if test "${enable_omitfp+set}" = set; then
2029 enableval
=$enable_omitfp; omitfp
=$enableval
2034 # Check whether --enable-bounded was given.
2035 if test "${enable_bounded+set}" = set; then
2036 enableval
=$enable_bounded; bounded
=$enableval
2041 # Check whether --enable-versioning was given.
2042 if test "${enable_versioning+set}" = set; then
2043 enableval
=$enable_versioning; enable_versioning
=$enableval
2045 enable_versioning
=yes
2049 # Check whether --enable-oldest-abi was given.
2050 if test "${enable_oldest_abi+set}" = set; then
2051 enableval
=$enable_oldest_abi; oldest_abi
=$enableval
2056 if test "$oldest_abi" = yes ||
test "$oldest_abi" = no
; then
2059 cat >>confdefs.h
<<_ACEOF
2060 #define GLIBC_OLDEST_ABI "$oldest_abi"
2066 # Check whether --enable-stackguard-randomization was given.
2067 if test "${enable_stackguard_randomization+set}" = set; then
2068 enableval
=$enable_stackguard_randomization; enable_stackguard_randomize
=$enableval
2070 enable_stackguard_randomize
=no
2073 if test "$enable_stackguard_randomize" = yes; then
2074 cat >>confdefs.h
<<\_ACEOF
2075 #define ENABLE_STACKGUARD_RANDOMIZE 1
2080 # Check whether --enable-add-ons was given.
2081 if test "${enable_add_ons+set}" = set; then
2082 enableval
=$enable_add_ons;
2089 # Check whether --with-tls was given.
2090 if test "${with_tls+set}" = set; then
2091 withval
=$with_tls; usetls
=$withval
2098 # Check whether --with-__thread was given.
2099 if test "${with___thread+set}" = set; then
2100 withval
=$with___thread; use__thread
=$withval
2106 # Check whether --enable-hidden-plt was given.
2107 if test "${enable_hidden_plt+set}" = set; then
2108 enableval
=$enable_hidden_plt; hidden
=$enableval
2113 if test "x$hidden" = xno
; then
2114 cat >>confdefs.h
<<\_ACEOF
2120 # Check whether --enable-bind-now was given.
2121 if test "${enable_bind_now+set}" = set; then
2122 enableval
=$enable_bind_now; bindnow
=$enableval
2129 # Check whether --enable-static-nss was given.
2130 if test "${enable_static_nss+set}" = set; then
2131 enableval
=$enable_static_nss; static_nss
=$enableval
2136 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
2138 cat >>confdefs.h
<<\_ACEOF
2139 #define DO_STATIC_NSS 1
2144 # Check whether --enable-force-install was given.
2145 if test "${enable_force_install+set}" = set; then
2146 enableval
=$enable_force_install; force_install
=$enableval
2153 # Check whether --enable-kernel was given.
2154 if test "${enable_kernel+set}" = set; then
2155 enableval
=$enable_kernel; minimum_kernel
=$enableval
2158 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
2159 # Better nothing than this.
2162 if test "$minimum_kernel" = current
; then
2163 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
2167 # Check whether --enable-all-warnings was given.
2168 if test "${enable_all_warnings+set}" = set; then
2169 enableval
=$enable_all_warnings; all_warnings
=$enableval
2174 # Make sure we can run config.sub.
2175 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2176 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2177 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2178 { (exit 1); exit 1; }; }
2180 { echo "$as_me:$LINENO: checking build system type" >&5
2181 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2182 if test "${ac_cv_build+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 ac_build_alias
=$build_alias
2186 test "x$ac_build_alias" = x
&&
2187 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2188 test "x$ac_build_alias" = x
&&
2189 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2190 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2191 { (exit 1); exit 1; }; }
2192 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2193 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2194 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2195 { (exit 1); exit 1; }; }
2198 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2199 echo "${ECHO_T}$ac_cv_build" >&6; }
2200 case $ac_cv_build in
2202 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2203 echo "$as_me: error: invalid value of canonical build" >&2;}
2204 { (exit 1); exit 1; }; };;
2207 ac_save_IFS
=$IFS; IFS
='-'
2213 # Remember, the first character of IFS is used to create $*,
2214 # except with old shells:
2217 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2220 { echo "$as_me:$LINENO: checking host system type" >&5
2221 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2222 if test "${ac_cv_host+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test "x$host_alias" = x
; then
2226 ac_cv_host
=$ac_cv_build
2228 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2229 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2230 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2231 { (exit 1); exit 1; }; }
2235 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2236 echo "${ECHO_T}$ac_cv_host" >&6; }
2239 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2240 echo "$as_me: error: invalid value of canonical host" >&2;}
2241 { (exit 1); exit 1; }; };;
2244 ac_save_IFS
=$IFS; IFS
='-'
2250 # Remember, the first character of IFS is used to create $*,
2251 # except with old shells:
2254 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2258 # The way shlib-versions is used to generate soversions.mk uses a
2259 # fairly simplistic model for name recognition that can't distinguish
2260 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
2261 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
2262 # tell. This doesn't get used much beyond that, so it's fairly safe.
2267 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
2271 # We keep the original values in `$config_*' and never modify them, so we
2272 # can write them unchanged into config.make. Everything else uses
2273 # $machine, $vendor, and $os, and changes them whenever convenient.
2274 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
2276 # Don't allow vendor == "unknown"
2277 test "$config_vendor" = unknown
&& config_vendor
=
2278 config_os
="`echo $config_os | sed 's/^unknown-//'`"
2280 # Some configurations imply other options.
2282 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
2283 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
2285 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
2286 # These systems (almost) always use the ELF format.
2290 # These systems are always xcoff
2296 # The configure fragment of an add-on port can modify these to supplement
2297 # or override the table in the case statement below. No fragment should
2298 # ever change the config_* variables, however.
2299 machine
=$config_machine
2300 vendor
=$config_vendor
2304 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
2306 if test "$machine" = rs6000
; then
2310 # Braindead PowerPC box with absolutely no FPU.
2311 case "$machine-$host_os" in
2319 # Check whether --with-cpu was given.
2320 if test "${with_cpu+set}" = set; then
2321 withval
=$with_cpu; case "$withval" in
2322 yes|
'') { { echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
2323 echo "$as_me: error: --with-cpu requires an argument" >&2;}
2324 { (exit 1); exit 1; }; } ;;
2326 *) submachine
="$withval" ;;
2333 # An add-on can set this when it wants to disable the sanity check below.
2339 case "$enable_add_ons" in
2342 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
2343 sed 's@/[^/]*$@@' | sort | uniq`
2344 add_ons_automatic
=yes
2346 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
2347 add_ons_automatic
=no
;;
2353 if test x
"$add_ons" != x
; then
2354 for f
in $add_ons; do
2355 # Some sanity checks
2358 { { echo "$as_me:$LINENO: error:
2359 *** It seems that you're using an old \`crypt' add-on. crypt is now
2360 *** part of glibc and using the old add-on will not work with this
2361 *** release. Start again with fresh sources and without the old
2362 *** \`crypt' add-on." >&5
2363 echo "$as_me: error:
2364 *** It seems that you're using an old \`crypt' add-on. crypt is now
2365 *** part of glibc and using the old add-on will not work with this
2366 *** release. Start again with fresh sources and without the old
2367 *** \`crypt' add-on." >&2;}
2368 { (exit 1); exit 1; }; }
2371 { { echo "$as_me:$LINENO: error:
2372 *** It seems that you're using an old \`localedata' add-on. localedata
2373 *** is now part of glibc and using the old add-on will not work with
2374 *** this release. Start again with fresh sources and without the old
2375 *** \`localedata' add-on." >&5
2376 echo "$as_me: error:
2377 *** It seems that you're using an old \`localedata' add-on. localedata
2378 *** is now part of glibc and using the old add-on will not work with
2379 *** this release. Start again with fresh sources and without the old
2380 *** \`localedata' add-on." >&2;}
2381 { (exit 1); exit 1; }; }
2386 # Now source each add-on's configure fragment.
2387 # The fragments can use $srcdir/$libc_add_on to find themselves,
2388 # and test $add_ons_automatic to see if they were explicitly requested.
2389 # A fragment can clear (or even change) $libc_add_on to affect
2390 # whether it goes into the list to be actually used in the build.
2392 for libc_add_on
in $add_ons; do
2393 # Test whether such a directory really exists.
2394 # It can be absolute, or relative to $srcdir, or relative to the build dir.
2395 case "$libc_add_on" in
2397 libc_add_on_srcdir
=$libc_add_on
2400 test -d "$srcdir/$libc_add_on" ||
{
2401 if test -d "$libc_add_on"; then
2402 libc_add_on
="`pwd`/$libc_add_on"
2404 { { echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
2405 echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
2406 { (exit 1); exit 1; }; }
2409 libc_add_on_srcdir
=$srcdir/$libc_add_on
2413 libc_add_on_frag
=$libc_add_on_srcdir/configure
2414 libc_add_on_canonical
=
2415 if test -r "$libc_add_on_frag"; then
2416 { echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
2417 echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
2418 libc_add_on_canonical
=unknown
2419 libc_add_on_subdirs
=
2420 .
"$libc_add_on_frag"
2421 test -z "$libc_add_on" ||
{
2422 configured_add_ons
="$configured_add_ons $libc_add_on"
2423 if test "x$libc_add_on_canonical" = xunknown
; then
2424 { { echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
2425 echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
2426 { (exit 1); exit 1; }; }
2428 for d
in $libc_add_on_subdirs; do
2429 case "$libc_add_on" in
2430 /*) subdir_srcdir
="$libc_add_on" ;;
2431 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
2435 d
="${libc_add_on_canonical:-$libc_add_on}"
2441 subdir_srcdir
="$subdir_srcdir/$d"
2444 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
2445 add_on_subdirs
="$add_on_subdirs $d"
2446 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
2447 $d-srcdir = $subdir_srcdir"
2451 if test -n "$libc_add_on"; then
2452 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
2454 { echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
2455 echo $ECHO_N "checking add-on $libc_add_on for preconfigure fragments... $ECHO_C" >&6; }
2456 for frag
in $frags; do
2457 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
2458 echo $ECHO_N "$name $ECHO_C" >&6
2461 { echo "$as_me:$LINENO: result: " >&5
2462 echo "${ECHO_T}" >&6; }
2464 use_add_ons
="$use_add_ons $libc_add_on"
2465 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
2466 test -z "$libc_add_on_canonical" ||
2467 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
2470 # Use echo to strip excess whitespace.
2471 add_ons
="`echo $use_add_ons`"
2478 ### I put this here to prevent those annoying emails from people who cannot
2479 ### read and try to compile glibc on unsupported platforms. --drepper
2481 ### By using the undocumented --enable-hacker-mode option for configure
2482 ### one can skip this test to make the configuration not fail for unsupported
2485 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
2486 case "$machine-$host_os" in
2487 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
2490 echo "*** The GNU C library is currently not available for this platform."
2491 echo "*** So far nobody cared to port it and if there is no volunteer it"
2492 echo "*** might never happen. So, if you have interest to see glibc on"
2493 echo "*** this platform visit"
2494 echo "*** http://www.gnu.org/software/libc/porting.html"
2495 echo "*** and join the group of porters"
2501 # Expand the configuration machine name into a subdirectory by architecture
2502 # type and particular chip. If an add-on configure fragment already set
2503 # base_machine, we don't change it.
2504 test -n "$base_machine" ||
case "$machine" in
2505 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
2506 alpha
*) base_machine
=alpha machine
=alpha
/$machine ;;
2507 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
2508 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
2509 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
2510 ia64
) base_machine
=ia64 machine
=ia64
;;
2511 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
2512 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
2513 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
2514 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
2515 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
2516 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
2517 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
2518 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
2520 base_machine
=sparc machine
=sparc
/sparc32
;;
2521 sparcv8 | supersparc | hypersparc
)
2522 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
2523 sparcv8plus | sparcv8plusa | sparcv9
)
2524 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
2525 sparcv8plusb | sparcv9b
)
2526 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
2528 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
2530 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
2532 base_machine
=sparc machine
=sparc
/sparc64
;;
2534 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
2536 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
2538 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
2539 *) base_machine
=$machine ;;
2543 if test "$base_machine" = "i386"; then
2544 cat >>confdefs.h
<<\_ACEOF
2545 #define USE_REGPARMS 1
2550 # Compute the list of sysdep directories for this configuration.
2551 # This can take a while to compute.
2552 sysdep_dir
=$srcdir/sysdeps
2553 { echo "$as_me:$LINENO: checking sysdep dirs" >&5
2554 echo $ECHO_N "checking sysdep dirs... $ECHO_C" >&6; }
2555 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
2556 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
2558 test "x$base_os" != x ||
case "$os" in
2560 base_os
=mach
/hurd
;;
2561 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
2562 base_os
=unix
/bsd
/bsd4.4
;;
2563 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
2565 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
2566 base_os
=unix
/sysv
;;
2568 base_os
=unix
/sysv
/irix
6/$os ;;
2570 base_os
=unix
/sysv
/sysv4
;;
2572 base_os
=unix
/sysv
/hpux
/$os ;;
2574 base_os
=unix
/sysv
/aix
/aix4.3
;;
2576 base_os
=standalone
;;
2579 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
2582 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
2586 o
=`echo $tail | sed 's/[0-9]*$//'`
2587 if test $o != $tail; then
2590 # For linux-gnu, try linux-gnu, then linux.
2591 o
=`echo $tail | sed 's/-.*$//'`
2592 if test $o != $tail; then
2596 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
2599 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
2605 # For sparc/sparc32, try sparc/sparc32 and then sparc.
2607 tail=$machine${submachine:+/$submachine}
2608 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
2610 # Prepend the machine's FPU directory unless --without-fp.
2611 if test "$with_fp" = yes; then
2612 mach
="$mach /$1/fpu"
2614 mach
="$mach /$1/nofpu"
2621 # Find what sysdep directories exist.
2624 for b
in $base ''; do
2625 for m0
in $mach ''; do
2626 for v
in /$vendor ''; do
2627 test "$v" = / && continue
2628 for o
in /$ostry ''; do
2629 test "$o" = / && continue
2630 for m
in $mach ''; do
2631 for d
in $add_ons_pfx ''; do
2632 for a
in $add_ons_sfx ''; do
2633 if test -n "$m0$m0sub$b$v$o$m$msub"; then
2634 try_srcdir
="${srcdir}/"
2638 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
2639 test -n "$enable_debug_configure" &&
2640 echo "$0 DEBUG: try $try" >&2
2641 if test -d "$try_srcdir$try"; then
2642 sysnames
="$sysnames $try"
2643 { test -n "$o" ||
test -n "$b"; } && os_used
=t
2644 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
2646 x
*/$submachine) submachine_used
=t
;;
2648 if test -n "$d"; then
2649 case "$sysnames_add_ons" in
2651 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
2664 if test -z "$os_used" && test "$os" != none
; then
2665 { { echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
2666 echo "$as_me: error: Operating system $os is not supported." >&2;}
2667 { (exit 1); exit 1; }; }
2669 if test -z "$machine_used" && test "$machine" != none
; then
2670 { { echo "$as_me:$LINENO: error: The $machine is not supported." >&5
2671 echo "$as_me: error: The $machine is not supported." >&2;}
2672 { (exit 1); exit 1; }; }
2674 if test -z "$submachine_used" && test -n "$submachine"; then
2675 { { echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
2676 echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
2677 { (exit 1); exit 1; }; }
2681 # We have now validated the configuration.
2684 # If using ELF, look for an `elf' subdirectory of each machine directory.
2685 # We prepend these rather than inserting them whereever the machine appears
2686 # because things specified by the machine's ELF ABI should override
2687 # OS-specific things, and should always be the same for any OS on the
2688 # machine (otherwise what's the point of an ABI?).
2689 if test "$elf" = yes; then
2691 for d
in $add_ons_pfx ''; do
2693 if test -d $srcdir/${d}sysdeps
$m/elf
; then
2694 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
2698 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
2702 # Expand the list of system names into a full list of directories
2703 # from each element's parent name and Implies file (if present).
2706 while test $# -gt 0; do
2710 case " $names " in *" $name "*)
2711 # Already in the list.
2715 # Report each name as we discover it, so there is no long pause in output.
2716 echo $ECHO_N "$name $ECHO_C" >&6
2718 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
2722 *) xsrcdir
=$srcdir/ ;;
2724 test -n "$enable_debug_configure" &&
2725 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
2727 if test -f $xsrcdir$name/Implies
; then
2728 # Collect more names from the `Implies' file (removing comments).
2729 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
2731 for x
in $implied_candidate; do
2733 if test -d $xsrcdir$name_base/$x; then
2734 implied
="$implied $name_base/$x";
2737 for d
in $add_ons_pfx ''; do
2738 try
="${d}sysdeps/$x"
2741 *) try_srcdir
=$srcdir/ ;;
2743 test -n "$enable_debug_configure" &&
2744 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
2745 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
2747 implied
="$implied $try"
2749 case "$sysnames_add_ons" in
2751 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
2755 if test $found = no
; then
2756 { echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
2757 echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
2764 # Add NAME to the list of names.
2765 names
="$names $name"
2767 # Find the parent of NAME, using the empty string if it has none.
2768 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
2770 # Add the names implied by NAME, and NAME's parent (if it has one), to
2771 # the list of names to be processed (the argument list). We prepend the
2772 # implied names to the list and append the parent. We want implied
2773 # directories to come before further directories inferred from the
2774 # configuration components; this ensures that for sysv4, unix/common
2775 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
2777 sysnames
="`echo $implied $* $parent`"
2778 test -n "$sysnames" && set $sysnames
2781 # Add the default directories.
2782 default_sysnames
=sysdeps
/generic
2783 if test "$elf" = yes; then
2784 default_sysnames
="sysdeps/generic/elf $default_sysnames"
2786 sysnames
="$names $default_sysnames"
2788 # The other names were emitted during the scan.
2789 { echo "$as_me:$LINENO: result: $default_sysnames" >&5
2790 echo "${ECHO_T}$default_sysnames" >&6; }
2792 # Collect the list of add-ons that supply partial sysdeps trees.
2794 for add_on
in $add_ons; do
2797 *) xsrcdir
="$srcdir/" ;;
2800 test -d "$xsrcdir$add_on/sysdeps" ||
{
2801 case "$configured_add_ons " in
2804 { { echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
2805 echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
2806 { (exit 1); exit 1; }; }
2812 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
2813 case "$sysnames_add_ons" in
2816 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
2817 echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
2822 for d
in $sysnames; do
2824 $add_on/sysdeps
/*) ;;
2827 (cd "$xsrcdir$d" && for f
in *[!~
]; do
2830 for ff
in $f/*.h
; do
2831 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
2835 test -d "$f" ||
{ test -e "$f" && exit 88; }
2839 if test $?
-eq 88; then
2844 if test $found = no
; then
2845 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
2846 echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
2854 # Find a good install program. We prefer a C program (faster),
2855 # so one script is as good as another. But avoid the broken or
2856 # incompatible versions:
2857 # SysV /etc/install, /usr/sbin/install
2858 # SunOS /usr/etc/install
2859 # IRIX /sbin/install
2861 # AmigaOS /C/install, which installs bootblocks on floppy discs
2862 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2863 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2864 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2865 # OS/2's system install, which has a completely different semantic
2866 # ./install, which can be erroneously created by make from ./install.sh.
2867 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2868 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2869 if test -z "$INSTALL"; then
2870 if test "${ac_cv_path_install+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir
=.
2878 # Account for people who put trailing slashes in PATH elements.
2880 .
/ | .
// |
/cC
/* | \
2881 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2882 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2885 # OSF1 and SCO ODT 3.0 have their own names for install.
2886 # Don't use installbsd from OSF since it installs stuff as root
2888 for ac_prog
in ginstall scoinst
install; do
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2891 if test $ac_prog = install &&
2892 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2893 # AIX install. It has an incompatible calling convention.
2895 elif test $ac_prog = install &&
2896 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2897 # program-specific install script used by HP pwplus--don't use.
2900 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2913 if test "${ac_cv_path_install+set}" = set; then
2914 INSTALL
=$ac_cv_path_install
2916 # As a last resort, use the slow shell script. Don't cache a
2917 # value for INSTALL within a source directory, because that will
2918 # break other packages using the cache if that directory is
2919 # removed, or if the value is a relative name.
2920 INSTALL
=$ac_install_sh
2923 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2924 echo "${ECHO_T}$INSTALL" >&6; }
2926 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2927 # It thinks the first close brace ends the variable substitution.
2928 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2930 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2932 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2934 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
2935 # The makefiles need to use a different form to find it in $srcdir.
2936 INSTALL
='\$(..)./scripts/install-sh -c'
2938 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2939 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2941 if test "$LN_S" = "ln -s"; then
2942 { echo "$as_me:$LINENO: result: yes" >&5
2943 echo "${ECHO_T}yes" >&6; }
2945 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2946 echo "${ECHO_T}no, using $LN_S" >&6; }
2951 ac_cpp
='$CPP $CPPFLAGS'
2952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2955 if test -n "$ac_tool_prefix"; then
2956 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2957 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2960 if test "${ac_cv_prog_CC+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 if test -n "$CC"; then
2964 ac_cv_prog_CC
="$CC" # Let the user override the test.
2966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir
=.
2971 for ac_exec_ext
in '' $ac_executable_extensions; do
2972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2973 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 if test -n "$CC"; then
2985 { echo "$as_me:$LINENO: result: $CC" >&5
2986 echo "${ECHO_T}$CC" >&6; }
2988 { echo "$as_me:$LINENO: result: no" >&5
2989 echo "${ECHO_T}no" >&6; }
2994 if test -z "$ac_cv_prog_CC"; then
2996 # Extract the first word of "gcc", so it can be a program name with args.
2997 set dummy gcc
; ac_word
=$2
2998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3000 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3001 echo $ECHO_N "(cached) $ECHO_C" >&6
3003 if test -n "$ac_ct_CC"; then
3004 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3010 test -z "$as_dir" && as_dir
=.
3011 for ac_exec_ext
in '' $ac_executable_extensions; do
3012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013 ac_cv_prog_ac_ct_CC
="gcc"
3014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3024 if test -n "$ac_ct_CC"; then
3025 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3026 echo "${ECHO_T}$ac_ct_CC" >&6; }
3028 { echo "$as_me:$LINENO: result: no" >&5
3029 echo "${ECHO_T}no" >&6; }
3032 if test "x$ac_ct_CC" = x
; then
3035 case $cross_compiling:$ac_tool_warned in
3037 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3038 whose name does not start with the host triplet. If you think this
3039 configuration is useful to you, please write to autoconf@gnu.org." >&5
3040 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3041 whose name does not start with the host triplet. If you think this
3042 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3043 ac_tool_warned
=yes ;;
3051 if test -z "$CC"; then
3052 if test -n "$ac_tool_prefix"; then
3053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3054 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3057 if test "${ac_cv_prog_CC+set}" = set; then
3058 echo $ECHO_N "(cached) $ECHO_C" >&6
3060 if test -n "$CC"; then
3061 ac_cv_prog_CC
="$CC" # Let the user override the test.
3063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3067 test -z "$as_dir" && as_dir
=.
3068 for ac_exec_ext
in '' $ac_executable_extensions; do
3069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 if test -n "$CC"; then
3082 { echo "$as_me:$LINENO: result: $CC" >&5
3083 echo "${ECHO_T}$CC" >&6; }
3085 { echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6; }
3092 if test -z "$CC"; then
3093 # Extract the first word of "cc", so it can be a program name with args.
3094 set dummy cc
; ac_word
=$2
3095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3097 if test "${ac_cv_prog_CC+set}" = set; then
3098 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC
="$CC" # Let the user override the test.
3104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir
=.
3109 for ac_exec_ext
in '' $ac_executable_extensions; do
3110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3112 ac_prog_rejected
=yes
3116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test $ac_prog_rejected = yes; then
3124 # We found a bogon in the path, so make sure we never use it.
3125 set dummy
$ac_cv_prog_CC
3127 if test $# != 0; then
3128 # We chose a different compiler from the bogus one.
3129 # However, it has the same basename, so the bogon will be chosen
3130 # first if we set CC to just the basename; use the full file name.
3132 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3138 if test -n "$CC"; then
3139 { echo "$as_me:$LINENO: result: $CC" >&5
3140 echo "${ECHO_T}$CC" >&6; }
3142 { echo "$as_me:$LINENO: result: no" >&5
3143 echo "${ECHO_T}no" >&6; }
3148 if test -z "$CC"; then
3149 if test -n "$ac_tool_prefix"; then
3150 for ac_prog
in cl.exe
3152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3153 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3156 if test "${ac_cv_prog_CC+set}" = set; then
3157 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 if test -n "$CC"; then
3160 ac_cv_prog_CC
="$CC" # Let the user override the test.
3162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir
=.
3167 for ac_exec_ext
in '' $ac_executable_extensions; do
3168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3169 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 if test -n "$CC"; then
3181 { echo "$as_me:$LINENO: result: $CC" >&5
3182 echo "${ECHO_T}$CC" >&6; }
3184 { echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6; }
3189 test -n "$CC" && break
3192 if test -z "$CC"; then
3194 for ac_prog
in cl.exe
3196 # Extract the first word of "$ac_prog", so it can be a program name with args.
3197 set dummy
$ac_prog; ac_word
=$2
3198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3200 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 if test -n "$ac_ct_CC"; then
3204 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_ac_ct_CC
="$ac_prog"
3214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3224 if test -n "$ac_ct_CC"; then
3225 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3226 echo "${ECHO_T}$ac_ct_CC" >&6; }
3228 { echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6; }
3233 test -n "$ac_ct_CC" && break
3236 if test "x$ac_ct_CC" = x
; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3242 whose name does not start with the host triplet. If you think this
3243 configuration is useful to you, please write to autoconf@gnu.org." >&5
3244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3245 whose name does not start with the host triplet. If you think this
3246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3247 ac_tool_warned
=yes ;;
3256 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3257 See \`config.log' for more details." >&5
3258 echo "$as_me: error: no acceptable C compiler found in \$PATH
3259 See \`config.log' for more details." >&2;}
3260 { (exit 1); exit 1; }; }
3262 # Provide some information about the compiler.
3263 echo "$as_me:$LINENO: checking for C compiler version" >&5
3264 ac_compiler
=`set X $ac_compile; echo $2`
3265 { (ac_try
="$ac_compiler --version >&5"
3267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_compiler --version >&5") 2>&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }
3275 { (ac_try="$ac_compiler -v >&5"
3277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3278 *) ac_try_echo
=$ac_try;;
3280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_compiler -v >&5") 2>&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }
3285 { (ac_try
="$ac_compiler -V >&5"
3287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3288 *) ac_try_echo=$ac_try;;
3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3291 (eval "$ac_compiler -V >&5") 2>&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }
3297 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3298 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3299 if test "${ac_cv_objext+set}" = set; then
3300 echo $ECHO_N "(cached) $ECHO_C" >&6
3302 cat >conftest.$ac_ext <<_ACEOF
3305 cat confdefs.h >>conftest.$ac_ext
3306 cat >>conftest.$ac_ext <<_ACEOF
3307 /* end confdefs.h. */
3317 rm -f conftest.o conftest.obj
3318 if { (ac_try="$ac_compile"
3320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3321 *) ac_try_echo
=$ac_try;;
3323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3324 (eval "$ac_compile") 2>&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; then
3328 for ac_file
in conftest.o conftest.obj conftest.
*; do
3329 test -f "$ac_file" ||
continue;
3331 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf
) ;;
3332 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3340 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3341 See \`config.log' for more details." >&5
3342 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3343 See \`config.log' for more details." >&2;}
3344 { (exit 1); exit 1; }; }
3347 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3349 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3350 echo "${ECHO_T}$ac_cv_objext" >&6; }
3351 OBJEXT
=$ac_cv_objext
3353 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3354 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3355 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 cat >conftest.
$ac_ext <<_ACEOF
3361 cat confdefs.h
>>conftest.
$ac_ext
3362 cat >>conftest.
$ac_ext <<_ACEOF
3363 /* end confdefs.h. */
3376 rm -f conftest.
$ac_objext
3377 if { (ac_try
="$ac_compile"
3379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383 (eval "$ac_compile") 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } && {
3390 test -z "$ac_c_werror_flag" ||
3391 test ! -s conftest.err
3392 } && test -s conftest.$ac_objext; then
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3405 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3406 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3407 GCC=`test $ac_compiler_gnu = yes && echo yes`
3408 ac_test_CFLAGS=${CFLAGS+set}
3409 ac_save_CFLAGS=$CFLAGS
3410 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3411 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3412 if test "${ac_cv_prog_cc_g+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 ac_save_c_werror_flag=$ac_c_werror_flag
3416 ac_c_werror_flag=yes
3419 cat >conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3434 rm -f conftest.$ac_objext
3435 if { (ac_try="$ac_compile"
3437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3438 *) ac_try_echo
=$ac_try;;
3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441 (eval "$ac_compile") 2>conftest.er1
3443 grep -v '^ *+' conftest.er1
>conftest.err
3445 cat conftest.err
>&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); } && {
3448 test -z "$ac_c_werror_flag" ||
3449 test ! -s conftest.err
3450 } && test -s conftest.
$ac_objext; then
3453 echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.
$ac_ext >&5
3457 cat >conftest.
$ac_ext <<_ACEOF
3460 cat confdefs.h
>>conftest.
$ac_ext
3461 cat >>conftest.
$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3472 rm -f conftest.
$ac_objext
3473 if { (ac_try
="$ac_compile"
3475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3479 (eval "$ac_compile") 2>conftest.er1
3481 grep -v '^ *+' conftest.er1 >conftest.err
3483 cat conftest.err >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); } && {
3486 test -z "$ac_c_werror_flag" ||
3487 test ! -s conftest.err
3488 } && test -s conftest.$ac_objext; then
3491 echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.$ac_ext >&5
3494 ac_c_werror_flag=$ac_save_c_werror_flag
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3511 rm -f conftest.$ac_objext
3512 if { (ac_try="$ac_compile"
3514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3515 *) ac_try_echo
=$ac_try;;
3517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3518 (eval "$ac_compile") 2>conftest.er1
3520 grep -v '^ *+' conftest.er1
>conftest.err
3522 cat conftest.err
>&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); } && {
3525 test -z "$ac_c_werror_flag" ||
3526 test ! -s conftest.err
3527 } && test -s conftest.
$ac_objext; then
3530 echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.
$ac_ext >&5
3536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3543 ac_c_werror_flag
=$ac_save_c_werror_flag
3545 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3546 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3547 if test "$ac_test_CFLAGS" = set; then
3548 CFLAGS
=$ac_save_CFLAGS
3549 elif test $ac_cv_prog_cc_g = yes; then
3550 if test "$GCC" = yes; then
3556 if test "$GCC" = yes; then
3562 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3563 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3564 if test "${ac_cv_prog_cc_c89+set}" = set; then
3565 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 ac_cv_prog_cc_c89
=no
3569 cat >conftest.
$ac_ext <<_ACEOF
3572 cat confdefs.h
>>conftest.
$ac_ext
3573 cat >>conftest.
$ac_ext <<_ACEOF
3574 /* end confdefs.h. */
3577 #include <sys/types.h>
3578 #include <sys/stat.h>
3579 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3580 struct buf { int x; };
3581 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3582 static char *e (p, i)
3588 static char *f (char * (*g) (char **, int), char **p, ...)
3593 s = g (p, va_arg (v,int));
3598 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3599 function prototypes and stuff, but not '\xHH' hex character constants.
3600 These don't provoke an error unfortunately, instead are silently treated
3601 as 'x'. The following induces an error, until -std is added to get
3602 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3603 array size at least. It's necessary to write '\x00'==0 to get something
3604 that's true only with -std. */
3605 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3607 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3608 inside strings and character constants. */
3610 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3612 int test (int i, double x);
3613 struct s1 {int (*f) (int a);};
3614 struct s2 {int (*f) (double a);};
3615 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3621 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3626 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3627 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3629 CC
="$ac_save_CC $ac_arg"
3630 rm -f conftest.
$ac_objext
3631 if { (ac_try
="$ac_compile"
3633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_compile") 2>conftest.er1
3639 grep -v '^ *+' conftest.er1 >conftest.err
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } && {
3644 test -z "$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3646 } && test -s conftest.$ac_objext; then
3647 ac_cv_prog_cc_c89=$ac_arg
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3655 rm -f core conftest.err conftest.$ac_objext
3656 test "x$ac_cv_prog_cc_c89" != "xno" && break
3658 rm -f conftest.$ac_ext
3663 case "x$ac_cv_prog_cc_c89" in
3665 { echo "$as_me:$LINENO: result: none needed" >&5
3666 echo "${ECHO_T}none needed" >&6; } ;;
3668 { echo "$as_me:$LINENO: result: unsupported" >&5
3669 echo "${ECHO_T}unsupported" >&6; } ;;
3671 CC="$CC $ac_cv_prog_cc_c89"
3672 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3673 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3678 ac_cpp='$CPP $CPPFLAGS'
3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 if test $host != $build; then
3684 for ac_prog in gcc cc
3686 # Extract the first word of "$ac_prog", so it can be a program name with args.
3687 set dummy $ac_prog; ac_word=$2
3688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3690 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 if test -n "$BUILD_CC"; then
3694 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir=.
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703 ac_cv_prog_BUILD_CC="$ac_prog"
3704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 BUILD_CC=$ac_cv_prog_BUILD_CC
3714 if test -n "$BUILD_CC"; then
3715 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
3716 echo "${ECHO_T}$BUILD_CC" >&6; }
3718 { echo "$as_me:$LINENO: result: no" >&5
3719 echo "${ECHO_T}no" >&6; }
3723 test -n "$BUILD_CC" && break
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3734 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3735 # On Suns, sometimes $CPP names a directory.
3736 if test -n "$CPP" && test -d "$CPP"; then
3739 if test -z "$CPP"; then
3740 if test "${ac_cv_prog_CPP+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 # Double quotes because CPP needs to be expanded
3744 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3747 for ac_c_preproc_warn_flag in '' yes
3749 # Use a header file that comes with gcc, so configuring glibc
3750 # with a fresh cross-compiler works.
3751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3752 # <limits.h> exists even on freestanding compilers.
3753 # On the NeXT, cc -E runs the code through the compiler's parser,
3754 # not just through cpp. "Syntax error" is here to catch this case.
3755 cat >conftest.$ac_ext <<_ACEOF
3758 cat confdefs.h >>conftest.$ac_ext
3759 cat >>conftest.$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3762 # include <limits.h>
3764 # include <assert.h>
3768 if { (ac_try="$ac_cpp conftest.$ac_ext"
3770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3771 *) ac_try_echo
=$ac_try;;
3773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3776 grep -v '^ *+' conftest.er1
>conftest.err
3778 cat conftest.err
>&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } >/dev
/null
&& {
3781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3782 test ! -s conftest.err
3786 echo "$as_me: failed program was:" >&5
3787 sed 's/^/| /' conftest.
$ac_ext >&5
3789 # Broken: fails on valid input.
3793 rm -f conftest.err conftest.
$ac_ext
3795 # OK, works on sane cases. Now check whether nonexistent headers
3796 # can be detected and how.
3797 cat >conftest.
$ac_ext <<_ACEOF
3800 cat confdefs.h
>>conftest.
$ac_ext
3801 cat >>conftest.
$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3803 #include <ac_nonexistent.h>
3805 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3808 *) ac_try_echo=$ac_try;;
3810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3811 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3813 grep -v '^ *+' conftest.er1 >conftest.err
3815 cat conftest.err >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); } >/dev/null && {
3818 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3819 test ! -s conftest.err
3821 # Broken: success on invalid input.
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.$ac_ext >&5
3827 # Passes both tests.
3832 rm -f conftest.err conftest.$ac_ext
3835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3836 rm -f conftest.err conftest.
$ac_ext
3837 if $ac_preproc_ok; then
3849 { echo "$as_me:$LINENO: result: $CPP" >&5
3850 echo "${ECHO_T}$CPP" >&6; }
3852 for ac_c_preproc_warn_flag
in '' yes
3854 # Use a header file that comes with gcc, so configuring glibc
3855 # with a fresh cross-compiler works.
3856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3857 # <limits.h> exists even on freestanding compilers.
3858 # On the NeXT, cc -E runs the code through the compiler's parser,
3859 # not just through cpp. "Syntax error" is here to catch this case.
3860 cat >conftest.
$ac_ext <<_ACEOF
3863 cat confdefs.h
>>conftest.
$ac_ext
3864 cat >>conftest.
$ac_ext <<_ACEOF
3865 /* end confdefs.h. */
3867 # include <limits.h>
3869 # include <assert.h>
3873 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3876 *) ac_try_echo=$ac_try;;
3878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3881 grep -v '^ *+' conftest.er1 >conftest.err
3883 cat conftest.err >&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } >/dev/null && {
3886 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3887 test ! -s conftest.err
3891 echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.$ac_ext >&5
3894 # Broken: fails on valid input.
3898 rm -f conftest.err conftest.$ac_ext
3900 # OK, works on sane cases. Now check whether nonexistent headers
3901 # can be detected and how.
3902 cat >conftest.$ac_ext <<_ACEOF
3905 cat confdefs.h >>conftest.$ac_ext
3906 cat >>conftest.$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3908 #include <ac_nonexistent.h>
3910 if { (ac_try="$ac_cpp conftest.$ac_ext"
3912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3913 *) ac_try_echo
=$ac_try;;
3915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3916 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3918 grep -v '^ *+' conftest.er1
>conftest.err
3920 cat conftest.err
>&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } >/dev
/null
&& {
3923 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3924 test ! -s conftest.err
3926 # Broken: success on invalid input.
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.
$ac_ext >&5
3932 # Passes both tests.
3937 rm -f conftest.err conftest.
$ac_ext
3940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3941 rm -f conftest.err conftest.
$ac_ext
3942 if $ac_preproc_ok; then
3945 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3946 See \`config.log' for more details." >&5
3947 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3948 See \`config.log' for more details." >&2;}
3949 { (exit 1); exit 1; }; }
3953 ac_cpp
='$CPP $CPPFLAGS'
3954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3958 # We need the C++ compiler only for testing.
3960 ac_cpp
='$CXXCPP $CPPFLAGS'
3961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3964 if test -z "$CXX"; then
3965 if test -n "$CCC"; then
3968 if test -n "$ac_tool_prefix"; then
3969 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3972 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3975 if test "${ac_cv_prog_CXX+set}" = set; then
3976 echo $ECHO_N "(cached) $ECHO_C" >&6
3978 if test -n "$CXX"; then
3979 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3985 test -z "$as_dir" && as_dir
=.
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3988 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 if test -n "$CXX"; then
4000 { echo "$as_me:$LINENO: result: $CXX" >&5
4001 echo "${ECHO_T}$CXX" >&6; }
4003 { echo "$as_me:$LINENO: result: no" >&5
4004 echo "${ECHO_T}no" >&6; }
4008 test -n "$CXX" && break
4011 if test -z "$CXX"; then
4013 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4015 # Extract the first word of "$ac_prog", so it can be a program name with args.
4016 set dummy
$ac_prog; ac_word
=$2
4017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4019 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 if test -n "$ac_ct_CXX"; then
4023 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4029 test -z "$as_dir" && as_dir
=.
4030 for ac_exec_ext
in '' $ac_executable_extensions; do
4031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4032 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4043 if test -n "$ac_ct_CXX"; then
4044 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4045 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4047 { echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6; }
4052 test -n "$ac_ct_CXX" && break
4055 if test "x$ac_ct_CXX" = x
; then
4058 case $cross_compiling:$ac_tool_warned in
4060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4061 whose name does not start with the host triplet. If you think this
4062 configuration is useful to you, please write to autoconf@gnu.org." >&5
4063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4064 whose name does not start with the host triplet. If you think this
4065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4066 ac_tool_warned
=yes ;;
4074 # Provide some information about the compiler.
4075 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4076 ac_compiler
=`set X $ac_compile; echo $2`
4077 { (ac_try
="$ac_compiler --version >&5"
4079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4083 (eval "$ac_compiler --version >&5") 2>&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }
4087 { (ac_try="$ac_compiler -v >&5"
4089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4090 *) ac_try_echo
=$ac_try;;
4092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4093 (eval "$ac_compiler -v >&5") 2>&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }
4097 { (ac_try
="$ac_compiler -V >&5"
4099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4103 (eval "$ac_compiler -V >&5") 2>&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); }
4108 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4109 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4110 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 cat >conftest.$ac_ext <<_ACEOF
4116 cat confdefs.h >>conftest.$ac_ext
4117 cat >>conftest.$ac_ext <<_ACEOF
4118 /* end confdefs.h. */
4131 rm -f conftest.$ac_objext
4132 if { (ac_try="$ac_compile"
4134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4135 *) ac_try_echo
=$ac_try;;
4137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4138 (eval "$ac_compile") 2>conftest.er1
4140 grep -v '^ *+' conftest.er1
>conftest.err
4142 cat conftest.err
>&5
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144 (exit $ac_status); } && {
4145 test -z "$ac_cxx_werror_flag" ||
4146 test ! -s conftest.err
4147 } && test -s conftest.
$ac_objext; then
4150 echo "$as_me: failed program was:" >&5
4151 sed 's/^/| /' conftest.
$ac_ext >&5
4156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4157 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4160 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4161 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4162 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4163 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4164 ac_save_CXXFLAGS
=$CXXFLAGS
4165 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4166 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4167 if test "${ac_cv_prog_cxx_g+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4171 ac_cxx_werror_flag
=yes
4174 cat >conftest.
$ac_ext <<_ACEOF
4177 cat confdefs.h
>>conftest.
$ac_ext
4178 cat >>conftest.
$ac_ext <<_ACEOF
4179 /* end confdefs.h. */
4189 rm -f conftest.
$ac_objext
4190 if { (ac_try
="$ac_compile"
4192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4196 (eval "$ac_compile") 2>conftest.er1
4198 grep -v '^ *+' conftest.er1 >conftest.err
4200 cat conftest.err >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } && {
4203 test -z "$ac_cxx_werror_flag" ||
4204 test ! -s conftest.err
4205 } && test -s conftest.$ac_objext; then
4206 ac_cv_prog_cxx_g=yes
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4212 cat >conftest.$ac_ext <<_ACEOF
4215 cat confdefs.h >>conftest.$ac_ext
4216 cat >>conftest.$ac_ext <<_ACEOF
4217 /* end confdefs.h. */
4227 rm -f conftest.$ac_objext
4228 if { (ac_try="$ac_compile"
4230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4231 *) ac_try_echo
=$ac_try;;
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_compile") 2>conftest.er1
4236 grep -v '^ *+' conftest.er1
>conftest.err
4238 cat conftest.err
>&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); } && {
4241 test -z "$ac_cxx_werror_flag" ||
4242 test ! -s conftest.err
4243 } && test -s conftest.
$ac_objext; then
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.
$ac_ext >&5
4249 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4251 cat >conftest.
$ac_ext <<_ACEOF
4254 cat confdefs.h
>>conftest.
$ac_ext
4255 cat >>conftest.
$ac_ext <<_ACEOF
4256 /* end confdefs.h. */
4266 rm -f conftest.
$ac_objext
4267 if { (ac_try
="$ac_compile"
4269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4270 *) ac_try_echo=$ac_try;;
4272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4273 (eval "$ac_compile") 2>conftest.er1
4275 grep -v '^ *+' conftest.er1 >conftest.err
4277 cat conftest.err >&5
4278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); } && {
4280 test -z "$ac_cxx_werror_flag" ||
4281 test ! -s conftest.err
4282 } && test -s conftest.$ac_objext; then
4283 ac_cv_prog_cxx_g=yes
4285 echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4300 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4301 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4302 if test "$ac_test_CXXFLAGS" = set; then
4303 CXXFLAGS=$ac_save_CXXFLAGS
4304 elif test $ac_cv_prog_cxx_g = yes; then
4305 if test "$GXX" = yes; then
4311 if test "$GXX" = yes; then
4318 ac_cpp='$CPP $CPPFLAGS'
4319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4323 # Was a --with-binutils option given?
4324 if test -n "$path_binutils"; then
4325 # Make absolute; ensure a single trailing slash.
4326 path_binutils=`(cd $path_binutils; pwd) |
sed 's%/*$%/%'`
4327 CC="$CC -B$path_binutils"
4329 AS=`$CC -print-prog-name=as
`
4330 LD=`$CC -print-prog-name=ld
`
4331 AR=`$CC -print-prog-name=ar`
4333 OBJDUMP=`$CC -print-prog-name=objdump
`
4336 # ranlib has to be treated a bit differently since it might not exist at all.
4337 ac_ranlib=`$CC -print-prog-name=ranlib
`
4338 if test "x$ac_ranlib" = xranlib; then
4339 # This extra check has to happen since gcc simply echos the parameter in
4340 # case it cannot find the value in its own directories.
4341 if test -n "$ac_tool_prefix"; then
4342 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4343 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4346 if test "${ac_cv_prog_RANLIB+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 if test -n "$RANLIB"; then
4350 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir=.
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4359 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 RANLIB=$ac_cv_prog_RANLIB
4370 if test -n "$RANLIB"; then
4371 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4372 echo "${ECHO_T}$RANLIB" >&6; }
4374 { echo "$as_me:$LINENO: result: no" >&5
4375 echo "${ECHO_T}no" >&6; }
4380 if test -z "$ac_cv_prog_RANLIB"; then
4381 ac_ct_RANLIB=$RANLIB
4382 # Extract the first word of "ranlib", so it can be a program name with args.
4383 set dummy ranlib; ac_word=$2
4384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4386 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 if test -n "$ac_ct_RANLIB"; then
4390 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir=.
4397 for ac_exec_ext in '' $ac_executable_extensions; do
4398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4399 ac_cv_prog_ac_ct_RANLIB="ranlib"
4400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4410 if test -n "$ac_ct_RANLIB"; then
4411 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4412 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4414 { echo "$as_me:$LINENO: result: no" >&5
4415 echo "${ECHO_T}no" >&6; }
4418 if test "x$ac_ct_RANLIB" = x; then
4421 case $cross_compiling:$ac_tool_warned in
4423 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4424 whose name does not start with the host triplet. If you think this
4425 configuration is useful to you, please write to autoconf@gnu.org." >&5
4426 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4427 whose name does not start with the host triplet. If you think this
4428 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4429 ac_tool_warned=yes ;;
4431 RANLIB=$ac_ct_RANLIB
4434 RANLIB="$ac_cv_prog_RANLIB"
4442 # Determine whether we are using GNU binutils.
4443 { echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4444 echo $ECHO_N "checking whether $AS is GNU as... $ECHO_C" >&6; }
4445 if test "${libc_cv_prog_as_gnu+set}" = set; then
4446 echo $ECHO_N "(cached) $ECHO_C" >&6
4448 # Most GNU programs take a -v and spit out some text including
4449 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4450 if $AS -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4451 libc_cv_prog_as_gnu=yes
4453 libc_cv_prog_as_gnu=no
4457 { echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4458 echo "${ECHO_T}$libc_cv_prog_as_gnu" >&6; }
4460 gnu_as=$libc_cv_prog_as_gnu
4462 { echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4463 echo $ECHO_N "checking whether $LD is GNU ld... $ECHO_C" >&6; }
4464 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 # Most GNU programs take a -v and spit out some text including
4468 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4469 if $LD -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4470 libc_cv_prog_ld_gnu=yes
4472 libc_cv_prog_ld_gnu=no
4476 { echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4477 echo "${ECHO_T}$libc_cv_prog_ld_gnu" >&6; }
4478 gnu_ld=$libc_cv_prog_ld_gnu
4481 # Accept binutils 2.13 or newer.
4484 # Extract the first word of "$ac_prog", so it can be a program name with args.
4485 set dummy $ac_prog; ac_word=$2
4486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4488 if test "${ac_cv_prog_AS+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 if test -n "$AS"; then
4492 ac_cv_prog_AS="$AS" # Let the user override the test.
4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4498 test -z "$as_dir" && as_dir=.
4499 for ac_exec_ext in '' $ac_executable_extensions; do
4500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4501 ac_cv_prog_AS="$ac_prog"
4502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 if test -n "$AS"; then
4513 { echo "$as_me:$LINENO: result: $AS" >&5
4514 echo "${ECHO_T}$AS" >&6; }
4516 { echo "$as_me:$LINENO: result: no" >&5
4517 echo "${ECHO_T}no" >&6; }
4521 test -n "$AS" && break
4524 if test -z "$AS"; then
4527 # Found it, now check the version.
4528 { echo "$as_me:$LINENO: checking version of $AS" >&5
4529 echo $ECHO_N "checking version of $AS... $ECHO_C" >&6; }
4530 ac_prog_version=`$AS --version 2>&1 |
sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4531 case $ac_prog_version in
4532 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4534 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4535 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4538 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4539 echo "${ECHO_T}$ac_prog_version" >&6; }
4541 if test $ac_verc_fail = yes; then
4542 AS=: critic_missing="$critic_missing as"
4547 # Extract the first word of "$ac_prog", so it can be a program name with args.
4548 set dummy $ac_prog; ac_word=$2
4549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4551 if test "${ac_cv_prog_LD+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 if test -n "$LD"; then
4555 ac_cv_prog_LD="$LD" # Let the user override the test.
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4564 ac_cv_prog_LD="$ac_prog"
4565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4575 if test -n "$LD"; then
4576 { echo "$as_me:$LINENO: result: $LD" >&5
4577 echo "${ECHO_T}$LD" >&6; }
4579 { echo "$as_me:$LINENO: result: no" >&5
4580 echo "${ECHO_T}no" >&6; }
4584 test -n "$LD" && break
4587 if test -z "$LD"; then
4590 # Found it, now check the version.
4591 { echo "$as_me:$LINENO: checking version of $LD" >&5
4592 echo $ECHO_N "checking version of $LD... $ECHO_C" >&6; }
4593 ac_prog_version=`$LD --version 2>&1 |
sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4594 case $ac_prog_version in
4595 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4597 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4598 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4601 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4602 echo "${ECHO_T}$ac_prog_version" >&6; }
4604 if test $ac_verc_fail = yes; then
4605 LD=: critic_missing="$critic_missing ld"
4609 # We need the physical current working directory. We cannot use the
4610 # "pwd -P" shell builtin since that's not portable. Instead we try to
4611 # find a pwd binary. Note that assigning to the PWD environment
4612 # variable might have some interesting side effects, so we don't do
4614 # Extract the first word of "pwd", so it can be a program name with args.
4615 set dummy pwd; ac_word=$2
4616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4618 if test "${ac_cv_path_PWD_P+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 ac_cv_path_PWD_P="$PWD_P" # Let the user override the test with a path.
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir=.
4631 for ac_exec_ext in '' $ac_executable_extensions; do
4632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4633 ac_cv_path_PWD_P="$as_dir/$ac_word$ac_exec_ext"
4634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P="no"
4645 PWD_P=$ac_cv_path_PWD_P
4646 if test -n "$PWD_P"; then
4647 { echo "$as_me:$LINENO: result: $PWD_P" >&5
4648 echo "${ECHO_T}$PWD_P" >&6; }
4650 { echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6; }
4655 if test "$PWD_P" = no; then
4656 { { echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4657 echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4658 { (exit 1); exit 1; }; }
4661 # These programs are version sensitive.
4663 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
4665 # Extract the first word of "$ac_prog", so it can be a program name with args.
4666 set dummy $ac_prog; ac_word=$2
4667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4669 if test "${ac_cv_prog_CC+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4672 if test -n "$CC"; then
4673 ac_cv_prog_CC="$CC" # Let the user override the test.
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir=.
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4682 ac_cv_prog_CC="$ac_prog"
4683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4693 if test -n "$CC"; then
4694 { echo "$as_me:$LINENO: result: $CC" >&5
4695 echo "${ECHO_T}$CC" >&6; }
4697 { echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6; }
4702 test -n "$CC" && break
4705 if test -z "$CC"; then
4708 # Found it, now check the version.
4709 { echo "$as_me:$LINENO: checking version of $CC" >&5
4710 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6; }
4711 ac_prog_version=`$CC -v 2>&1 |
sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
4712 case $ac_prog_version in
4713 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4715 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4716 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4719 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4720 echo "${ECHO_T}$ac_prog_version" >&6; }
4722 if test $ac_verc_fail = yes; then
4723 critic_missing="$critic_missing gcc"
4726 for ac_prog in gnumake gmake make
4728 # Extract the first word of "$ac_prog", so it can be a program name with args.
4729 set dummy $ac_prog; ac_word=$2
4730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4732 if test "${ac_cv_prog_MAKE+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 if test -n "$MAKE"; then
4736 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4745 ac_cv_prog_MAKE="$ac_prog"
4746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 MAKE=$ac_cv_prog_MAKE
4756 if test -n "$MAKE"; then
4757 { echo "$as_me:$LINENO: result: $MAKE" >&5
4758 echo "${ECHO_T}$MAKE" >&6; }
4760 { echo "$as_me:$LINENO: result: no" >&5
4761 echo "${ECHO_T}no" >&6; }
4765 test -n "$MAKE" && break
4768 if test -z "$MAKE"; then
4771 # Found it, now check the version.
4772 { echo "$as_me:$LINENO: checking version of $MAKE" >&5
4773 echo $ECHO_N "checking version of $MAKE... $ECHO_C" >&6; }
4774 ac_prog_version=`$MAKE --version 2>&1 |
sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4775 case $ac_prog_version in
4776 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4778 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4779 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4782 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4783 echo "${ECHO_T}$ac_prog_version" >&6; }
4785 if test $ac_verc_fail = yes; then
4786 critic_missing="$critic_missing make"
4790 for ac_prog in gnumsgfmt gmsgfmt msgfmt
4792 # Extract the first word of "$ac_prog", so it can be a program name with args.
4793 set dummy $ac_prog; ac_word=$2
4794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4796 if test "${ac_cv_prog_MSGFMT+set}" = set; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6
4799 if test -n "$MSGFMT"; then
4800 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 test -z "$as_dir" && as_dir=.
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4809 ac_cv_prog_MSGFMT="$ac_prog"
4810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 MSGFMT=$ac_cv_prog_MSGFMT
4820 if test -n "$MSGFMT"; then
4821 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4822 echo "${ECHO_T}$MSGFMT" >&6; }
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4829 test -n "$MSGFMT" && break
4832 if test -z "$MSGFMT"; then
4835 # Found it, now check the version.
4836 { echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
4837 echo $ECHO_N "checking version of $MSGFMT... $ECHO_C" >&6; }
4838 ac_prog_version=`$MSGFMT --version 2>&1 |
sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4839 case $ac_prog_version in
4840 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4841 0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
4842 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4843 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4846 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4847 echo "${ECHO_T}$ac_prog_version" >&6; }
4849 if test $ac_verc_fail = yes; then
4850 MSGFMT=: aux_missing="$aux_missing msgfmt"
4853 for ac_prog in makeinfo
4855 # Extract the first word of "$ac_prog", so it can be a program name with args.
4856 set dummy $ac_prog; ac_word=$2
4857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4859 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 if test -n "$MAKEINFO"; then
4863 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
4865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4869 test -z "$as_dir" && as_dir=.
4870 for ac_exec_ext in '' $ac_executable_extensions; do
4871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4872 ac_cv_prog_MAKEINFO="$ac_prog"
4873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 MAKEINFO=$ac_cv_prog_MAKEINFO
4883 if test -n "$MAKEINFO"; then
4884 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
4885 echo "${ECHO_T}$MAKEINFO" >&6; }
4887 { echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6; }
4892 test -n "$MAKEINFO" && break
4895 if test -z "$MAKEINFO"; then
4898 # Found it, now check the version.
4899 { echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
4900 echo $ECHO_N "checking version of $MAKEINFO... $ECHO_C" >&6; }
4901 ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4902 case $ac_prog_version in
4903 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4905 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4906 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4909 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4910 echo "${ECHO_T}$ac_prog_version" >&6; }
4912 if test $ac_verc_fail = yes; then
4913 MAKEINFO=: aux_missing="$aux_missing makeinfo"
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy $ac_prog; ac_word=$2
4920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4922 if test "${ac_cv_prog_SED+set}" = set; then
4923 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 if test -n "$SED"; then
4926 ac_cv_prog_SED="$SED" # Let the user override the test.
4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir=.
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4935 ac_cv_prog_SED="$ac_prog"
4936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 if test -n "$SED"; then
4947 { echo "$as_me:$LINENO: result: $SED" >&5
4948 echo "${ECHO_T}$SED" >&6; }
4950 { echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6; }
4955 test -n "$SED" && break
4958 if test -z "$SED"; then
4961 # Found it, now check the version.
4962 { echo "$as_me:$LINENO: checking version of $SED" >&5
4963 echo $ECHO_N "checking version of $SED... $ECHO_C" >&6; }
4964 ac_prog_version=`$SED --version 2>&1 |
sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
4965 case $ac_prog_version in
4966 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4967 3.0[2-9]*|3.[1-9]*|[4-9]*)
4968 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4969 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4972 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4973 echo "${ECHO_T}$ac_prog_version" >&6; }
4975 if test $ac_verc_fail = yes; then
4976 SED=: aux_missing="$aux_missing sed"
4980 for ac_prog in autoconf
4982 # Extract the first word of "$ac_prog", so it can be a program name with args.
4983 set dummy $ac_prog; ac_word=$2
4984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4986 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
4987 echo $ECHO_N "(cached) $ECHO_C" >&6
4989 if test -n "$AUTOCONF"; then
4990 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir=.
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_prog_AUTOCONF="$ac_prog"
5000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 AUTOCONF=$ac_cv_prog_AUTOCONF
5010 if test -n "$AUTOCONF"; then
5011 { echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5012 echo "${ECHO_T}$AUTOCONF" >&6; }
5014 { echo "$as_me:$LINENO: result: no" >&5
5015 echo "${ECHO_T}no" >&6; }
5019 test -n "$AUTOCONF" && break
5021 test -n "$AUTOCONF" || AUTOCONF="no"
5023 case "x$AUTOCONF" in
5024 xno|x|x:) AUTOCONF=no ;;
5026 { echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5027 echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6; }
5028 if test "${libc_cv_autoconf_works+set}" = set; then
5029 echo $ECHO_N "(cached) $ECHO_C" >&6
5031 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
5032 libc_cv_autoconf_works=yes
5034 libc_cv_autoconf_works=no
5037 { echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5038 echo "${ECHO_T}$libc_cv_autoconf_works" >&6; }
5039 test $libc_cv_autoconf_works = yes || AUTOCONF=no
5042 if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
5043 # If --without-cvs they probably won't change configure.in, so no complaints.
5044 aux_missing="$aux_missing autoconf"
5047 test -n "$critic_missing" && { { echo "$as_me:$LINENO: error:
5048 *** These critical programs are missing or too old:$critic_missing
5049 *** Check the INSTALL file for required versions." >&5
5050 echo "$as_me: error:
5051 *** These critical programs are missing or too old:$critic_missing
5052 *** Check the INSTALL file for required versions." >&2;}
5053 { (exit 1); exit 1; }; }
5055 test -n "$aux_missing" && { echo "$as_me:$LINENO: WARNING:
5056 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5057 *** some features will be disabled.
5058 *** Check the INSTALL file for required versions." >&5
5059 echo "$as_me: WARNING:
5060 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5061 *** some features will be disabled.
5062 *** Check the INSTALL file for required versions." >&2;}
5064 # if using special system headers, find out the compiler's sekrit
5065 # header directory and add that to the list. NOTE: Only does the right
5066 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5067 if test -n "$sysheaders"; then
5068 ccheaders=`$CC -print-file-name=include
`
5069 SYSINCLUDES="-nostdinc -isystem $ccheaders \
5070 -isystem `echo $sysheaders |
sed 's/:/ -isystem /g'`"
5071 if test -n "$CXX"; then
5072 cxxversion=`$CXX -dumpversion 2>&5` &&
5073 cxxmachine=`$CXX -dumpmachine 2>&5` &&
5074 cxxheaders=`$CXX -print-file-name=..
/..
/..
/..
/include
/c
++/`"$cxxversion" &&
5075 CXX_SYSINCLUDES="-isystem $cxxheaders \
5076 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5082 # check if ranlib is necessary
5083 { echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5084 echo $ECHO_N "checking whether ranlib is necessary... $ECHO_C" >&6; }
5085 if test "${libc_cv_ranlib_necessary+set}" = set; then
5086 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 cat > conftest.c <<EOF
5093 $CC $CFLAGS $CPPFLAGS -c conftest.c
5094 $AR cr conftest.a conftest.o
5095 cp conftest.a conftest2.a
5097 if cmp -s conftest.a conftest2.a; then
5098 libc_cv_ranlib_necessary=no
5100 libc_cv_ranlib_necessary=yes
5104 { echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5105 echo "${ECHO_T}$libc_cv_ranlib_necessary" >&6; }
5106 if test "$libc_cv_ranlib_necessary" = no; then
5110 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5111 # since this would lead to problems installing/building glibc.
5112 # LD_LIBRARY_PATH contains the current directory if one of the following
5114 # - one of the terminals (":" and ";") is the first or last sign
5115 # - two terminals occur directly after each other
5116 # - the path contains an element with a dot in it
5117 { echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5118 echo $ECHO_N "checking LD_LIBRARY_PATH variable... $ECHO_C" >&6; }
5119 case ${LD_LIBRARY_PATH} in
5120 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
5121 ld_library_path_setting="contains current directory"
5124 ld_library_path_setting="ok"
5127 { echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5128 echo "${ECHO_T}$ld_library_path_setting" >&6; }
5129 if test "$ld_library_path_setting" != "ok"; then
5130 { { echo "$as_me:$LINENO: error:
5131 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5132 *** building glibc. Please change the environment variable
5133 *** and run configure again." >&5
5134 echo "$as_me: error:
5135 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5136 *** building glibc. Please change the environment variable
5137 *** and run configure again." >&2;}
5138 { (exit 1); exit 1; }; }
5141 { echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5142 echo $ECHO_N "checking whether GCC supports -static-libgcc... $ECHO_C" >&6; }
5143 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then
5147 libc_cv_gcc_static_libgcc=
5149 libc_cv_gcc_static_libgcc=-static-libgcc
5152 { echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5153 echo "${ECHO_T}$libc_cv_gcc_static_libgcc" >&6; }
5156 # Extract the first word of "bash", so it can be a program name with args.
5157 set dummy bash; ac_word=$2
5158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5160 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
5176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
5187 BASH_SHELL=$ac_cv_path_BASH_SHELL
5188 if test -n "$BASH_SHELL"; then
5189 { echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5190 echo "${ECHO_T}$BASH_SHELL" >&6; }
5192 { echo "$as_me:$LINENO: result: no" >&5
5193 echo "${ECHO_T}no" >&6; }
5197 if test "$BASH_SHELL" != no &&
5198 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5199 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5200 libc_cv_have_bash2=yes
5202 libc_cv_have_bash2=no
5206 if test "$BASH_SHELL" = no; then
5207 # Extract the first word of "ksh", so it can be a program name with args.
5208 set dummy ksh; ac_word=$2
5209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5211 if test "${ac_cv_path_KSH+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5216 ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir=.
5224 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
5227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
5239 if test -n "$KSH"; then
5240 { echo "$as_me:$LINENO: result: $KSH" >&5
5241 echo "${ECHO_T}$KSH" >&6; }
5243 { echo "$as_me:$LINENO: result: no" >&5
5244 echo "${ECHO_T}no" >&6; }
5248 if test "$KSH" = no; then
5251 libc_cv_have_ksh=yes
5256 libc_cv_have_ksh=yes
5260 for ac_prog in gawk mawk nawk awk
5262 # Extract the first word of "$ac_prog", so it can be a program name with args.
5263 set dummy $ac_prog; ac_word=$2
5264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5266 if test "${ac_cv_prog_AWK+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 if test -n "$AWK"; then
5270 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279 ac_cv_prog_AWK="$ac_prog"
5280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 if test -n "$AWK"; then
5291 { echo "$as_me:$LINENO: result: $AWK" >&5
5292 echo "${ECHO_T}$AWK" >&6; }
5294 { echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6; }
5299 test -n "$AWK" && break
5302 # Extract the first word of "perl", so it can be a program name with args.
5303 set dummy perl; ac_word=$2
5304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5306 if test "${ac_cv_path_PERL+set}" = set; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir=.
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5321 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
5333 PERL=$ac_cv_path_PERL
5334 if test -n "$PERL"; then
5335 { echo "$as_me:$LINENO: result: $PERL" >&5
5336 echo "${ECHO_T}$PERL" >&6; }
5338 { echo "$as_me:$LINENO: result: no" >&5
5339 echo "${ECHO_T}no" >&6; }
5343 if test "$PERL" != no &&
5344 (eval `$PERL -V:apiversion
`; test `expr "$apiversion" \
< 5` -ne 0); then
5347 # Extract the first word of "install-info", so it can be a program name with args.
5348 set dummy install-info; ac_word=$2
5349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5351 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5352 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 case $INSTALL_INFO in
5356 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5361 for as_dir in $as_dummy
5364 test -z "$as_dir" && as_dir=.
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5367 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
5379 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5380 if test -n "$INSTALL_INFO"; then
5381 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5382 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5384 { echo "$as_me:$LINENO: result: no" >&5
5385 echo "${ECHO_T}no" >&6; }
5389 # Extract the first word of "bison", so it can be a program name with args.
5390 set dummy bison; ac_word=$2
5391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5393 if test "${ac_cv_path_BISON+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 as_dummy="$PATH:/usr/local/bin:/usr/bin:/bin"
5403 for as_dir in $as_dummy
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no"
5421 BISON=$ac_cv_path_BISON
5422 if test -n "$BISON"; then
5423 { echo "$as_me:$LINENO: result: $BISON" >&5
5424 echo "${ECHO_T}$BISON" >&6; }
5426 { echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6; }
5432 { echo "$as_me:$LINENO: checking for signed size_t type" >&5
5433 echo $ECHO_N "checking for signed size_t type... $ECHO_C" >&6; }
5434 if test "${libc_cv_signed_size_t+set}" = set; then
5435 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 echo '#include <stddef.h>
5438 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5439 if eval "$ac_cpp conftest.c 2>/dev/null" \
5440 | grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev/null; then
5441 libc_cv_signed_size_t=no
5443 libc_cv_signed_size_t=yes
5447 { echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5448 echo "${ECHO_T}$libc_cv_signed_size_t" >&6; }
5449 if test $libc_cv_signed_size_t = yes; then
5450 cat >> confdefs.h <<\EOF
5451 #undef __SIZE_TYPE__
5452 #define __SIZE_TYPE__ unsigned
5457 { echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5458 echo $ECHO_N "checking for libc-friendly stddef.h... $ECHO_C" >&6; }
5459 if test "${libc_cv_friendly_stddef+set}" = set; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5462 cat >conftest.$ac_ext <<_ACEOF
5465 cat confdefs.h >>conftest.$ac_ext
5466 cat >>conftest.$ac_ext <<_ACEOF
5467 /* end confdefs.h. */
5468 #define __need_size_t
5469 #define __need_wchar_t
5476 size_t size; wchar_t wchar;
5478 #error stddef.h ignored __need_*
5480 if (&size == NULL || &wchar == NULL) abort ();
5485 rm -f conftest.$ac_objext
5486 if { (ac_try="$ac_compile"
5488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5489 *) ac_try_echo
=$ac_try;;
5491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5492 (eval "$ac_compile") 2>conftest.er1
5494 grep -v '^ *+' conftest.er1
>conftest.err
5496 cat conftest.err
>&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); } && {
5499 test -z "$ac_c_werror_flag" ||
5500 test ! -s conftest.err
5501 } && test -s conftest.
$ac_objext; then
5502 libc_cv_friendly_stddef
=yes
5504 echo "$as_me: failed program was:" >&5
5505 sed 's/^/| /' conftest.
$ac_ext >&5
5507 libc_cv_friendly_stddef
=no
5510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5512 { echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5513 echo "${ECHO_T}$libc_cv_friendly_stddef" >&6; }
5514 if test $libc_cv_friendly_stddef = yes; then
5515 config_vars
="$config_vars
5516 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5519 { echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5520 echo $ECHO_N "checking whether we need to use -P to assemble .S files... $ECHO_C" >&6; }
5521 if test "${libc_cv_need_minus_P+set}" = set; then
5522 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 cat > conftest.S
<<EOF
5525 #include "confdefs.h"
5526 /* Nothing whatsoever. */
5528 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); }; }; then
5534 libc_cv_need_minus_P
=no
5536 libc_cv_need_minus_P
=yes
5540 { echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5541 echo "${ECHO_T}$libc_cv_need_minus_P" >&6; }
5542 if test $libc_cv_need_minus_P = yes; then
5543 config_vars
="$config_vars
5544 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5547 { echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5548 echo $ECHO_N "checking whether .text pseudo-op must be used... $ECHO_C" >&6; }
5549 if test "${libc_cv_dot_text+set}" = set; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 cat > conftest.s
<<EOF
5556 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; }; then
5562 libc_cv_dot_text
=.text
5567 if test -z "$libc_cv_dot_text"; then
5568 { echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6; }
5571 { echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6; }
5575 { echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5576 echo $ECHO_N "checking for assembler global-symbol directive... $ECHO_C" >&6; }
5577 if test "${libc_cv_asm_global_directive+set}" = set; then
5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 libc_cv_asm_global_directive
=UNKNOWN
5581 for ac_globl
in .globl .global .EXPORT
; do
5582 cat > conftest.s
<<EOF
5587 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); }; }; then
5593 libc_cv_asm_global_directive
=${ac_globl}
5596 test $libc_cv_asm_global_directive != UNKNOWN
&& break
5599 { echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5600 echo "${ECHO_T}$libc_cv_asm_global_directive" >&6; }
5601 if test $libc_cv_asm_global_directive = UNKNOWN
; then
5602 { { echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5603 echo "$as_me: error: cannot determine asm global directive" >&2;}
5604 { (exit 1); exit 1; }; }
5606 cat >>confdefs.h
<<_ACEOF
5607 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5612 { echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5613 echo $ECHO_N "checking for .set assembler directive... $ECHO_C" >&6; }
5614 if test "${libc_cv_asm_set_directive+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 cat > conftest.s
<<EOF
5620 .set glibc_conftest_frobozz,foo
5621 $libc_cv_asm_global_directive glibc_conftest_frobozz
5623 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5624 # (but it doesn't work), so we must do a linking check to be sure.
5625 cat > conftest1.c
<<\EOF
5626 extern int glibc_conftest_frobozz
;
5627 void _start
() { glibc_conftest_frobozz
= 1; }
5629 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5630 -nostartfiles -nostdlib \
5631 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5632 libc_cv_asm_set_directive
=yes
5634 libc_cv_asm_set_directive
=no
5638 { echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5639 echo "${ECHO_T}$libc_cv_asm_set_directive" >&6; }
5640 if test $libc_cv_asm_set_directive = yes; then
5641 cat >>confdefs.h
<<\_ACEOF
5642 #define HAVE_ASM_SET_DIRECTIVE 1
5647 { echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5648 echo $ECHO_N "checking for assembler .type directive prefix... $ECHO_C" >&6; }
5649 if test "${libc_cv_asm_type_prefix+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 libc_cv_asm_type_prefix
=no
5653 for ac_try_prefix
in '@' '%' '#'; do
5654 cat > conftest.s
<<EOF
5656 ${libc_cv_asm_global_directive} foo
5657 .type foo, ${ac_try_prefix}object
5662 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); }; }; then
5668 libc_cv_asm_type_prefix
=${ac_try_prefix}
5671 test "x$libc_cv_asm_type_prefix" != xno
&& break
5674 { echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
5675 echo "${ECHO_T}$libc_cv_asm_type_prefix" >&6; }
5676 if test "x$libc_cv_asm_type_prefix" != xno
; then
5677 cat >>confdefs.h
<<_ACEOF
5678 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
5683 { echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
5684 echo $ECHO_N "checking for .symver assembler directive... $ECHO_C" >&6; }
5685 if test "${libc_cv_asm_symver_directive+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 cat > conftest.s
<<EOF
5691 .symver _sym,sym@VERS
5693 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5694 libc_cv_asm_symver_directive
=yes
5696 libc_cv_asm_symver_directive
=no
5700 { echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
5701 echo "${ECHO_T}$libc_cv_asm_symver_directive" >&6; }
5702 { echo "$as_me:$LINENO: checking for ld --version-script" >&5
5703 echo $ECHO_N "checking for ld --version-script... $ECHO_C" >&6; }
5704 if test "${libc_cv_ld_version_script_option+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5707 if test $libc_cv_asm_symver_directive = yes; then
5708 cat > conftest.s
<<EOF
5711 .symver _sym,sym@VERS
5713 cat > conftest.map
<<EOF
5722 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5723 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
5724 -o conftest.so conftest.o
5725 -nostartfiles -nostdlib
5726 -Wl,--version-script,conftest.map
5728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); }; };
5734 libc_cv_ld_version_script_option
=yes
5736 libc_cv_ld_version_script_option
=no
5739 libc_cv_ld_version_script_option
=no
5742 libc_cv_ld_version_script_option
=no
5746 { echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
5747 echo "${ECHO_T}$libc_cv_ld_version_script_option" >&6; }
5748 if test $shared != no
&&
5749 test $libc_cv_asm_symver_directive = yes &&
5750 test $libc_cv_ld_version_script_option = yes &&
5751 test $enable_versioning = yes; then
5753 cat >>confdefs.h
<<\_ACEOF
5754 #define DO_VERSIONING 1
5762 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
5764 *** WARNING: You should not compile GNU libc without versioning. Not using
5765 *** versioning will introduce incompatibilities so that old binaries
5766 *** will not run anymore.
5767 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
5769 if test $elf = yes; then
5770 { echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
5771 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6; }
5772 if test "${libc_cv_asm_previous_directive+set}" = set; then
5773 echo $ECHO_N "(cached) $ECHO_C" >&6
5775 cat > conftest.s
<<EOF
5776 .section foo_section
5779 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; }; then
5785 libc_cv_asm_previous_directive
=yes
5787 libc_cv_asm_previous_directive
=no
5791 { echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
5792 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6; }
5793 if test $libc_cv_asm_previous_directive = yes; then
5794 cat >>confdefs.h
<<\_ACEOF
5795 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
5799 { echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
5800 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6; }
5801 if test "${libc_cv_asm_popsection_directive+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 cat > conftest.s
<<EOF
5805 .pushsection foo_section
5808 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); }; }; then
5814 libc_cv_asm_popsection_directive
=yes
5816 libc_cv_asm_popsection_directive
=no
5820 { echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
5821 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6; }
5822 if test $libc_cv_asm_popsection_directive = yes; then
5823 cat >>confdefs.h
<<\_ACEOF
5824 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
5829 { echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
5830 echo $ECHO_N "checking for .protected and .hidden assembler directive... $ECHO_C" >&6; }
5831 if test "${libc_cv_asm_protected_directive+set}" = set; then
5832 echo $ECHO_N "(cached) $ECHO_C" >&6
5834 cat > conftest.s
<<EOF
5840 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }; }; then
5846 libc_cv_asm_protected_directive
=yes
5848 { { echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
5849 echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
5850 { (exit 1); exit 1; }; }
5854 { echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
5855 echo "${ECHO_T}$libc_cv_asm_protected_directive" >&6; }
5857 if test $libc_cv_asm_protected_directive = yes; then
5858 { echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
5859 echo $ECHO_N "checking whether __attribute__((visibility())) is supported... $ECHO_C" >&6; }
5860 if test "${libc_cv_visibility_attribute+set}" = set; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 cat > conftest.c
<<EOF
5864 int foo __attribute__ ((visibility ("hidden"))) = 1;
5865 int bar __attribute__ ((visibility ("protected"))) = 1;
5867 libc_cv_visibility_attribute
=no
5868 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; }; then
5874 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
5875 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5876 libc_cv_visibility_attribute
=yes
5883 { echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
5884 echo "${ECHO_T}$libc_cv_visibility_attribute" >&6; }
5885 if test $libc_cv_visibility_attribute != yes; then
5886 { { echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
5887 echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
5888 { (exit 1); exit 1; }; }
5892 if test $libc_cv_visibility_attribute = yes; then
5893 { echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
5894 echo $ECHO_N "checking for broken __attribute__((visibility()))... $ECHO_C" >&6; }
5895 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 cat > conftest.c
<<EOF
5900 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5901 int bar (int x) { return x; }
5903 libc_cv_broken_visibility_attribute
=yes
5904 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; }; then
5910 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5911 libc_cv_broken_visibility_attribute
=no
5914 rm -f conftest.c conftest.s
5917 { echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
5918 echo "${ECHO_T}$libc_cv_broken_visibility_attribute" >&6; }
5919 if test $libc_cv_broken_visibility_attribute = yes; then
5920 { { echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
5921 echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
5922 { (exit 1); exit 1; }; }
5926 { echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
5927 echo $ECHO_N "checking for broken __attribute__((alias()))... $ECHO_C" >&6; }
5928 if test "${libc_cv_broken_alias_attribute+set}" = set; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 cat > conftest.c
<<EOF
5932 extern int foo (int x) __asm ("xyzzy");
5933 int bar (int x) { return x; }
5934 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5936 extern __typeof (dfoo) dfoo __asm ("abccb");
5939 libc_cv_broken_alias_attribute
=yes
5940 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); }; }; then
5946 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5947 grep 'abccb' conftest.s
>/dev
/null
; then
5948 libc_cv_broken_alias_attribute
=no
5951 rm -f conftest.c conftest.s
5954 { echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
5955 echo "${ECHO_T}$libc_cv_broken_alias_attribute" >&6; }
5956 if test $libc_cv_broken_alias_attribute = yes; then
5957 { { echo "$as_me:$LINENO: error: working alias attribute support required" >&5
5958 echo "$as_me: error: working alias attribute support required" >&2;}
5959 { (exit 1); exit 1; }; }
5962 if test $libc_cv_visibility_attribute = yes; then
5963 { echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
5964 echo $ECHO_N "checking whether to put _rtld_local into .sdata section... $ECHO_C" >&6; }
5965 if test "${libc_cv_have_sdata_section+set}" = set; then
5966 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 echo "int i;" > conftest.c
5969 libc_cv_have_sdata_section
=no
5970 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5971 |
grep '\.sdata' >/dev
/null
; then
5972 libc_cv_have_sdata_section
=yes
5974 rm -f conftest.c conftest.so
5977 { echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
5978 echo "${ECHO_T}$libc_cv_have_sdata_section" >&6; }
5979 if test $libc_cv_have_sdata_section = yes; then
5980 cat >>confdefs.h
<<\_ACEOF
5981 #define HAVE_SDATA_SECTION 1
5987 { echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
5988 echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6; }
5989 if test "${libc_cv_initfini_array+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 cat > conftest.c
<<EOF
5993 int _start (void) { return 0; }
5994 int __start (void) { return 0; }
5995 int foo (void) { return 1; }
5996 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
5998 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
5999 -static -nostartfiles -nostdlib 1>&5'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; }
6006 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6007 libc_cv_initfini_array
=yes
6009 libc_cv_initfini_array
=no
6012 libc_cv_initfini_array
=no
6016 { echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6017 echo "${ECHO_T}$libc_cv_initfini_array" >&6; }
6018 if test $libc_cv_initfini_array != yes; then
6019 { { echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6020 echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6021 { (exit 1); exit 1; }; }
6024 { echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6025 echo $ECHO_N "checking for libunwind-support in compiler... $ECHO_C" >&6; }
6026 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6027 echo $ECHO_N "(cached) $ECHO_C" >&6
6030 cat > conftest.c
<<EOF
6031 int main (void) { return 0; }
6033 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6034 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6035 libc_cv_cc_with_libunwind
=yes
6037 libc_cv_cc_with_libunwind
=no
6041 { echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6042 echo "${ECHO_T}$libc_cv_cc_with_libunwind" >&6; }
6044 if test $libc_cv_cc_with_libunwind = yes; then
6045 cat >>confdefs.h
<<\_ACEOF
6046 #define HAVE_CC_WITH_LIBUNWIND 1
6051 { echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6052 echo $ECHO_N "checking for -z nodelete option... $ECHO_C" >&6; }
6053 if test "${libc_cv_z_nodelete+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 cat > conftest.c
<<EOF
6057 int _start (void) { return 42; }
6059 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6060 -fPIC -shared -o conftest.so conftest.c
6061 -nostartfiles -nostdlib
6062 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }; }
6069 libc_cv_z_nodelete
=yes
6071 { { echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6072 echo "$as_me: error: linker with -z nodelete support required" >&2;}
6073 { (exit 1); exit 1; }; }
6077 { echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6078 echo "${ECHO_T}$libc_cv_z_nodelete" >&6; }
6080 { echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6081 echo $ECHO_N "checking for -z nodlopen option... $ECHO_C" >&6; }
6082 if test "${libc_cv_z_nodlopen+set}" = set; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6085 cat > conftest.c
<<EOF
6086 int _start (void) { return 42; }
6088 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6089 -fPIC -shared -o conftest.so conftest.c
6090 -nostartfiles -nostdlib
6091 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096 (exit $ac_status); }; }
6098 libc_cv_z_nodlopen
=yes
6100 { { echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6101 echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6102 { (exit 1); exit 1; }; }
6106 { echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6107 echo "${ECHO_T}$libc_cv_z_nodlopen" >&6; }
6109 { echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6110 echo $ECHO_N "checking for -z initfirst option... $ECHO_C" >&6; }
6111 if test "${libc_cv_z_initfirst+set}" = set; then
6112 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 cat > conftest.c
<<EOF
6115 int _start (void) { return 42; }
6117 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6118 -fPIC -shared -o conftest.so conftest.c
6119 -nostartfiles -nostdlib
6120 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); }; }
6127 libc_cv_z_initfirst
=yes
6129 { { echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6130 echo "$as_me: error: linker with -z initfirst support required" >&2;}
6131 { (exit 1); exit 1; }; }
6135 { echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6136 echo "${ECHO_T}$libc_cv_z_initfirst" >&6; }
6138 case "$base_machine" in
6139 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6140 { echo "$as_me:$LINENO: checking for -z relro option" >&5
6141 echo $ECHO_N "checking for -z relro option... $ECHO_C" >&6; }
6142 if test "${libc_cv_z_relro+set}" = set; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6146 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); }; }
6153 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); }; }
6164 { echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6165 echo "${ECHO_T}$libc_cv_z_relro" >&6; }
6166 if test "$libc_cv_z_relro" = no
; then
6167 { { echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6168 echo "$as_me: error: linker with -z relro support required" >&2;}
6169 { (exit 1); exit 1; }; }
6175 { echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6176 echo $ECHO_N "checking for -Bgroup option... $ECHO_C" >&6; }
6177 if test "${libc_cv_Bgroup+set}" = set; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6180 cat > conftest.c
<<EOF
6181 int _start (void) { return 42; }
6183 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6184 -fPIC -shared -o conftest.so conftest.c
6185 -Wl,-Bgroup -nostdlib 1>&5'
6186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); }; }
6198 { echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6199 echo "${ECHO_T}$libc_cv_Bgroup" >&6; }
6202 { echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6203 echo $ECHO_N "checking for libgcc_s suffix... $ECHO_C" >&6; }
6204 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6205 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 cat > conftest.c
<<EOF
6208 int main (void) { return 0; }
6210 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6211 -fPIC -shared -shared-libgcc -o conftest.so \
6212 conftest.c -v 2>&1 >/dev/null \
6213 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6216 { echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6217 echo "${ECHO_T}$libc_cv_libgcc_s_suffix" >&6; }
6220 { echo "$as_me:$LINENO: checking for --as-needed option" >&5
6221 echo $ECHO_N "checking for --as-needed option... $ECHO_C" >&6; }
6222 if test "${libc_cv_as_needed+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 cat > conftest.c
<<EOF
6226 int main (void) { return 0; }
6228 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6229 -fPIC -shared -o conftest.so conftest.c
6230 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); }; }
6238 libc_cv_as_needed
=yes
6240 libc_cv_as_needed
=no
6244 { echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6245 echo "${ECHO_T}$libc_cv_as_needed" >&6; }
6249 { echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6250 echo $ECHO_N "checking whether --noexecstack is desirable for .S files... $ECHO_C" >&6; }
6251 if test "${libc_cv_as_noexecstack+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 cat > conftest.c
<<EOF
6257 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6258 -S -o conftest.s conftest.c 1>&5'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } \
6264 && grep -q .note.GNU-stack conftest.s \
6265 && { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Wa,--noexecstack
6266 -c -o conftest.o conftest.s 1>&5'
6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; }
6273 libc_cv_as_noexecstack
=yes
6275 libc_cv_as_noexecstack
=no
6279 { echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6280 echo "${ECHO_T}$libc_cv_as_noexecstack" >&6; }
6281 if test $libc_cv_as_noexecstack = yes; then
6282 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6286 { echo "$as_me:$LINENO: checking for -z combreloc" >&5
6287 echo $ECHO_N "checking for -z combreloc... $ECHO_C" >&6; }
6288 if test "${libc_cv_z_combreloc+set}" = set; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 cat > conftest.c
<<EOF
6292 extern int bar (int);
6294 int foo (void) { return bar (mumble); }
6296 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6297 -fPIC -shared -o conftest.so conftest.c
6298 -nostdlib -nostartfiles
6299 -Wl,-z,combreloc 1>&5'
6300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); }; }
6306 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6307 libc_cv_z_combreloc
=yes
6309 libc_cv_z_combreloc
=no
6312 libc_cv_z_combreloc
=no
6316 { echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6317 echo "${ECHO_T}$libc_cv_z_combreloc" >&6; }
6318 if test "$libc_cv_z_combreloc" = yes; then
6319 cat >>confdefs.h
<<\_ACEOF
6320 #define HAVE_Z_COMBRELOC 1
6326 { echo "$as_me:$LINENO: checking for -z execstack" >&5
6327 echo $ECHO_N "checking for -z execstack... $ECHO_C" >&6; }
6328 if test "${libc_cv_z_execstack+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 cat > conftest.c
<<EOF
6332 int _start (void) { return 42; }
6334 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6335 -fPIC -shared -o conftest.so conftest.c
6336 -Wl,-z,execstack -nostdlib
6338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); }; }
6344 libc_cv_z_execstack
=yes
6346 libc_cv_z_execstack
=no
6350 { echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6351 echo "${ECHO_T}$libc_cv_z_execstack" >&6; }
6354 { echo "$as_me:$LINENO: checking for -fpie" >&5
6355 echo $ECHO_N "checking for -fpie... $ECHO_C" >&6; }
6356 if test "${libc_cv_fpie+set}" = set; then
6357 echo $ECHO_N "(cached) $ECHO_C" >&6
6359 cat > conftest.c
<<EOF
6361 main () { return 0;}
6363 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6364 -o conftest conftest.c 1>&5'
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; }
6377 { echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6378 echo "${ECHO_T}$libc_cv_fpie" >&6; }
6382 { echo "$as_me:$LINENO: checking for --hash-style option" >&5
6383 echo $ECHO_N "checking for --hash-style option... $ECHO_C" >&6; }
6384 if test "${libc_cv_hashstyle+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 cat > conftest.c
<<EOF
6388 int _start (void) { return 42; }
6390 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6391 -fPIC -shared -o conftest.so conftest.c
6392 -Wl,--hash-style=both -nostdlib 1>&5'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; }
6399 libc_cv_hashstyle
=yes
6401 libc_cv_hashstyle
=no
6405 { echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6406 echo "${ECHO_T}$libc_cv_hashstyle" >&6; }
6410 { echo "$as_me:$LINENO: checking for -fno-toplevel-reorder" >&5
6411 echo $ECHO_N "checking for -fno-toplevel-reorder... $ECHO_C" >&6; }
6412 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 cat > conftest.c
<<EOF
6418 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder
6420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); }; }
6426 libc_cv_fno_toplevel_reorder
=yes
6428 libc_cv_fno_toplevel_reorder
=no
6432 { echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6433 echo "${ECHO_T}$libc_cv_fno_toplevel_reorder" >&6; }
6434 if test $libc_cv_fno_toplevel_reorder = yes; then
6435 fno_unit_at_a_time
=-fno-toplevel-reorder
6437 fno_unit_at_a_time
=-fno-unit-at-a-time
6441 { echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6442 echo $ECHO_N "checking for -fstack-protector... $ECHO_C" >&6; }
6443 if test "${libc_cv_ssp+set}" = set; then
6444 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 cat > conftest.c
<<EOF
6448 main () { return 0;}
6450 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fstack-protector
6451 -o conftest conftest.c 1>&5'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; }
6464 { echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6465 echo "${ECHO_T}$libc_cv_ssp" >&6; }
6468 { echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6469 echo $ECHO_N "checking for -fgnu89-inline... $ECHO_C" >&6; }
6470 if test "${libc_cv_gnu89_inline+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 cat > conftest.c
<<EOF
6475 #ifdef __GNUC_GNU_INLINE__
6476 main () { return 0;}
6481 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6482 -o conftest.s conftest.c 1>&5'
6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; }
6489 libc_cv_gnu89_inline
=yes
6491 libc_cv_gnu89_inline
=no
6495 { echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6496 echo "${ECHO_T}$libc_cv_gnu89_inline" >&6; }
6497 if test $libc_cv_gnu89_inline = yes; then
6498 libc_cv_gnu89_inline
=-fgnu89-inline
6500 libc_cv_gnu89_inline
=
6504 if test $elf != yes; then
6505 { echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6506 echo $ECHO_N "checking for .init and .fini sections... $ECHO_C" >&6; }
6507 if test "${libc_cv_have_initfini+set}" = set; then
6508 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 cat >conftest.
$ac_ext <<_ACEOF
6513 cat confdefs.h
>>conftest.
$ac_ext
6514 cat >>conftest.
$ac_ext <<_ACEOF
6515 /* end confdefs.h. */
6520 asm (".section .init");
6521 asm (".section .fini");
6522 asm ("${libc_cv_dot_text}");
6527 rm -f conftest.
$ac_objext
6528 if { (ac_try
="$ac_compile"
6530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6531 *) ac_try_echo=$ac_try;;
6533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6534 (eval "$ac_compile") 2>conftest.er1
6536 grep -v '^ *+' conftest.er1 >conftest.err
6538 cat conftest.err >&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } && {
6541 test -z "$ac_c_werror_flag" ||
6542 test ! -s conftest.err
6543 } && test -s conftest.$ac_objext; then
6544 libc_cv_have_initfini=yes
6546 echo "$as_me: failed program was:" >&5
6547 sed 's/^/| /' conftest.$ac_ext >&5
6549 libc_cv_have_initfini=no
6552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6554 { echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6555 echo "${ECHO_T}$libc_cv_have_initfini" >&6; }
6556 if test $libc_cv_have_initfini = yes; then
6557 cat >>confdefs.h <<\_ACEOF
6558 #define HAVE_INITFINI 1
6564 if test $elf = yes; then
6565 { echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6566 echo $ECHO_N "checking whether cc puts quotes around section names... $ECHO_C" >&6; }
6567 if test "${libc_cv_have_section_quotes+set}" = set; then
6568 echo $ECHO_N "(cached) $ECHO_C" >&6
6570 cat > conftest.c <<EOF
6571 static const int foo
6572 __attribute__ ((section ("bar"))) = 1;
6574 if ${CC-cc} -S conftest.c -o conftest.s; then
6575 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6576 libc_cv_have_section_quotes=yes
6578 libc_cv_have_section_quotes=no
6581 libc_cv_have_section_quotes=unknown
6586 { echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6587 echo "${ECHO_T}$libc_cv_have_section_quotes" >&6; }
6588 if test $libc_cv_have_section_quotes = yes; then
6589 cat >>confdefs.h <<\_ACEOF
6590 #define HAVE_SECTION_QUOTES 1
6598 if test $elf = yes; then
6599 libc_cv_asm_underscores=no
6601 if test $ac_cv_prog_cc_works = yes; then
6602 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6603 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6604 if test "${libc_cv_asm_underscores+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6607 cat >conftest.$ac_ext <<_ACEOF
6610 cat confdefs.h >>conftest.$ac_ext
6611 cat >>conftest.$ac_ext <<_ACEOF
6612 /* end confdefs.h. */
6613 asm ("_glibc_foobar:");
6622 rm -f conftest.$ac_objext conftest$ac_exeext
6623 if { (ac_try="$ac_link"
6625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6626 *) ac_try_echo
=$ac_try;;
6628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6629 (eval "$ac_link") 2>conftest.er1
6631 grep -v '^ *+' conftest.er1
>conftest.err
6633 cat conftest.err
>&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } && {
6636 test -z "$ac_c_werror_flag" ||
6637 test ! -s conftest.err
6638 } && test -s conftest
$ac_exeext &&
6639 $as_test_x conftest
$ac_exeext; then
6640 libc_cv_asm_underscores
=yes
6642 echo "$as_me: failed program was:" >&5
6643 sed 's/^/| /' conftest.
$ac_ext >&5
6645 libc_cv_asm_underscores
=no
6648 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6649 conftest
$ac_exeext conftest.
$ac_ext
6651 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6652 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6654 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6655 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6656 if test "${libc_cv_asm_underscores+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6659 cat > conftest.
$ac_ext <<EOF
6660 #line $LINENO "configure"
6661 #include "confdefs.h"
6662 void underscore_test(void) {
6665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6666 (eval $ac_compile) 2>&5
6668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6669 (exit $ac_status); }; then
6670 if grep _underscore_test conftest
* >/dev
/null
; then
6672 libc_cv_asm_underscores
=yes
6675 libc_cv_asm_underscores
=no
6678 echo "configure: failed program was:" >&5
6679 cat conftest.
$ac_ext >&5
6681 libc_cv_asm_underscores
=no
6685 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6686 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6689 if test $libc_cv_asm_underscores = no
; then
6690 cat >>confdefs.h
<<\_ACEOF
6691 #define NO_UNDERSCORES 1
6696 if test $elf = yes; then
6697 libc_cv_weak_symbols
=yes
6700 { echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
6701 echo $ECHO_N "checking for assembler .weak directive... $ECHO_C" >&6; }
6702 if test "${libc_cv_asm_weak_directive+set}" = set; then
6703 echo $ECHO_N "(cached) $ECHO_C" >&6
6705 cat > conftest.s
<<EOF
6707 ${libc_cv_asm_global_directive} foo
6710 .weak bar; bar = foo
6712 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; }; then
6718 libc_cv_asm_weak_directive
=yes
6720 libc_cv_asm_weak_directive
=no
6724 { echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
6725 echo "${ECHO_T}$libc_cv_asm_weak_directive" >&6; }
6727 if test $libc_cv_asm_weak_directive = no
; then
6728 { echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
6729 echo $ECHO_N "checking for assembler .weakext directive... $ECHO_C" >&6; }
6730 if test "${libc_cv_asm_weakext_directive+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 cat > conftest.s
<<EOF
6735 ${libc_cv_asm_global_directive} foo
6739 ${libc_cv_asm_global_directive} baz
6742 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747 (exit $ac_status); }; }; then
6748 libc_cv_asm_weakext_directive
=yes
6750 libc_cv_asm_weakext_directive
=no
6754 { echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
6755 echo "${ECHO_T}$libc_cv_asm_weakext_directive" >&6; }
6759 if test $libc_cv_asm_weak_directive = yes; then
6760 cat >>confdefs.h
<<\_ACEOF
6761 #define HAVE_ASM_WEAK_DIRECTIVE 1
6764 elif test $libc_cv_asm_weakext_directive = yes; then
6765 cat >>confdefs.h
<<\_ACEOF
6766 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
6771 { echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
6772 echo $ECHO_N "checking whether CFI directives are supported... $ECHO_C" >&6; }
6773 if test "${libc_cv_asm_cfi_directives+set}" = set; then
6774 echo $ECHO_N "(cached) $ECHO_C" >&6
6777 sparc
/sparc64
*) cfi_offset
=2047;;
6780 cat > conftest.s
<<EOF
6782 .type func,%function
6786 .cfi_rel_offset 1, $cfi_offset
6789 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); }; }; then
6795 libc_cv_asm_cfi_directives
=yes
6797 libc_cv_asm_cfi_directives
=no
6801 { echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
6802 echo "${ECHO_T}$libc_cv_asm_cfi_directives" >&6; }
6803 if test $libc_cv_asm_cfi_directives = yes; then
6804 cat >>confdefs.h
<<\_ACEOF
6805 #define HAVE_ASM_CFI_DIRECTIVES 1
6810 { echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
6811 echo $ECHO_N "checking for ld --no-whole-archive... $ECHO_C" >&6; }
6812 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
6813 echo $ECHO_N "(cached) $ECHO_C" >&6
6815 cat > conftest.c
<<\EOF
6820 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6821 -nostdlib -nostartfiles -Wl,--no-whole-archive
6822 -o conftest conftest.c 1>&5'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; }; then
6828 libc_cv_ld_no_whole_archive
=yes
6830 libc_cv_ld_no_whole_archive
=no
6834 { echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
6835 echo "${ECHO_T}$libc_cv_ld_no_whole_archive" >&6; }
6836 if test $libc_cv_ld_no_whole_archive = yes; then
6837 no_whole_archive
=-Wl,--no-whole-archive
6840 { echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
6841 echo $ECHO_N "checking for gcc -fexceptions... $ECHO_C" >&6; }
6842 if test "${libc_cv_gcc_exceptions+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 cat > conftest.c
<<\EOF
6850 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6851 -nostdlib -nostartfiles -fexceptions
6852 -o conftest conftest.c 1>&5'
6853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); }; }; then
6858 libc_cv_gcc_exceptions
=yes
6860 libc_cv_gcc_exceptions
=no
6864 { echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
6865 echo "${ECHO_T}$libc_cv_gcc_exceptions" >&6; }
6866 if test $libc_cv_gcc_exceptions = yes; then
6867 exceptions
=-fexceptions
6870 if test "$host_cpu" = powerpc
; then
6871 # Check for a bug present in at least versions 2.8.x of GCC
6872 # and versions 1.0.x of EGCS.
6873 { echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
6874 echo $ECHO_N "checking whether clobbering cr0 causes problems... $ECHO_C" >&6; }
6875 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 cat >conftest.
$ac_ext <<_ACEOF
6881 cat confdefs.h
>>conftest.
$ac_ext
6882 cat >>conftest.
$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6884 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
6893 rm -f conftest.
$ac_objext
6894 if { (ac_try
="$ac_compile"
6896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6897 *) ac_try_echo=$ac_try;;
6899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6900 (eval "$ac_compile") 2>conftest.er1
6902 grep -v '^ *+' conftest.er1 >conftest.err
6904 cat conftest.err >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); } && {
6907 test -z "$ac_c_werror_flag" ||
6908 test ! -s conftest.err
6909 } && test -s conftest.$ac_objext; then
6910 libc_cv_c_asmcr0_bug='no'
6912 echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6915 libc_cv_c_asmcr0_bug='yes'
6918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6920 { echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
6921 echo "${ECHO_T}$libc_cv_c_asmcr0_bug" >&6; }
6922 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
6923 cat >>confdefs.h <<\_ACEOF
6924 #define BROKEN_PPC_ASM_CR0 1
6930 { echo "$as_me:$LINENO: checking for __builtin_expect" >&5
6931 echo $ECHO_N "checking for __builtin_expect... $ECHO_C" >&6; }
6932 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 cat > conftest.c <<EOF
6936 #line $LINENO "configure"
6939 a = __builtin_expect (a, 10);
6940 return a == 10 ? 0 : 1;
6943 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
6944 -o conftest conftest.c -lgcc >&5'
6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); }; }; then
6950 libc_cv_gcc_builtin_expect=yes
6952 libc_cv_gcc_builtin_expect=no
6956 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
6957 echo "${ECHO_T}$libc_cv_gcc_builtin_expect" >&6; }
6958 if test "$libc_cv_gcc_builtin_expect" = yes; then
6959 cat >>confdefs.h <<\_ACEOF
6960 #define HAVE_BUILTIN_EXPECT 1
6965 { echo "$as_me:$LINENO: checking for __builtin_memset" >&5
6966 echo $ECHO_N "checking for __builtin_memset... $ECHO_C" >&6; }
6967 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
6968 echo $ECHO_N "(cached) $ECHO_C" >&6
6970 cat > conftest.c <<\EOF
6973 __builtin_memset (x, 0, 1000);
6976 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); }; };
6983 libc_cv_gcc_builtin_memset=no
6985 libc_cv_gcc_builtin_memset=yes
6989 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
6990 echo "${ECHO_T}$libc_cv_gcc_builtin_memset" >&6; }
6991 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6992 cat >>confdefs.h <<\_ACEOF
6993 #define HAVE_BUILTIN_MEMSET 1
6998 { echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
6999 echo $ECHO_N "checking for redirection of built-in functions... $ECHO_C" >&6; }
7000 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7001 echo $ECHO_N "(cached) $ECHO_C" >&6
7003 cat > conftest.c <<\EOF
7004 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7005 char *foo (const char *a, const char *b)
7007 return __builtin_strstr (a, b);
7010 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; };
7017 libc_cv_gcc_builtin_redirection=yes
7019 libc_cv_gcc_builtin_redirection=no
7023 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7024 echo "${ECHO_T}$libc_cv_gcc_builtin_redirection" >&6; }
7025 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7026 cat >>confdefs.h <<\_ACEOF
7027 #define HAVE_BUILTIN_REDIRECTION 1
7032 if test "x$use__thread" != xno; then
7033 { echo "$as_me:$LINENO: checking for __thread" >&5
7034 echo $ECHO_N "checking for __thread... $ECHO_C" >&6; }
7035 if test "${libc_cv_gcc___thread+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 cat > conftest.c <<\EOF
7039 __thread int a = 42;
7041 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then
7047 libc_cv_gcc___thread=yes
7049 libc_cv_gcc___thread=no
7053 { echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7054 echo "${ECHO_T}$libc_cv_gcc___thread" >&6; }
7055 if test "$libc_cv_gcc___thread" = yes; then
7056 cat >>confdefs.h <<\_ACEOF
7057 #define HAVE___THREAD 1
7062 libc_cv_gcc___thread=no
7065 if test "$libc_cv_gcc___thread" = yes; then
7066 { echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7067 echo $ECHO_N "checking for tls_model attribute... $ECHO_C" >&6; }
7068 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7069 echo $ECHO_N "(cached) $ECHO_C" >&6
7071 cat > conftest.c <<\EOF
7072 extern __thread int a __attribute__((tls_model ("initial-exec")));
7074 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; }; then
7080 libc_cv_gcc_tls_model_attr=yes
7082 libc_cv_gcc_tls_model_attr=no
7086 { echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7087 echo "${ECHO_T}$libc_cv_gcc_tls_model_attr" >&6; }
7088 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7089 cat >>confdefs.h <<\_ACEOF
7090 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7096 { echo "$as_me:$LINENO: checking for libgd" >&5
7097 echo $ECHO_N "checking for libgd... $ECHO_C" >&6; }
7098 if test "$with_gd" != "no"; then
7099 old_CFLAGS="$CFLAGS"
7100 CFLAGS="$CFLAGS $libgd_include"
7101 old_LDFLAGS="$LDFLAGS"
7102 LDFLAGS="$LDFLAGS $libgd_ldflags"
7104 LIBS="$LIBS -lgd -lpng -lz -lm"
7105 cat >conftest.$ac_ext <<_ACEOF
7108 cat confdefs.h >>conftest.$ac_ext
7109 cat >>conftest.$ac_ext <<_ACEOF
7110 /* end confdefs.h. */
7120 rm -f conftest.$ac_objext conftest$ac_exeext
7121 if { (ac_try="$ac_link"
7123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7124 *) ac_try_echo
=$ac_try;;
7126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7127 (eval "$ac_link") 2>conftest.er1
7129 grep -v '^ *+' conftest.er1
>conftest.err
7131 cat conftest.err
>&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); } && {
7134 test -z "$ac_c_werror_flag" ||
7135 test ! -s conftest.err
7136 } && test -s conftest
$ac_exeext &&
7137 $as_test_x conftest
$ac_exeext; then
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.
$ac_ext >&5
7146 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7147 conftest
$ac_exeext conftest.
$ac_ext
7148 CFLAGS
="$old_CFLAGS"
7149 LDFLAGS
="$old_LDFLAGS"
7154 { echo "$as_me:$LINENO: result: $LIBGD" >&5
7155 echo "${ECHO_T}$LIBGD" >&6; }
7159 if test x
$with_selinux = xno
; then
7162 # See if we have the SELinux library
7163 { echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7164 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
7165 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7166 echo $ECHO_N "(cached) $ECHO_C" >&6
7168 ac_check_lib_save_LIBS
=$LIBS
7169 LIBS
="-lselinux $LIBS"
7170 cat >conftest.
$ac_ext <<_ACEOF
7173 cat confdefs.h
>>conftest.
$ac_ext
7174 cat >>conftest.
$ac_ext <<_ACEOF
7175 /* end confdefs.h. */
7177 /* Override any GCC internal prototype to avoid an error.
7178 Use char because int might match the return type of a GCC
7179 builtin and then its argument prototype would still apply. */
7183 char is_selinux_enabled ();
7187 return is_selinux_enabled ();
7192 rm -f conftest.
$ac_objext conftest
$ac_exeext
7193 if { (ac_try
="$ac_link"
7195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7196 *) ac_try_echo=$ac_try;;
7198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_link") 2>conftest.er1
7201 grep -v '^ *+' conftest.er1 >conftest.err
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } && {
7206 test -z "$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7208 } && test -s conftest$ac_exeext &&
7209 $as_test_x conftest$ac_exeext; then
7210 ac_cv_lib_selinux_is_selinux_enabled=yes
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.$ac_ext >&5
7215 ac_cv_lib_selinux_is_selinux_enabled=no
7218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7219 conftest$ac_exeext conftest.$ac_ext
7220 LIBS=$ac_check_lib_save_LIBS
7222 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7223 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7224 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
7230 # See if we have the SELinux header with the NSCD permissions in it.
7231 if test x$have_selinux = xyes ; then
7232 { echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7233 echo $ECHO_N "checking for NSCD Flask permissions in selinux/av_permissions.h... $ECHO_C" >&6; }
7234 cat >conftest.$ac_ext <<_ACEOF
7237 cat confdefs.h >>conftest.$ac_ext
7238 cat >>conftest.$ac_ext <<_ACEOF
7239 /* end confdefs.h. */
7240 #include <selinux/av_permissions.h>
7244 #ifdef NSCD__SHMEMHOST
7247 #error NSCD__SHMEMHOST not defined
7253 rm -f conftest.$ac_objext
7254 if { (ac_try="$ac_compile"
7256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7257 *) ac_try_echo
=$ac_try;;
7259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7260 (eval "$ac_compile") 2>conftest.er1
7262 grep -v '^ *+' conftest.er1
>conftest.err
7264 cat conftest.err
>&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } && {
7267 test -z "$ac_c_werror_flag" ||
7268 test ! -s conftest.err
7269 } && test -s conftest.
$ac_objext; then
7272 echo "$as_me: failed program was:" >&5
7273 sed 's/^/| /' conftest.
$ac_ext >&5
7278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7279 { echo "$as_me:$LINENO: result: $have_selinux" >&5
7280 echo "${ECHO_T}$have_selinux" >&6; }
7283 if test x
$with_selinux = xyes
; then
7284 if test x
$have_selinux = xno
; then
7285 { { echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7286 echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7287 { (exit 1); exit 1; }; }
7291 # Check if we're building with SELinux support.
7292 if test "x$have_selinux" = xyes
; then
7294 cat >>confdefs.h
<<\_ACEOF
7295 #define HAVE_SELINUX 1
7299 # See if we have the libaudit library
7300 { echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7301 echo $ECHO_N "checking for audit_log_user_avc_message in -laudit... $ECHO_C" >&6; }
7302 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7303 echo $ECHO_N "(cached) $ECHO_C" >&6
7305 ac_check_lib_save_LIBS
=$LIBS
7306 LIBS
="-laudit $LIBS"
7307 cat >conftest.
$ac_ext <<_ACEOF
7310 cat confdefs.h
>>conftest.
$ac_ext
7311 cat >>conftest.
$ac_ext <<_ACEOF
7312 /* end confdefs.h. */
7314 /* Override any GCC internal prototype to avoid an error.
7315 Use char because int might match the return type of a GCC
7316 builtin and then its argument prototype would still apply. */
7320 char audit_log_user_avc_message ();
7324 return audit_log_user_avc_message ();
7329 rm -f conftest.
$ac_objext conftest
$ac_exeext
7330 if { (ac_try
="$ac_link"
7332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336 (eval "$ac_link") 2>conftest.er1
7338 grep -v '^ *+' conftest.er1 >conftest.err
7340 cat conftest.err >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); } && {
7343 test -z "$ac_c_werror_flag" ||
7344 test ! -s conftest.err
7345 } && test -s conftest$ac_exeext &&
7346 $as_test_x conftest$ac_exeext; then
7347 ac_cv_lib_audit_audit_log_user_avc_message=yes
7349 echo "$as_me: failed program was:" >&5
7350 sed 's/^/| /' conftest.$ac_ext >&5
7352 ac_cv_lib_audit_audit_log_user_avc_message=no
7355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7356 conftest$ac_exeext conftest.$ac_ext
7357 LIBS=$ac_check_lib_save_LIBS
7359 { echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7360 echo "${ECHO_T}$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7361 if test $ac_cv_lib_audit_audit_log_user_avc_message = yes; then
7367 if test "x$have_libaudit" = xyes; then
7369 cat >>confdefs.h <<\_ACEOF
7370 #define HAVE_LIBAUDIT 1
7376 # See if we have the libcap library
7377 { echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7378 echo $ECHO_N "checking for cap_init in -lcap... $ECHO_C" >&6; }
7379 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 ac_check_lib_save_LIBS=$LIBS
7384 cat >conftest.$ac_ext <<_ACEOF
7387 cat confdefs.h >>conftest.$ac_ext
7388 cat >>conftest.$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7391 /* Override any GCC internal prototype to avoid an error.
7392 Use char because int might match the return type of a GCC
7393 builtin and then its argument prototype would still apply. */
7406 rm -f conftest.$ac_objext conftest$ac_exeext
7407 if { (ac_try="$ac_link"
7409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7410 *) ac_try_echo
=$ac_try;;
7412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7413 (eval "$ac_link") 2>conftest.er1
7415 grep -v '^ *+' conftest.er1
>conftest.err
7417 cat conftest.err
>&5
7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419 (exit $ac_status); } && {
7420 test -z "$ac_c_werror_flag" ||
7421 test ! -s conftest.err
7422 } && test -s conftest
$ac_exeext &&
7423 $as_test_x conftest
$ac_exeext; then
7424 ac_cv_lib_cap_cap_init
=yes
7426 echo "$as_me: failed program was:" >&5
7427 sed 's/^/| /' conftest.
$ac_ext >&5
7429 ac_cv_lib_cap_cap_init
=no
7432 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7433 conftest
$ac_exeext conftest.
$ac_ext
7434 LIBS
=$ac_check_lib_save_LIBS
7436 { echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7437 echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
7438 if test $ac_cv_lib_cap_cap_init = yes; then
7444 if test "x$have_libcap" = xyes
; then
7446 cat >>confdefs.h
<<\_ACEOF
7447 #define HAVE_LIBCAP 1
7456 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7457 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7458 if test "${ac_cv_path_GREP+set}" = set; then
7459 echo $ECHO_N "(cached) $ECHO_C" >&6
7461 # Extract the first word of "grep ggrep" to use in msg output
7462 if test -z "$GREP"; then
7463 set dummy
grep ggrep
; ac_prog_name
=$2
7464 if test "${ac_cv_path_GREP+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7467 ac_path_GREP_found
=false
7468 # Loop through the user's path and test for each of PROGNAME-LIST
7469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7470 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7473 test -z "$as_dir" && as_dir
=.
7474 for ac_prog
in grep ggrep
; do
7475 for ac_exec_ext
in '' $ac_executable_extensions; do
7476 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7477 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7478 # Check for GNU ac_path_GREP and select it if it is found.
7479 # Check for GNU $ac_path_GREP
7480 case `"$ac_path_GREP" --version 2>&1` in
7482 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7485 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7488 cat "conftest.in" "conftest.in" >"conftest.tmp"
7489 mv "conftest.tmp" "conftest.in"
7490 cp "conftest.in" "conftest.nl"
7491 echo 'GREP' >> "conftest.nl"
7492 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7493 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7494 ac_count
=`expr $ac_count + 1`
7495 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7496 # Best one so far, save it but keep looking for a better one
7497 ac_cv_path_GREP
="$ac_path_GREP"
7498 ac_path_GREP_max
=$ac_count
7500 # 10*(2^10) chars as input seems more than enough
7501 test $ac_count -gt 10 && break
7503 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7507 $ac_path_GREP_found && break 3
7517 GREP
="$ac_cv_path_GREP"
7518 if test -z "$GREP"; then
7519 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7520 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7521 { (exit 1); exit 1; }; }
7525 ac_cv_path_GREP
=$GREP
7530 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7531 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7532 GREP
="$ac_cv_path_GREP"
7535 { echo "$as_me:$LINENO: checking for egrep" >&5
7536 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7537 if test "${ac_cv_path_EGREP+set}" = set; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7541 then ac_cv_path_EGREP
="$GREP -E"
7543 # Extract the first word of "egrep" to use in msg output
7544 if test -z "$EGREP"; then
7545 set dummy
egrep; ac_prog_name
=$2
7546 if test "${ac_cv_path_EGREP+set}" = set; then
7547 echo $ECHO_N "(cached) $ECHO_C" >&6
7549 ac_path_EGREP_found
=false
7550 # Loop through the user's path and test for each of PROGNAME-LIST
7551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7552 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7555 test -z "$as_dir" && as_dir
=.
7556 for ac_prog
in egrep; do
7557 for ac_exec_ext
in '' $ac_executable_extensions; do
7558 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7559 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7560 # Check for GNU ac_path_EGREP and select it if it is found.
7561 # Check for GNU $ac_path_EGREP
7562 case `"$ac_path_EGREP" --version 2>&1` in
7564 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7567 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7570 cat "conftest.in" "conftest.in" >"conftest.tmp"
7571 mv "conftest.tmp" "conftest.in"
7572 cp "conftest.in" "conftest.nl"
7573 echo 'EGREP' >> "conftest.nl"
7574 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7575 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7576 ac_count
=`expr $ac_count + 1`
7577 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7578 # Best one so far, save it but keep looking for a better one
7579 ac_cv_path_EGREP
="$ac_path_EGREP"
7580 ac_path_EGREP_max
=$ac_count
7582 # 10*(2^10) chars as input seems more than enough
7583 test $ac_count -gt 10 && break
7585 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7589 $ac_path_EGREP_found && break 3
7599 EGREP
="$ac_cv_path_EGREP"
7600 if test -z "$EGREP"; then
7601 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7602 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7603 { (exit 1); exit 1; }; }
7607 ac_cv_path_EGREP
=$EGREP
7613 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7614 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7615 EGREP
="$ac_cv_path_EGREP"
7618 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7619 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7620 if test "${ac_cv_header_stdc+set}" = set; then
7621 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 cat >conftest.
$ac_ext <<_ACEOF
7626 cat confdefs.h
>>conftest.
$ac_ext
7627 cat >>conftest.
$ac_ext <<_ACEOF
7628 /* end confdefs.h. */
7642 rm -f conftest.
$ac_objext
7643 if { (ac_try
="$ac_compile"
7645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7646 *) ac_try_echo=$ac_try;;
7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_compile") 2>conftest.er1
7651 grep -v '^ *+' conftest.er1 >conftest.err
7653 cat conftest.err >&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } && {
7656 test -z "$ac_c_werror_flag" ||
7657 test ! -s conftest.err
7658 } && test -s conftest.$ac_objext; then
7659 ac_cv_header_stdc=yes
7661 echo "$as_me: failed program was:" >&5
7662 sed 's/^/| /' conftest.$ac_ext >&5
7664 ac_cv_header_stdc=no
7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7669 if test $ac_cv_header_stdc = yes; then
7670 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7671 cat >conftest.$ac_ext <<_ACEOF
7674 cat confdefs.h >>conftest.$ac_ext
7675 cat >>conftest.$ac_ext <<_ACEOF
7676 /* end confdefs.h. */
7680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7681 $EGREP "memchr" >/dev/null 2>&1; then
7684 ac_cv_header_stdc=no
7690 if test $ac_cv_header_stdc = yes; then
7691 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7692 cat >conftest.$ac_ext <<_ACEOF
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h. */
7701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7702 $EGREP "free" >/dev/null 2>&1; then
7705 ac_cv_header_stdc=no
7711 if test $ac_cv_header_stdc = yes; then
7712 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7713 if test "$cross_compiling" = yes; then
7716 cat >conftest.$ac_ext <<_ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7724 #if ((' ' & 0x0FF) == 0x020)
7725 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7726 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7728 # define ISLOWER(c) \
7729 (('a' <= (c) && (c) <= 'i') \
7730 || ('j' <= (c) && (c) <= 'r') \
7731 || ('s' <= (c) && (c) <= 'z'))
7732 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7735 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7740 for (i = 0; i < 256; i++)
7741 if (XOR (islower (i), ISLOWER (i))
7742 || toupper (i) != TOUPPER (i))
7747 rm -f conftest$ac_exeext
7748 if { (ac_try="$ac_link"
7750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7751 *) ac_try_echo
=$ac_try;;
7753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7754 (eval "$ac_link") 2>&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7758 { (case "(($ac_try" in
7759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7760 *) ac_try_echo=$ac_try;;
7762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7763 (eval "$ac_try") 2>&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); }; }; then
7769 echo "$as_me: program exited with status $ac_status" >&5
7770 echo "$as_me: failed program was:" >&5
7771 sed 's/^/| /' conftest.$ac_ext >&5
7774 ac_cv_header_stdc=no
7776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7782 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7783 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7784 if test $ac_cv_header_stdc = yes; then
7786 cat >>confdefs.h <<\_ACEOF
7787 #define STDC_HEADERS 1
7792 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7802 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7803 inttypes.h stdint.h unistd.h
7805 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7806 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7809 echo $ECHO_N "(cached) $ECHO_C" >&6
7811 cat >conftest.$ac_ext <<_ACEOF
7814 cat confdefs.h >>conftest.$ac_ext
7815 cat >>conftest.$ac_ext <<_ACEOF
7816 /* end confdefs.h. */
7817 $ac_includes_default
7819 #include <$ac_header>
7821 rm -f conftest.$ac_objext
7822 if { (ac_try="$ac_compile"
7824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7825 *) ac_try_echo
=$ac_try;;
7827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7828 (eval "$ac_compile") 2>conftest.er1
7830 grep -v '^ *+' conftest.er1
>conftest.err
7832 cat conftest.err
>&5
7833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834 (exit $ac_status); } && {
7835 test -z "$ac_c_werror_flag" ||
7836 test ! -s conftest.err
7837 } && test -s conftest.
$ac_objext; then
7838 eval "$as_ac_Header=yes"
7840 echo "$as_me: failed program was:" >&5
7841 sed 's/^/| /' conftest.
$ac_ext >&5
7843 eval "$as_ac_Header=no"
7846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7848 ac_res
=`eval echo '${'$as_ac_Header'}'`
7849 { echo "$as_me:$LINENO: result: $ac_res" >&5
7850 echo "${ECHO_T}$ac_res" >&6; }
7851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7852 cat >>confdefs.h
<<_ACEOF
7853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7861 { echo "$as_me:$LINENO: checking for long double" >&5
7862 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
7863 if test "${ac_cv_type_long_double+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7866 cat >conftest.
$ac_ext <<_ACEOF
7869 cat confdefs.h
>>conftest.
$ac_ext
7870 cat >>conftest.
$ac_ext <<_ACEOF
7871 /* end confdefs.h. */
7872 $ac_includes_default
7873 typedef long double ac__type_new_;
7877 if ((ac__type_new_ *) 0)
7879 if (sizeof (ac__type_new_))
7885 rm -f conftest.
$ac_objext
7886 if { (ac_try
="$ac_compile"
7888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7889 *) ac_try_echo=$ac_try;;
7891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7892 (eval "$ac_compile") 2>conftest.er1
7894 grep -v '^ *+' conftest.er1 >conftest.err
7896 cat conftest.err >&5
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 (exit $ac_status); } && {
7899 test -z "$ac_c_werror_flag" ||
7900 test ! -s conftest.err
7901 } && test -s conftest.$ac_objext; then
7902 ac_cv_type_long_double=yes
7904 echo "$as_me: failed program was:" >&5
7905 sed 's/^/| /' conftest.$ac_ext >&5
7907 ac_cv_type_long_double=no
7910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7912 { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
7913 echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
7915 # The cast to long int works around a bug in the HP C Compiler
7916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7917 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
7918 # This bug is HP SR number 8606223364.
7919 { echo "$as_me:$LINENO: checking size of long double" >&5
7920 echo $ECHO_N "checking size of long double... $ECHO_C" >&6; }
7921 if test "${ac_cv_sizeof_long_double+set}" = set; then
7922 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 if test "$cross_compiling" = yes; then
7925 # Depending upon the size, compute the lo and hi bounds.
7926 cat >conftest.$ac_ext <<_ACEOF
7929 cat confdefs.h >>conftest.$ac_ext
7930 cat >>conftest.$ac_ext <<_ACEOF
7931 /* end confdefs.h. */
7932 $ac_includes_default
7933 typedef long double ac__type_sizeof_;
7937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7944 rm -f conftest.$ac_objext
7945 if { (ac_try="$ac_compile"
7947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7948 *) ac_try_echo=$ac_try;;
7950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7951 (eval "$ac_compile") 2>conftest.er1
7953 grep -v '^
*+' conftest.er1 >conftest.err
7955 cat conftest.err >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } && {
7958 test -z "$ac_c_werror_flag" ||
7959 test ! -s conftest.err
7960 } && test -s conftest.$ac_objext; then
7963 cat >conftest.$ac_ext <<_ACEOF
7966 cat confdefs.h >>conftest.$ac_ext
7967 cat >>conftest.$ac_ext <<_ACEOF
7968 /* end confdefs.h. */
7969 $ac_includes_default
7970 typedef long double ac__type_sizeof_;
7974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7981 rm -f conftest.$ac_objext
7982 if { (ac_try="$ac_compile"
7984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7985 *) ac_try_echo=$ac_try;;
7987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7988 (eval "$ac_compile") 2>conftest.er1
7990 grep -v '^
*+' conftest.er1 >conftest.err
7992 cat conftest.err >&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } && {
7995 test -z "$ac_c_werror_flag" ||
7996 test ! -s conftest.err
7997 } && test -s conftest.$ac_objext; then
7998 ac_hi=$ac_mid; break
8000 echo "$as_me: failed program was:" >&5
8001 sed 's
/^
/|
/' conftest.$ac_ext >&5
8003 ac_lo=`expr $ac_mid + 1`
8004 if test $ac_lo -le $ac_mid; then
8008 ac_mid=`expr 2 '*' $ac_mid + 1`
8011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8014 echo "$as_me: failed program was:" >&5
8015 sed 's
/^
/|
/' conftest.$ac_ext >&5
8017 cat >conftest.$ac_ext <<_ACEOF
8020 cat confdefs.h >>conftest.$ac_ext
8021 cat >>conftest.$ac_ext <<_ACEOF
8022 /* end confdefs.h. */
8023 $ac_includes_default
8024 typedef long double ac__type_sizeof_;
8028 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8035 rm -f conftest.$ac_objext
8036 if { (ac_try="$ac_compile"
8038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8039 *) ac_try_echo=$ac_try;;
8041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8042 (eval "$ac_compile") 2>conftest.er1
8044 grep -v '^
*+' conftest.er1 >conftest.err
8046 cat conftest.err >&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); } && {
8049 test -z "$ac_c_werror_flag" ||
8050 test ! -s conftest.err
8051 } && test -s conftest.$ac_objext; then
8054 cat >conftest.$ac_ext <<_ACEOF
8057 cat confdefs.h >>conftest.$ac_ext
8058 cat >>conftest.$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8060 $ac_includes_default
8061 typedef long double ac__type_sizeof_;
8065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8072 rm -f conftest.$ac_objext
8073 if { (ac_try="$ac_compile"
8075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8076 *) ac_try_echo=$ac_try;;
8078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8079 (eval "$ac_compile") 2>conftest.er1
8081 grep -v '^
*+' conftest.er1 >conftest.err
8083 cat conftest.err >&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 (exit $ac_status); } && {
8086 test -z "$ac_c_werror_flag" ||
8087 test ! -s conftest.err
8088 } && test -s conftest.$ac_objext; then
8089 ac_lo=$ac_mid; break
8091 echo "$as_me: failed program was:" >&5
8092 sed 's
/^
/|
/' conftest.$ac_ext >&5
8094 ac_hi=`expr '(' $ac_mid ')' - 1`
8095 if test $ac_mid -le $ac_hi; then
8099 ac_mid=`expr 2 '*' $ac_mid`
8102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8105 echo "$as_me: failed program was:" >&5
8106 sed 's
/^
/|
/' conftest.$ac_ext >&5
8111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8115 # Binary search between lo and hi bounds.
8116 while test "x$ac_lo" != "x$ac_hi"; do
8117 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8118 cat >conftest.$ac_ext <<_ACEOF
8121 cat confdefs.h >>conftest.$ac_ext
8122 cat >>conftest.$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8124 $ac_includes_default
8125 typedef long double ac__type_sizeof_;
8129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8136 rm -f conftest.$ac_objext
8137 if { (ac_try="$ac_compile"
8139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8140 *) ac_try_echo=$ac_try;;
8142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8143 (eval "$ac_compile") 2>conftest.er1
8145 grep -v '^
*+' conftest.er1 >conftest.err
8147 cat conftest.err >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); } && {
8150 test -z "$ac_c_werror_flag" ||
8151 test ! -s conftest.err
8152 } && test -s conftest.$ac_objext; then
8155 echo "$as_me: failed program was:" >&5
8156 sed 's
/^
/|
/' conftest.$ac_ext >&5
8158 ac_lo=`expr '(' $ac_mid ')' + 1`
8161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8164 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8165 '') if test "$ac_cv_type_long_double" = yes; then
8166 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8167 See \`config.log' for more details.
" >&5
8168 echo "$as_me: error
: cannot compute sizeof
(long double
)
8169 See \
`config.log' for more details." >&2;}
8170 { (exit 77); exit 77; }; }
8172 ac_cv_sizeof_long_double=0
8176 cat >conftest.$ac_ext <<_ACEOF
8179 cat confdefs.h >>conftest.$ac_ext
8180 cat >>conftest.$ac_ext <<_ACEOF
8181 /* end confdefs.h. */
8182 $ac_includes_default
8183 typedef long double ac__type_sizeof_;
8184 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8185 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8192 FILE *f = fopen ("conftest.val", "w");
8195 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8197 long int i = longval ();
8198 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8200 fprintf (f, "%ld\n", i);
8204 unsigned long int i = ulongval ();
8205 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8207 fprintf (f, "%lu\n", i);
8209 return ferror (f) || fclose (f) != 0;
8215 rm -f conftest$ac_exeext
8216 if { (ac_try="$ac_link"
8218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8219 *) ac_try_echo
=$ac_try;;
8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_link") 2>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8226 { (case "(($ac_try" in
8227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8228 *) ac_try_echo=$ac_try;;
8230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8231 (eval "$ac_try") 2>&5
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; }; then
8235 ac_cv_sizeof_long_double=`cat conftest.val
`
8237 echo "$as_me: program exited with status $ac_status" >&5
8238 echo "$as_me: failed program was:" >&5
8239 sed 's/^/| /' conftest.$ac_ext >&5
8242 if test "$ac_cv_type_long_double" = yes; then
8243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8244 See \`config.log
' for more details." >&5
8245 echo "$as_me: error: cannot compute sizeof (long double)
8246 See \`config.log' for more details.
" >&2;}
8247 { (exit 77); exit 77; }; }
8249 ac_cv_sizeof_long_double=0
8252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8256 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8257 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6; }
8261 cat >>confdefs.h <<_ACEOF
8262 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8266 sizeof_long_double=$ac_cv_sizeof_long_double
8269 ### End of automated tests.
8270 ### Now run sysdeps configure fragments.
8272 # They also can set these variables.
8274 ldd_rewrite_script=no
8275 libc_cv_sysconfdir=$sysconfdir
8276 libc_cv_gcc_unwind_find_fde=no
8279 # Iterate over all the sysdep directories we will use, running their
8280 # configure fragments, and looking for a uname implementation.
8282 for dir in $sysnames; do
8285 *) dest=$srcdir/$dir ;;
8287 if test -r $dest/configure; then
8288 { echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8289 echo "${ECHO_T}running configure fragment
for $dir" >&6; }
8293 if test -z "$uname"; then
8294 if test -r $dest/uname.c ||
8295 test -r $dest/uname.S ||
8296 { test -r $dest/syscalls.list &&
8297 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8303 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8304 cat >>confdefs.h <<\_ACEOF
8305 #define EXPORT_UNWIND_FIND_FDE 1
8311 # If we will use the generic uname implementation, we must figure out what
8312 # it will say by examining the system, and write the results in config-name.h.
8313 if test "$uname" = "sysdeps
/generic
"; then
8315 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8316 if test $uname_sysname != $config_os; then
8317 config_release=`echo $config_os | sed s/$uname_sysname//`
8320 { echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8321 echo $ECHO_N "checking OS release
for uname...
$ECHO_C" >&6; }
8322 if test "${libc_cv_uname_release+set}" = set; then
8323 echo $ECHO_N "(cached
) $ECHO_C" >&6
8325 if test -r /vmunix; then
8326 kernel_id=`strings /vmunix | grep UNIX`
8327 elif test -r /dynix; then
8328 kernel_id=`strings /dynix | grep DYNIX`
8333 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8334 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8335 != x$config_release; then
8336 # The configuration release is a substring of the kernel release.
8337 libc_cv_uname_release=$kernel_release
8338 elif test x$config_release != x; then
8339 libc_cv_uname_release=$config_release
8340 elif test x$kernel_release != x; then
8341 libc_cv_uname_release=$kernel_release
8343 libc_cv_uname_release=unknown
8346 { echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8347 echo "${ECHO_T}$libc_cv_uname_release" >&6; }
8348 uname_release="$libc_cv_uname_release"
8350 { echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8351 echo $ECHO_N "checking OS version
for uname...
$ECHO_C" >&6; }
8352 if test "${libc_cv_uname_version+set}" = set; then
8353 echo $ECHO_N "(cached
) $ECHO_C" >&6
8355 if test -r /vmunix; then
8356 kernel_id=`strings /vmunix | grep UNIX`
8357 elif test -r /dynix; then
8358 kernel_id=`strings /dynix | grep DYNIX`
8363 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8364 if test -n "$kernel_version"; then
8365 libc_cv_uname_version="$kernel_version"
8367 libc_cv_uname_version=unknown
8370 { echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8371 echo "${ECHO_T}$libc_cv_uname_version" >&6; }
8372 uname_version="$libc_cv_uname_version"
8374 config_uname=config-name.h:config-name.in
8376 # For non-generic uname, we don't need to create config-name.h at all.
8380 cat >>confdefs.h <<\_ACEOF
8381 #define USE_IN_LIBIO 1
8385 # Test for old glibc 2.0.x headers so that they can be removed properly
8386 # Search only in includedir.
8387 { echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8388 echo $ECHO_N "checking
for old glibc
2.0.x headers...
$ECHO_C" >&6; }
8389 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8391 old_glibc_headers=yes
8393 old_glibc_headers=no
8395 { echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8396 echo "${ECHO_T}$old_glibc_headers" >&6; }
8397 if test ${old_glibc_headers} = yes; then
8398 { echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8399 echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8400 { echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8401 echo "$as_me: WARNING
: *** be removed.
" >&2;}
8415 if test $elf = yes; then
8416 cat >>confdefs.h <<\_ACEOF
8421 if test $xcoff = yes; then
8422 cat >>confdefs.h <<\_ACEOF
8423 #define HAVE_XCOFF 1
8430 if test $shared = default; then
8434 { echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8435 echo $ECHO_N "checking whether
-fPIC is default...
$ECHO_C" >&6; }
8436 if test "${pic_default+set}" = set; then
8437 echo $ECHO_N "(cached
) $ECHO_C" >&6
8440 cat > conftest.c <<EOF
8441 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8442 # error PIC is default.
8445 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8450 { echo "$as_me:$LINENO: result
: $pic_default" >&5
8451 echo "${ECHO_T}$pic_default" >&6; }
8464 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8467 config_makefile=Makefile
8470 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8471 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8475 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8477 ac_config_commands
="$ac_config_commands default"
8479 cat >confcache
<<\_ACEOF
8480 # This file is a shell script that caches the results of configure
8481 # tests run on this system so they can be shared between configure
8482 # scripts and configure runs, see configure's option --config-cache.
8483 # It is not useful on other systems. If it contains results you don't
8484 # want to keep, you may remove or edit it.
8486 # config.status only pays attention to the cache file if you give it
8487 # the --recheck option to rerun configure.
8489 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8490 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8495 # The following way of writing the cache mishandles newlines in values,
8496 # but we know of no workaround that is simple, portable, and efficient.
8497 # So, we kill variables containing newlines.
8498 # Ultrix sh set writes to stderr and can't be redirected directly,
8499 # and sets the high bit in the cache file unless we assign to the vars.
8501 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8502 eval ac_val
=\$
$ac_var
8506 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8507 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8510 _ | IFS | as_nl
) ;; #(
8511 *) $as_unset $ac_var ;;
8517 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8518 *${as_nl}ac_space
=\
*)
8519 # `set' does not quote correctly, so add quotes (double-quote
8520 # substitution turns \\\\ into \\, and sed turns \\ into \).
8523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8526 # `set' quotes correctly as required by POSIX, so do not add quotes.
8527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8536 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8538 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8540 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8541 if test -w "$cache_file"; then
8542 test "x$cache_file" != "x/dev/null" &&
8543 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8544 echo "$as_me: updating cache $cache_file" >&6;}
8545 cat confcache
>$cache_file
8547 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8548 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8553 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8554 # Let make expand exec_prefix.
8555 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8557 DEFS
=-DHAVE_CONFIG_H
8561 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8562 # 1. Remove the extension, and $U if already installed.
8563 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8564 ac_i
=`echo "$ac_i" | sed "$ac_script"`
8565 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8566 # will be set to the directory where LIBOBJS objects are built.
8567 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8568 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8572 LTLIBOBJS
=$ac_ltlibobjs
8576 : ${CONFIG_STATUS=./config.status}
8577 ac_clean_files_save
=$ac_clean_files
8578 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8579 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8580 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8581 cat >$CONFIG_STATUS <<_ACEOF
8583 # Generated by $as_me.
8584 # Run this file to recreate the current configuration.
8585 # Compiler output produced by configure, useful for debugging
8586 # configure, is in config.log if it exists.
8591 SHELL=\${CONFIG_SHELL-$SHELL}
8594 cat >>$CONFIG_STATUS <<\_ACEOF
8595 ## --------------------- ##
8596 ## M4sh Initialization. ##
8597 ## --------------------- ##
8599 # Be more Bourne compatible
8600 DUALCASE
=1; export DUALCASE
# for MKS sh
8601 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8604 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8605 # is contrary to our usage. Disable this feature.
8606 alias -g '${1+"$@"}'='"$@"'
8607 setopt NO_GLOB_SUBST
8609 case `(set -o) 2>/dev/null` in
8610 *posix
*) set -o posix
;;
8619 # Avoid depending upon Character Ranges.
8620 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8621 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8622 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8623 as_cr_digits
='0123456789'
8624 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8626 # The user is always right.
8627 if test "${PATH_SEPARATOR+set}" != set; then
8628 echo "#! /bin/sh" >conf$$.sh
8629 echo "exit 0" >>conf$$.sh
8631 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8639 # Support unset when possible.
8640 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8648 # We need space, tab and new line, in precisely that order. Quoting is
8649 # there to prevent editors from complaining about space-tab.
8650 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8651 # splitting by setting IFS to empty value.)
8656 # Find who we are. Look in the path if we contain no directory separator.
8658 *[\\/]* ) as_myself
=$0 ;;
8659 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8663 test -z "$as_dir" && as_dir
=.
8664 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8670 # We did not find ourselves, most probably we were run as `sh COMMAND'
8671 # in which case we are not to be found in the path.
8672 if test "x$as_myself" = x
; then
8675 if test ! -f "$as_myself"; then
8676 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8677 { (exit 1); exit 1; }
8680 # Work around bugs in pre-3.0 UWIN ksh.
8681 for as_var
in ENV MAIL MAILPATH
8682 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8690 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8691 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8692 LC_TELEPHONE LC_TIME
8694 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8695 eval $as_var=C
; export $as_var
8697 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8701 # Required to use basename.
8702 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8703 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8709 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8710 as_basename
=basename
8716 # Name of the executable.
8717 as_me
=`$as_basename -- "$0" ||
8718 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8719 X"$0" : 'X\(//\)$' \| \
8720 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8722 sed '/^.*\/\([^/][^/]*\)\/*$/{
8743 test "x$as_lineno_1" != "x$as_lineno_2" &&
8744 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8746 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8747 # uniformly replaced by the line number. The first 'sed' inserts a
8748 # line-number line after each line using $LINENO; the second 'sed'
8749 # does the real work. The second script uses 'N' to pair each
8750 # line-number line with the line containing $LINENO, and appends
8751 # trailing '-' during substitution so that $LINENO is not a special
8753 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8754 # scripts with optimization help from Paolo Bonzini. Blame Lee
8755 # E. McMahon (1931-1989) for sed's syntax. :-)
8767 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8771 chmod +x
"$as_me.lineno" ||
8772 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8773 { (exit 1); exit 1; }; }
8775 # Don't try to exec as it changes $[0], causing all sort of problems
8776 # (the dirname of $[0] is not the place where we might find the
8777 # original and so on. Autoconf is especially sensitive to this).
8779 # Exit status is that of the last command.
8784 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8790 ECHO_C
= ECHO_N
= ECHO_T
=
8793 case `echo 'x\c'` in
8794 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8801 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8802 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8808 rm -f conf$$ conf$$.exe conf$$.
file
8809 if test -d conf$$.dir
; then
8810 rm -f conf$$.dir
/conf$$.
file
8816 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8818 # ... but there are two gotchas:
8819 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8820 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8821 # In both cases, we have to default to `cp -p'.
8822 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8824 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8829 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8830 rmdir conf$$.dir
2>/dev
/null
8832 if mkdir
-p .
2>/dev
/null
; then
8835 test -d .
/-p && rmdir .
/-p
8839 if test -x / >/dev
/null
2>&1; then
8842 if ls -dL / >/dev
/null
2>&1; then
8849 if test -d "$1"; then
8855 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8856 ???[sx]*):;;*)false;;esac;fi
8860 as_executable_p
=$as_test_x
8862 # Sed expression to map a string onto a valid CPP name.
8863 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8865 # Sed expression to map a string onto a valid variable name.
8866 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8871 # Save the log message, to keep $[0] and so on meaningful, and to
8872 # report actual input values of CONFIG_FILES etc. instead of their
8873 # values after options handling.
8875 This file was extended by GNU C Library $as_me (see version.h), which was
8876 generated by GNU Autoconf 2.61. Invocation command line was
8878 CONFIG_FILES = $CONFIG_FILES
8879 CONFIG_HEADERS = $CONFIG_HEADERS
8880 CONFIG_LINKS = $CONFIG_LINKS
8881 CONFIG_COMMANDS = $CONFIG_COMMANDS
8884 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8889 cat >>$CONFIG_STATUS <<_ACEOF
8890 # Files that config.status was made for.
8891 config_files="$ac_config_files"
8892 config_headers="$ac_config_headers"
8893 config_commands="$ac_config_commands"
8897 cat >>$CONFIG_STATUS <<\_ACEOF
8899 \`$as_me' instantiates files from templates according to the
8900 current configuration.
8902 Usage: $0 [OPTIONS] [FILE]...
8904 -h, --help print this help, then exit
8905 -V, --version print version number and configuration settings, then exit
8906 -q, --quiet do not print progress messages
8907 -d, --debug don't remove temporary files
8908 --recheck update $as_me by reconfiguring in the same conditions
8909 --file=FILE[:TEMPLATE]
8910 instantiate the configuration file FILE
8911 --header=FILE[:TEMPLATE]
8912 instantiate the configuration header FILE
8914 Configuration files:
8917 Configuration headers:
8920 Configuration commands:
8923 Report bugs to <bug-autoconf@gnu.org>."
8926 cat >>$CONFIG_STATUS <<_ACEOF
8928 GNU C Library config.status (see version.h)
8929 configured by $0, generated by GNU Autoconf 2.61,
8930 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8932 Copyright (C) 2006 Free Software Foundation, Inc.
8933 This config.status script is free software; the Free Software Foundation
8934 gives unlimited permission to copy, distribute and modify it."
8941 cat >>$CONFIG_STATUS <<\_ACEOF
8942 # If no file are specified by the user, then we need to provide default
8943 # value. By we need to know if files were specified by the user.
8949 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8950 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8961 # Handling of the options.
8962 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8964 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8965 echo "$ac_cs_version"; exit ;;
8966 --debug |
--debu |
--deb |
--de |
--d |
-d )
8968 --file |
--fil |
--fi |
--f )
8970 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8971 ac_need_defaults
=false
;;
8972 --header |
--heade |
--head |
--hea )
8974 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8975 ac_need_defaults
=false
;;
8977 # Conflict between --help and --header
8978 { echo "$as_me: error: ambiguous option: $1
8979 Try \`$0 --help' for more information." >&2
8980 { (exit 1); exit 1; }; };;
8981 --help |
--hel |
-h )
8982 echo "$ac_cs_usage"; exit ;;
8983 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8984 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8988 -*) { echo "$as_me: error: unrecognized option: $1
8989 Try \`$0 --help' for more information." >&2
8990 { (exit 1); exit 1; }; } ;;
8992 *) ac_config_targets
="$ac_config_targets $1"
8993 ac_need_defaults
=false
;;
8999 ac_configure_extra_args
=
9001 if $ac_cs_silent; then
9003 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9007 cat >>$CONFIG_STATUS <<_ACEOF
9008 if \$ac_cs_recheck; then
9009 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9012 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9016 cat >>$CONFIG_STATUS <<\_ACEOF
9020 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9021 ## Running $as_me. ##
9027 cat >>$CONFIG_STATUS <<_ACEOF
9031 config_vars='$config_vars'
9035 cat >>$CONFIG_STATUS <<\_ACEOF
9037 # Handling of arguments.
9038 for ac_config_target
in $ac_config_targets
9040 case $ac_config_target in
9041 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9042 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9043 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9044 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9045 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9047 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9048 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9049 { (exit 1); exit 1; }; };;
9054 # If the user did not use the arguments to specify the items to instantiate,
9055 # then the envvar interface is used. Set only those that are not.
9056 # We use the long form for the default assignment because of an extremely
9057 # bizarre bug on SunOS 4.1.3.
9058 if $ac_need_defaults; then
9059 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9060 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9061 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9064 # Have a temporary directory for convenience. Make it in the build tree
9065 # simply because there is no reason against having it here, and in addition,
9066 # creating and moving files from /tmp can sometimes cause problems.
9067 # Hook for its removal unless debugging.
9068 # Note that there is a small window in which the directory will not be cleaned:
9069 # after its creation but before its name has been assigned to `$tmp'.
9073 trap 'exit_status=$?
9074 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9076 trap '{ (exit 1); exit 1; }' 1 2 13 15
9078 # Create a (secure) tmp directory for tmp files.
9081 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9082 test -n "$tmp" && test -d "$tmp"
9085 tmp
=.
/conf$$
-$RANDOM
9086 (umask 077 && mkdir
"$tmp")
9089 echo "$me: cannot create a temporary directory in ." >&2
9090 { (exit 1); exit 1; }
9094 # Set up the sed scripts for CONFIG_FILES section.
9097 # No need to generate the scripts if there are no CONFIG_FILES.
9098 # This happens for instance when ./config.status config.h
9099 if test -n "$CONFIG_FILES"; then
9106 for ac_last_try
in false false false false false
:; do
9107 cat >conf$
$subs.
sed <<_ACEOF
9108 SHELL!$SHELL$ac_delim
9109 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9110 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9111 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9112 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9113 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9114 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9115 exec_prefix!$exec_prefix$ac_delim
9116 prefix!$prefix$ac_delim
9117 program_transform_name!$program_transform_name$ac_delim
9118 bindir!$bindir$ac_delim
9119 sbindir!$sbindir$ac_delim
9120 libexecdir!$libexecdir$ac_delim
9121 datarootdir!$datarootdir$ac_delim
9122 datadir!$datadir$ac_delim
9123 sysconfdir!$sysconfdir$ac_delim
9124 sharedstatedir!$sharedstatedir$ac_delim
9125 localstatedir!$localstatedir$ac_delim
9126 includedir!$includedir$ac_delim
9127 oldincludedir!$oldincludedir$ac_delim
9128 docdir!$docdir$ac_delim
9129 infodir!$infodir$ac_delim
9130 htmldir!$htmldir$ac_delim
9131 dvidir!$dvidir$ac_delim
9132 pdfdir!$pdfdir$ac_delim
9133 psdir!$psdir$ac_delim
9134 libdir!$libdir$ac_delim
9135 localedir!$localedir$ac_delim
9136 mandir!$mandir$ac_delim
9138 ECHO_C!$ECHO_C$ac_delim
9139 ECHO_N!$ECHO_N$ac_delim
9140 ECHO_T!$ECHO_T$ac_delim
9142 build_alias!$build_alias$ac_delim
9143 host_alias!$host_alias$ac_delim
9144 target_alias!$target_alias$ac_delim
9145 with_fp!$with_fp$ac_delim
9146 with_cvs!$with_cvs$ac_delim
9147 enable_check_abi!$enable_check_abi$ac_delim
9148 oldest_abi!$oldest_abi$ac_delim
9149 bindnow!$bindnow$ac_delim
9150 force_install!$force_install$ac_delim
9151 all_warnings!$all_warnings$ac_delim
9152 build!$build$ac_delim
9153 build_cpu!$build_cpu$ac_delim
9154 build_vendor!$build_vendor$ac_delim
9155 build_os!$build_os$ac_delim
9157 host_cpu!$host_cpu$ac_delim
9158 host_vendor!$host_vendor$ac_delim
9159 host_os!$host_os$ac_delim
9160 subdirs!$subdirs$ac_delim
9161 add_ons!$add_ons$ac_delim
9162 add_on_subdirs!$add_on_subdirs$ac_delim
9163 base_machine!$base_machine$ac_delim
9164 submachine!$submachine$ac_delim
9165 sysnames!$sysnames$ac_delim
9166 sysdeps_add_ons!$sysdeps_add_ons$ac_delim
9167 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9168 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9169 INSTALL_DATA!$INSTALL_DATA$ac_delim
9172 CFLAGS!$CFLAGS$ac_delim
9173 LDFLAGS!$LDFLAGS$ac_delim
9174 CPPFLAGS!$CPPFLAGS$ac_delim
9175 ac_ct_CC!$ac_ct_CC$ac_delim
9176 OBJEXT!$OBJEXT$ac_delim
9177 BUILD_CC!$BUILD_CC$ac_delim
9178 cross_compiling!$cross_compiling$ac_delim
9181 CXXFLAGS!$CXXFLAGS$ac_delim
9182 ac_ct_CXX!$ac_ct_CXX$ac_delim
9184 OBJDUMP!$OBJDUMP$ac_delim
9185 RANLIB!$RANLIB$ac_delim
9189 PWD_P!$PWD_P$ac_delim
9191 MSGFMT!$MSGFMT$ac_delim
9192 MAKEINFO!$MAKEINFO$ac_delim
9194 AUTOCONF!$AUTOCONF$ac_delim
9195 SYSINCLUDES!$SYSINCLUDES$ac_delim
9196 CXX_SYSINCLUDES!$CXX_SYSINCLUDES$ac_delim
9197 libc_cv_gcc_static_libgcc!$libc_cv_gcc_static_libgcc$ac_delim
9198 BASH_SHELL!$BASH_SHELL$ac_delim
9199 libc_cv_have_bash2!$libc_cv_have_bash2$ac_delim
9201 libc_cv_have_ksh!$libc_cv_have_ksh$ac_delim
9204 INSTALL_INFO!$INSTALL_INFO$ac_delim
9207 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9209 elif $ac_last_try; then
9210 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9211 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9212 { (exit 1); exit 1; }; }
9214 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9218 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9219 if test -n "$ac_eof"; then
9220 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9221 ac_eof
=`expr $ac_eof + 1`
9224 cat >>$CONFIG_STATUS <<_ACEOF
9225 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9226 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9229 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9230 s/^/s,@/; s/!/@,|#_!!_#|/
9233 s/'"$ac_delim"'$/,g/; t
9235 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9236 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9237 rm -f conf$
$subs.
sed
9238 cat >>$CONFIG_STATUS <<_ACEOF
9244 for ac_last_try
in false false false false false
:; do
9245 cat >conf$
$subs.
sed <<_ACEOF
9246 BISON!$BISON$ac_delim
9247 VERSIONING!$VERSIONING$ac_delim
9248 libc_cv_cc_with_libunwind!$libc_cv_cc_with_libunwind$ac_delim
9249 libc_cv_Bgroup!$libc_cv_Bgroup$ac_delim
9250 libc_cv_libgcc_s_suffix!$libc_cv_libgcc_s_suffix$ac_delim
9251 libc_cv_as_needed!$libc_cv_as_needed$ac_delim
9252 ASFLAGS_config!$ASFLAGS_config$ac_delim
9253 libc_cv_z_combreloc!$libc_cv_z_combreloc$ac_delim
9254 libc_cv_z_execstack!$libc_cv_z_execstack$ac_delim
9255 libc_cv_fpie!$libc_cv_fpie$ac_delim
9256 libc_cv_hashstyle!$libc_cv_hashstyle$ac_delim
9257 fno_unit_at_a_time!$fno_unit_at_a_time$ac_delim
9258 libc_cv_ssp!$libc_cv_ssp$ac_delim
9259 libc_cv_gnu89_inline!$libc_cv_gnu89_inline$ac_delim
9260 libc_cv_have_initfini!$libc_cv_have_initfini$ac_delim
9261 no_whole_archive!$no_whole_archive$ac_delim
9262 exceptions!$exceptions$ac_delim
9263 LIBGD!$LIBGD$ac_delim
9264 have_libaudit!$have_libaudit$ac_delim
9265 have_libcap!$have_libcap$ac_delim
9266 have_selinux!$have_selinux$ac_delim
9268 EGREP!$EGREP$ac_delim
9269 sizeof_long_double!$sizeof_long_double$ac_delim
9270 libc_cv_gcc_unwind_find_fde!$libc_cv_gcc_unwind_find_fde$ac_delim
9271 uname_sysname!$uname_sysname$ac_delim
9272 uname_release!$uname_release$ac_delim
9273 uname_version!$uname_version$ac_delim
9274 old_glibc_headers!$old_glibc_headers$ac_delim
9275 libc_cv_slibdir!$libc_cv_slibdir$ac_delim
9276 libc_cv_localedir!$libc_cv_localedir$ac_delim
9277 libc_cv_sysconfdir!$libc_cv_sysconfdir$ac_delim
9278 libc_cv_rootsbindir!$libc_cv_rootsbindir$ac_delim
9279 libc_cv_forced_unwind!$libc_cv_forced_unwind$ac_delim
9280 use_ldconfig!$use_ldconfig$ac_delim
9281 ldd_rewrite_script!$ldd_rewrite_script$ac_delim
9283 xcoff!$xcoff$ac_delim
9284 static!$static$ac_delim
9285 shared!$shared$ac_delim
9286 pic_default!$pic_default$ac_delim
9287 profile!$profile$ac_delim
9288 omitfp!$omitfp$ac_delim
9289 bounded!$bounded$ac_delim
9290 static_nss!$static_nss$ac_delim
9291 nopic_initfini!$nopic_initfini$ac_delim
9292 DEFINES!$DEFINES$ac_delim
9293 mach_interface_list!$mach_interface_list$ac_delim
9294 VERSION!$VERSION$ac_delim
9295 RELEASE!$RELEASE$ac_delim
9296 LIBOBJS!$LIBOBJS$ac_delim
9297 LTLIBOBJS!$LTLIBOBJS$ac_delim
9300 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
9302 elif $ac_last_try; then
9303 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9304 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9305 { (exit 1); exit 1; }; }
9307 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9311 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9312 if test -n "$ac_eof"; then
9313 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9314 ac_eof
=`expr $ac_eof + 1`
9317 cat >>$CONFIG_STATUS <<_ACEOF
9318 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9319 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9322 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9323 s/^/s,@/; s/!/@,|#_!!_#|/
9326 s/'"$ac_delim"'$/,g/; t
9328 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9329 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9330 rm -f conf$
$subs.
sed
9331 cat >>$CONFIG_STATUS <<_ACEOF
9338 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9339 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9340 # trailing colons and then remove the whole line if VPATH becomes empty
9341 # (actually we leave an empty line to preserve line numbers).
9342 if test "x$srcdir" = x.
; then
9343 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9347 s/^\([^=]*=[ ]*\):*/\1/
9353 cat >>$CONFIG_STATUS <<\_ACEOF
9354 fi # test -n "$CONFIG_FILES"
9357 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
9360 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9362 case $ac_mode$ac_tag in
9364 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9365 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9366 { (exit 1); exit 1; }; };;
9367 :[FH
]-) ac_tag
=-:-;;
9368 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9385 -) ac_f
="$tmp/stdin";;
9386 *) # Look for the file first in the build tree, then in the source tree
9387 # (if the path is not absolute). The absolute path cannot be DOS-style,
9388 # because $ac_f cannot contain `:'.
9392 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9394 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9395 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9396 { (exit 1); exit 1; }; };;
9398 ac_file_inputs
="$ac_file_inputs $ac_f"
9401 # Let's still pretend it is `configure' which instantiates (i.e., don't
9402 # use $as_me), people would be surprised to read:
9403 # /* config.h. Generated by config.status. */
9404 configure_input
="Generated from "`IFS=:
9405 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9406 if test x
"$ac_file" != x-
; then
9407 configure_input
="$ac_file. $configure_input"
9408 { echo "$as_me:$LINENO: creating $ac_file" >&5
9409 echo "$as_me: creating $ac_file" >&6;}
9413 *:-:* |
*:-) cat >"$tmp/stdin";;
9418 ac_dir
=`$as_dirname -- "$ac_file" ||
9419 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9420 X"$ac_file" : 'X\(//\)[^/]' \| \
9421 X"$ac_file" : 'X\(//\)$' \| \
9422 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9443 -*) as_dir
=.
/$as_dir;;
9445 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9449 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9450 *) as_qdir
=$as_dir;;
9452 as_dirs
="'$as_qdir' $as_dirs"
9453 as_dir
=`$as_dirname -- "$as_dir" ||
9454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9455 X"$as_dir" : 'X\(//\)[^/]' \| \
9456 X"$as_dir" : 'X\(//\)$' \| \
9457 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9476 test -d "$as_dir" && break
9478 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9479 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9480 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9481 { (exit 1); exit 1; }; }; }
9485 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9487 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9488 # A ".." for each directory in $ac_dir_suffix.
9489 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9490 case $ac_top_builddir_sub in
9491 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9492 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9495 ac_abs_top_builddir
=$ac_pwd
9496 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9497 # for backward compatibility:
9498 ac_top_builddir
=$ac_top_build_prefix
9501 .
) # We are building in place.
9503 ac_top_srcdir
=$ac_top_builddir_sub
9504 ac_abs_top_srcdir
=$ac_pwd ;;
9505 [\\/]* | ?
:[\\/]* ) # Absolute name.
9506 ac_srcdir
=$srcdir$ac_dir_suffix;
9507 ac_top_srcdir
=$srcdir
9508 ac_abs_top_srcdir
=$srcdir ;;
9510 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9511 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9512 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9514 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9524 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9525 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9529 cat >>$CONFIG_STATUS <<\_ACEOF
9530 # If the template does not know about datarootdir, expand it.
9531 # FIXME: This hack should be removed a few years after 2.60.
9532 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9534 case `sed -n '/datarootdir/ {
9543 ' $ac_file_inputs` in
9544 *datarootdir
*) ac_datarootdir_seen
=yes;;
9545 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9546 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9547 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9549 cat >>$CONFIG_STATUS <<_ACEOF
9550 ac_datarootdir_hack='
9551 s&@datadir@&$datadir&g
9552 s&@docdir@&$docdir&g
9553 s&@infodir@&$infodir&g
9554 s&@localedir@&$localedir&g
9555 s&@mandir@&$mandir&g
9556 s&\\\${datarootdir}&$datarootdir&g' ;;
9560 # Neutralize VPATH when `$srcdir' = `.'.
9561 # Shell code in configure.ac might set extrasub.
9562 # FIXME: do we really want to maintain this feature?
9563 cat >>$CONFIG_STATUS <<_ACEOF
9567 cat >>$CONFIG_STATUS <<\_ACEOF
9569 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9570 s
&@configure_input@
&$configure_input&;t t
9571 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9572 s
&@srcdir@
&$ac_srcdir&;t t
9573 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9574 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9575 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9576 s
&@builddir@
&$ac_builddir&;t t
9577 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9578 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9579 s
&@INSTALL@
&$ac_INSTALL&;t t
9580 $ac_datarootdir_hack
9581 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
9583 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9584 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9585 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9586 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9587 which seems to be undefined. Please make sure it is defined." >&5
9588 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9589 which seems to be undefined. Please make sure it is defined." >&2;}
9593 -) cat "$tmp/out"; rm -f "$tmp/out";;
9594 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9603 # Transform confdefs.h into a sed script `conftest.defines', that
9604 # substitutes the proper values into config.h.in to produce config.h.
9605 rm -f conftest.defines conftest.
tail
9606 # First, append a space to every undef/define line, to ease matching.
9607 echo 's/$/ /' >conftest.defines
9608 # Then, protect against being on the right side of a sed subst, or in
9609 # an unquoted here document, in config.status. If some macros were
9610 # called several times there might be several #defines for the same
9611 # symbol, which is useless. But do not sort them, since the last
9612 # AC_DEFINE must be honored.
9613 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
9614 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9615 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9616 # PARAMS is the parameter list in the macro definition--in most cases, it's
9617 # just an empty string.
9618 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9619 ac_dB
='\\)[ (].*,\\1define\\2'
9627 s/^[ ]*#[ ]*define[ ][ ]*//
9632 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9633 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9634 ' >>conftest.defines
9636 # Remove the space that was appended to ease matching.
9637 # Then replace #undef with comments. This is necessary, for
9638 # example, in the case of _POSIX_SOURCE, which is predefined and required
9639 # on some systems where configure will not decide to define it.
9640 # (The regexp can be short, since the line contains either #define or #undef.)
9642 s,^[ #]*u.*,/* & */,' >>conftest.defines
9644 # Break up conftest.defines:
9647 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9648 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9649 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9651 ac_in
='$ac_file_inputs'
9652 ac_out
='"$tmp/out1"'
9653 ac_nxt
='"$tmp/out2"'
9657 # Write a here document:
9658 cat >>$CONFIG_STATUS <<_ACEOF
9659 # First, check the format of the line:
9660 cat >"\$tmp/defines.sed" <<\\CEOF
9661 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9662 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9666 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
9668 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9669 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
9670 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
9671 grep . conftest.
tail >/dev
/null ||
break
9672 rm -f conftest.defines
9673 mv conftest.
tail conftest.defines
9675 rm -f conftest.defines conftest.
tail
9677 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9678 cat >>$CONFIG_STATUS <<\_ACEOF
9679 if test x
"$ac_file" != x-
; then
9680 echo "/* $configure_input */" >"$tmp/config.h"
9681 cat "$ac_result" >>"$tmp/config.h"
9682 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
9683 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9684 echo "$as_me: $ac_file is unchanged" >&6;}
9687 mv "$tmp/config.h" $ac_file
9690 echo "/* $configure_input */"
9696 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9697 echo "$as_me: executing $ac_file commands" >&6;}
9702 case $ac_file$ac_mode in
9704 case $CONFIG_FILES in *config.
make*)
9705 echo "$config_vars" >> config.
make;;
9707 test -d bits || mkdir bits
;;
9713 { (exit 0); exit 0; }
9715 chmod +x
$CONFIG_STATUS
9716 ac_clean_files
=$ac_clean_files_save
9719 # configure is writing to config.log, and then calls config.status.
9720 # config.status does its own redirection, appending to config.log.
9721 # Unfortunately, on DOS this fails, as config.log is still kept open
9722 # by configure, so config.status won't be able to write to it; its
9723 # output is simply discarded. So we exec the FD to /dev/null,
9724 # effectively closing config.log, so it can be properly (re)opened and
9725 # appended to by config.status. When coming back to configure, we
9726 # need to make the FD available again.
9727 if test "$no_create" != yes; then
9729 ac_config_status_args
=
9730 test "$silent" = yes &&
9731 ac_config_status_args
="$ac_config_status_args --quiet"
9733 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9735 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9736 # would make configure fail if this is the last instruction.
9737 $ac_cs_success ||
{ (exit 1); exit 1; }
9741 # CONFIG_SUBDIRS section.
9743 if test "$no_recursion" != yes; then
9745 # Remove --cache-file and --srcdir arguments so they do not pile up.
9746 ac_sub_configure_args
=
9748 eval "set x $ac_configure_args"
9752 if test -n "$ac_prev"; then
9757 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
9758 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
9759 ac_prev
=cache_file
;;
9760 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
9761 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
9764 --config-cache |
-C)
9766 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
9768 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
9770 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
9772 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
9776 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9778 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
9782 # Always prepend --prefix to ensure using the same prefix
9783 # in subdir configurations.
9784 ac_arg
="--prefix=$prefix"
9786 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9788 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
9791 if test "$silent" = yes; then
9792 ac_sub_configure_args
="--silent $ac_sub_configure_args"
9796 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
9798 # Do not complain, so a configure script can configure whichever
9799 # parts of a large source tree are present.
9800 test -d "$srcdir/$ac_dir" ||
continue
9802 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9803 echo "$as_me:$LINENO: $ac_msg" >&5
9807 -*) as_dir
=.
/$as_dir;;
9809 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9813 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9814 *) as_qdir
=$as_dir;;
9816 as_dirs
="'$as_qdir' $as_dirs"
9817 as_dir
=`$as_dirname -- "$as_dir" ||
9818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9819 X"$as_dir" : 'X\(//\)[^/]' \| \
9820 X"$as_dir" : 'X\(//\)$' \| \
9821 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9840 test -d "$as_dir" && break
9842 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9843 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9844 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9845 { (exit 1); exit 1; }; }; }
9849 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9851 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9852 # A ".." for each directory in $ac_dir_suffix.
9853 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9854 case $ac_top_builddir_sub in
9855 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9856 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9859 ac_abs_top_builddir
=$ac_pwd
9860 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9861 # for backward compatibility:
9862 ac_top_builddir
=$ac_top_build_prefix
9865 .
) # We are building in place.
9867 ac_top_srcdir
=$ac_top_builddir_sub
9868 ac_abs_top_srcdir
=$ac_pwd ;;
9869 [\\/]* | ?
:[\\/]* ) # Absolute name.
9870 ac_srcdir
=$srcdir$ac_dir_suffix;
9871 ac_top_srcdir
=$srcdir
9872 ac_abs_top_srcdir
=$srcdir ;;
9874 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9875 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9876 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9878 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9883 # Check for guested configure; otherwise get Cygnus style configure.
9884 if test -f "$ac_srcdir/configure.gnu"; then
9885 ac_sub_configure
=$ac_srcdir/configure.gnu
9886 elif test -f "$ac_srcdir/configure"; then
9887 ac_sub_configure
=$ac_srcdir/configure
9888 elif test -f "$ac_srcdir/configure.in"; then
9889 # This should be Cygnus configure.
9890 ac_sub_configure
=$ac_aux_dir/configure
9892 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9893 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9897 # The recursion is here.
9898 if test -n "$ac_sub_configure"; then
9899 # Make the cache file name correct relative to the subdirectory.
9901 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
9903 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
9906 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9907 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9908 # The eval makes quoting arguments work.
9909 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9910 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9911 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
9912 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
9913 { (exit 1); exit 1; }; }