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
660 libc_cv_cpp_asm_debuginfo
661 libc_cv_forced_unwind
670 libc_cv_gcc_unwind_find_fde
678 libc_cv_cc_submachine
681 libc_cv_have_initfini
691 libc_cv_libgcc_s_suffix
693 libc_cv_cc_with_libunwind
703 libc_cv_gcc_static_libgcc
786 program_transform_name
798 enable_option_checking
817 enable_stackguard_randomization
828 enable_experimental_malloc
832 ac_precious_vars='build_alias
846 # Initialize some variables set by options.
848 ac_init_version=false
849 ac_unrecognized_opts=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name=s,x,x,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir='${exec_prefix}/bin'
875 sbindir='${exec_prefix}/sbin'
876 libexecdir='${exec_prefix}/libexec'
877 datarootdir='${prefix}/share'
878 datadir='${datarootdir}'
879 sysconfdir='${prefix}/etc'
880 sharedstatedir='${prefix}/com'
881 localstatedir='${prefix}/var'
882 includedir='${prefix}/include'
883 oldincludedir='/usr/include'
884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
885 infodir='${datarootdir}/info'
890 libdir='${exec_prefix}/lib'
891 localedir='${datarootdir}/locale'
892 mandir='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\$ac_option
906 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir | --bindir | --bindi | --bind | --bin | --bi)
918 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
921 -build | --build | --buil | --bui | --bu)
922 ac_prev=build_alias ;;
923 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
924 build_alias=$ac_optarg ;;
926 -cache-file | --cache-file | --cache-fil | --cache-fi \
927 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
928 ac_prev=cache_file ;;
929 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
930 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
931 cache_file=$ac_optarg ;;
934 cache_file=config.cache ;;
936 -datadir | --datadir | --datadi | --datad)
938 -datadir=* | --datadir=* | --datadi=* | --datad=*)
939 datadir=$ac_optarg ;;
941 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
942 | --dataroo | --dataro | --datar)
943 ac_prev=datarootdir ;;
944 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
945 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
946 datarootdir=$ac_optarg ;;
948 -disable-* | --disable-*)
949 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
953 { (exit 1); exit 1; }; }
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
963 eval enable_$ac_useropt=no ;;
965 -docdir | --docdir | --docdi | --doc | --do)
967 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
970 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
972 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
975 -enable-* | --enable-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
980 { (exit 1); exit 1; }; }
981 ac_useropt_orig=$ac_useropt
982 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
988 ac_unrecognized_sep=', ';;
990 eval enable_$ac_useropt=\$ac_optarg ;;
992 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
993 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
994 | --exec | --exe | --ex)
995 ac_prev=exec_prefix ;;
996 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
997 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
998 | --exec=* | --exe=* | --ex=*)
999 exec_prefix=$ac_optarg ;;
1001 -gas | --gas | --ga | --g)
1002 # Obsolete; use --with-gas.
1005 -help | --help | --hel | --he | -h)
1006 ac_init_help=long ;;
1007 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1008 ac_init_help=recursive ;;
1009 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1010 ac_init_help=short ;;
1012 -host | --host | --hos | --ho)
1013 ac_prev=host_alias ;;
1014 -host=* | --host=* | --hos=* | --ho=*)
1015 host_alias=$ac_optarg ;;
1017 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1019 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1021 htmldir=$ac_optarg ;;
1023 -includedir | --includedir | --includedi | --included | --include \
1024 | --includ | --inclu | --incl | --inc)
1025 ac_prev=includedir ;;
1026 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1027 | --includ=* | --inclu=* | --incl=* | --inc=*)
1028 includedir=$ac_optarg ;;
1030 -infodir | --infodir | --infodi | --infod | --info | --inf)
1032 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1033 infodir=$ac_optarg ;;
1035 -libdir | --libdir | --libdi | --libd)
1037 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1038 libdir=$ac_optarg ;;
1040 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1041 | --libexe | --libex | --libe)
1042 ac_prev=libexecdir ;;
1043 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1044 | --libexe=* | --libex=* | --libe=*)
1045 libexecdir=$ac_optarg ;;
1047 -localedir | --localedir | --localedi | --localed | --locale)
1048 ac_prev=localedir ;;
1049 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1050 localedir=$ac_optarg ;;
1052 -localstatedir | --localstatedir | --localstatedi | --localstated \
1053 | --localstate | --localstat | --localsta | --localst | --locals)
1054 ac_prev=localstatedir ;;
1055 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1056 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1057 localstatedir=$ac_optarg ;;
1059 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1061 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1062 mandir=$ac_optarg ;;
1064 -nfp | --nfp | --nf)
1065 # Obsolete; use --without-fp.
1068 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1069 | --no-cr | --no-c | -n)
1072 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1073 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1076 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1077 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1078 | --oldin | --oldi | --old | --ol | --o)
1079 ac_prev=oldincludedir ;;
1080 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1081 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1082 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1083 oldincludedir=$ac_optarg ;;
1085 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1087 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1088 prefix=$ac_optarg ;;
1090 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1091 | --program-pre | --program-pr | --program-p)
1092 ac_prev=program_prefix ;;
1093 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1094 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1095 program_prefix=$ac_optarg ;;
1097 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1098 | --program-suf | --program-su | --program-s)
1099 ac_prev=program_suffix ;;
1100 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1101 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1102 program_suffix=$ac_optarg ;;
1104 -program-transform-name | --program-transform-name \
1105 | --program-transform-nam | --program-transform-na \
1106 | --program-transform-n | --program-transform- \
1107 | --program-transform | --program-transfor \
1108 | --program-transfo | --program-transf \
1109 | --program-trans | --program-tran \
1110 | --progr-tra | --program-tr | --program-t)
1111 ac_prev=program_transform_name ;;
1112 -program-transform-name=* | --program-transform-name=* \
1113 | --program-transform-nam=* | --program-transform-na=* \
1114 | --program-transform-n=* | --program-transform-=* \
1115 | --program-transform=* | --program-transfor=* \
1116 | --program-transfo=* | --program-transf=* \
1117 | --program-trans=* | --program-tran=* \
1118 | --progr-tra=* | --program-tr=* | --program-t=*)
1119 program_transform_name=$ac_optarg ;;
1121 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1123 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1124 pdfdir=$ac_optarg ;;
1126 -psdir | --psdir | --psdi | --psd | --ps)
1128 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1132 | -silent | --silent | --silen | --sile | --sil)
1135 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1137 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1139 sbindir=$ac_optarg ;;
1141 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1142 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1143 | --sharedst | --shareds | --shared | --share | --shar \
1145 ac_prev=sharedstatedir ;;
1146 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1147 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1148 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1150 sharedstatedir=$ac_optarg ;;
1152 -site | --site | --sit)
1154 -site=* | --site=* | --sit=*)
1157 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1159 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1160 srcdir=$ac_optarg ;;
1162 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1163 | --syscon | --sysco | --sysc | --sys | --sy)
1164 ac_prev=sysconfdir ;;
1165 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1166 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1167 sysconfdir=$ac_optarg ;;
1169 -target | --target | --targe | --targ | --tar | --ta | --t)
1170 ac_prev=target_alias ;;
1171 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1172 target_alias=$ac_optarg ;;
1174 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1177 -version | --version | --versio | --versi | --vers | -V)
1178 ac_init_version=: ;;
1181 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_useropt_orig=$ac_useropt
1187 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193 ac_unrecognized_sep=', ';;
1195 eval with_$ac_useropt=\$ac_optarg ;;
1197 -without-* | --without-*)
1198 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1202 { (exit 1); exit 1; }; }
1203 ac_useropt_orig=$ac_useropt
1204 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1209 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1210 ac_unrecognized_sep=', ';;
1212 eval with_$ac_useropt=no ;;
1215 # Obsolete; use --with-x.
1218 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1219 | --x-incl | --x-inc | --x-in | --x-i)
1220 ac_prev=x_includes ;;
1221 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1222 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1223 x_includes=$ac_optarg ;;
1225 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1226 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1227 ac_prev=x_libraries ;;
1228 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1229 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1230 x_libraries=$ac_optarg ;;
1232 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1233 Try \`$0 --help' for more information." >&2
1234 { (exit 1); exit 1; }; }
1238 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1241 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1242 { (exit 1); exit 1; }; }
1243 eval $ac_envvar=\$ac_optarg
1244 export $ac_envvar ;;
1247 # FIXME: should be removed in autoconf 3.0.
1248 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1249 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1250 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1251 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1257 if test -n "$ac_prev"; then
1258 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1259 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1260 { (exit 1); exit 1; }; }
1263 if test -n "$ac_unrecognized_opts"; then
1264 case $enable_option_checking in
1266 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1267 { (exit 1); exit 1; }; } ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 # Check all directory arguments for consistency.
1273 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val=\$$ac_var
1279 # Remove trailing slashes.
1282 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\$ac_val;;
1285 # Be sure to have absolute directory names.
1287 [\\/$]* | ?:[\\/]* ) continue;;
1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1290 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x; then
1303 if test "x$build_alias" = x; then
1304 cross_compiling=maybe
1305 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1315 test "$silent" = yes && exec 6>/dev/null
1318 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di=`ls -di .` &&
1320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir=`$as_dirname -- "$as_myself" ||
1333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$as_myself" : 'X\(//\)[^/]' \| \
1335 X"$as_myself" : 'X\(//\)$' \| \
1336 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1337 $as_echo X"$as_myself" |
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1364 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var in $ac_precious_vars; do
1383 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_${ac_var}_value=\$${ac_var}
1385 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --build=BUILD configure for building on BUILD [guessed]
1455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short | recursive ) echo "Configuration of GNU C Library (see version.h):";;
1466 --disable-option-checking ignore unrecognized --enable/--with options
1467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1469 --disable-sanity-checks really do not use threads (should not be used except
1470 in special situations) [default=yes]
1471 --enable-check-abi do "make check-abi" in "make check" (no/warn/yes)
1473 --enable-shared build shared library [default=yes if GNU ld & ELF]
1474 --enable-profile build profiled library [default=no]
1475 --enable-omitfp build undebuggable optimized library [default=no]
1476 --enable-bounded build with runtime bounds checking [default=no]
1477 --disable-versioning do not include versioning information in the library
1478 objects [default=yes if supported]
1479 --enable-oldest-abi=ABI configure the oldest ABI supported [e.g. 2.2]
1480 [default=glibc default]
1481 --enable-stackguard-randomization
1482 initialize __stack_chk_guard canary with a random
1483 number at program start
1484 --enable-add-ons[=DIRS...]
1485 configure and build add-ons in DIR1,DIR2,... search
1486 for add-ons if no parameter given
1487 --disable-hidden-plt do not hide internal function calls to avoid PLT
1488 --enable-bind-now disable lazy relocations in DSOs
1489 --enable-static-nss build static NSS modules [default=no]
1490 --disable-force-install don't force installation of files from this package,
1491 even if they are older than the installed files
1492 --enable-kernel=VERSION compile for compatibility with kernel not older than
1494 --enable-all-warnings enable all useful warnings gcc can issue
1495 --enable-multi-arch enable single DSO with optimizations for multiple
1497 --enable-experimental-malloc
1498 enable experimental malloc features
1499 --enable-nss-crypt enable libcrypt to use nss
1502 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1503 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1504 --with-gd=DIR find libgd include dir and library with prefix DIR
1505 --with-gd-include=DIR find libgd include files in DIR
1506 --with-gd-lib=DIR find libgd library files in DIR
1507 --with-fp if using floating-point hardware [default=yes]
1508 --with-binutils=PATH specify location of binutils (as and ld)
1509 --with-elf if using the ELF object format
1510 --with-selinux if building with SELinux support
1511 --with-xcoff if using the XCOFF object format
1512 --without-cvs if CVS should not be used
1513 --with-headers=PATH location of system headers to use (for example
1514 /usr/src/linux/include) [default=compiler default]
1515 --with-tls enable support for TLS
1516 --without-__thread do not use TLS features even when supporting them
1517 --with-cpu=CPU select code for CPU variant
1519 Some influential environment variables:
1520 CC C compiler command
1521 CFLAGS C compiler flags
1522 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1523 nonstandard directory <lib dir>
1524 LIBS libraries to pass to the linker, e.g. -l<library>
1525 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1526 you have headers in a nonstandard directory <include dir>
1528 CXX C++ compiler command
1529 CXXFLAGS C++ compiler flags
1531 Use these variables to override the choices made by `configure' or to help
1532 it to find libraries and programs with nonstandard names/locations.
1534 Report bugs to <glibc>.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir=$ac_pwd
1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir=$ac_top_build_prefix
1564 .) # We are building in place.
1566 ac_top_srcdir=$ac_top_builddir_sub
1567 ac_abs_top_srcdir=$ac_pwd ;;
1568 [\\/]* | ?:[\\/]* ) # Absolute name.
1569 ac_srcdir=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir=$srcdir
1571 ac_abs_top_srcdir=$srcdir ;;
1573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" || { ac_status=$?; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" || { ac_status=$?; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1597 GNU C Library configure (see version.h)
1598 generated by GNU Autoconf 2.63
1600 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1601 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1602 This configure script is free software; the Free Software Foundation
1603 gives unlimited permission to copy, distribute and modify it.
1607 cat >config.log <<_ACEOF
1608 This file contains any messages produced by compilers while
1609 running configure, to aid debugging if configure makes a mistake.
1611 It was created by GNU C Library $as_me (see version.h), which was
1612 generated by GNU Autoconf 2.63. Invocation command line was
1624 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1625 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1626 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1627 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1628 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1630 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1631 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1633 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1634 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1635 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1636 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1637 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1638 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1639 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir=.
1648 $as_echo "PATH: $as_dir"
1664 # Keep a trace of the command line.
1665 # Strip out --no-create and --no-recursion so they do not pile up.
1666 # Strip out --silent because we don't want to record it for future runs.
1667 # Also quote any args containing shell meta-characters.
1668 # Make two passes to allow for proper duplicate-argument suppression.
1672 ac_must_keep_next=false
1678 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1680 | -silent | --silent | --silen | --sile | --sil)
1683 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1686 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1688 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1689 if test $ac_must_keep_next = true; then
1690 ac_must_keep_next=false # Got value, back to normal.
1693 *=* | --config-cache | -C | -disable-* | --disable-* \
1694 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1695 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1696 | -with-* | --with-* | -without-* | --without-* | --x)
1697 case "$ac_configure_args0 " in
1698 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1701 -* ) ac_must_keep_next=true ;;
1704 ac_configure_args="$ac_configure_args '$ac_arg'"
1709 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1710 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1712 # When interrupted or exit'd, cleanup temporary files, and complete
1713 # config.log. We remove comments because anyway the quotes in there
1714 # would cause problems or look ugly.
1715 # WARNING: Use '\'' to represent an apostrophe within the trap.
1716 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1717 trap 'exit_status=$?
1718 # Save into config.log some information that might help in debugging.
1723 ## ---------------- ##
1724 ## Cache variables. ##
1725 ## ---------------- ##
1728 # The following way of writing the cache mishandles newlines in values,
1730 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1731 eval ac_val=\$$ac_var
1735 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1736 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1739 _ | IFS | as_nl) ;; #(
1740 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1741 *) $as_unset $ac_var ;;
1746 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1747 *${as_nl}ac_space=\ *)
1749 "s/'\''/'\''\\\\'\'''\''/g;
1750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1761 ## ----------------- ##
1762 ## Output variables. ##
1763 ## ----------------- ##
1766 for ac_var in $ac_subst_vars
1768 eval ac_val=\$$ac_var
1770 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1772 $as_echo "$ac_var='\''$ac_val'\''"
1776 if test -n "$ac_subst_files"; then
1778 ## ------------------- ##
1779 ## File substitutions. ##
1780 ## ------------------- ##
1783 for ac_var in $ac_subst_files
1785 eval ac_val=\$$ac_var
1787 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1789 $as_echo "$ac_var='\''$ac_val'\''"
1794 if test -s confdefs.h; then
1804 test "$ac_signal" != 0 &&
1805 $as_echo "$as_me: caught signal $ac_signal"
1806 $as_echo "$as_me: exit $exit_status"
1808 rm -f core *.core core.conftest.* &&
1809 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1812 for ac_signal in 1 2 13 15; do
1813 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1817 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1818 rm -f -r conftest* confdefs.h
1820 # Predefined preprocessor variables.
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_NAME "$PACKAGE_NAME"
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1832 cat >>confdefs.h <<_ACEOF
1833 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1837 cat >>confdefs.h <<_ACEOF
1838 #define PACKAGE_STRING "$PACKAGE_STRING"
1842 cat >>confdefs.h <<_ACEOF
1843 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1847 # Let the site file select an alternate cache file if it wants to.
1848 # Prefer an explicitly selected file to automatically selected ones.
1851 if test -n "$CONFIG_SITE"; then
1852 ac_site_file1=$CONFIG_SITE
1853 elif test "x$prefix" != xNONE; then
1854 ac_site_file1=$prefix/share/config.site
1855 ac_site_file2=$prefix/etc/config.site
1857 ac_site_file1=$ac_default_prefix/share/config.site
1858 ac_site_file2=$ac_default_prefix/etc/config.site
1860 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1862 test "x$ac_site_file" = xNONE && continue
1863 if test -r "$ac_site_file"; then
1864 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1865 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1866 sed 's/^/| /' "$ac_site_file" >&5
1871 if test -r "$cache_file"; then
1872 # Some versions of bash will fail to source /dev/null (special
1873 # files actually), so we avoid doing that.
1874 if test -f "$cache_file"; then
1875 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1876 $as_echo "$as_me: loading cache $cache_file" >&6;}
1878 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1879 *) . "./$cache_file";;
1883 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1884 $as_echo "$as_me: creating cache $cache_file" >&6;}
1888 # Check that the precious variables saved in the cache have kept the same
1890 ac_cache_corrupted=false
1891 for ac_var in $ac_precious_vars; do
1892 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1893 eval ac_new_set=\$ac_env_${ac_var}_set
1894 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1895 eval ac_new_val=\$ac_env_${ac_var}_value
1896 case $ac_old_set,$ac_new_set in
1898 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1899 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1900 ac_cache_corrupted=: ;;
1902 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1903 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1904 ac_cache_corrupted=: ;;
1907 if test "x$ac_old_val" != "x$ac_new_val"; then
1908 # differences in whitespace do not lead to failure.
1909 ac_old_val_w=`echo x $ac_old_val`
1910 ac_new_val_w=`echo x $ac_new_val`
1911 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1912 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1913 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1914 ac_cache_corrupted=:
1916 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1917 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1918 eval $ac_var=\$ac_old_val
1920 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1921 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1922 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1923 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1926 # Pass precious variables to config.status.
1927 if test "$ac_new_set" = set; then
1929 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1930 *) ac_arg=$ac_var=$ac_new_val ;;
1932 case " $ac_configure_args " in
1933 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1934 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1938 if $ac_cache_corrupted; then
1939 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1941 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1942 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1943 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1944 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1945 { (exit 1); exit 1; }; }
1973 ac_cpp='$CPP $CPPFLAGS'
1974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1980 ac_config_headers="$ac_config_headers config.h"
1983 for ac_dir in scripts "$srcdir"/scripts; do
1984 if test -f "$ac_dir/install-sh"; then
1986 ac_install_sh="$ac_aux_dir/install-sh -c"
1988 elif test -f "$ac_dir/install.sh"; then
1990 ac_install_sh="$ac_aux_dir/install.sh -c"
1992 elif test -f "$ac_dir/shtool"; then
1994 ac_install_sh="$ac_aux_dir/shtool install -c"
1998 if test -z "$ac_aux_dir"; then
1999 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2000 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2001 { (exit 1); exit 1; }; }
2004 # These three variables are undocumented and unsupported,
2005 # and are intended to be withdrawn in a future Autoconf release.
2006 # They can cause serious problems if a builder's source tree is in a directory
2007 # whose full name contains unusual characters.
2008 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2009 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2010 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2014 # Make sure we can run config.sub.
2015 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2016 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2017 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2018 { (exit 1); exit 1; }; }
2020 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2021 $as_echo_n "checking build system type... " >&6; }
2022 if test "${ac_cv_build+set}" = set; then
2023 $as_echo_n "(cached) " >&6
2025 ac_build_alias=$build_alias
2026 test "x$ac_build_alias" = x &&
2027 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2028 test "x$ac_build_alias" = x &&
2029 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2030 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2031 { (exit 1); exit 1; }; }
2032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2033 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2034 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2035 { (exit 1); exit 1; }; }
2038 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2039 $as_echo "$ac_cv_build" >&6; }
2040 case $ac_cv_build in
2042 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2043 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2044 { (exit 1); exit 1; }; };;
2047 ac_save_IFS=$IFS; IFS='-'
2053 # Remember, the first character of IFS is used to create $*,
2054 # except with old shells:
2057 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2060 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2061 $as_echo_n "checking host system type... " >&6; }
2062 if test "${ac_cv_host+set}" = set; then
2063 $as_echo_n "(cached) " >&6
2065 if test "x$host_alias" = x; then
2066 ac_cv_host=$ac_cv_build
2068 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2069 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2070 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2071 { (exit 1); exit 1; }; }
2075 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2076 $as_echo "$ac_cv_host" >&6; }
2079 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2080 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2081 { (exit 1); exit 1; }; };;
2084 ac_save_IFS=$IFS; IFS='-'
2090 # Remember, the first character of IFS is used to create $*,
2091 # except with old shells:
2094 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2099 ac_cpp='$CPP $CPPFLAGS'
2100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2103 if test -n "$ac_tool_prefix"; then
2104 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2105 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2106 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 $as_echo_n "checking for $ac_word... " >&6; }
2108 if test "${ac_cv_prog_CC+set}" = set; then
2109 $as_echo_n "(cached) " >&6
2111 if test -n "$CC"; then
2112 ac_cv_prog_CC="$CC" # Let the user override the test.
2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir=.
2119 for ac_exec_ext in '' $ac_executable_extensions; do
2120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2122 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 if test -n "$CC"; then
2133 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2134 $as_echo "$CC" >&6; }
2136 { $as_echo "$as_me:$LINENO: result: no" >&5
2137 $as_echo "no" >&6; }
2142 if test -z "$ac_cv_prog_CC"; then
2144 # Extract the first word of "gcc", so it can be a program name with args.
2145 set dummy gcc; ac_word=$2
2146 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 $as_echo_n "checking for $ac_word... " >&6; }
2148 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2149 $as_echo_n "(cached) " >&6
2151 if test -n "$ac_ct_CC"; then
2152 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161 ac_cv_prog_ac_ct_CC="gcc"
2162 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2172 if test -n "$ac_ct_CC"; then
2173 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2174 $as_echo "$ac_ct_CC" >&6; }
2176 { $as_echo "$as_me:$LINENO: result: no" >&5
2177 $as_echo "no" >&6; }
2180 if test "x$ac_ct_CC" = x; then
2183 case $cross_compiling:$ac_tool_warned in
2185 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2187 ac_tool_warned=yes ;;
2195 if test -z "$CC"; then
2196 if test -n "$ac_tool_prefix"; then
2197 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2198 set dummy ${ac_tool_prefix}cc; ac_word=$2
2199 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2200 $as_echo_n "checking for $ac_word... " >&6; }
2201 if test "${ac_cv_prog_CC+set}" = set; then
2202 $as_echo_n "(cached) " >&6
2204 if test -n "$CC"; then
2205 ac_cv_prog_CC="$CC" # Let the user override the test.
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir=.
2212 for ac_exec_ext in '' $ac_executable_extensions; do
2213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2214 ac_cv_prog_CC="${ac_tool_prefix}cc"
2215 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 if test -n "$CC"; then
2226 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2227 $as_echo "$CC" >&6; }
2229 { $as_echo "$as_me:$LINENO: result: no" >&5
2230 $as_echo "no" >&6; }
2236 if test -z "$CC"; then
2237 # Extract the first word of "cc", so it can be a program name with args.
2238 set dummy cc; ac_word=$2
2239 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2240 $as_echo_n "checking for $ac_word... " >&6; }
2241 if test "${ac_cv_prog_CC+set}" = set; then
2242 $as_echo_n "(cached) " >&6
2244 if test -n "$CC"; then
2245 ac_cv_prog_CC="$CC" # Let the user override the test.
2248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 test -z "$as_dir" && as_dir=.
2253 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2255 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2256 ac_prog_rejected=yes
2260 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 if test $ac_prog_rejected = yes; then
2268 # We found a bogon in the path, so make sure we never use it.
2269 set dummy $ac_cv_prog_CC
2271 if test $# != 0; then
2272 # We chose a different compiler from the bogus one.
2273 # However, it has the same basename, so the bogon will be chosen
2274 # first if we set CC to just the basename; use the full file name.
2276 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2282 if test -n "$CC"; then
2283 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2284 $as_echo "$CC" >&6; }
2286 { $as_echo "$as_me:$LINENO: result: no" >&5
2287 $as_echo "no" >&6; }
2292 if test -z "$CC"; then
2293 if test -n "$ac_tool_prefix"; then
2294 for ac_prog in cl.exe
2296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2297 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2298 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2299 $as_echo_n "checking for $ac_word... " >&6; }
2300 if test "${ac_cv_prog_CC+set}" = set; then
2301 $as_echo_n "(cached) " >&6
2303 if test -n "$CC"; then
2304 ac_cv_prog_CC="$CC" # Let the user override the test.
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2314 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 if test -n "$CC"; then
2325 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2326 $as_echo "$CC" >&6; }
2328 { $as_echo "$as_me:$LINENO: result: no" >&5
2329 $as_echo "no" >&6; }
2333 test -n "$CC" && break
2336 if test -z "$CC"; then
2338 for ac_prog in cl.exe
2340 # Extract the first word of "$ac_prog", so it can be a program name with args.
2341 set dummy $ac_prog; ac_word=$2
2342 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2343 $as_echo_n "checking for $ac_word... " >&6; }
2344 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2345 $as_echo_n "(cached) " >&6
2347 if test -n "$ac_ct_CC"; then
2348 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 test -z "$as_dir" && as_dir=.
2355 for ac_exec_ext in '' $ac_executable_extensions; do
2356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2357 ac_cv_prog_ac_ct_CC="$ac_prog"
2358 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2367 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2368 if test -n "$ac_ct_CC"; then
2369 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2370 $as_echo "$ac_ct_CC" >&6; }
2372 { $as_echo "$as_me:$LINENO: result: no" >&5
2373 $as_echo "no" >&6; }
2377 test -n "$ac_ct_CC" && break
2380 if test "x$ac_ct_CC" = x; then
2383 case $cross_compiling:$ac_tool_warned in
2385 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2387 ac_tool_warned=yes ;;
2396 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2399 See \`config.log' for more details." >&5
2400 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2401 See \`config.log' for more details." >&2;}
2402 { (exit 1); exit 1; }; }; }
2404 # Provide some information about the compiler.
2405 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2408 { (ac_try="$ac_compiler --version >&5"
2410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2411 *) ac_try_echo=$ac_try;;
2413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2414 $as_echo "$ac_try_echo") >&5
2415 (eval "$ac_compiler --version >&5") 2>&5
2417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }
2419 { (ac_try="$ac_compiler -v >&5"
2421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2422 *) ac_try_echo=$ac_try;;
2424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2425 $as_echo "$ac_try_echo") >&5
2426 (eval "$ac_compiler -v >&5") 2>&5
2428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }
2430 { (ac_try="$ac_compiler -V >&5"
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2436 $as_echo "$ac_try_echo") >&5
2437 (eval "$ac_compiler -V >&5") 2>&5
2439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }
2443 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2444 $as_echo_n "checking for suffix of object files... " >&6; }
2445 if test "${ac_cv_objext+set}" = set; then
2446 $as_echo_n "(cached) " >&6
2448 cat >conftest.$ac_ext <<_ACEOF
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2463 rm -f conftest.o conftest.obj
2464 if { (ac_try="$ac_compile"
2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2470 $as_echo "$ac_try_echo") >&5
2471 (eval "$ac_compile") 2>&5
2473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; then
2475 for ac_file in conftest.o conftest.obj conftest.*; do
2476 test -f "$ac_file" || continue;
2478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2479 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2484 $as_echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2487 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2489 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2490 See \`config.log' for more details." >&5
2491 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2492 See \`config.log' for more details." >&2;}
2493 { (exit 1); exit 1; }; }; }
2496 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2498 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2499 $as_echo "$ac_cv_objext" >&6; }
2500 OBJEXT=$ac_cv_objext
2502 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2503 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2504 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2505 $as_echo_n "(cached) " >&6
2507 cat >conftest.$ac_ext <<_ACEOF
2510 cat confdefs.h >>conftest.$ac_ext
2511 cat >>conftest.$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2525 rm -f conftest.$ac_objext
2526 if { (ac_try="$ac_compile"
2528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2529 *) ac_try_echo=$ac_try;;
2531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2532 $as_echo "$ac_try_echo") >&5
2533 (eval "$ac_compile") 2>conftest.er1
2535 grep -v '^ *+' conftest.er1 >conftest.err
2537 cat conftest.err >&5
2538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); } && {
2540 test -z "$ac_c_werror_flag" ||
2541 test ! -s conftest.err
2542 } && test -s conftest.$ac_objext; then
2545 $as_echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2552 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2555 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2556 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2557 if test $ac_compiler_gnu = yes; then
2562 ac_test_CFLAGS=${CFLAGS+set}
2563 ac_save_CFLAGS=$CFLAGS
2564 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2565 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2566 if test "${ac_cv_prog_cc_g+set}" = set; then
2567 $as_echo_n "(cached) " >&6
2569 ac_save_c_werror_flag=$ac_c_werror_flag
2570 ac_c_werror_flag=yes
2573 cat >conftest.$ac_ext <<_ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2588 rm -f conftest.$ac_objext
2589 if { (ac_try="$ac_compile"
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2595 $as_echo "$ac_try_echo") >&5
2596 (eval "$ac_compile") 2>conftest.er1
2598 grep -v '^ *+' conftest.er1 >conftest.err
2600 cat conftest.err >&5
2601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } && {
2603 test -z "$ac_c_werror_flag" ||
2604 test ! -s conftest.err
2605 } && test -s conftest.$ac_objext; then
2608 $as_echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2612 cat >conftest.$ac_ext <<_ACEOF
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2627 rm -f conftest.$ac_objext
2628 if { (ac_try="$ac_compile"
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2634 $as_echo "$ac_try_echo") >&5
2635 (eval "$ac_compile") 2>conftest.er1
2637 grep -v '^ *+' conftest.er1 >conftest.err
2639 cat conftest.err >&5
2640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); } && {
2642 test -z "$ac_c_werror_flag" ||
2643 test ! -s conftest.err
2644 } && test -s conftest.$ac_objext; then
2647 $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2650 ac_c_werror_flag=$ac_save_c_werror_flag
2652 cat >conftest.$ac_ext <<_ACEOF
2655 cat confdefs.h >>conftest.$ac_ext
2656 cat >>conftest.$ac_ext <<_ACEOF
2657 /* end confdefs.h. */
2667 rm -f conftest.$ac_objext
2668 if { (ac_try="$ac_compile"
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2674 $as_echo "$ac_try_echo") >&5
2675 (eval "$ac_compile") 2>conftest.er1
2677 grep -v '^ *+' conftest.er1 >conftest.err
2679 cat conftest.err >&5
2680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); } && {
2682 test -z "$ac_c_werror_flag" ||
2683 test ! -s conftest.err
2684 } && test -s conftest.$ac_objext; then
2687 $as_echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.$ac_ext >&5
2693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 ac_c_werror_flag=$ac_save_c_werror_flag
2702 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2703 $as_echo "$ac_cv_prog_cc_g" >&6; }
2704 if test "$ac_test_CFLAGS" = set; then
2705 CFLAGS=$ac_save_CFLAGS
2706 elif test $ac_cv_prog_cc_g = yes; then
2707 if test "$GCC" = yes; then
2713 if test "$GCC" = yes; then
2719 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2720 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2721 if test "${ac_cv_prog_cc_c89+set}" = set; then
2722 $as_echo_n "(cached) " >&6
2724 ac_cv_prog_cc_c89=no
2726 cat >conftest.$ac_ext <<_ACEOF
2729 cat confdefs.h >>conftest.$ac_ext
2730 cat >>conftest.$ac_ext <<_ACEOF
2731 /* end confdefs.h. */
2734 #include <sys/types.h>
2735 #include <sys/stat.h>
2736 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2737 struct buf { int x; };
2738 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2739 static char *e (p, i)
2745 static char *f (char * (*g) (char **, int), char **p, ...)
2750 s = g (p, va_arg (v,int));
2755 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2756 function prototypes and stuff, but not '\xHH' hex character constants.
2757 These don't provoke an error unfortunately, instead are silently treated
2758 as 'x'. The following induces an error, until -std is added to get
2759 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2760 array size at least. It's necessary to write '\x00'==0 to get something
2761 that's true only with -std. */
2762 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2764 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2765 inside strings and character constants. */
2767 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2769 int test (int i, double x);
2770 struct s1 {int (*f) (int a);};
2771 struct s2 {int (*f) (double a);};
2772 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2778 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2783 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2784 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2786 CC="$ac_save_CC $ac_arg"
2787 rm -f conftest.$ac_objext
2788 if { (ac_try="$ac_compile"
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2794 $as_echo "$ac_try_echo") >&5
2795 (eval "$ac_compile") 2>conftest.er1
2797 grep -v '^ *+' conftest.er1 >conftest.err
2799 cat conftest.err >&5
2800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest.$ac_objext; then
2805 ac_cv_prog_cc_c89=$ac_arg
2807 $as_echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2813 rm -f core conftest.err conftest.$ac_objext
2814 test "x$ac_cv_prog_cc_c89" != "xno" && break
2816 rm -f conftest.$ac_ext
2821 case "x$ac_cv_prog_cc_c89" in
2823 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2824 $as_echo "none needed" >&6; } ;;
2826 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2827 $as_echo "unsupported" >&6; } ;;
2829 CC="$CC $ac_cv_prog_cc_c89"
2830 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2831 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2836 ac_cpp='$CPP $CPPFLAGS'
2837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2841 if test $host != $build; then
2842 for ac_prog in gcc cc
2844 # Extract the first word of "$ac_prog", so it can be a program name with args.
2845 set dummy $ac_prog; ac_word=$2
2846 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2847 $as_echo_n "checking for $ac_word... " >&6; }
2848 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2849 $as_echo_n "(cached) " >&6
2851 if test -n "$BUILD_CC"; then
2852 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir=.
2859 for ac_exec_ext in '' $ac_executable_extensions; do
2860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2861 ac_cv_prog_BUILD_CC="$ac_prog"
2862 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 BUILD_CC=$ac_cv_prog_BUILD_CC
2872 if test -n "$BUILD_CC"; then
2873 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2874 $as_echo "$BUILD_CC" >&6; }
2876 { $as_echo "$as_me:$LINENO: result: no" >&5
2877 $as_echo "no" >&6; }
2881 test -n "$BUILD_CC" && break
2887 ac_cpp='$CPP $CPPFLAGS'
2888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2891 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2892 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2893 # On Suns, sometimes $CPP names a directory.
2894 if test -n "$CPP" && test -d "$CPP"; then
2897 if test -z "$CPP"; then
2898 if test "${ac_cv_prog_CPP+set}" = set; then
2899 $as_echo_n "(cached) " >&6
2901 # Double quotes because CPP needs to be expanded
2902 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2905 for ac_c_preproc_warn_flag in '' yes
2907 # Use a header file that comes with gcc, so configuring glibc
2908 # with a fresh cross-compiler works.
2909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2910 # <limits.h> exists even on freestanding compilers.
2911 # On the NeXT, cc -E runs the code through the compiler's parser,
2912 # not just through cpp. "Syntax error" is here to catch this case.
2913 cat >conftest.$ac_ext <<_ACEOF
2916 cat confdefs.h >>conftest.$ac_ext
2917 cat >>conftest.$ac_ext <<_ACEOF
2918 /* end confdefs.h. */
2920 # include <limits.h>
2922 # include <assert.h>
2926 if { (ac_try="$ac_cpp conftest.$ac_ext"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2932 $as_echo "$ac_try_echo") >&5
2933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2935 grep -v '^ *+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } >/dev/null && {
2940 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2945 $as_echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2948 # Broken: fails on valid input.
2952 rm -f conftest.err conftest.$ac_ext
2954 # OK, works on sane cases. Now check whether nonexistent headers
2955 # can be detected and how.
2956 cat >conftest.$ac_ext <<_ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2962 #include <ac_nonexistent.h>
2964 if { (ac_try="$ac_cpp conftest.$ac_ext"
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2970 $as_echo "$ac_try_echo") >&5
2971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2973 grep -v '^ *+' conftest.er1 >conftest.err
2975 cat conftest.err >&5
2976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); } >/dev/null && {
2978 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2979 test ! -s conftest.err
2981 # Broken: success on invalid input.
2984 $as_echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2987 # Passes both tests.
2992 rm -f conftest.err conftest.$ac_ext
2995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2996 rm -f conftest.err conftest.$ac_ext
2997 if $ac_preproc_ok; then
3009 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3010 $as_echo "$CPP" >&6; }
3012 for ac_c_preproc_warn_flag in '' yes
3014 # Use a header file that comes with gcc, so configuring glibc
3015 # with a fresh cross-compiler works.
3016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3017 # <limits.h> exists even on freestanding compilers.
3018 # On the NeXT, cc -E runs the code through the compiler's parser,
3019 # not just through cpp. "Syntax error" is here to catch this case.
3020 cat >conftest.$ac_ext <<_ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3027 # include <limits.h>
3029 # include <assert.h>
3033 if { (ac_try="$ac_cpp conftest.$ac_ext"
3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036 *) ac_try_echo=$ac_try;;
3038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3039 $as_echo "$ac_try_echo") >&5
3040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3042 grep -v '^ *+' conftest.er1 >conftest.err
3044 cat conftest.err >&5
3045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } >/dev/null && {
3047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3052 $as_echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3055 # Broken: fails on valid input.
3059 rm -f conftest.err conftest.$ac_ext
3061 # OK, works on sane cases. Now check whether nonexistent headers
3062 # can be detected and how.
3063 cat >conftest.$ac_ext <<_ACEOF
3066 cat confdefs.h >>conftest.$ac_ext
3067 cat >>conftest.$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3069 #include <ac_nonexistent.h>
3071 if { (ac_try="$ac_cpp conftest.$ac_ext"
3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3077 $as_echo "$ac_try_echo") >&5
3078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3080 grep -v '^ *+' conftest.er1 >conftest.err
3082 cat conftest.err >&5
3083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); } >/dev/null && {
3085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3086 test ! -s conftest.err
3088 # Broken: success on invalid input.
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3094 # Passes both tests.
3099 rm -f conftest.err conftest.$ac_ext
3102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3103 rm -f conftest.err conftest.$ac_ext
3104 if $ac_preproc_ok; then
3107 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3109 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3110 See \`config.log' for more details." >&5
3111 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3112 See \`config.log' for more details." >&2;}
3113 { (exit 1); exit 1; }; }; }
3117 ac_cpp='$CPP $CPPFLAGS'
3118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3122 # We need the C++ compiler only for testing.
3124 ac_cpp='$CXXCPP $CPPFLAGS'
3125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3128 if test -z "$CXX"; then
3129 if test -n "$CCC"; then
3132 if test -n "$ac_tool_prefix"; then
3133 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3136 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3137 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3138 $as_echo_n "checking for $ac_word... " >&6; }
3139 if test "${ac_cv_prog_CXX+set}" = set; then
3140 $as_echo_n "(cached) " >&6
3142 if test -n "$CXX"; then
3143 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 test -z "$as_dir" && as_dir=.
3150 for ac_exec_ext in '' $ac_executable_extensions; do
3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3153 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3163 if test -n "$CXX"; then
3164 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3165 $as_echo "$CXX" >&6; }
3167 { $as_echo "$as_me:$LINENO: result: no" >&5
3168 $as_echo "no" >&6; }
3172 test -n "$CXX" && break
3175 if test -z "$CXX"; then
3177 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3179 # Extract the first word of "$ac_prog", so it can be a program name with args.
3180 set dummy $ac_prog; ac_word=$2
3181 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3182 $as_echo_n "checking for $ac_word... " >&6; }
3183 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3184 $as_echo_n "(cached) " >&6
3186 if test -n "$ac_ct_CXX"; then
3187 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193 test -z "$as_dir" && as_dir=.
3194 for ac_exec_ext in '' $ac_executable_extensions; do
3195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3196 ac_cv_prog_ac_ct_CXX="$ac_prog"
3197 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3207 if test -n "$ac_ct_CXX"; then
3208 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3209 $as_echo "$ac_ct_CXX" >&6; }
3211 { $as_echo "$as_me:$LINENO: result: no" >&5
3212 $as_echo "no" >&6; }
3216 test -n "$ac_ct_CXX" && break
3219 if test "x$ac_ct_CXX" = x; then
3222 case $cross_compiling:$ac_tool_warned in
3224 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3226 ac_tool_warned=yes ;;
3234 # Provide some information about the compiler.
3235 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3238 { (ac_try="$ac_compiler --version >&5"
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3244 $as_echo "$ac_try_echo") >&5
3245 (eval "$ac_compiler --version >&5") 2>&5
3247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }
3249 { (ac_try="$ac_compiler -v >&5"
3251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252 *) ac_try_echo=$ac_try;;
3254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3255 $as_echo "$ac_try_echo") >&5
3256 (eval "$ac_compiler -v >&5") 2>&5
3258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); }
3260 { (ac_try="$ac_compiler -V >&5"
3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3266 $as_echo "$ac_try_echo") >&5
3267 (eval "$ac_compiler -V >&5") 2>&5
3269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }
3272 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3273 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3274 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3275 $as_echo_n "(cached) " >&6
3277 cat >conftest.$ac_ext <<_ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3295 rm -f conftest.$ac_objext
3296 if { (ac_try="$ac_compile"
3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3302 $as_echo "$ac_try_echo") >&5
3303 (eval "$ac_compile") 2>conftest.er1
3305 grep -v '^ *+' conftest.er1 >conftest.err
3307 cat conftest.err >&5
3308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); } && {
3310 test -z "$ac_cxx_werror_flag" ||
3311 test ! -s conftest.err
3312 } && test -s conftest.$ac_objext; then
3315 $as_echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.$ac_ext >&5
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3325 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3326 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3327 if test $ac_compiler_gnu = yes; then
3332 ac_test_CXXFLAGS=${CXXFLAGS+set}
3333 ac_save_CXXFLAGS=$CXXFLAGS
3334 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3335 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3336 if test "${ac_cv_prog_cxx_g+set}" = set; then
3337 $as_echo_n "(cached) " >&6
3339 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3340 ac_cxx_werror_flag=yes
3343 cat >conftest.$ac_ext <<_ACEOF
3346 cat confdefs.h >>conftest.$ac_ext
3347 cat >>conftest.$ac_ext <<_ACEOF
3348 /* end confdefs.h. */
3358 rm -f conftest.$ac_objext
3359 if { (ac_try="$ac_compile"
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3365 $as_echo "$ac_try_echo") >&5
3366 (eval "$ac_compile") 2>conftest.er1
3368 grep -v '^ *+' conftest.er1 >conftest.err
3370 cat conftest.err >&5
3371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } && {
3373 test -z "$ac_cxx_werror_flag" ||
3374 test ! -s conftest.err
3375 } && test -s conftest.$ac_objext; then
3376 ac_cv_prog_cxx_g=yes
3378 $as_echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3382 cat >conftest.$ac_ext <<_ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3397 rm -f conftest.$ac_objext
3398 if { (ac_try="$ac_compile"
3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3404 $as_echo "$ac_try_echo") >&5
3405 (eval "$ac_compile") 2>conftest.er1
3407 grep -v '^ *+' conftest.er1 >conftest.err
3409 cat conftest.err >&5
3410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } && {
3412 test -z "$ac_cxx_werror_flag" ||
3413 test ! -s conftest.err
3414 } && test -s conftest.$ac_objext; then
3417 $as_echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3420 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3422 cat >conftest.$ac_ext <<_ACEOF
3425 cat confdefs.h >>conftest.$ac_ext
3426 cat >>conftest.$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3437 rm -f conftest.$ac_objext
3438 if { (ac_try="$ac_compile"
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3444 $as_echo "$ac_try_echo") >&5
3445 (eval "$ac_compile") 2>conftest.er1
3447 grep -v '^ *+' conftest.er1 >conftest.err
3449 cat conftest.err >&5
3450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } && {
3452 test -z "$ac_cxx_werror_flag" ||
3453 test ! -s conftest.err
3454 } && test -s conftest.$ac_objext; then
3455 ac_cv_prog_cxx_g=yes
3457 $as_echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3472 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3473 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3474 if test "$ac_test_CXXFLAGS" = set; then
3475 CXXFLAGS=$ac_save_CXXFLAGS
3476 elif test $ac_cv_prog_cxx_g = yes; then
3477 if test "$GXX" = yes; then
3483 if test "$GXX" = yes; then
3490 ac_cpp='$CPP $CPPFLAGS'
3491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3496 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
3497 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3498 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
3499 { (exit 1); exit 1; }; }
3502 # This will get text that should go into config.make.
3505 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3507 # Check whether --with-gd was given.
3508 if test "${with_gd+set}" = set; then
3509 withval=$with_gd; case "$with_gd" in
3511 *) libgd_include="-I$withval/include"
3512 libgd_ldflags="-L$withval/lib" ;;
3518 # Check whether --with-gd-include was given.
3519 if test "${with_gd_include+set}" = set; then
3520 withval=$with_gd_include; case "$with_gd_include" in
3522 *) libgd_include="-I$withval" ;;
3528 # Check whether --with-gd-lib was given.
3529 if test "${with_gd_lib+set}" = set; then
3530 withval=$with_gd_lib; case "$with_gd_lib" in
3532 *) libgd_ldflags="-L$withval" ;;
3538 if test -n "$libgd_include"; then
3539 config_vars="$config_vars
3540 CFLAGS-memusagestat.c = $libgd_include"
3542 if test -n "$libgd_ldflags"; then
3543 config_vars="$config_vars
3544 libgd-LDFLAGS = $libgd_ldflags"
3548 # Check whether --with-fp was given.
3549 if test "${with_fp+set}" = set; then
3550 withval=$with_fp; with_fp=$withval
3557 # Check whether --with-binutils was given.
3558 if test "${with_binutils+set}" = set; then
3559 withval=$with_binutils; path_binutils=$withval
3565 # Check whether --with-elf was given.
3566 if test "${with_elf+set}" = set; then
3567 withval=$with_elf; elf=$withval
3573 # Check whether --with-selinux was given.
3574 if test "${with_selinux+set}" = set; then
3575 withval=$with_selinux; with_selinux=$withval
3581 # Check whether --with-xcoff was given.
3582 if test "${with_xcoff+set}" = set; then
3583 withval=$with_xcoff; xcoff=$withval
3589 # Check whether --with-cvs was given.
3590 if test "${with_cvs+set}" = set; then
3591 withval=$with_cvs; with_cvs=$withval
3596 if test "$with_cvs" = yes; then
3597 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3605 # Check whether --with-headers was given.
3606 if test "${with_headers+set}" = set; then
3607 withval=$with_headers; sysheaders=$withval
3613 # Check whether --enable-sanity-checks was given.
3614 if test "${enable_sanity_checks+set}" = set; then
3615 enableval=$enable_sanity_checks; enable_sanity=$enableval
3622 # Check whether --enable-check-abi was given.
3623 if test "${enable_check_abi+set}" = set; then
3624 enableval=$enable_check_abi; enable_check_abi=$enableval
3631 # Check whether --enable-shared was given.
3632 if test "${enable_shared+set}" = set; then
3633 enableval=$enable_shared; shared=$enableval
3638 # Check whether --enable-profile was given.
3639 if test "${enable_profile+set}" = set; then
3640 enableval=$enable_profile; profile=$enableval
3645 # Check whether --enable-omitfp was given.
3646 if test "${enable_omitfp+set}" = set; then
3647 enableval=$enable_omitfp; omitfp=$enableval
3652 # Check whether --enable-bounded was given.
3653 if test "${enable_bounded+set}" = set; then
3654 enableval=$enable_bounded; bounded=$enableval
3659 # Check whether --enable-versioning was given.
3660 if test "${enable_versioning+set}" = set; then
3661 enableval=$enable_versioning; enable_versioning=$enableval
3663 enable_versioning=yes
3667 # Check whether --enable-oldest-abi was given.
3668 if test "${enable_oldest_abi+set}" = set; then
3669 enableval=$enable_oldest_abi; oldest_abi=$enableval
3674 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3677 cat >>confdefs.h <<_ACEOF
3678 #define GLIBC_OLDEST_ABI "$oldest_abi"
3684 # Check whether --enable-stackguard-randomization was given.
3685 if test "${enable_stackguard_randomization+set}" = set; then
3686 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3688 enable_stackguard_randomize=no
3691 if test "$enable_stackguard_randomize" = yes; then
3692 cat >>confdefs.h <<\_ACEOF
3693 #define ENABLE_STACKGUARD_RANDOMIZE 1
3698 # Check whether --enable-add-ons was given.
3699 if test "${enable_add_ons+set}" = set; then
3700 enableval=$enable_add_ons;
3707 # Check whether --with-tls was given.
3708 if test "${with_tls+set}" = set; then
3709 withval=$with_tls; usetls=$withval
3716 # Check whether --with-__thread was given.
3717 if test "${with___thread+set}" = set; then
3718 withval=$with___thread; use__thread=$withval
3724 # Check whether --enable-hidden-plt was given.
3725 if test "${enable_hidden_plt+set}" = set; then
3726 enableval=$enable_hidden_plt; hidden=$enableval
3731 if test "x$hidden" = xno; then
3732 cat >>confdefs.h <<\_ACEOF
3738 # Check whether --enable-bind-now was given.
3739 if test "${enable_bind_now+set}" = set; then
3740 enableval=$enable_bind_now; bindnow=$enableval
3747 # Check whether --enable-static-nss was given.
3748 if test "${enable_static_nss+set}" = set; then
3749 enableval=$enable_static_nss; static_nss=$enableval
3754 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3756 cat >>confdefs.h <<\_ACEOF
3757 #define DO_STATIC_NSS 1
3762 # Check whether --enable-force-install was given.
3763 if test "${enable_force_install+set}" = set; then
3764 enableval=$enable_force_install; force_install=$enableval
3771 # Check whether --enable-kernel was given.
3772 if test "${enable_kernel+set}" = set; then
3773 enableval=$enable_kernel; minimum_kernel=$enableval
3776 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3777 # Better nothing than this.
3780 if test "$minimum_kernel" = current; then
3781 minimum_kernel=`uname -r 2>/dev/null` || minimum_kernel=
3785 # Check whether --enable-all-warnings was given.
3786 if test "${enable_all_warnings+set}" = set; then
3787 enableval=$enable_all_warnings; all_warnings=$enableval
3792 # Check whether --enable-multi-arch was given.
3793 if test "${enable_multi_arch+set}" = set; then
3794 enableval=$enable_multi_arch; multi_arch=$enableval
3799 if test x"$multi_arch" = xyes; then
3800 cat >>confdefs.h <<\_ACEOF
3801 #define USE_MULTIARCH 1
3804 multi_arch_d=/multiarch
3808 # Check whether --enable-experimental-malloc was given.
3809 if test "${enable_experimental_malloc+set}" = set; then
3810 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3815 # Check whether --enable-nss-crypt was given.
3816 if test "${enable_nss_crypt+set}" = set; then
3817 enableval=$enable_nss_crypt; nss_crypt=$enableval
3822 if test x$nss_crypt = xyes; then
3823 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3824 if test $? -ne 0; then
3825 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3826 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3827 { (exit 1); exit 1; }; }
3829 old_CFLAGS="$CFLAGS"
3830 CFLAGS="$CFLAGS $nss_includes"
3832 cat >conftest.$ac_ext <<_ACEOF
3835 #include <nsslowhash.h>
3836 void f (void) { NSSLOW_Init (); }
3838 rm -f conftest.$ac_objext
3839 if { (ac_try="$ac_compile"
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3845 $as_echo "$ac_try_echo") >&5
3846 (eval "$ac_compile") 2>conftest.er1
3848 grep -v '^ *+' conftest.er1 >conftest.err
3850 cat conftest.err >&5
3851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } && {
3853 test -z "$ac_c_werror_flag" ||
3854 test ! -s conftest.err
3855 } && test -s conftest.$ac_objext; then
3856 libc_cv_nss_crypt=yes
3858 $as_echo "$as_me: failed program was:" >&5
3859 sed 's/^/| /' conftest.$ac_ext >&5
3861 { { $as_echo "$as_me:$LINENO: error:
3862 cannot find NSS headers with lowlevel hash function interfaces" >&5
3863 $as_echo "$as_me: error:
3864 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3865 { (exit 1); exit 1; }; }
3868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 LIBS="$LIBS -lfreebl3"
3871 cat >conftest.$ac_ext <<_ACEOF
3874 cat confdefs.h >>conftest.$ac_ext
3875 cat >>conftest.$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3879 #include <nsslowhash.h>
3888 rm -f conftest.$ac_objext conftest$ac_exeext
3889 if { (ac_try="$ac_link"
3891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892 *) ac_try_echo=$ac_try;;
3894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3895 $as_echo "$ac_try_echo") >&5
3896 (eval "$ac_link") 2>conftest.er1
3898 grep -v '^ *+' conftest.er1 >conftest.err
3900 cat conftest.err >&5
3901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); } && {
3903 test -z "$ac_c_werror_flag" ||
3904 test ! -s conftest.err
3905 } && test -s conftest$ac_exeext && {
3906 test "$cross_compiling" = yes ||
3907 $as_test_x conftest$ac_exeext
3909 libc_cv_nss_crypt=yes
3911 $as_echo "$as_me: failed program was:" >&5
3912 sed 's/^/| /' conftest.$ac_ext >&5
3914 { { $as_echo "$as_me:$LINENO: error:
3915 cannot link program using lowlevel NSS hash functions" >&5
3916 $as_echo "$as_me: error:
3917 cannot link program using lowlevel NSS hash functions" >&2;}
3918 { (exit 1); exit 1; }; }
3921 rm -rf conftest.dSYM
3922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3923 conftest$ac_exeext conftest.$ac_ext
3924 CFLAGS="$old_CFLAGS"
3927 libc_cv_nss_crypt=no
3931 # The way shlib-versions is used to generate soversions.mk uses a
3932 # fairly simplistic model for name recognition that can't distinguish
3933 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3934 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
3935 # tell. This doesn't get used much beyond that, so it's fairly safe.
3940 host_os=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3944 # We keep the original values in `$config_*' and never modify them, so we
3945 # can write them unchanged into config.make. Everything else uses
3946 # $machine, $vendor, and $os, and changes them whenever convenient.
3947 config_machine=$host_cpu config_vendor=$host_vendor config_os=$host_os
3949 # Don't allow vendor == "unknown"
3950 test "$config_vendor" = unknown && config_vendor=
3951 config_os="`echo $config_os | sed 's/^unknown-//'`"
3953 # Some configurations imply other options.
3955 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3956 linux*ecoff* | linux*aout* | gnu*aout* | gnu*ecoff*)
3958 gnu* | linux* | freebsd* | netbsd* | sysv4* | solaris2* | irix6*)
3959 # These systems (almost) always use the ELF format.
3963 # These systems are always xcoff
3969 # The configure fragment of an add-on port can modify these to supplement
3970 # or override the table in the case statement below. No fragment should
3971 # ever change the config_* variables, however.
3972 machine=$config_machine
3973 vendor=$config_vendor
3977 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3979 if test "$machine" = rs6000; then
3983 # Braindead PowerPC box with absolutely no FPU.
3984 case "$machine-$host_os" in
3992 # Check whether --with-cpu was given.
3993 if test "${with_cpu+set}" = set; then
3994 withval=$with_cpu; case "$withval" in
3995 yes|'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
3996 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
3997 { (exit 1); exit 1; }; } ;;
3999 *) submachine="$withval" ;;
4005 # An add-on can set this when it wants to disable the sanity check below.
4013 case "$enable_add_ons" in
4016 add_ons=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
4017 sed 's@/[^/]*$@@' | sort | uniq`
4018 add_ons_automatic=yes
4020 *) add_ons=`echo "$enable_add_ons" | sed 's/,/ /g'`
4021 add_ons_automatic=no ;;
4027 if test x"$add_ons" != x; then
4028 for f in $add_ons; do
4029 # Some sanity checks
4032 { { $as_echo "$as_me:$LINENO: error:
4033 *** It seems that you're using an old \`crypt' add-on. crypt is now
4034 *** part of glibc and using the old add-on will not work with this
4035 *** release. Start again with fresh sources and without the old
4036 *** \`crypt' add-on." >&5
4037 $as_echo "$as_me: error:
4038 *** It seems that you're using an old \`crypt' add-on. crypt is now
4039 *** part of glibc and using the old add-on will not work with this
4040 *** release. Start again with fresh sources and without the old
4041 *** \`crypt' add-on." >&2;}
4042 { (exit 1); exit 1; }; }
4045 { { $as_echo "$as_me:$LINENO: error:
4046 *** It seems that you're using an old \`localedata' add-on. localedata
4047 *** is now part of glibc and using the old add-on will not work with
4048 *** this release. Start again with fresh sources and without the old
4049 *** \`localedata' add-on." >&5
4050 $as_echo "$as_me: error:
4051 *** It seems that you're using an old \`localedata' add-on. localedata
4052 *** is now part of glibc and using the old add-on will not work with
4053 *** this release. Start again with fresh sources and without the old
4054 *** \`localedata' add-on." >&2;}
4055 { (exit 1); exit 1; }; }
4060 # Now source each add-on's configure fragment.
4061 # The fragments can use $srcdir/$libc_add_on to find themselves,
4062 # and test $add_ons_automatic to see if they were explicitly requested.
4063 # A fragment can clear (or even change) $libc_add_on to affect
4064 # whether it goes into the list to be actually used in the build.
4066 for libc_add_on in $add_ons; do
4067 # Test whether such a directory really exists.
4068 # It can be absolute, or relative to $srcdir, or relative to the build dir.
4069 case "$libc_add_on" in
4071 libc_add_on_srcdir=$libc_add_on
4074 test -d "$srcdir/$libc_add_on" || {
4075 if test -d "$libc_add_on"; then
4076 libc_add_on="`pwd`/$libc_add_on"
4078 { { $as_echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
4079 $as_echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
4080 { (exit 1); exit 1; }; }
4083 libc_add_on_srcdir=$srcdir/$libc_add_on
4087 libc_add_on_frag=$libc_add_on_srcdir/configure
4088 libc_add_on_canonical=
4089 if test -r "$libc_add_on_frag"; then
4090 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
4091 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
4092 libc_add_on_canonical=unknown
4093 libc_add_on_subdirs=
4094 . "$libc_add_on_frag"
4095 test -z "$libc_add_on" || {
4096 configured_add_ons="$configured_add_ons $libc_add_on"
4097 if test "x$libc_add_on_canonical" = xunknown; then
4098 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
4099 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
4100 { (exit 1); exit 1; }; }
4102 for d in $libc_add_on_subdirs; do
4103 case "$libc_add_on" in
4104 /*) subdir_srcdir="$libc_add_on" ;;
4105 *) subdir_srcdir="\$(..)$libc_add_on" ;;
4109 d="${libc_add_on_canonical:-$libc_add_on}"
4115 subdir_srcdir="$subdir_srcdir/$d"
4118 d=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4119 add_on_subdirs="$add_on_subdirs $d"
4120 test "$subdir_srcdir" = "\$(..)$d" || config_vars="$config_vars
4121 $d-srcdir = $subdir_srcdir"
4125 if test -n "$libc_add_on"; then
4126 if frags=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4128 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
4129 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4130 for frag in $frags; do
4131 name=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4132 echo $ECHO_N "$name $ECHO_C" >&6
4135 { $as_echo "$as_me:$LINENO: result: " >&5
4138 use_add_ons="$use_add_ons $libc_add_on"
4139 add_ons_pfx="$add_ons_pfx $libc_add_on/"
4140 test -z "$libc_add_on_canonical" ||
4141 add_ons_sfx="$add_ons_sfx /$libc_add_on_canonical"
4144 # Use echo to strip excess whitespace.
4145 add_ons="`echo $use_add_ons`"
4152 ### I put this here to prevent those annoying emails from people who cannot
4153 ### read and try to compile glibc on unsupported platforms. --drepper
4155 ### By using the undocumented --enable-hacker-mode option for configure
4156 ### one can skip this test to make the configuration not fail for unsupported
4159 if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
4160 case "$machine-$host_os" in
4161 *-linux* | *-gnu* | arm*-none* | powerpc-aix4.3.*)
4164 echo "*** The GNU C library is currently not available for this platform."
4165 echo "*** So far nobody cared to port it and if there is no volunteer it"
4166 echo "*** might never happen. So, if you have interest to see glibc on"
4167 echo "*** this platform visit"
4168 echo "*** http://www.gnu.org/software/libc/porting.html"
4169 echo "*** and join the group of porters"
4175 # Expand the configuration machine name into a subdirectory by architecture
4176 # type and particular chip. If an add-on configure fragment already set
4177 # base_machine, we don't change it.
4178 test -n "$base_machine" || case "$machine" in
4179 a29k | am29000) base_machine=a29k machine=a29k ;;
4180 c3[012]) base_machine=cx0 machine=cx0/c30 ;;
4181 c4[04]) base_machine=cx0 machine=cx0/c40 ;;
4182 i[34567]86) base_machine=i386 machine=i386/$machine ;;
4183 ia64) base_machine=ia64 machine=ia64 ;;
4184 m88???) base_machine=m88k machine=m88k/$machine ;;
4185 m88k) base_machine=m88k machine=m88k/m88100 ;;
4186 powerpc) base_machine=powerpc machine=powerpc/powerpc32 ;;
4187 powerpc64) base_machine=powerpc machine=powerpc/powerpc64 ;;
4188 s390) base_machine=s390 machine=s390/s390-32 ;;
4189 s390x) base_machine=s390 machine=s390/s390-64 ;;
4190 sh3*) base_machine=sh machine=sh/sh3 ;;
4191 sh4*) base_machine=sh machine=sh/sh4 ;;
4193 base_machine=sparc machine=sparc/sparc32 ;;
4194 sparcv8 | supersparc | hypersparc)
4195 base_machine=sparc machine=sparc/sparc32/sparcv8 ;;
4196 sparcv8plus | sparcv8plusa | sparcv9)
4197 base_machine=sparc machine=sparc/sparc32/sparcv9 ;;
4198 sparcv8plusb | sparcv9b)
4199 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9b ;;
4201 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v ;;
4203 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v2 ;;
4205 base_machine=sparc machine=sparc/sparc64 ;;
4207 base_machine=sparc machine=sparc/sparc64/sparcv9b ;;
4209 base_machine=sparc machine=sparc/sparc64/sparcv9v ;;
4211 base_machine=sparc machine=sparc/sparc64/sparcv9v2 ;;
4212 *) base_machine=$machine ;;
4216 if test "$base_machine" = "i386"; then
4217 cat >>confdefs.h <<\_ACEOF
4218 #define USE_REGPARMS 1
4223 # Compute the list of sysdep directories for this configuration.
4224 # This can take a while to compute.
4225 sysdep_dir=$srcdir/sysdeps
4226 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
4227 $as_echo_n "checking sysdep dirs... " >&6; }
4228 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4229 os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4231 test "x$base_os" != x || case "$os" in
4233 base_os=mach/hurd ;;
4234 netbsd* | 386bsd* | freebsd* | bsdi*)
4235 base_os=unix/bsd/bsd4.4 ;;
4236 osf* | sunos* | ultrix* | newsos* | dynix* | *bsd*)
4238 sysv* | isc* | esix* | sco* | minix* | irix4* | linux*)
4239 base_os=unix/sysv ;;
4241 base_os=unix/sysv/irix6/$os ;;
4243 base_os=unix/sysv/sysv4 ;;
4245 base_os=unix/sysv/hpux/$os ;;
4247 base_os=unix/sysv/aix/aix4.3 ;;
4249 base_os=standalone ;;
4252 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4255 while o=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4259 o=`echo $tail | sed 's/[0-9]*$//'`
4260 if test $o != $tail; then
4263 # For linux-gnu, try linux-gnu, then linux.
4264 o=`echo $tail | sed 's/-.*$//'`
4265 if test $o != $tail; then
4269 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4272 while b=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4278 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4280 tail=$machine${submachine:+/$submachine}
4281 while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4283 # Prepend the machine's FPU directory unless --without-fp.
4284 if test "$with_fp" = yes; then
4285 mach="$mach /$1/fpu"
4287 mach="$mach /$1/nofpu"
4294 # Find what sysdep directories exist.
4297 for b in $base ''; do
4298 for m0 in $mach ''; do
4299 for v in /$vendor ''; do
4300 test "$v" = / && continue
4301 for o in /$ostry ''; do
4302 test "$o" = / && continue
4303 for m in $multi_arch_d $mach ''; do
4304 for d in $add_ons_pfx ''; do
4305 for a in $add_ons_sfx ''; do
4306 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4307 try_srcdir="${srcdir}/"
4311 try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4312 test -n "$enable_debug_configure" &&
4313 echo "$0 DEBUG: try $try" >&2
4314 if test -d "$try_srcdir$try"; then
4315 sysnames="$sysnames $try"
4316 { test -n "$o" || test -n "$b"; } && os_used=t
4317 { test -n "$m" || test -n "$m0"; } && machine_used=t
4319 x*/$submachine) submachine_used=t ;;
4321 if test -n "$d"; then
4322 case "$sysnames_add_ons" in
4324 *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
4337 if test -z "$os_used" && test "$os" != none; then
4338 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4339 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
4340 { (exit 1); exit 1; }; }
4342 if test -z "$machine_used" && test "$machine" != none; then
4343 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4344 $as_echo "$as_me: error: The $machine is not supported." >&2;}
4345 { (exit 1); exit 1; }; }
4347 if test -z "$submachine_used" && test -n "$submachine"; then
4348 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4349 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4350 { (exit 1); exit 1; }; }
4354 # We have now validated the configuration.
4357 # If using ELF, look for an `elf' subdirectory of each machine directory.
4358 # We prepend these rather than inserting them whereever the machine appears
4359 # because things specified by the machine's ELF ABI should override
4360 # OS-specific things, and should always be the same for any OS on the
4361 # machine (otherwise what's the point of an ABI?).
4362 if test "$elf" = yes; then
4364 for d in $add_ons_pfx ''; do
4366 if test -d $srcdir/${d}sysdeps$m/elf; then
4367 elf_dirs="$elf_dirs ${d}sysdeps$m/elf"
4371 sysnames="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4375 # Expand the list of system names into a full list of directories
4376 # from each element's parent name and Implies file (if present).
4379 while test $# -gt 0; do
4383 case " $names " in *" $name "*)
4384 # Already in the list.
4388 # Report each name as we discover it, so there is no long pause in output.
4389 echo $ECHO_N "$name $ECHO_C" >&6
4391 name_base=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4395 *) xsrcdir=$srcdir/ ;;
4397 test -n "$enable_debug_configure" &&
4398 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4400 if test -f $xsrcdir$name/Implies; then
4401 # Collect more names from the `Implies' file (removing comments).
4402 implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4404 for x in $implied_candidate; do
4406 if test -d $xsrcdir$name_base/$x; then
4407 implied="$implied $name_base/$x";
4410 for d in $add_ons_pfx ''; do
4411 try="${d}sysdeps/$x"
4414 *) try_srcdir=$srcdir/ ;;
4416 test -n "$enable_debug_configure" &&
4417 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4418 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4420 implied="$implied $try"
4422 case "$sysnames_add_ons" in
4424 *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
4428 if test $found = no; then
4429 { $as_echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
4430 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4437 # Add NAME to the list of names.
4438 names="$names $name"
4440 # Find the parent of NAME, using the empty string if it has none.
4441 parent="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4443 # Add the names implied by NAME, and NAME's parent (if it has one), to
4444 # the list of names to be processed (the argument list). We prepend the
4445 # implied names to the list and append the parent. We want implied
4446 # directories to come before further directories inferred from the
4447 # configuration components; this ensures that for sysv4, unix/common
4448 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4450 sysnames="`echo $implied $* $parent`"
4451 test -n "$sysnames" && set $sysnames
4454 # Add the default directories.
4455 default_sysnames=sysdeps/generic
4456 if test "$elf" = yes; then
4457 default_sysnames="sysdeps/generic/elf $default_sysnames"
4459 sysnames="$names $default_sysnames"
4461 # The other names were emitted during the scan.
4462 { $as_echo "$as_me:$LINENO: result: $default_sysnames" >&5
4463 $as_echo "$default_sysnames" >&6; }
4465 # Collect the list of add-ons that supply partial sysdeps trees.
4467 for add_on in $add_ons; do
4470 *) xsrcdir="$srcdir/" ;;
4473 test -d "$xsrcdir$add_on/sysdeps" || {
4474 case "$configured_add_ons " in
4477 { { $as_echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
4478 $as_echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
4479 { (exit 1); exit 1; }; }
4485 sysdeps_add_ons="$sysdeps_add_ons $add_on"
4486 case "$sysnames_add_ons" in
4489 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4490 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4495 for d in $sysnames; do
4497 $add_on/sysdeps/*) ;;
4500 (cd "$xsrcdir$d" && for f in *[!~]; do
4503 for ff in $f/*.h; do
4504 test -d "$ff" || { test -e "$ff" && exit 88; }
4508 test -d "$f" || { test -e "$f" && exit 88; }
4512 if test $? -eq 88; then
4517 if test $found = no; then
4518 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4519 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4527 # Find a good install program. We prefer a C program (faster),
4528 # so one script is as good as another. But avoid the broken or
4529 # incompatible versions:
4530 # SysV /etc/install, /usr/sbin/install
4531 # SunOS /usr/etc/install
4532 # IRIX /sbin/install
4534 # AmigaOS /C/install, which installs bootblocks on floppy discs
4535 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4536 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4537 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4538 # OS/2's system install, which has a completely different semantic
4539 # ./install, which can be erroneously created by make from ./install.sh.
4540 # Reject install programs that cannot install multiple files.
4541 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4542 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4543 if test -z "$INSTALL"; then
4544 if test "${ac_cv_path_install+set}" = set; then
4545 $as_echo_n "(cached) " >&6
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir=.
4552 # Account for people who put trailing slashes in PATH elements.
4554 ./ | .// | /cC/* | \
4555 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4556 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4559 # OSF1 and SCO ODT 3.0 have their own names for install.
4560 # Don't use installbsd from OSF since it installs stuff as root
4562 for ac_prog in ginstall scoinst install; do
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4565 if test $ac_prog = install &&
4566 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4567 # AIX install. It has an incompatible calling convention.
4569 elif test $ac_prog = install &&
4570 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4571 # program-specific install script used by HP pwplus--don't use.
4574 rm -rf conftest.one conftest.two conftest.dir
4575 echo one > conftest.one
4576 echo two > conftest.two
4578 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4579 test -s conftest.one && test -s conftest.two &&
4580 test -s conftest.dir/conftest.one &&
4581 test -s conftest.dir/conftest.two
4583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4596 rm -rf conftest.one conftest.two conftest.dir
4599 if test "${ac_cv_path_install+set}" = set; then
4600 INSTALL=$ac_cv_path_install
4602 # As a last resort, use the slow shell script. Don't cache a
4603 # value for INSTALL within a source directory, because that will
4604 # break other packages using the cache if that directory is
4605 # removed, or if the value is a relative name.
4606 INSTALL=$ac_install_sh
4609 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4610 $as_echo "$INSTALL" >&6; }
4612 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4613 # It thinks the first close brace ends the variable substitution.
4614 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4616 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4618 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4620 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4621 # The makefiles need to use a different form to find it in $srcdir.
4622 INSTALL='\$(..)./scripts/install-sh -c'
4624 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4625 $as_echo_n "checking whether ln -s works... " >&6; }
4627 if test "$LN_S" = "ln -s"; then
4628 { $as_echo "$as_me:$LINENO: result: yes" >&5
4629 $as_echo "yes" >&6; }
4631 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4632 $as_echo "no, using $LN_S" >&6; }
4636 # Was a --with-binutils option given?
4637 if test -n "$path_binutils"; then
4638 # Make absolute; ensure a single trailing slash.
4639 path_binutils=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4640 CC="$CC -B$path_binutils"
4642 AS=`$CC -print-prog-name=as`
4643 LD=`$CC -print-prog-name=ld`
4644 AR=`$CC -print-prog-name=ar`
4646 OBJDUMP=`$CC -print-prog-name=objdump`
4649 # ranlib has to be treated a bit differently since it might not exist at all.
4650 ac_ranlib=`$CC -print-prog-name=ranlib`
4651 if test "x$ac_ranlib" = xranlib; then
4652 # This extra check has to happen since gcc simply echos the parameter in
4653 # case it cannot find the value in its own directories.
4654 if test -n "$ac_tool_prefix"; then
4655 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4656 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4657 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if test "${ac_cv_prog_RANLIB+set}" = set; then
4660 $as_echo_n "(cached) " >&6
4662 if test -n "$RANLIB"; then
4663 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir=.
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4673 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4682 RANLIB=$ac_cv_prog_RANLIB
4683 if test -n "$RANLIB"; then
4684 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4685 $as_echo "$RANLIB" >&6; }
4687 { $as_echo "$as_me:$LINENO: result: no" >&5
4688 $as_echo "no" >&6; }
4693 if test -z "$ac_cv_prog_RANLIB"; then
4694 ac_ct_RANLIB=$RANLIB
4695 # Extract the first word of "ranlib", so it can be a program name with args.
4696 set dummy ranlib; ac_word=$2
4697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4700 $as_echo_n "(cached) " >&6
4702 if test -n "$ac_ct_RANLIB"; then
4703 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir=.
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4712 ac_cv_prog_ac_ct_RANLIB="ranlib"
4713 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4723 if test -n "$ac_ct_RANLIB"; then
4724 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4725 $as_echo "$ac_ct_RANLIB" >&6; }
4727 { $as_echo "$as_me:$LINENO: result: no" >&5
4728 $as_echo "no" >&6; }
4731 if test "x$ac_ct_RANLIB" = x; then
4734 case $cross_compiling:$ac_tool_warned in
4736 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4738 ac_tool_warned=yes ;;
4740 RANLIB=$ac_ct_RANLIB
4743 RANLIB="$ac_cv_prog_RANLIB"
4751 # Determine whether we are using GNU binutils.
4752 { $as_echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4753 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4754 if test "${libc_cv_prog_as_gnu+set}" = set; then
4755 $as_echo_n "(cached) " >&6
4757 # Most GNU programs take a -v and spit out some text including
4758 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4759 if $AS -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4760 libc_cv_prog_as_gnu=yes
4762 libc_cv_prog_as_gnu=no
4766 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4767 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4769 gnu_as=$libc_cv_prog_as_gnu
4771 { $as_echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4772 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4773 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4774 $as_echo_n "(cached) " >&6
4776 # Most GNU programs take a -v and spit out some text including
4777 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4778 if $LD -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4779 libc_cv_prog_ld_gnu=yes
4781 libc_cv_prog_ld_gnu=no
4785 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4786 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4787 gnu_ld=$libc_cv_prog_ld_gnu
4790 # Accept binutils 2.13 or newer.
4793 # Extract the first word of "$ac_prog", so it can be a program name with args.
4794 set dummy $ac_prog; ac_word=$2
4795 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if test "${ac_cv_prog_AS+set}" = set; then
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$AS"; then
4801 ac_cv_prog_AS="$AS" # Let the user override the test.
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 test -z "$as_dir" && as_dir=.
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4810 ac_cv_prog_AS="$ac_prog"
4811 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 if test -n "$AS"; then
4822 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4823 $as_echo "$AS" >&6; }
4825 { $as_echo "$as_me:$LINENO: result: no" >&5
4826 $as_echo "no" >&6; }
4830 test -n "$AS" && break
4833 if test -z "$AS"; then
4836 # Found it, now check the version.
4837 { $as_echo "$as_me:$LINENO: checking version of $AS" >&5
4838 $as_echo_n "checking version of $AS... " >&6; }
4839 ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4840 case $ac_prog_version in
4841 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4843 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4844 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4847 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4848 $as_echo "$ac_prog_version" >&6; }
4850 if test $ac_verc_fail = yes; then
4851 AS=: critic_missing="$critic_missing as"
4856 # Extract the first word of "$ac_prog", so it can be a program name with args.
4857 set dummy $ac_prog; ac_word=$2
4858 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if test "${ac_cv_prog_LD+set}" = set; then
4861 $as_echo_n "(cached) " >&6
4863 if test -n "$LD"; then
4864 ac_cv_prog_LD="$LD" # Let the user override the test.
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir=.
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873 ac_cv_prog_LD="$ac_prog"
4874 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 if test -n "$LD"; then
4885 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4886 $as_echo "$LD" >&6; }
4888 { $as_echo "$as_me:$LINENO: result: no" >&5
4889 $as_echo "no" >&6; }
4893 test -n "$LD" && break
4896 if test -z "$LD"; then
4899 # Found it, now check the version.
4900 { $as_echo "$as_me:$LINENO: checking version of $LD" >&5
4901 $as_echo_n "checking version of $LD... " >&6; }
4902 ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4903 case $ac_prog_version in
4904 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4906 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4907 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4910 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4911 $as_echo "$ac_prog_version" >&6; }
4913 if test $ac_verc_fail = yes; then
4914 LD=: critic_missing="$critic_missing ld"
4918 # We need the physical current working directory. We cannot use the
4919 # "pwd -P" shell builtin since that's not portable. Instead we try to
4920 # find a pwd binary. Note that assigning to the PWD environment
4921 # variable might have some interesting side effects, so we don't do
4923 # Extract the first word of "pwd", so it can be a program name with args.
4924 set dummy pwd; ac_word=$2
4925 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if test "${ac_cv_path_PWD_P+set}" = set; then
4928 $as_echo_n "(cached) " >&6
4932 ac_cv_path_PWD_P="$PWD_P" # Let the user override the test with a path.
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir=.
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4942 ac_cv_path_PWD_P="$as_dir/$ac_word$ac_exec_ext"
4943 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P="no"
4954 PWD_P=$ac_cv_path_PWD_P
4955 if test -n "$PWD_P"; then
4956 { $as_echo "$as_me:$LINENO: result: $PWD_P" >&5
4957 $as_echo "$PWD_P" >&6; }
4959 { $as_echo "$as_me:$LINENO: result: no" >&5
4960 $as_echo "no" >&6; }
4964 if test "$PWD_P" = no; then
4965 { { $as_echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4966 $as_echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4967 { (exit 1); exit 1; }; }
4970 # These programs are version sensitive.
4972 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
4974 # Extract the first word of "$ac_prog", so it can be a program name with args.
4975 set dummy $ac_prog; ac_word=$2
4976 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4977 $as_echo_n "checking for $ac_word... " >&6; }
4978 if test "${ac_cv_prog_CC+set}" = set; then
4979 $as_echo_n "(cached) " >&6
4981 if test -n "$CC"; then
4982 ac_cv_prog_CC="$CC" # Let the user override the test.
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 test -z "$as_dir" && as_dir=.
4989 for ac_exec_ext in '' $ac_executable_extensions; do
4990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4991 ac_cv_prog_CC="$ac_prog"
4992 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 if test -n "$CC"; then
5003 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5004 $as_echo "$CC" >&6; }
5006 { $as_echo "$as_me:$LINENO: result: no" >&5
5007 $as_echo "no" >&6; }
5011 test -n "$CC" && break
5014 if test -z "$CC"; then
5017 # Found it, now check the version.
5018 { $as_echo "$as_me:$LINENO: checking version of $CC" >&5
5019 $as_echo_n "checking version of $CC... " >&6; }
5020 ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
5021 case $ac_prog_version in
5022 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5024 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5025 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5028 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5029 $as_echo "$ac_prog_version" >&6; }
5031 if test $ac_verc_fail = yes; then
5032 critic_missing="$critic_missing gcc"
5035 for ac_prog in gnumake gmake make
5037 # Extract the first word of "$ac_prog", so it can be a program name with args.
5038 set dummy $ac_prog; ac_word=$2
5039 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if test "${ac_cv_prog_MAKE+set}" = set; then
5042 $as_echo_n "(cached) " >&6
5044 if test -n "$MAKE"; then
5045 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 test -z "$as_dir" && as_dir=.
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5054 ac_cv_prog_MAKE="$ac_prog"
5055 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 MAKE=$ac_cv_prog_MAKE
5065 if test -n "$MAKE"; then
5066 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
5067 $as_echo "$MAKE" >&6; }
5069 { $as_echo "$as_me:$LINENO: result: no" >&5
5070 $as_echo "no" >&6; }
5074 test -n "$MAKE" && break
5077 if test -z "$MAKE"; then
5080 # Found it, now check the version.
5081 { $as_echo "$as_me:$LINENO: checking version of $MAKE" >&5
5082 $as_echo_n "checking version of $MAKE... " >&6; }
5083 ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5084 case $ac_prog_version in
5085 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5087 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5088 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5091 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5092 $as_echo "$ac_prog_version" >&6; }
5094 if test $ac_verc_fail = yes; then
5095 critic_missing="$critic_missing make"
5099 for ac_prog in gnumsgfmt gmsgfmt msgfmt
5101 # Extract the first word of "$ac_prog", so it can be a program name with args.
5102 set dummy $ac_prog; ac_word=$2
5103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if test "${ac_cv_prog_MSGFMT+set}" = set; then
5106 $as_echo_n "(cached) " >&6
5108 if test -n "$MSGFMT"; then
5109 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_MSGFMT="$ac_prog"
5119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 MSGFMT=$ac_cv_prog_MSGFMT
5129 if test -n "$MSGFMT"; then
5130 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5131 $as_echo "$MSGFMT" >&6; }
5133 { $as_echo "$as_me:$LINENO: result: no" >&5
5134 $as_echo "no" >&6; }
5138 test -n "$MSGFMT" && break
5141 if test -z "$MSGFMT"; then
5144 # Found it, now check the version.
5145 { $as_echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
5146 $as_echo_n "checking version of $MSGFMT... " >&6; }
5147 ac_prog_version=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5148 case $ac_prog_version in
5149 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5150 0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
5151 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5152 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5155 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5156 $as_echo "$ac_prog_version" >&6; }
5158 if test $ac_verc_fail = yes; then
5159 MSGFMT=: aux_missing="$aux_missing msgfmt"
5162 for ac_prog in makeinfo
5164 # Extract the first word of "$ac_prog", so it can be a program name with args.
5165 set dummy $ac_prog; ac_word=$2
5166 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5169 $as_echo_n "(cached) " >&6
5171 if test -n "$MAKEINFO"; then
5172 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_prog_MAKEINFO="$ac_prog"
5182 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 MAKEINFO=$ac_cv_prog_MAKEINFO
5192 if test -n "$MAKEINFO"; then
5193 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5194 $as_echo "$MAKEINFO" >&6; }
5196 { $as_echo "$as_me:$LINENO: result: no" >&5
5197 $as_echo "no" >&6; }
5201 test -n "$MAKEINFO" && break
5204 if test -z "$MAKEINFO"; then
5207 # Found it, now check the version.
5208 { $as_echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5209 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5210 ac_prog_version=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5211 case $ac_prog_version in
5212 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5214 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5215 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5218 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5219 $as_echo "$ac_prog_version" >&6; }
5221 if test $ac_verc_fail = yes; then
5222 MAKEINFO=: aux_missing="$aux_missing makeinfo"
5227 # Extract the first word of "$ac_prog", so it can be a program name with args.
5228 set dummy $ac_prog; ac_word=$2
5229 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if test "${ac_cv_prog_SED+set}" = set; then
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$SED"; then
5235 ac_cv_prog_SED="$SED" # Let the user override the test.
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244 ac_cv_prog_SED="$ac_prog"
5245 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 if test -n "$SED"; then
5256 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5257 $as_echo "$SED" >&6; }
5259 { $as_echo "$as_me:$LINENO: result: no" >&5
5260 $as_echo "no" >&6; }
5264 test -n "$SED" && break
5267 if test -z "$SED"; then
5270 # Found it, now check the version.
5271 { $as_echo "$as_me:$LINENO: checking version of $SED" >&5
5272 $as_echo_n "checking version of $SED... " >&6; }
5273 ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5274 case $ac_prog_version in
5275 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5276 3.0[2-9]*|3.[1-9]*|[4-9]*)
5277 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5278 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5281 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5282 $as_echo "$ac_prog_version" >&6; }
5284 if test $ac_verc_fail = yes; then
5285 SED=: aux_missing="$aux_missing sed"
5289 for ac_prog in autoconf
5291 # Extract the first word of "$ac_prog", so it can be a program name with args.
5292 set dummy $ac_prog; ac_word=$2
5293 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5296 $as_echo_n "(cached) " >&6
5298 if test -n "$AUTOCONF"; then
5299 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir=.
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_AUTOCONF="$ac_prog"
5309 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 AUTOCONF=$ac_cv_prog_AUTOCONF
5319 if test -n "$AUTOCONF"; then
5320 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5321 $as_echo "$AUTOCONF" >&6; }
5323 { $as_echo "$as_me:$LINENO: result: no" >&5
5324 $as_echo "no" >&6; }
5328 test -n "$AUTOCONF" && break
5330 test -n "$AUTOCONF" || AUTOCONF="no"
5332 case "x$AUTOCONF" in
5333 xno|x|x:) AUTOCONF=no ;;
5335 { $as_echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5336 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5337 if test "${libc_cv_autoconf_works+set}" = set; then
5338 $as_echo_n "(cached) " >&6
5340 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
5341 libc_cv_autoconf_works=yes
5343 libc_cv_autoconf_works=no
5346 { $as_echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5347 $as_echo "$libc_cv_autoconf_works" >&6; }
5348 test $libc_cv_autoconf_works = yes || AUTOCONF=no
5351 if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
5352 # If --without-cvs they probably won't change configure.in, so no complaints.
5353 aux_missing="$aux_missing autoconf"
5356 test -n "$critic_missing" && { { $as_echo "$as_me:$LINENO: error:
5357 *** These critical programs are missing or too old:$critic_missing
5358 *** Check the INSTALL file for required versions." >&5
5359 $as_echo "$as_me: error:
5360 *** These critical programs are missing or too old:$critic_missing
5361 *** Check the INSTALL file for required versions." >&2;}
5362 { (exit 1); exit 1; }; }
5364 test -n "$aux_missing" && { $as_echo "$as_me:$LINENO: WARNING:
5365 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5366 *** some features will be disabled.
5367 *** Check the INSTALL file for required versions." >&5
5368 $as_echo "$as_me: WARNING:
5369 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5370 *** some features will be disabled.
5371 *** Check the INSTALL file for required versions." >&2;}
5373 # if using special system headers, find out the compiler's sekrit
5374 # header directory and add that to the list. NOTE: Only does the right
5375 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5376 if test -n "$sysheaders"; then
5377 SYSINCLUDES=-nostdinc
5378 for d in include include-fixed; do
5379 i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
5380 SYSINCLUDES="$SYSINCLUDES -isystem $i"
5382 SYSINCLUDES="$SYSINCLUDES \
5383 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5384 if test -n "$CXX"; then
5385 cxxversion=`$CXX -dumpversion 2>&5` &&
5386 cxxmachine=`$CXX -dumpmachine 2>&5` &&
5387 cxxheaders=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5388 CXX_SYSINCLUDES="-isystem $cxxheaders \
5389 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5395 # check if ranlib is necessary
5396 { $as_echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5397 $as_echo_n "checking whether ranlib is necessary... " >&6; }
5398 if test "${libc_cv_ranlib_necessary+set}" = set; then
5399 $as_echo_n "(cached) " >&6
5401 cat > conftest.c <<EOF
5406 $CC $CFLAGS $CPPFLAGS -c conftest.c
5407 $AR cr conftest.a conftest.o
5408 cp conftest.a conftest2.a
5410 if cmp -s conftest.a conftest2.a; then
5411 libc_cv_ranlib_necessary=no
5413 libc_cv_ranlib_necessary=yes
5417 { $as_echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5418 $as_echo "$libc_cv_ranlib_necessary" >&6; }
5419 if test "$libc_cv_ranlib_necessary" = no; then
5423 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5424 # since this would lead to problems installing/building glibc.
5425 # LD_LIBRARY_PATH contains the current directory if one of the following
5427 # - one of the terminals (":" and ";") is the first or last sign
5428 # - two terminals occur directly after each other
5429 # - the path contains an element with a dot in it
5430 { $as_echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5431 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5432 case ${LD_LIBRARY_PATH} in
5433 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
5434 ld_library_path_setting="contains current directory"
5437 ld_library_path_setting="ok"
5440 { $as_echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5441 $as_echo "$ld_library_path_setting" >&6; }
5442 if test "$ld_library_path_setting" != "ok"; then
5443 { { $as_echo "$as_me:$LINENO: error:
5444 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5445 *** building glibc. Please change the environment variable
5446 *** and run configure again." >&5
5447 $as_echo "$as_me: error:
5448 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5449 *** building glibc. Please change the environment variable
5450 *** and run configure again." >&2;}
5451 { (exit 1); exit 1; }; }
5454 { $as_echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5455 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5456 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5457 $as_echo_n "(cached) " >&6
5459 if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then
5460 libc_cv_gcc_static_libgcc=
5462 libc_cv_gcc_static_libgcc=-static-libgcc
5465 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5466 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5469 # Extract the first word of "bash", so it can be a program name with args.
5470 set dummy bash; ac_word=$2
5471 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5474 $as_echo_n "(cached) " >&6
5478 ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir=.
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5488 ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
5489 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
5500 BASH_SHELL=$ac_cv_path_BASH_SHELL
5501 if test -n "$BASH_SHELL"; then
5502 { $as_echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5503 $as_echo "$BASH_SHELL" >&6; }
5505 { $as_echo "$as_me:$LINENO: result: no" >&5
5506 $as_echo "no" >&6; }
5510 if test "$BASH_SHELL" != no &&
5511 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5512 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5513 libc_cv_have_bash2=yes
5515 libc_cv_have_bash2=no
5519 if test "$BASH_SHELL" = no; then
5520 # Extract the first word of "ksh", so it can be a program name with args.
5521 set dummy ksh; ac_word=$2
5522 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if test "${ac_cv_path_KSH+set}" = set; then
5525 $as_echo_n "(cached) " >&6
5529 ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5539 ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
5540 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
5552 if test -n "$KSH"; then
5553 { $as_echo "$as_me:$LINENO: result: $KSH" >&5
5554 $as_echo "$KSH" >&6; }
5556 { $as_echo "$as_me:$LINENO: result: no" >&5
5557 $as_echo "no" >&6; }
5561 if test "$KSH" = no; then
5564 libc_cv_have_ksh=yes
5569 libc_cv_have_ksh=yes
5573 for ac_prog in gawk mawk nawk awk
5575 # Extract the first word of "$ac_prog", so it can be a program name with args.
5576 set dummy $ac_prog; ac_word=$2
5577 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5578 $as_echo_n "checking for $ac_word... " >&6; }
5579 if test "${ac_cv_prog_AWK+set}" = set; then
5580 $as_echo_n "(cached) " >&6
5582 if test -n "$AWK"; then
5583 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5589 test -z "$as_dir" && as_dir=.
5590 for ac_exec_ext in '' $ac_executable_extensions; do
5591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5592 ac_cv_prog_AWK="$ac_prog"
5593 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 if test -n "$AWK"; then
5604 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
5605 $as_echo "$AWK" >&6; }
5607 { $as_echo "$as_me:$LINENO: result: no" >&5
5608 $as_echo "no" >&6; }
5612 test -n "$AWK" && break
5615 # Extract the first word of "perl", so it can be a program name with args.
5616 set dummy perl; ac_word=$2
5617 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if test "${ac_cv_path_PERL+set}" = set; then
5620 $as_echo_n "(cached) " >&6
5624 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5634 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5635 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
5646 PERL=$ac_cv_path_PERL
5647 if test -n "$PERL"; then
5648 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
5649 $as_echo "$PERL" >&6; }
5651 { $as_echo "$as_me:$LINENO: result: no" >&5
5652 $as_echo "no" >&6; }
5656 if test "$PERL" != no &&
5657 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5660 # Extract the first word of "install-info", so it can be a program name with args.
5661 set dummy install-info; ac_word=$2
5662 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5665 $as_echo_n "(cached) " >&6
5667 case $INSTALL_INFO in
5669 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5674 for as_dir in $as_dummy
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5680 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5681 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
5692 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5693 if test -n "$INSTALL_INFO"; then
5694 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5695 $as_echo "$INSTALL_INFO" >&6; }
5697 { $as_echo "$as_me:$LINENO: result: no" >&5
5698 $as_echo "no" >&6; }
5702 # Extract the first word of "bison", so it can be a program name with args.
5703 set dummy bison; ac_word=$2
5704 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if test "${ac_cv_path_BISON+set}" = set; then
5707 $as_echo_n "(cached) " >&6
5711 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 as_dummy="$PATH:/usr/local/bin:/usr/bin:/bin"
5716 for as_dir in $as_dummy
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5722 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5723 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no"
5734 BISON=$ac_cv_path_BISON
5735 if test -n "$BISON"; then
5736 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
5737 $as_echo "$BISON" >&6; }
5739 { $as_echo "$as_me:$LINENO: result: no" >&5
5740 $as_echo "no" >&6; }
5745 { $as_echo "$as_me:$LINENO: checking for signed size_t type" >&5
5746 $as_echo_n "checking for signed size_t type... " >&6; }
5747 if test "${libc_cv_signed_size_t+set}" = set; then
5748 $as_echo_n "(cached) " >&6
5750 echo '#include <stddef.h>
5751 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5752 if eval "$ac_cpp conftest.c 2>/dev/null" \
5753 | grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev/null; then
5754 libc_cv_signed_size_t=no
5756 libc_cv_signed_size_t=yes
5760 { $as_echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5761 $as_echo "$libc_cv_signed_size_t" >&6; }
5762 if test $libc_cv_signed_size_t = yes; then
5763 cat >> confdefs.h <<\EOF
5764 #undef __SIZE_TYPE__
5765 #define __SIZE_TYPE__ unsigned
5769 { $as_echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5770 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5771 if test "${libc_cv_friendly_stddef+set}" = set; then
5772 $as_echo_n "(cached) " >&6
5774 cat >conftest.$ac_ext <<_ACEOF
5777 cat confdefs.h >>conftest.$ac_ext
5778 cat >>conftest.$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5780 #define __need_size_t
5781 #define __need_wchar_t
5788 size_t size; wchar_t wchar;
5790 #error stddef.h ignored __need_*
5792 if (&size == NULL || &wchar == NULL) abort ();
5797 rm -f conftest.$ac_objext
5798 if { (ac_try="$ac_compile"
5800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5801 *) ac_try_echo=$ac_try;;
5803 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5804 $as_echo "$ac_try_echo") >&5
5805 (eval "$ac_compile") 2>conftest.er1
5807 grep -v '^ *+' conftest.er1 >conftest.err
5809 cat conftest.err >&5
5810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); } && {
5812 test -z "$ac_c_werror_flag" ||
5813 test ! -s conftest.err
5814 } && test -s conftest.$ac_objext; then
5815 libc_cv_friendly_stddef=yes
5817 $as_echo "$as_me: failed program was:" >&5
5818 sed 's/^/| /' conftest.$ac_ext >&5
5820 libc_cv_friendly_stddef=no
5823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5825 { $as_echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5826 $as_echo "$libc_cv_friendly_stddef" >&6; }
5827 if test $libc_cv_friendly_stddef = yes; then
5828 config_vars="$config_vars
5829 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5832 { $as_echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5833 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5834 if test "${libc_cv_need_minus_P+set}" = set; then
5835 $as_echo_n "(cached) " >&6
5837 cat > conftest.S <<EOF
5838 #include "confdefs.h"
5839 /* Nothing whatsoever. */
5841 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; }; then
5847 libc_cv_need_minus_P=no
5849 libc_cv_need_minus_P=yes
5853 { $as_echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5854 $as_echo "$libc_cv_need_minus_P" >&6; }
5855 if test $libc_cv_need_minus_P = yes; then
5856 config_vars="$config_vars
5857 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5860 { $as_echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5861 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
5862 if test "${libc_cv_dot_text+set}" = set; then
5863 $as_echo_n "(cached) " >&6
5865 cat > conftest.s <<EOF
5869 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; }; then
5875 libc_cv_dot_text=.text
5880 if test -z "$libc_cv_dot_text"; then
5881 { $as_echo "$as_me:$LINENO: result: no" >&5
5882 $as_echo "no" >&6; }
5884 { $as_echo "$as_me:$LINENO: result: yes" >&5
5885 $as_echo "yes" >&6; }
5888 { $as_echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5889 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
5890 if test "${libc_cv_asm_global_directive+set}" = set; then
5891 $as_echo_n "(cached) " >&6
5893 libc_cv_asm_global_directive=UNKNOWN
5894 for ac_globl in .globl .global .EXPORT; do
5895 cat > conftest.s <<EOF
5900 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; }; then
5906 libc_cv_asm_global_directive=${ac_globl}
5909 test $libc_cv_asm_global_directive != UNKNOWN && break
5912 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5913 $as_echo "$libc_cv_asm_global_directive" >&6; }
5914 if test $libc_cv_asm_global_directive = UNKNOWN; then
5915 { { $as_echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5916 $as_echo "$as_me: error: cannot determine asm global directive" >&2;}
5917 { (exit 1); exit 1; }; }
5919 cat >>confdefs.h <<_ACEOF
5920 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5925 { $as_echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5926 $as_echo_n "checking for .set assembler directive... " >&6; }
5927 if test "${libc_cv_asm_set_directive+set}" = set; then
5928 $as_echo_n "(cached) " >&6
5930 cat > conftest.s <<EOF
5933 .set glibc_conftest_frobozz,foo
5934 $libc_cv_asm_global_directive glibc_conftest_frobozz
5936 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5937 # (but it doesn't work), so we must do a linking check to be sure.
5938 cat > conftest1.c <<\EOF
5939 extern int glibc_conftest_frobozz;
5940 void _start() { glibc_conftest_frobozz = 1; }
5942 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5943 -nostartfiles -nostdlib \
5944 -o conftest conftest.s conftest1.c 1>&5 2>&5; then
5945 libc_cv_asm_set_directive=yes
5947 libc_cv_asm_set_directive=no
5951 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5952 $as_echo "$libc_cv_asm_set_directive" >&6; }
5953 if test $libc_cv_asm_set_directive = yes; then
5954 cat >>confdefs.h <<\_ACEOF
5955 #define HAVE_ASM_SET_DIRECTIVE 1
5960 { $as_echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5961 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
5962 if test "${libc_cv_asm_type_prefix+set}" = set; then
5963 $as_echo_n "(cached) " >&6
5965 libc_cv_asm_type_prefix=no
5966 for ac_try_prefix in '@' '%' '#'; do
5967 cat > conftest.s <<EOF
5969 ${libc_cv_asm_global_directive} foo
5970 .type foo, ${ac_try_prefix}object
5975 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); }; }; then
5981 libc_cv_asm_type_prefix=${ac_try_prefix}
5984 test "x$libc_cv_asm_type_prefix" != xno && break
5987 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
5988 $as_echo "$libc_cv_asm_type_prefix" >&6; }
5989 if test "x$libc_cv_asm_type_prefix" != xno; then
5990 cat >>confdefs.h <<_ACEOF
5991 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
5996 # For the multi-arch option we need support in the assembler.
5997 if test "$multi_arch" = yes; then
5998 if test "x$libc_cv_asm_type_prefix" != xno; then
5999 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
6000 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
6001 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
6002 $as_echo_n "(cached) " >&6
6004 cat > conftest.s <<EOF
6005 .type foo,%gnu_indirect_function
6007 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5;
6009 libc_cv_asm_gnu_indirect_function=yes
6011 libc_cv_asm_gnu_indirect_function=no
6015 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
6016 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
6018 libc_cv_asm_gnu_indirect_function=no
6020 if test x"$libc_cv_asm_gnu_indirect_function" != xyes; then
6021 { { $as_echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
6022 $as_echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
6023 { (exit 1); exit 1; }; }
6027 { $as_echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
6028 $as_echo_n "checking for .symver assembler directive... " >&6; }
6029 if test "${libc_cv_asm_symver_directive+set}" = set; then
6030 $as_echo_n "(cached) " >&6
6032 cat > conftest.s <<EOF
6035 .symver _sym,sym@VERS
6037 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
6038 libc_cv_asm_symver_directive=yes
6040 libc_cv_asm_symver_directive=no
6044 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
6045 $as_echo "$libc_cv_asm_symver_directive" >&6; }
6046 { $as_echo "$as_me:$LINENO: checking for ld --version-script" >&5
6047 $as_echo_n "checking for ld --version-script... " >&6; }
6048 if test "${libc_cv_ld_version_script_option+set}" = set; then
6049 $as_echo_n "(cached) " >&6
6051 if test $libc_cv_asm_symver_directive = yes; then
6052 cat > conftest.s <<EOF
6055 .symver _sym,sym@VERS
6057 cat > conftest.map <<EOF
6066 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
6067 if { ac_try='${CC-cc} $CFLAGS $LDFLAGS -shared
6068 -o conftest.so conftest.o
6069 -nostartfiles -nostdlib
6070 -Wl,--version-script,conftest.map
6072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); }; };
6078 libc_cv_ld_version_script_option=yes
6080 libc_cv_ld_version_script_option=no
6083 libc_cv_ld_version_script_option=no
6086 libc_cv_ld_version_script_option=no
6090 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
6091 $as_echo "$libc_cv_ld_version_script_option" >&6; }
6092 if test $shared != no &&
6093 test $libc_cv_asm_symver_directive = yes &&
6094 test $libc_cv_ld_version_script_option = yes &&
6095 test $enable_versioning = yes; then
6097 cat >>confdefs.h <<\_ACEOF
6098 #define DO_VERSIONING 1
6106 if test $elf = yes && test $shared != no && test $VERSIONING = no; then
6108 *** WARNING: You should not compile GNU libc without versioning. Not using
6109 *** versioning will introduce incompatibilities so that old binaries
6110 *** will not run anymore.
6111 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
6113 if test $elf = yes; then
6114 { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
6115 $as_echo_n "checking for .previous assembler directive... " >&6; }
6116 if test "${libc_cv_asm_previous_directive+set}" = set; then
6117 $as_echo_n "(cached) " >&6
6119 cat > conftest.s <<EOF
6120 .section foo_section
6123 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 libc_cv_asm_previous_directive=yes
6131 libc_cv_asm_previous_directive=no
6135 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
6136 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6137 if test $libc_cv_asm_previous_directive = yes; then
6138 cat >>confdefs.h <<\_ACEOF
6139 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
6143 { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
6144 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6145 if test "${libc_cv_asm_popsection_directive+set}" = set; then
6146 $as_echo_n "(cached) " >&6
6148 cat > conftest.s <<EOF
6149 .pushsection foo_section
6152 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; }; then
6158 libc_cv_asm_popsection_directive=yes
6160 libc_cv_asm_popsection_directive=no
6164 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
6165 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6166 if test $libc_cv_asm_popsection_directive = yes; then
6167 cat >>confdefs.h <<\_ACEOF
6168 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6173 { $as_echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6174 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6175 if test "${libc_cv_asm_protected_directive+set}" = set; then
6176 $as_echo_n "(cached) " >&6
6178 cat > conftest.s <<EOF
6184 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; }; then
6190 libc_cv_asm_protected_directive=yes
6192 { { $as_echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6193 $as_echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6194 { (exit 1); exit 1; }; }
6198 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6199 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6201 if test $libc_cv_asm_protected_directive = yes; then
6202 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6203 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6204 if test "${libc_cv_visibility_attribute+set}" = set; then
6205 $as_echo_n "(cached) " >&6
6207 cat > conftest.c <<EOF
6208 int foo __attribute__ ((visibility ("hidden"))) = 1;
6209 int bar __attribute__ ((visibility ("protected"))) = 1;
6211 libc_cv_visibility_attribute=no
6212 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6218 if grep '\.hidden.*foo' conftest.s >/dev/null; then
6219 if grep '\.protected.*bar' conftest.s >/dev/null; then
6220 libc_cv_visibility_attribute=yes
6227 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6228 $as_echo "$libc_cv_visibility_attribute" >&6; }
6229 if test $libc_cv_visibility_attribute != yes; then
6230 { { $as_echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6231 $as_echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6232 { (exit 1); exit 1; }; }
6236 if test $libc_cv_visibility_attribute = yes; then
6237 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6238 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6239 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6240 $as_echo_n "(cached) " >&6
6242 cat > conftest.c <<EOF
6244 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6245 int bar (int x) { return x; }
6247 libc_cv_broken_visibility_attribute=yes
6248 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); }; }; then
6254 if grep '\.hidden[ _]foo' conftest.s >/dev/null; then
6255 libc_cv_broken_visibility_attribute=no
6258 rm -f conftest.c conftest.s
6261 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6262 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6263 if test $libc_cv_broken_visibility_attribute = yes; then
6264 { { $as_echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6265 $as_echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6266 { (exit 1); exit 1; }; }
6270 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6271 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6272 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6273 $as_echo_n "(cached) " >&6
6275 cat > conftest.c <<EOF
6276 extern int foo (int x) __asm ("xyzzy");
6277 int bar (int x) { return x; }
6278 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6280 extern __typeof (dfoo) dfoo __asm ("abccb");
6283 libc_cv_broken_alias_attribute=yes
6284 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; }; then
6290 if grep 'xyzzy' conftest.s >/dev/null &&
6291 grep 'abccb' conftest.s >/dev/null; then
6292 libc_cv_broken_alias_attribute=no
6295 rm -f conftest.c conftest.s
6298 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6299 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6300 if test $libc_cv_broken_alias_attribute = yes; then
6301 { { $as_echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6302 $as_echo "$as_me: error: working alias attribute support required" >&2;}
6303 { (exit 1); exit 1; }; }
6306 if test $libc_cv_visibility_attribute = yes; then
6307 { $as_echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6308 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6309 if test "${libc_cv_have_sdata_section+set}" = set; then
6310 $as_echo_n "(cached) " >&6
6312 echo "int i;" > conftest.c
6313 libc_cv_have_sdata_section=no
6314 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c -o conftest.so 2>&1 \
6315 | grep '\.sdata' >/dev/null; then
6316 libc_cv_have_sdata_section=yes
6318 rm -f conftest.c conftest.so
6321 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6322 $as_echo "$libc_cv_have_sdata_section" >&6; }
6323 if test $libc_cv_have_sdata_section = yes; then
6324 cat >>confdefs.h <<\_ACEOF
6325 #define HAVE_SDATA_SECTION 1
6331 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6332 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6333 if test "${libc_cv_initfini_array+set}" = set; then
6334 $as_echo_n "(cached) " >&6
6336 cat > conftest.c <<EOF
6337 int _start (void) { return 0; }
6338 int __start (void) { return 0; }
6339 int foo (void) { return 1; }
6340 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6342 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6343 -static -nostartfiles -nostdlib 1>&5'
6344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); }; }
6350 if readelf -S conftest | fgrep INIT_ARRAY > /dev/null; then
6351 libc_cv_initfini_array=yes
6353 libc_cv_initfini_array=no
6356 libc_cv_initfini_array=no
6360 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6361 $as_echo "$libc_cv_initfini_array" >&6; }
6362 if test $libc_cv_initfini_array != yes; then
6363 { { $as_echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6364 $as_echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6365 { (exit 1); exit 1; }; }
6368 { $as_echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6369 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6370 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6371 $as_echo_n "(cached) " >&6
6374 cat > conftest.c <<EOF
6375 int main (void) { return 0; }
6377 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6378 conftest.c -v 2>&1 >/dev/null | grep -q " -lunwind "; then
6379 libc_cv_cc_with_libunwind=yes
6381 libc_cv_cc_with_libunwind=no
6385 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6386 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6388 if test $libc_cv_cc_with_libunwind = yes; then
6389 cat >>confdefs.h <<\_ACEOF
6390 #define HAVE_CC_WITH_LIBUNWIND 1
6395 { $as_echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6396 $as_echo_n "checking for -z nodelete option... " >&6; }
6397 if test "${libc_cv_z_nodelete+set}" = set; then
6398 $as_echo_n "(cached) " >&6
6400 cat > conftest.c <<EOF
6401 int _start (void) { return 42; }
6403 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6404 -fPIC -shared -o conftest.so conftest.c
6405 -nostartfiles -nostdlib
6406 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); }; }
6413 libc_cv_z_nodelete=yes
6415 { { $as_echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6416 $as_echo "$as_me: error: linker with -z nodelete support required" >&2;}
6417 { (exit 1); exit 1; }; }
6421 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6422 $as_echo "$libc_cv_z_nodelete" >&6; }
6424 { $as_echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6425 $as_echo_n "checking for -z nodlopen option... " >&6; }
6426 if test "${libc_cv_z_nodlopen+set}" = set; then
6427 $as_echo_n "(cached) " >&6
6429 cat > conftest.c <<EOF
6430 int _start (void) { return 42; }
6432 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6433 -fPIC -shared -o conftest.so conftest.c
6434 -nostartfiles -nostdlib
6435 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); }; }
6442 libc_cv_z_nodlopen=yes
6444 { { $as_echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6445 $as_echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6446 { (exit 1); exit 1; }; }
6450 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6451 $as_echo "$libc_cv_z_nodlopen" >&6; }
6453 { $as_echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6454 $as_echo_n "checking for -z initfirst option... " >&6; }
6455 if test "${libc_cv_z_initfirst+set}" = set; then
6456 $as_echo_n "(cached) " >&6
6458 cat > conftest.c <<EOF
6459 int _start (void) { return 42; }
6461 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6462 -fPIC -shared -o conftest.so conftest.c
6463 -nostartfiles -nostdlib
6464 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; }
6471 libc_cv_z_initfirst=yes
6473 { { $as_echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6474 $as_echo "$as_me: error: linker with -z initfirst support required" >&2;}
6475 { (exit 1); exit 1; }; }
6479 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6480 $as_echo "$libc_cv_z_initfirst" >&6; }
6482 case "$base_machine" in
6483 i[34567]86 | x86_64 | powerpc* | s390* | sparc* | alpha*)
6484 { $as_echo "$as_me:$LINENO: checking for -z relro option" >&5
6485 $as_echo_n "checking for -z relro option... " >&6; }
6486 if test "${libc_cv_z_relro+set}" = set; then
6487 $as_echo_n "(cached) " >&6
6490 if { ac_try='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; }
6497 if { ac_try='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); }; }
6508 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6509 $as_echo "$libc_cv_z_relro" >&6; }
6510 if test "$libc_cv_z_relro" = no; then
6511 { { $as_echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6512 $as_echo "$as_me: error: linker with -z relro support required" >&2;}
6513 { (exit 1); exit 1; }; }
6519 { $as_echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6520 $as_echo_n "checking for -Bgroup option... " >&6; }
6521 if test "${libc_cv_Bgroup+set}" = set; then
6522 $as_echo_n "(cached) " >&6
6524 cat > conftest.c <<EOF
6525 int _start (void) { return 42; }
6527 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6528 -fPIC -shared -o conftest.so conftest.c
6529 -Wl,-Bgroup -nostdlib 1>&5'
6530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); }; }
6542 { $as_echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6543 $as_echo "$libc_cv_Bgroup" >&6; }
6546 { $as_echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6547 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6548 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6549 $as_echo_n "(cached) " >&6
6551 cat > conftest.c <<EOF
6552 int main (void) { return 0; }
6554 libc_cv_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6555 -fPIC -shared -shared-libgcc -o conftest.so \
6556 conftest.c -v 2>&1 >/dev/null \
6557 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6560 { $as_echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6561 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6564 { $as_echo "$as_me:$LINENO: checking for --as-needed option" >&5
6565 $as_echo_n "checking for --as-needed option... " >&6; }
6566 if test "${libc_cv_as_needed+set}" = set; then
6567 $as_echo_n "(cached) " >&6
6569 cat > conftest.c <<EOF
6570 int main (void) { return 0; }
6572 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6573 -fPIC -shared -o conftest.so conftest.c
6574 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; }
6582 libc_cv_as_needed=yes
6584 libc_cv_as_needed=no
6588 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6589 $as_echo "$libc_cv_as_needed" >&6; }
6593 { $as_echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6594 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6595 if test "${libc_cv_as_noexecstack+set}" = set; then
6596 $as_echo_n "(cached) " >&6
6598 cat > conftest.c <<EOF
6601 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS
6602 -S -o conftest.s conftest.c 1>&5'
6603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); }; } \
6608 && grep -q .note.GNU-stack conftest.s \
6609 && { ac_try='${CC-cc} $ASFLAGS -Wa,--noexecstack
6610 -c -o conftest.o conftest.s 1>&5'
6611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); }; }
6617 libc_cv_as_noexecstack=yes
6619 libc_cv_as_noexecstack=no
6623 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6624 $as_echo "$libc_cv_as_noexecstack" >&6; }
6625 if test $libc_cv_as_noexecstack = yes; then
6626 ASFLAGS_config="$ASFLAGS_config -Wa,--noexecstack"
6630 { $as_echo "$as_me:$LINENO: checking for -z combreloc" >&5
6631 $as_echo_n "checking for -z combreloc... " >&6; }
6632 if test "${libc_cv_z_combreloc+set}" = set; then
6633 $as_echo_n "(cached) " >&6
6635 cat > conftest.c <<EOF
6636 extern int bar (int);
6638 int foo (void) { return bar (mumble); }
6640 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6641 -fPIC -shared -o conftest.so conftest.c
6642 -nostdlib -nostartfiles
6643 -Wl,-z,combreloc 1>&5'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }
6650 if readelf -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
6651 libc_cv_z_combreloc=yes
6653 libc_cv_z_combreloc=no
6656 libc_cv_z_combreloc=no
6660 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6661 $as_echo "$libc_cv_z_combreloc" >&6; }
6662 if test "$libc_cv_z_combreloc" = yes; then
6663 cat >>confdefs.h <<\_ACEOF
6664 #define HAVE_Z_COMBRELOC 1
6670 { $as_echo "$as_me:$LINENO: checking for -z execstack" >&5
6671 $as_echo_n "checking for -z execstack... " >&6; }
6672 if test "${libc_cv_z_execstack+set}" = set; then
6673 $as_echo_n "(cached) " >&6
6675 cat > conftest.c <<EOF
6676 int _start (void) { return 42; }
6678 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6679 -fPIC -shared -o conftest.so conftest.c
6680 -Wl,-z,execstack -nostdlib
6682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); }; }
6688 libc_cv_z_execstack=yes
6690 libc_cv_z_execstack=no
6694 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6695 $as_echo "$libc_cv_z_execstack" >&6; }
6698 { $as_echo "$as_me:$LINENO: checking for -fpie" >&5
6699 $as_echo_n "checking for -fpie... " >&6; }
6700 if test "${libc_cv_fpie+set}" = set; then
6701 $as_echo_n "(cached) " >&6
6703 cat > conftest.c <<EOF
6705 main () { return 0;}
6707 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6708 -o conftest conftest.c 1>&5'
6709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); }; }
6721 { $as_echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6722 $as_echo "$libc_cv_fpie" >&6; }
6726 { $as_echo "$as_me:$LINENO: checking for --hash-style option" >&5
6727 $as_echo_n "checking for --hash-style option... " >&6; }
6728 if test "${libc_cv_hashstyle+set}" = set; then
6729 $as_echo_n "(cached) " >&6
6731 cat > conftest.c <<EOF
6732 int _start (void) { return 42; }
6734 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6735 -fPIC -shared -o conftest.so conftest.c
6736 -Wl,--hash-style=both -nostdlib 1>&5'
6737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); }; }
6743 libc_cv_hashstyle=yes
6745 libc_cv_hashstyle=no
6749 { $as_echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6750 $as_echo "$libc_cv_hashstyle" >&6; }
6754 { $as_echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6755 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6756 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6757 $as_echo_n "(cached) " >&6
6759 cat > conftest.c <<EOF
6762 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }
6770 libc_cv_fno_toplevel_reorder=yes
6772 libc_cv_fno_toplevel_reorder=no
6776 { $as_echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6777 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6778 if test $libc_cv_fno_toplevel_reorder = yes; then
6779 fno_unit_at_a_time="-fno-toplevel-reorder -fno-section-anchors"
6781 fno_unit_at_a_time=-fno-unit-at-a-time
6785 { $as_echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6786 $as_echo_n "checking for -fstack-protector... " >&6; }
6787 if test "${libc_cv_ssp+set}" = set; then
6788 $as_echo_n "(cached) " >&6
6790 cat > conftest.c <<EOF
6792 main () { return 0;}
6794 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6795 -o conftest conftest.c 1>&5'
6796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); }; }
6808 { $as_echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6809 $as_echo "$libc_cv_ssp" >&6; }
6812 { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6813 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6814 if test "${libc_cv_gnu89_inline+set}" = set; then
6815 $as_echo_n "(cached) " >&6
6817 cat > conftest.c <<EOF
6819 #ifdef __GNUC_GNU_INLINE__
6820 main () { return 0;}
6825 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6826 -o conftest.s conftest.c 1>&5'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }
6833 libc_cv_gnu89_inline=yes
6835 libc_cv_gnu89_inline=no
6839 { $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6840 $as_echo "$libc_cv_gnu89_inline" >&6; }
6841 if test $libc_cv_gnu89_inline = yes; then
6842 libc_cv_gnu89_inline=-fgnu89-inline
6844 libc_cv_gnu89_inline=
6848 if test $elf != yes; then
6849 { $as_echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6850 $as_echo_n "checking for .init and .fini sections... " >&6; }
6851 if test "${libc_cv_have_initfini+set}" = set; then
6852 $as_echo_n "(cached) " >&6
6854 cat >conftest.$ac_ext <<_ACEOF
6857 cat confdefs.h >>conftest.$ac_ext
6858 cat >>conftest.$ac_ext <<_ACEOF
6859 /* end confdefs.h. */
6864 asm (".section .init");
6865 asm (".section .fini");
6866 asm ("${libc_cv_dot_text}");
6871 rm -f conftest.$ac_objext
6872 if { (ac_try="$ac_compile"
6874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6878 $as_echo "$ac_try_echo") >&5
6879 (eval "$ac_compile") 2>conftest.er1
6881 grep -v '^ *+' conftest.er1 >conftest.err
6883 cat conftest.err >&5
6884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); } && {
6886 test -z "$ac_c_werror_flag" ||
6887 test ! -s conftest.err
6888 } && test -s conftest.$ac_objext; then
6889 libc_cv_have_initfini=yes
6891 $as_echo "$as_me: failed program was:" >&5
6892 sed 's/^/| /' conftest.$ac_ext >&5
6894 libc_cv_have_initfini=no
6897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6899 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6900 $as_echo "$libc_cv_have_initfini" >&6; }
6901 if test $libc_cv_have_initfini = yes; then
6902 cat >>confdefs.h <<\_ACEOF
6903 #define HAVE_INITFINI 1
6909 if test $elf = yes; then
6910 { $as_echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6911 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6912 if test "${libc_cv_have_section_quotes+set}" = set; then
6913 $as_echo_n "(cached) " >&6
6915 cat > conftest.c <<EOF
6916 static const int foo
6917 __attribute__ ((section ("bar"))) = 1;
6919 if ${CC-cc} -S conftest.c -o conftest.s; then
6920 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6921 libc_cv_have_section_quotes=yes
6923 libc_cv_have_section_quotes=no
6926 libc_cv_have_section_quotes=unknown
6931 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6932 $as_echo "$libc_cv_have_section_quotes" >&6; }
6933 if test $libc_cv_have_section_quotes = yes; then
6934 cat >>confdefs.h <<\_ACEOF
6935 #define HAVE_SECTION_QUOTES 1
6943 if test $elf = yes; then
6944 libc_cv_asm_underscores=no
6946 if test $ac_cv_prog_cc_works = yes; then
6947 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6948 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
6949 if test "${libc_cv_asm_underscores+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. */
6958 asm ("_glibc_foobar:");
6967 rm -f conftest.$ac_objext conftest$ac_exeext
6968 if { (ac_try="$ac_link"
6970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6971 *) ac_try_echo=$ac_try;;
6973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6974 $as_echo "$ac_try_echo") >&5
6975 (eval "$ac_link") 2>conftest.er1
6977 grep -v '^ *+' conftest.er1 >conftest.err
6979 cat conftest.err >&5
6980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); } && {
6982 test -z "$ac_c_werror_flag" ||
6983 test ! -s conftest.err
6984 } && test -s conftest$ac_exeext && {
6985 test "$cross_compiling" = yes ||
6986 $as_test_x conftest$ac_exeext
6988 libc_cv_asm_underscores=yes
6990 $as_echo "$as_me: failed program was:" >&5
6991 sed 's/^/| /' conftest.$ac_ext >&5
6993 libc_cv_asm_underscores=no
6996 rm -rf conftest.dSYM
6997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6998 conftest$ac_exeext conftest.$ac_ext
7000 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7001 $as_echo "$libc_cv_asm_underscores" >&6; }
7003 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7004 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7005 if test "${libc_cv_asm_underscores+set}" = set; then
7006 $as_echo_n "(cached) " >&6
7008 cat > conftest.$ac_ext <<EOF
7009 #line $LINENO "configure"
7010 #include "confdefs.h"
7011 void underscore_test(void) {
7014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7015 (eval $ac_compile) 2>&5
7017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; then
7019 if grep _underscore_test conftest* >/dev/null; then
7021 libc_cv_asm_underscores=yes
7024 libc_cv_asm_underscores=no
7027 echo "configure: failed program was:" >&5
7028 cat conftest.$ac_ext >&5
7030 libc_cv_asm_underscores=no
7034 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7035 $as_echo "$libc_cv_asm_underscores" >&6; }
7038 if test $libc_cv_asm_underscores = no; then
7039 cat >>confdefs.h <<\_ACEOF
7040 #define NO_UNDERSCORES 1
7045 if test $elf = yes; then
7046 libc_cv_weak_symbols=yes
7049 { $as_echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
7050 $as_echo_n "checking for assembler .weak directive... " >&6; }
7051 if test "${libc_cv_asm_weak_directive+set}" = set; then
7052 $as_echo_n "(cached) " >&6
7054 cat > conftest.s <<EOF
7056 ${libc_cv_asm_global_directive} foo
7059 .weak bar; bar = foo
7061 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; }; then
7067 libc_cv_asm_weak_directive=yes
7069 libc_cv_asm_weak_directive=no
7073 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
7074 $as_echo "$libc_cv_asm_weak_directive" >&6; }
7076 if test $libc_cv_asm_weak_directive = no; then
7077 { $as_echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
7078 $as_echo_n "checking for assembler .weakext directive... " >&6; }
7079 if test "${libc_cv_asm_weakext_directive+set}" = set; then
7080 $as_echo_n "(cached) " >&6
7082 cat > conftest.s <<EOF
7084 ${libc_cv_asm_global_directive} foo
7088 ${libc_cv_asm_global_directive} baz
7091 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); }; }; then
7097 libc_cv_asm_weakext_directive=yes
7099 libc_cv_asm_weakext_directive=no
7103 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
7104 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
7108 if test $libc_cv_asm_weak_directive = yes; then
7109 cat >>confdefs.h <<\_ACEOF
7110 #define HAVE_ASM_WEAK_DIRECTIVE 1
7113 elif test $libc_cv_asm_weakext_directive = yes; then
7114 cat >>confdefs.h <<\_ACEOF
7115 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
7120 { $as_echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
7121 $as_echo_n "checking whether CFI directives are supported... " >&6; }
7122 if test "${libc_cv_asm_cfi_directives+set}" = set; then
7123 $as_echo_n "(cached) " >&6
7126 sparc/sparc64*) cfi_offset=2047;;
7129 cat > conftest.s <<EOF
7131 .type func,%function
7135 .cfi_rel_offset 1, $cfi_offset
7138 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); }; }; then
7144 libc_cv_asm_cfi_directives=yes
7146 libc_cv_asm_cfi_directives=no
7150 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
7151 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
7152 if test $libc_cv_asm_cfi_directives = yes; then
7153 cat >>confdefs.h <<\_ACEOF
7154 #define HAVE_ASM_CFI_DIRECTIVES 1
7159 { $as_echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
7160 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
7161 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
7162 $as_echo_n "(cached) " >&6
7164 cat > conftest.c <<\EOF
7169 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7170 -nostdlib -nostartfiles -Wl,--no-whole-archive
7171 -o conftest conftest.c 1>&5'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; }; then
7177 libc_cv_ld_no_whole_archive=yes
7179 libc_cv_ld_no_whole_archive=no
7183 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7184 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
7185 if test $libc_cv_ld_no_whole_archive = yes; then
7186 no_whole_archive=-Wl,--no-whole-archive
7189 { $as_echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7190 $as_echo_n "checking for gcc -fexceptions... " >&6; }
7191 if test "${libc_cv_gcc_exceptions+set}" = set; then
7192 $as_echo_n "(cached) " >&6
7194 cat > conftest.c <<\EOF
7199 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7200 -nostdlib -nostartfiles -fexceptions
7201 -o conftest conftest.c 1>&5'
7202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); }; }; then
7207 libc_cv_gcc_exceptions=yes
7209 libc_cv_gcc_exceptions=no
7213 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7214 $as_echo "$libc_cv_gcc_exceptions" >&6; }
7215 if test $libc_cv_gcc_exceptions = yes; then
7216 exceptions=-fexceptions
7219 if test "$host_cpu" = powerpc ; then
7220 # Check for a bug present in at least versions 2.8.x of GCC
7221 # and versions 1.0.x of EGCS.
7222 { $as_echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7223 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7224 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7225 $as_echo_n "(cached) " >&6
7227 cat >conftest.$ac_ext <<_ACEOF
7230 cat confdefs.h >>conftest.$ac_ext
7231 cat >>conftest.$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7233 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7242 rm -f conftest.$ac_objext
7243 if { (ac_try="$ac_compile"
7245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7246 *) ac_try_echo=$ac_try;;
7248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7249 $as_echo "$ac_try_echo") >&5
7250 (eval "$ac_compile") 2>conftest.er1
7252 grep -v '^ *+' conftest.er1 >conftest.err
7254 cat conftest.err >&5
7255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); } && {
7257 test -z "$ac_c_werror_flag" ||
7258 test ! -s conftest.err
7259 } && test -s conftest.$ac_objext; then
7260 libc_cv_c_asmcr0_bug='no'
7262 $as_echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.$ac_ext >&5
7265 libc_cv_c_asmcr0_bug='yes'
7268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7270 { $as_echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7271 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7272 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7273 cat >>confdefs.h <<\_ACEOF
7274 #define BROKEN_PPC_ASM_CR0 1
7280 { $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7281 $as_echo_n "checking for __builtin_expect... " >&6; }
7282 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7283 $as_echo_n "(cached) " >&6
7285 cat > conftest.c <<EOF
7286 #line $LINENO "configure"
7289 a = __builtin_expect (a, 10);
7290 return a == 10 ? 0 : 1;
7293 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7294 -o conftest conftest.c -lgcc >&5'
7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); }; }; then
7300 libc_cv_gcc_builtin_expect=yes
7302 libc_cv_gcc_builtin_expect=no
7306 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7307 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7308 if test "$libc_cv_gcc_builtin_expect" = yes; then
7309 cat >>confdefs.h <<\_ACEOF
7310 #define HAVE_BUILTIN_EXPECT 1
7315 { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7316 $as_echo_n "checking for __builtin_memset... " >&6; }
7317 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7318 $as_echo_n "(cached) " >&6
7320 cat > conftest.c <<\EOF
7323 __builtin_memset (x, 0, 1000);
7326 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); }; };
7333 libc_cv_gcc_builtin_memset=no
7335 libc_cv_gcc_builtin_memset=yes
7339 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7340 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
7341 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7342 cat >>confdefs.h <<\_ACEOF
7343 #define HAVE_BUILTIN_MEMSET 1
7348 { $as_echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7349 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7350 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7351 $as_echo_n "(cached) " >&6
7353 cat > conftest.c <<\EOF
7354 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7355 char *foo (const char *a, const char *b)
7357 return __builtin_strstr (a, b);
7360 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7364 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); }; };
7367 libc_cv_gcc_builtin_redirection=yes
7369 libc_cv_gcc_builtin_redirection=no
7373 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7374 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7375 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7376 cat >>confdefs.h <<\_ACEOF
7377 #define HAVE_BUILTIN_REDIRECTION 1
7382 if test "x$use__thread" != xno; then
7383 { $as_echo "$as_me:$LINENO: checking for __thread" >&5
7384 $as_echo_n "checking for __thread... " >&6; }
7385 if test "${libc_cv_gcc___thread+set}" = set; then
7386 $as_echo_n "(cached) " >&6
7388 cat > conftest.c <<\EOF
7389 __thread int a = 42;
7391 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; }; then
7397 libc_cv_gcc___thread=yes
7399 libc_cv_gcc___thread=no
7403 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7404 $as_echo "$libc_cv_gcc___thread" >&6; }
7405 if test "$libc_cv_gcc___thread" = yes; then
7406 cat >>confdefs.h <<\_ACEOF
7407 #define HAVE___THREAD 1
7412 libc_cv_gcc___thread=no
7415 if test "$libc_cv_gcc___thread" = yes; then
7416 { $as_echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7417 $as_echo_n "checking for tls_model attribute... " >&6; }
7418 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7419 $as_echo_n "(cached) " >&6
7421 cat > conftest.c <<\EOF
7422 extern __thread int a __attribute__((tls_model ("initial-exec")));
7424 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); }; }; then
7430 libc_cv_gcc_tls_model_attr=yes
7432 libc_cv_gcc_tls_model_attr=no
7436 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7437 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7438 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7439 cat >>confdefs.h <<\_ACEOF
7440 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7446 if test -n "$submachine"; then
7447 { $as_echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7448 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7449 if test "${libc_cv_cc_submachine+set}" = set; then
7450 $as_echo_n "(cached) " >&6
7452 libc_cv_cc_submachine=no
7453 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7454 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; }; then
7460 libc_cv_cc_submachine="$opt"
7465 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7466 $as_echo "$libc_cv_cc_submachine" >&6; }
7467 if test "x$libc_cv_cc_submachine" = xno; then
7468 { { $as_echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7469 $as_echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7470 { (exit 1); exit 1; }; }
7475 { $as_echo "$as_me:$LINENO: checking for libgd" >&5
7476 $as_echo_n "checking for libgd... " >&6; }
7477 if test "$with_gd" != "no"; then
7478 old_CFLAGS="$CFLAGS"
7479 CFLAGS="$CFLAGS $libgd_include"
7480 old_LDFLAGS="$LDFLAGS"
7481 LDFLAGS="$LDFLAGS $libgd_ldflags"
7483 LIBS="$LIBS -lgd -lpng -lz -lm"
7484 cat >conftest.$ac_ext <<_ACEOF
7487 cat confdefs.h >>conftest.$ac_ext
7488 cat >>conftest.$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7499 rm -f conftest.$ac_objext conftest$ac_exeext
7500 if { (ac_try="$ac_link"
7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503 *) ac_try_echo=$ac_try;;
7505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7506 $as_echo "$ac_try_echo") >&5
7507 (eval "$ac_link") 2>conftest.er1
7509 grep -v '^ *+' conftest.er1 >conftest.err
7511 cat conftest.err >&5
7512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); } && {
7514 test -z "$ac_c_werror_flag" ||
7515 test ! -s conftest.err
7516 } && test -s conftest$ac_exeext && {
7517 test "$cross_compiling" = yes ||
7518 $as_test_x conftest$ac_exeext
7522 $as_echo "$as_me: failed program was:" >&5
7523 sed 's/^/| /' conftest.$ac_ext >&5
7528 rm -rf conftest.dSYM
7529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7530 conftest$ac_exeext conftest.$ac_ext
7531 CFLAGS="$old_CFLAGS"
7532 LDFLAGS="$old_LDFLAGS"
7537 { $as_echo "$as_me:$LINENO: result: $LIBGD" >&5
7538 $as_echo "$LIBGD" >&6; }
7542 if test x$with_selinux = xno ; then
7545 # See if we have the SELinux library
7546 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7547 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7548 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7549 $as_echo_n "(cached) " >&6
7551 ac_check_lib_save_LIBS=$LIBS
7552 LIBS="-lselinux $LIBS"
7553 cat >conftest.$ac_ext <<_ACEOF
7556 cat confdefs.h >>conftest.$ac_ext
7557 cat >>conftest.$ac_ext <<_ACEOF
7558 /* end confdefs.h. */
7560 /* Override any GCC internal prototype to avoid an error.
7561 Use char because int might match the return type of a GCC
7562 builtin and then its argument prototype would still apply. */
7566 char is_selinux_enabled ();
7570 return is_selinux_enabled ();
7575 rm -f conftest.$ac_objext conftest$ac_exeext
7576 if { (ac_try="$ac_link"
7578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7579 *) ac_try_echo=$ac_try;;
7581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7582 $as_echo "$ac_try_echo") >&5
7583 (eval "$ac_link") 2>conftest.er1
7585 grep -v '^ *+' conftest.er1 >conftest.err
7587 cat conftest.err >&5
7588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); } && {
7590 test -z "$ac_c_werror_flag" ||
7591 test ! -s conftest.err
7592 } && test -s conftest$ac_exeext && {
7593 test "$cross_compiling" = yes ||
7594 $as_test_x conftest$ac_exeext
7596 ac_cv_lib_selinux_is_selinux_enabled=yes
7598 $as_echo "$as_me: failed program was:" >&5
7599 sed 's/^/| /' conftest.$ac_ext >&5
7601 ac_cv_lib_selinux_is_selinux_enabled=no
7604 rm -rf conftest.dSYM
7605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7606 conftest$ac_exeext conftest.$ac_ext
7607 LIBS=$ac_check_lib_save_LIBS
7609 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7610 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7611 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
7617 # See if we have the SELinux header with the NSCD permissions in it.
7618 if test x$have_selinux = xyes ; then
7619 { $as_echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7620 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7621 cat >conftest.$ac_ext <<_ACEOF
7624 cat confdefs.h >>conftest.$ac_ext
7625 cat >>conftest.$ac_ext <<_ACEOF
7626 /* end confdefs.h. */
7627 #include <selinux/av_permissions.h>
7631 #ifdef NSCD__SHMEMHOST
7634 #error NSCD__SHMEMHOST not defined
7640 rm -f conftest.$ac_objext
7641 if { (ac_try="$ac_compile"
7643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7644 *) ac_try_echo=$ac_try;;
7646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7647 $as_echo "$ac_try_echo") >&5
7648 (eval "$ac_compile") 2>conftest.er1
7650 grep -v '^ *+' conftest.er1 >conftest.err
7652 cat conftest.err >&5
7653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); } && {
7655 test -z "$ac_c_werror_flag" ||
7656 test ! -s conftest.err
7657 } && test -s conftest.$ac_objext; then
7660 $as_echo "$as_me: failed program was:" >&5
7661 sed 's/^/| /' conftest.$ac_ext >&5
7666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7667 { $as_echo "$as_me:$LINENO: result: $have_selinux" >&5
7668 $as_echo "$have_selinux" >&6; }
7671 if test x$with_selinux = xyes ; then
7672 if test x$have_selinux = xno ; then
7673 { { $as_echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7674 $as_echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7675 { (exit 1); exit 1; }; }
7679 # Check if we're building with SELinux support.
7680 if test "x$have_selinux" = xyes; then
7682 cat >>confdefs.h <<\_ACEOF
7683 #define HAVE_SELINUX 1
7687 # See if we have the libaudit library
7688 { $as_echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7689 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7690 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7691 $as_echo_n "(cached) " >&6
7693 ac_check_lib_save_LIBS=$LIBS
7694 LIBS="-laudit $LIBS"
7695 cat >conftest.$ac_ext <<_ACEOF
7698 cat confdefs.h >>conftest.$ac_ext
7699 cat >>conftest.$ac_ext <<_ACEOF
7700 /* end confdefs.h. */
7702 /* Override any GCC internal prototype to avoid an error.
7703 Use char because int might match the return type of a GCC
7704 builtin and then its argument prototype would still apply. */
7708 char audit_log_user_avc_message ();
7712 return audit_log_user_avc_message ();
7717 rm -f conftest.$ac_objext conftest$ac_exeext
7718 if { (ac_try="$ac_link"
7720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7721 *) ac_try_echo=$ac_try;;
7723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7724 $as_echo "$ac_try_echo") >&5
7725 (eval "$ac_link") 2>conftest.er1
7727 grep -v '^ *+' conftest.er1 >conftest.err
7729 cat conftest.err >&5
7730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); } && {
7732 test -z "$ac_c_werror_flag" ||
7733 test ! -s conftest.err
7734 } && test -s conftest$ac_exeext && {
7735 test "$cross_compiling" = yes ||
7736 $as_test_x conftest$ac_exeext
7738 ac_cv_lib_audit_audit_log_user_avc_message=yes
7740 $as_echo "$as_me: failed program was:" >&5
7741 sed 's/^/| /' conftest.$ac_ext >&5
7743 ac_cv_lib_audit_audit_log_user_avc_message=no
7746 rm -rf conftest.dSYM
7747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7748 conftest$ac_exeext conftest.$ac_ext
7749 LIBS=$ac_check_lib_save_LIBS
7751 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7752 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7753 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then
7759 if test "x$have_libaudit" = xyes; then
7761 cat >>confdefs.h <<\_ACEOF
7762 #define HAVE_LIBAUDIT 1
7768 # See if we have the libcap library
7769 { $as_echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7770 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7771 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7772 $as_echo_n "(cached) " >&6
7774 ac_check_lib_save_LIBS=$LIBS
7776 cat >conftest.$ac_ext <<_ACEOF
7779 cat confdefs.h >>conftest.$ac_ext
7780 cat >>conftest.$ac_ext <<_ACEOF
7781 /* end confdefs.h. */
7783 /* Override any GCC internal prototype to avoid an error.
7784 Use char because int might match the return type of a GCC
7785 builtin and then its argument prototype would still apply. */
7798 rm -f conftest.$ac_objext conftest$ac_exeext
7799 if { (ac_try="$ac_link"
7801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7805 $as_echo "$ac_try_echo") >&5
7806 (eval "$ac_link") 2>conftest.er1
7808 grep -v '^ *+' conftest.er1 >conftest.err
7810 cat conftest.err >&5
7811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } && {
7813 test -z "$ac_c_werror_flag" ||
7814 test ! -s conftest.err
7815 } && test -s conftest$ac_exeext && {
7816 test "$cross_compiling" = yes ||
7817 $as_test_x conftest$ac_exeext
7819 ac_cv_lib_cap_cap_init=yes
7821 $as_echo "$as_me: failed program was:" >&5
7822 sed 's/^/| /' conftest.$ac_ext >&5
7824 ac_cv_lib_cap_cap_init=no
7827 rm -rf conftest.dSYM
7828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7829 conftest$ac_exeext conftest.$ac_ext
7830 LIBS=$ac_check_lib_save_LIBS
7832 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7833 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7834 if test "x$ac_cv_lib_cap_cap_init" = x""yes; then
7840 if test "x$have_libcap" = xyes; then
7842 cat >>confdefs.h <<\_ACEOF
7843 #define HAVE_LIBCAP 1
7852 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7853 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7854 if test "${ac_cv_path_GREP+set}" = set; then
7855 $as_echo_n "(cached) " >&6
7857 if test -z "$GREP"; then
7858 ac_path_GREP_found=false
7859 # Loop through the user's path and test for each of PROGNAME-LIST
7860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7861 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7864 test -z "$as_dir" && as_dir=.
7865 for ac_prog in grep ggrep; do
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7868 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7869 # Check for GNU ac_path_GREP and select it if it is found.
7870 # Check for GNU $ac_path_GREP
7871 case `"$ac_path_GREP" --version 2>&1` in
7873 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7876 $as_echo_n 0123456789 >"conftest.in"
7879 cat "conftest.in" "conftest.in" >"conftest.tmp"
7880 mv "conftest.tmp" "conftest.in"
7881 cp "conftest.in" "conftest.nl"
7882 $as_echo 'GREP' >> "conftest.nl"
7883 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7884 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7885 ac_count=`expr $ac_count + 1`
7886 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7887 # Best one so far, save it but keep looking for a better one
7888 ac_cv_path_GREP="$ac_path_GREP"
7889 ac_path_GREP_max=$ac_count
7891 # 10*(2^10) chars as input seems more than enough
7892 test $ac_count -gt 10 && break
7894 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7897 $ac_path_GREP_found && break 3
7902 if test -z "$ac_cv_path_GREP"; then
7903 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7904 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7905 { (exit 1); exit 1; }; }
7908 ac_cv_path_GREP=$GREP
7912 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7913 $as_echo "$ac_cv_path_GREP" >&6; }
7914 GREP="$ac_cv_path_GREP"
7917 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
7918 $as_echo_n "checking for egrep... " >&6; }
7919 if test "${ac_cv_path_EGREP+set}" = set; then
7920 $as_echo_n "(cached) " >&6
7922 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7923 then ac_cv_path_EGREP="$GREP -E"
7925 if test -z "$EGREP"; then
7926 ac_path_EGREP_found=false
7927 # Loop through the user's path and test for each of PROGNAME-LIST
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7932 test -z "$as_dir" && as_dir=.
7933 for ac_prog in egrep; do
7934 for ac_exec_ext in '' $ac_executable_extensions; do
7935 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7936 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7937 # Check for GNU ac_path_EGREP and select it if it is found.
7938 # Check for GNU $ac_path_EGREP
7939 case `"$ac_path_EGREP" --version 2>&1` in
7941 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7944 $as_echo_n 0123456789 >"conftest.in"
7947 cat "conftest.in" "conftest.in" >"conftest.tmp"
7948 mv "conftest.tmp" "conftest.in"
7949 cp "conftest.in" "conftest.nl"
7950 $as_echo 'EGREP' >> "conftest.nl"
7951 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7952 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7953 ac_count=`expr $ac_count + 1`
7954 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7955 # Best one so far, save it but keep looking for a better one
7956 ac_cv_path_EGREP="$ac_path_EGREP"
7957 ac_path_EGREP_max=$ac_count
7959 # 10*(2^10) chars as input seems more than enough
7960 test $ac_count -gt 10 && break
7962 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7965 $ac_path_EGREP_found && break 3
7970 if test -z "$ac_cv_path_EGREP"; then
7971 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7972 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7973 { (exit 1); exit 1; }; }
7976 ac_cv_path_EGREP=$EGREP
7981 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7982 $as_echo "$ac_cv_path_EGREP" >&6; }
7983 EGREP="$ac_cv_path_EGREP"
7986 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7987 $as_echo_n "checking for ANSI C header files... " >&6; }
7988 if test "${ac_cv_header_stdc+set}" = set; then
7989 $as_echo_n "(cached) " >&6
7991 cat >conftest.$ac_ext <<_ACEOF
7994 cat confdefs.h >>conftest.$ac_ext
7995 cat >>conftest.$ac_ext <<_ACEOF
7996 /* end confdefs.h. */
8010 rm -f conftest.$ac_objext
8011 if { (ac_try="$ac_compile"
8013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8014 *) ac_try_echo=$ac_try;;
8016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8017 $as_echo "$ac_try_echo") >&5
8018 (eval "$ac_compile") 2>conftest.er1
8020 grep -v '^ *+' conftest.er1 >conftest.err
8022 cat conftest.err >&5
8023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); } && {
8025 test -z "$ac_c_werror_flag" ||
8026 test ! -s conftest.err
8027 } && test -s conftest.$ac_objext; then
8028 ac_cv_header_stdc=yes
8030 $as_echo "$as_me: failed program was:" >&5
8031 sed 's/^/| /' conftest.$ac_ext >&5
8033 ac_cv_header_stdc=no
8036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8038 if test $ac_cv_header_stdc = yes; then
8039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8040 cat >conftest.$ac_ext <<_ACEOF
8043 cat confdefs.h >>conftest.$ac_ext
8044 cat >>conftest.$ac_ext <<_ACEOF
8045 /* end confdefs.h. */
8049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8050 $EGREP "memchr" >/dev/null 2>&1; then
8053 ac_cv_header_stdc=no
8059 if test $ac_cv_header_stdc = yes; then
8060 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8061 cat >conftest.$ac_ext <<_ACEOF
8064 cat confdefs.h >>conftest.$ac_ext
8065 cat >>conftest.$ac_ext <<_ACEOF
8066 /* end confdefs.h. */
8070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8071 $EGREP "free" >/dev/null 2>&1; then
8074 ac_cv_header_stdc=no
8080 if test $ac_cv_header_stdc = yes; then
8081 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8082 if test "$cross_compiling" = yes; then
8085 cat >conftest.$ac_ext <<_ACEOF
8088 cat confdefs.h >>conftest.$ac_ext
8089 cat >>conftest.$ac_ext <<_ACEOF
8090 /* end confdefs.h. */
8093 #if ((' ' & 0x0FF) == 0x020)
8094 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8095 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8097 # define ISLOWER(c) \
8098 (('a' <= (c) && (c) <= 'i') \
8099 || ('j' <= (c) && (c) <= 'r') \
8100 || ('s' <= (c) && (c) <= 'z'))
8101 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8104 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8109 for (i = 0; i < 256; i++)
8110 if (XOR (islower (i), ISLOWER (i))
8111 || toupper (i) != TOUPPER (i))
8116 rm -f conftest$ac_exeext
8117 if { (ac_try="$ac_link"
8119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8120 *) ac_try_echo=$ac_try;;
8122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8123 $as_echo "$ac_try_echo") >&5
8124 (eval "$ac_link") 2>&5
8126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8128 { (case "(($ac_try" in
8129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8130 *) ac_try_echo=$ac_try;;
8132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8133 $as_echo "$ac_try_echo") >&5
8134 (eval "$ac_try") 2>&5
8136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); }; }; then
8140 $as_echo "$as_me: program exited with status $ac_status" >&5
8141 $as_echo "$as_me: failed program was:" >&5
8142 sed 's/^/| /' conftest.$ac_ext >&5
8145 ac_cv_header_stdc=no
8147 rm -rf conftest.dSYM
8148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8154 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8155 $as_echo "$ac_cv_header_stdc" >&6; }
8156 if test $ac_cv_header_stdc = yes; then
8158 cat >>confdefs.h <<\_ACEOF
8159 #define STDC_HEADERS 1
8164 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8174 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8175 inttypes.h stdint.h unistd.h
8177 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8178 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8179 $as_echo_n "checking for $ac_header... " >&6; }
8180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8181 $as_echo_n "(cached) " >&6
8183 cat >conftest.$ac_ext <<_ACEOF
8186 cat confdefs.h >>conftest.$ac_ext
8187 cat >>conftest.$ac_ext <<_ACEOF
8188 /* end confdefs.h. */
8189 $ac_includes_default
8191 #include <$ac_header>
8193 rm -f conftest.$ac_objext
8194 if { (ac_try="$ac_compile"
8196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8197 *) ac_try_echo=$ac_try;;
8199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8200 $as_echo "$ac_try_echo") >&5
8201 (eval "$ac_compile") 2>conftest.er1
8203 grep -v '^ *+' conftest.er1 >conftest.err
8205 cat conftest.err >&5
8206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } && {
8208 test -z "$ac_c_werror_flag" ||
8209 test ! -s conftest.err
8210 } && test -s conftest.$ac_objext; then
8211 eval "$as_ac_Header=yes"
8213 $as_echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.$ac_ext >&5
8216 eval "$as_ac_Header=no"
8219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8221 ac_res=`eval 'as_val=${'$as_ac_Header'}
8222 $as_echo "$as_val"'`
8223 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8224 $as_echo "$ac_res" >&6; }
8225 as_val=`eval 'as_val=${'$as_ac_Header'}
8226 $as_echo "$as_val"'`
8227 if test "x$as_val" = x""yes; then
8228 cat >>confdefs.h <<_ACEOF
8229 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8237 # The cast to long int works around a bug in the HP C Compiler
8238 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8239 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8240 # This bug is HP SR number 8606223364.
8241 { $as_echo "$as_me:$LINENO: checking size of long double" >&5
8242 $as_echo_n "checking size of long double... " >&6; }
8243 if test "${ac_cv_sizeof_long_double+set}" = set; then
8244 $as_echo_n "(cached) " >&6
8246 if test "$cross_compiling" = yes; then
8247 # Depending upon the size, compute the lo and hi bounds.
8248 cat >conftest.$ac_ext <<_ACEOF
8251 cat confdefs.h >>conftest.$ac_ext
8252 cat >>conftest.$ac_ext <<_ACEOF
8253 /* end confdefs.h. */
8254 $ac_includes_default
8258 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= 0)];
8265 rm -f conftest.$ac_objext
8266 if { (ac_try="$ac_compile"
8268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8269 *) ac_try_echo=$ac_try;;
8271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8272 $as_echo "$ac_try_echo") >&5
8273 (eval "$ac_compile") 2>conftest.er1
8275 grep -v '^ *+' conftest.er1 >conftest.err
8277 cat conftest.err >&5
8278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); } && {
8280 test -z "$ac_c_werror_flag" ||
8281 test ! -s conftest.err
8282 } && test -s conftest.$ac_objext; then
8285 cat >conftest.$ac_ext <<_ACEOF
8288 cat confdefs.h >>conftest.$ac_ext
8289 cat >>conftest.$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8291 $ac_includes_default
8295 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8302 rm -f conftest.$ac_objext
8303 if { (ac_try="$ac_compile"
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8309 $as_echo "$ac_try_echo") >&5
8310 (eval "$ac_compile") 2>conftest.er1
8312 grep -v '^ *+' conftest.er1 >conftest.err
8314 cat conftest.err >&5
8315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } && {
8317 test -z "$ac_c_werror_flag" ||
8318 test ! -s conftest.err
8319 } && test -s conftest.$ac_objext; then
8320 ac_hi=$ac_mid; break
8322 $as_echo "$as_me: failed program was:" >&5
8323 sed 's/^/| /' conftest.$ac_ext >&5
8325 ac_lo=`expr $ac_mid + 1`
8326 if test $ac_lo -le $ac_mid; then
8330 ac_mid=`expr 2 '*' $ac_mid + 1`
8333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8336 $as_echo "$as_me: failed program was:" >&5
8337 sed 's/^/| /' conftest.$ac_ext >&5
8339 cat >conftest.$ac_ext <<_ACEOF
8342 cat confdefs.h >>conftest.$ac_ext
8343 cat >>conftest.$ac_ext <<_ACEOF
8344 /* end confdefs.h. */
8345 $ac_includes_default
8349 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) < 0)];
8356 rm -f conftest.$ac_objext
8357 if { (ac_try="$ac_compile"
8359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8360 *) ac_try_echo=$ac_try;;
8362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8363 $as_echo "$ac_try_echo") >&5
8364 (eval "$ac_compile") 2>conftest.er1
8366 grep -v '^ *+' conftest.er1 >conftest.err
8368 cat conftest.err >&5
8369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); } && {
8371 test -z "$ac_c_werror_flag" ||
8372 test ! -s conftest.err
8373 } && test -s conftest.$ac_objext; then
8376 cat >conftest.$ac_ext <<_ACEOF
8379 cat confdefs.h >>conftest.$ac_ext
8380 cat >>conftest.$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8382 $ac_includes_default
8386 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= $ac_mid)];
8393 rm -f conftest.$ac_objext
8394 if { (ac_try="$ac_compile"
8396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8397 *) ac_try_echo=$ac_try;;
8399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8400 $as_echo "$ac_try_echo") >&5
8401 (eval "$ac_compile") 2>conftest.er1
8403 grep -v '^ *+' conftest.er1 >conftest.err
8405 cat conftest.err >&5
8406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } && {
8408 test -z "$ac_c_werror_flag" ||
8409 test ! -s conftest.err
8410 } && test -s conftest.$ac_objext; then
8411 ac_lo=$ac_mid; break
8413 $as_echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.$ac_ext >&5
8416 ac_hi=`expr '(' $ac_mid ')' - 1`
8417 if test $ac_mid -le $ac_hi; then
8421 ac_mid=`expr 2 '*' $ac_mid`
8424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8427 $as_echo "$as_me: failed program was:" >&5
8428 sed 's/^/| /' conftest.$ac_ext >&5
8433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8437 # Binary search between lo and hi bounds.
8438 while test "x$ac_lo" != "x$ac_hi"; do
8439 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8440 cat >conftest.$ac_ext <<_ACEOF
8443 cat confdefs.h >>conftest.$ac_ext
8444 cat >>conftest.$ac_ext <<_ACEOF
8445 /* end confdefs.h. */
8446 $ac_includes_default
8450 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8457 rm -f conftest.$ac_objext
8458 if { (ac_try="$ac_compile"
8460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8461 *) ac_try_echo=$ac_try;;
8463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8464 $as_echo "$ac_try_echo") >&5
8465 (eval "$ac_compile") 2>conftest.er1
8467 grep -v '^ *+' conftest.er1 >conftest.err
8469 cat conftest.err >&5
8470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); } && {
8472 test -z "$ac_c_werror_flag" ||
8473 test ! -s conftest.err
8474 } && test -s conftest.$ac_objext; then
8477 $as_echo "$as_me: failed program was:" >&5
8478 sed 's/^/| /' conftest.$ac_ext >&5
8480 ac_lo=`expr '(' $ac_mid ')' + 1`
8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8486 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8487 '') if test "$ac_cv_type_long_double" = yes; then
8488 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8490 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8491 See \`config.log' for more details." >&5
8492 $as_echo "$as_me: error: cannot compute sizeof (long double)
8493 See \`config.log' for more details." >&2;}
8494 { (exit 77); exit 77; }; }; }
8496 ac_cv_sizeof_long_double=0
8500 cat >conftest.$ac_ext <<_ACEOF
8503 cat confdefs.h >>conftest.$ac_ext
8504 cat >>conftest.$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8506 $ac_includes_default
8507 static long int longval () { return (long int) (sizeof (long double)); }
8508 static unsigned long int ulongval () { return (long int) (sizeof (long double)); }
8515 FILE *f = fopen ("conftest.val", "w");
8518 if (((long int) (sizeof (long double))) < 0)
8520 long int i = longval ();
8521 if (i != ((long int) (sizeof (long double))))
8523 fprintf (f, "%ld", i);
8527 unsigned long int i = ulongval ();
8528 if (i != ((long int) (sizeof (long double))))
8530 fprintf (f, "%lu", i);
8532 /* Do not output a trailing newline, as this causes \r\n confusion
8533 on some platforms. */
8534 return ferror (f) || fclose (f) != 0;
8540 rm -f conftest$ac_exeext
8541 if { (ac_try="$ac_link"
8543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8544 *) ac_try_echo=$ac_try;;
8546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8547 $as_echo "$ac_try_echo") >&5
8548 (eval "$ac_link") 2>&5
8550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8552 { (case "(($ac_try" in
8553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8554 *) ac_try_echo=$ac_try;;
8556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8557 $as_echo "$ac_try_echo") >&5
8558 (eval "$ac_try") 2>&5
8560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 ac_cv_sizeof_long_double=`cat conftest.val`
8564 $as_echo "$as_me: program exited with status $ac_status" >&5
8565 $as_echo "$as_me: failed program was:" >&5
8566 sed 's/^/| /' conftest.$ac_ext >&5
8569 if test "$ac_cv_type_long_double" = yes; then
8570 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8572 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8573 See \`config.log' for more details." >&5
8574 $as_echo "$as_me: error: cannot compute sizeof (long double)
8575 See \`config.log' for more details." >&2;}
8576 { (exit 77); exit 77; }; }; }
8578 ac_cv_sizeof_long_double=0
8581 rm -rf conftest.dSYM
8582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8586 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
8587 $as_echo "$ac_cv_sizeof_long_double" >&6; }
8591 cat >>confdefs.h <<_ACEOF
8592 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8596 sizeof_long_double=$ac_cv_sizeof_long_double
8599 ### End of automated tests.
8600 ### Now run sysdeps configure fragments.
8602 # They also can set these variables.
8604 ldd_rewrite_script=no
8605 libc_cv_sysconfdir=$sysconfdir
8606 libc_cv_gcc_unwind_find_fde=no
8609 # Iterate over all the sysdep directories we will use, running their
8610 # configure fragments, and looking for a uname implementation.
8612 for dir in $sysnames; do
8615 *) dest=$srcdir/$dir ;;
8617 if test -r $dest/configure; then
8618 { $as_echo "$as_me:$LINENO: result: running configure fragment for $dir" >&5
8619 $as_echo "running configure fragment for $dir" >&6; }
8623 if test -z "$uname"; then
8624 if test -r $dest/uname.c ||
8625 test -r $dest/uname.S ||
8626 { test -r $dest/syscalls.list &&
8627 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8633 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8634 cat >>confdefs.h <<\_ACEOF
8635 #define EXPORT_UNWIND_FIND_FDE 1
8641 # If we will use the generic uname implementation, we must figure out what
8642 # it will say by examining the system, and write the results in config-name.h.
8643 if test "$uname" = "sysdeps/generic"; then
8645 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8646 if test $uname_sysname != $config_os; then
8647 config_release=`echo $config_os | sed s/$uname_sysname//`
8650 { $as_echo "$as_me:$LINENO: checking OS release for uname" >&5
8651 $as_echo_n "checking OS release for uname... " >&6; }
8652 if test "${libc_cv_uname_release+set}" = set; then
8653 $as_echo_n "(cached) " >&6
8655 if test -r /vmunix; then
8656 kernel_id=`strings /vmunix | grep UNIX`
8657 elif test -r /dynix; then
8658 kernel_id=`strings /dynix | grep DYNIX`
8663 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8664 if test x`echo "$config_release" | sed "s/^$kernel_release//"` \
8665 != x$config_release; then
8666 # The configuration release is a substring of the kernel release.
8667 libc_cv_uname_release=$kernel_release
8668 elif test x$config_release != x; then
8669 libc_cv_uname_release=$config_release
8670 elif test x$kernel_release != x; then
8671 libc_cv_uname_release=$kernel_release
8673 libc_cv_uname_release=unknown
8676 { $as_echo "$as_me:$LINENO: result: $libc_cv_uname_release" >&5
8677 $as_echo "$libc_cv_uname_release" >&6; }
8678 uname_release="$libc_cv_uname_release"
8680 { $as_echo "$as_me:$LINENO: checking OS version for uname" >&5
8681 $as_echo_n "checking OS version for uname... " >&6; }
8682 if test "${libc_cv_uname_version+set}" = set; then
8683 $as_echo_n "(cached) " >&6
8685 if test -r /vmunix; then
8686 kernel_id=`strings /vmunix | grep UNIX`
8687 elif test -r /dynix; then
8688 kernel_id=`strings /dynix | grep DYNIX`
8693 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8694 if test -n "$kernel_version"; then
8695 libc_cv_uname_version="$kernel_version"
8697 libc_cv_uname_version=unknown
8700 { $as_echo "$as_me:$LINENO: result: $libc_cv_uname_version" >&5
8701 $as_echo "$libc_cv_uname_version" >&6; }
8702 uname_version="$libc_cv_uname_version"
8704 config_uname=config-name.h:config-name.in
8706 # For non-generic uname, we don't need to create config-name.h at all.
8710 cat >>confdefs.h <<\_ACEOF
8711 #define USE_IN_LIBIO 1
8715 # Test for old glibc 2.0.x headers so that they can be removed properly
8716 # Search only in includedir.
8717 { $as_echo "$as_me:$LINENO: checking for old glibc 2.0.x headers" >&5
8718 $as_echo_n "checking for old glibc 2.0.x headers... " >&6; }
8719 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
8721 old_glibc_headers=yes
8723 old_glibc_headers=no
8725 { $as_echo "$as_me:$LINENO: result: $old_glibc_headers" >&5
8726 $as_echo "$old_glibc_headers" >&6; }
8727 if test ${old_glibc_headers} = yes; then
8728 { $as_echo "$as_me:$LINENO: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
8729 $as_echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
8730 { $as_echo "$as_me:$LINENO: WARNING: *** be removed." >&5
8731 $as_echo "$as_me: WARNING: *** be removed." >&2;}
8747 if test $elf = yes; then
8748 cat >>confdefs.h <<\_ACEOF
8753 if test $xcoff = yes; then
8754 cat >>confdefs.h <<\_ACEOF
8755 #define HAVE_XCOFF 1
8762 if test $shared = default; then
8766 { $as_echo "$as_me:$LINENO: checking whether -fPIC is default" >&5
8767 $as_echo_n "checking whether -fPIC is default... " >&6; }
8768 if test "${libc_cv_pic_default+set}" = set; then
8769 $as_echo_n "(cached) " >&6
8771 libc_cv_pic_default=yes
8772 cat > conftest.c <<EOF
8773 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8774 # error PIC is default.
8777 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
8778 libc_cv_pic_default=no
8782 { $as_echo "$as_me:$LINENO: result: $libc_cv_pic_default" >&5
8783 $as_echo "$libc_cv_pic_default" >&6; }
8796 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8799 config_makefile=Makefile
8802 VERSION=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
8803 RELEASE=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8807 ac_config_files="$ac_config_files config.make ${config_makefile} ${config_uname}"
8809 ac_config_commands="$ac_config_commands default"
8811 cat >confcache <<\_ACEOF
8812 # This file is a shell script that caches the results of configure
8813 # tests run on this system so they can be shared between configure
8814 # scripts and configure runs, see configure's option --config-cache.
8815 # It is not useful on other systems. If it contains results you don't
8816 # want to keep, you may remove or edit it.
8818 # config.status only pays attention to the cache file if you give it
8819 # the --recheck option to rerun configure.
8821 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8822 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8827 # The following way of writing the cache mishandles newlines in values,
8828 # but we know of no workaround that is simple, portable, and efficient.
8829 # So, we kill variables containing newlines.
8830 # Ultrix sh set writes to stderr and can't be redirected directly,
8831 # and sets the high bit in the cache file unless we assign to the vars.
8833 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8834 eval ac_val=\$$ac_var
8838 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8839 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8842 _ | IFS | as_nl) ;; #(
8843 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8844 *) $as_unset $ac_var ;;
8850 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8851 *${as_nl}ac_space=\ *)
8852 # `set' does not quote correctly, so add quotes (double-quote
8853 # substitution turns \\\\ into \\, and sed turns \\ into \).
8856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8859 # `set' quotes correctly as required by POSIX, so do not add quotes.
8860 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8871 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8873 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8874 if test -w "$cache_file"; then
8875 test "x$cache_file" != "x/dev/null" &&
8876 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8877 $as_echo "$as_me: updating cache $cache_file" >&6;}
8878 cat confcache >$cache_file
8880 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8881 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8886 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8887 # Let make expand exec_prefix.
8888 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8890 DEFS=-DHAVE_CONFIG_H
8894 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8895 # 1. Remove the extension, and $U if already installed.
8896 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8897 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8898 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8899 # will be set to the directory where LIBOBJS objects are built.
8900 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8901 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8905 LTLIBOBJS=$ac_ltlibobjs
8909 : ${CONFIG_STATUS=./config.status}
8911 ac_clean_files_save=$ac_clean_files
8912 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8913 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8914 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8915 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8917 # Generated by $as_me.
8918 # Run this file to recreate the current configuration.
8919 # Compiler output produced by configure, useful for debugging
8920 # configure, is in config.log if it exists.
8925 SHELL=\${CONFIG_SHELL-$SHELL}
8928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8929 ## --------------------- ##
8930 ## M4sh Initialization. ##
8931 ## --------------------- ##
8933 # Be more Bourne compatible
8934 DUALCASE=1; export DUALCASE # for MKS sh
8935 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8938 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8939 # is contrary to our usage. Disable this feature.
8940 alias -g '${1+"$@"}'='"$@"'
8941 setopt NO_GLOB_SUBST
8943 case `(set -o) 2>/dev/null` in
8944 *posix*) set -o posix ;;
8953 # Avoid depending upon Character Ranges.
8954 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8955 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8956 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8957 as_cr_digits='0123456789'
8958 as_cr_alnum=$as_cr_Letters$as_cr_digits
8963 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8964 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8965 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8966 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8967 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8968 as_echo='printf %s\n'
8969 as_echo_n='printf %s'
8971 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8972 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8973 as_echo_n='/usr/ucb/echo -n'
8975 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8976 as_echo_n_body='eval
8980 expr "X$arg" : "X\\(.*\\)$as_nl";
8981 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8983 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8985 export as_echo_n_body
8986 as_echo_n='sh -c $as_echo_n_body as_echo'
8989 as_echo='sh -c $as_echo_body as_echo'
8992 # The user is always right.
8993 if test "${PATH_SEPARATOR+set}" != set; then
8995 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8996 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9001 # Support unset when possible.
9002 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9010 # We need space, tab and new line, in precisely that order. Quoting is
9011 # there to prevent editors from complaining about space-tab.
9012 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9013 # splitting by setting IFS to empty value.)
9016 # Find who we are. Look in the path if we contain no directory separator.
9018 *[\\/]* ) as_myself=$0 ;;
9019 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9023 test -z "$as_dir" && as_dir=.
9024 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9030 # We did not find ourselves, most probably we were run as `sh COMMAND'
9031 # in which case we are not to be found in the path.
9032 if test "x$as_myself" = x; then
9035 if test ! -f "$as_myself"; then
9036 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9037 { (exit 1); exit 1; }
9040 # Work around bugs in pre-3.0 UWIN ksh.
9041 for as_var in ENV MAIL MAILPATH
9042 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9054 # Required to use basename.
9055 if expr a : '\(a\)' >/dev/null 2>&1 &&
9056 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9062 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9063 as_basename=basename
9069 # Name of the executable.
9070 as_me=`$as_basename -- "$0" ||
9071 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9072 X"$0" : 'X\(//\)$' \| \
9073 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9075 sed '/^.*\/\([^/][^/]*\)\/*$/{
9096 test "x$as_lineno_1" != "x$as_lineno_2" &&
9097 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9099 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9100 # uniformly replaced by the line number. The first 'sed' inserts a
9101 # line-number line after each line using $LINENO; the second 'sed'
9102 # does the real work. The second script uses 'N' to pair each
9103 # line-number line with the line containing $LINENO, and appends
9104 # trailing '-' during substitution so that $LINENO is not a special
9106 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9107 # scripts with optimization help from Paolo Bonzini. Blame Lee
9108 # E. McMahon (1931-1989) for sed's syntax. :-)
9120 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9124 chmod +x "$as_me.lineno" ||
9125 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9126 { (exit 1); exit 1; }; }
9128 # Don't try to exec as it changes $[0], causing all sort of problems
9129 # (the dirname of $[0] is not the place where we might find the
9130 # original and so on. Autoconf is especially sensitive to this).
9132 # Exit status is that of the last command.
9137 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9143 ECHO_C= ECHO_N= ECHO_T=
9146 case `echo 'x\c'` in
9147 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9153 if expr a : '\(a\)' >/dev/null 2>&1 &&
9154 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9160 rm -f conf$$ conf$$.exe conf$$.file
9161 if test -d conf$$.dir; then
9162 rm -f conf$$.dir/conf$$.file
9165 mkdir conf$$.dir 2>/dev/null
9167 if (echo >conf$$.file) 2>/dev/null; then
9168 if ln -s conf$$.file conf$$ 2>/dev/null; then
9170 # ... but there are two gotchas:
9171 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9172 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9173 # In both cases, we have to default to `cp -p'.
9174 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9176 elif ln conf$$.file conf$$ 2>/dev/null; then
9184 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9185 rmdir conf$$.dir 2>/dev/null
9187 if mkdir -p . 2>/dev/null; then
9190 test -d ./-p && rmdir ./-p
9194 if test -x / >/dev/null 2>&1; then
9197 if ls -dL / >/dev/null 2>&1; then
9204 if test -d "$1"; then
9210 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9211 ???[sx]*):;;*)false;;esac;fi
9215 as_executable_p=$as_test_x
9217 # Sed expression to map a string onto a valid CPP name.
9218 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9220 # Sed expression to map a string onto a valid variable name.
9221 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9226 # Save the log message, to keep $[0] and so on meaningful, and to
9227 # report actual input values of CONFIG_FILES etc. instead of their
9228 # values after options handling.
9230 This file was extended by GNU C Library $as_me (see version.h), which was
9231 generated by GNU Autoconf 2.63. Invocation command line was
9233 CONFIG_FILES = $CONFIG_FILES
9234 CONFIG_HEADERS = $CONFIG_HEADERS
9235 CONFIG_LINKS = $CONFIG_LINKS
9236 CONFIG_COMMANDS = $CONFIG_COMMANDS
9239 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9244 case $ac_config_files in *"
9245 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9248 case $ac_config_headers in *"
9249 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9254 # Files that config.status was made for.
9255 config_files="$ac_config_files"
9256 config_headers="$ac_config_headers"
9257 config_commands="$ac_config_commands"
9261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9263 \`$as_me' instantiates files from templates according to the
9264 current configuration.
9266 Usage: $0 [OPTION]... [FILE]...
9268 -h, --help print this help, then exit
9269 -V, --version print version number and configuration settings, then exit
9270 -q, --quiet, --silent
9271 do not print progress messages
9272 -d, --debug don't remove temporary files
9273 --recheck update $as_me by reconfiguring in the same conditions
9274 --file=FILE[:TEMPLATE]
9275 instantiate the configuration file FILE
9276 --header=FILE[:TEMPLATE]
9277 instantiate the configuration header FILE
9279 Configuration files:
9282 Configuration headers:
9285 Configuration commands:
9288 Report bugs to <bug-autoconf@gnu.org>."
9291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9293 GNU C Library config.status (see version.h)
9294 configured by $0, generated by GNU Autoconf 2.63,
9295 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9297 Copyright (C) 2008 Free Software Foundation, Inc.
9298 This config.status script is free software; the Free Software Foundation
9299 gives unlimited permission to copy, distribute and modify it."
9305 test -n "\$AWK" || AWK=awk
9308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9309 # The default lists apply if the user does not specify any file.
9315 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9316 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9327 # Handling of the options.
9328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9330 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9331 $as_echo "$ac_cs_version"; exit ;;
9332 --debug | --debu | --deb | --de | --d | -d )
9334 --file | --fil | --fi | --f )
9337 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9339 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
9340 ac_need_defaults=false;;
9341 --header | --heade | --head | --hea )
9344 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9346 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
9347 ac_need_defaults=false;;
9349 # Conflict between --help and --header
9350 { $as_echo "$as_me: error: ambiguous option: $1
9351 Try \`$0 --help' for more information." >&2
9352 { (exit 1); exit 1; }; };;
9353 --help | --hel | -h )
9354 $as_echo "$ac_cs_usage"; exit ;;
9355 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9356 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9360 -*) { $as_echo "$as_me: error: unrecognized option: $1
9361 Try \`$0 --help' for more information." >&2
9362 { (exit 1); exit 1; }; } ;;
9364 *) ac_config_targets="$ac_config_targets $1"
9365 ac_need_defaults=false ;;
9371 ac_configure_extra_args=
9373 if $ac_cs_silent; then
9375 ac_configure_extra_args="$ac_configure_extra_args --silent"
9379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9380 if \$ac_cs_recheck; then
9381 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9383 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9384 CONFIG_SHELL='$SHELL'
9390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9395 ## Running $as_me. ##
9401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9405 config_vars='$config_vars'
9409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9411 # Handling of arguments.
9412 for ac_config_target in $ac_config_targets
9414 case $ac_config_target in
9415 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9416 "config.make") CONFIG_FILES="$CONFIG_FILES config.make" ;;
9417 "${config_makefile}") CONFIG_FILES="$CONFIG_FILES ${config_makefile}" ;;
9418 "${config_uname}") CONFIG_FILES="$CONFIG_FILES ${config_uname}" ;;
9419 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9421 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9422 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9423 { (exit 1); exit 1; }; };;
9428 # If the user did not use the arguments to specify the items to instantiate,
9429 # then the envvar interface is used. Set only those that are not.
9430 # We use the long form for the default assignment because of an extremely
9431 # bizarre bug on SunOS 4.1.3.
9432 if $ac_need_defaults; then
9433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9435 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9438 # Have a temporary directory for convenience. Make it in the build tree
9439 # simply because there is no reason against having it here, and in addition,
9440 # creating and moving files from /tmp can sometimes cause problems.
9441 # Hook for its removal unless debugging.
9442 # Note that there is a small window in which the directory will not be cleaned:
9443 # after its creation but before its name has been assigned to `$tmp'.
9447 trap 'exit_status=$?
9448 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9450 trap '{ (exit 1); exit 1; }' 1 2 13 15
9452 # Create a (secure) tmp directory for tmp files.
9455 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9456 test -n "$tmp" && test -d "$tmp"
9459 tmp=./conf$$-$RANDOM
9460 (umask 077 && mkdir "$tmp")
9463 $as_echo "$as_me: cannot create a temporary directory in ." >&2
9464 { (exit 1); exit 1; }
9467 # Set up the scripts for CONFIG_FILES section.
9468 # No need to generate them if there are no CONFIG_FILES.
9469 # This happens for instance with `./config.status config.h'.
9470 if test -n "$CONFIG_FILES"; then
9474 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9475 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9481 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9486 echo "cat >conf$$subs.awk <<_ACEOF" &&
9487 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9490 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9491 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9492 { (exit 1); exit 1; }; }
9493 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9495 for ac_last_try in false false false false false :; do
9496 . ./conf$$subs.sh ||
9497 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9498 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9499 { (exit 1); exit 1; }; }
9501 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9502 if test $ac_delim_n = $ac_delim_num; then
9504 elif $ac_last_try; then
9505 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9506 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9507 { (exit 1); exit 1; }; }
9509 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9515 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9519 s/^/S["/; s/!.*/"]=/
9529 s/\(.\{148\}\).*/\1/
9531 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9536 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9543 s/\(.\{148\}\).*/\1/
9545 s/["\\]/\\&/g; s/^/"/; s/$/"/
9549 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9554 ' <conf$$subs.awk | sed '
9559 ' >>$CONFIG_STATUS || ac_write_fail=1
9560 rm -f conf$$subs.awk
9561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9563 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9564 for (key in S) S_is_set[key] = 1
9570 nfields = split(line, field, "@")
9572 len = length(field[1])
9573 for (i = 2; i < nfields; i++) {
9575 keylen = length(key)
9576 if (S_is_set[key]) {
9578 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9579 len += length(value) + length(field[++i])
9590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9591 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9592 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9595 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9596 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
9597 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
9598 { (exit 1); exit 1; }; }
9601 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9602 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9603 # trailing colons and then remove the whole line if VPATH becomes empty
9604 # (actually we leave an empty line to preserve line numbers).
9605 if test "x$srcdir" = x.; then
9606 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9610 s/^\([^=]*=[ ]*\):*/\1/
9616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9617 fi # test -n "$CONFIG_FILES"
9619 # Set up the scripts for CONFIG_HEADERS section.
9620 # No need to generate them if there are no CONFIG_HEADERS.
9621 # This happens for instance with `./config.status Makefile'.
9622 if test -n "$CONFIG_HEADERS"; then
9623 cat >"$tmp/defines.awk" <<\_ACAWK ||
9627 # Transform confdefs.h into an awk script `defines.awk', embedded as
9628 # here-document in config.status, that substitutes the proper values into
9629 # config.h.in to produce config.h.
9631 # Create a delimiter string that does not exist in confdefs.h, to ease
9632 # handling of long lines.
9634 for ac_last_try in false false :; do
9635 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9636 if test -z "$ac_t"; then
9638 elif $ac_last_try; then
9639 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
9640 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
9641 { (exit 1); exit 1; }; }
9643 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9647 # For the awk script, D is an array of macro values keyed by name,
9648 # likewise P contains macro parameters if any. Preserve backslash
9649 # newline sequences.
9651 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9653 s/.\{148\}/&'"$ac_delim"'/g
9656 s/^[ ]*#[ ]*define[ ][ ]*/ /
9663 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9665 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9669 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9670 D["\1"]=" \3\\\\\\n"\\/p
9672 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9677 s/.\{148\}/&'"$ac_delim"'/g
9682 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9685 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9687 ' <confdefs.h | sed '
9688 s/'"$ac_delim"'/"\\\
9689 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9692 for (key in D) D_is_set[key] = 1
9695 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9697 split(line, arg, " ")
9698 if (arg[1] == "#") {
9702 defundef = substr(arg[1], 2)
9705 split(mac1, mac2, "(") #)
9707 prefix = substr(line, 1, index(line, defundef) - 1)
9708 if (D_is_set[macro]) {
9709 # Preserve the white space surrounding the "#".
9710 print prefix "define", macro P[macro] D[macro]
9713 # Replace #undef with comments. This is necessary, for example,
9714 # in the case of _POSIX_SOURCE, which is predefined and required
9715 # on some systems where configure will not decide to define it.
9716 if (defundef == "undef") {
9717 print "/*", prefix defundef, macro, "*/"
9725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9726 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9727 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9728 { (exit 1); exit 1; }; }
9729 fi # test -n "$CONFIG_HEADERS"
9732 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9737 :[FHLC]) ac_mode=$ac_tag; continue;;
9739 case $ac_mode$ac_tag in
9741 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9742 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9743 { (exit 1); exit 1; }; };;
9744 :[FH]-) ac_tag=-:-;;
9745 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9762 -) ac_f="$tmp/stdin";;
9763 *) # Look for the file first in the build tree, then in the source tree
9764 # (if the path is not absolute). The absolute path cannot be DOS-style,
9765 # because $ac_f cannot contain `:'.
9769 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9771 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9772 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9773 { (exit 1); exit 1; }; };;
9775 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9776 ac_file_inputs="$ac_file_inputs '$ac_f'"
9779 # Let's still pretend it is `configure' which instantiates (i.e., don't
9780 # use $as_me), people would be surprised to read:
9781 # /* config.h. Generated by config.status. */
9782 configure_input='Generated from '`
9783 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9785 if test x"$ac_file" != x-; then
9786 configure_input="$ac_file. $configure_input"
9787 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9788 $as_echo "$as_me: creating $ac_file" >&6;}
9790 # Neutralize special characters interpreted by sed in replacement strings.
9791 case $configure_input in #(
9792 *\&* | *\|* | *\\* )
9793 ac_sed_conf_input=`$as_echo "$configure_input" |
9794 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9795 *) ac_sed_conf_input=$configure_input;;
9799 *:-:* | *:-) cat >"$tmp/stdin" \
9800 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9801 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9802 { (exit 1); exit 1; }; } ;;
9807 ac_dir=`$as_dirname -- "$ac_file" ||
9808 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9809 X"$ac_file" : 'X\(//\)[^/]' \| \
9810 X"$ac_file" : 'X\(//\)$' \| \
9811 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9812 $as_echo X"$ac_file" |
9813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9832 -*) as_dir=./$as_dir;;
9834 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9838 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9839 *) as_qdir=$as_dir;;
9841 as_dirs="'$as_qdir' $as_dirs"
9842 as_dir=`$as_dirname -- "$as_dir" ||
9843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9844 X"$as_dir" : 'X\(//\)[^/]' \| \
9845 X"$as_dir" : 'X\(//\)$' \| \
9846 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9847 $as_echo X"$as_dir" |
9848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9865 test -d "$as_dir" && break
9867 test -z "$as_dirs" || eval "mkdir $as_dirs"
9868 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9869 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9870 { (exit 1); exit 1; }; }; }
9874 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9876 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9877 # A ".." for each directory in $ac_dir_suffix.
9878 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9879 case $ac_top_builddir_sub in
9880 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9881 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9884 ac_abs_top_builddir=$ac_pwd
9885 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9886 # for backward compatibility:
9887 ac_top_builddir=$ac_top_build_prefix
9890 .) # We are building in place.
9892 ac_top_srcdir=$ac_top_builddir_sub
9893 ac_abs_top_srcdir=$ac_pwd ;;
9894 [\\/]* | ?:[\\/]* ) # Absolute name.
9895 ac_srcdir=$srcdir$ac_dir_suffix;
9896 ac_top_srcdir=$srcdir
9897 ac_abs_top_srcdir=$srcdir ;;
9899 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9900 ac_top_srcdir=$ac_top_build_prefix$srcdir
9901 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9903 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9913 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9914 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9919 # If the template does not know about datarootdir, expand it.
9920 # FIXME: This hack should be removed a few years after 2.60.
9921 ac_datarootdir_hack=; ac_datarootdir_seen=
9934 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9935 *datarootdir*) ac_datarootdir_seen=yes;;
9936 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9937 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9938 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9941 ac_datarootdir_hack='
9942 s&@datadir@&$datadir&g
9943 s&@docdir@&$docdir&g
9944 s&@infodir@&$infodir&g
9945 s&@localedir@&$localedir&g
9946 s&@mandir@&$mandir&g
9947 s&\\\${datarootdir}&$datarootdir&g' ;;
9951 # Neutralize VPATH when `$srcdir' = `.'.
9952 # Shell code in configure.ac might set extrasub.
9953 # FIXME: do we really want to maintain this feature?
9954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9955 ac_sed_extra="$ac_vpsub
9958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9960 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9961 s|@configure_input@|$ac_sed_conf_input|;t t
9962 s&@top_builddir@&$ac_top_builddir_sub&;t t
9963 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9964 s&@srcdir@&$ac_srcdir&;t t
9965 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9966 s&@top_srcdir@&$ac_top_srcdir&;t t
9967 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9968 s&@builddir@&$ac_builddir&;t t
9969 s&@abs_builddir@&$ac_abs_builddir&;t t
9970 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9971 s&@INSTALL@&$ac_INSTALL&;t t
9972 $ac_datarootdir_hack
9974 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9975 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9976 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9977 { (exit 1); exit 1; }; }
9979 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9980 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9981 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9982 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9983 which seems to be undefined. Please make sure it is defined." >&5
9984 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9985 which seems to be undefined. Please make sure it is defined." >&2;}
9989 -) cat "$tmp/out" && rm -f "$tmp/out";;
9990 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9992 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9993 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9994 { (exit 1); exit 1; }; }
10000 if test x"$ac_file" != x-; then
10002 $as_echo "/* $configure_input */" \
10003 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10004 } >"$tmp/config.h" \
10005 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10006 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10007 { (exit 1); exit 1; }; }
10008 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10009 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10010 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10013 mv "$tmp/config.h" "$ac_file" \
10014 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10015 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10016 { (exit 1); exit 1; }; }
10019 $as_echo "/* $configure_input */" \
10020 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10021 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10022 $as_echo "$as_me: error: could not create -" >&2;}
10023 { (exit 1); exit 1; }; }
10027 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10028 $as_echo "$as_me: executing $ac_file commands" >&6;}
10033 case $ac_file$ac_mode in
10035 case $CONFIG_FILES in *config.make*)
10036 echo "$config_vars" >> config.make;;
10038 test -d bits || mkdir bits ;;
10044 { (exit 0); exit 0; }
10046 chmod +x $CONFIG_STATUS
10047 ac_clean_files=$ac_clean_files_save
10049 test $ac_write_fail = 0 ||
10050 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10051 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10052 { (exit 1); exit 1; }; }
10055 # configure is writing to config.log, and then calls config.status.
10056 # config.status does its own redirection, appending to config.log.
10057 # Unfortunately, on DOS this fails, as config.log is still kept open
10058 # by configure, so config.status won't be able to write to it; its
10059 # output is simply discarded. So we exec the FD to /dev/null,
10060 # effectively closing config.log, so it can be properly (re)opened and
10061 # appended to by config.status. When coming back to configure, we
10062 # need to make the FD available again.
10063 if test "$no_create" != yes; then
10065 ac_config_status_args=
10066 test "$silent" = yes &&
10067 ac_config_status_args="$ac_config_status_args --quiet"
10069 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10071 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10072 # would make configure fail if this is the last instruction.
10073 $ac_cs_success || { (exit 1); exit 1; }
10077 # CONFIG_SUBDIRS section.
10079 if test "$no_recursion" != yes; then
10081 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10082 # so they do not pile up.
10083 ac_sub_configure_args=
10085 eval "set x $ac_configure_args"
10089 if test -n "$ac_prev"; then
10094 -cache-file | --cache-file | --cache-fil | --cache-fi \
10095 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10096 ac_prev=cache_file ;;
10097 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10098 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10101 --config-cache | -C)
10103 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10105 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10107 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10109 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10111 --disable-option-checking)
10115 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10117 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
10121 # Always prepend --prefix to ensure using the same prefix
10122 # in subdir configurations.
10123 ac_arg="--prefix=$prefix"
10125 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10127 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10130 if test "$silent" = yes; then
10131 ac_sub_configure_args="--silent $ac_sub_configure_args"
10134 # Always prepend --disable-option-checking to silence warnings, since
10135 # different subdirs can have different --enable and --with options.
10136 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10139 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10141 # Do not complain, so a configure script can configure whichever
10142 # parts of a large source tree are present.
10143 test -d "$srcdir/$ac_dir" || continue
10145 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10146 $as_echo "$as_me:$LINENO: $ac_msg" >&5
10147 $as_echo "$ac_msg" >&6
10150 -*) as_dir=./$as_dir;;
10152 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10156 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10157 *) as_qdir=$as_dir;;
10159 as_dirs="'$as_qdir' $as_dirs"
10160 as_dir=`$as_dirname -- "$as_dir" ||
10161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10162 X"$as_dir" : 'X\(//\)[^/]' \| \
10163 X"$as_dir" : 'X\(//\)$' \| \
10164 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10165 $as_echo X"$as_dir" |
10166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10170 /^X\(\/\/\)[^/].*/{
10183 test -d "$as_dir" && break
10185 test -z "$as_dirs" || eval "mkdir $as_dirs"
10186 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10187 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10188 { (exit 1); exit 1; }; }; }
10192 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10194 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10195 # A ".." for each directory in $ac_dir_suffix.
10196 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10197 case $ac_top_builddir_sub in
10198 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10199 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10202 ac_abs_top_builddir=$ac_pwd
10203 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10204 # for backward compatibility:
10205 ac_top_builddir=$ac_top_build_prefix
10208 .) # We are building in place.
10210 ac_top_srcdir=$ac_top_builddir_sub
10211 ac_abs_top_srcdir=$ac_pwd ;;
10212 [\\/]* | ?:[\\/]* ) # Absolute name.
10213 ac_srcdir=$srcdir$ac_dir_suffix;
10214 ac_top_srcdir=$srcdir
10215 ac_abs_top_srcdir=$srcdir ;;
10216 *) # Relative name.
10217 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10218 ac_top_srcdir=$ac_top_build_prefix$srcdir
10219 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10221 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10226 # Check for guested configure; otherwise get Cygnus style configure.
10227 if test -f "$ac_srcdir/configure.gnu"; then
10228 ac_sub_configure=$ac_srcdir/configure.gnu
10229 elif test -f "$ac_srcdir/configure"; then
10230 ac_sub_configure=$ac_srcdir/configure
10231 elif test -f "$ac_srcdir/configure.in"; then
10232 # This should be Cygnus configure.
10233 ac_sub_configure=$ac_aux_dir/configure
10235 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10236 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10240 # The recursion is here.
10241 if test -n "$ac_sub_configure"; then
10242 # Make the cache file name correct relative to the subdirectory.
10243 case $cache_file in
10244 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10245 *) # Relative name.
10246 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10249 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10250 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10251 # The eval makes quoting arguments work.
10252 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10253 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10254 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10255 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10256 { (exit 1); exit 1; }; }
10262 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10263 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10264 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}