2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 case \`(set -o) 2>/dev/null\` in #(
157 as_required="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171 exitcode=1; echo positional parameters were not saved.
173 test x\$exitcode = x0 || exit 1"
174 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1"
179 if (eval "$as_required") 2>/dev/null; then :
184 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
189 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 test -z "$as_dir" && as_dir=.
196 for as_base in sh bash ksh sh5; do
197 # Try only shells that exist, to save several forks.
198 as_shell=$as_dir/$as_base
199 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 CONFIG_SHELL=$as_shell as_have_required=yes
202 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
212 CONFIG_SHELL=$SHELL as_have_required=yes
217 if test "x$CONFIG_SHELL" != x; then :
218 # We cannot yet assume a decent shell, so we have to provide a
219 # neutralization value for shells without unset; and this also
220 # works around shells that cannot unset nonexistent variables.
221 # Preserve -v and -x to the replacement shell.
224 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 *v*x* | *x*v* ) as_opts=-vx ;;
232 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
235 if test x$as_have_required = xno; then :
236 $as_echo "$0: This script requires a shell more modern than all"
237 $as_echo "$0: the shells that I found on your system."
238 if test x${ZSH_VERSION+set} = xset ; then
239 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
242 $as_echo "$0: Please tell bug-autoconf@gnu.org and glibc about your
243 $0: system, including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='GNU C Library'
562 PACKAGE_TARNAME='c-library'
563 PACKAGE_VERSION='(see version.h)'
564 PACKAGE_STRING='GNU C Library (see version.h)'
565 PACKAGE_BUGREPORT='glibc'
566 PACKAGE_URL='http://www.gnu.org/software/c-library/'
568 ac_unique_file="include/features.h"
569 enable_option_checking=no
570 # Factoring default headers for most tests.
571 ac_includes_default="\
573 #ifdef HAVE_SYS_TYPES_H
574 # include <sys/types.h>
576 #ifdef HAVE_SYS_STAT_H
577 # include <sys/stat.h>
583 # ifdef HAVE_STDLIB_H
588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
593 #ifdef HAVE_STRINGS_H
594 # include <strings.h>
596 #ifdef HAVE_INTTYPES_H
597 # include <inttypes.h>
606 ac_subst_vars='LTLIBOBJS
625 libc_cv_cc_novzeroupper
628 libc_cv_cpp_asm_debuginfo
629 libc_cv_forced_unwind
635 libc_cv_gcc_unwind_find_fde
643 libc_cv_cc_submachine
646 libc_cv_have_initfini
656 libc_cv_libgcc_s_suffix
658 libc_cv_cc_with_libunwind
668 libc_cv_gcc_static_libgcc
749 program_transform_name
762 enable_option_checking
781 enable_stackguard_randomization
795 ac_precious_vars='build_alias
810 # Initialize some variables set by options.
812 ac_init_version=false
813 ac_unrecognized_opts=
815 # The variables have the same names as the options, with
816 # dashes changed to underlines.
824 program_transform_name=s,x,x,
832 # Installation directory options.
833 # These are left unexpanded so users can "make install exec_prefix=/foo"
834 # and all the variables that are supposed to be based on exec_prefix
835 # by default will actually change.
836 # Use braces instead of parens because sh, perl, etc. also accept them.
837 # (The list follows the same order as the GNU Coding Standards.)
838 bindir='${exec_prefix}/bin'
839 sbindir='${exec_prefix}/sbin'
840 libexecdir='${exec_prefix}/libexec'
841 datarootdir='${prefix}/share'
842 datadir='${datarootdir}'
843 sysconfdir='${prefix}/etc'
844 sharedstatedir='${prefix}/com'
845 localstatedir='${prefix}/var'
846 includedir='${prefix}/include'
847 oldincludedir='/usr/include'
848 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
849 infodir='${datarootdir}/info'
854 libdir='${exec_prefix}/lib'
855 localedir='${datarootdir}/locale'
856 mandir='${datarootdir}/man'
862 # If the previous option needs an argument, assign it.
863 if test -n "$ac_prev"; then
864 eval $ac_prev=\$ac_option
870 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875 # Accept the important Cygnus configure options, so we can diagnose typos.
877 case $ac_dashdash$ac_option in
881 -bindir | --bindir | --bindi | --bind | --bin | --bi)
883 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
886 -build | --build | --buil | --bui | --bu)
887 ac_prev=build_alias ;;
888 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
889 build_alias=$ac_optarg ;;
891 -cache-file | --cache-file | --cache-fil | --cache-fi \
892 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
893 ac_prev=cache_file ;;
894 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
895 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
896 cache_file=$ac_optarg ;;
899 cache_file=config.cache ;;
901 -datadir | --datadir | --datadi | --datad)
903 -datadir=* | --datadir=* | --datadi=* | --datad=*)
904 datadir=$ac_optarg ;;
906 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
907 | --dataroo | --dataro | --datar)
908 ac_prev=datarootdir ;;
909 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
910 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
911 datarootdir=$ac_optarg ;;
913 -disable-* | --disable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
927 eval enable_$ac_useropt=no ;;
929 -docdir | --docdir | --docdi | --doc | --do)
931 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
934 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
936 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
939 -enable-* | --enable-*)
940 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943 as_fn_error $? "invalid feature name: $ac_useropt"
944 ac_useropt_orig=$ac_useropt
945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
951 ac_unrecognized_sep=', ';;
953 eval enable_$ac_useropt=\$ac_optarg ;;
955 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
956 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
957 | --exec | --exe | --ex)
958 ac_prev=exec_prefix ;;
959 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
960 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
961 | --exec=* | --exe=* | --ex=*)
962 exec_prefix=$ac_optarg ;;
964 -gas | --gas | --ga | --g)
965 # Obsolete; use --with-gas.
968 -help | --help | --hel | --he | -h)
970 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
971 ac_init_help=recursive ;;
972 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
973 ac_init_help=short ;;
975 -host | --host | --hos | --ho)
976 ac_prev=host_alias ;;
977 -host=* | --host=* | --hos=* | --ho=*)
978 host_alias=$ac_optarg ;;
980 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
982 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
984 htmldir=$ac_optarg ;;
986 -includedir | --includedir | --includedi | --included | --include \
987 | --includ | --inclu | --incl | --inc)
988 ac_prev=includedir ;;
989 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
990 | --includ=* | --inclu=* | --incl=* | --inc=*)
991 includedir=$ac_optarg ;;
993 -infodir | --infodir | --infodi | --infod | --info | --inf)
995 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
996 infodir=$ac_optarg ;;
998 -libdir | --libdir | --libdi | --libd)
1000 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1001 libdir=$ac_optarg ;;
1003 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1004 | --libexe | --libex | --libe)
1005 ac_prev=libexecdir ;;
1006 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1007 | --libexe=* | --libex=* | --libe=*)
1008 libexecdir=$ac_optarg ;;
1010 -localedir | --localedir | --localedi | --localed | --locale)
1011 ac_prev=localedir ;;
1012 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1013 localedir=$ac_optarg ;;
1015 -localstatedir | --localstatedir | --localstatedi | --localstated \
1016 | --localstate | --localstat | --localsta | --localst | --locals)
1017 ac_prev=localstatedir ;;
1018 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1019 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1020 localstatedir=$ac_optarg ;;
1022 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1024 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1025 mandir=$ac_optarg ;;
1027 -nfp | --nfp | --nf)
1028 # Obsolete; use --without-fp.
1031 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1032 | --no-cr | --no-c | -n)
1035 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1036 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1039 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1040 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1041 | --oldin | --oldi | --old | --ol | --o)
1042 ac_prev=oldincludedir ;;
1043 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1044 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1045 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1046 oldincludedir=$ac_optarg ;;
1048 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1050 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1051 prefix=$ac_optarg ;;
1053 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1054 | --program-pre | --program-pr | --program-p)
1055 ac_prev=program_prefix ;;
1056 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1057 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1058 program_prefix=$ac_optarg ;;
1060 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1061 | --program-suf | --program-su | --program-s)
1062 ac_prev=program_suffix ;;
1063 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1064 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1065 program_suffix=$ac_optarg ;;
1067 -program-transform-name | --program-transform-name \
1068 | --program-transform-nam | --program-transform-na \
1069 | --program-transform-n | --program-transform- \
1070 | --program-transform | --program-transfor \
1071 | --program-transfo | --program-transf \
1072 | --program-trans | --program-tran \
1073 | --progr-tra | --program-tr | --program-t)
1074 ac_prev=program_transform_name ;;
1075 -program-transform-name=* | --program-transform-name=* \
1076 | --program-transform-nam=* | --program-transform-na=* \
1077 | --program-transform-n=* | --program-transform-=* \
1078 | --program-transform=* | --program-transfor=* \
1079 | --program-transfo=* | --program-transf=* \
1080 | --program-trans=* | --program-tran=* \
1081 | --progr-tra=* | --program-tr=* | --program-t=*)
1082 program_transform_name=$ac_optarg ;;
1084 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1086 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1087 pdfdir=$ac_optarg ;;
1089 -psdir | --psdir | --psdi | --psd | --ps)
1091 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1095 | -silent | --silent | --silen | --sile | --sil)
1098 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1100 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1102 sbindir=$ac_optarg ;;
1104 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1105 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1106 | --sharedst | --shareds | --shared | --share | --shar \
1108 ac_prev=sharedstatedir ;;
1109 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1110 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1111 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1113 sharedstatedir=$ac_optarg ;;
1115 -site | --site | --sit)
1117 -site=* | --site=* | --sit=*)
1120 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1122 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1123 srcdir=$ac_optarg ;;
1125 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1126 | --syscon | --sysco | --sysc | --sys | --sy)
1127 ac_prev=sysconfdir ;;
1128 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1129 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1130 sysconfdir=$ac_optarg ;;
1132 -target | --target | --targe | --targ | --tar | --ta | --t)
1133 ac_prev=target_alias ;;
1134 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1135 target_alias=$ac_optarg ;;
1137 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1140 -version | --version | --versio | --versi | --vers | -V)
1141 ac_init_version=: ;;
1144 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147 as_fn_error $? "invalid package name: $ac_useropt"
1148 ac_useropt_orig=$ac_useropt
1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1155 ac_unrecognized_sep=', ';;
1157 eval with_$ac_useropt=\$ac_optarg ;;
1159 -without-* | --without-*)
1160 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1163 as_fn_error $? "invalid package name: $ac_useropt"
1164 ac_useropt_orig=$ac_useropt
1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1171 ac_unrecognized_sep=', ';;
1173 eval with_$ac_useropt=no ;;
1176 # Obsolete; use --with-x.
1179 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1180 | --x-incl | --x-inc | --x-in | --x-i)
1181 ac_prev=x_includes ;;
1182 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1183 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1184 x_includes=$ac_optarg ;;
1186 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1187 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1188 ac_prev=x_libraries ;;
1189 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1190 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1191 x_libraries=$ac_optarg ;;
1193 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1194 Try \`$0 --help' for more information"
1198 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1199 # Reject names that are not valid shell variable names.
1200 case $ac_envvar in #(
1201 '' | [0-9]* | *[!_$as_cr_alnum]* )
1202 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1204 eval $ac_envvar=\$ac_optarg
1205 export $ac_envvar ;;
1208 # FIXME: should be removed in autoconf 3.0.
1209 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1211 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1212 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1218 if test -n "$ac_prev"; then
1219 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1220 as_fn_error $? "missing argument to $ac_option"
1223 if test -n "$ac_unrecognized_opts"; then
1224 case $enable_option_checking in
1226 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1227 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1231 # Check all directory arguments for consistency.
1232 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1233 datadir sysconfdir sharedstatedir localstatedir includedir \
1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1235 libdir localedir mandir
1237 eval ac_val=\$$ac_var
1238 # Remove trailing slashes.
1241 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1242 eval $ac_var=\$ac_val;;
1244 # Be sure to have absolute directory names.
1246 [\\/$]* | ?:[\\/]* ) continue;;
1247 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1249 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1252 # There might be people who depend on the old broken behavior: `$host'
1253 # used to hold the argument of --host etc.
1254 # FIXME: To remove some day.
1257 target=$target_alias
1259 # FIXME: To remove some day.
1260 if test "x$host_alias" != x; then
1261 if test "x$build_alias" = x; then
1262 cross_compiling=maybe
1263 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1264 If a cross compiler is detected then cross compile mode will be used" >&2
1265 elif test "x$build_alias" != "x$host_alias"; then
1271 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1273 test "$silent" = yes && exec 6>/dev/null
1276 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1277 ac_ls_di=`ls -di .` &&
1278 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1279 as_fn_error $? "working directory cannot be determined"
1280 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1281 as_fn_error $? "pwd does not report name of working directory"
1284 # Find the source files, if location was not specified.
1285 if test -z "$srcdir"; then
1286 ac_srcdir_defaulted=yes
1287 # Try the directory containing this script, then the parent directory.
1288 ac_confdir=`$as_dirname -- "$as_myself" ||
1289 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1290 X"$as_myself" : 'X\(//\)[^/]' \| \
1291 X"$as_myself" : 'X\(//\)$' \| \
1292 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1293 $as_echo X"$as_myself" |
1294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1312 if test ! -r "$srcdir/$ac_unique_file"; then
1316 ac_srcdir_defaulted=no
1318 if test ! -r "$srcdir/$ac_unique_file"; then
1319 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1320 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1322 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1324 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1326 # When building in place, set srcdir=.
1327 if test "$ac_abs_confdir" = "$ac_pwd"; then
1330 # Remove unnecessary trailing slashes from srcdir.
1331 # Double slashes in file names in object file debugging info
1332 # mess up M-x gdb in Emacs.
1334 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1336 for ac_var in $ac_precious_vars; do
1337 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1338 eval ac_env_${ac_var}_value=\$${ac_var}
1339 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1340 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1344 # Report the --help message.
1346 if test "$ac_init_help" = "long"; then
1347 # Omit some internal or obsolete options to make the list less imposing.
1348 # This message is too long to be a string in the A/UX 3.1 sh.
1350 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1352 Usage: $0 [OPTION]... [VAR=VALUE]...
1354 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1355 VAR=VALUE. See below for descriptions of some of the useful variables.
1357 Defaults for the options are specified in brackets.
1360 -h, --help display this help and exit
1361 --help=short display options specific to this package
1362 --help=recursive display the short help of all the included packages
1363 -V, --version display version information and exit
1364 -q, --quiet, --silent do not print \`checking ...' messages
1365 --cache-file=FILE cache test results in FILE [disabled]
1366 -C, --config-cache alias for \`--cache-file=config.cache'
1367 -n, --no-create do not create output files
1368 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1370 Installation directories:
1371 --prefix=PREFIX install architecture-independent files in PREFIX
1372 [$ac_default_prefix]
1373 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1376 By default, \`make install' will install all the files in
1377 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1378 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1379 for instance \`--prefix=\$HOME'.
1381 For better control, use the options below.
1383 Fine tuning of the installation directories:
1384 --bindir=DIR user executables [EPREFIX/bin]
1385 --sbindir=DIR system admin executables [EPREFIX/sbin]
1386 --libexecdir=DIR program executables [EPREFIX/libexec]
1387 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1388 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1389 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1390 --libdir=DIR object code libraries [EPREFIX/lib]
1391 --includedir=DIR C header files [PREFIX/include]
1392 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1393 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1394 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1395 --infodir=DIR info documentation [DATAROOTDIR/info]
1396 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1397 --mandir=DIR man documentation [DATAROOTDIR/man]
1398 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1399 --htmldir=DIR html documentation [DOCDIR]
1400 --dvidir=DIR dvi documentation [DOCDIR]
1401 --pdfdir=DIR pdf documentation [DOCDIR]
1402 --psdir=DIR ps documentation [DOCDIR]
1408 --build=BUILD configure for building on BUILD [guessed]
1409 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1413 if test -n "$ac_init_help"; then
1414 case $ac_init_help in
1415 short | recursive ) echo "Configuration of GNU C Library (see version.h):";;
1420 --disable-option-checking ignore unrecognized --enable/--with options
1421 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1422 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1423 --disable-sanity-checks really do not use threads (should not be used except
1424 in special situations) [default=yes]
1425 --enable-check-abi do "make check-abi" in "make check" (no/warn/yes)
1427 --enable-shared build shared library [default=yes if GNU ld & ELF]
1428 --enable-profile build profiled library [default=no]
1429 --enable-omitfp build undebuggable optimized library [default=no]
1430 --enable-bounded build with runtime bounds checking [default=no]
1431 --disable-versioning do not include versioning information in the library
1432 objects [default=yes if supported]
1433 --enable-oldest-abi=ABI configure the oldest ABI supported [e.g. 2.2]
1434 [default=glibc default]
1435 --enable-stackguard-randomization
1436 initialize __stack_chk_guard canary with a random
1437 number at program start
1438 --enable-add-ons[=DIRS...]
1439 configure and build add-ons in DIR1,DIR2,... search
1440 for add-ons if no parameter given
1441 --disable-hidden-plt do not hide internal function calls to avoid PLT
1442 --enable-bind-now disable lazy relocations in DSOs
1443 --enable-static-nss build static NSS modules [default=no]
1444 --disable-force-install don't force installation of files from this package,
1445 even if they are older than the installed files
1446 --enable-kernel=VERSION compile for compatibility with kernel not older than
1448 --enable-all-warnings enable all useful warnings gcc can issue
1449 --enable-multi-arch enable single DSO with optimizations for multiple
1451 --enable-nss-crypt enable libcrypt to use nss
1454 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1455 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1456 --with-gd=DIR find libgd include dir and library with prefix DIR
1457 --with-gd-include=DIR find libgd include files in DIR
1458 --with-gd-lib=DIR find libgd library files in DIR
1459 --with-fp if using floating-point hardware [default=yes]
1460 --with-binutils=PATH specify location of binutils (as and ld)
1461 --with-elf if using the ELF object format
1462 --with-selinux if building with SELinux support
1463 --with-xcoff if using the XCOFF object format
1464 --without-cvs if CVS should not be used
1465 --with-headers=PATH location of system headers to use (for example
1466 /usr/src/linux/include) [default=compiler default]
1467 --with-tls enable support for TLS
1468 --without-__thread do not use TLS features even when supporting them
1469 --with-cpu=CPU select code for CPU variant
1471 Some influential environment variables:
1472 CC C compiler command
1473 CFLAGS C compiler flags
1474 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1475 nonstandard directory <lib dir>
1476 LIBS libraries to pass to the linker, e.g. -l<library>
1477 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1478 you have headers in a nonstandard directory <include dir>
1480 CXX C++ compiler command
1481 CXXFLAGS C++ compiler flags
1483 Use these variables to override the choices made by `configure' or to help
1484 it to find libraries and programs with nonstandard names/locations.
1486 Report bugs to <glibc>.
1487 GNU C Library home page: <http://www.gnu.org/software/c-library/>.
1488 General help using GNU software: <http://www.gnu.org/gethelp/>.
1493 if test "$ac_init_help" = "recursive"; then
1494 # If there are subdirs, report their specific --help.
1495 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1496 test -d "$ac_dir" ||
1497 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1505 # A ".." for each directory in $ac_dir_suffix.
1506 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1507 case $ac_top_builddir_sub in
1508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1512 ac_abs_top_builddir=$ac_pwd
1513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1514 # for backward compatibility:
1515 ac_top_builddir=$ac_top_build_prefix
1518 .) # We are building in place.
1520 ac_top_srcdir=$ac_top_builddir_sub
1521 ac_abs_top_srcdir=$ac_pwd ;;
1522 [\\/]* | ?:[\\/]* ) # Absolute name.
1523 ac_srcdir=$srcdir$ac_dir_suffix;
1524 ac_top_srcdir=$srcdir
1525 ac_abs_top_srcdir=$srcdir ;;
1527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1528 ac_top_srcdir=$ac_top_build_prefix$srcdir
1529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1533 cd "$ac_dir" || { ac_status=$?; continue; }
1534 # Check for guested configure.
1535 if test -f "$ac_srcdir/configure.gnu"; then
1537 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1538 elif test -f "$ac_srcdir/configure"; then
1540 $SHELL "$ac_srcdir/configure" --help=recursive
1542 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1544 cd "$ac_pwd" || { ac_status=$?; break; }
1548 test -n "$ac_init_help" && exit $ac_status
1549 if $ac_init_version; then
1551 GNU C Library configure (see version.h)
1552 generated by GNU Autoconf 2.68
1554 Copyright (C) 2010 Free Software Foundation, Inc.
1555 This configure script is free software; the Free Software Foundation
1556 gives unlimited permission to copy, distribute and modify it.
1561 ## ------------------------ ##
1562 ## Autoconf initialization. ##
1563 ## ------------------------ ##
1565 # ac_fn_c_try_compile LINENO
1566 # --------------------------
1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1568 ac_fn_c_try_compile ()
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 rm -f conftest.$ac_objext
1572 if { { ac_try="$ac_compile"
1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_compile") 2>conftest.err
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } && {
1588 test -z "$ac_c_werror_flag" ||
1589 test ! -s conftest.err
1590 } && test -s conftest.$ac_objext; then :
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 as_fn_set_status $ac_retval
1601 } # ac_fn_c_try_compile
1603 # ac_fn_c_try_cpp LINENO
1604 # ----------------------
1605 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 if { { ac_try="$ac_cpp conftest.$ac_ext"
1611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1612 *) ac_try_echo=$ac_try;;
1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615 $as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1618 if test -s conftest.err; then
1619 grep -v '^ *+' conftest.err >conftest.er1
1620 cat conftest.er1 >&5
1621 mv -f conftest.er1 conftest.err
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } > conftest.i && {
1625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1626 test ! -s conftest.err
1630 $as_echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.$ac_ext >&5
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 as_fn_set_status $ac_retval
1640 # ac_fn_cxx_try_compile LINENO
1641 # ----------------------------
1642 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1643 ac_fn_cxx_try_compile ()
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 rm -f conftest.$ac_objext
1647 if { { ac_try="$ac_compile"
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_compile") 2>conftest.err
1656 if test -s conftest.err; then
1657 grep -v '^ *+' conftest.err >conftest.er1
1658 cat conftest.er1 >&5
1659 mv -f conftest.er1 conftest.err
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && {
1663 test -z "$ac_cxx_werror_flag" ||
1664 test ! -s conftest.err
1665 } && test -s conftest.$ac_objext; then :
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 as_fn_set_status $ac_retval
1676 } # ac_fn_cxx_try_compile
1678 # ac_fn_c_try_link LINENO
1679 # -----------------------
1680 # Try to link conftest.$ac_ext, and return whether this succeeded.
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 rm -f conftest.$ac_objext conftest$ac_exeext
1685 if { { ac_try="$ac_link"
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_link") 2>conftest.err
1694 if test -s conftest.err; then
1695 grep -v '^ *+' conftest.err >conftest.er1
1696 cat conftest.er1 >&5
1697 mv -f conftest.er1 conftest.err
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } && {
1701 test -z "$ac_c_werror_flag" ||
1702 test ! -s conftest.err
1703 } && test -s conftest$ac_exeext && {
1704 test "$cross_compiling" = yes ||
1705 $as_test_x conftest$ac_exeext
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1714 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1715 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1716 # interfere with the next link command; also delete a directory that is
1717 # left behind by Apple's compiler. We do this before executing the actions.
1718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 as_fn_set_status $ac_retval
1722 } # ac_fn_c_try_link
1724 # ac_fn_c_try_run LINENO
1725 # ----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1727 # that executables *can* be run.
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 if { { ac_try="$ac_link"
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>&5
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1742 { { case "(($ac_try" in
1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_try") 2>&5
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; }; }; then :
1754 $as_echo "$as_me: program exited with status $ac_status" >&5
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.$ac_ext >&5
1758 ac_retval=$ac_status
1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 as_fn_set_status $ac_retval
1766 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1767 # --------------------------------------------
1768 # Tries to find the compile-time value of EXPR in a program that includes
1769 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1771 ac_fn_c_compute_int ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if test "$cross_compiling" = yes; then
1775 # Depending upon the size, compute the lo and hi bounds.
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1782 static int test_array [1 - 2 * !(($2) >= 0)];
1789 if ac_fn_c_try_compile "$LINENO"; then :
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1798 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1805 if ac_fn_c_try_compile "$LINENO"; then :
1806 ac_hi=$ac_mid; break
1808 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1809 if test $ac_lo -le $ac_mid; then
1813 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1824 static int test_array [1 - 2 * !(($2) < 0)];
1831 if ac_fn_c_try_compile "$LINENO"; then :
1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1840 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1847 if ac_fn_c_try_compile "$LINENO"; then :
1848 ac_lo=$ac_mid; break
1850 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1851 if test $ac_mid -le $ac_hi; then
1855 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1865 # Binary search between lo and hi bounds.
1866 while test "x$ac_lo" != "x$ac_hi"; do
1867 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1874 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1881 if ac_fn_c_try_compile "$LINENO"; then :
1884 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1896 static long int longval () { return $2; }
1897 static unsigned long int ulongval () { return $2; }
1904 FILE *f = fopen ("conftest.val", "w");
1909 long int i = longval ();
1912 fprintf (f, "%ld", i);
1916 unsigned long int i = ulongval ();
1919 fprintf (f, "%lu", i);
1921 /* Do not output a trailing newline, as this causes \r\n confusion
1922 on some platforms. */
1923 return ferror (f) || fclose (f) != 0;
1929 if ac_fn_c_try_run "$LINENO"; then :
1930 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1935 conftest.$ac_objext conftest.beam conftest.$ac_ext
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 as_fn_set_status $ac_retval
1942 } # ac_fn_c_compute_int
1944 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1945 # -------------------------------------------------------
1946 # Tests whether HEADER exists and can be compiled using the include files in
1947 # INCLUDES, setting the cache variable VAR accordingly.
1948 ac_fn_c_check_header_compile ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1961 if ac_fn_c_try_compile "$LINENO"; then :
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 } # ac_fn_c_check_header_compile
1974 cat >config.log <<_ACEOF
1975 This file contains any messages produced by compilers while
1976 running configure, to aid debugging if configure makes a mistake.
1978 It was created by GNU C Library $as_me (see version.h), which was
1979 generated by GNU Autoconf 2.68. Invocation command line was
1991 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1992 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1993 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1994 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1995 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1997 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1998 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2000 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2001 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2002 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2003 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2004 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2005 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2006 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 test -z "$as_dir" && as_dir=.
2015 $as_echo "PATH: $as_dir"
2031 # Keep a trace of the command line.
2032 # Strip out --no-create and --no-recursion so they do not pile up.
2033 # Strip out --silent because we don't want to record it for future runs.
2034 # Also quote any args containing shell meta-characters.
2035 # Make two passes to allow for proper duplicate-argument suppression.
2039 ac_must_keep_next=false
2045 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2047 | -silent | --silent | --silen | --sile | --sil)
2050 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2053 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2055 as_fn_append ac_configure_args1 " '$ac_arg'"
2056 if test $ac_must_keep_next = true; then
2057 ac_must_keep_next=false # Got value, back to normal.
2060 *=* | --config-cache | -C | -disable-* | --disable-* \
2061 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2062 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2063 | -with-* | --with-* | -without-* | --without-* | --x)
2064 case "$ac_configure_args0 " in
2065 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2068 -* ) ac_must_keep_next=true ;;
2071 as_fn_append ac_configure_args " '$ac_arg'"
2076 { ac_configure_args0=; unset ac_configure_args0;}
2077 { ac_configure_args1=; unset ac_configure_args1;}
2079 # When interrupted or exit'd, cleanup temporary files, and complete
2080 # config.log. We remove comments because anyway the quotes in there
2081 # would cause problems or look ugly.
2082 # WARNING: Use '\'' to represent an apostrophe within the trap.
2083 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2084 trap 'exit_status=$?
2085 # Save into config.log some information that might help in debugging.
2089 $as_echo "## ---------------- ##
2090 ## Cache variables. ##
2091 ## ---------------- ##"
2093 # The following way of writing the cache mishandles newlines in values,
2095 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2096 eval ac_val=\$$ac_var
2100 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2101 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2104 _ | IFS | as_nl) ;; #(
2105 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2106 *) { eval $ac_var=; unset $ac_var;} ;;
2111 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2112 *${as_nl}ac_space=\ *)
2114 "s/'\''/'\''\\\\'\'''\''/g;
2115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2125 $as_echo "## ----------------- ##
2126 ## Output variables. ##
2127 ## ----------------- ##"
2129 for ac_var in $ac_subst_vars
2131 eval ac_val=\$$ac_var
2133 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2135 $as_echo "$ac_var='\''$ac_val'\''"
2139 if test -n "$ac_subst_files"; then
2140 $as_echo "## ------------------- ##
2141 ## File substitutions. ##
2142 ## ------------------- ##"
2144 for ac_var in $ac_subst_files
2146 eval ac_val=\$$ac_var
2148 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2150 $as_echo "$ac_var='\''$ac_val'\''"
2155 if test -s confdefs.h; then
2156 $as_echo "## ----------- ##
2163 test "$ac_signal" != 0 &&
2164 $as_echo "$as_me: caught signal $ac_signal"
2165 $as_echo "$as_me: exit $exit_status"
2167 rm -f core *.core core.conftest.* &&
2168 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2171 for ac_signal in 1 2 13 15; do
2172 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2177 rm -f -r conftest* confdefs.h
2179 $as_echo "/* confdefs.h */" > confdefs.h
2181 # Predefined preprocessor variables.
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_NAME "$PACKAGE_NAME"
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_STRING "$PACKAGE_STRING"
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_URL "$PACKAGE_URL"
2208 # Let the site file select an alternate cache file if it wants to.
2209 # Prefer an explicitly selected file to automatically selected ones.
2212 if test -n "$CONFIG_SITE"; then
2213 # We do not want a PATH search for config.site.
2214 case $CONFIG_SITE in #((
2215 -*) ac_site_file1=./$CONFIG_SITE;;
2216 */*) ac_site_file1=$CONFIG_SITE;;
2217 *) ac_site_file1=./$CONFIG_SITE;;
2219 elif test "x$prefix" != xNONE; then
2220 ac_site_file1=$prefix/share/config.site
2221 ac_site_file2=$prefix/etc/config.site
2223 ac_site_file1=$ac_default_prefix/share/config.site
2224 ac_site_file2=$ac_default_prefix/etc/config.site
2226 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2228 test "x$ac_site_file" = xNONE && continue
2229 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2231 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2232 sed 's/^/| /' "$ac_site_file" >&5
2234 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2236 as_fn_error $? "failed to load site script $ac_site_file
2237 See \`config.log' for more details" "$LINENO" 5; }
2241 if test -r "$cache_file"; then
2242 # Some versions of bash will fail to source /dev/null (special files
2243 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2244 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2246 $as_echo "$as_me: loading cache $cache_file" >&6;}
2248 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2249 *) . "./$cache_file";;
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2254 $as_echo "$as_me: creating cache $cache_file" >&6;}
2258 # Check that the precious variables saved in the cache have kept the same
2260 ac_cache_corrupted=false
2261 for ac_var in $ac_precious_vars; do
2262 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2263 eval ac_new_set=\$ac_env_${ac_var}_set
2264 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2265 eval ac_new_val=\$ac_env_${ac_var}_value
2266 case $ac_old_set,$ac_new_set in
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2269 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2270 ac_cache_corrupted=: ;;
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2273 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2274 ac_cache_corrupted=: ;;
2277 if test "x$ac_old_val" != "x$ac_new_val"; then
2278 # differences in whitespace do not lead to failure.
2279 ac_old_val_w=`echo x $ac_old_val`
2280 ac_new_val_w=`echo x $ac_new_val`
2281 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2283 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2284 ac_cache_corrupted=:
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2287 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2288 eval $ac_var=\$ac_old_val
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2291 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2293 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2296 # Pass precious variables to config.status.
2297 if test "$ac_new_set" = set; then
2299 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2300 *) ac_arg=$ac_var=$ac_new_val ;;
2302 case " $ac_configure_args " in
2303 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2304 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2308 if $ac_cache_corrupted; then
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2312 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2313 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2315 ## -------------------- ##
2316 ## Main body of script. ##
2317 ## -------------------- ##
2320 ac_cpp='$CPP $CPPFLAGS'
2321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2327 ac_config_headers="$ac_config_headers config.h"
2330 for ac_dir in scripts "$srcdir"/scripts; do
2331 if test -f "$ac_dir/install-sh"; then
2333 ac_install_sh="$ac_aux_dir/install-sh -c"
2335 elif test -f "$ac_dir/install.sh"; then
2337 ac_install_sh="$ac_aux_dir/install.sh -c"
2339 elif test -f "$ac_dir/shtool"; then
2341 ac_install_sh="$ac_aux_dir/shtool install -c"
2345 if test -z "$ac_aux_dir"; then
2346 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
2349 # These three variables are undocumented and unsupported,
2350 # and are intended to be withdrawn in a future Autoconf release.
2351 # They can cause serious problems if a builder's source tree is in a directory
2352 # whose full name contains unusual characters.
2353 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2354 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2355 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2364 # Make sure we can run config.sub.
2365 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2366 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2369 $as_echo_n "checking build system type... " >&6; }
2370 if ${ac_cv_build+:} false; then :
2371 $as_echo_n "(cached) " >&6
2373 ac_build_alias=$build_alias
2374 test "x$ac_build_alias" = x &&
2375 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2376 test "x$ac_build_alias" = x &&
2377 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2378 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2379 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2383 $as_echo "$ac_cv_build" >&6; }
2384 case $ac_cv_build in
2386 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2389 ac_save_IFS=$IFS; IFS='-'
2395 # Remember, the first character of IFS is used to create $*,
2396 # except with old shells:
2399 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2403 $as_echo_n "checking host system type... " >&6; }
2404 if ${ac_cv_host+:} false; then :
2405 $as_echo_n "(cached) " >&6
2407 if test "x$host_alias" = x; then
2408 ac_cv_host=$ac_cv_build
2410 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2411 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2416 $as_echo "$ac_cv_host" >&6; }
2419 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2422 ac_save_IFS=$IFS; IFS='-'
2428 # Remember, the first character of IFS is used to create $*,
2429 # except with old shells:
2432 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2437 ac_cpp='$CPP $CPPFLAGS'
2438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2441 if test -n "$ac_tool_prefix"; then
2442 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2443 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2445 $as_echo_n "checking for $ac_word... " >&6; }
2446 if ${ac_cv_prog_CC+:} false; then :
2447 $as_echo_n "(cached) " >&6
2449 if test -n "$CC"; then
2450 ac_cv_prog_CC="$CC" # Let the user override the test.
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 if test -n "$CC"; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2472 $as_echo "$CC" >&6; }
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475 $as_echo "no" >&6; }
2480 if test -z "$ac_cv_prog_CC"; then
2482 # Extract the first word of "gcc", so it can be a program name with args.
2483 set dummy gcc; ac_word=$2
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2485 $as_echo_n "checking for $ac_word... " >&6; }
2486 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2487 $as_echo_n "(cached) " >&6
2489 if test -n "$ac_ct_CC"; then
2490 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir=.
2497 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 ac_cv_prog_ac_ct_CC="gcc"
2500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2510 if test -n "$ac_ct_CC"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2512 $as_echo "$ac_ct_CC" >&6; }
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2515 $as_echo "no" >&6; }
2518 if test "x$ac_ct_CC" = x; then
2521 case $cross_compiling:$ac_tool_warned in
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2525 ac_tool_warned=yes ;;
2533 if test -z "$CC"; then
2534 if test -n "$ac_tool_prefix"; then
2535 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2536 set dummy ${ac_tool_prefix}cc; ac_word=$2
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2538 $as_echo_n "checking for $ac_word... " >&6; }
2539 if ${ac_cv_prog_CC+:} false; then :
2540 $as_echo_n "(cached) " >&6
2542 if test -n "$CC"; then
2543 ac_cv_prog_CC="$CC" # Let the user override the test.
2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549 test -z "$as_dir" && as_dir=.
2550 for ac_exec_ext in '' $ac_executable_extensions; do
2551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2552 ac_cv_prog_CC="${ac_tool_prefix}cc"
2553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 if test -n "$CC"; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2565 $as_echo "$CC" >&6; }
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2568 $as_echo "no" >&6; }
2574 if test -z "$CC"; then
2575 # Extract the first word of "cc", so it can be a program name with args.
2576 set dummy cc; ac_word=$2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if ${ac_cv_prog_CC+:} false; then :
2580 $as_echo_n "(cached) " >&6
2582 if test -n "$CC"; then
2583 ac_cv_prog_CC="$CC" # Let the user override the test.
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2594 ac_prog_rejected=yes
2598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 if test $ac_prog_rejected = yes; then
2606 # We found a bogon in the path, so make sure we never use it.
2607 set dummy $ac_cv_prog_CC
2609 if test $# != 0; then
2610 # We chose a different compiler from the bogus one.
2611 # However, it has the same basename, so the bogon will be chosen
2612 # first if we set CC to just the basename; use the full file name.
2614 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2620 if test -n "$CC"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2622 $as_echo "$CC" >&6; }
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625 $as_echo "no" >&6; }
2630 if test -z "$CC"; then
2631 if test -n "$ac_tool_prefix"; then
2632 for ac_prog in cl.exe
2634 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2635 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637 $as_echo_n "checking for $ac_word... " >&6; }
2638 if ${ac_cv_prog_CC+:} false; then :
2639 $as_echo_n "(cached) " >&6
2641 if test -n "$CC"; then
2642 ac_cv_prog_CC="$CC" # Let the user override the test.
2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir=.
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2651 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 if test -n "$CC"; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2664 $as_echo "$CC" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667 $as_echo "no" >&6; }
2671 test -n "$CC" && break
2674 if test -z "$CC"; then
2676 for ac_prog in cl.exe
2678 # Extract the first word of "$ac_prog", so it can be a program name with args.
2679 set dummy $ac_prog; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$ac_ct_CC"; then
2686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_ac_ct_CC="$ac_prog"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2706 if test -n "$ac_ct_CC"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2708 $as_echo "$ac_ct_CC" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2715 test -n "$ac_ct_CC" && break
2718 if test "x$ac_ct_CC" = x; then
2721 case $cross_compiling:$ac_tool_warned in
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2725 ac_tool_warned=yes ;;
2734 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2736 as_fn_error $? "no acceptable C compiler found in \$PATH
2737 See \`config.log' for more details" "$LINENO" 5; }
2739 # Provide some information about the compiler.
2740 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2743 for ac_option in --version -v -V -qversion; do
2744 { { ac_try="$ac_compiler $ac_option >&5"
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2753 if test -s conftest.err; then
2755 ... rest of stderr output deleted ...
2756 10q' conftest.err >conftest.er1
2757 cat conftest.er1 >&5
2759 rm -f conftest.er1 conftest.err
2760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761 test $ac_status = 0; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2766 $as_echo_n "checking for suffix of object files... " >&6; }
2767 if ${ac_cv_objext+:} false; then :
2768 $as_echo_n "(cached) " >&6
2770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2771 /* end confdefs.h. */
2781 rm -f conftest.o conftest.obj
2782 if { { ac_try="$ac_compile"
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788 $as_echo "$ac_try_echo"; } >&5
2789 (eval "$ac_compile") 2>&5
2791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2792 test $ac_status = 0; }; then :
2793 for ac_file in conftest.o conftest.obj conftest.*; do
2794 test -f "$ac_file" || continue;
2796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2797 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2802 $as_echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2807 as_fn_error $? "cannot compute suffix of object files: cannot compile
2808 See \`config.log' for more details" "$LINENO" 5; }
2810 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2813 $as_echo "$ac_cv_objext" >&6; }
2814 OBJEXT=$ac_cv_objext
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2817 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2818 if ${ac_cv_c_compiler_gnu+:} false; then :
2819 $as_echo_n "(cached) " >&6
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2835 if ac_fn_c_try_compile "$LINENO"; then :
2840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2841 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2845 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2846 if test $ac_compiler_gnu = yes; then
2851 ac_test_CFLAGS=${CFLAGS+set}
2852 ac_save_CFLAGS=$CFLAGS
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2854 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2855 if ${ac_cv_prog_cc_g+:} false; then :
2856 $as_echo_n "(cached) " >&6
2858 ac_save_c_werror_flag=$ac_c_werror_flag
2859 ac_c_werror_flag=yes
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2873 if ac_fn_c_try_compile "$LINENO"; then :
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2888 if ac_fn_c_try_compile "$LINENO"; then :
2891 ac_c_werror_flag=$ac_save_c_werror_flag
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2904 if ac_fn_c_try_compile "$LINENO"; then :
2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 ac_c_werror_flag=$ac_save_c_werror_flag
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2915 $as_echo "$ac_cv_prog_cc_g" >&6; }
2916 if test "$ac_test_CFLAGS" = set; then
2917 CFLAGS=$ac_save_CFLAGS
2918 elif test $ac_cv_prog_cc_g = yes; then
2919 if test "$GCC" = yes; then
2925 if test "$GCC" = yes; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2932 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2933 if ${ac_cv_prog_cc_c89+:} false; then :
2934 $as_echo_n "(cached) " >&6
2936 ac_cv_prog_cc_c89=no
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2942 #include <sys/types.h>
2943 #include <sys/stat.h>
2944 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2945 struct buf { int x; };
2946 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2947 static char *e (p, i)
2953 static char *f (char * (*g) (char **, int), char **p, ...)
2958 s = g (p, va_arg (v,int));
2963 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2964 function prototypes and stuff, but not '\xHH' hex character constants.
2965 These don't provoke an error unfortunately, instead are silently treated
2966 as 'x'. The following induces an error, until -std is added to get
2967 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2968 array size at least. It's necessary to write '\x00'==0 to get something
2969 that's true only with -std. */
2970 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2972 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2973 inside strings and character constants. */
2975 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2977 int test (int i, double x);
2978 struct s1 {int (*f) (int a);};
2979 struct s2 {int (*f) (double a);};
2980 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2986 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2991 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2992 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2994 CC="$ac_save_CC $ac_arg"
2995 if ac_fn_c_try_compile "$LINENO"; then :
2996 ac_cv_prog_cc_c89=$ac_arg
2998 rm -f core conftest.err conftest.$ac_objext
2999 test "x$ac_cv_prog_cc_c89" != "xno" && break
3001 rm -f conftest.$ac_ext
3006 case "x$ac_cv_prog_cc_c89" in
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3009 $as_echo "none needed" >&6; } ;;
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3012 $as_echo "unsupported" >&6; } ;;
3014 CC="$CC $ac_cv_prog_cc_c89"
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3016 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3018 if test "x$ac_cv_prog_cc_c89" != xno; then :
3023 ac_cpp='$CPP $CPPFLAGS'
3024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3028 if test $host != $build; then
3029 for ac_prog in gcc cc
3031 # Extract the first word of "$ac_prog", so it can be a program name with args.
3032 set dummy $ac_prog; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_BUILD_CC+:} false; then :
3036 $as_echo_n "(cached) " >&6
3038 if test -n "$BUILD_CC"; then
3039 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048 ac_cv_prog_BUILD_CC="$ac_prog"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 BUILD_CC=$ac_cv_prog_BUILD_CC
3059 if test -n "$BUILD_CC"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
3061 $as_echo "$BUILD_CC" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3068 test -n "$BUILD_CC" && break
3074 ac_cpp='$CPP $CPPFLAGS'
3075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3079 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3080 # On Suns, sometimes $CPP names a directory.
3081 if test -n "$CPP" && test -d "$CPP"; then
3084 if test -z "$CPP"; then
3085 if ${ac_cv_prog_CPP+:} false; then :
3086 $as_echo_n "(cached) " >&6
3088 # Double quotes because CPP needs to be expanded
3089 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3092 for ac_c_preproc_warn_flag in '' yes
3094 # Use a header file that comes with gcc, so configuring glibc
3095 # with a fresh cross-compiler works.
3096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3097 # <limits.h> exists even on freestanding compilers.
3098 # On the NeXT, cc -E runs the code through the compiler's parser,
3099 # not just through cpp. "Syntax error" is here to catch this case.
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3103 # include <limits.h>
3105 # include <assert.h>
3109 if ac_fn_c_try_cpp "$LINENO"; then :
3112 # Broken: fails on valid input.
3115 rm -f conftest.err conftest.i conftest.$ac_ext
3117 # OK, works on sane cases. Now check whether nonexistent headers
3118 # can be detected and how.
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3121 #include <ac_nonexistent.h>
3123 if ac_fn_c_try_cpp "$LINENO"; then :
3124 # Broken: success on invalid input.
3127 # Passes both tests.
3131 rm -f conftest.err conftest.i conftest.$ac_ext
3134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3135 rm -f conftest.i conftest.err conftest.$ac_ext
3136 if $ac_preproc_ok; then :
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3149 $as_echo "$CPP" >&6; }
3151 for ac_c_preproc_warn_flag in '' yes
3153 # Use a header file that comes with gcc, so configuring glibc
3154 # with a fresh cross-compiler works.
3155 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3156 # <limits.h> exists even on freestanding compilers.
3157 # On the NeXT, cc -E runs the code through the compiler's parser,
3158 # not just through cpp. "Syntax error" is here to catch this case.
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3162 # include <limits.h>
3164 # include <assert.h>
3168 if ac_fn_c_try_cpp "$LINENO"; then :
3171 # Broken: fails on valid input.
3174 rm -f conftest.err conftest.i conftest.$ac_ext
3176 # OK, works on sane cases. Now check whether nonexistent headers
3177 # can be detected and how.
3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3180 #include <ac_nonexistent.h>
3182 if ac_fn_c_try_cpp "$LINENO"; then :
3183 # Broken: success on invalid input.
3186 # Passes both tests.
3190 rm -f conftest.err conftest.i conftest.$ac_ext
3193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3194 rm -f conftest.i conftest.err conftest.$ac_ext
3195 if $ac_preproc_ok; then :
3198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3200 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3201 See \`config.log' for more details" "$LINENO" 5; }
3205 ac_cpp='$CPP $CPPFLAGS'
3206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3210 # We need the C++ compiler only for testing.
3212 ac_cpp='$CXXCPP $CPPFLAGS'
3213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3216 if test -z "$CXX"; then
3217 if test -n "$CCC"; then
3220 if test -n "$ac_tool_prefix"; then
3221 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3226 $as_echo_n "checking for $ac_word... " >&6; }
3227 if ${ac_cv_prog_CXX+:} false; then :
3228 $as_echo_n "(cached) " >&6
3230 if test -n "$CXX"; then
3231 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 test -z "$as_dir" && as_dir=.
3238 for ac_exec_ext in '' $ac_executable_extensions; do
3239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3240 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 if test -n "$CXX"; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3253 $as_echo "$CXX" >&6; }
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3256 $as_echo "no" >&6; }
3260 test -n "$CXX" && break
3263 if test -z "$CXX"; then
3265 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3267 # Extract the first word of "$ac_prog", so it can be a program name with args.
3268 set dummy $ac_prog; ac_word=$2
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270 $as_echo_n "checking for $ac_word... " >&6; }
3271 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3272 $as_echo_n "(cached) " >&6
3274 if test -n "$ac_ct_CXX"; then
3275 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 test -z "$as_dir" && as_dir=.
3282 for ac_exec_ext in '' $ac_executable_extensions; do
3283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284 ac_cv_prog_ac_ct_CXX="$ac_prog"
3285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3295 if test -n "$ac_ct_CXX"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3297 $as_echo "$ac_ct_CXX" >&6; }
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300 $as_echo "no" >&6; }
3304 test -n "$ac_ct_CXX" && break
3307 if test "x$ac_ct_CXX" = x; then
3310 case $cross_compiling:$ac_tool_warned in
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3314 ac_tool_warned=yes ;;
3322 # Provide some information about the compiler.
3323 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3326 for ac_option in --version -v -V -qversion; do
3327 { { ac_try="$ac_compiler $ac_option >&5"
3329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3336 if test -s conftest.err; then
3338 ... rest of stderr output deleted ...
3339 10q' conftest.err >conftest.er1
3340 cat conftest.er1 >&5
3342 rm -f conftest.er1 conftest.err
3343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3344 test $ac_status = 0; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3348 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3349 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3350 $as_echo_n "(cached) " >&6
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3366 if ac_fn_cxx_try_compile "$LINENO"; then :
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3376 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3377 if test $ac_compiler_gnu = yes; then
3382 ac_test_CXXFLAGS=${CXXFLAGS+set}
3383 ac_save_CXXFLAGS=$CXXFLAGS
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3385 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3386 if ${ac_cv_prog_cxx_g+:} false; then :
3387 $as_echo_n "(cached) " >&6
3389 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3390 ac_cxx_werror_flag=yes
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3404 if ac_fn_cxx_try_compile "$LINENO"; then :
3405 ac_cv_prog_cxx_g=yes
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3419 if ac_fn_cxx_try_compile "$LINENO"; then :
3422 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3435 if ac_fn_cxx_try_compile "$LINENO"; then :
3436 ac_cv_prog_cxx_g=yes
3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3446 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3447 if test "$ac_test_CXXFLAGS" = set; then
3448 CXXFLAGS=$ac_save_CXXFLAGS
3449 elif test $ac_cv_prog_cxx_g = yes; then
3450 if test "$GXX" = yes; then
3456 if test "$GXX" = yes; then
3463 ac_cpp='$CPP $CPPFLAGS'
3464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3469 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
3470 as_fn_error $? "you must configure in a separate build directory" "$LINENO" 5
3473 # This will get text that should go into config.make.
3476 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3478 # Check whether --with-gd was given.
3479 if test "${with_gd+set}" = set; then :
3480 withval=$with_gd; case "$with_gd" in
3482 *) libgd_include="-I$withval/include"
3483 libgd_ldflags="-L$withval/lib" ;;
3489 # Check whether --with-gd-include was given.
3490 if test "${with_gd_include+set}" = set; then :
3491 withval=$with_gd_include; case "$with_gd_include" in
3493 *) libgd_include="-I$withval" ;;
3499 # Check whether --with-gd-lib was given.
3500 if test "${with_gd_lib+set}" = set; then :
3501 withval=$with_gd_lib; case "$with_gd_lib" in
3503 *) libgd_ldflags="-L$withval" ;;
3509 if test -n "$libgd_include"; then
3510 config_vars="$config_vars
3511 CFLAGS-memusagestat.c = $libgd_include"
3513 if test -n "$libgd_ldflags"; then
3514 config_vars="$config_vars
3515 libgd-LDFLAGS = $libgd_ldflags"
3519 # Check whether --with-fp was given.
3520 if test "${with_fp+set}" = set; then :
3521 withval=$with_fp; with_fp=$withval
3528 # Check whether --with-binutils was given.
3529 if test "${with_binutils+set}" = set; then :
3530 withval=$with_binutils; path_binutils=$withval
3536 # Check whether --with-elf was given.
3537 if test "${with_elf+set}" = set; then :
3538 withval=$with_elf; elf=$withval
3544 # Check whether --with-selinux was given.
3545 if test "${with_selinux+set}" = set; then :
3546 withval=$with_selinux; with_selinux=$withval
3552 # Check whether --with-xcoff was given.
3553 if test "${with_xcoff+set}" = set; then :
3554 withval=$with_xcoff; xcoff=$withval
3560 # Check whether --with-cvs was given.
3561 if test "${with_cvs+set}" = set; then :
3562 withval=$with_cvs; with_cvs=$withval
3567 if test "$with_cvs" = yes; then
3568 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3576 # Check whether --with-headers was given.
3577 if test "${with_headers+set}" = set; then :
3578 withval=$with_headers; sysheaders=$withval
3584 # Check whether --enable-sanity-checks was given.
3585 if test "${enable_sanity_checks+set}" = set; then :
3586 enableval=$enable_sanity_checks; enable_sanity=$enableval
3593 # Check whether --enable-check-abi was given.
3594 if test "${enable_check_abi+set}" = set; then :
3595 enableval=$enable_check_abi; enable_check_abi=$enableval
3602 # Check whether --enable-shared was given.
3603 if test "${enable_shared+set}" = set; then :
3604 enableval=$enable_shared; shared=$enableval
3609 # Check whether --enable-profile was given.
3610 if test "${enable_profile+set}" = set; then :
3611 enableval=$enable_profile; profile=$enableval
3616 # Check whether --enable-omitfp was given.
3617 if test "${enable_omitfp+set}" = set; then :
3618 enableval=$enable_omitfp; omitfp=$enableval
3623 # Check whether --enable-bounded was given.
3624 if test "${enable_bounded+set}" = set; then :
3625 enableval=$enable_bounded; bounded=$enableval
3630 # Check whether --enable-versioning was given.
3631 if test "${enable_versioning+set}" = set; then :
3632 enableval=$enable_versioning; enable_versioning=$enableval
3634 enable_versioning=yes
3638 # Check whether --enable-oldest-abi was given.
3639 if test "${enable_oldest_abi+set}" = set; then :
3640 enableval=$enable_oldest_abi; oldest_abi=$enableval
3645 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3648 cat >>confdefs.h <<_ACEOF
3649 #define GLIBC_OLDEST_ABI "$oldest_abi"
3655 # Check whether --enable-stackguard-randomization was given.
3656 if test "${enable_stackguard_randomization+set}" = set; then :
3657 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3659 enable_stackguard_randomize=no
3662 if test "$enable_stackguard_randomize" = yes; then
3663 $as_echo "#define ENABLE_STACKGUARD_RANDOMIZE 1" >>confdefs.h
3667 # Check whether --enable-add-ons was given.
3668 if test "${enable_add_ons+set}" = set; then :
3669 enableval=$enable_add_ons;
3676 # Check whether --with-tls was given.
3677 if test "${with_tls+set}" = set; then :
3678 withval=$with_tls; usetls=$withval
3685 # Check whether --with-__thread was given.
3686 if test "${with___thread+set}" = set; then :
3687 withval=$with___thread; use__thread=$withval
3693 # Check whether --enable-hidden-plt was given.
3694 if test "${enable_hidden_plt+set}" = set; then :
3695 enableval=$enable_hidden_plt; hidden=$enableval
3700 if test "x$hidden" = xno; then
3701 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
3705 # Check whether --enable-bind-now was given.
3706 if test "${enable_bind_now+set}" = set; then :
3707 enableval=$enable_bind_now; bindnow=$enableval
3714 # Check whether --enable-static-nss was given.
3715 if test "${enable_static_nss+set}" = set; then :
3716 enableval=$enable_static_nss; static_nss=$enableval
3721 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3723 $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
3727 # Check whether --enable-force-install was given.
3728 if test "${enable_force_install+set}" = set; then :
3729 enableval=$enable_force_install; force_install=$enableval
3736 # Check whether --enable-kernel was given.
3737 if test "${enable_kernel+set}" = set; then :
3738 enableval=$enable_kernel; minimum_kernel=$enableval
3741 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3742 # Better nothing than this.
3745 if test "$minimum_kernel" = current; then
3746 minimum_kernel=`uname -r 2>/dev/null` || minimum_kernel=
3750 # Check whether --enable-all-warnings was given.
3751 if test "${enable_all_warnings+set}" = set; then :
3752 enableval=$enable_all_warnings; all_warnings=$enableval
3757 # Check whether --enable-multi-arch was given.
3758 if test "${enable_multi_arch+set}" = set; then :
3759 enableval=$enable_multi_arch; multi_arch=$enableval
3765 # Check whether --enable-nss-crypt was given.
3766 if test "${enable_nss_crypt+set}" = set; then :
3767 enableval=$enable_nss_crypt; nss_crypt=$enableval
3772 if test x$nss_crypt = xyes; then
3773 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3774 if test $? -ne 0; then
3775 as_fn_error $? "cannot find include directory with nss-config" "$LINENO" 5
3777 old_CFLAGS="$CFLAGS"
3778 CFLAGS="$CFLAGS $nss_includes"
3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3784 #include <nsslowhash.h>
3785 void f (void) { NSSLOW_Init (); }
3794 if ac_fn_c_try_compile "$LINENO"; then :
3795 libc_cv_nss_crypt=yes
3798 cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 LIBS="$LIBS -lfreebl3"
3803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804 /* end confdefs.h. */
3807 #include <nsslowhash.h>
3816 if ac_fn_c_try_link "$LINENO"; then :
3817 libc_cv_nss_crypt=yes
3820 cannot link program using lowlevel NSS hash functions" "$LINENO" 5
3822 rm -f core conftest.err conftest.$ac_objext \
3823 conftest$ac_exeext conftest.$ac_ext
3824 CFLAGS="$old_CFLAGS"
3827 libc_cv_nss_crypt=no
3831 # The way shlib-versions is used to generate soversions.mk uses a
3832 # fairly simplistic model for name recognition that can't distinguish
3833 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3834 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
3835 # tell. This doesn't get used much beyond that, so it's fairly safe.
3840 host_os=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3844 # We keep the original values in `$config_*' and never modify them, so we
3845 # can write them unchanged into config.make. Everything else uses
3846 # $machine, $vendor, and $os, and changes them whenever convenient.
3847 config_machine=$host_cpu config_vendor=$host_vendor config_os=$host_os
3849 # Don't allow vendor == "unknown"
3850 test "$config_vendor" = unknown && config_vendor=
3851 config_os="`echo $config_os | sed 's/^unknown-//'`"
3853 # Some configurations imply other options.
3855 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3856 linux*ecoff* | linux*aout* | gnu*aout* | gnu*ecoff*)
3858 gnu* | linux* | freebsd* | netbsd* | sysv4* | solaris2* | irix6*)
3859 # These systems (almost) always use the ELF format.
3863 # These systems are always xcoff
3869 # The configure fragment of an add-on port can modify these to supplement
3870 # or override the table in the case statement below. No fragment should
3871 # ever change the config_* variables, however.
3872 machine=$config_machine
3873 vendor=$config_vendor
3877 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3879 if test "$machine" = rs6000; then
3883 # Braindead PowerPC box with absolutely no FPU.
3884 case "$machine-$host_os" in
3892 # Check whether --with-cpu was given.
3893 if test "${with_cpu+set}" = set; then :
3894 withval=$with_cpu; case "$withval" in
3895 yes|'') as_fn_error $? "--with-cpu requires an argument" "$LINENO" 5 ;;
3897 *) submachine="$withval" ;;
3903 # An add-on can set this when it wants to disable the sanity check below.
3909 case "$enable_add_ons" in
3912 add_ons=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
3913 sed 's@/[^/]*$@@' | sort | uniq`
3914 add_ons_automatic=yes
3916 *) add_ons=`echo "$enable_add_ons" | sed 's/,/ /g'`
3917 add_ons_automatic=no ;;
3923 if test x"$add_ons" != x; then
3924 for f in $add_ons; do
3925 # Some sanity checks
3929 *** It seems that you're using an old \`crypt' add-on. crypt is now
3930 *** part of glibc and using the old add-on will not work with this
3931 *** release. Start again with fresh sources and without the old
3932 *** \`crypt' add-on." "$LINENO" 5
3936 *** It seems that you're using an old \`localedata' add-on. localedata
3937 *** is now part of glibc and using the old add-on will not work with
3938 *** this release. Start again with fresh sources and without the old
3939 *** \`localedata' add-on." "$LINENO" 5
3944 # Now source each add-on's configure fragment.
3945 # The fragments can use $srcdir/$libc_add_on to find themselves,
3946 # and test $add_ons_automatic to see if they were explicitly requested.
3947 # A fragment can clear (or even change) $libc_add_on to affect
3948 # whether it goes into the list to be actually used in the build.
3950 for libc_add_on in $add_ons; do
3951 # Test whether such a directory really exists.
3952 # It can be absolute, or relative to $srcdir, or relative to the build dir.
3953 case "$libc_add_on" in
3955 libc_add_on_srcdir=$libc_add_on
3958 test -d "$srcdir/$libc_add_on" || {
3959 if test -d "$libc_add_on"; then
3960 libc_add_on="`pwd`/$libc_add_on"
3962 as_fn_error $? "add-on directory \"$libc_add_on\" does not exist" "$LINENO" 5
3965 libc_add_on_srcdir=$srcdir/$libc_add_on
3969 libc_add_on_frag=$libc_add_on_srcdir/configure
3970 libc_add_on_canonical=
3971 libc_add_on_config_subdirs=
3972 if test -r "$libc_add_on_frag"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: running configure fragment for add-on $libc_add_on" >&5
3974 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
3975 libc_add_on_canonical=unknown
3976 libc_add_on_subdirs=
3977 . "$libc_add_on_frag"
3978 test -z "$libc_add_on" || {
3979 configured_add_ons="$configured_add_ons $libc_add_on"
3980 if test "x$libc_add_on_canonical" = xunknown; then
3981 as_fn_error $? "fragment must set \$libc_add_on_canonical" "$LINENO" 5
3983 for d in $libc_add_on_subdirs; do
3984 case "$libc_add_on" in
3985 /*) subdir_srcdir="$libc_add_on" ;;
3986 *) subdir_srcdir="\$(..)$libc_add_on" ;;
3990 d="${libc_add_on_canonical:-$libc_add_on}"
3996 subdir_srcdir="$subdir_srcdir/$d"
3999 d=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4000 add_on_subdirs="$add_on_subdirs $d"
4001 test "$subdir_srcdir" = "\$(..)$d" || config_vars="$config_vars
4002 $d-srcdir = $subdir_srcdir"
4004 for d in $libc_add_on_config_subdirs; do
4006 /*) as_fn_error $? "fragment uses absolute path in \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
4008 if test ! -d "$libc_add_on_srcdir/$d"; then
4009 as_fn_error $? "fragment wants to configure missing directory $d" "$LINENO" 5
4011 case "$libc_add_on" in
4012 /*) as_fn_error $? "relative path required for add-on using \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
4014 subdirs="$subdirs $libc_add_on/$d"
4018 if test -n "$libc_add_on"; then
4019 if frags=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking add-on $libc_add_on for preconfigure fragments" >&5
4022 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4023 for frag in $frags; do
4024 name=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4025 echo $ECHO_N "$name $ECHO_C" >&6
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
4031 use_add_ons="$use_add_ons $libc_add_on"
4032 add_ons_pfx="$add_ons_pfx $libc_add_on/"
4033 test -z "$libc_add_on_canonical" ||
4034 add_ons_sfx="$add_ons_sfx /$libc_add_on_canonical"
4037 # Use echo to strip excess whitespace.
4038 add_ons="`echo $use_add_ons`"
4045 ### I put this here to prevent those annoying emails from people who cannot
4046 ### read and try to compile glibc on unsupported platforms. --drepper
4048 ### By using the undocumented --enable-hacker-mode option for configure
4049 ### one can skip this test to make the configuration not fail for unsupported
4052 if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
4053 case "$machine-$host_os" in
4054 *-linux* | *-gnu* | arm*-none* | powerpc-aix4.3.*)
4057 echo "*** The GNU C library is currently not available for this platform."
4058 echo "*** So far nobody cared to port it and if there is no volunteer it"
4059 echo "*** might never happen. So, if you have interest to see glibc on"
4060 echo "*** this platform visit"
4061 echo "*** http://www.gnu.org/software/libc/porting.html"
4062 echo "*** and join the group of porters"
4068 # Expand the configuration machine name into a subdirectory by architecture
4069 # type and particular chip. If an add-on configure fragment already set
4070 # base_machine, we don't change it.
4071 test -n "$base_machine" || case "$machine" in
4072 a29k | am29000) base_machine=a29k machine=a29k ;;
4073 c3[012]) base_machine=cx0 machine=cx0/c30 ;;
4074 c4[04]) base_machine=cx0 machine=cx0/c40 ;;
4075 i[34567]86) base_machine=i386 machine=i386/$machine ;;
4076 ia64) base_machine=ia64 machine=ia64 ;;
4077 m88???) base_machine=m88k machine=m88k/$machine ;;
4078 m88k) base_machine=m88k machine=m88k/m88100 ;;
4079 powerpc) base_machine=powerpc machine=powerpc/powerpc32 ;;
4080 powerpc64) base_machine=powerpc machine=powerpc/powerpc64 ;;
4081 s390) base_machine=s390 machine=s390/s390-32 ;;
4082 s390x) base_machine=s390 machine=s390/s390-64 ;;
4083 sh3*) base_machine=sh machine=sh/sh3 ;;
4084 sh4*) base_machine=sh machine=sh/sh4 ;;
4086 base_machine=sparc machine=sparc/sparc32 ;;
4087 sparcv8 | supersparc | hypersparc)
4088 base_machine=sparc machine=sparc/sparc32/sparcv8 ;;
4089 sparcv8plus | sparcv8plusa | sparcv9)
4090 base_machine=sparc machine=sparc/sparc32/sparcv9 ;;
4091 sparcv8plusb | sparcv9b)
4092 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9b ;;
4094 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v ;;
4096 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v2 ;;
4098 base_machine=sparc machine=sparc/sparc64 ;;
4100 base_machine=sparc machine=sparc/sparc64/sparcv9b ;;
4102 base_machine=sparc machine=sparc/sparc64/sparcv9v ;;
4104 base_machine=sparc machine=sparc/sparc64/sparcv9v2 ;;
4105 *) base_machine=$machine ;;
4109 if test "$base_machine" = "i386"; then
4110 $as_echo "#define USE_REGPARMS 1" >>confdefs.h
4114 # For the multi-arch option we need support in the assembler.
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_indirect_function symbol type support" >&5
4116 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
4117 if ${libc_cv_asm_gnu_indirect_function+:} false; then :
4118 $as_echo_n "(cached) " >&6
4120 cat > conftest.s <<EOF
4121 .type foo,%gnu_indirect_function
4123 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5;
4125 libc_cv_asm_gnu_indirect_function=yes
4127 libc_cv_asm_gnu_indirect_function=no
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_gnu_indirect_function" >&5
4132 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .text pseudo-op must be used" >&5
4135 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
4136 if ${libc_cv_dot_text+:} false; then :
4137 $as_echo_n "(cached) " >&6
4139 cat > conftest.s <<EOF
4143 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4144 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148 test $ac_status = 0; }; }; then
4149 libc_cv_dot_text=.text
4154 if test -z "$libc_cv_dot_text"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4156 $as_echo "no" >&6; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4159 $as_echo "yes" >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler global-symbol directive" >&5
4163 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
4164 if ${libc_cv_asm_global_directive+:} false; then :
4165 $as_echo_n "(cached) " >&6
4167 libc_cv_asm_global_directive=UNKNOWN
4168 for ac_globl in .globl .global .EXPORT; do
4169 cat > conftest.s <<EOF
4174 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4175 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4179 test $ac_status = 0; }; }; then
4180 libc_cv_asm_global_directive=${ac_globl}
4183 test $libc_cv_asm_global_directive != UNKNOWN && break
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_global_directive" >&5
4187 $as_echo "$libc_cv_asm_global_directive" >&6; }
4188 if test $libc_cv_asm_global_directive = UNKNOWN; then
4189 as_fn_error $? "cannot determine asm global directive" "$LINENO" 5
4191 cat >>confdefs.h <<_ACEOF
4192 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .type directive prefix" >&5
4198 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
4199 if ${libc_cv_asm_type_prefix+:} false; then :
4200 $as_echo_n "(cached) " >&6
4202 libc_cv_asm_type_prefix=no
4203 for ac_try_prefix in '@' '%' '#'; do
4204 cat > conftest.s <<EOF
4206 ${libc_cv_asm_global_directive} foo
4207 .type foo, ${ac_try_prefix}object
4212 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4213 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }; }; then
4218 libc_cv_asm_type_prefix=${ac_try_prefix}
4221 test "x$libc_cv_asm_type_prefix" != xno && break
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_type_prefix" >&5
4225 $as_echo "$libc_cv_asm_type_prefix" >&6; }
4226 if test "x$libc_cv_asm_type_prefix" != xno; then
4227 cat >>confdefs.h <<_ACEOF
4228 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
4233 if test x"$libc_cv_asm_gnu_indirect_function" != xyes -a x"$libc_cv_asm_type_prefix" = xno; then
4234 if test x"$multi_arch" = xyes; then
4235 as_fn_error $? "--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
4240 if test x"$multi_arch" != xno; then
4241 multi_arch_d=/multiarch
4244 # Compute the list of sysdep directories for this configuration.
4245 # This can take a while to compute.
4246 sysdep_dir=$srcdir/sysdeps
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
4248 $as_echo_n "checking sysdep dirs... " >&6; }
4249 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4250 os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4252 test "x$base_os" != x || case "$os" in
4254 base_os=mach/hurd ;;
4255 netbsd* | 386bsd* | freebsd* | bsdi*)
4256 base_os=unix/bsd/bsd4.4 ;;
4257 osf* | sunos* | ultrix* | newsos* | dynix* | *bsd*)
4259 sysv* | isc* | esix* | sco* | minix* | irix4* | linux*)
4260 base_os=unix/sysv ;;
4262 base_os=unix/sysv/irix6/$os ;;
4264 base_os=unix/sysv/sysv4 ;;
4266 base_os=unix/sysv/hpux/$os ;;
4268 base_os=unix/sysv/aix/aix4.3 ;;
4270 base_os=standalone ;;
4273 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4276 while o=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4280 o=`echo $tail | sed 's/[0-9]*$//'`
4281 if test $o != $tail; then
4284 # For linux-gnu, try linux-gnu, then linux.
4285 o=`echo $tail | sed 's/-.*$//'`
4286 if test $o != $tail; then
4290 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4293 while b=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4299 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4301 tail=$machine${submachine:+/$submachine}
4302 while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4304 # Prepend the machine's FPU directory unless --without-fp.
4305 if test "$with_fp" = yes; then
4306 mach="$mach /$1/fpu"
4308 mach="$mach /$1/nofpu"
4315 # Find what sysdep directories exist.
4318 for b in $base ''; do
4319 for m0 in $mach ''; do
4320 for v in /$vendor ''; do
4321 test "$v" = / && continue
4322 for o in /$ostry ''; do
4323 test "$o" = / && continue
4324 for m in $multi_arch_d $mach ''; do
4325 for d in $add_ons_pfx ''; do
4326 for a in $add_ons_sfx ''; do
4327 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4328 try_srcdir="${srcdir}/"
4332 try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4333 test -n "$enable_debug_configure" &&
4334 echo "$0 DEBUG: try $try" >&2
4335 if test -d "$try_srcdir$try"; then
4336 sysnames="$sysnames $try"
4337 { test -n "$o" || test -n "$b"; } && os_used=t
4338 { test -n "$m" || test -n "$m0"; } && machine_used=t
4340 x*/$submachine) submachine_used=t ;;
4342 if test -n "$d"; then
4343 case "$sysnames_add_ons" in
4345 *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
4358 # If the assembler supports gnu_indirect_function symbol type and the
4359 # architecture supports multi-arch, we enable multi-arch by default.
4360 case $sysnames_add_ons$sysnames in
4364 test x"$multi_arch" = xdefault && multi_arch=no
4367 if test x"$multi_arch" != xno; then
4368 $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
4373 if test -z "$os_used" && test "$os" != none; then
4374 as_fn_error $? "Operating system $os is not supported." "$LINENO" 5
4376 if test -z "$machine_used" && test "$machine" != none; then
4377 as_fn_error $? "The $machine is not supported." "$LINENO" 5
4379 if test -z "$submachine_used" && test -n "$submachine"; then
4380 as_fn_error $? "The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
4384 # We have now validated the configuration.
4387 # If using ELF, look for an `elf' subdirectory of each machine directory.
4388 # We prepend these rather than inserting them whereever the machine appears
4389 # because things specified by the machine's ELF ABI should override
4390 # OS-specific things, and should always be the same for any OS on the
4391 # machine (otherwise what's the point of an ABI?).
4392 if test "$elf" = yes; then
4394 for d in $add_ons_pfx ''; do
4396 if test -d $srcdir/${d}sysdeps$m/elf; then
4397 elf_dirs="$elf_dirs ${d}sysdeps$m/elf"
4401 sysnames="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4405 # Expand the list of system names into a full list of directories
4406 # from each element's parent name and Implies file (if present).
4409 while test $# -gt 0; do
4413 case " $names " in *" $name "*)
4414 # Already in the list.
4418 # Report each name as we discover it, so there is no long pause in output.
4419 echo $ECHO_N "$name $ECHO_C" >&6
4421 name_base=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4425 *) xsrcdir=$srcdir/ ;;
4427 test -n "$enable_debug_configure" &&
4428 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4430 if test -f $xsrcdir$name/Implies; then
4431 # Collect more names from the `Implies' file (removing comments).
4432 implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4434 for x in $implied_candidate; do
4436 if test -d $xsrcdir$name_base/$x; then
4437 implied="$implied $name_base/$x";
4440 for d in $add_ons_pfx ''; do
4441 try="${d}sysdeps/$x"
4444 *) try_srcdir=$srcdir/ ;;
4446 test -n "$enable_debug_configure" &&
4447 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4448 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4450 implied="$implied $try"
4452 case "$sysnames_add_ons" in
4454 *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
4458 if test $found = no; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/Implies specifies nonexistent $x" >&5
4460 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4467 # Add NAME to the list of names.
4468 names="$names $name"
4470 # Find the parent of NAME, using the empty string if it has none.
4471 parent="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4473 # Add the names implied by NAME, and NAME's parent (if it has one), to
4474 # the list of names to be processed (the argument list). We prepend the
4475 # implied names to the list and append the parent. We want implied
4476 # directories to come before further directories inferred from the
4477 # configuration components; this ensures that for sysv4, unix/common
4478 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4480 sysnames="`echo $implied $* $parent`"
4481 test -n "$sysnames" && set $sysnames
4484 # Add the default directories.
4485 default_sysnames=sysdeps/generic
4486 if test "$elf" = yes; then
4487 default_sysnames="sysdeps/generic/elf $default_sysnames"
4489 sysnames="$names $default_sysnames"
4491 # The other names were emitted during the scan.
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
4493 $as_echo "$default_sysnames" >&6; }
4495 # Collect the list of add-ons that supply partial sysdeps trees.
4497 for add_on in $add_ons; do
4500 *) xsrcdir="$srcdir/" ;;
4503 test -d "$xsrcdir$add_on/sysdeps" || {
4504 case "$configured_add_ons " in
4507 as_fn_error $? "add-on $add_on has no configure fragment or sysdeps tree" "$LINENO" 5
4513 sysdeps_add_ons="$sysdeps_add_ons $add_on"
4514 case "$sysnames_add_ons" in
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4518 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4523 for d in $sysnames; do
4525 $add_on/sysdeps/*) ;;
4528 (cd "$xsrcdir$d" && for f in *[!~]; do
4531 for ff in $f/*.h; do
4532 test -d "$ff" || { test -e "$ff" && exit 88; }
4536 test -d "$f" || { test -e "$f" && exit 88; }
4540 if test $? -eq 88; then
4545 if test $found = no; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4547 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4555 # Find a good install program. We prefer a C program (faster),
4556 # so one script is as good as another. But avoid the broken or
4557 # incompatible versions:
4558 # SysV /etc/install, /usr/sbin/install
4559 # SunOS /usr/etc/install
4560 # IRIX /sbin/install
4562 # AmigaOS /C/install, which installs bootblocks on floppy discs
4563 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4564 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4565 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4566 # OS/2's system install, which has a completely different semantic
4567 # ./install, which can be erroneously created by make from ./install.sh.
4568 # Reject install programs that cannot install multiple files.
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4570 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4571 if test -z "$INSTALL"; then
4572 if ${ac_cv_path_install+:} false; then :
4573 $as_echo_n "(cached) " >&6
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir=.
4580 # Account for people who put trailing slashes in PATH elements.
4581 case $as_dir/ in #((
4582 ./ | .// | /[cC]/* | \
4583 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4584 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4587 # OSF1 and SCO ODT 3.0 have their own names for install.
4588 # Don't use installbsd from OSF since it installs stuff as root
4590 for ac_prog in ginstall scoinst install; do
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4593 if test $ac_prog = install &&
4594 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4595 # AIX install. It has an incompatible calling convention.
4597 elif test $ac_prog = install &&
4598 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4599 # program-specific install script used by HP pwplus--don't use.
4602 rm -rf conftest.one conftest.two conftest.dir
4603 echo one > conftest.one
4604 echo two > conftest.two
4606 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4607 test -s conftest.one && test -s conftest.two &&
4608 test -s conftest.dir/conftest.one &&
4609 test -s conftest.dir/conftest.two
4611 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4624 rm -rf conftest.one conftest.two conftest.dir
4627 if test "${ac_cv_path_install+set}" = set; then
4628 INSTALL=$ac_cv_path_install
4630 # As a last resort, use the slow shell script. Don't cache a
4631 # value for INSTALL within a source directory, because that will
4632 # break other packages using the cache if that directory is
4633 # removed, or if the value is a relative name.
4634 INSTALL=$ac_install_sh
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4638 $as_echo "$INSTALL" >&6; }
4640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4641 # It thinks the first close brace ends the variable substitution.
4642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4646 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4648 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4649 # The makefiles need to use a different form to find it in $srcdir.
4650 INSTALL='\$(..)./scripts/install-sh -c'
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4653 $as_echo_n "checking whether ln -s works... " >&6; }
4655 if test "$LN_S" = "ln -s"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4657 $as_echo "yes" >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4660 $as_echo "no, using $LN_S" >&6; }
4664 # Was a --with-binutils option given?
4665 if test -n "$path_binutils"; then
4666 # Make absolute; ensure a single trailing slash.
4667 path_binutils=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4668 CC="$CC -B$path_binutils"
4670 AS=`$CC -print-prog-name=as`
4671 LD=`$CC -print-prog-name=ld`
4672 AR=`$CC -print-prog-name=ar`
4674 OBJDUMP=`$CC -print-prog-name=objdump`
4677 # Determine whether we are using GNU binutils.
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AS is GNU as" >&5
4679 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4680 if ${libc_cv_prog_as_gnu+:} false; then :
4681 $as_echo_n "(cached) " >&6
4683 # Most GNU programs take a -v and spit out some text including
4684 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4685 if $AS -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4686 libc_cv_prog_as_gnu=yes
4688 libc_cv_prog_as_gnu=no
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_as_gnu" >&5
4693 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4695 gnu_as=$libc_cv_prog_as_gnu
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD is GNU ld" >&5
4698 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4699 if ${libc_cv_prog_ld_gnu+:} false; then :
4700 $as_echo_n "(cached) " >&6
4702 # Most GNU programs take a -v and spit out some text including
4703 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4704 if $LD -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4705 libc_cv_prog_ld_gnu=yes
4707 libc_cv_prog_ld_gnu=no
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_ld_gnu" >&5
4712 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4713 gnu_ld=$libc_cv_prog_ld_gnu
4716 # Accept binutils 2.13 or newer.
4719 # Extract the first word of "$ac_prog", so it can be a program name with args.
4720 set dummy $ac_prog; ac_word=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if ${ac_cv_prog_AS+:} false; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$AS"; then
4727 ac_cv_prog_AS="$AS" # Let the user override the test.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_prog_AS="$ac_prog"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 if test -n "$AS"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4749 $as_echo "$AS" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4756 test -n "$AS" && break
4759 if test -z "$AS"; then
4762 # Found it, now check the version.
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AS" >&5
4764 $as_echo_n "checking version of $AS... " >&6; }
4765 ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4766 case $ac_prog_version in
4767 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4768 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*)
4769 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4770 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4774 $as_echo "$ac_prog_version" >&6; }
4776 if test $ac_verc_fail = yes; then
4777 AS=: critic_missing="$critic_missing as"
4782 # Extract the first word of "$ac_prog", so it can be a program name with args.
4783 set dummy $ac_prog; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_LD+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 if test -n "$LD"; then
4790 ac_cv_prog_LD="$LD" # Let the user override the test.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799 ac_cv_prog_LD="$ac_prog"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 if test -n "$LD"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4812 $as_echo "$LD" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4819 test -n "$LD" && break
4822 if test -z "$LD"; then
4825 # Found it, now check the version.
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4827 $as_echo_n "checking version of $LD... " >&6; }
4828 ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4829 case $ac_prog_version in
4830 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4831 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*)
4832 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4833 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4837 $as_echo "$ac_prog_version" >&6; }
4839 if test $ac_verc_fail = yes; then
4840 LD=: critic_missing="$critic_missing ld"
4844 # We need the physical current working directory. We cannot use the
4845 # "pwd -P" shell builtin since that's not portable. Instead we try to
4846 # find a pwd binary. Note that assigning to the PWD environment
4847 # variable might have some interesting side effects, so we don't do
4849 # Extract the first word of "pwd", so it can be a program name with args.
4850 set dummy pwd; ac_word=$2
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 $as_echo_n "checking for $ac_word... " >&6; }
4853 if ${ac_cv_path_PWD_P+:} false; then :
4854 $as_echo_n "(cached) " >&6
4858 ac_cv_path_PWD_P="$PWD_P" # Let the user override the test with a path.
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir=.
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868 ac_cv_path_PWD_P="$as_dir/$ac_word$ac_exec_ext"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P="no"
4880 PWD_P=$ac_cv_path_PWD_P
4881 if test -n "$PWD_P"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWD_P" >&5
4883 $as_echo "$PWD_P" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4890 if test "$PWD_P" = no; then
4891 as_fn_error $? "*** A pwd binary could not be found." "$LINENO" 5
4894 # These programs are version sensitive.
4896 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
4898 # Extract the first word of "$ac_prog", so it can be a program name with args.
4899 set dummy $ac_prog; ac_word=$2
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901 $as_echo_n "checking for $ac_word... " >&6; }
4902 if ${ac_cv_prog_CC+:} false; then :
4903 $as_echo_n "(cached) " >&6
4905 if test -n "$CC"; then
4906 ac_cv_prog_CC="$CC" # Let the user override the test.
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912 test -z "$as_dir" && as_dir=.
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4915 ac_cv_prog_CC="$ac_prog"
4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4926 if test -n "$CC"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4928 $as_echo "$CC" >&6; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4935 test -n "$CC" && break
4938 if test -z "$CC"; then
4941 # Found it, now check the version.
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $CC" >&5
4943 $as_echo_n "checking version of $CC... " >&6; }
4944 ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
4945 case $ac_prog_version in
4946 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4948 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4949 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4953 $as_echo "$ac_prog_version" >&6; }
4955 if test $ac_verc_fail = yes; then
4956 critic_missing="$critic_missing gcc"
4959 for ac_prog in gnumake gmake make
4961 # Extract the first word of "$ac_prog", so it can be a program name with args.
4962 set dummy $ac_prog; ac_word=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if ${ac_cv_prog_MAKE+:} false; then :
4966 $as_echo_n "(cached) " >&6
4968 if test -n "$MAKE"; then
4969 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975 test -z "$as_dir" && as_dir=.
4976 for ac_exec_ext in '' $ac_executable_extensions; do
4977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4978 ac_cv_prog_MAKE="$ac_prog"
4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 MAKE=$ac_cv_prog_MAKE
4989 if test -n "$MAKE"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4991 $as_echo "$MAKE" >&6; }
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4998 test -n "$MAKE" && break
5001 if test -z "$MAKE"; then
5004 # Found it, now check the version.
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
5006 $as_echo_n "checking version of $MAKE... " >&6; }
5007 ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5008 case $ac_prog_version in
5009 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5011 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5012 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5016 $as_echo "$ac_prog_version" >&6; }
5018 if test $ac_verc_fail = yes; then
5019 critic_missing="$critic_missing make"
5023 for ac_prog in gnumsgfmt gmsgfmt msgfmt
5025 # Extract the first word of "$ac_prog", so it can be a program name with args.
5026 set dummy $ac_prog; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if ${ac_cv_prog_MSGFMT+:} false; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$MSGFMT"; then
5033 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_MSGFMT="$ac_prog"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 MSGFMT=$ac_cv_prog_MSGFMT
5053 if test -n "$MSGFMT"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5055 $as_echo "$MSGFMT" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5062 test -n "$MSGFMT" && break
5065 if test -z "$MSGFMT"; then
5068 # Found it, now check the version.
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
5070 $as_echo_n "checking version of $MSGFMT... " >&6; }
5071 ac_prog_version=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5072 case $ac_prog_version in
5073 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5074 0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
5075 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5076 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5080 $as_echo "$ac_prog_version" >&6; }
5082 if test $ac_verc_fail = yes; then
5083 MSGFMT=: aux_missing="$aux_missing msgfmt"
5086 for ac_prog in makeinfo
5088 # Extract the first word of "$ac_prog", so it can be a program name with args.
5089 set dummy $ac_prog; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_prog_MAKEINFO+:} false; then :
5093 $as_echo_n "(cached) " >&6
5095 if test -n "$MAKEINFO"; then
5096 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 test -z "$as_dir" && as_dir=.
5103 for ac_exec_ext in '' $ac_executable_extensions; do
5104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5105 ac_cv_prog_MAKEINFO="$ac_prog"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 MAKEINFO=$ac_cv_prog_MAKEINFO
5116 if test -n "$MAKEINFO"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
5118 $as_echo "$MAKEINFO" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5125 test -n "$MAKEINFO" && break
5128 if test -z "$MAKEINFO"; then
5131 # Found it, now check the version.
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
5133 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5134 ac_prog_version=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5135 case $ac_prog_version in
5136 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5138 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5139 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5143 $as_echo "$ac_prog_version" >&6; }
5145 if test $ac_verc_fail = yes; then
5146 MAKEINFO=: aux_missing="$aux_missing makeinfo"
5151 # Extract the first word of "$ac_prog", so it can be a program name with args.
5152 set dummy $ac_prog; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_SED+:} false; then :
5156 $as_echo_n "(cached) " >&6
5158 if test -n "$SED"; then
5159 ac_cv_prog_SED="$SED" # Let the user override the test.
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir=.
5166 for ac_exec_ext in '' $ac_executable_extensions; do
5167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5168 ac_cv_prog_SED="$ac_prog"
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 if test -n "$SED"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5181 $as_echo "$SED" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5188 test -n "$SED" && break
5191 if test -z "$SED"; then
5194 # Found it, now check the version.
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
5196 $as_echo_n "checking version of $SED... " >&6; }
5197 ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5198 case $ac_prog_version in
5199 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5200 3.0[2-9]*|3.[1-9]*|[4-9]*)
5201 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5202 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5206 $as_echo "$ac_prog_version" >&6; }
5208 if test $ac_verc_fail = yes; then
5209 SED=: aux_missing="$aux_missing sed"
5213 for ac_prog in autoconf
5215 # Extract the first word of "$ac_prog", so it can be a program name with args.
5216 set dummy $ac_prog; ac_word=$2
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5218 $as_echo_n "checking for $ac_word... " >&6; }
5219 if ${ac_cv_prog_AUTOCONF+:} false; then :
5220 $as_echo_n "(cached) " >&6
5222 if test -n "$AUTOCONF"; then
5223 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 test -z "$as_dir" && as_dir=.
5230 for ac_exec_ext in '' $ac_executable_extensions; do
5231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5232 ac_cv_prog_AUTOCONF="$ac_prog"
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 AUTOCONF=$ac_cv_prog_AUTOCONF
5243 if test -n "$AUTOCONF"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5245 $as_echo "$AUTOCONF" >&6; }
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5252 test -n "$AUTOCONF" && break
5254 test -n "$AUTOCONF" || AUTOCONF="no"
5256 case "x$AUTOCONF" in
5257 xno|x|x:) AUTOCONF=no ;;
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5260 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5261 if ${libc_cv_autoconf_works+:} false; then :
5262 $as_echo_n "(cached) " >&6
5264 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
5265 libc_cv_autoconf_works=yes
5267 libc_cv_autoconf_works=no
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
5271 $as_echo "$libc_cv_autoconf_works" >&6; }
5272 test $libc_cv_autoconf_works = yes || AUTOCONF=no
5275 if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
5276 # If --without-cvs they probably won't change configure.in, so no complaints.
5277 aux_missing="$aux_missing autoconf"
5280 test -n "$critic_missing" && as_fn_error $? "
5281 *** These critical programs are missing or too old:$critic_missing
5282 *** Check the INSTALL file for required versions." "$LINENO" 5
5284 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
5285 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5286 *** some features will be disabled.
5287 *** Check the INSTALL file for required versions." >&5
5288 $as_echo "$as_me: WARNING:
5289 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5290 *** some features will be disabled.
5291 *** Check the INSTALL file for required versions." >&2;}
5293 # if using special system headers, find out the compiler's sekrit
5294 # header directory and add that to the list. NOTE: Only does the right
5295 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5296 if test -n "$sysheaders"; then
5297 SYSINCLUDES=-nostdinc
5298 for d in include include-fixed; do
5299 i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
5300 SYSINCLUDES="$SYSINCLUDES -isystem $i"
5302 SYSINCLUDES="$SYSINCLUDES \
5303 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5304 if test -n "$CXX"; then
5305 cxxversion=`$CXX -dumpversion 2>&5` &&
5306 cxxmachine=`$CXX -dumpmachine 2>&5` &&
5307 cxxheaders=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5308 CXX_SYSINCLUDES="-isystem $cxxheaders \
5309 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5315 # ranlib is never necessary on Linux and Hurd systems
5318 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5319 # since this would lead to problems installing/building glibc.
5320 # LD_LIBRARY_PATH contains the current directory if one of the following
5322 # - one of the terminals (":" and ";") is the first or last sign
5323 # - two terminals occur directly after each other
5324 # - the path contains an element with a dot in it
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5326 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5327 case ${LD_LIBRARY_PATH} in
5328 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
5329 ld_library_path_setting="contains current directory"
5332 ld_library_path_setting="ok"
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5336 $as_echo "$ld_library_path_setting" >&6; }
5337 if test "$ld_library_path_setting" != "ok"; then
5339 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5340 *** building glibc. Please change the environment variable
5341 *** and run configure again." "$LINENO" 5
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports -static-libgcc" >&5
5345 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5346 if ${libc_cv_gcc_static_libgcc+:} false; then :
5347 $as_echo_n "(cached) " >&6
5349 if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then
5350 libc_cv_gcc_static_libgcc=
5352 libc_cv_gcc_static_libgcc=-static-libgcc
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_static_libgcc" >&5
5356 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5359 # Extract the first word of "bash", so it can be a program name with args.
5360 set dummy bash; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_path_BASH_SHELL+:} false; then :
5364 $as_echo_n "(cached) " >&6
5368 ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5378 ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
5390 BASH_SHELL=$ac_cv_path_BASH_SHELL
5391 if test -n "$BASH_SHELL"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5393 $as_echo "$BASH_SHELL" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5400 if test "$BASH_SHELL" != no &&
5401 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5402 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5403 libc_cv_have_bash2=yes
5405 libc_cv_have_bash2=no
5409 if test "$BASH_SHELL" = no; then
5410 # Extract the first word of "ksh", so it can be a program name with args.
5411 set dummy ksh; ac_word=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_path_KSH+:} false; then :
5415 $as_echo_n "(cached) " >&6
5419 ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
5442 if test -n "$KSH"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KSH" >&5
5444 $as_echo "$KSH" >&6; }
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5451 if test "$KSH" = no; then
5454 libc_cv_have_ksh=yes
5459 libc_cv_have_ksh=yes
5463 for ac_prog in gawk mawk nawk awk
5465 # Extract the first word of "$ac_prog", so it can be a program name with args.
5466 set dummy $ac_prog; ac_word=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_AWK+:} false; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$AWK"; then
5473 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir=.
5480 for ac_exec_ext in '' $ac_executable_extensions; do
5481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5482 ac_cv_prog_AWK="$ac_prog"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 if test -n "$AWK"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5495 $as_echo "$AWK" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5502 test -n "$AWK" && break
5505 # Extract the first word of "perl", so it can be a program name with args.
5506 set dummy perl; ac_word=$2
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5508 $as_echo_n "checking for $ac_word... " >&6; }
5509 if ${ac_cv_path_PERL+:} false; then :
5510 $as_echo_n "(cached) " >&6
5514 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 test -z "$as_dir" && as_dir=.
5522 for ac_exec_ext in '' $ac_executable_extensions; do
5523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5524 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
5536 PERL=$ac_cv_path_PERL
5537 if test -n "$PERL"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5539 $as_echo "$PERL" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5546 if test "$PERL" != no &&
5547 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5550 # Extract the first word of "install-info", so it can be a program name with args.
5551 set dummy install-info; ac_word=$2
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 $as_echo_n "checking for $ac_word... " >&6; }
5554 if ${ac_cv_path_INSTALL_INFO+:} false; then :
5555 $as_echo_n "(cached) " >&6
5557 case $INSTALL_INFO in
5559 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5564 for as_dir in $as_dummy
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
5582 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5583 if test -n "$INSTALL_INFO"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5585 $as_echo "$INSTALL_INFO" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5592 # Extract the first word of "bison", so it can be a program name with args.
5593 set dummy bison; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_path_BISON+:} false; then :
5597 $as_echo_n "(cached) " >&6
5601 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 as_dummy="$PATH:/usr/local/bin:/usr/bin:/bin"
5606 for as_dir in $as_dummy
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5612 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no"
5624 BISON=$ac_cv_path_BISON
5625 if test -n "$BISON"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5627 $as_echo "$BISON" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed size_t type" >&5
5636 $as_echo_n "checking for signed size_t type... " >&6; }
5637 if ${libc_cv_signed_size_t+:} false; then :
5638 $as_echo_n "(cached) " >&6
5640 echo '#include <stddef.h>
5641 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5642 if eval "$ac_cpp conftest.c 2>/dev/null" \
5643 | grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev/null; then
5644 libc_cv_signed_size_t=no
5646 libc_cv_signed_size_t=yes
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_signed_size_t" >&5
5651 $as_echo "$libc_cv_signed_size_t" >&6; }
5652 if test $libc_cv_signed_size_t = yes; then
5653 cat >> confdefs.h <<\EOF
5654 #undef __SIZE_TYPE__
5655 #define __SIZE_TYPE__ unsigned
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libc-friendly stddef.h" >&5
5660 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5661 if ${libc_cv_friendly_stddef+:} false; then :
5662 $as_echo_n "(cached) " >&6
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5666 #define __need_size_t
5667 #define __need_wchar_t
5674 size_t size; wchar_t wchar;
5676 #error stddef.h ignored __need_*
5678 if (&size == NULL || &wchar == NULL) abort ();
5683 if ac_fn_c_try_compile "$LINENO"; then :
5684 libc_cv_friendly_stddef=yes
5686 libc_cv_friendly_stddef=no
5688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_friendly_stddef" >&5
5691 $as_echo "$libc_cv_friendly_stddef" >&6; }
5692 if test $libc_cv_friendly_stddef = yes; then
5693 config_vars="$config_vars
5694 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to use -P to assemble .S files" >&5
5698 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5699 if ${libc_cv_need_minus_P+:} false; then :
5700 $as_echo_n "(cached) " >&6
5702 cat > conftest.S <<EOF
5703 #include "confdefs.h"
5704 /* Nothing whatsoever. */
5706 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5707 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5711 test $ac_status = 0; }; }; then
5712 libc_cv_need_minus_P=no
5714 libc_cv_need_minus_P=yes
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_need_minus_P" >&5
5719 $as_echo "$libc_cv_need_minus_P" >&6; }
5720 if test $libc_cv_need_minus_P = yes; then
5721 config_vars="$config_vars
5722 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5726 $as_echo_n "checking for .set assembler directive... " >&6; }
5727 if ${libc_cv_asm_set_directive+:} false; then :
5728 $as_echo_n "(cached) " >&6
5730 cat > conftest.s <<EOF
5733 .set glibc_conftest_frobozz,foo
5734 $libc_cv_asm_global_directive glibc_conftest_frobozz
5736 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5737 # (but it doesn't work), so we must do a linking check to be sure.
5738 cat > conftest1.c <<\EOF
5739 extern int glibc_conftest_frobozz;
5740 void _start() { glibc_conftest_frobozz = 1; }
5742 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5743 -nostartfiles -nostdlib \
5744 -o conftest conftest.s conftest1.c 1>&5 2>&5; then
5745 libc_cv_asm_set_directive=yes
5747 libc_cv_asm_set_directive=no
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5752 $as_echo "$libc_cv_asm_set_directive" >&6; }
5753 if test $libc_cv_asm_set_directive = yes; then
5754 $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_unique_object symbol type" >&5
5759 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
5760 if ${libc_cv_asm_unique_object+:} false; then :
5761 $as_echo_n "(cached) " >&6
5763 cat > conftest.s <<EOF
5766 .type _sym, ${libc_cv_asm_type_prefix}gnu_unique_object
5768 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
5769 libc_cv_asm_unique_object=yes
5771 libc_cv_asm_unique_object=no
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_unique_object" >&5
5776 $as_echo "$libc_cv_asm_unique_object" >&6; }
5777 if test $libc_cv_asm_unique_object = yes; then
5778 $as_echo "#define HAVE_ASM_UNIQUE_OBJECT 1" >>confdefs.h
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .symver assembler directive" >&5
5783 $as_echo_n "checking for .symver assembler directive... " >&6; }
5784 if ${libc_cv_asm_symver_directive+:} false; then :
5785 $as_echo_n "(cached) " >&6
5787 cat > conftest.s <<EOF
5790 .symver _sym,sym@VERS
5792 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
5793 libc_cv_asm_symver_directive=yes
5795 libc_cv_asm_symver_directive=no
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_symver_directive" >&5
5800 $as_echo "$libc_cv_asm_symver_directive" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --version-script" >&5
5802 $as_echo_n "checking for ld --version-script... " >&6; }
5803 if ${libc_cv_ld_version_script_option+:} false; then :
5804 $as_echo_n "(cached) " >&6
5806 if test $libc_cv_asm_symver_directive = yes; then
5807 cat > conftest.s <<EOF
5810 .symver _sym,sym@VERS
5812 cat > conftest.map <<EOF
5821 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
5822 if { ac_try='${CC-cc} $CFLAGS $LDFLAGS -shared
5823 -o conftest.so conftest.o
5824 -nostartfiles -nostdlib
5825 -Wl,--version-script,conftest.map
5827 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5831 test $ac_status = 0; }; };
5833 libc_cv_ld_version_script_option=yes
5835 libc_cv_ld_version_script_option=no
5838 libc_cv_ld_version_script_option=no
5841 libc_cv_ld_version_script_option=no
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_version_script_option" >&5
5846 $as_echo "$libc_cv_ld_version_script_option" >&6; }
5847 if test $shared != no &&
5848 test $libc_cv_asm_symver_directive = yes &&
5849 test $libc_cv_ld_version_script_option = yes &&
5850 test $enable_versioning = yes; then
5852 $as_echo "#define DO_VERSIONING 1" >>confdefs.h
5859 if test $elf = yes && test $shared != no && test $VERSIONING = no; then
5861 *** WARNING: You should not compile GNU libc without versioning. Not using
5862 *** versioning will introduce incompatibilities so that old binaries
5863 *** will not run anymore.
5864 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
5866 if test $elf = yes; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .previous assembler directive" >&5
5868 $as_echo_n "checking for .previous assembler directive... " >&6; }
5869 if ${libc_cv_asm_previous_directive+:} false; then :
5870 $as_echo_n "(cached) " >&6
5872 cat > conftest.s <<EOF
5873 .section foo_section
5876 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5877 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5881 test $ac_status = 0; }; }; then
5882 libc_cv_asm_previous_directive=yes
5884 libc_cv_asm_previous_directive=no
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_previous_directive" >&5
5889 $as_echo "$libc_cv_asm_previous_directive" >&6; }
5890 if test $libc_cv_asm_previous_directive = yes; then
5891 $as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .popsection assembler directive" >&5
5895 $as_echo_n "checking for .popsection assembler directive... " >&6; }
5896 if ${libc_cv_asm_popsection_directive+:} false; then :
5897 $as_echo_n "(cached) " >&6
5899 cat > conftest.s <<EOF
5900 .pushsection foo_section
5903 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5904 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5908 test $ac_status = 0; }; }; then
5909 libc_cv_asm_popsection_directive=yes
5911 libc_cv_asm_popsection_directive=no
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_popsection_directive" >&5
5916 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
5917 if test $libc_cv_asm_popsection_directive = yes; then
5918 $as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .protected and .hidden assembler directive" >&5
5923 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
5924 if ${libc_cv_asm_protected_directive+:} false; then :
5925 $as_echo_n "(cached) " >&6
5927 cat > conftest.s <<EOF
5933 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5934 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5938 test $ac_status = 0; }; }; then
5939 libc_cv_asm_protected_directive=yes
5941 as_fn_error $? "assembler support for symbol visibility is required" "$LINENO" 5
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_protected_directive" >&5
5946 $as_echo "$libc_cv_asm_protected_directive" >&6; }
5948 if test $libc_cv_asm_protected_directive = yes; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((visibility())) is supported" >&5
5950 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
5951 if ${libc_cv_visibility_attribute+:} false; then :
5952 $as_echo_n "(cached) " >&6
5954 cat > conftest.c <<EOF
5955 int foo __attribute__ ((visibility ("hidden"))) = 1;
5956 int bar __attribute__ ((visibility ("protected"))) = 1;
5958 libc_cv_visibility_attribute=no
5959 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5964 test $ac_status = 0; }; }; then
5965 if grep '\.hidden.*foo' conftest.s >/dev/null; then
5966 if grep '\.protected.*bar' conftest.s >/dev/null; then
5967 libc_cv_visibility_attribute=yes
5971 rm -f conftest.{c,s}
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_visibility_attribute" >&5
5975 $as_echo "$libc_cv_visibility_attribute" >&6; }
5976 if test $libc_cv_visibility_attribute != yes; then
5977 as_fn_error $? "compiler support for visibility attribute is required" "$LINENO" 5
5981 if test $libc_cv_visibility_attribute = yes; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((visibility()))" >&5
5983 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
5984 if ${libc_cv_broken_visibility_attribute+:} false; then :
5985 $as_echo_n "(cached) " >&6
5987 cat > conftest.c <<EOF
5989 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5990 int bar (int x) { return x; }
5992 libc_cv_broken_visibility_attribute=yes
5993 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5994 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5998 test $ac_status = 0; }; }; then
5999 if grep '\.hidden[ _]foo' conftest.s >/dev/null; then
6000 libc_cv_broken_visibility_attribute=no
6003 rm -f conftest.c conftest.s
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_visibility_attribute" >&5
6007 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6008 if test $libc_cv_broken_visibility_attribute = yes; then
6009 as_fn_error $? "working compiler support for visibility attribute is required" "$LINENO" 5
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
6014 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6015 if ${libc_cv_broken_alias_attribute+:} false; then :
6016 $as_echo_n "(cached) " >&6
6018 cat > conftest.c <<EOF
6019 extern int foo (int x) __asm ("xyzzy");
6020 int bar (int x) { return x; }
6021 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6023 extern __typeof (dfoo) dfoo __asm ("abccb");
6026 libc_cv_broken_alias_attribute=yes
6027 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6028 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6032 test $ac_status = 0; }; }; then
6033 if grep 'xyzzy' conftest.s >/dev/null &&
6034 grep 'abccb' conftest.s >/dev/null; then
6035 libc_cv_broken_alias_attribute=no
6038 rm -f conftest.c conftest.s
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
6042 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6043 if test $libc_cv_broken_alias_attribute = yes; then
6044 as_fn_error $? "working alias attribute support required" "$LINENO" 5
6047 if test $libc_cv_visibility_attribute = yes; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
6049 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6050 if ${libc_cv_have_sdata_section+:} false; then :
6051 $as_echo_n "(cached) " >&6
6053 echo "int i;" > conftest.c
6054 libc_cv_have_sdata_section=no
6055 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c -o conftest.so 2>&1 \
6056 | grep '\.sdata' >/dev/null; then
6057 libc_cv_have_sdata_section=yes
6059 rm -f conftest.c conftest.so
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
6063 $as_echo "$libc_cv_have_sdata_section" >&6; }
6064 if test $libc_cv_have_sdata_section = yes; then
6065 $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
6071 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6072 if ${libc_cv_initfini_array+:} false; then :
6073 $as_echo_n "(cached) " >&6
6075 cat > conftest.c <<EOF
6076 int _start (void) { return 0; }
6077 int __start (void) { return 0; }
6078 int foo (void) { return 1; }
6079 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6081 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6082 -static -nostartfiles -nostdlib 1>&5'
6083 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6087 test $ac_status = 0; }; }
6089 if readelf -S conftest | fgrep INIT_ARRAY > /dev/null; then
6090 libc_cv_initfini_array=yes
6092 libc_cv_initfini_array=no
6095 libc_cv_initfini_array=no
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfini_array" >&5
6100 $as_echo "$libc_cv_initfini_array" >&6; }
6101 if test $libc_cv_initfini_array != yes; then
6102 as_fn_error $? "Need linker with .init_array/.fini_array support." "$LINENO" 5
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use .ctors/.dtors header and trailer" >&5
6106 $as_echo_n "checking whether to use .ctors/.dtors header and trailer... " >&6; }
6107 if ${libc_cv_ctors_header+:} false; then :
6108 $as_echo_n "(cached) " >&6
6110 if { ac_try='${CC-cc} -Wl,--verbose 2>&1|grep SORT_BY_INIT_PRIORITY 1>&5'
6111 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6115 test $ac_status = 0; }; }; then
6116 libc_cv_ctors_header=no
6118 libc_cv_ctors_header=yes
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ctors_header" >&5
6122 $as_echo "$libc_cv_ctors_header" >&6; }
6124 if test $libc_cv_ctors_header = no; then
6125 $as_echo "#define NO_CTORS_DTORS_SECTIONS 1" >>confdefs.h
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
6130 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6131 if ${libc_cv_cc_with_libunwind+:} false; then :
6132 $as_echo_n "(cached) " >&6
6135 cat > conftest.c <<EOF
6136 int main (void) { return 0; }
6138 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6139 conftest.c -v 2>&1 >/dev/null | grep -q " -lunwind "; then
6140 libc_cv_cc_with_libunwind=yes
6142 libc_cv_cc_with_libunwind=no
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
6147 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6149 if test $libc_cv_cc_with_libunwind = yes; then
6150 $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z nodelete option" >&5
6155 $as_echo_n "checking for -z nodelete option... " >&6; }
6156 if ${libc_cv_z_nodelete+:} false; then :
6157 $as_echo_n "(cached) " >&6
6159 cat > conftest.c <<EOF
6160 int _start (void) { return 42; }
6162 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6163 -fPIC -shared -o conftest.so conftest.c
6164 -nostartfiles -nostdlib
6165 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6166 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6170 test $ac_status = 0; }; }
6172 libc_cv_z_nodelete=yes
6174 as_fn_error $? "linker with -z nodelete support required" "$LINENO" 5
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_nodelete" >&5
6179 $as_echo "$libc_cv_z_nodelete" >&6; }
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z nodlopen option" >&5
6182 $as_echo_n "checking for -z nodlopen option... " >&6; }
6183 if ${libc_cv_z_nodlopen+:} false; then :
6184 $as_echo_n "(cached) " >&6
6186 cat > conftest.c <<EOF
6187 int _start (void) { return 42; }
6189 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6190 -fPIC -shared -o conftest.so conftest.c
6191 -nostartfiles -nostdlib
6192 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6193 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6197 test $ac_status = 0; }; }
6199 libc_cv_z_nodlopen=yes
6201 as_fn_error $? "linker with -z nodlopen support required" "$LINENO" 5
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_nodlopen" >&5
6206 $as_echo "$libc_cv_z_nodlopen" >&6; }
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z initfirst option" >&5
6209 $as_echo_n "checking for -z initfirst option... " >&6; }
6210 if ${libc_cv_z_initfirst+:} false; then :
6211 $as_echo_n "(cached) " >&6
6213 cat > conftest.c <<EOF
6214 int _start (void) { return 42; }
6216 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6217 -fPIC -shared -o conftest.so conftest.c
6218 -nostartfiles -nostdlib
6219 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6220 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6224 test $ac_status = 0; }; }
6226 libc_cv_z_initfirst=yes
6228 as_fn_error $? "linker with -z initfirst support required" "$LINENO" 5
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_initfirst" >&5
6233 $as_echo "$libc_cv_z_initfirst" >&6; }
6235 case "$base_machine" in
6236 i[34567]86 | x86_64 | powerpc* | s390* | sparc* | alpha*)
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z relro option" >&5
6238 $as_echo_n "checking for -z relro option... " >&6; }
6239 if ${libc_cv_z_relro+:} false; then :
6240 $as_echo_n "(cached) " >&6
6243 if { ac_try='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6244 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248 test $ac_status = 0; }; }
6250 if { ac_try='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6251 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255 test $ac_status = 0; }; }
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_relro" >&5
6262 $as_echo "$libc_cv_z_relro" >&6; }
6263 if test "$libc_cv_z_relro" = no; then
6264 as_fn_error $? "linker with -z relro support required" "$LINENO" 5
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bgroup option" >&5
6271 $as_echo_n "checking for -Bgroup option... " >&6; }
6272 if ${libc_cv_Bgroup+:} false; then :
6273 $as_echo_n "(cached) " >&6
6275 cat > conftest.c <<EOF
6276 int _start (void) { return 42; }
6278 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6279 -fPIC -shared -o conftest.so conftest.c
6280 -Wl,-Bgroup -nostdlib 1>&5'
6281 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6285 test $ac_status = 0; }; }
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_Bgroup" >&5
6294 $as_echo "$libc_cv_Bgroup" >&6; }
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcc_s suffix" >&5
6298 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6299 if ${libc_cv_libgcc_s_suffix+:} false; then :
6300 $as_echo_n "(cached) " >&6
6302 cat > conftest.c <<EOF
6303 int main (void) { return 0; }
6305 libc_cv_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6306 -fPIC -shared -shared-libgcc -o conftest.so \
6307 conftest.c -v 2>&1 >/dev/null \
6308 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_libgcc_s_suffix" >&5
6312 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --as-needed option" >&5
6316 $as_echo_n "checking for --as-needed option... " >&6; }
6317 if ${libc_cv_as_needed+:} false; then :
6318 $as_echo_n "(cached) " >&6
6320 cat > conftest.c <<EOF
6321 int main (void) { return 0; }
6323 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6324 -fPIC -shared -o conftest.so conftest.c
6325 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6327 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6331 test $ac_status = 0; }; }
6333 libc_cv_as_needed=yes
6335 libc_cv_as_needed=no
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_needed" >&5
6340 $as_echo "$libc_cv_as_needed" >&6; }
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
6345 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6346 if ${libc_cv_as_noexecstack+:} false; then :
6347 $as_echo_n "(cached) " >&6
6349 cat > conftest.c <<EOF
6352 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS
6353 -S -o conftest.s conftest.c 1>&5'
6354 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6358 test $ac_status = 0; }; } \
6359 && grep -q .note.GNU-stack conftest.s \
6360 && { ac_try='${CC-cc} $ASFLAGS -Wa,--noexecstack
6361 -c -o conftest.o conftest.s 1>&5'
6362 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6366 test $ac_status = 0; }; }
6368 libc_cv_as_noexecstack=yes
6370 libc_cv_as_noexecstack=no
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
6375 $as_echo "$libc_cv_as_noexecstack" >&6; }
6376 if test $libc_cv_as_noexecstack = yes; then
6377 ASFLAGS_config="$ASFLAGS_config -Wa,--noexecstack"
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z combreloc" >&5
6382 $as_echo_n "checking for -z combreloc... " >&6; }
6383 if ${libc_cv_z_combreloc+:} false; then :
6384 $as_echo_n "(cached) " >&6
6386 cat > conftest.c <<EOF
6387 extern int bar (int);
6389 int foo (void) { return bar (mumble); }
6391 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6392 -fPIC -shared -o conftest.so conftest.c
6393 -nostdlib -nostartfiles
6394 -Wl,-z,combreloc 1>&5'
6395 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6399 test $ac_status = 0; }; }
6401 if readelf -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
6402 libc_cv_z_combreloc=yes
6404 libc_cv_z_combreloc=no
6407 libc_cv_z_combreloc=no
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_combreloc" >&5
6412 $as_echo "$libc_cv_z_combreloc" >&6; }
6413 if test "$libc_cv_z_combreloc" = yes; then
6414 $as_echo "#define HAVE_Z_COMBRELOC 1" >>confdefs.h
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z execstack" >&5
6420 $as_echo_n "checking for -z execstack... " >&6; }
6421 if ${libc_cv_z_execstack+:} false; then :
6422 $as_echo_n "(cached) " >&6
6424 cat > conftest.c <<EOF
6425 int _start (void) { return 42; }
6427 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6428 -fPIC -shared -o conftest.so conftest.c
6429 -Wl,-z,execstack -nostdlib
6431 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6435 test $ac_status = 0; }; }
6437 libc_cv_z_execstack=yes
6439 libc_cv_z_execstack=no
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_execstack" >&5
6444 $as_echo "$libc_cv_z_execstack" >&6; }
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
6448 $as_echo_n "checking for -fpie... " >&6; }
6449 if ${libc_cv_fpie+:} false; then :
6450 $as_echo_n "(cached) " >&6
6452 cat > conftest.c <<EOF
6454 main () { return 0;}
6456 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6457 -o conftest conftest.c 1>&5'
6458 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6462 test $ac_status = 0; }; }
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
6471 $as_echo "$libc_cv_fpie" >&6; }
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5
6476 $as_echo_n "checking for --hash-style option... " >&6; }
6477 if ${libc_cv_hashstyle+:} false; then :
6478 $as_echo_n "(cached) " >&6
6480 cat > conftest.c <<EOF
6481 int _start (void) { return 42; }
6483 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6484 -fPIC -shared -o conftest.so conftest.c
6485 -Wl,--hash-style=both -nostdlib 1>&5'
6486 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6490 test $ac_status = 0; }; }
6492 libc_cv_hashstyle=yes
6494 libc_cv_hashstyle=no
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5
6499 $as_echo "$libc_cv_hashstyle" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6504 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6505 if ${libc_cv_fno_toplevel_reorder+:} false; then :
6506 $as_echo_n "(cached) " >&6
6508 cat > conftest.c <<EOF
6511 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6513 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6517 test $ac_status = 0; }; }
6519 libc_cv_fno_toplevel_reorder=yes
6521 libc_cv_fno_toplevel_reorder=no
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fno_toplevel_reorder" >&5
6526 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6527 if test $libc_cv_fno_toplevel_reorder = yes; then
6528 fno_unit_at_a_time="-fno-toplevel-reorder -fno-section-anchors"
6530 fno_unit_at_a_time=-fno-unit-at-a-time
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
6535 $as_echo_n "checking for -fstack-protector... " >&6; }
6536 if ${libc_cv_ssp+:} false; then :
6537 $as_echo_n "(cached) " >&6
6539 cat > conftest.c <<EOF
6541 main () { return 0;}
6543 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6544 -o conftest conftest.c 1>&5'
6545 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6549 test $ac_status = 0; }; }
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
6558 $as_echo "$libc_cv_ssp" >&6; }
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fgnu89-inline" >&5
6562 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6563 if ${libc_cv_gnu89_inline+:} false; then :
6564 $as_echo_n "(cached) " >&6
6566 cat > conftest.c <<EOF
6568 #ifdef __GNUC_GNU_INLINE__
6569 main () { return 0;}
6574 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6575 -o conftest.s conftest.c 1>&5'
6576 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6580 test $ac_status = 0; }; }
6582 libc_cv_gnu89_inline=yes
6584 libc_cv_gnu89_inline=no
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu89_inline" >&5
6589 $as_echo "$libc_cv_gnu89_inline" >&6; }
6590 if test $libc_cv_gnu89_inline = yes; then
6591 gnu89_inline=-fgnu89-inline
6597 if test $elf != yes; then
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .init and .fini sections" >&5
6599 $as_echo_n "checking for .init and .fini sections... " >&6; }
6600 if ${libc_cv_have_initfini+:} false; then :
6601 $as_echo_n "(cached) " >&6
6603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6609 asm (".section .init");
6610 asm (".section .fini");
6611 asm ("${libc_cv_dot_text}");
6616 if ac_fn_c_try_compile "$LINENO"; then :
6617 libc_cv_have_initfini=yes
6619 libc_cv_have_initfini=no
6621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_initfini" >&5
6624 $as_echo "$libc_cv_have_initfini" >&6; }
6625 if test $libc_cv_have_initfini = yes; then
6626 $as_echo "#define HAVE_INITFINI 1" >>confdefs.h
6631 if test $elf = yes; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
6633 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6634 if ${libc_cv_have_section_quotes+:} false; then :
6635 $as_echo_n "(cached) " >&6
6637 cat > conftest.c <<EOF
6638 static const int foo
6639 __attribute__ ((section ("bar"))) = 1;
6641 if ${CC-cc} -S conftest.c -o conftest.s; then
6642 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6643 libc_cv_have_section_quotes=yes
6645 libc_cv_have_section_quotes=no
6648 libc_cv_have_section_quotes=unknown
6650 rm -f conftest.{c,s}
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
6654 $as_echo "$libc_cv_have_section_quotes" >&6; }
6655 if test $libc_cv_have_section_quotes = yes; then
6656 $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
6663 if test $elf = yes; then
6664 libc_cv_asm_underscores=no
6666 if test $ac_cv_prog_cc_works = yes; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix on C symbol names" >&5
6668 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
6669 if ${libc_cv_asm_underscores+:} false; then :
6670 $as_echo_n "(cached) " >&6
6672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6673 /* end confdefs.h. */
6674 asm ("_glibc_foobar:");
6683 if ac_fn_c_try_link "$LINENO"; then :
6684 libc_cv_asm_underscores=yes
6686 libc_cv_asm_underscores=no
6688 rm -f core conftest.err conftest.$ac_objext \
6689 conftest$ac_exeext conftest.$ac_ext
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_underscores" >&5
6692 $as_echo "$libc_cv_asm_underscores" >&6; }
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix on C symbol names" >&5
6695 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
6696 if ${libc_cv_asm_underscores+:} false; then :
6697 $as_echo_n "(cached) " >&6
6699 cat > conftest.$ac_ext <<EOF
6700 #line $LINENO "configure"
6701 #include "confdefs.h"
6702 void underscore_test(void) {
6705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6706 (eval $ac_compile) 2>&5
6708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6709 test $ac_status = 0; }; then
6710 if grep _underscore_test conftest* >/dev/null; then
6712 libc_cv_asm_underscores=yes
6715 libc_cv_asm_underscores=no
6718 echo "configure: failed program was:" >&5
6719 cat conftest.$ac_ext >&5
6721 libc_cv_asm_underscores=no
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_underscores" >&5
6726 $as_echo "$libc_cv_asm_underscores" >&6; }
6729 if test $libc_cv_asm_underscores = no; then
6730 $as_echo "#define NO_UNDERSCORES 1" >>confdefs.h
6734 if test $elf = yes; then
6735 libc_cv_weak_symbols=yes
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weak directive" >&5
6739 $as_echo_n "checking for assembler .weak directive... " >&6; }
6740 if ${libc_cv_asm_weak_directive+:} false; then :
6741 $as_echo_n "(cached) " >&6
6743 cat > conftest.s <<EOF
6745 ${libc_cv_asm_global_directive} foo
6748 .weak bar; bar = foo
6750 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6751 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6755 test $ac_status = 0; }; }; then
6756 libc_cv_asm_weak_directive=yes
6758 libc_cv_asm_weak_directive=no
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weak_directive" >&5
6763 $as_echo "$libc_cv_asm_weak_directive" >&6; }
6765 if test $libc_cv_asm_weak_directive = no; then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weakext directive" >&5
6767 $as_echo_n "checking for assembler .weakext directive... " >&6; }
6768 if ${libc_cv_asm_weakext_directive+:} false; then :
6769 $as_echo_n "(cached) " >&6
6771 cat > conftest.s <<EOF
6773 ${libc_cv_asm_global_directive} foo
6777 ${libc_cv_asm_global_directive} baz
6780 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6781 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6785 test $ac_status = 0; }; }; then
6786 libc_cv_asm_weakext_directive=yes
6788 libc_cv_asm_weakext_directive=no
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weakext_directive" >&5
6793 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
6797 if test $libc_cv_asm_weak_directive = yes; then
6798 $as_echo "#define HAVE_ASM_WEAK_DIRECTIVE 1" >>confdefs.h
6800 elif test $libc_cv_asm_weakext_directive = yes; then
6801 $as_echo "#define HAVE_ASM_WEAKEXT_DIRECTIVE 1" >>confdefs.h
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported" >&5
6806 $as_echo_n "checking whether CFI directives are supported... " >&6; }
6807 if ${libc_cv_asm_cfi_directives+:} false; then :
6808 $as_echo_n "(cached) " >&6
6811 sparc/sparc64*) cfi_offset=2047;;
6814 cat > conftest.s <<EOF
6816 .type func,%function
6820 .cfi_rel_offset 1, $cfi_offset
6823 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6824 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6828 test $ac_status = 0; }; }; then
6829 libc_cv_asm_cfi_directives=yes
6831 libc_cv_asm_cfi_directives=no
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_cfi_directives" >&5
6836 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
6837 if test $libc_cv_asm_cfi_directives = yes; then
6838 $as_echo "#define HAVE_ASM_CFI_DIRECTIVES 1" >>confdefs.h
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --no-whole-archive" >&5
6843 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
6844 if ${libc_cv_ld_no_whole_archive+:} false; then :
6845 $as_echo_n "(cached) " >&6
6847 cat > conftest.c <<\EOF
6852 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6853 -nostdlib -nostartfiles -Wl,--no-whole-archive
6854 -o conftest conftest.c 1>&5'
6855 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6859 test $ac_status = 0; }; }; then
6860 libc_cv_ld_no_whole_archive=yes
6862 libc_cv_ld_no_whole_archive=no
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_no_whole_archive" >&5
6867 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
6868 if test $libc_cv_ld_no_whole_archive = yes; then
6869 no_whole_archive=-Wl,--no-whole-archive
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc -fexceptions" >&5
6873 $as_echo_n "checking for gcc -fexceptions... " >&6; }
6874 if ${libc_cv_gcc_exceptions+:} false; then :
6875 $as_echo_n "(cached) " >&6
6877 cat > conftest.c <<\EOF
6882 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6883 -nostdlib -nostartfiles -fexceptions
6884 -o conftest conftest.c 1>&5'
6885 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6889 test $ac_status = 0; }; }; then
6890 libc_cv_gcc_exceptions=yes
6892 libc_cv_gcc_exceptions=no
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_exceptions" >&5
6897 $as_echo "$libc_cv_gcc_exceptions" >&6; }
6898 if test $libc_cv_gcc_exceptions = yes; then
6899 exceptions=-fexceptions
6902 if test "$host_cpu" = powerpc ; then
6903 # Check for a bug present in at least versions 2.8.x of GCC
6904 # and versions 1.0.x of EGCS.
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether clobbering cr0 causes problems" >&5
6906 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
6907 if ${libc_cv_c_asmcr0_bug+:} false; then :
6908 $as_echo_n "(cached) " >&6
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
6921 if ac_fn_c_try_compile "$LINENO"; then :
6922 libc_cv_c_asmcr0_bug='no'
6924 libc_cv_c_asmcr0_bug='yes'
6926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_c_asmcr0_bug" >&5
6929 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
6930 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
6931 $as_echo "#define BROKEN_PPC_ASM_CR0 1" >>confdefs.h
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
6937 $as_echo_n "checking for __builtin_expect... " >&6; }
6938 if ${libc_cv_gcc_builtin_expect+:} false; then :
6939 $as_echo_n "(cached) " >&6
6941 cat > conftest.c <<EOF
6942 #line $LINENO "configure"
6945 a = __builtin_expect (a, 10);
6946 return a == 10 ? 0 : 1;
6949 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
6950 -o conftest conftest.c -lgcc >&5'
6951 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6955 test $ac_status = 0; }; }; then
6956 libc_cv_gcc_builtin_expect=yes
6958 libc_cv_gcc_builtin_expect=no
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_expect" >&5
6963 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
6964 if test "$libc_cv_gcc_builtin_expect" = yes; then
6965 $as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
6970 $as_echo_n "checking for __builtin_memset... " >&6; }
6971 if ${libc_cv_gcc_builtin_memset+:} false; then :
6972 $as_echo_n "(cached) " >&6
6974 cat > conftest.c <<\EOF
6977 __builtin_memset (x, 0, 1000);
6980 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6981 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6985 test $ac_status = 0; }; };
6987 libc_cv_gcc_builtin_memset=no
6989 libc_cv_gcc_builtin_memset=yes
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
6994 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
6995 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6996 $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
7001 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7002 if ${libc_cv_gcc_builtin_redirection+:} false; then :
7003 $as_echo_n "(cached) " >&6
7005 cat > conftest.c <<\EOF
7006 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7007 char *foo (const char *a, const char *b)
7009 return __builtin_strstr (a, b);
7012 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7013 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017 test $ac_status = 0; }; };
7019 libc_cv_gcc_builtin_redirection=yes
7021 libc_cv_gcc_builtin_redirection=no
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
7026 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7027 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7028 $as_echo "#define HAVE_BUILTIN_REDIRECTION 1" >>confdefs.h
7032 if test "x$use__thread" != xno; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
7034 $as_echo_n "checking for __thread... " >&6; }
7035 if ${libc_cv_gcc___thread+:} false; then :
7036 $as_echo_n "(cached) " >&6
7038 cat > conftest.c <<\EOF
7039 __thread int a = 42;
7041 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7042 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7046 test $ac_status = 0; }; }; then
7047 libc_cv_gcc___thread=yes
7049 libc_cv_gcc___thread=no
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc___thread" >&5
7054 $as_echo "$libc_cv_gcc___thread" >&6; }
7055 if test "$libc_cv_gcc___thread" = yes; then
7056 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
7060 libc_cv_gcc___thread=no
7063 if test "$libc_cv_gcc___thread" = yes; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tls_model attribute" >&5
7065 $as_echo_n "checking for tls_model attribute... " >&6; }
7066 if ${libc_cv_gcc_tls_model_attr+:} false; then :
7067 $as_echo_n "(cached) " >&6
7069 cat > conftest.c <<\EOF
7070 extern __thread int a __attribute__((tls_model ("initial-exec")));
7072 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7073 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7077 test $ac_status = 0; }; }; then
7078 libc_cv_gcc_tls_model_attr=yes
7080 libc_cv_gcc_tls_model_attr=no
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_tls_model_attr" >&5
7085 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7086 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7087 $as_echo "#define HAVE_TLS_MODEL_ATTRIBUTE 1" >>confdefs.h
7092 if test -n "$submachine"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
7094 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7095 if ${libc_cv_cc_submachine+:} false; then :
7096 $as_echo_n "(cached) " >&6
7098 libc_cv_cc_submachine=no
7099 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7100 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7101 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105 test $ac_status = 0; }; }; then
7106 libc_cv_cc_submachine="$opt"
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
7112 $as_echo "$libc_cv_cc_submachine" >&6; }
7113 if test "x$libc_cv_cc_submachine" = xno; then
7114 as_fn_error $? "${CC-cc} does not support $submachine" "$LINENO" 5
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
7120 $as_echo_n "checking for libgd... " >&6; }
7121 if test "$with_gd" != "no"; then
7122 old_CFLAGS="$CFLAGS"
7123 CFLAGS="$CFLAGS $libgd_include"
7124 old_LDFLAGS="$LDFLAGS"
7125 LDFLAGS="$LDFLAGS $libgd_ldflags"
7127 LIBS="$LIBS -lgd -lpng -lz -lm"
7128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7129 /* end confdefs.h. */
7139 if ac_fn_c_try_link "$LINENO"; then :
7144 rm -f core conftest.err conftest.$ac_objext \
7145 conftest$ac_exeext conftest.$ac_ext
7146 CFLAGS="$old_CFLAGS"
7147 LDFLAGS="$old_LDFLAGS"
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
7153 $as_echo "$LIBGD" >&6; }
7157 if test x$with_selinux = xno ; then
7160 # See if we have the SELinux library
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
7162 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7163 if ${ac_cv_lib_selinux_is_selinux_enabled+:} false; then :
7164 $as_echo_n "(cached) " >&6
7166 ac_check_lib_save_LIBS=$LIBS
7167 LIBS="-lselinux $LIBS"
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7171 /* Override any GCC internal prototype to avoid an error.
7172 Use char because int might match the return type of a GCC
7173 builtin and then its argument prototype would still apply. */
7177 char is_selinux_enabled ();
7181 return is_selinux_enabled ();
7186 if ac_fn_c_try_link "$LINENO"; then :
7187 ac_cv_lib_selinux_is_selinux_enabled=yes
7189 ac_cv_lib_selinux_is_selinux_enabled=no
7191 rm -f core conftest.err conftest.$ac_objext \
7192 conftest$ac_exeext conftest.$ac_ext
7193 LIBS=$ac_check_lib_save_LIBS
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7196 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7197 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes; then :
7203 # See if we have the SELinux header with the NSCD permissions in it.
7204 if test x$have_selinux = xyes ; then
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7206 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h. */
7209 #include <selinux/av_permissions.h>
7213 #ifdef NSCD__SHMEMHOST
7216 #error NSCD__SHMEMHOST not defined
7222 if ac_fn_c_try_compile "$LINENO"; then :
7227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_selinux" >&5
7229 $as_echo "$have_selinux" >&6; }
7232 if test x$with_selinux = xyes ; then
7233 if test x$have_selinux = xno ; then
7234 as_fn_error $? "SELinux explicitly required, but sufficiently recent SELinux library not found" "$LINENO" 5
7238 # Check if we're building with SELinux support.
7239 if test "x$have_selinux" = xyes; then
7241 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
7244 # See if we have the libaudit library
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
7246 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7247 if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false; then :
7248 $as_echo_n "(cached) " >&6
7250 ac_check_lib_save_LIBS=$LIBS
7251 LIBS="-laudit $LIBS"
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7255 /* Override any GCC internal prototype to avoid an error.
7256 Use char because int might match the return type of a GCC
7257 builtin and then its argument prototype would still apply. */
7261 char audit_log_user_avc_message ();
7265 return audit_log_user_avc_message ();
7270 if ac_fn_c_try_link "$LINENO"; then :
7271 ac_cv_lib_audit_audit_log_user_avc_message=yes
7273 ac_cv_lib_audit_audit_log_user_avc_message=no
7275 rm -f core conftest.err conftest.$ac_objext \
7276 conftest$ac_exeext conftest.$ac_ext
7277 LIBS=$ac_check_lib_save_LIBS
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7280 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7281 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes; then :
7287 if test "x$have_libaudit" = xyes; then
7289 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
7294 # See if we have the libcap library
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
7296 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7297 if ${ac_cv_lib_cap_cap_init+:} false; then :
7298 $as_echo_n "(cached) " >&6
7300 ac_check_lib_save_LIBS=$LIBS
7302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7305 /* Override any GCC internal prototype to avoid an error.
7306 Use char because int might match the return type of a GCC
7307 builtin and then its argument prototype would still apply. */
7320 if ac_fn_c_try_link "$LINENO"; then :
7321 ac_cv_lib_cap_cap_init=yes
7323 ac_cv_lib_cap_cap_init=no
7325 rm -f core conftest.err conftest.$ac_objext \
7326 conftest$ac_exeext conftest.$ac_ext
7327 LIBS=$ac_check_lib_save_LIBS
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
7330 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7331 if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
7337 if test "x$have_libcap" = xyes; then
7339 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7348 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7349 if ${ac_cv_path_GREP+:} false; then :
7350 $as_echo_n "(cached) " >&6
7352 if test -z "$GREP"; then
7353 ac_path_GREP_found=false
7354 # Loop through the user's path and test for each of PROGNAME-LIST
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7359 test -z "$as_dir" && as_dir=.
7360 for ac_prog in grep ggrep; do
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7363 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7364 # Check for GNU ac_path_GREP and select it if it is found.
7365 # Check for GNU $ac_path_GREP
7366 case `"$ac_path_GREP" --version 2>&1` in
7368 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7371 $as_echo_n 0123456789 >"conftest.in"
7374 cat "conftest.in" "conftest.in" >"conftest.tmp"
7375 mv "conftest.tmp" "conftest.in"
7376 cp "conftest.in" "conftest.nl"
7377 $as_echo 'GREP' >> "conftest.nl"
7378 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7379 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7380 as_fn_arith $ac_count + 1 && ac_count=$as_val
7381 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7382 # Best one so far, save it but keep looking for a better one
7383 ac_cv_path_GREP="$ac_path_GREP"
7384 ac_path_GREP_max=$ac_count
7386 # 10*(2^10) chars as input seems more than enough
7387 test $ac_count -gt 10 && break
7389 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7392 $ac_path_GREP_found && break 3
7397 if test -z "$ac_cv_path_GREP"; then
7398 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7401 ac_cv_path_GREP=$GREP
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7406 $as_echo "$ac_cv_path_GREP" >&6; }
7407 GREP="$ac_cv_path_GREP"
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7411 $as_echo_n "checking for egrep... " >&6; }
7412 if ${ac_cv_path_EGREP+:} false; then :
7413 $as_echo_n "(cached) " >&6
7415 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7416 then ac_cv_path_EGREP="$GREP -E"
7418 if test -z "$EGREP"; then
7419 ac_path_EGREP_found=false
7420 # Loop through the user's path and test for each of PROGNAME-LIST
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7425 test -z "$as_dir" && as_dir=.
7426 for ac_prog in egrep; do
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7429 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7430 # Check for GNU ac_path_EGREP and select it if it is found.
7431 # Check for GNU $ac_path_EGREP
7432 case `"$ac_path_EGREP" --version 2>&1` in
7434 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7437 $as_echo_n 0123456789 >"conftest.in"
7440 cat "conftest.in" "conftest.in" >"conftest.tmp"
7441 mv "conftest.tmp" "conftest.in"
7442 cp "conftest.in" "conftest.nl"
7443 $as_echo 'EGREP' >> "conftest.nl"
7444 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7445 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7446 as_fn_arith $ac_count + 1 && ac_count=$as_val
7447 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7448 # Best one so far, save it but keep looking for a better one
7449 ac_cv_path_EGREP="$ac_path_EGREP"
7450 ac_path_EGREP_max=$ac_count
7452 # 10*(2^10) chars as input seems more than enough
7453 test $ac_count -gt 10 && break
7455 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7458 $ac_path_EGREP_found && break 3
7463 if test -z "$ac_cv_path_EGREP"; then
7464 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7467 ac_cv_path_EGREP=$EGREP
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7473 $as_echo "$ac_cv_path_EGREP" >&6; }
7474 EGREP="$ac_cv_path_EGREP"
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7478 $as_echo_n "checking for ANSI C header files... " >&6; }
7479 if ${ac_cv_header_stdc+:} false; then :
7480 $as_echo_n "(cached) " >&6
7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h. */
7497 if ac_fn_c_try_compile "$LINENO"; then :
7498 ac_cv_header_stdc=yes
7500 ac_cv_header_stdc=no
7502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7504 if test $ac_cv_header_stdc = yes; then
7505 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7507 /* end confdefs.h. */
7511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7512 $EGREP "memchr" >/dev/null 2>&1; then :
7515 ac_cv_header_stdc=no
7521 if test $ac_cv_header_stdc = yes; then
7522 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h. */
7528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7529 $EGREP "free" >/dev/null 2>&1; then :
7532 ac_cv_header_stdc=no
7538 if test $ac_cv_header_stdc = yes; then
7539 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7540 if test "$cross_compiling" = yes; then :
7543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544 /* end confdefs.h. */
7547 #if ((' ' & 0x0FF) == 0x020)
7548 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7549 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7551 # define ISLOWER(c) \
7552 (('a' <= (c) && (c) <= 'i') \
7553 || ('j' <= (c) && (c) <= 'r') \
7554 || ('s' <= (c) && (c) <= 'z'))
7555 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7558 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7563 for (i = 0; i < 256; i++)
7564 if (XOR (islower (i), ISLOWER (i))
7565 || toupper (i) != TOUPPER (i))
7570 if ac_fn_c_try_run "$LINENO"; then :
7573 ac_cv_header_stdc=no
7575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7576 conftest.$ac_objext conftest.beam conftest.$ac_ext
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7582 $as_echo "$ac_cv_header_stdc" >&6; }
7583 if test $ac_cv_header_stdc = yes; then
7585 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7589 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7590 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7591 inttypes.h stdint.h unistd.h
7593 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7594 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7596 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7597 cat >>confdefs.h <<_ACEOF
7598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7606 # The cast to long int works around a bug in the HP C Compiler
7607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7609 # This bug is HP SR number 8606223364.
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
7611 $as_echo_n "checking size of long double... " >&6; }
7612 if ${ac_cv_sizeof_long_double+:} false; then :
7613 $as_echo_n "(cached) " >&6
7615 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
7618 if test "$ac_cv_type_long_double" = yes; then
7619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7621 as_fn_error 77 "cannot compute sizeof (long double)
7622 See \`config.log' for more details" "$LINENO" 5; }
7624 ac_cv_sizeof_long_double=0
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
7630 $as_echo "$ac_cv_sizeof_long_double" >&6; }
7634 cat >>confdefs.h <<_ACEOF
7635 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
7639 sizeof_long_double=$ac_cv_sizeof_long_double
7642 ### End of automated tests.
7643 ### Now run sysdeps configure fragments.
7645 # They also can set these variables.
7647 ldd_rewrite_script=no
7648 libc_cv_sysconfdir=$sysconfdir
7649 libc_cv_gcc_unwind_find_fde=no
7652 # Iterate over all the sysdep directories we will use, running their
7653 # configure fragments.
7654 for dir in $sysnames; do
7657 *) dest=$srcdir/$dir ;;
7659 if test -r $dest/configure; then
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
7661 $as_echo "running configure fragment for $dir" >&6; }
7666 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
7667 $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
7672 $as_echo "#define USE_IN_LIBIO 1" >>confdefs.h
7675 # Test for old glibc 2.0.x headers so that they can be removed properly
7676 # Search only in includedir.
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old glibc 2.0.x headers" >&5
7678 $as_echo_n "checking for old glibc 2.0.x headers... " >&6; }
7679 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7681 old_glibc_headers=yes
7683 old_glibc_headers=no
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $old_glibc_headers" >&5
7686 $as_echo "$old_glibc_headers" >&6; }
7687 if test ${old_glibc_headers} = yes; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7689 $as_echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** be removed." >&5
7691 $as_echo "$as_me: WARNING: *** be removed." >&2;}
7711 if test $elf = yes; then
7712 $as_echo "#define HAVE_ELF 1" >>confdefs.h
7715 if test $xcoff = yes; then
7716 $as_echo "#define HAVE_XCOFF 1" >>confdefs.h
7722 if test $shared = default; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
7727 $as_echo_n "checking whether -fPIC is default... " >&6; }
7728 if ${libc_cv_pic_default+:} false; then :
7729 $as_echo_n "(cached) " >&6
7731 libc_cv_pic_default=yes
7732 cat > conftest.c <<EOF
7733 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7734 # error PIC is default.
7737 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7738 libc_cv_pic_default=no
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
7743 $as_echo "$libc_cv_pic_default" >&6; }
7756 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
7759 config_makefile=Makefile
7762 VERSION=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7763 RELEASE=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7767 ac_config_files="$ac_config_files config.make ${config_makefile}"
7769 ac_config_commands="$ac_config_commands default"
7771 cat >confcache <<\_ACEOF
7772 # This file is a shell script that caches the results of configure
7773 # tests run on this system so they can be shared between configure
7774 # scripts and configure runs, see configure's option --config-cache.
7775 # It is not useful on other systems. If it contains results you don't
7776 # want to keep, you may remove or edit it.
7778 # config.status only pays attention to the cache file if you give it
7779 # the --recheck option to rerun configure.
7781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7787 # The following way of writing the cache mishandles newlines in values,
7788 # but we know of no workaround that is simple, portable, and efficient.
7789 # So, we kill variables containing newlines.
7790 # Ultrix sh set writes to stderr and can't be redirected directly,
7791 # and sets the high bit in the cache file unless we assign to the vars.
7793 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7794 eval ac_val=\$$ac_var
7798 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7799 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7802 _ | IFS | as_nl) ;; #(
7803 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7804 *) { eval $ac_var=; unset $ac_var;} ;;
7810 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7811 *${as_nl}ac_space=\ *)
7812 # `set' does not quote correctly, so add quotes: double-quote
7813 # substitution turns \\\\ into \\, and sed turns \\ into \.
7816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7819 # `set' quotes correctly as required by POSIX, so do not add quotes.
7820 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7831 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7833 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7834 if test -w "$cache_file"; then
7835 if test "x$cache_file" != "x/dev/null"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7837 $as_echo "$as_me: updating cache $cache_file" >&6;}
7838 if test ! -f "$cache_file" || test -h "$cache_file"; then
7839 cat confcache >"$cache_file"
7841 case $cache_file in #(
7843 mv -f confcache "$cache_file"$$ &&
7844 mv -f "$cache_file"$$ "$cache_file" ;; #(
7846 mv -f confcache "$cache_file" ;;
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7852 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7857 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7858 # Let make expand exec_prefix.
7859 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7861 DEFS=-DHAVE_CONFIG_H
7866 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7867 # 1. Remove the extension, and $U if already installed.
7868 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7869 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7870 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7871 # will be set to the directory where LIBOBJS objects are built.
7872 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7873 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7877 LTLIBOBJS=$ac_ltlibobjs
7881 : "${CONFIG_STATUS=./config.status}"
7883 ac_clean_files_save=$ac_clean_files
7884 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7886 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7888 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7890 # Generated by $as_me.
7891 # Run this file to recreate the current configuration.
7892 # Compiler output produced by configure, useful for debugging
7893 # configure, is in config.log if it exists.
7899 SHELL=\${CONFIG_SHELL-$SHELL}
7902 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7903 ## -------------------- ##
7904 ## M4sh Initialization. ##
7905 ## -------------------- ##
7907 # Be more Bourne compatible
7908 DUALCASE=1; export DUALCASE # for MKS sh
7909 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7912 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7913 # is contrary to our usage. Disable this feature.
7914 alias -g '${1+"$@"}'='"$@"'
7915 setopt NO_GLOB_SUBST
7917 case `(set -o) 2>/dev/null` in #(
7929 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7930 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7931 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7932 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7933 # Prefer a ksh shell builtin over an external printf program on Solaris,
7934 # but without wasting forks for bash or zsh.
7935 if test -z "$BASH_VERSION$ZSH_VERSION" \
7936 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7937 as_echo='print -r --'
7938 as_echo_n='print -rn --'
7939 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7940 as_echo='printf %s\n'
7941 as_echo_n='printf %s'
7943 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7944 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7945 as_echo_n='/usr/ucb/echo -n'
7947 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7948 as_echo_n_body='eval
7952 expr "X$arg" : "X\\(.*\\)$as_nl";
7953 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7955 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7957 export as_echo_n_body
7958 as_echo_n='sh -c $as_echo_n_body as_echo'
7961 as_echo='sh -c $as_echo_body as_echo'
7964 # The user is always right.
7965 if test "${PATH_SEPARATOR+set}" != set; then
7967 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7968 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7975 # We need space, tab and new line, in precisely that order. Quoting is
7976 # there to prevent editors from complaining about space-tab.
7977 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7978 # splitting by setting IFS to empty value.)
7981 # Find who we are. Look in the path if we contain no directory separator.
7984 *[\\/]* ) as_myself=$0 ;;
7985 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir=.
7990 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7996 # We did not find ourselves, most probably we were run as `sh COMMAND'
7997 # in which case we are not to be found in the path.
7998 if test "x$as_myself" = x; then
8001 if test ! -f "$as_myself"; then
8002 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8006 # Unset variables that we do not need and which cause bugs (e.g. in
8007 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8008 # suppresses any "Segmentation fault" message there. '((' could
8009 # trigger a bug in pdksh 5.2.14.
8010 for as_var in BASH_ENV ENV MAIL MAILPATH
8011 do eval test x\${$as_var+set} = xset \
8012 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8025 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8028 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8029 # ----------------------------------------
8030 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8031 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8032 # script with STATUS, using 1 if that was 0.
8035 as_status=$1; test $as_status -eq 0 && as_status=1
8037 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8038 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8040 $as_echo "$as_me: error: $2" >&2
8041 as_fn_exit $as_status
8045 # as_fn_set_status STATUS
8046 # -----------------------
8047 # Set $? to STATUS, without forking.
8051 } # as_fn_set_status
8055 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8065 # Portably unset VAR.
8068 { eval $1=; unset $1;}
8070 as_unset=as_fn_unset
8071 # as_fn_append VAR VALUE
8072 # ----------------------
8073 # Append the text in VALUE to the end of the definition contained in VAR. Take
8074 # advantage of any shell optimizations that allow amortized linear growth over
8075 # repeated appends, instead of the typical quadratic growth present in naive
8077 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8078 eval 'as_fn_append ()
8089 # as_fn_arith ARG...
8090 # ------------------
8091 # Perform arithmetic evaluation on the ARGs, and store the result in the
8092 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8093 # must be portable across $(()) and expr.
8094 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8095 eval 'as_fn_arith ()
8102 as_val=`expr "$@" || test $? -eq 1`
8107 if expr a : '\(a\)' >/dev/null 2>&1 &&
8108 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8114 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8115 as_basename=basename
8120 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8126 as_me=`$as_basename -- "$0" ||
8127 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8128 X"$0" : 'X\(//\)$' \| \
8129 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8131 sed '/^.*\/\([^/][^/]*\)\/*$/{
8145 # Avoid depending upon Character Ranges.
8146 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8147 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8148 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8149 as_cr_digits='0123456789'
8150 as_cr_alnum=$as_cr_Letters$as_cr_digits
8152 ECHO_C= ECHO_N= ECHO_T=
8153 case `echo -n x` in #(((((
8155 case `echo 'xy\c'` in
8156 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8158 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8165 rm -f conf$$ conf$$.exe conf$$.file
8166 if test -d conf$$.dir; then
8167 rm -f conf$$.dir/conf$$.file
8170 mkdir conf$$.dir 2>/dev/null
8172 if (echo >conf$$.file) 2>/dev/null; then
8173 if ln -s conf$$.file conf$$ 2>/dev/null; then
8175 # ... but there are two gotchas:
8176 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8177 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8178 # In both cases, we have to default to `cp -p'.
8179 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8181 elif ln conf$$.file conf$$ 2>/dev/null; then
8189 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8190 rmdir conf$$.dir 2>/dev/null
8195 # Create "$as_dir" as a directory, including parents if necessary.
8200 -*) as_dir=./$as_dir;;
8202 test -d "$as_dir" || eval $as_mkdir_p || {
8206 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8207 *) as_qdir=$as_dir;;
8209 as_dirs="'$as_qdir' $as_dirs"
8210 as_dir=`$as_dirname -- "$as_dir" ||
8211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8212 X"$as_dir" : 'X\(//\)[^/]' \| \
8213 X"$as_dir" : 'X\(//\)$' \| \
8214 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8215 $as_echo X"$as_dir" |
8216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8233 test -d "$as_dir" && break
8235 test -z "$as_dirs" || eval "mkdir $as_dirs"
8236 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8240 if mkdir -p . 2>/dev/null; then
8241 as_mkdir_p='mkdir -p "$as_dir"'
8243 test -d ./-p && rmdir ./-p
8247 if test -x / >/dev/null 2>&1; then
8250 if ls -dL / >/dev/null 2>&1; then
8257 if test -d "$1"; then
8263 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8264 ???[sx]*):;;*)false;;esac;fi
8268 as_executable_p=$as_test_x
8270 # Sed expression to map a string onto a valid CPP name.
8271 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8273 # Sed expression to map a string onto a valid variable name.
8274 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8278 ## ----------------------------------- ##
8279 ## Main body of $CONFIG_STATUS script. ##
8280 ## ----------------------------------- ##
8282 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8285 # Save the log message, to keep $0 and so on meaningful, and to
8286 # report actual input values of CONFIG_FILES etc. instead of their
8287 # values after options handling.
8289 This file was extended by GNU C Library $as_me (see version.h), which was
8290 generated by GNU Autoconf 2.68. Invocation command line was
8292 CONFIG_FILES = $CONFIG_FILES
8293 CONFIG_HEADERS = $CONFIG_HEADERS
8294 CONFIG_LINKS = $CONFIG_LINKS
8295 CONFIG_COMMANDS = $CONFIG_COMMANDS
8298 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8303 case $ac_config_files in *"
8304 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8307 case $ac_config_headers in *"
8308 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8313 # Files that config.status was made for.
8314 config_files="$ac_config_files"
8315 config_headers="$ac_config_headers"
8316 config_commands="$ac_config_commands"
8320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8322 \`$as_me' instantiates files and other configuration actions
8323 from templates according to the current configuration. Unless the files
8324 and actions are specified as TAGs, all are instantiated by default.
8326 Usage: $0 [OPTION]... [TAG]...
8328 -h, --help print this help, then exit
8329 -V, --version print version number and configuration settings, then exit
8330 --config print configuration, then exit
8331 -q, --quiet, --silent
8332 do not print progress messages
8333 -d, --debug don't remove temporary files
8334 --recheck update $as_me by reconfiguring in the same conditions
8335 --file=FILE[:TEMPLATE]
8336 instantiate the configuration file FILE
8337 --header=FILE[:TEMPLATE]
8338 instantiate the configuration header FILE
8340 Configuration files:
8343 Configuration headers:
8346 Configuration commands:
8349 Report bugs to <glibc>.
8350 GNU C Library home page: <http://www.gnu.org/software/c-library/>.
8351 General help using GNU software: <http://www.gnu.org/gethelp/>."
8354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8355 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8357 GNU C Library config.status (see version.h)
8358 configured by $0, generated by GNU Autoconf 2.68,
8359 with options \\"\$ac_cs_config\\"
8361 Copyright (C) 2010 Free Software Foundation, Inc.
8362 This config.status script is free software; the Free Software Foundation
8363 gives unlimited permission to copy, distribute and modify it."
8369 test -n "\$AWK" || AWK=awk
8372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8373 # The default lists apply if the user does not specify any file.
8379 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8380 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8384 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8396 # Handling of the options.
8397 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8399 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8400 $as_echo "$ac_cs_version"; exit ;;
8401 --config | --confi | --conf | --con | --co | --c )
8402 $as_echo "$ac_cs_config"; exit ;;
8403 --debug | --debu | --deb | --de | --d | -d )
8405 --file | --fil | --fi | --f )
8408 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8409 '') as_fn_error $? "missing file argument" ;;
8411 as_fn_append CONFIG_FILES " '$ac_optarg'"
8412 ac_need_defaults=false;;
8413 --header | --heade | --head | --hea )
8416 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8418 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8419 ac_need_defaults=false;;
8421 # Conflict between --help and --header
8422 as_fn_error $? "ambiguous option: \`$1'
8423 Try \`$0 --help' for more information.";;
8424 --help | --hel | -h )
8425 $as_echo "$ac_cs_usage"; exit ;;
8426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8427 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8431 -*) as_fn_error $? "unrecognized option: \`$1'
8432 Try \`$0 --help' for more information." ;;
8434 *) as_fn_append ac_config_targets " $1"
8435 ac_need_defaults=false ;;
8441 ac_configure_extra_args=
8443 if $ac_cs_silent; then
8445 ac_configure_extra_args="$ac_configure_extra_args --silent"
8449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8450 if \$ac_cs_recheck; then
8451 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8453 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8454 CONFIG_SHELL='$SHELL'
8460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8464 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8465 ## Running $as_me. ##
8471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8475 config_vars='$config_vars'
8479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8481 # Handling of arguments.
8482 for ac_config_target in $ac_config_targets
8484 case $ac_config_target in
8485 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8486 "config.make") CONFIG_FILES="$CONFIG_FILES config.make" ;;
8487 "${config_makefile}") CONFIG_FILES="$CONFIG_FILES ${config_makefile}" ;;
8488 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
8490 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8495 # If the user did not use the arguments to specify the items to instantiate,
8496 # then the envvar interface is used. Set only those that are not.
8497 # We use the long form for the default assignment because of an extremely
8498 # bizarre bug on SunOS 4.1.3.
8499 if $ac_need_defaults; then
8500 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8501 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8502 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8505 # Have a temporary directory for convenience. Make it in the build tree
8506 # simply because there is no reason against having it here, and in addition,
8507 # creating and moving files from /tmp can sometimes cause problems.
8508 # Hook for its removal unless debugging.
8509 # Note that there is a small window in which the directory will not be cleaned:
8510 # after its creation but before its name has been assigned to `$tmp'.
8514 trap 'exit_status=$?
8516 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8518 trap 'as_fn_exit 1' 1 2 13 15
8520 # Create a (secure) tmp directory for tmp files.
8523 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8527 tmp=./conf$$-$RANDOM
8528 (umask 077 && mkdir "$tmp")
8529 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8532 # Set up the scripts for CONFIG_FILES section.
8533 # No need to generate them if there are no CONFIG_FILES.
8534 # This happens for instance with `./config.status config.h'.
8535 if test -n "$CONFIG_FILES"; then
8538 ac_cr=`echo X | tr X '\015'`
8539 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8540 # But we know of no other shell where ac_cr would be empty at this
8541 # point, so we can use a bashism as a fallback.
8542 if test "x$ac_cr" = x; then
8543 eval ac_cr=\$\'\\r\'
8545 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8546 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8552 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8557 echo "cat >conf$$subs.awk <<_ACEOF" &&
8558 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8561 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8562 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8564 for ac_last_try in false false false false false :; do
8565 . ./conf$$subs.sh ||
8566 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8568 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8569 if test $ac_delim_n = $ac_delim_num; then
8571 elif $ac_last_try; then
8572 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8574 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8580 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8584 s/^/S["/; s/!.*/"]=/
8594 s/\(.\{148\}\)..*/\1/
8596 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8601 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8608 s/\(.\{148\}\)..*/\1/
8610 s/["\\]/\\&/g; s/^/"/; s/$/"/
8614 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8619 ' <conf$$subs.awk | sed '
8624 ' >>$CONFIG_STATUS || ac_write_fail=1
8625 rm -f conf$$subs.awk
8626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8628 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8629 for (key in S) S_is_set[key] = 1
8635 nfields = split(line, field, "@")
8637 len = length(field[1])
8638 for (i = 2; i < nfields; i++) {
8640 keylen = length(key)
8641 if (S_is_set[key]) {
8643 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8644 len += length(value) + length(field[++i])
8655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8656 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8657 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8660 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8661 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8664 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8665 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8666 # trailing colons and then remove the whole line if VPATH becomes empty
8667 # (actually we leave an empty line to preserve line numbers).
8668 if test "x$srcdir" = x.; then
8669 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8688 fi # test -n "$CONFIG_FILES"
8690 # Set up the scripts for CONFIG_HEADERS section.
8691 # No need to generate them if there are no CONFIG_HEADERS.
8692 # This happens for instance with `./config.status Makefile'.
8693 if test -n "$CONFIG_HEADERS"; then
8694 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8698 # Transform confdefs.h into an awk script `defines.awk', embedded as
8699 # here-document in config.status, that substitutes the proper values into
8700 # config.h.in to produce config.h.
8702 # Create a delimiter string that does not exist in confdefs.h, to ease
8703 # handling of long lines.
8705 for ac_last_try in false false :; do
8706 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8707 if test -z "$ac_tt"; then
8709 elif $ac_last_try; then
8710 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8712 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8716 # For the awk script, D is an array of macro values keyed by name,
8717 # likewise P contains macro parameters if any. Preserve backslash
8718 # newline sequences.
8720 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8722 s/.\{148\}/&'"$ac_delim"'/g
8725 s/^[ ]*#[ ]*define[ ][ ]*/ /
8732 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8734 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8738 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8739 D["\1"]=" \3\\\\\\n"\\/p
8741 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8746 s/.\{148\}/&'"$ac_delim"'/g
8751 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8754 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8756 ' <confdefs.h | sed '
8757 s/'"$ac_delim"'/"\\\
8758 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8761 for (key in D) D_is_set[key] = 1
8764 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8766 split(line, arg, " ")
8767 if (arg[1] == "#") {
8771 defundef = substr(arg[1], 2)
8774 split(mac1, mac2, "(") #)
8776 prefix = substr(line, 1, index(line, defundef) - 1)
8777 if (D_is_set[macro]) {
8778 # Preserve the white space surrounding the "#".
8779 print prefix "define", macro P[macro] D[macro]
8782 # Replace #undef with comments. This is necessary, for example,
8783 # in the case of _POSIX_SOURCE, which is predefined and required
8784 # on some systems where configure will not decide to define it.
8785 if (defundef == "undef") {
8786 print "/*", prefix defundef, macro, "*/"
8794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8795 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8796 fi # test -n "$CONFIG_HEADERS"
8799 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8804 :[FHLC]) ac_mode=$ac_tag; continue;;
8806 case $ac_mode$ac_tag in
8808 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8809 :[FH]-) ac_tag=-:-;;
8810 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8827 -) ac_f="$ac_tmp/stdin";;
8828 *) # Look for the file first in the build tree, then in the source tree
8829 # (if the path is not absolute). The absolute path cannot be DOS-style,
8830 # because $ac_f cannot contain `:'.
8834 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8836 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8838 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8839 as_fn_append ac_file_inputs " '$ac_f'"
8842 # Let's still pretend it is `configure' which instantiates (i.e., don't
8843 # use $as_me), people would be surprised to read:
8844 # /* config.h. Generated by config.status. */
8845 configure_input='Generated from '`
8846 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8848 if test x"$ac_file" != x-; then
8849 configure_input="$ac_file. $configure_input"
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8851 $as_echo "$as_me: creating $ac_file" >&6;}
8853 # Neutralize special characters interpreted by sed in replacement strings.
8854 case $configure_input in #(
8855 *\&* | *\|* | *\\* )
8856 ac_sed_conf_input=`$as_echo "$configure_input" |
8857 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8858 *) ac_sed_conf_input=$configure_input;;
8862 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8863 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8868 ac_dir=`$as_dirname -- "$ac_file" ||
8869 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8870 X"$ac_file" : 'X\(//\)[^/]' \| \
8871 X"$ac_file" : 'X\(//\)$' \| \
8872 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8873 $as_echo X"$ac_file" |
8874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8891 as_dir="$ac_dir"; as_fn_mkdir_p
8895 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8897 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8898 # A ".." for each directory in $ac_dir_suffix.
8899 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8900 case $ac_top_builddir_sub in
8901 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8902 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8905 ac_abs_top_builddir=$ac_pwd
8906 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8907 # for backward compatibility:
8908 ac_top_builddir=$ac_top_build_prefix
8911 .) # We are building in place.
8913 ac_top_srcdir=$ac_top_builddir_sub
8914 ac_abs_top_srcdir=$ac_pwd ;;
8915 [\\/]* | ?:[\\/]* ) # Absolute name.
8916 ac_srcdir=$srcdir$ac_dir_suffix;
8917 ac_top_srcdir=$srcdir
8918 ac_abs_top_srcdir=$srcdir ;;
8920 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8921 ac_top_srcdir=$ac_top_build_prefix$srcdir
8922 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8924 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8934 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8935 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8940 # If the template does not know about datarootdir, expand it.
8941 # FIXME: This hack should be removed a few years after 2.60.
8942 ac_datarootdir_hack=; ac_datarootdir_seen=
8953 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8954 *datarootdir*) ac_datarootdir_seen=yes;;
8955 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8957 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8960 ac_datarootdir_hack='
8961 s&@datadir@&$datadir&g
8962 s&@docdir@&$docdir&g
8963 s&@infodir@&$infodir&g
8964 s&@localedir@&$localedir&g
8965 s&@mandir@&$mandir&g
8966 s&\\\${datarootdir}&$datarootdir&g' ;;
8970 # Neutralize VPATH when `$srcdir' = `.'.
8971 # Shell code in configure.ac might set extrasub.
8972 # FIXME: do we really want to maintain this feature?
8973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8974 ac_sed_extra="$ac_vpsub
8977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8980 s|@configure_input@|$ac_sed_conf_input|;t t
8981 s&@top_builddir@&$ac_top_builddir_sub&;t t
8982 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8983 s&@srcdir@&$ac_srcdir&;t t
8984 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8985 s&@top_srcdir@&$ac_top_srcdir&;t t
8986 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8987 s&@builddir@&$ac_builddir&;t t
8988 s&@abs_builddir@&$ac_abs_builddir&;t t
8989 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8990 s&@INSTALL@&$ac_INSTALL&;t t
8991 $ac_datarootdir_hack
8993 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8994 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8996 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8997 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8998 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8999 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9001 which seems to be undefined. Please make sure it is defined" >&5
9002 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9003 which seems to be undefined. Please make sure it is defined" >&2;}
9005 rm -f "$ac_tmp/stdin"
9007 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9008 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9010 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9016 if test x"$ac_file" != x-; then
9018 $as_echo "/* $configure_input */" \
9019 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9020 } >"$ac_tmp/config.h" \
9021 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9022 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9024 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9027 mv "$ac_tmp/config.h" "$ac_file" \
9028 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9031 $as_echo "/* $configure_input */" \
9032 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9033 || as_fn_error $? "could not create -" "$LINENO" 5
9037 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9038 $as_echo "$as_me: executing $ac_file commands" >&6;}
9043 case $ac_file$ac_mode in
9045 case $CONFIG_FILES in *config.make*)
9046 echo "$config_vars" >> config.make;;
9048 test -d bits || mkdir bits ;;
9056 ac_clean_files=$ac_clean_files_save
9058 test $ac_write_fail = 0 ||
9059 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9062 # configure is writing to config.log, and then calls config.status.
9063 # config.status does its own redirection, appending to config.log.
9064 # Unfortunately, on DOS this fails, as config.log is still kept open
9065 # by configure, so config.status won't be able to write to it; its
9066 # output is simply discarded. So we exec the FD to /dev/null,
9067 # effectively closing config.log, so it can be properly (re)opened and
9068 # appended to by config.status. When coming back to configure, we
9069 # need to make the FD available again.
9070 if test "$no_create" != yes; then
9072 ac_config_status_args=
9073 test "$silent" = yes &&
9074 ac_config_status_args="$ac_config_status_args --quiet"
9076 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9078 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9079 # would make configure fail if this is the last instruction.
9080 $ac_cs_success || as_fn_exit 1
9084 # CONFIG_SUBDIRS section.
9086 if test "$no_recursion" != yes; then
9088 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
9089 # so they do not pile up.
9090 ac_sub_configure_args=
9092 eval "set x $ac_configure_args"
9096 if test -n "$ac_prev"; then
9101 -cache-file | --cache-file | --cache-fil | --cache-fi \
9102 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
9103 ac_prev=cache_file ;;
9104 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
9105 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
9108 --config-cache | -C)
9110 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
9112 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
9114 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9116 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9118 --disable-option-checking)
9122 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9124 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
9128 # Always prepend --prefix to ensure using the same prefix
9129 # in subdir configurations.
9130 ac_arg="--prefix=$prefix"
9132 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9134 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
9137 if test "$silent" = yes; then
9138 ac_sub_configure_args="--silent $ac_sub_configure_args"
9141 # Always prepend --disable-option-checking to silence warnings, since
9142 # different subdirs can have different --enable and --with options.
9143 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
9146 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
9148 # Do not complain, so a configure script can configure whichever
9149 # parts of a large source tree are present.
9150 test -d "$srcdir/$ac_dir" || continue
9152 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9153 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
9154 $as_echo "$ac_msg" >&6
9155 as_dir="$ac_dir"; as_fn_mkdir_p
9159 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9161 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9162 # A ".." for each directory in $ac_dir_suffix.
9163 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9164 case $ac_top_builddir_sub in
9165 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9166 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9169 ac_abs_top_builddir=$ac_pwd
9170 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9171 # for backward compatibility:
9172 ac_top_builddir=$ac_top_build_prefix
9175 .) # We are building in place.
9177 ac_top_srcdir=$ac_top_builddir_sub
9178 ac_abs_top_srcdir=$ac_pwd ;;
9179 [\\/]* | ?:[\\/]* ) # Absolute name.
9180 ac_srcdir=$srcdir$ac_dir_suffix;
9181 ac_top_srcdir=$srcdir
9182 ac_abs_top_srcdir=$srcdir ;;
9184 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9185 ac_top_srcdir=$ac_top_build_prefix$srcdir
9186 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9188 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9193 # Check for guested configure; otherwise get Cygnus style configure.
9194 if test -f "$ac_srcdir/configure.gnu"; then
9195 ac_sub_configure=$ac_srcdir/configure.gnu
9196 elif test -f "$ac_srcdir/configure"; then
9197 ac_sub_configure=$ac_srcdir/configure
9198 elif test -f "$ac_srcdir/configure.in"; then
9199 # This should be Cygnus configure.
9200 ac_sub_configure=$ac_aux_dir/configure
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
9203 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9207 # The recursion is here.
9208 if test -n "$ac_sub_configure"; then
9209 # Make the cache file name correct relative to the subdirectory.
9211 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
9213 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9217 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9218 # The eval makes quoting arguments work.
9219 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9220 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9221 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
9227 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9229 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}