2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 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, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a : '\(a\)' >/dev/null 2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001; then
145 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x; then
177 if (eval ":") 2>/dev/null; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev/null; then
243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
244 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir=.
250 for as_base in sh bash ksh sh5; do
251 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
258 for as_shell in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev/null <<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
280 CONFIG_SHELL=$as_shell
282 if { "$as_shell" 2> /dev/null <<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix*) set -o posix ;;
308 as_func_ret_success () {
311 as_func_ret_failure () {
316 if as_func_success; then
320 echo as_func_success failed.
323 if as_func_failure; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure; then
337 echo as_func_ret_failure succeeded.
340 if ( set x; as_func_ret_success y && test x = "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) || { (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x; then
365 for as_var in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no; then
374 echo This script requires a shell more modern than all the
375 echo shells that I found on your system. Please install a
376 echo modern shell, or manually run the script under such a
377 echo shell if you do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") || {
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system,
439 echo including any error possibly output before this message.
440 echo This can help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x "$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
495 ECHO_C= ECHO_N= ECHO_T=
499 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 if expr a : '\(a\)' >/dev/null 2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001; then
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 elif ln conf$$.file conf$$ 2>/dev/null; then
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
542 test -d ./-p && rmdir ./-p
546 if test -x / >/dev/null 2>&1; then
549 if ls -dL / >/dev/null 2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 exec 7<&0 </dev/null 6>&1
580 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
581 # so uname gets run too.
582 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
587 ac_default_prefix=/usr/local
589 ac_config_libobj_dir=.
595 SHELL=${CONFIG_SHELL-/bin/sh}
597 # Identity of this package.
598 PACKAGE_NAME='GNU C Library'
599 PACKAGE_TARNAME='c-library'
600 PACKAGE_VERSION='(see version.h)'
601 PACKAGE_STRING='GNU C Library (see version.h)'
602 PACKAGE_BUGREPORT='glibc'
604 ac_unique_file="include/features.h"
605 enable_option_checking=no
606 # Factoring default headers for most tests.
607 ac_includes_default="\
609 #ifdef HAVE_SYS_TYPES_H
610 # include <sys/types.h>
612 #ifdef HAVE_SYS_STAT_H
613 # include <sys/stat.h>
619 # ifdef HAVE_STDLIB_H
624 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
642 ac_subst_vars='LTLIBOBJS
662 libc_cv_cpp_asm_debuginfo
663 libc_cv_forced_unwind
672 libc_cv_gcc_unwind_find_fde
680 libc_cv_cc_submachine
683 libc_cv_have_initfini
693 libc_cv_libgcc_s_suffix
695 libc_cv_cc_with_libunwind
705 libc_cv_gcc_static_libgcc
792 program_transform_name
804 enable_option_checking
823 enable_stackguard_randomization
836 enable_experimental_malloc
840 ac_precious_vars='build_alias
855 # Initialize some variables set by options.
857 ac_init_version=false
858 ac_unrecognized_opts=
860 # The variables have the same names as the options, with
861 # dashes changed to underlines.
869 program_transform_name=s,x,x,
877 # Installation directory options.
878 # These are left unexpanded so users can "make install exec_prefix=/foo"
879 # and all the variables that are supposed to be based on exec_prefix
880 # by default will actually change.
881 # Use braces instead of parens because sh, perl, etc. also accept them.
882 # (The list follows the same order as the GNU Coding Standards.)
883 bindir='${exec_prefix}/bin'
884 sbindir='${exec_prefix}/sbin'
885 libexecdir='${exec_prefix}/libexec'
886 datarootdir='${prefix}/share'
887 datadir='${datarootdir}'
888 sysconfdir='${prefix}/etc'
889 sharedstatedir='${prefix}/com'
890 localstatedir='${prefix}/var'
891 includedir='${prefix}/include'
892 oldincludedir='/usr/include'
893 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
894 infodir='${datarootdir}/info'
899 libdir='${exec_prefix}/lib'
900 localedir='${datarootdir}/locale'
901 mandir='${datarootdir}/man'
907 # If the previous option needs an argument, assign it.
908 if test -n "$ac_prev"; then
909 eval $ac_prev=\$ac_option
915 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
919 # Accept the important Cygnus configure options, so we can diagnose typos.
921 case $ac_dashdash$ac_option in
925 -bindir | --bindir | --bindi | --bind | --bin | --bi)
927 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
930 -build | --build | --buil | --bui | --bu)
931 ac_prev=build_alias ;;
932 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
933 build_alias=$ac_optarg ;;
935 -cache-file | --cache-file | --cache-fil | --cache-fi \
936 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
937 ac_prev=cache_file ;;
938 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
939 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
940 cache_file=$ac_optarg ;;
943 cache_file=config.cache ;;
945 -datadir | --datadir | --datadi | --datad)
947 -datadir=* | --datadir=* | --datadi=* | --datad=*)
948 datadir=$ac_optarg ;;
950 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
951 | --dataroo | --dataro | --datar)
952 ac_prev=datarootdir ;;
953 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
954 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
955 datarootdir=$ac_optarg ;;
957 -disable-* | --disable-*)
958 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
962 { (exit 1); exit 1; }; }
963 ac_useropt_orig=$ac_useropt
964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
970 ac_unrecognized_sep=', ';;
972 eval enable_$ac_useropt=no ;;
974 -docdir | --docdir | --docdi | --doc | --do)
976 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
979 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
981 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
984 -enable-* | --enable-*)
985 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
988 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
989 { (exit 1); exit 1; }; }
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
999 eval enable_$ac_useropt=\$ac_optarg ;;
1001 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003 | --exec | --exe | --ex)
1004 ac_prev=exec_prefix ;;
1005 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007 | --exec=* | --exe=* | --ex=*)
1008 exec_prefix=$ac_optarg ;;
1010 -gas | --gas | --ga | --g)
1011 # Obsolete; use --with-gas.
1014 -help | --help | --hel | --he | -h)
1015 ac_init_help=long ;;
1016 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1017 ac_init_help=recursive ;;
1018 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1019 ac_init_help=short ;;
1021 -host | --host | --hos | --ho)
1022 ac_prev=host_alias ;;
1023 -host=* | --host=* | --hos=* | --ho=*)
1024 host_alias=$ac_optarg ;;
1026 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030 htmldir=$ac_optarg ;;
1032 -includedir | --includedir | --includedi | --included | --include \
1033 | --includ | --inclu | --incl | --inc)
1034 ac_prev=includedir ;;
1035 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036 | --includ=* | --inclu=* | --incl=* | --inc=*)
1037 includedir=$ac_optarg ;;
1039 -infodir | --infodir | --infodi | --infod | --info | --inf)
1041 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042 infodir=$ac_optarg ;;
1044 -libdir | --libdir | --libdi | --libd)
1046 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1047 libdir=$ac_optarg ;;
1049 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050 | --libexe | --libex | --libe)
1051 ac_prev=libexecdir ;;
1052 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053 | --libexe=* | --libex=* | --libe=*)
1054 libexecdir=$ac_optarg ;;
1056 -localedir | --localedir | --localedi | --localed | --locale)
1057 ac_prev=localedir ;;
1058 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059 localedir=$ac_optarg ;;
1061 -localstatedir | --localstatedir | --localstatedi | --localstated \
1062 | --localstate | --localstat | --localsta | --localst | --locals)
1063 ac_prev=localstatedir ;;
1064 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066 localstatedir=$ac_optarg ;;
1068 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071 mandir=$ac_optarg ;;
1073 -nfp | --nfp | --nf)
1074 # Obsolete; use --without-fp.
1077 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078 | --no-cr | --no-c | -n)
1081 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1085 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087 | --oldin | --oldi | --old | --ol | --o)
1088 ac_prev=oldincludedir ;;
1089 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092 oldincludedir=$ac_optarg ;;
1094 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097 prefix=$ac_optarg ;;
1099 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1100 | --program-pre | --program-pr | --program-p)
1101 ac_prev=program_prefix ;;
1102 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1103 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104 program_prefix=$ac_optarg ;;
1106 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1107 | --program-suf | --program-su | --program-s)
1108 ac_prev=program_suffix ;;
1109 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1110 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111 program_suffix=$ac_optarg ;;
1113 -program-transform-name | --program-transform-name \
1114 | --program-transform-nam | --program-transform-na \
1115 | --program-transform-n | --program-transform- \
1116 | --program-transform | --program-transfor \
1117 | --program-transfo | --program-transf \
1118 | --program-trans | --program-tran \
1119 | --progr-tra | --program-tr | --program-t)
1120 ac_prev=program_transform_name ;;
1121 -program-transform-name=* | --program-transform-name=* \
1122 | --program-transform-nam=* | --program-transform-na=* \
1123 | --program-transform-n=* | --program-transform-=* \
1124 | --program-transform=* | --program-transfor=* \
1125 | --program-transfo=* | --program-transf=* \
1126 | --program-trans=* | --program-tran=* \
1127 | --progr-tra=* | --program-tr=* | --program-t=*)
1128 program_transform_name=$ac_optarg ;;
1130 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133 pdfdir=$ac_optarg ;;
1135 -psdir | --psdir | --psdi | --psd | --ps)
1137 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141 | -silent | --silent | --silen | --sile | --sil)
1144 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148 sbindir=$ac_optarg ;;
1150 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1151 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1152 | --sharedst | --shareds | --shared | --share | --shar \
1154 ac_prev=sharedstatedir ;;
1155 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1156 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1157 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159 sharedstatedir=$ac_optarg ;;
1161 -site | --site | --sit)
1163 -site=* | --site=* | --sit=*)
1166 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1169 srcdir=$ac_optarg ;;
1171 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1172 | --syscon | --sysco | --sysc | --sys | --sy)
1173 ac_prev=sysconfdir ;;
1174 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1175 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1176 sysconfdir=$ac_optarg ;;
1178 -target | --target | --targe | --targ | --tar | --ta | --t)
1179 ac_prev=target_alias ;;
1180 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1181 target_alias=$ac_optarg ;;
1183 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1186 -version | --version | --versio | --versi | --vers | -V)
1187 ac_init_version=: ;;
1190 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1194 { (exit 1); exit 1; }; }
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1204 eval with_$ac_useropt=\$ac_optarg ;;
1206 -without-* | --without-*)
1207 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1211 { (exit 1); exit 1; }; }
1212 ac_useropt_orig=$ac_useropt
1213 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1214 case $ac_user_opts in
1218 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1219 ac_unrecognized_sep=', ';;
1221 eval with_$ac_useropt=no ;;
1224 # Obsolete; use --with-x.
1227 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1228 | --x-incl | --x-inc | --x-in | --x-i)
1229 ac_prev=x_includes ;;
1230 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1231 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1232 x_includes=$ac_optarg ;;
1234 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1235 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1236 ac_prev=x_libraries ;;
1237 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1238 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1239 x_libraries=$ac_optarg ;;
1241 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1242 Try \`$0 --help' for more information." >&2
1243 { (exit 1); exit 1; }; }
1247 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1250 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1251 { (exit 1); exit 1; }; }
1252 eval $ac_envvar=\$ac_optarg
1253 export $ac_envvar ;;
1256 # FIXME: should be removed in autoconf 3.0.
1257 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1258 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1259 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1260 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1266 if test -n "$ac_prev"; then
1267 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1268 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1269 { (exit 1); exit 1; }; }
1272 if test -n "$ac_unrecognized_opts"; then
1273 case $enable_option_checking in
1275 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1276 { (exit 1); exit 1; }; } ;;
1277 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281 # Check all directory arguments for consistency.
1282 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir
1287 eval ac_val=\$$ac_var
1288 # Remove trailing slashes.
1291 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292 eval $ac_var=\$ac_val;;
1294 # Be sure to have absolute directory names.
1296 [\\/$]* | ?:[\\/]* ) continue;;
1297 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1299 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1300 { (exit 1); exit 1; }; }
1303 # There might be people who depend on the old broken behavior: `$host'
1304 # used to hold the argument of --host etc.
1305 # FIXME: To remove some day.
1308 target=$target_alias
1310 # FIXME: To remove some day.
1311 if test "x$host_alias" != x; then
1312 if test "x$build_alias" = x; then
1313 cross_compiling=maybe
1314 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1315 If a cross compiler is detected then cross compile mode will be used." >&2
1316 elif test "x$build_alias" != "x$host_alias"; then
1322 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1324 test "$silent" = yes && exec 6>/dev/null
1327 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1328 ac_ls_di=`ls -di .` &&
1329 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1330 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1331 { (exit 1); exit 1; }; }
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1334 { (exit 1); exit 1; }; }
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339 ac_srcdir_defaulted=yes
1340 # Try the directory containing this script, then the parent directory.
1341 ac_confdir=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$as_myself" : 'X\(//\)[^/]' \| \
1344 X"$as_myself" : 'X\(//\)$' \| \
1345 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 $as_echo X"$as_myself" |
1347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1369 ac_srcdir_defaulted=no
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1374 { (exit 1); exit 1; }; }
1376 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1378 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1379 { (exit 1); exit 1; }; }
1381 # When building in place, set srcdir=.
1382 if test "$ac_abs_confdir" = "$ac_pwd"; then
1385 # Remove unnecessary trailing slashes from srcdir.
1386 # Double slashes in file names in object file debugging info
1387 # mess up M-x gdb in Emacs.
1389 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1391 for ac_var in $ac_precious_vars; do
1392 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_env_${ac_var}_value=\$${ac_var}
1394 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1395 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1399 # Report the --help message.
1401 if test "$ac_init_help" = "long"; then
1402 # Omit some internal or obsolete options to make the list less imposing.
1403 # This message is too long to be a string in the A/UX 3.1 sh.
1405 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1407 Usage: $0 [OPTION]... [VAR=VALUE]...
1409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410 VAR=VALUE. See below for descriptions of some of the useful variables.
1412 Defaults for the options are specified in brackets.
1415 -h, --help display this help and exit
1416 --help=short display options specific to this package
1417 --help=recursive display the short help of all the included packages
1418 -V, --version display version information and exit
1419 -q, --quiet, --silent do not print \`checking...' messages
1420 --cache-file=FILE cache test results in FILE [disabled]
1421 -C, --config-cache alias for \`--cache-file=config.cache'
1422 -n, --no-create do not create output files
1423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1425 Installation directories:
1426 --prefix=PREFIX install architecture-independent files in PREFIX
1427 [$ac_default_prefix]
1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1431 By default, \`make install' will install all the files in
1432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434 for instance \`--prefix=\$HOME'.
1436 For better control, use the options below.
1438 Fine tuning of the installation directories:
1439 --bindir=DIR user executables [EPREFIX/bin]
1440 --sbindir=DIR system admin executables [EPREFIX/sbin]
1441 --libexecdir=DIR program executables [EPREFIX/libexec]
1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1463 --build=BUILD configure for building on BUILD [guessed]
1464 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1468 if test -n "$ac_init_help"; then
1469 case $ac_init_help in
1470 short | recursive ) echo "Configuration of GNU C Library (see version.h):";;
1475 --disable-option-checking ignore unrecognized --enable/--with options
1476 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1477 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1478 --disable-sanity-checks really do not use threads (should not be used except
1479 in special situations) [default=yes]
1480 --enable-check-abi do "make check-abi" in "make check" (no/warn/yes)
1482 --enable-shared build shared library [default=yes if GNU ld & ELF]
1483 --enable-profile build profiled library [default=no]
1484 --enable-omitfp build undebuggable optimized library [default=no]
1485 --enable-bounded build with runtime bounds checking [default=no]
1486 --disable-versioning do not include versioning information in the library
1487 objects [default=yes if supported]
1488 --enable-oldest-abi=ABI configure the oldest ABI supported [e.g. 2.2]
1489 [default=glibc default]
1490 --enable-stackguard-randomization
1491 initialize __stack_chk_guard canary with a random
1492 number at program start
1493 --enable-add-ons[=DIRS...]
1494 configure and build add-ons in DIR1,DIR2,... search
1495 for add-ons if no parameter given
1496 --disable-hidden-plt do not hide internal function calls to avoid PLT
1497 --enable-bind-now disable lazy relocations in DSOs
1498 --enable-static-nss build static NSS modules [default=no]
1499 --disable-force-install don't force installation of files from this package,
1500 even if they are older than the installed files
1501 --enable-kernel=VERSION compile for compatibility with kernel not older than
1503 --enable-all-warnings enable all useful warnings gcc can issue
1504 --enable-multi-arch enable single DSO with optimizations for multiple
1506 --enable-experimental-malloc
1507 enable experimental malloc features
1508 --enable-nss-crypt enable libcrypt to use nss
1511 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1512 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1513 --with-gd=DIR find libgd include dir and library with prefix DIR
1514 --with-gd-include=DIR find libgd include files in DIR
1515 --with-gd-lib=DIR find libgd library files in DIR
1516 --with-fp if using floating-point hardware [default=yes]
1517 --with-binutils=PATH specify location of binutils (as and ld)
1518 --with-elf if using the ELF object format
1519 --with-selinux if building with SELinux support
1520 --with-xcoff if using the XCOFF object format
1521 --without-cvs if CVS should not be used
1522 --with-headers=PATH location of system headers to use (for example
1523 /usr/src/linux/include) [default=compiler default]
1524 --with-tls enable support for TLS
1525 --without-__thread do not use TLS features even when supporting them
1526 --with-pkgversion=PKG Use PKG in the version string in place of "EGLIBC"
1527 --with-bugurl=URL Direct users to URL to report a bug
1528 --with-cpu=CPU select code for CPU variant
1530 Some influential environment variables:
1531 CC C compiler command
1532 CFLAGS C compiler flags
1533 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1534 nonstandard directory <lib dir>
1535 LIBS libraries to pass to the linker, e.g. -l<library>
1536 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1537 you have headers in a nonstandard directory <include dir>
1539 CXX C++ compiler command
1540 CXXFLAGS C++ compiler flags
1542 Use these variables to override the choices made by `configure' or to help
1543 it to find libraries and programs with nonstandard names/locations.
1545 Report bugs to <glibc>.
1550 if test "$ac_init_help" = "recursive"; then
1551 # If there are subdirs, report their specific --help.
1552 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1553 test -d "$ac_dir" ||
1554 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1559 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1562 # A ".." for each directory in $ac_dir_suffix.
1563 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1564 case $ac_top_builddir_sub in
1565 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1566 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1569 ac_abs_top_builddir=$ac_pwd
1570 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1571 # for backward compatibility:
1572 ac_top_builddir=$ac_top_build_prefix
1575 .) # We are building in place.
1577 ac_top_srcdir=$ac_top_builddir_sub
1578 ac_abs_top_srcdir=$ac_pwd ;;
1579 [\\/]* | ?:[\\/]* ) # Absolute name.
1580 ac_srcdir=$srcdir$ac_dir_suffix;
1581 ac_top_srcdir=$srcdir
1582 ac_abs_top_srcdir=$srcdir ;;
1584 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1585 ac_top_srcdir=$ac_top_build_prefix$srcdir
1586 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1588 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1590 cd "$ac_dir" || { ac_status=$?; continue; }
1591 # Check for guested configure.
1592 if test -f "$ac_srcdir/configure.gnu"; then
1594 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1595 elif test -f "$ac_srcdir/configure"; then
1597 $SHELL "$ac_srcdir/configure" --help=recursive
1599 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1601 cd "$ac_pwd" || { ac_status=$?; break; }
1605 test -n "$ac_init_help" && exit $ac_status
1606 if $ac_init_version; then
1608 GNU C Library configure (see version.h)
1609 generated by GNU Autoconf 2.63
1611 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1612 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1613 This configure script is free software; the Free Software Foundation
1614 gives unlimited permission to copy, distribute and modify it.
1618 cat >config.log <<_ACEOF
1619 This file contains any messages produced by compilers while
1620 running configure, to aid debugging if configure makes a mistake.
1622 It was created by GNU C Library $as_me (see version.h), which was
1623 generated by GNU Autoconf 2.63. Invocation command line was
1635 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1636 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1637 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1638 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1639 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1641 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1642 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1644 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1645 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1646 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1647 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1648 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1649 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1650 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1658 test -z "$as_dir" && as_dir=.
1659 $as_echo "PATH: $as_dir"
1675 # Keep a trace of the command line.
1676 # Strip out --no-create and --no-recursion so they do not pile up.
1677 # Strip out --silent because we don't want to record it for future runs.
1678 # Also quote any args containing shell meta-characters.
1679 # Make two passes to allow for proper duplicate-argument suppression.
1683 ac_must_keep_next=false
1689 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1690 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1691 | -silent | --silent | --silen | --sile | --sil)
1694 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1697 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1699 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1700 if test $ac_must_keep_next = true; then
1701 ac_must_keep_next=false # Got value, back to normal.
1704 *=* | --config-cache | -C | -disable-* | --disable-* \
1705 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1706 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1707 | -with-* | --with-* | -without-* | --without-* | --x)
1708 case "$ac_configure_args0 " in
1709 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1712 -* ) ac_must_keep_next=true ;;
1715 ac_configure_args="$ac_configure_args '$ac_arg'"
1720 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1721 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1723 # When interrupted or exit'd, cleanup temporary files, and complete
1724 # config.log. We remove comments because anyway the quotes in there
1725 # would cause problems or look ugly.
1726 # WARNING: Use '\'' to represent an apostrophe within the trap.
1727 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1728 trap 'exit_status=$?
1729 # Save into config.log some information that might help in debugging.
1734 ## ---------------- ##
1735 ## Cache variables. ##
1736 ## ---------------- ##
1739 # The following way of writing the cache mishandles newlines in values,
1741 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1742 eval ac_val=\$$ac_var
1746 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1747 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1750 _ | IFS | as_nl) ;; #(
1751 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1752 *) $as_unset $ac_var ;;
1757 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1758 *${as_nl}ac_space=\ *)
1760 "s/'\''/'\''\\\\'\'''\''/g;
1761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1764 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1772 ## ----------------- ##
1773 ## Output variables. ##
1774 ## ----------------- ##
1777 for ac_var in $ac_subst_vars
1779 eval ac_val=\$$ac_var
1781 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1783 $as_echo "$ac_var='\''$ac_val'\''"
1787 if test -n "$ac_subst_files"; then
1789 ## ------------------- ##
1790 ## File substitutions. ##
1791 ## ------------------- ##
1794 for ac_var in $ac_subst_files
1796 eval ac_val=\$$ac_var
1798 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1800 $as_echo "$ac_var='\''$ac_val'\''"
1805 if test -s confdefs.h; then
1815 test "$ac_signal" != 0 &&
1816 $as_echo "$as_me: caught signal $ac_signal"
1817 $as_echo "$as_me: exit $exit_status"
1819 rm -f core *.core core.conftest.* &&
1820 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1823 for ac_signal in 1 2 13 15; do
1824 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1828 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1829 rm -f -r conftest* confdefs.h
1831 # Predefined preprocessor variables.
1833 cat >>confdefs.h <<_ACEOF
1834 #define PACKAGE_NAME "$PACKAGE_NAME"
1838 cat >>confdefs.h <<_ACEOF
1839 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_STRING "$PACKAGE_STRING"
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1858 # Let the site file select an alternate cache file if it wants to.
1859 # Prefer an explicitly selected file to automatically selected ones.
1862 if test -n "$CONFIG_SITE"; then
1863 ac_site_file1=$CONFIG_SITE
1864 elif test "x$prefix" != xNONE; then
1865 ac_site_file1=$prefix/share/config.site
1866 ac_site_file2=$prefix/etc/config.site
1868 ac_site_file1=$ac_default_prefix/share/config.site
1869 ac_site_file2=$ac_default_prefix/etc/config.site
1871 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1873 test "x$ac_site_file" = xNONE && continue
1874 if test -r "$ac_site_file"; then
1875 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1876 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1877 sed 's/^/| /' "$ac_site_file" >&5
1882 if test -r "$cache_file"; then
1883 # Some versions of bash will fail to source /dev/null (special
1884 # files actually), so we avoid doing that.
1885 if test -f "$cache_file"; then
1886 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1887 $as_echo "$as_me: loading cache $cache_file" >&6;}
1889 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1890 *) . "./$cache_file";;
1894 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1895 $as_echo "$as_me: creating cache $cache_file" >&6;}
1899 # Check that the precious variables saved in the cache have kept the same
1901 ac_cache_corrupted=false
1902 for ac_var in $ac_precious_vars; do
1903 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1904 eval ac_new_set=\$ac_env_${ac_var}_set
1905 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1906 eval ac_new_val=\$ac_env_${ac_var}_value
1907 case $ac_old_set,$ac_new_set in
1909 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1910 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1911 ac_cache_corrupted=: ;;
1913 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1914 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1915 ac_cache_corrupted=: ;;
1918 if test "x$ac_old_val" != "x$ac_new_val"; then
1919 # differences in whitespace do not lead to failure.
1920 ac_old_val_w=`echo x $ac_old_val`
1921 ac_new_val_w=`echo x $ac_new_val`
1922 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1923 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1924 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1925 ac_cache_corrupted=:
1927 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1928 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1929 eval $ac_var=\$ac_old_val
1931 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1932 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1933 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1934 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1937 # Pass precious variables to config.status.
1938 if test "$ac_new_set" = set; then
1940 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1941 *) ac_arg=$ac_var=$ac_new_val ;;
1943 case " $ac_configure_args " in
1944 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1945 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1949 if $ac_cache_corrupted; then
1950 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1952 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1953 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1954 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1955 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1956 { (exit 1); exit 1; }; }
1984 ac_cpp='$CPP $CPPFLAGS'
1985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1991 ac_config_headers="$ac_config_headers config.h"
1994 for ac_dir in scripts "$srcdir"/scripts; do
1995 if test -f "$ac_dir/install-sh"; then
1997 ac_install_sh="$ac_aux_dir/install-sh -c"
1999 elif test -f "$ac_dir/install.sh"; then
2001 ac_install_sh="$ac_aux_dir/install.sh -c"
2003 elif test -f "$ac_dir/shtool"; then
2005 ac_install_sh="$ac_aux_dir/shtool install -c"
2009 if test -z "$ac_aux_dir"; then
2010 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2011 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2012 { (exit 1); exit 1; }; }
2015 # These three variables are undocumented and unsupported,
2016 # and are intended to be withdrawn in a future Autoconf release.
2017 # They can cause serious problems if a builder's source tree is in a directory
2018 # whose full name contains unusual characters.
2019 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2020 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2021 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2030 # Make sure we can run config.sub.
2031 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2032 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2033 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2034 { (exit 1); exit 1; }; }
2036 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2037 $as_echo_n "checking build system type... " >&6; }
2038 if test "${ac_cv_build+set}" = set; then
2039 $as_echo_n "(cached) " >&6
2041 ac_build_alias=$build_alias
2042 test "x$ac_build_alias" = x &&
2043 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2044 test "x$ac_build_alias" = x &&
2045 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2046 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2047 { (exit 1); exit 1; }; }
2048 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2049 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2050 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2051 { (exit 1); exit 1; }; }
2054 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2055 $as_echo "$ac_cv_build" >&6; }
2056 case $ac_cv_build in
2058 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2059 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2060 { (exit 1); exit 1; }; };;
2063 ac_save_IFS=$IFS; IFS='-'
2069 # Remember, the first character of IFS is used to create $*,
2070 # except with old shells:
2073 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2076 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2077 $as_echo_n "checking host system type... " >&6; }
2078 if test "${ac_cv_host+set}" = set; then
2079 $as_echo_n "(cached) " >&6
2081 if test "x$host_alias" = x; then
2082 ac_cv_host=$ac_cv_build
2084 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2085 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2086 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2087 { (exit 1); exit 1; }; }
2091 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2092 $as_echo "$ac_cv_host" >&6; }
2095 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2096 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2097 { (exit 1); exit 1; }; };;
2100 ac_save_IFS=$IFS; IFS='-'
2106 # Remember, the first character of IFS is used to create $*,
2107 # except with old shells:
2110 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2115 ac_cpp='$CPP $CPPFLAGS'
2116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2119 if test -n "$ac_tool_prefix"; then
2120 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2121 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2123 $as_echo_n "checking for $ac_word... " >&6; }
2124 if test "${ac_cv_prog_CC+set}" = set; then
2125 $as_echo_n "(cached) " >&6
2127 if test -n "$CC"; then
2128 ac_cv_prog_CC="$CC" # Let the user override the test.
2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 test -z "$as_dir" && as_dir=.
2135 for ac_exec_ext in '' $ac_executable_extensions; do
2136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2137 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148 if test -n "$CC"; then
2149 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2150 $as_echo "$CC" >&6; }
2152 { $as_echo "$as_me:$LINENO: result: no" >&5
2153 $as_echo "no" >&6; }
2158 if test -z "$ac_cv_prog_CC"; then
2160 # Extract the first word of "gcc", so it can be a program name with args.
2161 set dummy gcc; ac_word=$2
2162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 $as_echo_n "checking for $ac_word... " >&6; }
2164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2165 $as_echo_n "(cached) " >&6
2167 if test -n "$ac_ct_CC"; then
2168 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir=.
2175 for ac_exec_ext in '' $ac_executable_extensions; do
2176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2177 ac_cv_prog_ac_ct_CC="gcc"
2178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2188 if test -n "$ac_ct_CC"; then
2189 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2190 $as_echo "$ac_ct_CC" >&6; }
2192 { $as_echo "$as_me:$LINENO: result: no" >&5
2193 $as_echo "no" >&6; }
2196 if test "x$ac_ct_CC" = x; then
2199 case $cross_compiling:$ac_tool_warned in
2201 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2203 ac_tool_warned=yes ;;
2211 if test -z "$CC"; then
2212 if test -n "$ac_tool_prefix"; then
2213 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2214 set dummy ${ac_tool_prefix}cc; ac_word=$2
2215 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 $as_echo_n "checking for $ac_word... " >&6; }
2217 if test "${ac_cv_prog_CC+set}" = set; then
2218 $as_echo_n "(cached) " >&6
2220 if test -n "$CC"; then
2221 ac_cv_prog_CC="$CC" # Let the user override the test.
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir=.
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2230 ac_cv_prog_CC="${ac_tool_prefix}cc"
2231 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 if test -n "$CC"; then
2242 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2243 $as_echo "$CC" >&6; }
2245 { $as_echo "$as_me:$LINENO: result: no" >&5
2246 $as_echo "no" >&6; }
2252 if test -z "$CC"; then
2253 # Extract the first word of "cc", so it can be a program name with args.
2254 set dummy cc; ac_word=$2
2255 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 $as_echo_n "checking for $ac_word... " >&6; }
2257 if test "${ac_cv_prog_CC+set}" = set; then
2258 $as_echo_n "(cached) " >&6
2260 if test -n "$CC"; then
2261 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir=.
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2272 ac_prog_rejected=yes
2276 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 if test $ac_prog_rejected = yes; then
2284 # We found a bogon in the path, so make sure we never use it.
2285 set dummy $ac_cv_prog_CC
2287 if test $# != 0; then
2288 # We chose a different compiler from the bogus one.
2289 # However, it has the same basename, so the bogon will be chosen
2290 # first if we set CC to just the basename; use the full file name.
2292 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2298 if test -n "$CC"; then
2299 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2300 $as_echo "$CC" >&6; }
2302 { $as_echo "$as_me:$LINENO: result: no" >&5
2303 $as_echo "no" >&6; }
2308 if test -z "$CC"; then
2309 if test -n "$ac_tool_prefix"; then
2310 for ac_prog in cl.exe
2312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2313 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2314 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 $as_echo_n "checking for $ac_word... " >&6; }
2316 if test "${ac_cv_prog_CC+set}" = set; then
2317 $as_echo_n "(cached) " >&6
2319 if test -n "$CC"; then
2320 ac_cv_prog_CC="$CC" # Let the user override the test.
2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326 test -z "$as_dir" && as_dir=.
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2329 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 if test -n "$CC"; then
2341 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2342 $as_echo "$CC" >&6; }
2344 { $as_echo "$as_me:$LINENO: result: no" >&5
2345 $as_echo "no" >&6; }
2349 test -n "$CC" && break
2352 if test -z "$CC"; then
2354 for ac_prog in cl.exe
2356 # Extract the first word of "$ac_prog", so it can be a program name with args.
2357 set dummy $ac_prog; ac_word=$2
2358 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2359 $as_echo_n "checking for $ac_word... " >&6; }
2360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2361 $as_echo_n "(cached) " >&6
2363 if test -n "$ac_ct_CC"; then
2364 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 test -z "$as_dir" && as_dir=.
2371 for ac_exec_ext in '' $ac_executable_extensions; do
2372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2373 ac_cv_prog_ac_ct_CC="$ac_prog"
2374 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2384 if test -n "$ac_ct_CC"; then
2385 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2386 $as_echo "$ac_ct_CC" >&6; }
2388 { $as_echo "$as_me:$LINENO: result: no" >&5
2389 $as_echo "no" >&6; }
2393 test -n "$ac_ct_CC" && break
2396 if test "x$ac_ct_CC" = x; then
2399 case $cross_compiling:$ac_tool_warned in
2401 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2403 ac_tool_warned=yes ;;
2412 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2414 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2415 See \`config.log' for more details." >&5
2416 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2417 See \`config.log' for more details." >&2;}
2418 { (exit 1); exit 1; }; }; }
2420 # Provide some information about the compiler.
2421 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2424 { (ac_try="$ac_compiler --version >&5"
2426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2427 *) ac_try_echo=$ac_try;;
2429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2430 $as_echo "$ac_try_echo") >&5
2431 (eval "$ac_compiler --version >&5") 2>&5
2433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); }
2435 { (ac_try="$ac_compiler -v >&5"
2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2438 *) ac_try_echo=$ac_try;;
2440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2441 $as_echo "$ac_try_echo") >&5
2442 (eval "$ac_compiler -v >&5") 2>&5
2444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }
2446 { (ac_try="$ac_compiler -V >&5"
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2452 $as_echo "$ac_try_echo") >&5
2453 (eval "$ac_compiler -V >&5") 2>&5
2455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }
2459 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2460 $as_echo_n "checking for suffix of object files... " >&6; }
2461 if test "${ac_cv_objext+set}" = set; then
2462 $as_echo_n "(cached) " >&6
2464 cat >conftest.$ac_ext <<_ACEOF
2467 cat confdefs.h >>conftest.$ac_ext
2468 cat >>conftest.$ac_ext <<_ACEOF
2469 /* end confdefs.h. */
2479 rm -f conftest.o conftest.obj
2480 if { (ac_try="$ac_compile"
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2486 $as_echo "$ac_try_echo") >&5
2487 (eval "$ac_compile") 2>&5
2489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; then
2491 for ac_file in conftest.o conftest.obj conftest.*; do
2492 test -f "$ac_file" || continue;
2494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2495 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2500 $as_echo "$as_me: failed program was:" >&5
2501 sed 's/^/| /' conftest.$ac_ext >&5
2503 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2506 See \`config.log' for more details." >&5
2507 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2508 See \`config.log' for more details." >&2;}
2509 { (exit 1); exit 1; }; }; }
2512 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2514 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2515 $as_echo "$ac_cv_objext" >&6; }
2516 OBJEXT=$ac_cv_objext
2518 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2519 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2520 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2521 $as_echo_n "(cached) " >&6
2523 cat >conftest.$ac_ext <<_ACEOF
2526 cat confdefs.h >>conftest.$ac_ext
2527 cat >>conftest.$ac_ext <<_ACEOF
2528 /* end confdefs.h. */
2541 rm -f conftest.$ac_objext
2542 if { (ac_try="$ac_compile"
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2548 $as_echo "$ac_try_echo") >&5
2549 (eval "$ac_compile") 2>conftest.er1
2551 grep -v '^ *+' conftest.er1 >conftest.err
2553 cat conftest.err >&5
2554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); } && {
2556 test -z "$ac_c_werror_flag" ||
2557 test ! -s conftest.err
2558 } && test -s conftest.$ac_objext; then
2561 $as_echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2571 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2572 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2573 if test $ac_compiler_gnu = yes; then
2578 ac_test_CFLAGS=${CFLAGS+set}
2579 ac_save_CFLAGS=$CFLAGS
2580 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2581 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2582 if test "${ac_cv_prog_cc_g+set}" = set; then
2583 $as_echo_n "(cached) " >&6
2585 ac_save_c_werror_flag=$ac_c_werror_flag
2586 ac_c_werror_flag=yes
2589 cat >conftest.$ac_ext <<_ACEOF
2592 cat confdefs.h >>conftest.$ac_ext
2593 cat >>conftest.$ac_ext <<_ACEOF
2594 /* end confdefs.h. */
2604 rm -f conftest.$ac_objext
2605 if { (ac_try="$ac_compile"
2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2611 $as_echo "$ac_try_echo") >&5
2612 (eval "$ac_compile") 2>conftest.er1
2614 grep -v '^ *+' conftest.er1 >conftest.err
2616 cat conftest.err >&5
2617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } && {
2619 test -z "$ac_c_werror_flag" ||
2620 test ! -s conftest.err
2621 } && test -s conftest.$ac_objext; then
2624 $as_echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2628 cat >conftest.$ac_ext <<_ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2643 rm -f conftest.$ac_objext
2644 if { (ac_try="$ac_compile"
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2650 $as_echo "$ac_try_echo") >&5
2651 (eval "$ac_compile") 2>conftest.er1
2653 grep -v '^ *+' conftest.er1 >conftest.err
2655 cat conftest.err >&5
2656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); } && {
2658 test -z "$ac_c_werror_flag" ||
2659 test ! -s conftest.err
2660 } && test -s conftest.$ac_objext; then
2663 $as_echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.$ac_ext >&5
2666 ac_c_werror_flag=$ac_save_c_werror_flag
2668 cat >conftest.$ac_ext <<_ACEOF
2671 cat confdefs.h >>conftest.$ac_ext
2672 cat >>conftest.$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2683 rm -f conftest.$ac_objext
2684 if { (ac_try="$ac_compile"
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2690 $as_echo "$ac_try_echo") >&5
2691 (eval "$ac_compile") 2>conftest.er1
2693 grep -v '^ *+' conftest.er1 >conftest.err
2695 cat conftest.err >&5
2696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); } && {
2698 test -z "$ac_c_werror_flag" ||
2699 test ! -s conftest.err
2700 } && test -s conftest.$ac_objext; then
2703 $as_echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2716 ac_c_werror_flag=$ac_save_c_werror_flag
2718 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2719 $as_echo "$ac_cv_prog_cc_g" >&6; }
2720 if test "$ac_test_CFLAGS" = set; then
2721 CFLAGS=$ac_save_CFLAGS
2722 elif test $ac_cv_prog_cc_g = yes; then
2723 if test "$GCC" = yes; then
2729 if test "$GCC" = yes; then
2735 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2736 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2737 if test "${ac_cv_prog_cc_c89+set}" = set; then
2738 $as_echo_n "(cached) " >&6
2740 ac_cv_prog_cc_c89=no
2742 cat >conftest.$ac_ext <<_ACEOF
2745 cat confdefs.h >>conftest.$ac_ext
2746 cat >>conftest.$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2750 #include <sys/types.h>
2751 #include <sys/stat.h>
2752 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2753 struct buf { int x; };
2754 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2755 static char *e (p, i)
2761 static char *f (char * (*g) (char **, int), char **p, ...)
2766 s = g (p, va_arg (v,int));
2771 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2772 function prototypes and stuff, but not '\xHH' hex character constants.
2773 These don't provoke an error unfortunately, instead are silently treated
2774 as 'x'. The following induces an error, until -std is added to get
2775 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2776 array size at least. It's necessary to write '\x00'==0 to get something
2777 that's true only with -std. */
2778 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2780 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2781 inside strings and character constants. */
2783 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2785 int test (int i, double x);
2786 struct s1 {int (*f) (int a);};
2787 struct s2 {int (*f) (double a);};
2788 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2794 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2799 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2800 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2802 CC="$ac_save_CC $ac_arg"
2803 rm -f conftest.$ac_objext
2804 if { (ac_try="$ac_compile"
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2810 $as_echo "$ac_try_echo") >&5
2811 (eval "$ac_compile") 2>conftest.er1
2813 grep -v '^ *+' conftest.er1 >conftest.err
2815 cat conftest.err >&5
2816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); } && {
2818 test -z "$ac_c_werror_flag" ||
2819 test ! -s conftest.err
2820 } && test -s conftest.$ac_objext; then
2821 ac_cv_prog_cc_c89=$ac_arg
2823 $as_echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2829 rm -f core conftest.err conftest.$ac_objext
2830 test "x$ac_cv_prog_cc_c89" != "xno" && break
2832 rm -f conftest.$ac_ext
2837 case "x$ac_cv_prog_cc_c89" in
2839 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2840 $as_echo "none needed" >&6; } ;;
2842 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2843 $as_echo "unsupported" >&6; } ;;
2845 CC="$CC $ac_cv_prog_cc_c89"
2846 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2847 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2852 ac_cpp='$CPP $CPPFLAGS'
2853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2857 if test $host != $build; then
2858 for ac_prog in gcc cc
2860 # Extract the first word of "$ac_prog", so it can be a program name with args.
2861 set dummy $ac_prog; ac_word=$2
2862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 $as_echo_n "checking for $ac_word... " >&6; }
2864 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2865 $as_echo_n "(cached) " >&6
2867 if test -n "$BUILD_CC"; then
2868 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir=.
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2877 ac_cv_prog_BUILD_CC="$ac_prog"
2878 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2887 BUILD_CC=$ac_cv_prog_BUILD_CC
2888 if test -n "$BUILD_CC"; then
2889 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2890 $as_echo "$BUILD_CC" >&6; }
2892 { $as_echo "$as_me:$LINENO: result: no" >&5
2893 $as_echo "no" >&6; }
2897 test -n "$BUILD_CC" && break
2903 ac_cpp='$CPP $CPPFLAGS'
2904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2907 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2908 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2909 # On Suns, sometimes $CPP names a directory.
2910 if test -n "$CPP" && test -d "$CPP"; then
2913 if test -z "$CPP"; then
2914 if test "${ac_cv_prog_CPP+set}" = set; then
2915 $as_echo_n "(cached) " >&6
2917 # Double quotes because CPP needs to be expanded
2918 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2921 for ac_c_preproc_warn_flag in '' yes
2923 # Use a header file that comes with gcc, so configuring glibc
2924 # with a fresh cross-compiler works.
2925 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2926 # <limits.h> exists even on freestanding compilers.
2927 # On the NeXT, cc -E runs the code through the compiler's parser,
2928 # not just through cpp. "Syntax error" is here to catch this case.
2929 cat >conftest.$ac_ext <<_ACEOF
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2936 # include <limits.h>
2938 # include <assert.h>
2942 if { (ac_try="$ac_cpp conftest.$ac_ext"
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2948 $as_echo "$ac_try_echo") >&5
2949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2951 grep -v '^ *+' conftest.er1 >conftest.err
2953 cat conftest.err >&5
2954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } >/dev/null && {
2956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2961 $as_echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 # Broken: fails on valid input.
2968 rm -f conftest.err conftest.$ac_ext
2970 # OK, works on sane cases. Now check whether nonexistent headers
2971 # can be detected and how.
2972 cat >conftest.$ac_ext <<_ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2978 #include <ac_nonexistent.h>
2980 if { (ac_try="$ac_cpp conftest.$ac_ext"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2986 $as_echo "$ac_try_echo") >&5
2987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2989 grep -v '^ *+' conftest.er1 >conftest.err
2991 cat conftest.err >&5
2992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } >/dev/null && {
2994 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2997 # Broken: success on invalid input.
3000 $as_echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3003 # Passes both tests.
3008 rm -f conftest.err conftest.$ac_ext
3011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3012 rm -f conftest.err conftest.$ac_ext
3013 if $ac_preproc_ok; then
3025 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3026 $as_echo "$CPP" >&6; }
3028 for ac_c_preproc_warn_flag in '' yes
3030 # Use a header file that comes with gcc, so configuring glibc
3031 # with a fresh cross-compiler works.
3032 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3033 # <limits.h> exists even on freestanding compilers.
3034 # On the NeXT, cc -E runs the code through the compiler's parser,
3035 # not just through cpp. "Syntax error" is here to catch this case.
3036 cat >conftest.$ac_ext <<_ACEOF
3039 cat confdefs.h >>conftest.$ac_ext
3040 cat >>conftest.$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3043 # include <limits.h>
3045 # include <assert.h>
3049 if { (ac_try="$ac_cpp conftest.$ac_ext"
3051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052 *) ac_try_echo=$ac_try;;
3054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3055 $as_echo "$ac_try_echo") >&5
3056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3058 grep -v '^ *+' conftest.er1 >conftest.err
3060 cat conftest.err >&5
3061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); } >/dev/null && {
3063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3064 test ! -s conftest.err
3068 $as_echo "$as_me: failed program was:" >&5
3069 sed 's/^/| /' conftest.$ac_ext >&5
3071 # Broken: fails on valid input.
3075 rm -f conftest.err conftest.$ac_ext
3077 # OK, works on sane cases. Now check whether nonexistent headers
3078 # can be detected and how.
3079 cat >conftest.$ac_ext <<_ACEOF
3082 cat confdefs.h >>conftest.$ac_ext
3083 cat >>conftest.$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3085 #include <ac_nonexistent.h>
3087 if { (ac_try="$ac_cpp conftest.$ac_ext"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3093 $as_echo "$ac_try_echo") >&5
3094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3096 grep -v '^ *+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } >/dev/null && {
3101 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3104 # Broken: success on invalid input.
3107 $as_echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3110 # Passes both tests.
3115 rm -f conftest.err conftest.$ac_ext
3118 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3119 rm -f conftest.err conftest.$ac_ext
3120 if $ac_preproc_ok; then
3123 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3126 See \`config.log' for more details." >&5
3127 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3128 See \`config.log' for more details." >&2;}
3129 { (exit 1); exit 1; }; }; }
3133 ac_cpp='$CPP $CPPFLAGS'
3134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3138 # We need the C++ compiler only for testing.
3140 ac_cpp='$CXXCPP $CPPFLAGS'
3141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3144 if test -z "$CXX"; then
3145 if test -n "$CCC"; then
3148 if test -n "$ac_tool_prefix"; then
3149 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3153 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if test "${ac_cv_prog_CXX+set}" = set; then
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$CXX"; then
3159 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3169 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 if test -n "$CXX"; then
3180 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3181 $as_echo "$CXX" >&6; }
3183 { $as_echo "$as_me:$LINENO: result: no" >&5
3184 $as_echo "no" >&6; }
3188 test -n "$CXX" && break
3191 if test -z "$CXX"; then
3193 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3195 # Extract the first word of "$ac_prog", so it can be a program name with args.
3196 set dummy $ac_prog; ac_word=$2
3197 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3200 $as_echo_n "(cached) " >&6
3202 if test -n "$ac_ct_CXX"; then
3203 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir=.
3210 for ac_exec_ext in '' $ac_executable_extensions; do
3211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212 ac_cv_prog_ac_ct_CXX="$ac_prog"
3213 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3223 if test -n "$ac_ct_CXX"; then
3224 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3225 $as_echo "$ac_ct_CXX" >&6; }
3227 { $as_echo "$as_me:$LINENO: result: no" >&5
3228 $as_echo "no" >&6; }
3232 test -n "$ac_ct_CXX" && break
3235 if test "x$ac_ct_CXX" = x; then
3238 case $cross_compiling:$ac_tool_warned in
3240 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3242 ac_tool_warned=yes ;;
3250 # Provide some information about the compiler.
3251 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3254 { (ac_try="$ac_compiler --version >&5"
3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3257 *) ac_try_echo=$ac_try;;
3259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3260 $as_echo "$ac_try_echo") >&5
3261 (eval "$ac_compiler --version >&5") 2>&5
3263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }
3265 { (ac_try="$ac_compiler -v >&5"
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3271 $as_echo "$ac_try_echo") >&5
3272 (eval "$ac_compiler -v >&5") 2>&5
3274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }
3276 { (ac_try="$ac_compiler -V >&5"
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3282 $as_echo "$ac_try_echo") >&5
3283 (eval "$ac_compiler -V >&5") 2>&5
3285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); }
3288 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3289 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3290 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3291 $as_echo_n "(cached) " >&6
3293 cat >conftest.$ac_ext <<_ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3311 rm -f conftest.$ac_objext
3312 if { (ac_try="$ac_compile"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3318 $as_echo "$ac_try_echo") >&5
3319 (eval "$ac_compile") 2>conftest.er1
3321 grep -v '^ *+' conftest.er1 >conftest.err
3323 cat conftest.err >&5
3324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } && {
3326 test -z "$ac_cxx_werror_flag" ||
3327 test ! -s conftest.err
3328 } && test -s conftest.$ac_objext; then
3331 $as_echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.$ac_ext >&5
3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3341 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3342 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3343 if test $ac_compiler_gnu = yes; then
3348 ac_test_CXXFLAGS=${CXXFLAGS+set}
3349 ac_save_CXXFLAGS=$CXXFLAGS
3350 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3351 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3352 if test "${ac_cv_prog_cxx_g+set}" = set; then
3353 $as_echo_n "(cached) " >&6
3355 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3356 ac_cxx_werror_flag=yes
3359 cat >conftest.$ac_ext <<_ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3374 rm -f conftest.$ac_objext
3375 if { (ac_try="$ac_compile"
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3381 $as_echo "$ac_try_echo") >&5
3382 (eval "$ac_compile") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1 >conftest.err
3386 cat conftest.err >&5
3387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } && {
3389 test -z "$ac_cxx_werror_flag" ||
3390 test ! -s conftest.err
3391 } && test -s conftest.$ac_objext; then
3392 ac_cv_prog_cxx_g=yes
3394 $as_echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3398 cat >conftest.$ac_ext <<_ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3413 rm -f conftest.$ac_objext
3414 if { (ac_try="$ac_compile"
3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 *) ac_try_echo=$ac_try;;
3419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3420 $as_echo "$ac_try_echo") >&5
3421 (eval "$ac_compile") 2>conftest.er1
3423 grep -v '^ *+' conftest.er1 >conftest.err
3425 cat conftest.err >&5
3426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } && {
3428 test -z "$ac_cxx_werror_flag" ||
3429 test ! -s conftest.err
3430 } && test -s conftest.$ac_objext; then
3433 $as_echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3438 cat >conftest.$ac_ext <<_ACEOF
3441 cat confdefs.h >>conftest.$ac_ext
3442 cat >>conftest.$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3453 rm -f conftest.$ac_objext
3454 if { (ac_try="$ac_compile"
3456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457 *) ac_try_echo=$ac_try;;
3459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3460 $as_echo "$ac_try_echo") >&5
3461 (eval "$ac_compile") 2>conftest.er1
3463 grep -v '^ *+' conftest.er1 >conftest.err
3465 cat conftest.err >&5
3466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); } && {
3468 test -z "$ac_cxx_werror_flag" ||
3469 test ! -s conftest.err
3470 } && test -s conftest.$ac_objext; then
3471 ac_cv_prog_cxx_g=yes
3473 $as_echo "$as_me: failed program was:" >&5
3474 sed 's/^/| /' conftest.$ac_ext >&5
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3488 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3489 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3490 if test "$ac_test_CXXFLAGS" = set; then
3491 CXXFLAGS=$ac_save_CXXFLAGS
3492 elif test $ac_cv_prog_cxx_g = yes; then
3493 if test "$GXX" = yes; then
3499 if test "$GXX" = yes; then
3506 ac_cpp='$CPP $CPPFLAGS'
3507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3512 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
3513 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3514 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
3515 { (exit 1); exit 1; }; }
3518 # This will get text that should go into config.make.
3521 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3523 # Check whether --with-gd was given.
3524 if test "${with_gd+set}" = set; then
3525 withval=$with_gd; case "$with_gd" in
3527 *) libgd_include="-I$withval/include"
3528 libgd_ldflags="-L$withval/lib" ;;
3534 # Check whether --with-gd-include was given.
3535 if test "${with_gd_include+set}" = set; then
3536 withval=$with_gd_include; case "$with_gd_include" in
3538 *) libgd_include="-I$withval" ;;
3544 # Check whether --with-gd-lib was given.
3545 if test "${with_gd_lib+set}" = set; then
3546 withval=$with_gd_lib; case "$with_gd_lib" in
3548 *) libgd_ldflags="-L$withval" ;;
3554 if test -n "$libgd_include"; then
3555 config_vars="$config_vars
3556 CFLAGS-memusagestat.c = $libgd_include"
3558 if test -n "$libgd_ldflags"; then
3559 config_vars="$config_vars
3560 libgd-LDFLAGS = $libgd_ldflags"
3564 # Check whether --with-fp was given.
3565 if test "${with_fp+set}" = set; then
3566 withval=$with_fp; with_fp=$withval
3573 # Check whether --with-binutils was given.
3574 if test "${with_binutils+set}" = set; then
3575 withval=$with_binutils; path_binutils=$withval
3581 # Check whether --with-elf was given.
3582 if test "${with_elf+set}" = set; then
3583 withval=$with_elf; elf=$withval
3589 # Check whether --with-selinux was given.
3590 if test "${with_selinux+set}" = set; then
3591 withval=$with_selinux; with_selinux=$withval
3597 # Check whether --with-xcoff was given.
3598 if test "${with_xcoff+set}" = set; then
3599 withval=$with_xcoff; xcoff=$withval
3605 # Check whether --with-cvs was given.
3606 if test "${with_cvs+set}" = set; then
3607 withval=$with_cvs; with_cvs=$withval
3612 if test "$with_cvs" = yes; then
3613 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3621 # Check whether --with-headers was given.
3622 if test "${with_headers+set}" = set; then
3623 withval=$with_headers; sysheaders=$withval
3629 # Check whether --enable-sanity-checks was given.
3630 if test "${enable_sanity_checks+set}" = set; then
3631 enableval=$enable_sanity_checks; enable_sanity=$enableval
3638 # Check whether --enable-check-abi was given.
3639 if test "${enable_check_abi+set}" = set; then
3640 enableval=$enable_check_abi; enable_check_abi=$enableval
3647 # Check whether --enable-shared was given.
3648 if test "${enable_shared+set}" = set; then
3649 enableval=$enable_shared; shared=$enableval
3654 # Check whether --enable-profile was given.
3655 if test "${enable_profile+set}" = set; then
3656 enableval=$enable_profile; profile=$enableval
3661 # Check whether --enable-omitfp was given.
3662 if test "${enable_omitfp+set}" = set; then
3663 enableval=$enable_omitfp; omitfp=$enableval
3668 # Check whether --enable-bounded was given.
3669 if test "${enable_bounded+set}" = set; then
3670 enableval=$enable_bounded; bounded=$enableval
3675 # Check whether --enable-versioning was given.
3676 if test "${enable_versioning+set}" = set; then
3677 enableval=$enable_versioning; enable_versioning=$enableval
3679 enable_versioning=yes
3683 # Check whether --enable-oldest-abi was given.
3684 if test "${enable_oldest_abi+set}" = set; then
3685 enableval=$enable_oldest_abi; oldest_abi=$enableval
3690 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3693 cat >>confdefs.h <<_ACEOF
3694 #define GLIBC_OLDEST_ABI "$oldest_abi"
3700 # Check whether --enable-stackguard-randomization was given.
3701 if test "${enable_stackguard_randomization+set}" = set; then
3702 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3704 enable_stackguard_randomize=no
3707 if test "$enable_stackguard_randomize" = yes; then
3708 cat >>confdefs.h <<\_ACEOF
3709 #define ENABLE_STACKGUARD_RANDOMIZE 1
3714 # Check whether --enable-add-ons was given.
3715 if test "${enable_add_ons+set}" = set; then
3716 enableval=$enable_add_ons;
3723 # Check whether --with-tls was given.
3724 if test "${with_tls+set}" = set; then
3725 withval=$with_tls; usetls=$withval
3732 # Check whether --with-__thread was given.
3733 if test "${with___thread+set}" = set; then
3734 withval=$with___thread; use__thread=$withval
3740 # Check whether --enable-hidden-plt was given.
3741 if test "${enable_hidden_plt+set}" = set; then
3742 enableval=$enable_hidden_plt; hidden=$enableval
3747 if test "x$hidden" = xno; then
3748 cat >>confdefs.h <<\_ACEOF
3754 # Check whether --enable-bind-now was given.
3755 if test "${enable_bind_now+set}" = set; then
3756 enableval=$enable_bind_now; bindnow=$enableval
3763 # Check whether --enable-static-nss was given.
3764 if test "${enable_static_nss+set}" = set; then
3765 enableval=$enable_static_nss; static_nss=$enableval
3770 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3772 cat >>confdefs.h <<\_ACEOF
3773 #define DO_STATIC_NSS 1
3778 # Check whether --enable-force-install was given.
3779 if test "${enable_force_install+set}" = set; then
3780 enableval=$enable_force_install; force_install=$enableval
3787 # Check whether --enable-kernel was given.
3788 if test "${enable_kernel+set}" = set; then
3789 enableval=$enable_kernel; minimum_kernel=$enableval
3792 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3793 # Better nothing than this.
3796 if test "$minimum_kernel" = current; then
3797 minimum_kernel=`uname -r 2>/dev/null` || minimum_kernel=
3801 # Check whether --enable-all-warnings was given.
3802 if test "${enable_all_warnings+set}" = set; then
3803 enableval=$enable_all_warnings; all_warnings=$enableval
3810 # Check whether --with-pkgversion was given.
3811 if test "${with_pkgversion+set}" = set; then
3812 withval=$with_pkgversion; case "$withval" in
3813 yes) { { $as_echo "$as_me:$LINENO: error: package version not specified" >&5
3814 $as_echo "$as_me: error: package version not specified" >&2;}
3815 { (exit 1); exit 1; }; } ;;
3817 *) PKGVERSION="($withval) " ;;
3820 PKGVERSION="(EGLIBC) "
3828 # Check whether --with-bugurl was given.
3829 if test "${with_bugurl+set}" = set; then
3830 withval=$with_bugurl; case "$withval" in
3831 yes) { { $as_echo "$as_me:$LINENO: error: bug URL not specified" >&5
3832 $as_echo "$as_me: error: bug URL not specified" >&2;}
3833 { (exit 1); exit 1; }; } ;;
3836 *) BUGURL="$withval"
3840 BUGURL="http://www.eglibc.org/issues/"
3850 REPORT_BUGS_TO="<$BUGURL>"
3851 REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
3858 cat >>confdefs.h <<_ACEOF
3859 #define PKGVERSION "$PKGVERSION"
3863 cat >>confdefs.h <<_ACEOF
3864 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
3868 # Check whether --enable-multi-arch was given.
3869 if test "${enable_multi_arch+set}" = set; then
3870 enableval=$enable_multi_arch; multi_arch=$enableval
3875 if test x"$multi_arch" = xyes; then
3876 cat >>confdefs.h <<\_ACEOF
3877 #define USE_MULTIARCH 1
3880 multi_arch_d=/multiarch
3884 # Check whether --enable-experimental-malloc was given.
3885 if test "${enable_experimental_malloc+set}" = set; then
3886 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3891 # Check whether --enable-nss-crypt was given.
3892 if test "${enable_nss_crypt+set}" = set; then
3893 enableval=$enable_nss_crypt; nss_crypt=$enableval
3898 if test x$nss_crypt = xyes; then
3899 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3900 if test $? -ne 0; then
3901 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3902 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3903 { (exit 1); exit 1; }; }
3905 old_CFLAGS="$CFLAGS"
3906 CFLAGS="$CFLAGS $nss_includes"
3908 cat >conftest.$ac_ext <<_ACEOF
3911 #include <nsslowhash.h>
3912 void f (void) { NSSLOW_Init (); }
3914 rm -f conftest.$ac_objext
3915 if { (ac_try="$ac_compile"
3917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3918 *) ac_try_echo=$ac_try;;
3920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3921 $as_echo "$ac_try_echo") >&5
3922 (eval "$ac_compile") 2>conftest.er1
3924 grep -v '^ *+' conftest.er1 >conftest.err
3926 cat conftest.err >&5
3927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); } && {
3929 test -z "$ac_c_werror_flag" ||
3930 test ! -s conftest.err
3931 } && test -s conftest.$ac_objext; then
3932 libc_cv_nss_crypt=yes
3934 $as_echo "$as_me: failed program was:" >&5
3935 sed 's/^/| /' conftest.$ac_ext >&5
3937 { { $as_echo "$as_me:$LINENO: error:
3938 cannot find NSS headers with lowlevel hash function interfaces" >&5
3939 $as_echo "$as_me: error:
3940 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3941 { (exit 1); exit 1; }; }
3944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946 LIBS="$LIBS -lfreebl3"
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3955 #include <nsslowhash.h>
3964 rm -f conftest.$ac_objext conftest$ac_exeext
3965 if { (ac_try="$ac_link"
3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3971 $as_echo "$ac_try_echo") >&5
3972 (eval "$ac_link") 2>conftest.er1
3974 grep -v '^ *+' conftest.er1 >conftest.err
3976 cat conftest.err >&5
3977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); } && {
3979 test -z "$ac_c_werror_flag" ||
3980 test ! -s conftest.err
3981 } && test -s conftest$ac_exeext && {
3982 test "$cross_compiling" = yes ||
3983 $as_test_x conftest$ac_exeext
3985 libc_cv_nss_crypt=yes
3987 $as_echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3990 { { $as_echo "$as_me:$LINENO: error:
3991 cannot link program using lowlevel NSS hash functions" >&5
3992 $as_echo "$as_me: error:
3993 cannot link program using lowlevel NSS hash functions" >&2;}
3994 { (exit 1); exit 1; }; }
3997 rm -rf conftest.dSYM
3998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3999 conftest$ac_exeext conftest.$ac_ext
4000 CFLAGS="$old_CFLAGS"
4003 libc_cv_nss_crypt=no
4007 # The way shlib-versions is used to generate soversions.mk uses a
4008 # fairly simplistic model for name recognition that can't distinguish
4009 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
4010 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
4011 # tell. This doesn't get used much beyond that, so it's fairly safe.
4016 host_os=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
4020 # We keep the original values in `$config_*' and never modify them, so we
4021 # can write them unchanged into config.make. Everything else uses
4022 # $machine, $vendor, and $os, and changes them whenever convenient.
4023 config_machine=$host_cpu config_vendor=$host_vendor config_os=$host_os
4025 # Don't allow vendor == "unknown"
4026 test "$config_vendor" = unknown && config_vendor=
4027 config_os="`echo $config_os | sed 's/^unknown-//'`"
4029 # Some configurations imply other options.
4031 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
4032 linux*ecoff* | linux*aout* | gnu*aout* | gnu*ecoff*)
4034 gnu* | linux* | freebsd* | netbsd* | sysv4* | solaris2* | irix6*)
4035 # These systems (almost) always use the ELF format.
4039 # These systems are always xcoff
4045 # The configure fragment of an add-on port can modify these to supplement
4046 # or override the table in the case statement below. No fragment should
4047 # ever change the config_* variables, however.
4048 machine=$config_machine
4049 vendor=$config_vendor
4053 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
4055 if test "$machine" = rs6000; then
4059 # Braindead PowerPC box with absolutely no FPU.
4060 case "$machine-$host_os" in
4068 # Check whether --with-cpu was given.
4069 if test "${with_cpu+set}" = set; then
4070 withval=$with_cpu; case "$withval" in
4071 yes|'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
4072 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
4073 { (exit 1); exit 1; }; } ;;
4075 *) submachine="$withval" ;;
4081 # An add-on can set this when it wants to disable the sanity check below.
4087 case "$enable_add_ons" in
4090 add_ons=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
4091 sed 's@/[^/]*$@@' | sort | uniq`
4092 add_ons_automatic=yes
4094 *) add_ons=`echo "$enable_add_ons" | sed 's/,/ /g'`
4095 add_ons_automatic=no ;;
4101 if test x"$add_ons" != x; then
4102 for f in $add_ons; do
4103 # Some sanity checks
4106 { { $as_echo "$as_me:$LINENO: error:
4107 *** It seems that you're using an old \`crypt' add-on. crypt is now
4108 *** part of glibc and using the old add-on will not work with this
4109 *** release. Start again with fresh sources and without the old
4110 *** \`crypt' add-on." >&5
4111 $as_echo "$as_me: error:
4112 *** It seems that you're using an old \`crypt' add-on. crypt is now
4113 *** part of glibc and using the old add-on will not work with this
4114 *** release. Start again with fresh sources and without the old
4115 *** \`crypt' add-on." >&2;}
4116 { (exit 1); exit 1; }; }
4119 { { $as_echo "$as_me:$LINENO: error:
4120 *** It seems that you're using an old \`localedata' add-on. localedata
4121 *** is now part of glibc and using the old add-on will not work with
4122 *** this release. Start again with fresh sources and without the old
4123 *** \`localedata' add-on." >&5
4124 $as_echo "$as_me: error:
4125 *** It seems that you're using an old \`localedata' add-on. localedata
4126 *** is now part of glibc and using the old add-on will not work with
4127 *** this release. Start again with fresh sources and without the old
4128 *** \`localedata' add-on." >&2;}
4129 { (exit 1); exit 1; }; }
4134 # Now source each add-on's configure fragment.
4135 # The fragments can use $srcdir/$libc_add_on to find themselves,
4136 # and test $add_ons_automatic to see if they were explicitly requested.
4137 # A fragment can clear (or even change) $libc_add_on to affect
4138 # whether it goes into the list to be actually used in the build.
4140 for libc_add_on in $add_ons; do
4141 # Test whether such a directory really exists.
4142 # It can be absolute, or relative to $srcdir, or relative to the build dir.
4143 case "$libc_add_on" in
4145 libc_add_on_srcdir=$libc_add_on
4148 test -d "$srcdir/$libc_add_on" || {
4149 if test -d "$libc_add_on"; then
4150 libc_add_on="`pwd`/$libc_add_on"
4152 { { $as_echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
4153 $as_echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
4154 { (exit 1); exit 1; }; }
4157 libc_add_on_srcdir=$srcdir/$libc_add_on
4161 libc_add_on_frag=$libc_add_on_srcdir/configure
4162 libc_add_on_canonical=
4163 libc_add_on_config_subdirs=
4164 if test -r "$libc_add_on_frag"; then
4165 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
4166 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
4167 libc_add_on_canonical=unknown
4168 libc_add_on_subdirs=
4169 . "$libc_add_on_frag"
4170 test -z "$libc_add_on" || {
4171 configured_add_ons="$configured_add_ons $libc_add_on"
4172 if test "x$libc_add_on_canonical" = xunknown; then
4173 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
4174 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
4175 { (exit 1); exit 1; }; }
4177 for d in $libc_add_on_subdirs; do
4178 case "$libc_add_on" in
4179 /*) subdir_srcdir="$libc_add_on" ;;
4180 *) subdir_srcdir="\$(..)$libc_add_on" ;;
4184 d="${libc_add_on_canonical:-$libc_add_on}"
4190 subdir_srcdir="$subdir_srcdir/$d"
4193 d=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4194 add_on_subdirs="$add_on_subdirs $d"
4195 test "$subdir_srcdir" = "\$(..)$d" || config_vars="$config_vars
4196 $d-srcdir = $subdir_srcdir"
4198 for d in $libc_add_on_config_subdirs; do
4200 /*) { { $as_echo "$as_me:$LINENO: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&5
4201 $as_echo "$as_me: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&2;}
4202 { (exit 1); exit 1; }; } ;;
4204 if test ! -d "$libc_add_on_srcdir/$d"; then
4205 { { $as_echo "$as_me:$LINENO: error: fragment wants to configure missing directory $d" >&5
4206 $as_echo "$as_me: error: fragment wants to configure missing directory $d" >&2;}
4207 { (exit 1); exit 1; }; }
4209 case "$libc_add_on" in
4210 /*) { { $as_echo "$as_me:$LINENO: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&5
4211 $as_echo "$as_me: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&2;}
4212 { (exit 1); exit 1; }; } ;;
4214 subdirs="$subdirs $libc_add_on/$d"
4218 if test -n "$libc_add_on"; then
4219 if frags=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4221 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
4222 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4223 for frag in $frags; do
4224 name=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4225 echo $ECHO_N "$name $ECHO_C" >&6
4228 { $as_echo "$as_me:$LINENO: result: " >&5
4231 use_add_ons="$use_add_ons $libc_add_on"
4232 add_ons_pfx="$add_ons_pfx $libc_add_on/"
4233 test -z "$libc_add_on_canonical" ||
4234 add_ons_sfx="$add_ons_sfx /$libc_add_on_canonical"
4237 # Use echo to strip excess whitespace.
4238 add_ons="`echo $use_add_ons`"
4245 ### I put this here to prevent those annoying emails from people who cannot
4246 ### read and try to compile glibc on unsupported platforms. --drepper
4248 ### By using the undocumented --enable-hacker-mode option for configure
4249 ### one can skip this test to make the configuration not fail for unsupported
4252 if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
4253 case "$machine-$host_os" in
4254 *-linux* | *-gnu* | arm*-none* | powerpc-aix4.3.*)
4257 echo "*** The GNU C library is currently not available for this platform."
4258 echo "*** So far nobody cared to port it and if there is no volunteer it"
4259 echo "*** might never happen. So, if you have interest to see glibc on"
4260 echo "*** this platform visit"
4261 echo "*** http://www.gnu.org/software/libc/porting.html"
4262 echo "*** and join the group of porters"
4268 # Expand the configuration machine name into a subdirectory by architecture
4269 # type and particular chip. If an add-on configure fragment already set
4270 # base_machine, we don't change it.
4271 test -n "$base_machine" || case "$machine" in
4272 a29k | am29000) base_machine=a29k machine=a29k ;;
4273 c3[012]) base_machine=cx0 machine=cx0/c30 ;;
4274 c4[04]) base_machine=cx0 machine=cx0/c40 ;;
4275 i[34567]86) base_machine=i386 machine=i386/$machine ;;
4276 ia64) base_machine=ia64 machine=ia64 ;;
4277 m88???) base_machine=m88k machine=m88k/$machine ;;
4278 m88k) base_machine=m88k machine=m88k/m88100 ;;
4279 powerpc) base_machine=powerpc machine=powerpc/powerpc32 ;;
4280 powerpc64) base_machine=powerpc machine=powerpc/powerpc64 ;;
4281 s390) base_machine=s390 machine=s390/s390-32 ;;
4282 s390x) base_machine=s390 machine=s390/s390-64 ;;
4283 sh3*) base_machine=sh machine=sh/sh3 ;;
4284 sh4*) base_machine=sh machine=sh/sh4 ;;
4286 base_machine=sparc machine=sparc/sparc32 ;;
4287 sparcv8 | supersparc | hypersparc)
4288 base_machine=sparc machine=sparc/sparc32/sparcv8 ;;
4289 sparcv8plus | sparcv8plusa | sparcv9)
4290 base_machine=sparc machine=sparc/sparc32/sparcv9 ;;
4291 sparcv8plusb | sparcv9b)
4292 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9b ;;
4294 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v ;;
4296 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v2 ;;
4298 base_machine=sparc machine=sparc/sparc64 ;;
4300 base_machine=sparc machine=sparc/sparc64/sparcv9b ;;
4302 base_machine=sparc machine=sparc/sparc64/sparcv9v ;;
4304 base_machine=sparc machine=sparc/sparc64/sparcv9v2 ;;
4305 *) base_machine=$machine ;;
4309 if test "$base_machine" = "i386"; then
4310 cat >>confdefs.h <<\_ACEOF
4311 #define USE_REGPARMS 1
4316 # Compute the list of sysdep directories for this configuration.
4317 # This can take a while to compute.
4318 sysdep_dir=$srcdir/sysdeps
4319 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
4320 $as_echo_n "checking sysdep dirs... " >&6; }
4321 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4322 os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4324 test "x$base_os" != x || case "$os" in
4326 base_os=mach/hurd ;;
4327 netbsd* | 386bsd* | freebsd* | bsdi*)
4328 base_os=unix/bsd/bsd4.4 ;;
4329 osf* | sunos* | ultrix* | newsos* | dynix* | *bsd*)
4331 sysv* | isc* | esix* | sco* | minix* | irix4* | linux*)
4332 base_os=unix/sysv ;;
4334 base_os=unix/sysv/irix6/$os ;;
4336 base_os=unix/sysv/sysv4 ;;
4338 base_os=unix/sysv/hpux/$os ;;
4340 base_os=unix/sysv/aix/aix4.3 ;;
4342 base_os=standalone ;;
4345 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4348 while o=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4352 o=`echo $tail | sed 's/[0-9]*$//'`
4353 if test $o != $tail; then
4356 # For linux-gnu, try linux-gnu, then linux.
4357 o=`echo $tail | sed 's/-.*$//'`
4358 if test $o != $tail; then
4362 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4365 while b=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4371 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4373 tail=$machine${submachine:+/$submachine}
4374 while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4376 # Prepend the machine's FPU directory unless --without-fp.
4377 if test "$with_fp" = yes; then
4378 mach="$mach /$1/fpu"
4380 mach="$mach /$1/nofpu"
4387 # Find what sysdep directories exist.
4390 for b in $base ''; do
4391 for m0 in $mach ''; do
4392 for v in /$vendor ''; do
4393 test "$v" = / && continue
4394 for o in /$ostry ''; do
4395 test "$o" = / && continue
4396 for m in $multi_arch_d $mach ''; do
4397 for d in $add_ons_pfx ''; do
4398 for a in $add_ons_sfx ''; do
4399 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4400 try_srcdir="${srcdir}/"
4404 try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4405 test -n "$enable_debug_configure" &&
4406 echo "$0 DEBUG: try $try" >&2
4407 if test -d "$try_srcdir$try"; then
4408 sysnames="$sysnames $try"
4409 { test -n "$o" || test -n "$b"; } && os_used=t
4410 { test -n "$m" || test -n "$m0"; } && machine_used=t
4412 x*/$submachine) submachine_used=t ;;
4414 if test -n "$d"; then
4415 case "$sysnames_add_ons" in
4417 *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
4430 if test -z "$os_used" && test "$os" != none; then
4431 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4432 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
4433 { (exit 1); exit 1; }; }
4435 if test -z "$machine_used" && test "$machine" != none; then
4436 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4437 $as_echo "$as_me: error: The $machine is not supported." >&2;}
4438 { (exit 1); exit 1; }; }
4440 if test -z "$submachine_used" && test -n "$submachine"; then
4441 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4442 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4443 { (exit 1); exit 1; }; }
4447 # We have now validated the configuration.
4450 # If using ELF, look for an `elf' subdirectory of each machine directory.
4451 # We prepend these rather than inserting them whereever the machine appears
4452 # because things specified by the machine's ELF ABI should override
4453 # OS-specific things, and should always be the same for any OS on the
4454 # machine (otherwise what's the point of an ABI?).
4455 if test "$elf" = yes; then
4457 for d in $add_ons_pfx ''; do
4459 if test -d $srcdir/${d}sysdeps$m/elf; then
4460 elf_dirs="$elf_dirs ${d}sysdeps$m/elf"
4464 sysnames="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4468 # Expand the list of system names into a full list of directories
4469 # from each element's parent name and Implies file (if present).
4472 while test $# -gt 0; do
4476 case " $names " in *" $name "*)
4477 # Already in the list.
4481 # Report each name as we discover it, so there is no long pause in output.
4482 echo $ECHO_N "$name $ECHO_C" >&6
4484 name_base=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4488 *) xsrcdir=$srcdir/ ;;
4490 test -n "$enable_debug_configure" &&
4491 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4493 if test -f $xsrcdir$name/Implies; then
4494 # Collect more names from the `Implies' file (removing comments).
4495 implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4497 for x in $implied_candidate; do
4499 if test -d $xsrcdir$name_base/$x; then
4500 implied="$implied $name_base/$x";
4503 for d in $add_ons_pfx ''; do
4504 try="${d}sysdeps/$x"
4507 *) try_srcdir=$srcdir/ ;;
4509 test -n "$enable_debug_configure" &&
4510 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4511 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4513 implied="$implied $try"
4515 case "$sysnames_add_ons" in
4517 *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
4521 if test $found = no; then
4522 { $as_echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
4523 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4530 # Add NAME to the list of names.
4531 names="$names $name"
4533 # Find the parent of NAME, using the empty string if it has none.
4534 parent="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4536 # Add the names implied by NAME, and NAME's parent (if it has one), to
4537 # the list of names to be processed (the argument list). We prepend the
4538 # implied names to the list and append the parent. We want implied
4539 # directories to come before further directories inferred from the
4540 # configuration components; this ensures that for sysv4, unix/common
4541 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4543 sysnames="`echo $implied $* $parent`"
4544 test -n "$sysnames" && set $sysnames
4547 # Add the default directories.
4548 default_sysnames=sysdeps/generic
4549 if test "$elf" = yes; then
4550 default_sysnames="sysdeps/generic/elf $default_sysnames"
4552 sysnames="$names $default_sysnames"
4554 # The other names were emitted during the scan.
4555 { $as_echo "$as_me:$LINENO: result: $default_sysnames" >&5
4556 $as_echo "$default_sysnames" >&6; }
4558 # Collect the list of add-ons that supply partial sysdeps trees.
4560 for add_on in $add_ons; do
4563 *) xsrcdir="$srcdir/" ;;
4566 test -d "$xsrcdir$add_on/sysdeps" || {
4567 case "$configured_add_ons " in
4570 { { $as_echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
4571 $as_echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
4572 { (exit 1); exit 1; }; }
4578 sysdeps_add_ons="$sysdeps_add_ons $add_on"
4579 case "$sysnames_add_ons" in
4582 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4583 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4588 for d in $sysnames; do
4590 $add_on/sysdeps/*) ;;
4593 (cd "$xsrcdir$d" && for f in *[!~]; do
4596 for ff in $f/*.h; do
4597 test -d "$ff" || { test -e "$ff" && exit 88; }
4601 test -d "$f" || { test -e "$f" && exit 88; }
4605 if test $? -eq 88; then
4610 if test $found = no; then
4611 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4612 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4620 # Find a good install program. We prefer a C program (faster),
4621 # so one script is as good as another. But avoid the broken or
4622 # incompatible versions:
4623 # SysV /etc/install, /usr/sbin/install
4624 # SunOS /usr/etc/install
4625 # IRIX /sbin/install
4627 # AmigaOS /C/install, which installs bootblocks on floppy discs
4628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4631 # OS/2's system install, which has a completely different semantic
4632 # ./install, which can be erroneously created by make from ./install.sh.
4633 # Reject install programs that cannot install multiple files.
4634 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4635 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4636 if test -z "$INSTALL"; then
4637 if test "${ac_cv_path_install+set}" = set; then
4638 $as_echo_n "(cached) " >&6
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4644 test -z "$as_dir" && as_dir=.
4645 # Account for people who put trailing slashes in PATH elements.
4647 ./ | .// | /cC/* | \
4648 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4649 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4652 # OSF1 and SCO ODT 3.0 have their own names for install.
4653 # Don't use installbsd from OSF since it installs stuff as root
4655 for ac_prog in ginstall scoinst install; do
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4658 if test $ac_prog = install &&
4659 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4660 # AIX install. It has an incompatible calling convention.
4662 elif test $ac_prog = install &&
4663 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4664 # program-specific install script used by HP pwplus--don't use.
4667 rm -rf conftest.one conftest.two conftest.dir
4668 echo one > conftest.one
4669 echo two > conftest.two
4671 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4672 test -s conftest.one && test -s conftest.two &&
4673 test -s conftest.dir/conftest.one &&
4674 test -s conftest.dir/conftest.two
4676 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4689 rm -rf conftest.one conftest.two conftest.dir
4692 if test "${ac_cv_path_install+set}" = set; then
4693 INSTALL=$ac_cv_path_install
4695 # As a last resort, use the slow shell script. Don't cache a
4696 # value for INSTALL within a source directory, because that will
4697 # break other packages using the cache if that directory is
4698 # removed, or if the value is a relative name.
4699 INSTALL=$ac_install_sh
4702 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4703 $as_echo "$INSTALL" >&6; }
4705 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4706 # It thinks the first close brace ends the variable substitution.
4707 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4709 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4711 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4713 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4714 # The makefiles need to use a different form to find it in $srcdir.
4715 INSTALL='\$(..)./scripts/install-sh -c'
4717 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4718 $as_echo_n "checking whether ln -s works... " >&6; }
4720 if test "$LN_S" = "ln -s"; then
4721 { $as_echo "$as_me:$LINENO: result: yes" >&5
4722 $as_echo "yes" >&6; }
4724 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4725 $as_echo "no, using $LN_S" >&6; }
4729 # Was a --with-binutils option given?
4730 if test -n "$path_binutils"; then
4731 # Make absolute; ensure a single trailing slash.
4732 path_binutils=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4733 CC="$CC -B$path_binutils"
4735 AS=`$CC -print-prog-name=as`
4736 LD=`$CC -print-prog-name=ld`
4737 AR=`$CC -print-prog-name=ar`
4739 NM=`$CC -print-prog-name=nm`
4741 OBJDUMP=`$CC -print-prog-name=objdump`
4744 # ranlib has to be treated a bit differently since it might not exist at all.
4745 ac_ranlib=`$CC -print-prog-name=ranlib`
4746 if test "x$ac_ranlib" = xranlib; then
4747 # This extra check has to happen since gcc simply echos the parameter in
4748 # case it cannot find the value in its own directories.
4749 if test -n "$ac_tool_prefix"; then
4750 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4751 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4752 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if test "${ac_cv_prog_RANLIB+set}" = set; then
4755 $as_echo_n "(cached) " >&6
4757 if test -n "$RANLIB"; then
4758 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4768 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 RANLIB=$ac_cv_prog_RANLIB
4778 if test -n "$RANLIB"; then
4779 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4780 $as_echo "$RANLIB" >&6; }
4782 { $as_echo "$as_me:$LINENO: result: no" >&5
4783 $as_echo "no" >&6; }
4788 if test -z "$ac_cv_prog_RANLIB"; then
4789 ac_ct_RANLIB=$RANLIB
4790 # Extract the first word of "ranlib", so it can be a program name with args.
4791 set dummy ranlib; ac_word=$2
4792 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4795 $as_echo_n "(cached) " >&6
4797 if test -n "$ac_ct_RANLIB"; then
4798 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir=.
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4807 ac_cv_prog_ac_ct_RANLIB="ranlib"
4808 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4818 if test -n "$ac_ct_RANLIB"; then
4819 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4820 $as_echo "$ac_ct_RANLIB" >&6; }
4822 { $as_echo "$as_me:$LINENO: result: no" >&5
4823 $as_echo "no" >&6; }
4826 if test "x$ac_ct_RANLIB" = x; then
4829 case $cross_compiling:$ac_tool_warned in
4831 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4833 ac_tool_warned=yes ;;
4835 RANLIB=$ac_ct_RANLIB
4838 RANLIB="$ac_cv_prog_RANLIB"
4846 # Determine whether we are using GNU binutils.
4847 { $as_echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4848 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4849 if test "${libc_cv_prog_as_gnu+set}" = set; then
4850 $as_echo_n "(cached) " >&6
4852 # Most GNU programs take a -v and spit out some text including
4853 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4854 if $AS -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4855 libc_cv_prog_as_gnu=yes
4857 libc_cv_prog_as_gnu=no
4861 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4862 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4864 gnu_as=$libc_cv_prog_as_gnu
4866 { $as_echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4867 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4868 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4869 $as_echo_n "(cached) " >&6
4871 # Most GNU programs take a -v and spit out some text including
4872 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4873 if $LD -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4874 libc_cv_prog_ld_gnu=yes
4876 libc_cv_prog_ld_gnu=no
4880 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4881 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4882 gnu_ld=$libc_cv_prog_ld_gnu
4885 # Accept binutils 2.17 or newer.
4888 # Extract the first word of "$ac_prog", so it can be a program name with args.
4889 set dummy $ac_prog; ac_word=$2
4890 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if test "${ac_cv_prog_AS+set}" = set; then
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$AS"; then
4896 ac_cv_prog_AS="$AS" # Let the user override the test.
4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir=.
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4905 ac_cv_prog_AS="$ac_prog"
4906 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 if test -n "$AS"; then
4917 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4918 $as_echo "$AS" >&6; }
4920 { $as_echo "$as_me:$LINENO: result: no" >&5
4921 $as_echo "no" >&6; }
4925 test -n "$AS" && break
4928 if test -z "$AS"; then
4931 # Found it, now check the version.
4932 { $as_echo "$as_me:$LINENO: checking version of $AS" >&5
4933 $as_echo_n "checking version of $AS... " >&6; }
4934 ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4935 case $ac_prog_version in
4936 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4937 2.1[7-9]*|2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*)
4938 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4939 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4942 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4943 $as_echo "$ac_prog_version" >&6; }
4945 if test $ac_verc_fail = yes; then
4946 AS=: critic_missing="$critic_missing as"
4951 # Extract the first word of "$ac_prog", so it can be a program name with args.
4952 set dummy $ac_prog; ac_word=$2
4953 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if test "${ac_cv_prog_LD+set}" = set; then
4956 $as_echo_n "(cached) " >&6
4958 if test -n "$LD"; then
4959 ac_cv_prog_LD="$LD" # Let the user override the test.
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir=.
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4968 ac_cv_prog_LD="$ac_prog"
4969 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 if test -n "$LD"; then
4980 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4981 $as_echo "$LD" >&6; }
4983 { $as_echo "$as_me:$LINENO: result: no" >&5
4984 $as_echo "no" >&6; }
4988 test -n "$LD" && break
4991 if test -z "$LD"; then
4994 # Found it, now check the version.
4995 { $as_echo "$as_me:$LINENO: checking version of $LD" >&5
4996 $as_echo_n "checking version of $LD... " >&6; }
4997 ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4998 case $ac_prog_version in
4999 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5000 2.1[7-9]*|2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*)
5001 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5002 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5005 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5006 $as_echo "$ac_prog_version" >&6; }
5008 if test $ac_verc_fail = yes; then
5009 LD=: critic_missing="$critic_missing ld"
5013 # We need the physical current working directory. We cannot use the
5014 # "pwd -P" shell builtin since that's not portable. Instead we try to
5015 # find a pwd binary. Note that assigning to the PWD environment
5016 # variable might have some interesting side effects, so we don't do
5018 # Extract the first word of "pwd", so it can be a program name with args.
5019 set dummy pwd; ac_word=$2
5020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if test "${ac_cv_path_PWD_P+set}" = set; then
5023 $as_echo_n "(cached) " >&6
5027 ac_cv_path_PWD_P="$PWD_P" # Let the user override the test with a path.
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5037 ac_cv_path_PWD_P="$as_dir/$ac_word$ac_exec_ext"
5038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P="no"
5049 PWD_P=$ac_cv_path_PWD_P
5050 if test -n "$PWD_P"; then
5051 { $as_echo "$as_me:$LINENO: result: $PWD_P" >&5
5052 $as_echo "$PWD_P" >&6; }
5054 { $as_echo "$as_me:$LINENO: result: no" >&5
5055 $as_echo "no" >&6; }
5059 if test "$PWD_P" = no; then
5060 { { $as_echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
5061 $as_echo "$as_me: error: *** A pwd binary could not be found." >&2;}
5062 { (exit 1); exit 1; }; }
5065 # These programs are version sensitive.
5067 # We require GCC 4.1 or later.
5068 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
5070 # Extract the first word of "$ac_prog", so it can be a program name with args.
5071 set dummy $ac_prog; ac_word=$2
5072 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if test "${ac_cv_prog_CC+set}" = set; then
5075 $as_echo_n "(cached) " >&6
5077 if test -n "$CC"; then
5078 ac_cv_prog_CC="$CC" # Let the user override the test.
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5087 ac_cv_prog_CC="$ac_prog"
5088 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 if test -n "$CC"; then
5099 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5100 $as_echo "$CC" >&6; }
5102 { $as_echo "$as_me:$LINENO: result: no" >&5
5103 $as_echo "no" >&6; }
5107 test -n "$CC" && break
5110 if test -z "$CC"; then
5113 # Found it, now check the version.
5114 { $as_echo "$as_me:$LINENO: checking version of $CC" >&5
5115 $as_echo_n "checking version of $CC... " >&6; }
5116 ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version [egcygnustpi-]*\([0-9.]*\).*$/\1/p'`
5117 case $ac_prog_version in
5118 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5120 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5121 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5124 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5125 $as_echo "$ac_prog_version" >&6; }
5127 if test $ac_verc_fail = yes; then
5128 critic_missing="$critic_missing gcc"
5131 for ac_prog in gnumake gmake make
5133 # Extract the first word of "$ac_prog", so it can be a program name with args.
5134 set dummy $ac_prog; ac_word=$2
5135 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if test "${ac_cv_prog_MAKE+set}" = set; then
5138 $as_echo_n "(cached) " >&6
5140 if test -n "$MAKE"; then
5141 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5150 ac_cv_prog_MAKE="$ac_prog"
5151 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 MAKE=$ac_cv_prog_MAKE
5161 if test -n "$MAKE"; then
5162 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
5163 $as_echo "$MAKE" >&6; }
5165 { $as_echo "$as_me:$LINENO: result: no" >&5
5166 $as_echo "no" >&6; }
5170 test -n "$MAKE" && break
5173 if test -z "$MAKE"; then
5176 # Found it, now check the version.
5177 { $as_echo "$as_me:$LINENO: checking version of $MAKE" >&5
5178 $as_echo_n "checking version of $MAKE... " >&6; }
5179 ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5180 case $ac_prog_version in
5181 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5183 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5184 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5187 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5188 $as_echo "$ac_prog_version" >&6; }
5190 if test $ac_verc_fail = yes; then
5191 critic_missing="$critic_missing make"
5195 for ac_prog in gnumsgfmt gmsgfmt msgfmt
5197 # Extract the first word of "$ac_prog", so it can be a program name with args.
5198 set dummy $ac_prog; ac_word=$2
5199 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if test "${ac_cv_prog_MSGFMT+set}" = set; then
5202 $as_echo_n "(cached) " >&6
5204 if test -n "$MSGFMT"; then
5205 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_MSGFMT="$ac_prog"
5215 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 MSGFMT=$ac_cv_prog_MSGFMT
5225 if test -n "$MSGFMT"; then
5226 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5227 $as_echo "$MSGFMT" >&6; }
5229 { $as_echo "$as_me:$LINENO: result: no" >&5
5230 $as_echo "no" >&6; }
5234 test -n "$MSGFMT" && break
5237 if test -z "$MSGFMT"; then
5240 # Found it, now check the version.
5241 { $as_echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
5242 $as_echo_n "checking version of $MSGFMT... " >&6; }
5243 ac_prog_version=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5244 case $ac_prog_version in
5245 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5246 0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
5247 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5248 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5251 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5252 $as_echo "$ac_prog_version" >&6; }
5254 if test $ac_verc_fail = yes; then
5255 MSGFMT=: aux_missing="$aux_missing msgfmt"
5258 for ac_prog in makeinfo
5260 # Extract the first word of "$ac_prog", so it can be a program name with args.
5261 set dummy $ac_prog; ac_word=$2
5262 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5265 $as_echo_n "(cached) " >&6
5267 if test -n "$MAKEINFO"; then
5268 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_MAKEINFO="$ac_prog"
5278 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 MAKEINFO=$ac_cv_prog_MAKEINFO
5288 if test -n "$MAKEINFO"; then
5289 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5290 $as_echo "$MAKEINFO" >&6; }
5292 { $as_echo "$as_me:$LINENO: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$MAKEINFO" && break
5300 if test -z "$MAKEINFO"; then
5303 # Found it, now check the version.
5304 { $as_echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5305 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5306 ac_prog_version=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5307 case $ac_prog_version in
5308 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5310 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5311 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5314 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5315 $as_echo "$ac_prog_version" >&6; }
5317 if test $ac_verc_fail = yes; then
5318 MAKEINFO=: aux_missing="$aux_missing makeinfo"
5323 # Extract the first word of "$ac_prog", so it can be a program name with args.
5324 set dummy $ac_prog; ac_word=$2
5325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if test "${ac_cv_prog_SED+set}" = set; then
5328 $as_echo_n "(cached) " >&6
5330 if test -n "$SED"; then
5331 ac_cv_prog_SED="$SED" # Let the user override the test.
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5340 ac_cv_prog_SED="$ac_prog"
5341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 if test -n "$SED"; then
5352 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5353 $as_echo "$SED" >&6; }
5355 { $as_echo "$as_me:$LINENO: result: no" >&5
5356 $as_echo "no" >&6; }
5360 test -n "$SED" && break
5363 if test -z "$SED"; then
5366 # Found it, now check the version.
5367 { $as_echo "$as_me:$LINENO: checking version of $SED" >&5
5368 $as_echo_n "checking version of $SED... " >&6; }
5369 ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5370 case $ac_prog_version in
5371 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5372 3.0[2-9]*|3.[1-9]*|[4-9]*)
5373 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5374 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5377 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5378 $as_echo "$ac_prog_version" >&6; }
5380 if test $ac_verc_fail = yes; then
5381 SED=: aux_missing="$aux_missing sed"
5385 for ac_prog in autoconf
5387 # Extract the first word of "$ac_prog", so it can be a program name with args.
5388 set dummy $ac_prog; ac_word=$2
5389 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5390 $as_echo_n "checking for $ac_word... " >&6; }
5391 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5392 $as_echo_n "(cached) " >&6
5394 if test -n "$AUTOCONF"; then
5395 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5404 ac_cv_prog_AUTOCONF="$ac_prog"
5405 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 AUTOCONF=$ac_cv_prog_AUTOCONF
5415 if test -n "$AUTOCONF"; then
5416 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5417 $as_echo "$AUTOCONF" >&6; }
5419 { $as_echo "$as_me:$LINENO: result: no" >&5
5420 $as_echo "no" >&6; }
5424 test -n "$AUTOCONF" && break
5426 test -n "$AUTOCONF" || AUTOCONF="no"
5428 case "x$AUTOCONF" in
5429 xno|x|x:) AUTOCONF=no ;;
5431 { $as_echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5432 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5433 if test "${libc_cv_autoconf_works+set}" = set; then
5434 $as_echo_n "(cached) " >&6
5436 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
5437 libc_cv_autoconf_works=yes
5439 libc_cv_autoconf_works=no
5442 { $as_echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5443 $as_echo "$libc_cv_autoconf_works" >&6; }
5444 test $libc_cv_autoconf_works = yes || AUTOCONF=no
5447 if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
5448 # If --without-cvs they probably won't change configure.in, so no complaints.
5449 aux_missing="$aux_missing autoconf"
5452 test -n "$critic_missing" && { { $as_echo "$as_me:$LINENO: error:
5453 *** These critical programs are missing or too old:$critic_missing
5454 *** Check the INSTALL file for required versions." >&5
5455 $as_echo "$as_me: error:
5456 *** These critical programs are missing or too old:$critic_missing
5457 *** Check the INSTALL file for required versions." >&2;}
5458 { (exit 1); exit 1; }; }
5460 test -n "$aux_missing" && { $as_echo "$as_me:$LINENO: WARNING:
5461 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5462 *** some features will be disabled.
5463 *** Check the INSTALL file for required versions." >&5
5464 $as_echo "$as_me: WARNING:
5465 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5466 *** some features will be disabled.
5467 *** Check the INSTALL file for required versions." >&2;}
5469 # if using special system headers, find out the compiler's sekrit
5470 # header directory and add that to the list. NOTE: Only does the right
5471 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5472 if test -n "$sysheaders"; then
5473 SYSINCLUDES=-nostdinc
5474 for d in include include-fixed; do
5475 i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
5476 SYSINCLUDES="$SYSINCLUDES -isystem $i"
5478 SYSINCLUDES="$SYSINCLUDES \
5479 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5480 if test -n "$CXX"; then
5481 cxxversion=`$CXX -dumpversion 2>&5` &&
5482 cxxmachine=`$CXX -dumpmachine 2>&5` &&
5483 cxxheaders=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5484 CXX_SYSINCLUDES="-isystem $cxxheaders \
5485 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5491 # check if ranlib is necessary
5492 { $as_echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5493 $as_echo_n "checking whether ranlib is necessary... " >&6; }
5494 if test "${libc_cv_ranlib_necessary+set}" = set; then
5495 $as_echo_n "(cached) " >&6
5497 cat > conftest.c <<EOF
5502 $CC $CFLAGS $CPPFLAGS -c conftest.c
5503 $AR cr conftest.a conftest.o
5504 cp conftest.a conftest2.a
5506 if cmp -s conftest.a conftest2.a; then
5507 libc_cv_ranlib_necessary=no
5509 libc_cv_ranlib_necessary=yes
5513 { $as_echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5514 $as_echo "$libc_cv_ranlib_necessary" >&6; }
5515 if test "$libc_cv_ranlib_necessary" = no; then
5519 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5520 # since this would lead to problems installing/building glibc.
5521 # LD_LIBRARY_PATH contains the current directory if one of the following
5523 # - one of the terminals (":" and ";") is the first or last sign
5524 # - two terminals occur directly after each other
5525 # - the path contains an element with a dot in it
5526 { $as_echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5527 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5528 case ${LD_LIBRARY_PATH} in
5529 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
5530 ld_library_path_setting="contains current directory"
5533 ld_library_path_setting="ok"
5536 { $as_echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5537 $as_echo "$ld_library_path_setting" >&6; }
5538 if test "$ld_library_path_setting" != "ok"; then
5539 { { $as_echo "$as_me:$LINENO: error:
5540 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5541 *** building glibc. Please change the environment variable
5542 *** and run configure again." >&5
5543 $as_echo "$as_me: error:
5544 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5545 *** building glibc. Please change the environment variable
5546 *** and run configure again." >&2;}
5547 { (exit 1); exit 1; }; }
5550 { $as_echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5551 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5552 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5553 $as_echo_n "(cached) " >&6
5555 if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then
5556 libc_cv_gcc_static_libgcc=
5558 libc_cv_gcc_static_libgcc=-static-libgcc
5561 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5562 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5565 # Extract the first word of "bash", so it can be a program name with args.
5566 set dummy bash; ac_word=$2
5567 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5570 $as_echo_n "(cached) " >&6
5574 ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5584 ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
5585 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
5596 BASH_SHELL=$ac_cv_path_BASH_SHELL
5597 if test -n "$BASH_SHELL"; then
5598 { $as_echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5599 $as_echo "$BASH_SHELL" >&6; }
5601 { $as_echo "$as_me:$LINENO: result: no" >&5
5602 $as_echo "no" >&6; }
5606 if test "$BASH_SHELL" != no &&
5607 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5608 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5609 libc_cv_have_bash2=yes
5611 libc_cv_have_bash2=no
5615 if test "$BASH_SHELL" = no; then
5616 # Extract the first word of "ksh", so it can be a program name with args.
5617 set dummy ksh; ac_word=$2
5618 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if test "${ac_cv_path_KSH+set}" = set; then
5621 $as_echo_n "(cached) " >&6
5625 ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir=.
5633 for ac_exec_ext in '' $ac_executable_extensions; do
5634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
5636 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
5648 if test -n "$KSH"; then
5649 { $as_echo "$as_me:$LINENO: result: $KSH" >&5
5650 $as_echo "$KSH" >&6; }
5652 { $as_echo "$as_me:$LINENO: result: no" >&5
5653 $as_echo "no" >&6; }
5657 if test "$KSH" = no; then
5660 libc_cv_have_ksh=yes
5665 libc_cv_have_ksh=yes
5669 for ac_prog in gawk mawk nawk awk
5671 # Extract the first word of "$ac_prog", so it can be a program name with args.
5672 set dummy $ac_prog; ac_word=$2
5673 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if test "${ac_cv_prog_AWK+set}" = set; then
5676 $as_echo_n "(cached) " >&6
5678 if test -n "$AWK"; then
5679 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688 ac_cv_prog_AWK="$ac_prog"
5689 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 if test -n "$AWK"; then
5700 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
5701 $as_echo "$AWK" >&6; }
5703 { $as_echo "$as_me:$LINENO: result: no" >&5
5704 $as_echo "no" >&6; }
5708 test -n "$AWK" && break
5711 if test "x$AWK" != "xgawk"; then
5712 { { $as_echo "$as_me:$LINENO: error: GLIBC requires GNU awk." >&5
5713 $as_echo "$as_me: error: GLIBC requires GNU awk." >&2;}
5714 { (exit 1); exit 1; }; }
5717 # Extract the first word of "perl", so it can be a program name with args.
5718 set dummy perl; ac_word=$2
5719 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_path_PERL+set}" = set; then
5722 $as_echo_n "(cached) " >&6
5726 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5736 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5737 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
5748 PERL=$ac_cv_path_PERL
5749 if test -n "$PERL"; then
5750 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
5751 $as_echo "$PERL" >&6; }
5753 { $as_echo "$as_me:$LINENO: result: no" >&5
5754 $as_echo "no" >&6; }
5758 if test "$PERL" != no &&
5759 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5762 # Extract the first word of "install-info", so it can be a program name with args.
5763 set dummy install-info; ac_word=$2
5764 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5767 $as_echo_n "(cached) " >&6
5769 case $INSTALL_INFO in
5771 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5776 for as_dir in $as_dummy
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5782 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5783 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
5794 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5795 if test -n "$INSTALL_INFO"; then
5796 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5797 $as_echo "$INSTALL_INFO" >&6; }
5799 { $as_echo "$as_me:$LINENO: result: no" >&5
5800 $as_echo "no" >&6; }
5804 # Extract the first word of "bison", so it can be a program name with args.
5805 set dummy bison; ac_word=$2
5806 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5807 $as_echo_n "checking for $ac_word... " >&6; }
5808 if test "${ac_cv_path_BISON+set}" = set; then
5809 $as_echo_n "(cached) " >&6
5813 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 as_dummy="$PATH:/usr/local/bin:/usr/bin:/bin"
5818 for as_dir in $as_dummy
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5825 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no"
5836 BISON=$ac_cv_path_BISON
5837 if test -n "$BISON"; then
5838 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
5839 $as_echo "$BISON" >&6; }
5841 { $as_echo "$as_me:$LINENO: result: no" >&5
5842 $as_echo "no" >&6; }
5847 { $as_echo "$as_me:$LINENO: checking for signed size_t type" >&5
5848 $as_echo_n "checking for signed size_t type... " >&6; }
5849 if test "${libc_cv_signed_size_t+set}" = set; then
5850 $as_echo_n "(cached) " >&6
5852 echo '#include <stddef.h>
5853 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5854 if eval "$ac_cpp conftest.c 2>/dev/null" \
5855 | grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev/null; then
5856 libc_cv_signed_size_t=no
5858 libc_cv_signed_size_t=yes
5862 { $as_echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5863 $as_echo "$libc_cv_signed_size_t" >&6; }
5864 if test $libc_cv_signed_size_t = yes; then
5865 cat >> confdefs.h <<\EOF
5866 #undef __SIZE_TYPE__
5867 #define __SIZE_TYPE__ unsigned
5871 { $as_echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5872 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5873 if test "${libc_cv_friendly_stddef+set}" = set; then
5874 $as_echo_n "(cached) " >&6
5876 cat >conftest.$ac_ext <<_ACEOF
5879 cat confdefs.h >>conftest.$ac_ext
5880 cat >>conftest.$ac_ext <<_ACEOF
5881 /* end confdefs.h. */
5882 #define __need_size_t
5883 #define __need_wchar_t
5890 size_t size; wchar_t wchar;
5892 #error stddef.h ignored __need_*
5894 if (&size == NULL || &wchar == NULL) abort ();
5899 rm -f conftest.$ac_objext
5900 if { (ac_try="$ac_compile"
5902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5903 *) ac_try_echo=$ac_try;;
5905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5906 $as_echo "$ac_try_echo") >&5
5907 (eval "$ac_compile") 2>conftest.er1
5909 grep -v '^ *+' conftest.er1 >conftest.err
5911 cat conftest.err >&5
5912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); } && {
5914 test -z "$ac_c_werror_flag" ||
5915 test ! -s conftest.err
5916 } && test -s conftest.$ac_objext; then
5917 libc_cv_friendly_stddef=yes
5919 $as_echo "$as_me: failed program was:" >&5
5920 sed 's/^/| /' conftest.$ac_ext >&5
5922 libc_cv_friendly_stddef=no
5925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5927 { $as_echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5928 $as_echo "$libc_cv_friendly_stddef" >&6; }
5929 if test $libc_cv_friendly_stddef = yes; then
5930 config_vars="$config_vars
5931 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5934 { $as_echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5935 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5936 if test "${libc_cv_need_minus_P+set}" = set; then
5937 $as_echo_n "(cached) " >&6
5939 cat > conftest.S <<EOF
5940 #include "confdefs.h"
5941 /* Nothing whatsoever. */
5943 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; }; then
5949 libc_cv_need_minus_P=no
5951 libc_cv_need_minus_P=yes
5955 { $as_echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5956 $as_echo "$libc_cv_need_minus_P" >&6; }
5957 if test $libc_cv_need_minus_P = yes; then
5958 config_vars="$config_vars
5959 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5962 { $as_echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5963 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
5964 if test "${libc_cv_dot_text+set}" = set; then
5965 $as_echo_n "(cached) " >&6
5967 cat > conftest.s <<EOF
5971 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); }; }; then
5977 libc_cv_dot_text=.text
5982 if test -z "$libc_cv_dot_text"; then
5983 { $as_echo "$as_me:$LINENO: result: no" >&5
5984 $as_echo "no" >&6; }
5986 { $as_echo "$as_me:$LINENO: result: yes" >&5
5987 $as_echo "yes" >&6; }
5990 { $as_echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5991 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
5992 if test "${libc_cv_asm_global_directive+set}" = set; then
5993 $as_echo_n "(cached) " >&6
5995 libc_cv_asm_global_directive=UNKNOWN
5996 for ac_globl in .globl .global .EXPORT; do
5997 cat > conftest.s <<EOF
6002 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; }; then
6008 libc_cv_asm_global_directive=${ac_globl}
6011 test $libc_cv_asm_global_directive != UNKNOWN && break
6014 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
6015 $as_echo "$libc_cv_asm_global_directive" >&6; }
6016 if test $libc_cv_asm_global_directive = UNKNOWN; then
6017 { { $as_echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
6018 $as_echo "$as_me: error: cannot determine asm global directive" >&2;}
6019 { (exit 1); exit 1; }; }
6021 cat >>confdefs.h <<_ACEOF
6022 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
6027 { $as_echo "$as_me:$LINENO: checking for .set assembler directive" >&5
6028 $as_echo_n "checking for .set assembler directive... " >&6; }
6029 if test "${libc_cv_asm_set_directive+set}" = set; then
6030 $as_echo_n "(cached) " >&6
6032 cat > conftest.s <<EOF
6035 .set glibc_conftest_frobozz,foo
6036 $libc_cv_asm_global_directive glibc_conftest_frobozz
6038 # The alpha-dec-osf1 assembler gives only a warning for `.set'
6039 # (but it doesn't work), so we must do a linking check to be sure.
6040 cat > conftest1.c <<\EOF
6041 extern int glibc_conftest_frobozz;
6042 void _start() { glibc_conftest_frobozz = 1; }
6044 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6045 -nostartfiles -nostdlib \
6046 -o conftest conftest.s conftest1.c 1>&5 2>&5; then
6047 libc_cv_asm_set_directive=yes
6049 libc_cv_asm_set_directive=no
6053 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
6054 $as_echo "$libc_cv_asm_set_directive" >&6; }
6055 if test $libc_cv_asm_set_directive = yes; then
6056 cat >>confdefs.h <<\_ACEOF
6057 #define HAVE_ASM_SET_DIRECTIVE 1
6062 { $as_echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
6063 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
6064 if test "${libc_cv_asm_type_prefix+set}" = set; then
6065 $as_echo_n "(cached) " >&6
6067 libc_cv_asm_type_prefix=no
6068 for ac_try_prefix in '@' '%' '#'; do
6069 cat > conftest.s <<EOF
6071 ${libc_cv_asm_global_directive} foo
6072 .type foo, ${ac_try_prefix}object
6077 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); }; }; then
6083 libc_cv_asm_type_prefix=${ac_try_prefix}
6086 test "x$libc_cv_asm_type_prefix" != xno && break
6089 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
6090 $as_echo "$libc_cv_asm_type_prefix" >&6; }
6091 if test "x$libc_cv_asm_type_prefix" != xno; then
6092 cat >>confdefs.h <<_ACEOF
6093 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
6098 { $as_echo "$as_me:$LINENO: checking for assembler gnu_unique_object symbol type" >&5
6099 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
6100 if test "${libc_cv_asm_unique_object+set}" = set; then
6101 $as_echo_n "(cached) " >&6
6103 cat > conftest.s <<EOF
6106 .type _sym, ${libc_cv_asm_type_prefix}gnu_unique_object
6108 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
6109 libc_cv_asm_unique_object=yes
6111 libc_cv_asm_unique_object=no
6115 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_unique_object" >&5
6116 $as_echo "$libc_cv_asm_unique_object" >&6; }
6117 if test $libc_cv_asm_unique_object = yes; then
6118 cat >>confdefs.h <<\_ACEOF
6119 #define HAVE_ASM_UNIQUE_OBJECT 1
6124 # For the multi-arch option we need support in the assembler.
6125 if test "$multi_arch" = yes; then
6126 if test "x$libc_cv_asm_type_prefix" != xno; then
6127 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
6128 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
6129 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
6130 $as_echo_n "(cached) " >&6
6132 cat > conftest.s <<EOF
6133 .type foo,%gnu_indirect_function
6135 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5;
6137 libc_cv_asm_gnu_indirect_function=yes
6139 libc_cv_asm_gnu_indirect_function=no
6143 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
6144 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
6146 libc_cv_asm_gnu_indirect_function=no
6148 if test x"$libc_cv_asm_gnu_indirect_function" != xyes; then
6149 { { $as_echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
6150 $as_echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
6151 { (exit 1); exit 1; }; }
6155 { $as_echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
6156 $as_echo_n "checking for .symver assembler directive... " >&6; }
6157 if test "${libc_cv_asm_symver_directive+set}" = set; then
6158 $as_echo_n "(cached) " >&6
6160 cat > conftest.s <<EOF
6163 .symver _sym,sym@VERS
6165 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
6166 libc_cv_asm_symver_directive=yes
6168 libc_cv_asm_symver_directive=no
6172 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
6173 $as_echo "$libc_cv_asm_symver_directive" >&6; }
6174 { $as_echo "$as_me:$LINENO: checking for ld --version-script" >&5
6175 $as_echo_n "checking for ld --version-script... " >&6; }
6176 if test "${libc_cv_ld_version_script_option+set}" = set; then
6177 $as_echo_n "(cached) " >&6
6179 if test $libc_cv_asm_symver_directive = yes; then
6180 cat > conftest.s <<EOF
6183 .symver _sym,sym@VERS
6185 cat > conftest.map <<EOF
6194 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
6195 if { ac_try='${CC-cc} $CFLAGS $LDFLAGS -shared
6196 -o conftest.so conftest.o
6197 -nostartfiles -nostdlib
6198 -Wl,--version-script,conftest.map
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; };
6206 libc_cv_ld_version_script_option=yes
6208 libc_cv_ld_version_script_option=no
6211 libc_cv_ld_version_script_option=no
6214 libc_cv_ld_version_script_option=no
6218 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
6219 $as_echo "$libc_cv_ld_version_script_option" >&6; }
6220 if test $shared != no &&
6221 test $libc_cv_asm_symver_directive = yes &&
6222 test $libc_cv_ld_version_script_option = yes &&
6223 test $enable_versioning = yes; then
6225 cat >>confdefs.h <<\_ACEOF
6226 #define DO_VERSIONING 1
6234 if test $elf = yes && test $shared != no && test $VERSIONING = no; then
6236 *** WARNING: You should not compile GNU libc without versioning. Not using
6237 *** versioning will introduce incompatibilities so that old binaries
6238 *** will not run anymore.
6239 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
6241 if test $elf = yes; then
6242 { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
6243 $as_echo_n "checking for .previous assembler directive... " >&6; }
6244 if test "${libc_cv_asm_previous_directive+set}" = set; then
6245 $as_echo_n "(cached) " >&6
6247 cat > conftest.s <<EOF
6248 .section foo_section
6251 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; }; then
6257 libc_cv_asm_previous_directive=yes
6259 libc_cv_asm_previous_directive=no
6263 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
6264 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6265 if test $libc_cv_asm_previous_directive = yes; then
6266 cat >>confdefs.h <<\_ACEOF
6267 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
6271 { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
6272 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6273 if test "${libc_cv_asm_popsection_directive+set}" = set; then
6274 $as_echo_n "(cached) " >&6
6276 cat > conftest.s <<EOF
6277 .pushsection foo_section
6280 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }; }; then
6286 libc_cv_asm_popsection_directive=yes
6288 libc_cv_asm_popsection_directive=no
6292 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
6293 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6294 if test $libc_cv_asm_popsection_directive = yes; then
6295 cat >>confdefs.h <<\_ACEOF
6296 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6301 { $as_echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6302 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6303 if test "${libc_cv_asm_protected_directive+set}" = set; then
6304 $as_echo_n "(cached) " >&6
6306 cat > conftest.s <<EOF
6312 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); }; }; then
6318 libc_cv_asm_protected_directive=yes
6320 { { $as_echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6321 $as_echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6322 { (exit 1); exit 1; }; }
6326 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6327 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6329 if test $libc_cv_asm_protected_directive = yes; then
6330 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6331 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6332 if test "${libc_cv_visibility_attribute+set}" = set; then
6333 $as_echo_n "(cached) " >&6
6335 cat > conftest.c <<EOF
6336 int foo __attribute__ ((visibility ("hidden"))) = 1;
6337 int bar __attribute__ ((visibility ("protected"))) = 1;
6339 libc_cv_visibility_attribute=no
6340 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 if grep '\.hidden.*foo' conftest.s >/dev/null; then
6347 if grep '\.protected.*bar' conftest.s >/dev/null; then
6348 libc_cv_visibility_attribute=yes
6355 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6356 $as_echo "$libc_cv_visibility_attribute" >&6; }
6357 if test $libc_cv_visibility_attribute != yes; then
6358 { { $as_echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6359 $as_echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6360 { (exit 1); exit 1; }; }
6364 if test $libc_cv_visibility_attribute = yes; then
6365 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6366 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6367 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6368 $as_echo_n "(cached) " >&6
6370 cat > conftest.c <<EOF
6372 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6373 int bar (int x) { return x; }
6375 libc_cv_broken_visibility_attribute=yes
6376 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); }; }; then
6382 if grep '\.hidden[ _]foo' conftest.s >/dev/null; then
6383 libc_cv_broken_visibility_attribute=no
6386 rm -f conftest.c conftest.s
6389 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6390 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6391 if test $libc_cv_broken_visibility_attribute = yes; then
6392 { { $as_echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6393 $as_echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6394 { (exit 1); exit 1; }; }
6398 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6399 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6400 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6401 $as_echo_n "(cached) " >&6
6403 cat > conftest.c <<EOF
6404 extern int foo (int x) __asm ("xyzzy");
6405 int bar (int x) { return x; }
6406 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6408 extern __typeof (dfoo) dfoo __asm ("abccb");
6411 libc_cv_broken_alias_attribute=yes
6412 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); }; }; then
6418 if grep 'xyzzy' conftest.s >/dev/null &&
6419 grep 'abccb' conftest.s >/dev/null; then
6420 libc_cv_broken_alias_attribute=no
6423 rm -f conftest.c conftest.s
6426 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6427 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6428 if test $libc_cv_broken_alias_attribute = yes; then
6429 { { $as_echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6430 $as_echo "$as_me: error: working alias attribute support required" >&2;}
6431 { (exit 1); exit 1; }; }
6434 if test $libc_cv_visibility_attribute = yes; then
6435 { $as_echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6436 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6437 if test "${libc_cv_have_sdata_section+set}" = set; then
6438 $as_echo_n "(cached) " >&6
6440 echo "int i;" > conftest.c
6441 libc_cv_have_sdata_section=no
6442 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c -o conftest.so 2>&1 \
6443 | grep '\.sdata' >/dev/null; then
6444 libc_cv_have_sdata_section=yes
6446 rm -f conftest.c conftest.so
6449 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6450 $as_echo "$libc_cv_have_sdata_section" >&6; }
6451 if test $libc_cv_have_sdata_section = yes; then
6452 cat >>confdefs.h <<\_ACEOF
6453 #define HAVE_SDATA_SECTION 1
6459 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6460 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6461 if test "${libc_cv_initfini_array+set}" = set; then
6462 $as_echo_n "(cached) " >&6
6464 cat > conftest.c <<EOF
6465 int _start (void) { return 0; }
6466 int __start (void) { return 0; }
6467 int foo (void) { return 1; }
6468 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6470 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6471 -static -nostartfiles -nostdlib 1>&5'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }
6478 if readelf -S conftest | fgrep INIT_ARRAY > /dev/null; then
6479 libc_cv_initfini_array=yes
6481 libc_cv_initfini_array=no
6484 libc_cv_initfini_array=no
6488 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6489 $as_echo "$libc_cv_initfini_array" >&6; }
6490 if test $libc_cv_initfini_array != yes; then
6491 { { $as_echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6492 $as_echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6493 { (exit 1); exit 1; }; }
6496 { $as_echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6497 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6498 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6499 $as_echo_n "(cached) " >&6
6502 cat > conftest.c <<EOF
6503 int main (void) { return 0; }
6505 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6506 conftest.c -v 2>&1 >/dev/null | grep -q " -lunwind "; then
6507 libc_cv_cc_with_libunwind=yes
6509 libc_cv_cc_with_libunwind=no
6513 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6514 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6516 if test $libc_cv_cc_with_libunwind = yes; then
6517 cat >>confdefs.h <<\_ACEOF
6518 #define HAVE_CC_WITH_LIBUNWIND 1
6523 { $as_echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6524 $as_echo_n "checking for -z nodelete option... " >&6; }
6525 if test "${libc_cv_z_nodelete+set}" = set; then
6526 $as_echo_n "(cached) " >&6
6528 cat > conftest.c <<EOF
6529 int _start (void) { return 42; }
6531 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6532 -fPIC -shared -o conftest.so conftest.c
6533 -nostartfiles -nostdlib
6534 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); }; }
6541 libc_cv_z_nodelete=yes
6543 { { $as_echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6544 $as_echo "$as_me: error: linker with -z nodelete support required" >&2;}
6545 { (exit 1); exit 1; }; }
6549 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6550 $as_echo "$libc_cv_z_nodelete" >&6; }
6552 { $as_echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6553 $as_echo_n "checking for -z nodlopen option... " >&6; }
6554 if test "${libc_cv_z_nodlopen+set}" = set; then
6555 $as_echo_n "(cached) " >&6
6557 cat > conftest.c <<EOF
6558 int _start (void) { return 42; }
6560 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6561 -fPIC -shared -o conftest.so conftest.c
6562 -nostartfiles -nostdlib
6563 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }
6570 libc_cv_z_nodlopen=yes
6572 { { $as_echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6573 $as_echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6574 { (exit 1); exit 1; }; }
6578 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6579 $as_echo "$libc_cv_z_nodlopen" >&6; }
6581 { $as_echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6582 $as_echo_n "checking for -z initfirst option... " >&6; }
6583 if test "${libc_cv_z_initfirst+set}" = set; then
6584 $as_echo_n "(cached) " >&6
6586 cat > conftest.c <<EOF
6587 int _start (void) { return 42; }
6589 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6590 -fPIC -shared -o conftest.so conftest.c
6591 -nostartfiles -nostdlib
6592 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }; }
6599 libc_cv_z_initfirst=yes
6601 { { $as_echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6602 $as_echo "$as_me: error: linker with -z initfirst support required" >&2;}
6603 { (exit 1); exit 1; }; }
6607 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6608 $as_echo "$libc_cv_z_initfirst" >&6; }
6610 case "$base_machine" in
6611 i[34567]86 | x86_64 | powerpc* | s390* | sparc* | alpha*)
6612 { $as_echo "$as_me:$LINENO: checking for -z relro option" >&5
6613 $as_echo_n "checking for -z relro option... " >&6; }
6614 if test "${libc_cv_z_relro+set}" = set; then
6615 $as_echo_n "(cached) " >&6
6618 if { ac_try='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; }
6625 if { ac_try='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); }; }
6636 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6637 $as_echo "$libc_cv_z_relro" >&6; }
6638 if test "$libc_cv_z_relro" = no; then
6639 { { $as_echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6640 $as_echo "$as_me: error: linker with -z relro support required" >&2;}
6641 { (exit 1); exit 1; }; }
6647 { $as_echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6648 $as_echo_n "checking for -Bgroup option... " >&6; }
6649 if test "${libc_cv_Bgroup+set}" = set; then
6650 $as_echo_n "(cached) " >&6
6652 cat > conftest.c <<EOF
6653 int _start (void) { return 42; }
6655 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6656 -fPIC -shared -o conftest.so conftest.c
6657 -Wl,-Bgroup -nostdlib 1>&5'
6658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); }; }
6670 { $as_echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6671 $as_echo "$libc_cv_Bgroup" >&6; }
6674 { $as_echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6675 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6676 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6677 $as_echo_n "(cached) " >&6
6679 cat > conftest.c <<EOF
6680 int main (void) { return 0; }
6682 libc_cv_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6683 -fPIC -shared -shared-libgcc -o conftest.so \
6684 conftest.c -v 2>&1 >/dev/null \
6685 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6688 { $as_echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6689 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6692 { $as_echo "$as_me:$LINENO: checking for --as-needed option" >&5
6693 $as_echo_n "checking for --as-needed option... " >&6; }
6694 if test "${libc_cv_as_needed+set}" = set; then
6695 $as_echo_n "(cached) " >&6
6697 cat > conftest.c <<EOF
6698 int main (void) { return 0; }
6700 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6701 -fPIC -shared -o conftest.so conftest.c
6702 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; }
6710 libc_cv_as_needed=yes
6712 libc_cv_as_needed=no
6716 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6717 $as_echo "$libc_cv_as_needed" >&6; }
6721 { $as_echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6722 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6723 if test "${libc_cv_as_noexecstack+set}" = set; then
6724 $as_echo_n "(cached) " >&6
6726 cat > conftest.c <<EOF
6729 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS
6730 -S -o conftest.s conftest.c 1>&5'
6731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); }; } \
6736 && grep -q .note.GNU-stack conftest.s \
6737 && { ac_try='${CC-cc} $ASFLAGS -Wa,--noexecstack
6738 -c -o conftest.o conftest.s 1>&5'
6739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); }; }
6745 libc_cv_as_noexecstack=yes
6747 libc_cv_as_noexecstack=no
6751 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6752 $as_echo "$libc_cv_as_noexecstack" >&6; }
6753 if test $libc_cv_as_noexecstack = yes; then
6754 ASFLAGS_config="$ASFLAGS_config -Wa,--noexecstack"
6758 { $as_echo "$as_me:$LINENO: checking for -z combreloc" >&5
6759 $as_echo_n "checking for -z combreloc... " >&6; }
6760 if test "${libc_cv_z_combreloc+set}" = set; then
6761 $as_echo_n "(cached) " >&6
6763 cat > conftest.c <<EOF
6764 extern int bar (int);
6766 int foo (void) { return bar (mumble); }
6768 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6769 -fPIC -shared -o conftest.so conftest.c
6770 -nostdlib -nostartfiles
6771 -Wl,-z,combreloc 1>&5'
6772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); }; }
6778 if readelf -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
6779 libc_cv_z_combreloc=yes
6781 libc_cv_z_combreloc=no
6784 libc_cv_z_combreloc=no
6788 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6789 $as_echo "$libc_cv_z_combreloc" >&6; }
6790 if test "$libc_cv_z_combreloc" = yes; then
6791 cat >>confdefs.h <<\_ACEOF
6792 #define HAVE_Z_COMBRELOC 1
6798 { $as_echo "$as_me:$LINENO: checking for -z execstack" >&5
6799 $as_echo_n "checking for -z execstack... " >&6; }
6800 if test "${libc_cv_z_execstack+set}" = set; then
6801 $as_echo_n "(cached) " >&6
6803 cat > conftest.c <<EOF
6804 int _start (void) { return 42; }
6806 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6807 -fPIC -shared -o conftest.so conftest.c
6808 -Wl,-z,execstack -nostdlib
6810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); }; }
6816 libc_cv_z_execstack=yes
6818 libc_cv_z_execstack=no
6822 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6823 $as_echo "$libc_cv_z_execstack" >&6; }
6829 { $as_echo "$as_me:$LINENO: checking for --hash-style option" >&5
6830 $as_echo_n "checking for --hash-style option... " >&6; }
6831 if test "${libc_cv_hashstyle+set}" = set; then
6832 $as_echo_n "(cached) " >&6
6834 cat > conftest.c <<EOF
6835 int _start (void) { return 42; }
6837 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6838 -fPIC -shared -o conftest.so conftest.c
6839 -Wl,--hash-style=both -nostdlib 1>&5'
6840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }; }
6846 libc_cv_hashstyle=yes
6848 libc_cv_hashstyle=no
6852 { $as_echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6853 $as_echo "$libc_cv_hashstyle" >&6; }
6857 { $as_echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6858 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6859 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6860 $as_echo_n "(cached) " >&6
6862 cat > conftest.c <<EOF
6865 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; }
6873 libc_cv_fno_toplevel_reorder=yes
6875 libc_cv_fno_toplevel_reorder=no
6879 { $as_echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6880 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6881 if test $libc_cv_fno_toplevel_reorder = yes; then
6882 fno_unit_at_a_time="-fno-toplevel-reorder -fno-section-anchors"
6884 fno_unit_at_a_time=-fno-unit-at-a-time
6888 { $as_echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6889 $as_echo_n "checking for -fstack-protector... " >&6; }
6890 if test "${libc_cv_ssp+set}" = set; then
6891 $as_echo_n "(cached) " >&6
6893 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector
6894 -o /dev/null -c -x c /dev/null 1>&5'
6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); }; }
6906 { $as_echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6907 $as_echo "$libc_cv_ssp" >&6; }
6910 { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6911 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6912 if test "${libc_cv_gnu89_inline+set}" = set; then
6913 $as_echo_n "(cached) " >&6
6915 cat > conftest.c <<EOF
6917 #ifdef __GNUC_GNU_INLINE__
6918 main () { return 0;}
6923 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6924 -o conftest.s conftest.c 1>&5'
6925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); }; }
6931 libc_cv_gnu89_inline=yes
6933 libc_cv_gnu89_inline=no
6937 { $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6938 $as_echo "$libc_cv_gnu89_inline" >&6; }
6939 if test $libc_cv_gnu89_inline = yes; then
6940 gnu89_inline=-fgnu89-inline
6946 if test $elf != yes; then
6947 { $as_echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6948 $as_echo_n "checking for .init and .fini sections... " >&6; }
6949 if test "${libc_cv_have_initfini+set}" = set; then
6950 $as_echo_n "(cached) " >&6
6952 cat >conftest.$ac_ext <<_ACEOF
6955 cat confdefs.h >>conftest.$ac_ext
6956 cat >>conftest.$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6962 asm (".section .init");
6963 asm (".section .fini");
6964 asm ("${libc_cv_dot_text}");
6969 rm -f conftest.$ac_objext
6970 if { (ac_try="$ac_compile"
6972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6973 *) ac_try_echo=$ac_try;;
6975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6976 $as_echo "$ac_try_echo") >&5
6977 (eval "$ac_compile") 2>conftest.er1
6979 grep -v '^ *+' conftest.er1 >conftest.err
6981 cat conftest.err >&5
6982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); } && {
6984 test -z "$ac_c_werror_flag" ||
6985 test ! -s conftest.err
6986 } && test -s conftest.$ac_objext; then
6987 libc_cv_have_initfini=yes
6989 $as_echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.$ac_ext >&5
6992 libc_cv_have_initfini=no
6995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6997 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6998 $as_echo "$libc_cv_have_initfini" >&6; }
6999 if test $libc_cv_have_initfini = yes; then
7000 cat >>confdefs.h <<\_ACEOF
7001 #define HAVE_INITFINI 1
7007 if test $elf = yes; then
7008 { $as_echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
7009 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
7010 if test "${libc_cv_have_section_quotes+set}" = set; then
7011 $as_echo_n "(cached) " >&6
7013 cat > conftest.c <<EOF
7014 static const int foo
7015 __attribute__ ((section ("bar"))) = 1;
7017 if ${CC-cc} -S conftest.c -o conftest.s; then
7018 if grep '\.section.*"bar"' conftest.s >/dev/null; then
7019 libc_cv_have_section_quotes=yes
7021 libc_cv_have_section_quotes=no
7024 libc_cv_have_section_quotes=unknown
7029 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
7030 $as_echo "$libc_cv_have_section_quotes" >&6; }
7031 if test $libc_cv_have_section_quotes = yes; then
7032 cat >>confdefs.h <<\_ACEOF
7033 #define HAVE_SECTION_QUOTES 1
7041 if test $elf = yes; then
7042 libc_cv_asm_underscores=no
7044 if test $ac_cv_prog_cc_works = yes; then
7045 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7046 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7047 if test "${libc_cv_asm_underscores+set}" = set; then
7048 $as_echo_n "(cached) " >&6
7050 cat >conftest.$ac_ext <<_ACEOF
7053 cat confdefs.h >>conftest.$ac_ext
7054 cat >>conftest.$ac_ext <<_ACEOF
7055 /* end confdefs.h. */
7056 asm ("_glibc_foobar:");
7065 rm -f conftest.$ac_objext conftest$ac_exeext
7066 if { (ac_try="$ac_link"
7068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7069 *) ac_try_echo=$ac_try;;
7071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7072 $as_echo "$ac_try_echo") >&5
7073 (eval "$ac_link") 2>conftest.er1
7075 grep -v '^ *+' conftest.er1 >conftest.err
7077 cat conftest.err >&5
7078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } && {
7080 test -z "$ac_c_werror_flag" ||
7081 test ! -s conftest.err
7082 } && test -s conftest$ac_exeext && {
7083 test "$cross_compiling" = yes ||
7084 $as_test_x conftest$ac_exeext
7086 libc_cv_asm_underscores=yes
7088 $as_echo "$as_me: failed program was:" >&5
7089 sed 's/^/| /' conftest.$ac_ext >&5
7091 libc_cv_asm_underscores=no
7094 rm -rf conftest.dSYM
7095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7096 conftest$ac_exeext conftest.$ac_ext
7098 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7099 $as_echo "$libc_cv_asm_underscores" >&6; }
7101 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7102 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7103 if test "${libc_cv_asm_underscores+set}" = set; then
7104 $as_echo_n "(cached) " >&6
7106 cat > conftest.$ac_ext <<EOF
7107 #line $LINENO "configure"
7108 #include "confdefs.h"
7109 void underscore_test(void) {
7112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7113 (eval $ac_compile) 2>&5
7115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); }; then
7117 if grep _underscore_test conftest* >/dev/null; then
7119 libc_cv_asm_underscores=yes
7122 libc_cv_asm_underscores=no
7125 echo "configure: failed program was:" >&5
7126 cat conftest.$ac_ext >&5
7128 libc_cv_asm_underscores=no
7132 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7133 $as_echo "$libc_cv_asm_underscores" >&6; }
7136 if test $libc_cv_asm_underscores = no; then
7137 cat >>confdefs.h <<\_ACEOF
7138 #define NO_UNDERSCORES 1
7143 if test $elf = yes; then
7144 libc_cv_weak_symbols=yes
7147 { $as_echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
7148 $as_echo_n "checking for assembler .weak directive... " >&6; }
7149 if test "${libc_cv_asm_weak_directive+set}" = set; then
7150 $as_echo_n "(cached) " >&6
7152 cat > conftest.s <<EOF
7154 ${libc_cv_asm_global_directive} foo
7157 .weak bar; bar = foo
7159 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 libc_cv_asm_weak_directive=yes
7167 libc_cv_asm_weak_directive=no
7171 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
7172 $as_echo "$libc_cv_asm_weak_directive" >&6; }
7174 if test $libc_cv_asm_weak_directive = no; then
7175 { $as_echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
7176 $as_echo_n "checking for assembler .weakext directive... " >&6; }
7177 if test "${libc_cv_asm_weakext_directive+set}" = set; then
7178 $as_echo_n "(cached) " >&6
7180 cat > conftest.s <<EOF
7182 ${libc_cv_asm_global_directive} foo
7186 ${libc_cv_asm_global_directive} baz
7189 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); }; }; then
7195 libc_cv_asm_weakext_directive=yes
7197 libc_cv_asm_weakext_directive=no
7201 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
7202 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
7206 if test $libc_cv_asm_weak_directive = yes; then
7207 cat >>confdefs.h <<\_ACEOF
7208 #define HAVE_ASM_WEAK_DIRECTIVE 1
7211 elif test $libc_cv_asm_weakext_directive = yes; then
7212 cat >>confdefs.h <<\_ACEOF
7213 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
7218 { $as_echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
7219 $as_echo_n "checking whether CFI directives are supported... " >&6; }
7220 if test "${libc_cv_asm_cfi_directives+set}" = set; then
7221 $as_echo_n "(cached) " >&6
7224 sparc/sparc64*) cfi_offset=2047;;
7227 cat > conftest.s <<EOF
7229 .type func,%function
7233 .cfi_rel_offset 1, $cfi_offset
7236 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; }; then
7242 libc_cv_asm_cfi_directives=yes
7244 libc_cv_asm_cfi_directives=no
7248 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
7249 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
7250 if test $libc_cv_asm_cfi_directives = yes; then
7251 cat >>confdefs.h <<\_ACEOF
7252 #define HAVE_ASM_CFI_DIRECTIVES 1
7257 { $as_echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
7258 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
7259 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
7260 $as_echo_n "(cached) " >&6
7262 cat > conftest.c <<\EOF
7267 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7268 -nostdlib -nostartfiles -Wl,--no-whole-archive
7269 -o conftest conftest.c 1>&5'
7270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; }; then
7275 libc_cv_ld_no_whole_archive=yes
7277 libc_cv_ld_no_whole_archive=no
7281 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7282 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
7283 if test $libc_cv_ld_no_whole_archive = yes; then
7284 no_whole_archive=-Wl,--no-whole-archive
7287 { $as_echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7288 $as_echo_n "checking for gcc -fexceptions... " >&6; }
7289 if test "${libc_cv_gcc_exceptions+set}" = set; then
7290 $as_echo_n "(cached) " >&6
7292 cat > conftest.c <<\EOF
7297 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7298 -nostdlib -nostartfiles -fexceptions
7299 -o conftest conftest.c 1>&5'
7300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); }; }; then
7305 libc_cv_gcc_exceptions=yes
7307 libc_cv_gcc_exceptions=no
7311 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7312 $as_echo "$libc_cv_gcc_exceptions" >&6; }
7313 if test $libc_cv_gcc_exceptions = yes; then
7314 exceptions=-fexceptions
7317 if test "$host_cpu" = powerpc ; then
7318 # Check for a bug present in at least versions 2.8.x of GCC
7319 # and versions 1.0.x of EGCS.
7320 { $as_echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7321 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7322 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7323 $as_echo_n "(cached) " >&6
7325 cat >conftest.$ac_ext <<_ACEOF
7328 cat confdefs.h >>conftest.$ac_ext
7329 cat >>conftest.$ac_ext <<_ACEOF
7330 /* end confdefs.h. */
7331 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7340 rm -f conftest.$ac_objext
7341 if { (ac_try="$ac_compile"
7343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7344 *) ac_try_echo=$ac_try;;
7346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7347 $as_echo "$ac_try_echo") >&5
7348 (eval "$ac_compile") 2>conftest.er1
7350 grep -v '^ *+' conftest.er1 >conftest.err
7352 cat conftest.err >&5
7353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); } && {
7355 test -z "$ac_c_werror_flag" ||
7356 test ! -s conftest.err
7357 } && test -s conftest.$ac_objext; then
7358 libc_cv_c_asmcr0_bug='no'
7360 $as_echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.$ac_ext >&5
7363 libc_cv_c_asmcr0_bug='yes'
7366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7368 { $as_echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7369 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7370 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7371 cat >>confdefs.h <<\_ACEOF
7372 #define BROKEN_PPC_ASM_CR0 1
7378 { $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7379 $as_echo_n "checking for __builtin_expect... " >&6; }
7380 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7381 $as_echo_n "(cached) " >&6
7383 cat > conftest.c <<EOF
7384 #line $LINENO "configure"
7387 a = __builtin_expect (a, 10);
7388 return a == 10 ? 0 : 1;
7391 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7392 -o conftest conftest.c -lgcc >&5'
7393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); }; }; then
7398 libc_cv_gcc_builtin_expect=yes
7400 libc_cv_gcc_builtin_expect=no
7404 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7405 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7406 if test "$libc_cv_gcc_builtin_expect" = yes; then
7407 cat >>confdefs.h <<\_ACEOF
7408 #define HAVE_BUILTIN_EXPECT 1
7413 { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7414 $as_echo_n "checking for __builtin_memset... " >&6; }
7415 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7416 $as_echo_n "(cached) " >&6
7418 cat > conftest.c <<\EOF
7421 __builtin_memset (x, 0, 1000);
7424 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); }; };
7431 libc_cv_gcc_builtin_memset=no
7433 libc_cv_gcc_builtin_memset=yes
7437 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7438 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
7439 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7440 cat >>confdefs.h <<\_ACEOF
7441 #define HAVE_BUILTIN_MEMSET 1
7446 { $as_echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7447 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7448 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7449 $as_echo_n "(cached) " >&6
7451 cat > conftest.c <<\EOF
7452 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7453 char *foo (const char *a, const char *b)
7455 return __builtin_strstr (a, b);
7458 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); }; };
7465 libc_cv_gcc_builtin_redirection=yes
7467 libc_cv_gcc_builtin_redirection=no
7471 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7472 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7473 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7474 cat >>confdefs.h <<\_ACEOF
7475 #define HAVE_BUILTIN_REDIRECTION 1
7480 if test "x$use__thread" != xno; then
7481 { $as_echo "$as_me:$LINENO: checking for __thread" >&5
7482 $as_echo_n "checking for __thread... " >&6; }
7483 if test "${libc_cv_gcc___thread+set}" = set; then
7484 $as_echo_n "(cached) " >&6
7486 cat > conftest.c <<\EOF
7487 __thread int a = 42;
7489 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); }; }; then
7495 libc_cv_gcc___thread=yes
7497 libc_cv_gcc___thread=no
7501 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7502 $as_echo "$libc_cv_gcc___thread" >&6; }
7503 if test "$libc_cv_gcc___thread" = yes; then
7504 cat >>confdefs.h <<\_ACEOF
7505 #define HAVE___THREAD 1
7510 libc_cv_gcc___thread=no
7513 if test "$libc_cv_gcc___thread" = yes; then
7514 { $as_echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7515 $as_echo_n "checking for tls_model attribute... " >&6; }
7516 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7517 $as_echo_n "(cached) " >&6
7519 cat > conftest.c <<\EOF
7520 extern __thread int a __attribute__((tls_model ("initial-exec")));
7522 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; }; then
7528 libc_cv_gcc_tls_model_attr=yes
7530 libc_cv_gcc_tls_model_attr=no
7534 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7535 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7536 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7537 cat >>confdefs.h <<\_ACEOF
7538 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7544 if test -n "$submachine"; then
7545 { $as_echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7546 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7547 if test "${libc_cv_cc_submachine+set}" = set; then
7548 $as_echo_n "(cached) " >&6
7550 libc_cv_cc_submachine=no
7551 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7552 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; }; then
7558 libc_cv_cc_submachine="$opt"
7563 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7564 $as_echo "$libc_cv_cc_submachine" >&6; }
7565 if test "x$libc_cv_cc_submachine" = xno; then
7566 { { $as_echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7567 $as_echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7568 { (exit 1); exit 1; }; }
7573 { $as_echo "$as_me:$LINENO: checking for libgd" >&5
7574 $as_echo_n "checking for libgd... " >&6; }
7575 if test "$with_gd" != "no"; then
7576 old_CFLAGS="$CFLAGS"
7577 CFLAGS="$CFLAGS $libgd_include"
7578 old_LDFLAGS="$LDFLAGS"
7579 LDFLAGS="$LDFLAGS $libgd_ldflags"
7581 LIBS="$LIBS -lgd -lpng -lz -lm"
7582 cat >conftest.$ac_ext <<_ACEOF
7585 cat confdefs.h >>conftest.$ac_ext
7586 cat >>conftest.$ac_ext <<_ACEOF
7587 /* end confdefs.h. */
7597 rm -f conftest.$ac_objext conftest$ac_exeext
7598 if { (ac_try="$ac_link"
7600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7601 *) ac_try_echo=$ac_try;;
7603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7604 $as_echo "$ac_try_echo") >&5
7605 (eval "$ac_link") 2>conftest.er1
7607 grep -v '^ *+' conftest.er1 >conftest.err
7609 cat conftest.err >&5
7610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } && {
7612 test -z "$ac_c_werror_flag" ||
7613 test ! -s conftest.err
7614 } && test -s conftest$ac_exeext && {
7615 test "$cross_compiling" = yes ||
7616 $as_test_x conftest$ac_exeext
7620 $as_echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.$ac_ext >&5
7626 rm -rf conftest.dSYM
7627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7628 conftest$ac_exeext conftest.$ac_ext
7629 CFLAGS="$old_CFLAGS"
7630 LDFLAGS="$old_LDFLAGS"
7635 { $as_echo "$as_me:$LINENO: result: $LIBGD" >&5
7636 $as_echo "$LIBGD" >&6; }
7640 if test x$with_selinux = xno ; then
7643 # See if we have the SELinux library
7644 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7645 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7646 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7647 $as_echo_n "(cached) " >&6
7649 ac_check_lib_save_LIBS=$LIBS
7650 LIBS="-lselinux $LIBS"
7651 cat >conftest.$ac_ext <<_ACEOF
7654 cat confdefs.h >>conftest.$ac_ext
7655 cat >>conftest.$ac_ext <<_ACEOF
7656 /* end confdefs.h. */
7658 /* Override any GCC internal prototype to avoid an error.
7659 Use char because int might match the return type of a GCC
7660 builtin and then its argument prototype would still apply. */
7664 char is_selinux_enabled ();
7668 return is_selinux_enabled ();
7673 rm -f conftest.$ac_objext conftest$ac_exeext
7674 if { (ac_try="$ac_link"
7676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7677 *) ac_try_echo=$ac_try;;
7679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7680 $as_echo "$ac_try_echo") >&5
7681 (eval "$ac_link") 2>conftest.er1
7683 grep -v '^ *+' conftest.er1 >conftest.err
7685 cat conftest.err >&5
7686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); } && {
7688 test -z "$ac_c_werror_flag" ||
7689 test ! -s conftest.err
7690 } && test -s conftest$ac_exeext && {
7691 test "$cross_compiling" = yes ||
7692 $as_test_x conftest$ac_exeext
7694 ac_cv_lib_selinux_is_selinux_enabled=yes
7696 $as_echo "$as_me: failed program was:" >&5
7697 sed 's/^/| /' conftest.$ac_ext >&5
7699 ac_cv_lib_selinux_is_selinux_enabled=no
7702 rm -rf conftest.dSYM
7703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7704 conftest$ac_exeext conftest.$ac_ext
7705 LIBS=$ac_check_lib_save_LIBS
7707 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7708 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7709 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
7715 # See if we have the SELinux header with the NSCD permissions in it.
7716 if test x$have_selinux = xyes ; then
7717 { $as_echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7718 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7719 cat >conftest.$ac_ext <<_ACEOF
7722 cat confdefs.h >>conftest.$ac_ext
7723 cat >>conftest.$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7725 #include <selinux/av_permissions.h>
7729 #ifdef NSCD__SHMEMHOST
7732 #error NSCD__SHMEMHOST not defined
7738 rm -f conftest.$ac_objext
7739 if { (ac_try="$ac_compile"
7741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7742 *) ac_try_echo=$ac_try;;
7744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7745 $as_echo "$ac_try_echo") >&5
7746 (eval "$ac_compile") 2>conftest.er1
7748 grep -v '^ *+' conftest.er1 >conftest.err
7750 cat conftest.err >&5
7751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } && {
7753 test -z "$ac_c_werror_flag" ||
7754 test ! -s conftest.err
7755 } && test -s conftest.$ac_objext; then
7758 $as_echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7765 { $as_echo "$as_me:$LINENO: result: $have_selinux" >&5
7766 $as_echo "$have_selinux" >&6; }
7769 if test x$with_selinux = xyes ; then
7770 if test x$have_selinux = xno ; then
7771 { { $as_echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7772 $as_echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7773 { (exit 1); exit 1; }; }
7777 # Check if we're building with SELinux support.
7778 if test "x$have_selinux" = xyes; then
7780 cat >>confdefs.h <<\_ACEOF
7781 #define HAVE_SELINUX 1
7785 # See if we have the libaudit library
7786 { $as_echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7787 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7788 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7789 $as_echo_n "(cached) " >&6
7791 ac_check_lib_save_LIBS=$LIBS
7792 LIBS="-laudit $LIBS"
7793 cat >conftest.$ac_ext <<_ACEOF
7796 cat confdefs.h >>conftest.$ac_ext
7797 cat >>conftest.$ac_ext <<_ACEOF
7798 /* end confdefs.h. */
7800 /* Override any GCC internal prototype to avoid an error.
7801 Use char because int might match the return type of a GCC
7802 builtin and then its argument prototype would still apply. */
7806 char audit_log_user_avc_message ();
7810 return audit_log_user_avc_message ();
7815 rm -f conftest.$ac_objext conftest$ac_exeext
7816 if { (ac_try="$ac_link"
7818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7819 *) ac_try_echo=$ac_try;;
7821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7822 $as_echo "$ac_try_echo") >&5
7823 (eval "$ac_link") 2>conftest.er1
7825 grep -v '^ *+' conftest.er1 >conftest.err
7827 cat conftest.err >&5
7828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } && {
7830 test -z "$ac_c_werror_flag" ||
7831 test ! -s conftest.err
7832 } && test -s conftest$ac_exeext && {
7833 test "$cross_compiling" = yes ||
7834 $as_test_x conftest$ac_exeext
7836 ac_cv_lib_audit_audit_log_user_avc_message=yes
7838 $as_echo "$as_me: failed program was:" >&5
7839 sed 's/^/| /' conftest.$ac_ext >&5
7841 ac_cv_lib_audit_audit_log_user_avc_message=no
7844 rm -rf conftest.dSYM
7845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7846 conftest$ac_exeext conftest.$ac_ext
7847 LIBS=$ac_check_lib_save_LIBS
7849 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7850 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7851 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then
7857 if test "x$have_libaudit" = xyes; then
7859 cat >>confdefs.h <<\_ACEOF
7860 #define HAVE_LIBAUDIT 1
7866 # See if we have the libcap library
7867 { $as_echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7868 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7869 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7870 $as_echo_n "(cached) " >&6
7872 ac_check_lib_save_LIBS=$LIBS
7874 cat >conftest.$ac_ext <<_ACEOF
7877 cat confdefs.h >>conftest.$ac_ext
7878 cat >>conftest.$ac_ext <<_ACEOF
7879 /* end confdefs.h. */
7881 /* Override any GCC internal prototype to avoid an error.
7882 Use char because int might match the return type of a GCC
7883 builtin and then its argument prototype would still apply. */
7896 rm -f conftest.$ac_objext conftest$ac_exeext
7897 if { (ac_try="$ac_link"
7899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7900 *) ac_try_echo=$ac_try;;
7902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7903 $as_echo "$ac_try_echo") >&5
7904 (eval "$ac_link") 2>conftest.er1
7906 grep -v '^ *+' conftest.er1 >conftest.err
7908 cat conftest.err >&5
7909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); } && {
7911 test -z "$ac_c_werror_flag" ||
7912 test ! -s conftest.err
7913 } && test -s conftest$ac_exeext && {
7914 test "$cross_compiling" = yes ||
7915 $as_test_x conftest$ac_exeext
7917 ac_cv_lib_cap_cap_init=yes
7919 $as_echo "$as_me: failed program was:" >&5
7920 sed 's/^/| /' conftest.$ac_ext >&5
7922 ac_cv_lib_cap_cap_init=no
7925 rm -rf conftest.dSYM
7926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7927 conftest$ac_exeext conftest.$ac_ext
7928 LIBS=$ac_check_lib_save_LIBS
7930 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7931 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7932 if test "x$ac_cv_lib_cap_cap_init" = x""yes; then
7938 if test "x$have_libcap" = xyes; then
7940 cat >>confdefs.h <<\_ACEOF
7941 #define HAVE_LIBCAP 1
7950 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7951 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7952 if test "${ac_cv_path_GREP+set}" = set; then
7953 $as_echo_n "(cached) " >&6
7955 if test -z "$GREP"; then
7956 ac_path_GREP_found=false
7957 # Loop through the user's path and test for each of PROGNAME-LIST
7958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7959 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7962 test -z "$as_dir" && as_dir=.
7963 for ac_prog in grep ggrep; do
7964 for ac_exec_ext in '' $ac_executable_extensions; do
7965 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7966 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7967 # Check for GNU ac_path_GREP and select it if it is found.
7968 # Check for GNU $ac_path_GREP
7969 case `"$ac_path_GREP" --version 2>&1` in
7971 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7974 $as_echo_n 0123456789 >"conftest.in"
7977 cat "conftest.in" "conftest.in" >"conftest.tmp"
7978 mv "conftest.tmp" "conftest.in"
7979 cp "conftest.in" "conftest.nl"
7980 $as_echo 'GREP' >> "conftest.nl"
7981 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7982 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7983 ac_count=`expr $ac_count + 1`
7984 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7985 # Best one so far, save it but keep looking for a better one
7986 ac_cv_path_GREP="$ac_path_GREP"
7987 ac_path_GREP_max=$ac_count
7989 # 10*(2^10) chars as input seems more than enough
7990 test $ac_count -gt 10 && break
7992 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7995 $ac_path_GREP_found && break 3
8000 if test -z "$ac_cv_path_GREP"; then
8001 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8002 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8003 { (exit 1); exit 1; }; }
8006 ac_cv_path_GREP=$GREP
8010 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
8011 $as_echo "$ac_cv_path_GREP" >&6; }
8012 GREP="$ac_cv_path_GREP"
8015 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
8016 $as_echo_n "checking for egrep... " >&6; }
8017 if test "${ac_cv_path_EGREP+set}" = set; then
8018 $as_echo_n "(cached) " >&6
8020 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8021 then ac_cv_path_EGREP="$GREP -E"
8023 if test -z "$EGREP"; then
8024 ac_path_EGREP_found=false
8025 # Loop through the user's path and test for each of PROGNAME-LIST
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8030 test -z "$as_dir" && as_dir=.
8031 for ac_prog in egrep; do
8032 for ac_exec_ext in '' $ac_executable_extensions; do
8033 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
8034 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
8035 # Check for GNU ac_path_EGREP and select it if it is found.
8036 # Check for GNU $ac_path_EGREP
8037 case `"$ac_path_EGREP" --version 2>&1` in
8039 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8042 $as_echo_n 0123456789 >"conftest.in"
8045 cat "conftest.in" "conftest.in" >"conftest.tmp"
8046 mv "conftest.tmp" "conftest.in"
8047 cp "conftest.in" "conftest.nl"
8048 $as_echo 'EGREP' >> "conftest.nl"
8049 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8050 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8051 ac_count=`expr $ac_count + 1`
8052 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8053 # Best one so far, save it but keep looking for a better one
8054 ac_cv_path_EGREP="$ac_path_EGREP"
8055 ac_path_EGREP_max=$ac_count
8057 # 10*(2^10) chars as input seems more than enough
8058 test $ac_count -gt 10 && break
8060 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8063 $ac_path_EGREP_found && break 3
8068 if test -z "$ac_cv_path_EGREP"; then
8069 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8070 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8071 { (exit 1); exit 1; }; }
8074 ac_cv_path_EGREP=$EGREP
8079 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8080 $as_echo "$ac_cv_path_EGREP" >&6; }
8081 EGREP="$ac_cv_path_EGREP"
8084 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8085 $as_echo_n "checking for ANSI C header files... " >&6; }
8086 if test "${ac_cv_header_stdc+set}" = set; then
8087 $as_echo_n "(cached) " >&6
8089 cat >conftest.$ac_ext <<_ACEOF
8092 cat confdefs.h >>conftest.$ac_ext
8093 cat >>conftest.$ac_ext <<_ACEOF
8094 /* end confdefs.h. */
8108 rm -f conftest.$ac_objext
8109 if { (ac_try="$ac_compile"
8111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8112 *) ac_try_echo=$ac_try;;
8114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8115 $as_echo "$ac_try_echo") >&5
8116 (eval "$ac_compile") 2>conftest.er1
8118 grep -v '^ *+' conftest.er1 >conftest.err
8120 cat conftest.err >&5
8121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } && {
8123 test -z "$ac_c_werror_flag" ||
8124 test ! -s conftest.err
8125 } && test -s conftest.$ac_objext; then
8126 ac_cv_header_stdc=yes
8128 $as_echo "$as_me: failed program was:" >&5
8129 sed 's/^/| /' conftest.$ac_ext >&5
8131 ac_cv_header_stdc=no
8134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8136 if test $ac_cv_header_stdc = yes; then
8137 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8138 cat >conftest.$ac_ext <<_ACEOF
8141 cat confdefs.h >>conftest.$ac_ext
8142 cat >>conftest.$ac_ext <<_ACEOF
8143 /* end confdefs.h. */
8147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8148 $EGREP "memchr" >/dev/null 2>&1; then
8151 ac_cv_header_stdc=no
8157 if test $ac_cv_header_stdc = yes; then
8158 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8159 cat >conftest.$ac_ext <<_ACEOF
8162 cat confdefs.h >>conftest.$ac_ext
8163 cat >>conftest.$ac_ext <<_ACEOF
8164 /* end confdefs.h. */
8168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8169 $EGREP "free" >/dev/null 2>&1; then
8172 ac_cv_header_stdc=no
8178 if test $ac_cv_header_stdc = yes; then
8179 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8180 if test "$cross_compiling" = yes; then
8183 cat >conftest.$ac_ext <<_ACEOF
8186 cat confdefs.h >>conftest.$ac_ext
8187 cat >>conftest.$ac_ext <<_ACEOF
8188 /* end confdefs.h. */
8191 #if ((' ' & 0x0FF) == 0x020)
8192 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8193 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8195 # define ISLOWER(c) \
8196 (('a' <= (c) && (c) <= 'i') \
8197 || ('j' <= (c) && (c) <= 'r') \
8198 || ('s' <= (c) && (c) <= 'z'))
8199 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8202 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8207 for (i = 0; i < 256; i++)
8208 if (XOR (islower (i), ISLOWER (i))
8209 || toupper (i) != TOUPPER (i))
8214 rm -f conftest$ac_exeext
8215 if { (ac_try="$ac_link"
8217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8218 *) ac_try_echo=$ac_try;;
8220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8221 $as_echo "$ac_try_echo") >&5
8222 (eval "$ac_link") 2>&5
8224 $as_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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8231 $as_echo "$ac_try_echo") >&5
8232 (eval "$ac_try") 2>&5
8234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); }; }; then
8238 $as_echo "$as_me: program exited with status $ac_status" >&5
8239 $as_echo "$as_me: failed program was:" >&5
8240 sed 's/^/| /' conftest.$ac_ext >&5
8243 ac_cv_header_stdc=no
8245 rm -rf conftest.dSYM
8246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8252 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8253 $as_echo "$ac_cv_header_stdc" >&6; }
8254 if test $ac_cv_header_stdc = yes; then
8256 cat >>confdefs.h <<\_ACEOF
8257 #define STDC_HEADERS 1
8262 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8272 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8273 inttypes.h stdint.h unistd.h
8275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8276 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8277 $as_echo_n "checking for $ac_header... " >&6; }
8278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8279 $as_echo_n "(cached) " >&6
8281 cat >conftest.$ac_ext <<_ACEOF
8284 cat confdefs.h >>conftest.$ac_ext
8285 cat >>conftest.$ac_ext <<_ACEOF
8286 /* end confdefs.h. */
8287 $ac_includes_default
8289 #include <$ac_header>
8291 rm -f conftest.$ac_objext
8292 if { (ac_try="$ac_compile"
8294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8295 *) ac_try_echo=$ac_try;;
8297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8298 $as_echo "$ac_try_echo") >&5
8299 (eval "$ac_compile") 2>conftest.er1
8301 grep -v '^ *+' conftest.er1 >conftest.err
8303 cat conftest.err >&5
8304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } && {
8306 test -z "$ac_c_werror_flag" ||
8307 test ! -s conftest.err
8308 } && test -s conftest.$ac_objext; then
8309 eval "$as_ac_Header=yes"
8311 $as_echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.$ac_ext >&5
8314 eval "$as_ac_Header=no"
8317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8319 ac_res=`eval 'as_val=${'$as_ac_Header'}
8320 $as_echo "$as_val"'`
8321 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8322 $as_echo "$ac_res" >&6; }
8323 as_val=`eval 'as_val=${'$as_ac_Header'}
8324 $as_echo "$as_val"'`
8325 if test "x$as_val" = x""yes; then
8326 cat >>confdefs.h <<_ACEOF
8327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8335 # The cast to long int works around a bug in the HP C Compiler
8336 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8337 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8338 # This bug is HP SR number 8606223364.
8339 { $as_echo "$as_me:$LINENO: checking size of long double" >&5
8340 $as_echo_n "checking size of long double... " >&6; }
8341 if test "${ac_cv_sizeof_long_double+set}" = set; then
8342 $as_echo_n "(cached) " >&6
8344 if test "$cross_compiling" = yes; then
8345 # Depending upon the size, compute the lo and hi bounds.
8346 cat >conftest.$ac_ext <<_ACEOF
8349 cat confdefs.h >>conftest.$ac_ext
8350 cat >>conftest.$ac_ext <<_ACEOF
8351 /* end confdefs.h. */
8352 $ac_includes_default
8356 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= 0)];
8363 rm -f conftest.$ac_objext
8364 if { (ac_try="$ac_compile"
8366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8367 *) ac_try_echo=$ac_try;;
8369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8370 $as_echo "$ac_try_echo") >&5
8371 (eval "$ac_compile") 2>conftest.er1
8373 grep -v '^ *+' conftest.er1 >conftest.err
8375 cat conftest.err >&5
8376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && {
8378 test -z "$ac_c_werror_flag" ||
8379 test ! -s conftest.err
8380 } && test -s conftest.$ac_objext; then
8383 cat >conftest.$ac_ext <<_ACEOF
8386 cat confdefs.h >>conftest.$ac_ext
8387 cat >>conftest.$ac_ext <<_ACEOF
8388 /* end confdefs.h. */
8389 $ac_includes_default
8393 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8400 rm -f conftest.$ac_objext
8401 if { (ac_try="$ac_compile"
8403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8404 *) ac_try_echo=$ac_try;;
8406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8407 $as_echo "$ac_try_echo") >&5
8408 (eval "$ac_compile") 2>conftest.er1
8410 grep -v '^ *+' conftest.er1 >conftest.err
8412 cat conftest.err >&5
8413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8414 (exit $ac_status); } && {
8415 test -z "$ac_c_werror_flag" ||
8416 test ! -s conftest.err
8417 } && test -s conftest.$ac_objext; then
8418 ac_hi=$ac_mid; break
8420 $as_echo "$as_me: failed program was:" >&5
8421 sed 's/^/| /' conftest.$ac_ext >&5
8423 ac_lo=`expr $ac_mid + 1`
8424 if test $ac_lo -le $ac_mid; then
8428 ac_mid=`expr 2 '*' $ac_mid + 1`
8431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8434 $as_echo "$as_me: failed program was:" >&5
8435 sed 's/^/| /' conftest.$ac_ext >&5
8437 cat >conftest.$ac_ext <<_ACEOF
8440 cat confdefs.h >>conftest.$ac_ext
8441 cat >>conftest.$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8443 $ac_includes_default
8447 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) < 0)];
8454 rm -f conftest.$ac_objext
8455 if { (ac_try="$ac_compile"
8457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8458 *) ac_try_echo=$ac_try;;
8460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8461 $as_echo "$ac_try_echo") >&5
8462 (eval "$ac_compile") 2>conftest.er1
8464 grep -v '^ *+' conftest.er1 >conftest.err
8466 cat conftest.err >&5
8467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); } && {
8469 test -z "$ac_c_werror_flag" ||
8470 test ! -s conftest.err
8471 } && test -s conftest.$ac_objext; then
8474 cat >conftest.$ac_ext <<_ACEOF
8477 cat confdefs.h >>conftest.$ac_ext
8478 cat >>conftest.$ac_ext <<_ACEOF
8479 /* end confdefs.h. */
8480 $ac_includes_default
8484 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= $ac_mid)];
8491 rm -f conftest.$ac_objext
8492 if { (ac_try="$ac_compile"
8494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8495 *) ac_try_echo=$ac_try;;
8497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8498 $as_echo "$ac_try_echo") >&5
8499 (eval "$ac_compile") 2>conftest.er1
8501 grep -v '^ *+' conftest.er1 >conftest.err
8503 cat conftest.err >&5
8504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); } && {
8506 test -z "$ac_c_werror_flag" ||
8507 test ! -s conftest.err
8508 } && test -s conftest.$ac_objext; then
8509 ac_lo=$ac_mid; break
8511 $as_echo "$as_me: failed program was:" >&5
8512 sed 's/^/| /' conftest.$ac_ext >&5
8514 ac_hi=`expr '(' $ac_mid ')' - 1`
8515 if test $ac_mid -le $ac_hi; then
8519 ac_mid=`expr 2 '*' $ac_mid`
8522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8525 $as_echo "$as_me: failed program was:" >&5
8526 sed 's/^/| /' conftest.$ac_ext >&5
8531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8535 # Binary search between lo and hi bounds.
8536 while test "x$ac_lo" != "x$ac_hi"; do
8537 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8538 cat >conftest.$ac_ext <<_ACEOF
8541 cat confdefs.h >>conftest.$ac_ext
8542 cat >>conftest.$ac_ext <<_ACEOF
8543 /* end confdefs.h. */
8544 $ac_includes_default
8548 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8555 rm -f conftest.$ac_objext
8556 if { (ac_try="$ac_compile"
8558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8559 *) ac_try_echo=$ac_try;;
8561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8562 $as_echo "$ac_try_echo") >&5
8563 (eval "$ac_compile") 2>conftest.er1
8565 grep -v '^ *+' conftest.er1 >conftest.err
8567 cat conftest.err >&5
8568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); } && {
8570 test -z "$ac_c_werror_flag" ||
8571 test ! -s conftest.err
8572 } && test -s conftest.$ac_objext; then
8575 $as_echo "$as_me: failed program was:" >&5
8576 sed 's/^/| /' conftest.$ac_ext >&5
8578 ac_lo=`expr '(' $ac_mid ')' + 1`
8581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8584 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8585 '') if test "$ac_cv_type_long_double" = yes; then
8586 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8588 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8589 See \`config.log' for more details." >&5
8590 $as_echo "$as_me: error: cannot compute sizeof (long double)
8591 See \`config.log' for more details." >&2;}
8592 { (exit 77); exit 77; }; }; }
8594 ac_cv_sizeof_long_double=0
8598 cat >conftest.$ac_ext <<_ACEOF
8601 cat confdefs.h >>conftest.$ac_ext
8602 cat >>conftest.$ac_ext <<_ACEOF
8603 /* end confdefs.h. */
8604 $ac_includes_default
8605 static long int longval () { return (long int) (sizeof (long double)); }
8606 static unsigned long int ulongval () { return (long int) (sizeof (long double)); }
8613 FILE *f = fopen ("conftest.val", "w");
8616 if (((long int) (sizeof (long double))) < 0)
8618 long int i = longval ();
8619 if (i != ((long int) (sizeof (long double))))
8621 fprintf (f, "%ld", i);
8625 unsigned long int i = ulongval ();
8626 if (i != ((long int) (sizeof (long double))))
8628 fprintf (f, "%lu", i);
8630 /* Do not output a trailing newline, as this causes \r\n confusion
8631 on some platforms. */
8632 return ferror (f) || fclose (f) != 0;
8638 rm -f conftest$ac_exeext
8639 if { (ac_try="$ac_link"
8641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8642 *) ac_try_echo=$ac_try;;
8644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8645 $as_echo "$ac_try_echo") >&5
8646 (eval "$ac_link") 2>&5
8648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8650 { (case "(($ac_try" in
8651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8652 *) ac_try_echo=$ac_try;;
8654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8655 $as_echo "$ac_try_echo") >&5
8656 (eval "$ac_try") 2>&5
8658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; }; then
8660 ac_cv_sizeof_long_double=`cat conftest.val`
8662 $as_echo "$as_me: program exited with status $ac_status" >&5
8663 $as_echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.$ac_ext >&5
8667 if test "$ac_cv_type_long_double" = yes; then
8668 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8670 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8671 See \`config.log' for more details." >&5
8672 $as_echo "$as_me: error: cannot compute sizeof (long double)
8673 See \`config.log' for more details." >&2;}
8674 { (exit 77); exit 77; }; }; }
8676 ac_cv_sizeof_long_double=0
8679 rm -rf conftest.dSYM
8680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8684 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
8685 $as_echo "$ac_cv_sizeof_long_double" >&6; }
8689 cat >>confdefs.h <<_ACEOF
8690 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8694 sizeof_long_double=$ac_cv_sizeof_long_double
8697 ### End of automated tests.
8698 ### Now run sysdeps configure fragments.
8700 # They also can set these variables.
8702 ldd_rewrite_script=no
8703 libc_cv_sysconfdir=$sysconfdir
8704 libc_cv_gcc_unwind_find_fde=no
8707 # Iterate over all the sysdep directories we will use, running their
8708 # configure fragments, and looking for a uname implementation.
8710 for dir in $sysnames; do
8713 *) dest=$srcdir/$dir ;;
8715 if test -r $dest/configure; then
8716 { $as_echo "$as_me:$LINENO: result: running configure fragment for $dir" >&5
8717 $as_echo "running configure fragment for $dir" >&6; }
8721 if test -z "$uname"; then
8722 if test -r $dest/uname.c ||
8723 test -r $dest/uname.S ||
8724 { test -r $dest/syscalls.list &&
8725 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8731 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8732 cat >>confdefs.h <<\_ACEOF
8733 #define EXPORT_UNWIND_FIND_FDE 1
8739 # If we will use the generic uname implementation, we must figure out what
8740 # it will say by examining the system, and write the results in config-name.h.
8741 if test "$uname" = "sysdeps/generic"; then
8743 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8744 if test $uname_sysname != $config_os; then
8745 config_release=`echo $config_os | sed s/$uname_sysname//`
8748 { $as_echo "$as_me:$LINENO: checking OS release for uname" >&5
8749 $as_echo_n "checking OS release for uname... " >&6; }
8750 if test "${libc_cv_uname_release+set}" = set; then
8751 $as_echo_n "(cached) " >&6
8753 if test -r /vmunix; then
8754 kernel_id=`strings /vmunix | grep UNIX`
8755 elif test -r /dynix; then
8756 kernel_id=`strings /dynix | grep DYNIX`
8761 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8762 if test x`echo "$config_release" | sed "s/^$kernel_release//"` \
8763 != x$config_release; then
8764 # The configuration release is a substring of the kernel release.
8765 libc_cv_uname_release=$kernel_release
8766 elif test x$config_release != x; then
8767 libc_cv_uname_release=$config_release
8768 elif test x$kernel_release != x; then
8769 libc_cv_uname_release=$kernel_release
8771 libc_cv_uname_release=unknown
8774 { $as_echo "$as_me:$LINENO: result: $libc_cv_uname_release" >&5
8775 $as_echo "$libc_cv_uname_release" >&6; }
8776 uname_release="$libc_cv_uname_release"
8778 { $as_echo "$as_me:$LINENO: checking OS version for uname" >&5
8779 $as_echo_n "checking OS version for uname... " >&6; }
8780 if test "${libc_cv_uname_version+set}" = set; then
8781 $as_echo_n "(cached) " >&6
8783 if test -r /vmunix; then
8784 kernel_id=`strings /vmunix | grep UNIX`
8785 elif test -r /dynix; then
8786 kernel_id=`strings /dynix | grep DYNIX`
8791 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8792 if test -n "$kernel_version"; then
8793 libc_cv_uname_version="$kernel_version"
8795 libc_cv_uname_version=unknown
8798 { $as_echo "$as_me:$LINENO: result: $libc_cv_uname_version" >&5
8799 $as_echo "$libc_cv_uname_version" >&6; }
8800 uname_version="$libc_cv_uname_version"
8802 config_uname=config-name.h:config-name.in
8804 # For non-generic uname, we don't need to create config-name.h at all.
8808 cat >>confdefs.h <<\_ACEOF
8809 #define USE_IN_LIBIO 1
8813 # Test for old glibc 2.0.x headers so that they can be removed properly
8814 # Search only in includedir.
8815 { $as_echo "$as_me:$LINENO: checking for old glibc 2.0.x headers" >&5
8816 $as_echo_n "checking for old glibc 2.0.x headers... " >&6; }
8817 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
8819 old_glibc_headers=yes
8821 old_glibc_headers=no
8823 { $as_echo "$as_me:$LINENO: result: $old_glibc_headers" >&5
8824 $as_echo "$old_glibc_headers" >&6; }
8825 if test ${old_glibc_headers} = yes; then
8826 { $as_echo "$as_me:$LINENO: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
8827 $as_echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
8828 { $as_echo "$as_me:$LINENO: WARNING: *** be removed." >&5
8829 $as_echo "$as_me: WARNING: *** be removed." >&2;}
8847 if test $elf = yes; then
8848 cat >>confdefs.h <<\_ACEOF
8853 if test $xcoff = yes; then
8854 cat >>confdefs.h <<\_ACEOF
8855 #define HAVE_XCOFF 1
8862 if test $shared = default; then
8866 { $as_echo "$as_me:$LINENO: checking whether -fPIC is default" >&5
8867 $as_echo_n "checking whether -fPIC is default... " >&6; }
8868 if test "${libc_cv_pic_default+set}" = set; then
8869 $as_echo_n "(cached) " >&6
8871 libc_cv_pic_default=yes
8872 cat > conftest.c <<EOF
8873 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8874 # error PIC is default.
8877 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
8878 libc_cv_pic_default=no
8882 { $as_echo "$as_me:$LINENO: result: $libc_cv_pic_default" >&5
8883 $as_echo "$libc_cv_pic_default" >&6; }
8896 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8899 config_makefile=Makefile
8902 VERSION=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
8903 RELEASE=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8907 ac_config_files="$ac_config_files config.make ${config_makefile} ${config_uname}"
8909 ac_config_commands="$ac_config_commands default"
8911 cat >confcache <<\_ACEOF
8912 # This file is a shell script that caches the results of configure
8913 # tests run on this system so they can be shared between configure
8914 # scripts and configure runs, see configure's option --config-cache.
8915 # It is not useful on other systems. If it contains results you don't
8916 # want to keep, you may remove or edit it.
8918 # config.status only pays attention to the cache file if you give it
8919 # the --recheck option to rerun configure.
8921 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8922 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8927 # The following way of writing the cache mishandles newlines in values,
8928 # but we know of no workaround that is simple, portable, and efficient.
8929 # So, we kill variables containing newlines.
8930 # Ultrix sh set writes to stderr and can't be redirected directly,
8931 # and sets the high bit in the cache file unless we assign to the vars.
8933 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8934 eval ac_val=\$$ac_var
8938 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8939 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8942 _ | IFS | as_nl) ;; #(
8943 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8944 *) $as_unset $ac_var ;;
8950 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8951 *${as_nl}ac_space=\ *)
8952 # `set' does not quote correctly, so add quotes (double-quote
8953 # substitution turns \\\\ into \\, and sed turns \\ into \).
8956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8959 # `set' quotes correctly as required by POSIX, so do not add quotes.
8960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8969 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8971 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8973 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8974 if test -w "$cache_file"; then
8975 test "x$cache_file" != "x/dev/null" &&
8976 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8977 $as_echo "$as_me: updating cache $cache_file" >&6;}
8978 cat confcache >$cache_file
8980 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8981 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8986 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8987 # Let make expand exec_prefix.
8988 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8990 DEFS=-DHAVE_CONFIG_H
8994 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8995 # 1. Remove the extension, and $U if already installed.
8996 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8997 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8998 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8999 # will be set to the directory where LIBOBJS objects are built.
9000 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9001 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9005 LTLIBOBJS=$ac_ltlibobjs
9009 : ${CONFIG_STATUS=./config.status}
9011 ac_clean_files_save=$ac_clean_files
9012 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9013 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9014 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9015 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9017 # Generated by $as_me.
9018 # Run this file to recreate the current configuration.
9019 # Compiler output produced by configure, useful for debugging
9020 # configure, is in config.log if it exists.
9025 SHELL=\${CONFIG_SHELL-$SHELL}
9028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9029 ## --------------------- ##
9030 ## M4sh Initialization. ##
9031 ## --------------------- ##
9033 # Be more Bourne compatible
9034 DUALCASE=1; export DUALCASE # for MKS sh
9035 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9038 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9039 # is contrary to our usage. Disable this feature.
9040 alias -g '${1+"$@"}'='"$@"'
9041 setopt NO_GLOB_SUBST
9043 case `(set -o) 2>/dev/null` in
9044 *posix*) set -o posix ;;
9053 # Avoid depending upon Character Ranges.
9054 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9055 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9056 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9057 as_cr_digits='0123456789'
9058 as_cr_alnum=$as_cr_Letters$as_cr_digits
9063 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9064 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9065 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9066 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9067 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9068 as_echo='printf %s\n'
9069 as_echo_n='printf %s'
9071 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9072 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9073 as_echo_n='/usr/ucb/echo -n'
9075 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9076 as_echo_n_body='eval
9080 expr "X$arg" : "X\\(.*\\)$as_nl";
9081 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9083 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9085 export as_echo_n_body
9086 as_echo_n='sh -c $as_echo_n_body as_echo'
9089 as_echo='sh -c $as_echo_body as_echo'
9092 # The user is always right.
9093 if test "${PATH_SEPARATOR+set}" != set; then
9095 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9096 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9101 # Support unset when possible.
9102 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9110 # We need space, tab and new line, in precisely that order. Quoting is
9111 # there to prevent editors from complaining about space-tab.
9112 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9113 # splitting by setting IFS to empty value.)
9116 # Find who we are. Look in the path if we contain no directory separator.
9118 *[\\/]* ) as_myself=$0 ;;
9119 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9123 test -z "$as_dir" && as_dir=.
9124 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9130 # We did not find ourselves, most probably we were run as `sh COMMAND'
9131 # in which case we are not to be found in the path.
9132 if test "x$as_myself" = x; then
9135 if test ! -f "$as_myself"; then
9136 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9137 { (exit 1); exit 1; }
9140 # Work around bugs in pre-3.0 UWIN ksh.
9141 for as_var in ENV MAIL MAILPATH
9142 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9154 # Required to use basename.
9155 if expr a : '\(a\)' >/dev/null 2>&1 &&
9156 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9162 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9163 as_basename=basename
9169 # Name of the executable.
9170 as_me=`$as_basename -- "$0" ||
9171 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9172 X"$0" : 'X\(//\)$' \| \
9173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9175 sed '/^.*\/\([^/][^/]*\)\/*$/{
9196 test "x$as_lineno_1" != "x$as_lineno_2" &&
9197 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9199 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9200 # uniformly replaced by the line number. The first 'sed' inserts a
9201 # line-number line after each line using $LINENO; the second 'sed'
9202 # does the real work. The second script uses 'N' to pair each
9203 # line-number line with the line containing $LINENO, and appends
9204 # trailing '-' during substitution so that $LINENO is not a special
9206 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9207 # scripts with optimization help from Paolo Bonzini. Blame Lee
9208 # E. McMahon (1931-1989) for sed's syntax. :-)
9220 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9224 chmod +x "$as_me.lineno" ||
9225 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9226 { (exit 1); exit 1; }; }
9228 # Don't try to exec as it changes $[0], causing all sort of problems
9229 # (the dirname of $[0] is not the place where we might find the
9230 # original and so on. Autoconf is especially sensitive to this).
9232 # Exit status is that of the last command.
9237 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9243 ECHO_C= ECHO_N= ECHO_T=
9246 case `echo 'x\c'` in
9247 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9253 if expr a : '\(a\)' >/dev/null 2>&1 &&
9254 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9260 rm -f conf$$ conf$$.exe conf$$.file
9261 if test -d conf$$.dir; then
9262 rm -f conf$$.dir/conf$$.file
9265 mkdir conf$$.dir 2>/dev/null
9267 if (echo >conf$$.file) 2>/dev/null; then
9268 if ln -s conf$$.file conf$$ 2>/dev/null; then
9270 # ... but there are two gotchas:
9271 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9272 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9273 # In both cases, we have to default to `cp -p'.
9274 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9276 elif ln conf$$.file conf$$ 2>/dev/null; then
9284 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9285 rmdir conf$$.dir 2>/dev/null
9287 if mkdir -p . 2>/dev/null; then
9290 test -d ./-p && rmdir ./-p
9294 if test -x / >/dev/null 2>&1; then
9297 if ls -dL / >/dev/null 2>&1; then
9304 if test -d "$1"; then
9310 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9311 ???[sx]*):;;*)false;;esac;fi
9315 as_executable_p=$as_test_x
9317 # Sed expression to map a string onto a valid CPP name.
9318 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9320 # Sed expression to map a string onto a valid variable name.
9321 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9326 # Save the log message, to keep $[0] and so on meaningful, and to
9327 # report actual input values of CONFIG_FILES etc. instead of their
9328 # values after options handling.
9330 This file was extended by GNU C Library $as_me (see version.h), which was
9331 generated by GNU Autoconf 2.63. Invocation command line was
9333 CONFIG_FILES = $CONFIG_FILES
9334 CONFIG_HEADERS = $CONFIG_HEADERS
9335 CONFIG_LINKS = $CONFIG_LINKS
9336 CONFIG_COMMANDS = $CONFIG_COMMANDS
9339 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9344 case $ac_config_files in *"
9345 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9348 case $ac_config_headers in *"
9349 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9354 # Files that config.status was made for.
9355 config_files="$ac_config_files"
9356 config_headers="$ac_config_headers"
9357 config_commands="$ac_config_commands"
9361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9363 \`$as_me' instantiates files from templates according to the
9364 current configuration.
9366 Usage: $0 [OPTION]... [FILE]...
9368 -h, --help print this help, then exit
9369 -V, --version print version number and configuration settings, then exit
9370 -q, --quiet, --silent
9371 do not print progress messages
9372 -d, --debug don't remove temporary files
9373 --recheck update $as_me by reconfiguring in the same conditions
9374 --file=FILE[:TEMPLATE]
9375 instantiate the configuration file FILE
9376 --header=FILE[:TEMPLATE]
9377 instantiate the configuration header FILE
9379 Configuration files:
9382 Configuration headers:
9385 Configuration commands:
9388 Report bugs to <bug-autoconf@gnu.org>."
9391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9393 GNU C Library config.status (see version.h)
9394 configured by $0, generated by GNU Autoconf 2.63,
9395 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9397 Copyright (C) 2008 Free Software Foundation, Inc.
9398 This config.status script is free software; the Free Software Foundation
9399 gives unlimited permission to copy, distribute and modify it."
9405 test -n "\$AWK" || AWK=awk
9408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9409 # The default lists apply if the user does not specify any file.
9415 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9416 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9427 # Handling of the options.
9428 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9430 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9431 $as_echo "$ac_cs_version"; exit ;;
9432 --debug | --debu | --deb | --de | --d | -d )
9434 --file | --fil | --fi | --f )
9437 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9439 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
9440 ac_need_defaults=false;;
9441 --header | --heade | --head | --hea )
9444 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9446 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
9447 ac_need_defaults=false;;
9449 # Conflict between --help and --header
9450 { $as_echo "$as_me: error: ambiguous option: $1
9451 Try \`$0 --help' for more information." >&2
9452 { (exit 1); exit 1; }; };;
9453 --help | --hel | -h )
9454 $as_echo "$ac_cs_usage"; exit ;;
9455 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9456 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9460 -*) { $as_echo "$as_me: error: unrecognized option: $1
9461 Try \`$0 --help' for more information." >&2
9462 { (exit 1); exit 1; }; } ;;
9464 *) ac_config_targets="$ac_config_targets $1"
9465 ac_need_defaults=false ;;
9471 ac_configure_extra_args=
9473 if $ac_cs_silent; then
9475 ac_configure_extra_args="$ac_configure_extra_args --silent"
9479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9480 if \$ac_cs_recheck; then
9481 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9483 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9484 CONFIG_SHELL='$SHELL'
9490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9494 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9495 ## Running $as_me. ##
9501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9505 config_vars='$config_vars'
9509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9511 # Handling of arguments.
9512 for ac_config_target in $ac_config_targets
9514 case $ac_config_target in
9515 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9516 "config.make") CONFIG_FILES="$CONFIG_FILES config.make" ;;
9517 "${config_makefile}") CONFIG_FILES="$CONFIG_FILES ${config_makefile}" ;;
9518 "${config_uname}") CONFIG_FILES="$CONFIG_FILES ${config_uname}" ;;
9519 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9521 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9522 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9523 { (exit 1); exit 1; }; };;
9528 # If the user did not use the arguments to specify the items to instantiate,
9529 # then the envvar interface is used. Set only those that are not.
9530 # We use the long form for the default assignment because of an extremely
9531 # bizarre bug on SunOS 4.1.3.
9532 if $ac_need_defaults; then
9533 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9534 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9535 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9538 # Have a temporary directory for convenience. Make it in the build tree
9539 # simply because there is no reason against having it here, and in addition,
9540 # creating and moving files from /tmp can sometimes cause problems.
9541 # Hook for its removal unless debugging.
9542 # Note that there is a small window in which the directory will not be cleaned:
9543 # after its creation but before its name has been assigned to `$tmp'.
9547 trap 'exit_status=$?
9548 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9550 trap '{ (exit 1); exit 1; }' 1 2 13 15
9552 # Create a (secure) tmp directory for tmp files.
9555 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9556 test -n "$tmp" && test -d "$tmp"
9559 tmp=./conf$$-$RANDOM
9560 (umask 077 && mkdir "$tmp")
9563 $as_echo "$as_me: cannot create a temporary directory in ." >&2
9564 { (exit 1); exit 1; }
9567 # Set up the scripts for CONFIG_FILES section.
9568 # No need to generate them if there are no CONFIG_FILES.
9569 # This happens for instance with `./config.status config.h'.
9570 if test -n "$CONFIG_FILES"; then
9574 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9575 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9581 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9586 echo "cat >conf$$subs.awk <<_ACEOF" &&
9587 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9590 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9591 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9592 { (exit 1); exit 1; }; }
9593 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9595 for ac_last_try in false false false false false :; do
9596 . ./conf$$subs.sh ||
9597 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9598 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9599 { (exit 1); exit 1; }; }
9601 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9602 if test $ac_delim_n = $ac_delim_num; then
9604 elif $ac_last_try; then
9605 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9606 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9607 { (exit 1); exit 1; }; }
9609 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9615 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9619 s/^/S["/; s/!.*/"]=/
9629 s/\(.\{148\}\).*/\1/
9631 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9636 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9643 s/\(.\{148\}\).*/\1/
9645 s/["\\]/\\&/g; s/^/"/; s/$/"/
9649 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9654 ' <conf$$subs.awk | sed '
9659 ' >>$CONFIG_STATUS || ac_write_fail=1
9660 rm -f conf$$subs.awk
9661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9663 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9664 for (key in S) S_is_set[key] = 1
9670 nfields = split(line, field, "@")
9672 len = length(field[1])
9673 for (i = 2; i < nfields; i++) {
9675 keylen = length(key)
9676 if (S_is_set[key]) {
9678 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9679 len += length(value) + length(field[++i])
9690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9691 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9692 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9695 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9696 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
9697 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
9698 { (exit 1); exit 1; }; }
9701 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9702 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9703 # trailing colons and then remove the whole line if VPATH becomes empty
9704 # (actually we leave an empty line to preserve line numbers).
9705 if test "x$srcdir" = x.; then
9706 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9710 s/^\([^=]*=[ ]*\):*/\1/
9716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9717 fi # test -n "$CONFIG_FILES"
9719 # Set up the scripts for CONFIG_HEADERS section.
9720 # No need to generate them if there are no CONFIG_HEADERS.
9721 # This happens for instance with `./config.status Makefile'.
9722 if test -n "$CONFIG_HEADERS"; then
9723 cat >"$tmp/defines.awk" <<\_ACAWK ||
9727 # Transform confdefs.h into an awk script `defines.awk', embedded as
9728 # here-document in config.status, that substitutes the proper values into
9729 # config.h.in to produce config.h.
9731 # Create a delimiter string that does not exist in confdefs.h, to ease
9732 # handling of long lines.
9734 for ac_last_try in false false :; do
9735 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9736 if test -z "$ac_t"; then
9738 elif $ac_last_try; then
9739 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
9740 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
9741 { (exit 1); exit 1; }; }
9743 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9747 # For the awk script, D is an array of macro values keyed by name,
9748 # likewise P contains macro parameters if any. Preserve backslash
9749 # newline sequences.
9751 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9753 s/.\{148\}/&'"$ac_delim"'/g
9756 s/^[ ]*#[ ]*define[ ][ ]*/ /
9763 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9765 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9769 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9770 D["\1"]=" \3\\\\\\n"\\/p
9772 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9777 s/.\{148\}/&'"$ac_delim"'/g
9782 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9785 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9787 ' <confdefs.h | sed '
9788 s/'"$ac_delim"'/"\\\
9789 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9792 for (key in D) D_is_set[key] = 1
9795 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9797 split(line, arg, " ")
9798 if (arg[1] == "#") {
9802 defundef = substr(arg[1], 2)
9805 split(mac1, mac2, "(") #)
9807 prefix = substr(line, 1, index(line, defundef) - 1)
9808 if (D_is_set[macro]) {
9809 # Preserve the white space surrounding the "#".
9810 print prefix "define", macro P[macro] D[macro]
9813 # Replace #undef with comments. This is necessary, for example,
9814 # in the case of _POSIX_SOURCE, which is predefined and required
9815 # on some systems where configure will not decide to define it.
9816 if (defundef == "undef") {
9817 print "/*", prefix defundef, macro, "*/"
9825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9826 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9827 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9828 { (exit 1); exit 1; }; }
9829 fi # test -n "$CONFIG_HEADERS"
9832 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9837 :[FHLC]) ac_mode=$ac_tag; continue;;
9839 case $ac_mode$ac_tag in
9841 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9842 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9843 { (exit 1); exit 1; }; };;
9844 :[FH]-) ac_tag=-:-;;
9845 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9862 -) ac_f="$tmp/stdin";;
9863 *) # Look for the file first in the build tree, then in the source tree
9864 # (if the path is not absolute). The absolute path cannot be DOS-style,
9865 # because $ac_f cannot contain `:'.
9869 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9871 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9872 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9873 { (exit 1); exit 1; }; };;
9875 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9876 ac_file_inputs="$ac_file_inputs '$ac_f'"
9879 # Let's still pretend it is `configure' which instantiates (i.e., don't
9880 # use $as_me), people would be surprised to read:
9881 # /* config.h. Generated by config.status. */
9882 configure_input='Generated from '`
9883 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9885 if test x"$ac_file" != x-; then
9886 configure_input="$ac_file. $configure_input"
9887 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9888 $as_echo "$as_me: creating $ac_file" >&6;}
9890 # Neutralize special characters interpreted by sed in replacement strings.
9891 case $configure_input in #(
9892 *\&* | *\|* | *\\* )
9893 ac_sed_conf_input=`$as_echo "$configure_input" |
9894 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9895 *) ac_sed_conf_input=$configure_input;;
9899 *:-:* | *:-) cat >"$tmp/stdin" \
9900 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9901 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9902 { (exit 1); exit 1; }; } ;;
9907 ac_dir=`$as_dirname -- "$ac_file" ||
9908 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9909 X"$ac_file" : 'X\(//\)[^/]' \| \
9910 X"$ac_file" : 'X\(//\)$' \| \
9911 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9912 $as_echo X"$ac_file" |
9913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9932 -*) as_dir=./$as_dir;;
9934 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9938 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9939 *) as_qdir=$as_dir;;
9941 as_dirs="'$as_qdir' $as_dirs"
9942 as_dir=`$as_dirname -- "$as_dir" ||
9943 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9944 X"$as_dir" : 'X\(//\)[^/]' \| \
9945 X"$as_dir" : 'X\(//\)$' \| \
9946 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9947 $as_echo X"$as_dir" |
9948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9965 test -d "$as_dir" && break
9967 test -z "$as_dirs" || eval "mkdir $as_dirs"
9968 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9969 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9970 { (exit 1); exit 1; }; }; }
9974 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9976 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9977 # A ".." for each directory in $ac_dir_suffix.
9978 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9979 case $ac_top_builddir_sub in
9980 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9981 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9984 ac_abs_top_builddir=$ac_pwd
9985 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9986 # for backward compatibility:
9987 ac_top_builddir=$ac_top_build_prefix
9990 .) # We are building in place.
9992 ac_top_srcdir=$ac_top_builddir_sub
9993 ac_abs_top_srcdir=$ac_pwd ;;
9994 [\\/]* | ?:[\\/]* ) # Absolute name.
9995 ac_srcdir=$srcdir$ac_dir_suffix;
9996 ac_top_srcdir=$srcdir
9997 ac_abs_top_srcdir=$srcdir ;;
9999 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10000 ac_top_srcdir=$ac_top_build_prefix$srcdir
10001 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10003 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10013 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10014 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10019 # If the template does not know about datarootdir, expand it.
10020 # FIXME: This hack should be removed a few years after 2.60.
10021 ac_datarootdir_hack=; ac_datarootdir_seen=
10034 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10035 *datarootdir*) ac_datarootdir_seen=yes;;
10036 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10037 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10038 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10041 ac_datarootdir_hack='
10042 s&@datadir@&$datadir&g
10043 s&@docdir@&$docdir&g
10044 s&@infodir@&$infodir&g
10045 s&@localedir@&$localedir&g
10046 s&@mandir@&$mandir&g
10047 s&\\\${datarootdir}&$datarootdir&g' ;;
10051 # Neutralize VPATH when `$srcdir' = `.'.
10052 # Shell code in configure.ac might set extrasub.
10053 # FIXME: do we really want to maintain this feature?
10054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10055 ac_sed_extra="$ac_vpsub
10058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10061 s|@configure_input@|$ac_sed_conf_input|;t t
10062 s&@top_builddir@&$ac_top_builddir_sub&;t t
10063 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10064 s&@srcdir@&$ac_srcdir&;t t
10065 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10066 s&@top_srcdir@&$ac_top_srcdir&;t t
10067 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10068 s&@builddir@&$ac_builddir&;t t
10069 s&@abs_builddir@&$ac_abs_builddir&;t t
10070 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10071 s&@INSTALL@&$ac_INSTALL&;t t
10072 $ac_datarootdir_hack
10074 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10075 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10076 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10077 { (exit 1); exit 1; }; }
10079 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10080 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10081 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10082 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10083 which seems to be undefined. Please make sure it is defined." >&5
10084 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10085 which seems to be undefined. Please make sure it is defined." >&2;}
10089 -) cat "$tmp/out" && rm -f "$tmp/out";;
10090 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10092 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10093 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10094 { (exit 1); exit 1; }; }
10100 if test x"$ac_file" != x-; then
10102 $as_echo "/* $configure_input */" \
10103 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10104 } >"$tmp/config.h" \
10105 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10106 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10107 { (exit 1); exit 1; }; }
10108 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10109 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10110 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10113 mv "$tmp/config.h" "$ac_file" \
10114 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10115 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10116 { (exit 1); exit 1; }; }
10119 $as_echo "/* $configure_input */" \
10120 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10121 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10122 $as_echo "$as_me: error: could not create -" >&2;}
10123 { (exit 1); exit 1; }; }
10127 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10128 $as_echo "$as_me: executing $ac_file commands" >&6;}
10133 case $ac_file$ac_mode in
10135 case $CONFIG_FILES in *config.make*)
10136 echo "$config_vars" >> config.make;;
10138 test -d bits || mkdir bits ;;
10144 { (exit 0); exit 0; }
10146 chmod +x $CONFIG_STATUS
10147 ac_clean_files=$ac_clean_files_save
10149 test $ac_write_fail = 0 ||
10150 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10151 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10152 { (exit 1); exit 1; }; }
10155 # configure is writing to config.log, and then calls config.status.
10156 # config.status does its own redirection, appending to config.log.
10157 # Unfortunately, on DOS this fails, as config.log is still kept open
10158 # by configure, so config.status won't be able to write to it; its
10159 # output is simply discarded. So we exec the FD to /dev/null,
10160 # effectively closing config.log, so it can be properly (re)opened and
10161 # appended to by config.status. When coming back to configure, we
10162 # need to make the FD available again.
10163 if test "$no_create" != yes; then
10165 ac_config_status_args=
10166 test "$silent" = yes &&
10167 ac_config_status_args="$ac_config_status_args --quiet"
10169 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10171 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10172 # would make configure fail if this is the last instruction.
10173 $ac_cs_success || { (exit 1); exit 1; }
10177 # CONFIG_SUBDIRS section.
10179 if test "$no_recursion" != yes; then
10181 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10182 # so they do not pile up.
10183 ac_sub_configure_args=
10185 eval "set x $ac_configure_args"
10189 if test -n "$ac_prev"; then
10194 -cache-file | --cache-file | --cache-fil | --cache-fi \
10195 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10196 ac_prev=cache_file ;;
10197 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10198 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10201 --config-cache | -C)
10203 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10205 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10207 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10209 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10211 --disable-option-checking)
10215 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10217 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
10221 # Always prepend --prefix to ensure using the same prefix
10222 # in subdir configurations.
10223 ac_arg="--prefix=$prefix"
10225 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10227 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10230 if test "$silent" = yes; then
10231 ac_sub_configure_args="--silent $ac_sub_configure_args"
10234 # Always prepend --disable-option-checking to silence warnings, since
10235 # different subdirs can have different --enable and --with options.
10236 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10239 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10241 # Do not complain, so a configure script can configure whichever
10242 # parts of a large source tree are present.
10243 test -d "$srcdir/$ac_dir" || continue
10245 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10246 $as_echo "$as_me:$LINENO: $ac_msg" >&5
10247 $as_echo "$ac_msg" >&6
10250 -*) as_dir=./$as_dir;;
10252 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10256 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10257 *) as_qdir=$as_dir;;
10259 as_dirs="'$as_qdir' $as_dirs"
10260 as_dir=`$as_dirname -- "$as_dir" ||
10261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10262 X"$as_dir" : 'X\(//\)[^/]' \| \
10263 X"$as_dir" : 'X\(//\)$' \| \
10264 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10265 $as_echo X"$as_dir" |
10266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10270 /^X\(\/\/\)[^/].*/{
10283 test -d "$as_dir" && break
10285 test -z "$as_dirs" || eval "mkdir $as_dirs"
10286 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10287 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10288 { (exit 1); exit 1; }; }; }
10292 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10294 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10295 # A ".." for each directory in $ac_dir_suffix.
10296 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10297 case $ac_top_builddir_sub in
10298 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10299 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10302 ac_abs_top_builddir=$ac_pwd
10303 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10304 # for backward compatibility:
10305 ac_top_builddir=$ac_top_build_prefix
10308 .) # We are building in place.
10310 ac_top_srcdir=$ac_top_builddir_sub
10311 ac_abs_top_srcdir=$ac_pwd ;;
10312 [\\/]* | ?:[\\/]* ) # Absolute name.
10313 ac_srcdir=$srcdir$ac_dir_suffix;
10314 ac_top_srcdir=$srcdir
10315 ac_abs_top_srcdir=$srcdir ;;
10316 *) # Relative name.
10317 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10318 ac_top_srcdir=$ac_top_build_prefix$srcdir
10319 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10321 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10326 # Check for guested configure; otherwise get Cygnus style configure.
10327 if test -f "$ac_srcdir/configure.gnu"; then
10328 ac_sub_configure=$ac_srcdir/configure.gnu
10329 elif test -f "$ac_srcdir/configure"; then
10330 ac_sub_configure=$ac_srcdir/configure
10331 elif test -f "$ac_srcdir/configure.in"; then
10332 # This should be Cygnus configure.
10333 ac_sub_configure=$ac_aux_dir/configure
10335 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10336 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10340 # The recursion is here.
10341 if test -n "$ac_sub_configure"; then
10342 # Make the cache file name correct relative to the subdirectory.
10343 case $cache_file in
10344 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10345 *) # Relative name.
10346 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10349 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10350 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10351 # The eval makes quoting arguments work.
10352 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10353 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10354 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10355 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10356 { (exit 1); exit 1; }; }
10362 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10363 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10364 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}