2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.65 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 Free Software Foundation,
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.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev
/null
; then :
183 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
188 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir
=.
195 for as_base
in sh bash ksh sh5
; do
196 # Try only shells that exist, to save several forks.
197 as_shell
=$as_dir/$as_base
198 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
200 CONFIG_SHELL
=$as_shell as_have_required
=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
209 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
211 CONFIG_SHELL
=$SHELL as_have_required
=yes
216 if test "x$CONFIG_SHELL" != x
; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
222 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
227 if test x
$as_have_required = xno
; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x
${ZSH_VERSION+set} = xset
; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and glibc about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
553 PACKAGE_NAME
='GNU C Library'
554 PACKAGE_TARNAME
='c-library'
555 PACKAGE_VERSION
='(see version.h)'
556 PACKAGE_STRING
='GNU C Library (see version.h)'
557 PACKAGE_BUGREPORT
='glibc'
558 PACKAGE_URL
='http://www.gnu.org/software/c-library/'
560 ac_unique_file
="include/features.h"
561 enable_option_checking
=no
562 # Factoring default headers for most tests.
563 ac_includes_default
="\
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
575 # ifdef HAVE_STDLIB_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
598 ac_subst_vars
='LTLIBOBJS
619 libc_cv_cpp_asm_debuginfo
620 libc_cv_forced_unwind
629 libc_cv_gcc_unwind_find_fde
637 libc_cv_cc_submachine
640 libc_cv_have_initfini
650 libc_cv_libgcc_s_suffix
652 libc_cv_cc_with_libunwind
662 libc_cv_gcc_static_libgcc
745 program_transform_name
758 enable_option_checking
777 enable_stackguard_randomization
788 enable_experimental_malloc
792 ac_precious_vars
='build_alias
807 # Initialize some variables set by options.
809 ac_init_version
=false
810 ac_unrecognized_opts
=
812 # The variables have the same names as the options, with
813 # dashes changed to underlines.
821 program_transform_name
=s
,x
,x
,
829 # Installation directory options.
830 # These are left unexpanded so users can "make install exec_prefix=/foo"
831 # and all the variables that are supposed to be based on exec_prefix
832 # by default will actually change.
833 # Use braces instead of parens because sh, perl, etc. also accept them.
834 # (The list follows the same order as the GNU Coding Standards.)
835 bindir
='${exec_prefix}/bin'
836 sbindir
='${exec_prefix}/sbin'
837 libexecdir
='${exec_prefix}/libexec'
838 datarootdir
='${prefix}/share'
839 datadir
='${datarootdir}'
840 sysconfdir
='${prefix}/etc'
841 sharedstatedir
='${prefix}/com'
842 localstatedir
='${prefix}/var'
843 includedir
='${prefix}/include'
844 oldincludedir
='/usr/include'
845 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
846 infodir
='${datarootdir}/info'
851 libdir
='${exec_prefix}/lib'
852 localedir
='${datarootdir}/locale'
853 mandir
='${datarootdir}/man'
859 # If the previous option needs an argument, assign it.
860 if test -n "$ac_prev"; then
861 eval $ac_prev=\
$ac_option
867 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
871 # Accept the important Cygnus configure options, so we can diagnose typos.
873 case $ac_dashdash$ac_option in
877 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
879 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
882 -build |
--build |
--buil |
--bui |
--bu)
883 ac_prev
=build_alias
;;
884 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
885 build_alias
=$ac_optarg ;;
887 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
888 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
889 ac_prev
=cache_file
;;
890 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
891 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
892 cache_file
=$ac_optarg ;;
895 cache_file
=config.cache
;;
897 -datadir |
--datadir |
--datadi |
--datad)
899 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
900 datadir
=$ac_optarg ;;
902 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
903 |
--dataroo |
--dataro |
--datar)
904 ac_prev
=datarootdir
;;
905 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
906 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
907 datarootdir
=$ac_optarg ;;
909 -disable-* |
--disable-*)
910 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
913 as_fn_error
"invalid feature name: $ac_useropt"
914 ac_useropt_orig
=$ac_useropt
915 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
921 ac_unrecognized_sep
=', ';;
923 eval enable_
$ac_useropt=no
;;
925 -docdir |
--docdir |
--docdi |
--doc |
--do)
927 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
930 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
932 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
935 -enable-* |
--enable-*)
936 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
939 as_fn_error
"invalid feature name: $ac_useropt"
940 ac_useropt_orig
=$ac_useropt
941 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
947 ac_unrecognized_sep
=', ';;
949 eval enable_
$ac_useropt=\
$ac_optarg ;;
951 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
952 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
953 |
--exec |
--exe |
--ex)
954 ac_prev
=exec_prefix
;;
955 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
956 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
957 |
--exec=* |
--exe=* |
--ex=*)
958 exec_prefix
=$ac_optarg ;;
960 -gas |
--gas |
--ga |
--g)
961 # Obsolete; use --with-gas.
964 -help |
--help |
--hel |
--he |
-h)
966 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
967 ac_init_help
=recursive
;;
968 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
969 ac_init_help
=short
;;
971 -host |
--host |
--hos |
--ho)
972 ac_prev
=host_alias
;;
973 -host=* |
--host=* |
--hos=* |
--ho=*)
974 host_alias
=$ac_optarg ;;
976 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
978 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
980 htmldir
=$ac_optarg ;;
982 -includedir |
--includedir |
--includedi |
--included |
--include \
983 |
--includ |
--inclu |
--incl |
--inc)
984 ac_prev
=includedir
;;
985 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
986 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
987 includedir
=$ac_optarg ;;
989 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
991 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
992 infodir
=$ac_optarg ;;
994 -libdir |
--libdir |
--libdi |
--libd)
996 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
999 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1000 |
--libexe |
--libex |
--libe)
1001 ac_prev
=libexecdir
;;
1002 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1003 |
--libexe=* |
--libex=* |
--libe=*)
1004 libexecdir
=$ac_optarg ;;
1006 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1007 ac_prev
=localedir
;;
1008 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1009 localedir
=$ac_optarg ;;
1011 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1012 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1013 ac_prev
=localstatedir
;;
1014 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1015 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1016 localstatedir
=$ac_optarg ;;
1018 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1020 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1021 mandir
=$ac_optarg ;;
1023 -nfp |
--nfp |
--nf)
1024 # Obsolete; use --without-fp.
1027 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1028 |
--no-cr |
--no-c |
-n)
1031 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1032 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1035 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1036 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1037 |
--oldin |
--oldi |
--old |
--ol |
--o)
1038 ac_prev
=oldincludedir
;;
1039 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1040 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1041 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1042 oldincludedir
=$ac_optarg ;;
1044 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1046 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1047 prefix
=$ac_optarg ;;
1049 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1050 |
--program-pre |
--program-pr |
--program-p)
1051 ac_prev
=program_prefix
;;
1052 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1053 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1054 program_prefix
=$ac_optarg ;;
1056 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1057 |
--program-suf |
--program-su |
--program-s)
1058 ac_prev
=program_suffix
;;
1059 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1060 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1061 program_suffix
=$ac_optarg ;;
1063 -program-transform-name |
--program-transform-name \
1064 |
--program-transform-nam |
--program-transform-na \
1065 |
--program-transform-n |
--program-transform- \
1066 |
--program-transform |
--program-transfor \
1067 |
--program-transfo |
--program-transf \
1068 |
--program-trans |
--program-tran \
1069 |
--progr-tra |
--program-tr |
--program-t)
1070 ac_prev
=program_transform_name
;;
1071 -program-transform-name=* |
--program-transform-name=* \
1072 |
--program-transform-nam=* |
--program-transform-na=* \
1073 |
--program-transform-n=* |
--program-transform-=* \
1074 |
--program-transform=* |
--program-transfor=* \
1075 |
--program-transfo=* |
--program-transf=* \
1076 |
--program-trans=* |
--program-tran=* \
1077 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1078 program_transform_name
=$ac_optarg ;;
1080 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1082 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1083 pdfdir
=$ac_optarg ;;
1085 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1087 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1090 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1091 |
-silent |
--silent |
--silen |
--sile |
--sil)
1094 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1096 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1098 sbindir
=$ac_optarg ;;
1100 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1101 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1102 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1104 ac_prev
=sharedstatedir
;;
1105 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1106 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1107 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1109 sharedstatedir
=$ac_optarg ;;
1111 -site |
--site |
--sit)
1113 -site=* |
--site=* |
--sit=*)
1116 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1118 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1119 srcdir
=$ac_optarg ;;
1121 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1122 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1123 ac_prev
=sysconfdir
;;
1124 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1125 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1126 sysconfdir
=$ac_optarg ;;
1128 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1129 ac_prev
=target_alias
;;
1130 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1131 target_alias
=$ac_optarg ;;
1133 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1136 -version |
--version |
--versio |
--versi |
--vers |
-V)
1137 ac_init_version
=: ;;
1140 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1143 as_fn_error
"invalid package name: $ac_useropt"
1144 ac_useropt_orig
=$ac_useropt
1145 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151 ac_unrecognized_sep
=', ';;
1153 eval with_
$ac_useropt=\
$ac_optarg ;;
1155 -without-* |
--without-*)
1156 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1159 as_fn_error
"invalid package name: $ac_useropt"
1160 ac_useropt_orig
=$ac_useropt
1161 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1166 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167 ac_unrecognized_sep
=', ';;
1169 eval with_
$ac_useropt=no
;;
1172 # Obsolete; use --with-x.
1175 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1176 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1177 ac_prev
=x_includes
;;
1178 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1179 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1180 x_includes
=$ac_optarg ;;
1182 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1183 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1184 ac_prev
=x_libraries
;;
1185 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1186 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1187 x_libraries
=$ac_optarg ;;
1189 -*) as_fn_error
"unrecognized option: \`$ac_option'
1190 Try \`$0 --help' for more information."
1194 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1195 # Reject names that are not valid shell variable names.
1196 case $ac_envvar in #(
1197 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1198 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1200 eval $ac_envvar=\
$ac_optarg
1201 export $ac_envvar ;;
1204 # FIXME: should be removed in autoconf 3.0.
1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1214 if test -n "$ac_prev"; then
1215 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1216 as_fn_error
"missing argument to $ac_option"
1219 if test -n "$ac_unrecognized_opts"; then
1220 case $enable_option_checking in
1222 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227 # Check all directory arguments for consistency.
1228 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir
1233 eval ac_val
=\$
$ac_var
1234 # Remove trailing slashes.
1237 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238 eval $ac_var=\
$ac_val;;
1240 # Be sure to have absolute directory names.
1242 [\\/$
]* | ?
:[\\/]* ) continue;;
1243 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1245 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1248 # There might be people who depend on the old broken behavior: `$host'
1249 # used to hold the argument of --host etc.
1250 # FIXME: To remove some day.
1253 target
=$target_alias
1255 # FIXME: To remove some day.
1256 if test "x$host_alias" != x
; then
1257 if test "x$build_alias" = x
; then
1258 cross_compiling
=maybe
1259 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1260 If a cross compiler is detected then cross compile mode will be used." >&2
1261 elif test "x$build_alias" != "x$host_alias"; then
1267 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1269 test "$silent" = yes && exec 6>/dev
/null
1272 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1273 ac_ls_di
=`ls -di .` &&
1274 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1275 as_fn_error
"working directory cannot be determined"
1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1277 as_fn_error
"pwd does not report name of working directory"
1280 # Find the source files, if location was not specified.
1281 if test -z "$srcdir"; then
1282 ac_srcdir_defaulted
=yes
1283 # Try the directory containing this script, then the parent directory.
1284 ac_confdir
=`$as_dirname -- "$as_myself" ||
1285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1286 X"$as_myself" : 'X\(//\)[^/]' \| \
1287 X"$as_myself" : 'X\(//\)$' \| \
1288 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1289 $as_echo X"$as_myself" |
1290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1312 ac_srcdir_defaulted
=no
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1315 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1316 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1318 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1320 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1322 # When building in place, set srcdir=.
1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
1326 # Remove unnecessary trailing slashes from srcdir.
1327 # Double slashes in file names in object file debugging info
1328 # mess up M-x gdb in Emacs.
1330 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332 for ac_var
in $ac_precious_vars; do
1333 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1334 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1335 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1336 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1340 # Report the --help message.
1342 if test "$ac_init_help" = "long"; then
1343 # Omit some internal or obsolete options to make the list less imposing.
1344 # This message is too long to be a string in the A/UX 3.1 sh.
1346 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1348 Usage: $0 [OPTION]... [VAR=VALUE]...
1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1351 VAR=VALUE. See below for descriptions of some of the useful variables.
1353 Defaults for the options are specified in brackets.
1356 -h, --help display this help and exit
1357 --help=short display options specific to this package
1358 --help=recursive display the short help of all the included packages
1359 -V, --version display version information and exit
1360 -q, --quiet, --silent do not print \`checking...' messages
1361 --cache-file=FILE cache test results in FILE [disabled]
1362 -C, --config-cache alias for \`--cache-file=config.cache'
1363 -n, --no-create do not create output files
1364 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1366 Installation directories:
1367 --prefix=PREFIX install architecture-independent files in PREFIX
1368 [$ac_default_prefix]
1369 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1372 By default, \`make install' will install all the files in
1373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1375 for instance \`--prefix=\$HOME'.
1377 For better control, use the options below.
1379 Fine tuning of the installation directories:
1380 --bindir=DIR user executables [EPREFIX/bin]
1381 --sbindir=DIR system admin executables [EPREFIX/sbin]
1382 --libexecdir=DIR program executables [EPREFIX/libexec]
1383 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1384 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1385 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1386 --libdir=DIR object code libraries [EPREFIX/lib]
1387 --includedir=DIR C header files [PREFIX/include]
1388 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1389 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1390 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1391 --infodir=DIR info documentation [DATAROOTDIR/info]
1392 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1393 --mandir=DIR man documentation [DATAROOTDIR/man]
1394 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1395 --htmldir=DIR html documentation [DOCDIR]
1396 --dvidir=DIR dvi documentation [DOCDIR]
1397 --pdfdir=DIR pdf documentation [DOCDIR]
1398 --psdir=DIR ps documentation [DOCDIR]
1404 --build=BUILD configure
for building on BUILD
[guessed
]
1405 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1416 --disable-option-checking ignore unrecognized
--enable/--with options
1417 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1418 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1419 --disable-sanity-checks really
do not use threads
(should not be used except
1420 in special situations
) [default
=yes]
1421 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1423 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1424 --enable-profile build profiled library
[default
=no
]
1425 --enable-omitfp build undebuggable optimized library
[default
=no
]
1426 --enable-bounded build with runtime bounds checking
[default
=no
]
1427 --disable-versioning do not include versioning information
in the library
1428 objects
[default
=yes if supported
]
1429 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1430 [default
=glibc default
]
1431 --enable-stackguard-randomization
1432 initialize __stack_chk_guard canary with a random
1433 number
at program start
1434 --enable-add-ons[=DIRS...
]
1435 configure and build add-ons
in DIR1
,DIR2
,... search
1436 for add-ons
if no parameter given
1437 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1438 --enable-bind-now disable lazy relocations
in DSOs
1439 --enable-static-nss build static NSS modules
[default
=no
]
1440 --disable-force-install don
't force installation of files from this package,
1441 even if they are older than the installed files
1442 --enable-kernel=VERSION compile for compatibility with kernel not older than
1444 --enable-all-warnings enable all useful warnings gcc can issue
1445 --enable-multi-arch enable single DSO with optimizations for multiple
1447 --enable-experimental-malloc
1448 enable experimental malloc features
1449 --enable-nss-crypt enable libcrypt to use nss
1452 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1453 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1454 --with-gd=DIR find libgd include dir and library with prefix DIR
1455 --with-gd-include=DIR find libgd include files in DIR
1456 --with-gd-lib=DIR find libgd library files in DIR
1457 --with-fp if using floating-point hardware [default=yes]
1458 --with-binutils=PATH specify location of binutils (as and ld)
1459 --with-elf if using the ELF object format
1460 --with-selinux if building with SELinux support
1461 --with-xcoff if using the XCOFF object format
1462 --without-cvs if CVS should not be used
1463 --with-headers=PATH location of system headers to use (for example
1464 /usr/src/linux/include) [default=compiler default]
1465 --with-tls enable support for TLS
1466 --without-__thread do not use TLS features even when supporting them
1467 --with-cpu=CPU select code for CPU variant
1469 Some influential environment variables:
1470 CC C compiler command
1471 CFLAGS C compiler flags
1472 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1473 nonstandard directory <lib dir>
1474 LIBS libraries to pass to the linker, e.g. -l<library>
1475 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1476 you have headers in a nonstandard directory <include dir>
1478 CXX C++ compiler command
1479 CXXFLAGS C++ compiler flags
1481 Use these variables to override the choices made by `configure' or to
help
1482 it to
find libraries and programs with nonstandard names
/locations.
1484 Report bugs to
<glibc
>.
1485 GNU C Library home page
: <http
://www.gnu.org
/software
/c-library
/>.
1486 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1491 if test "$ac_init_help" = "recursive"; then
1492 # If there are subdirs, report their specific --help.
1493 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1494 test -d "$ac_dir" ||
1495 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1500 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1502 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1503 # A ".." for each directory in $ac_dir_suffix.
1504 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1505 case $ac_top_builddir_sub in
1506 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1507 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1510 ac_abs_top_builddir
=$ac_pwd
1511 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1512 # for backward compatibility:
1513 ac_top_builddir
=$ac_top_build_prefix
1516 .
) # We are building in place.
1518 ac_top_srcdir
=$ac_top_builddir_sub
1519 ac_abs_top_srcdir
=$ac_pwd ;;
1520 [\\/]* | ?
:[\\/]* ) # Absolute name.
1521 ac_srcdir
=$srcdir$ac_dir_suffix;
1522 ac_top_srcdir
=$srcdir
1523 ac_abs_top_srcdir
=$srcdir ;;
1525 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1526 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1527 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1529 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1531 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1532 # Check for guested configure.
1533 if test -f "$ac_srcdir/configure.gnu"; then
1535 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1536 elif test -f "$ac_srcdir/configure"; then
1538 $SHELL "$ac_srcdir/configure" --help=recursive
1540 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1542 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1546 test -n "$ac_init_help" && exit $ac_status
1547 if $ac_init_version; then
1549 GNU C Library configure
(see version.h
)
1550 generated by GNU Autoconf
2.65
1552 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1553 This configure
script is free software
; the Free Software Foundation
1554 gives unlimited permission to copy
, distribute and modify it.
1559 ## ------------------------ ##
1560 ## Autoconf initialization. ##
1561 ## ------------------------ ##
1563 # ac_fn_c_try_compile LINENO
1564 # --------------------------
1565 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1566 ac_fn_c_try_compile
()
1568 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1569 rm -f conftest.
$ac_objext
1570 if { { ac_try
="$ac_compile"
1572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_compile") 2>conftest.err
1579 if test -s conftest.err; then
1580 grep -v '^ *+' conftest.err >conftest.er1
1581 cat conftest.er1 >&5
1582 mv -f conftest.er1 conftest.err
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && {
1586 test -z "$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1588 } && test -s conftest.$ac_objext; then :
1591 $as_echo "$as_me: failed program was:" >&5
1592 sed 's/^/| /' conftest.$ac_ext >&5
1596 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1597 as_fn_set_status $ac_retval
1599 } # ac_fn_c_try_compile
1601 # ac_fn_c_try_cpp LINENO
1602 # ----------------------
1603 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 if { { ac_try="$ac_cpp conftest.$ac_ext"
1609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1610 *) ac_try_echo
=$ac_try;;
1612 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1616 if test -s conftest.err
; then
1617 grep -v '^ *+' conftest.err
>conftest.er1
1618 cat conftest.er1
>&5
1619 mv -f conftest.er1 conftest.err
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } >/dev
/null
&& {
1623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1624 test ! -s conftest.err
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.
$ac_ext >&5
1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1634 as_fn_set_status
$ac_retval
1638 # ac_fn_cxx_try_compile LINENO
1639 # ----------------------------
1640 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1641 ac_fn_cxx_try_compile
()
1643 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1644 rm -f conftest.
$ac_objext
1645 if { { ac_try
="$ac_compile"
1647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_compile") 2>conftest.err
1654 if test -s conftest.err; then
1655 grep -v '^ *+' conftest.err >conftest.er1
1656 cat conftest.er1 >&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } && {
1661 test -z "$ac_cxx_werror_flag" ||
1662 test ! -s conftest.err
1663 } && test -s conftest.$ac_objext; then :
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.$ac_ext >&5
1671 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672 as_fn_set_status $ac_retval
1674 } # ac_fn_cxx_try_compile
1676 # ac_fn_c_try_link LINENO
1677 # -----------------------
1678 # Try to link conftest.$ac_ext, and return whether this succeeded.
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 rm -f conftest.$ac_objext conftest$ac_exeext
1683 if { { ac_try="$ac_link"
1685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1686 *) ac_try_echo
=$ac_try;;
1688 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_link") 2>conftest.err
1692 if test -s conftest.err
; then
1693 grep -v '^ *+' conftest.err
>conftest.er1
1694 cat conftest.er1
>&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && {
1699 test -z "$ac_c_werror_flag" ||
1700 test ! -s conftest.err
1701 } && test -s conftest
$ac_exeext && {
1702 test "$cross_compiling" = yes ||
1703 $as_test_x conftest
$ac_exeext
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.
$ac_ext >&5
1712 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1713 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1714 # interfere with the next link command; also delete a directory that is
1715 # left behind by Apple's compiler. We do this before executing the actions.
1716 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1718 as_fn_set_status
$ac_retval
1720 } # ac_fn_c_try_link
1722 # ac_fn_c_try_run LINENO
1723 # ----------------------
1724 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1725 # that executables *can* be run.
1728 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1729 if { { ac_try
="$ac_link"
1731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_link") 2>&5
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1740 { { case "(($ac_try" in
1741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1742 *) ac_try_echo
=$ac_try;;
1744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_try") 2>&5
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; }; }; then :
1752 $as_echo "$as_me: program exited with status $ac_status" >&5
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.
$ac_ext >&5
1756 ac_retval
=$ac_status
1758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1760 as_fn_set_status
$ac_retval
1764 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1765 # --------------------------------------------
1766 # Tries to find the compile-time value of EXPR in a program that includes
1767 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1769 ac_fn_c_compute_int
()
1771 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1772 if test "$cross_compiling" = yes; then
1773 # Depending upon the size, compute the lo and hi bounds.
1774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1780 static int test_array [1 - 2 * !(($2) >= 0)];
1787 if ac_fn_c_try_compile
"$LINENO"; then :
1790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1796 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1803 if ac_fn_c_try_compile
"$LINENO"; then :
1804 ac_hi
=$ac_mid; break
1806 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1807 if test $ac_lo -le $ac_mid; then
1811 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1822 static int test_array [1 - 2 * !(($2) < 0)];
1829 if ac_fn_c_try_compile
"$LINENO"; then :
1832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1833 /* end confdefs.h. */
1838 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1845 if ac_fn_c_try_compile
"$LINENO"; then :
1846 ac_lo
=$ac_mid; break
1848 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1849 if test $ac_mid -le $ac_hi; then
1853 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1863 # Binary search between lo and hi bounds.
1864 while test "x$ac_lo" != "x$ac_hi"; do
1865 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1872 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1879 if ac_fn_c_try_compile
"$LINENO"; then :
1882 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1887 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1894 static long int longval () { return $2; }
1895 static unsigned long int ulongval () { return $2; }
1902 FILE *f = fopen ("conftest.val", "w");
1907 long int i = longval ();
1910 fprintf (f, "%ld", i);
1914 unsigned long int i = ulongval ();
1917 fprintf (f, "%lu", i);
1919 /* Do not output a trailing newline, as this causes \r\n confusion
1920 on some platforms. */
1921 return ferror (f) || fclose (f) != 0;
1927 if ac_fn_c_try_run
"$LINENO"; then :
1928 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1932 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1933 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1937 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1938 as_fn_set_status
$ac_retval
1940 } # ac_fn_c_compute_int
1942 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1943 # -------------------------------------------------------
1944 # Tests whether HEADER exists and can be compiled using the include files in
1945 # INCLUDES, setting the cache variable VAR accordingly.
1946 ac_fn_c_check_header_compile
()
1948 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1952 $as_echo_n "(cached) " >&6
1954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1959 if ac_fn_c_try_compile
"$LINENO"; then :
1964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968 $as_echo "$ac_res" >&6; }
1969 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1971 } # ac_fn_c_check_header_compile
1972 cat >config.log
<<_ACEOF
1973 This file contains any messages produced by compilers while
1974 running configure, to aid debugging if configure makes a mistake.
1976 It was created by GNU C Library $as_me (see version.h), which was
1977 generated by GNU Autoconf 2.65. Invocation command line was
1989 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1990 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1991 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1992 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1993 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1995 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1996 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1998 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1999 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2000 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2001 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2002 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2003 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2004 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir
=.
2013 $as_echo "PATH: $as_dir"
2029 # Keep a trace of the command line.
2030 # Strip out --no-create and --no-recursion so they do not pile up.
2031 # Strip out --silent because we don't want to record it for future runs.
2032 # Also quote any args containing shell meta-characters.
2033 # Make two passes to allow for proper duplicate-argument suppression.
2037 ac_must_keep_next
=false
2043 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2044 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2045 |
-silent |
--silent |
--silen |
--sile |
--sil)
2048 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2051 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2053 as_fn_append ac_configure_args1
" '$ac_arg'"
2054 if test $ac_must_keep_next = true
; then
2055 ac_must_keep_next
=false
# Got value, back to normal.
2058 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2059 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2060 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2061 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2062 case "$ac_configure_args0 " in
2063 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2066 -* ) ac_must_keep_next
=true
;;
2069 as_fn_append ac_configure_args
" '$ac_arg'"
2074 { ac_configure_args0
=; unset ac_configure_args0
;}
2075 { ac_configure_args1
=; unset ac_configure_args1
;}
2077 # When interrupted or exit'd, cleanup temporary files, and complete
2078 # config.log. We remove comments because anyway the quotes in there
2079 # would cause problems or look ugly.
2080 # WARNING: Use '\'' to represent an apostrophe within the trap.
2081 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2082 trap 'exit_status=$?
2083 # Save into config.log some information that might help in debugging.
2088 ## ---------------- ##
2089 ## Cache variables. ##
2090 ## ---------------- ##
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"
2126 ## ----------------- ##
2127 ## Output variables. ##
2128 ## ----------------- ##
2131 for ac_var in $ac_subst_vars
2133 eval ac_val=\$$ac_var
2135 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2137 $as_echo "$ac_var='\''$ac_val'\''"
2141 if test -n "$ac_subst_files"; then
2143 ## ------------------- ##
2144 ## File substitutions. ##
2145 ## ------------------- ##
2148 for ac_var
in $ac_subst_files
2150 eval ac_val
=\$
$ac_var
2152 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2154 $as_echo "$ac_var='\''$ac_val'\''"
2159 if test -s confdefs.h; then
2169 test "$ac_signal" != 0 &&
2170 $as_echo "$as_me: caught signal $ac_signal"
2171 $as_echo "$as_me: exit $exit_status"
2173 rm -f core *.core core.conftest.* &&
2174 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2177 for ac_signal
in 1 2 13 15; do
2178 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2183 rm -f -r conftest
* confdefs.h
2185 $as_echo "/* confdefs.h */" > confdefs.h
2187 # Predefined preprocessor variables.
2189 cat >>confdefs.h
<<_ACEOF
2190 #define PACKAGE_NAME "$PACKAGE_NAME"
2193 cat >>confdefs.h
<<_ACEOF
2194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2197 cat >>confdefs.h
<<_ACEOF
2198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2201 cat >>confdefs.h
<<_ACEOF
2202 #define PACKAGE_STRING "$PACKAGE_STRING"
2205 cat >>confdefs.h
<<_ACEOF
2206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2209 cat >>confdefs.h
<<_ACEOF
2210 #define PACKAGE_URL "$PACKAGE_URL"
2214 # Let the site file select an alternate cache file if it wants to.
2215 # Prefer an explicitly selected file to automatically selected ones.
2218 if test -n "$CONFIG_SITE"; then
2219 ac_site_file1
=$CONFIG_SITE
2220 elif test "x$prefix" != xNONE
; then
2221 ac_site_file1
=$prefix/share
/config.site
2222 ac_site_file2
=$prefix/etc
/config.site
2224 ac_site_file1
=$ac_default_prefix/share
/config.site
2225 ac_site_file2
=$ac_default_prefix/etc
/config.site
2227 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2229 test "x$ac_site_file" = xNONE
&& continue
2230 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2232 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2233 sed 's/^/| /' "$ac_site_file" >&5
2238 if test -r "$cache_file"; then
2239 # Some versions of bash will fail to source /dev/null (special files
2240 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2241 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2243 $as_echo "$as_me: loading cache $cache_file" >&6;}
2245 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2246 *) .
"./$cache_file";;
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2251 $as_echo "$as_me: creating cache $cache_file" >&6;}
2255 # Check that the precious variables saved in the cache have kept the same
2257 ac_cache_corrupted
=false
2258 for ac_var
in $ac_precious_vars; do
2259 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2260 eval ac_new_set
=\
$ac_env_${ac_var}_set
2261 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2262 eval ac_new_val
=\
$ac_env_${ac_var}_value
2263 case $ac_old_set,$ac_new_set in
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2266 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2267 ac_cache_corrupted
=: ;;
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2270 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2271 ac_cache_corrupted
=: ;;
2274 if test "x$ac_old_val" != "x$ac_new_val"; then
2275 # differences in whitespace do not lead to failure.
2276 ac_old_val_w
=`echo x $ac_old_val`
2277 ac_new_val_w
=`echo x $ac_new_val`
2278 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2280 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2281 ac_cache_corrupted
=:
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2284 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2285 eval $ac_var=\
$ac_old_val
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2288 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2290 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2293 # Pass precious variables to config.status.
2294 if test "$ac_new_set" = set; then
2296 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2297 *) ac_arg
=$ac_var=$ac_new_val ;;
2299 case " $ac_configure_args " in
2300 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2301 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2305 if $ac_cache_corrupted; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2309 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2310 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2312 ## -------------------- ##
2313 ## Main body of script. ##
2314 ## -------------------- ##
2317 ac_cpp
='$CPP $CPPFLAGS'
2318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2324 ac_config_headers
="$ac_config_headers config.h"
2327 for ac_dir
in scripts
"$srcdir"/scripts
; do
2328 for ac_t
in install-sh
install.sh shtool
; do
2329 if test -f "$ac_dir/$ac_t"; then
2331 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2336 if test -z "$ac_aux_dir"; then
2337 as_fn_error
"cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
2340 # These three variables are undocumented and unsupported,
2341 # and are intended to be withdrawn in a future Autoconf release.
2342 # They can cause serious problems if a builder's source tree is in a directory
2343 # whose full name contains unusual characters.
2344 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2345 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2346 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2355 # Make sure we can run config.sub.
2356 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2357 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2360 $as_echo_n "checking build system type... " >&6; }
2361 if test "${ac_cv_build+set}" = set; then :
2362 $as_echo_n "(cached) " >&6
2364 ac_build_alias
=$build_alias
2365 test "x$ac_build_alias" = x
&&
2366 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2367 test "x$ac_build_alias" = x
&&
2368 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2369 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2370 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2374 $as_echo "$ac_cv_build" >&6; }
2375 case $ac_cv_build in
2377 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2380 ac_save_IFS
=$IFS; IFS
='-'
2386 # Remember, the first character of IFS is used to create $*,
2387 # except with old shells:
2390 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2394 $as_echo_n "checking host system type... " >&6; }
2395 if test "${ac_cv_host+set}" = set; then :
2396 $as_echo_n "(cached) " >&6
2398 if test "x$host_alias" = x
; then
2399 ac_cv_host
=$ac_cv_build
2401 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2402 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2407 $as_echo "$ac_cv_host" >&6; }
2410 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2413 ac_save_IFS
=$IFS; IFS
='-'
2419 # Remember, the first character of IFS is used to create $*,
2420 # except with old shells:
2423 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2428 ac_cpp
='$CPP $CPPFLAGS'
2429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2432 if test -n "$ac_tool_prefix"; then
2433 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2434 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2436 $as_echo_n "checking for $ac_word... " >&6; }
2437 if test "${ac_cv_prog_CC+set}" = set; then :
2438 $as_echo_n "(cached) " >&6
2440 if test -n "$CC"; then
2441 ac_cv_prog_CC
="$CC" # Let the user override the test.
2443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir
=.
2448 for ac_exec_ext
in '' $ac_executable_extensions; do
2449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2450 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 if test -n "$CC"; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2463 $as_echo "$CC" >&6; }
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2466 $as_echo "no" >&6; }
2471 if test -z "$ac_cv_prog_CC"; then
2473 # Extract the first word of "gcc", so it can be a program name with args.
2474 set dummy gcc
; ac_word
=$2
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2476 $as_echo_n "checking for $ac_word... " >&6; }
2477 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2478 $as_echo_n "(cached) " >&6
2480 if test -n "$ac_ct_CC"; then
2481 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir
=.
2488 for ac_exec_ext
in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_ac_ct_CC
="gcc"
2491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2501 if test -n "$ac_ct_CC"; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2503 $as_echo "$ac_ct_CC" >&6; }
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2506 $as_echo "no" >&6; }
2509 if test "x$ac_ct_CC" = x
; then
2512 case $cross_compiling:$ac_tool_warned in
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2516 ac_tool_warned
=yes ;;
2524 if test -z "$CC"; then
2525 if test -n "$ac_tool_prefix"; then
2526 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2527 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if test "${ac_cv_prog_CC+set}" = set; then :
2531 $as_echo_n "(cached) " >&6
2533 if test -n "$CC"; then
2534 ac_cv_prog_CC
="$CC" # Let the user override the test.
2536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir
=.
2541 for ac_exec_ext
in '' $ac_executable_extensions; do
2542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2543 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2554 if test -n "$CC"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2556 $as_echo "$CC" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2565 if test -z "$CC"; then
2566 # Extract the first word of "cc", so it can be a program name with args.
2567 set dummy cc
; ac_word
=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if test "${ac_cv_prog_CC+set}" = set; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$CC"; then
2574 ac_cv_prog_CC
="$CC" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2584 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2585 ac_prog_rejected
=yes
2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 if test $ac_prog_rejected = yes; then
2597 # We found a bogon in the path, so make sure we never use it.
2598 set dummy
$ac_cv_prog_CC
2600 if test $# != 0; then
2601 # We chose a different compiler from the bogus one.
2602 # However, it has the same basename, so the bogon will be chosen
2603 # first if we set CC to just the basename; use the full file name.
2605 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2611 if test -n "$CC"; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2613 $as_echo "$CC" >&6; }
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2616 $as_echo "no" >&6; }
2621 if test -z "$CC"; then
2622 if test -n "$ac_tool_prefix"; then
2623 for ac_prog
in cl.exe
2625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2626 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if test "${ac_cv_prog_CC+set}" = set; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC
="$CC" # Let the user override the test.
2635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir
=.
2640 for ac_exec_ext
in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$CC"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2655 $as_echo "$CC" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2662 test -n "$CC" && break
2665 if test -z "$CC"; then
2667 for ac_prog
in cl.exe
2669 # Extract the first word of "$ac_prog", so it can be a program name with args.
2670 set dummy
$ac_prog; ac_word
=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$ac_ct_CC"; then
2677 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir
=.
2684 for ac_exec_ext
in '' $ac_executable_extensions; do
2685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2686 ac_cv_prog_ac_ct_CC
="$ac_prog"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2697 if test -n "$ac_ct_CC"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2699 $as_echo "$ac_ct_CC" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2706 test -n "$ac_ct_CC" && break
2709 if test "x$ac_ct_CC" = x
; then
2712 case $cross_compiling:$ac_tool_warned in
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2716 ac_tool_warned
=yes ;;
2725 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2727 as_fn_error
"no acceptable C compiler found in \$PATH
2728 See \`config.log' for more details." "$LINENO" 5; }
2730 # Provide some information about the compiler.
2731 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2734 for ac_option
in --version -v -V -qversion; do
2735 { { ac_try
="$ac_compiler $ac_option >&5"
2737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2744 if test -s conftest.err; then
2746 ... rest of stderr output deleted ...
2747 10q' conftest.err >conftest.er1
2748 cat conftest.er1 >&5
2750 rm -f conftest.er1 conftest.err
2751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2752 test $ac_status = 0; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2757 $as_echo_n "checking for suffix of object files... " >&6; }
2758 if test "${ac_cv_objext+set}" = set; then :
2759 $as_echo_n "(cached) " >&6
2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2772 rm -f conftest.o conftest.obj
2773 if { { ac_try="$ac_compile"
2775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2776 *) ac_try_echo
=$ac_try;;
2778 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2779 $as_echo "$ac_try_echo"; } >&5
2780 (eval "$ac_compile") 2>&5
2782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2783 test $ac_status = 0; }; then :
2784 for ac_file
in conftest.o conftest.obj conftest.
*; do
2785 test -f "$ac_file" ||
continue;
2787 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2788 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2793 $as_echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.
$ac_ext >&5
2796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2798 as_fn_error
"cannot compute suffix of object files: cannot compile
2799 See \`config.log' for more details." "$LINENO" 5; }
2801 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2804 $as_echo "$ac_cv_objext" >&6; }
2805 OBJEXT
=$ac_cv_objext
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2808 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2809 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2813 /* end confdefs.h. */
2826 if ac_fn_c_try_compile
"$LINENO"; then :
2831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2832 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2836 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2837 if test $ac_compiler_gnu = yes; then
2842 ac_test_CFLAGS
=${CFLAGS+set}
2843 ac_save_CFLAGS
=$CFLAGS
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2845 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2846 if test "${ac_cv_prog_cc_g+set}" = set; then :
2847 $as_echo_n "(cached) " >&6
2849 ac_save_c_werror_flag
=$ac_c_werror_flag
2850 ac_c_werror_flag
=yes
2853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2864 if ac_fn_c_try_compile
"$LINENO"; then :
2868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2879 if ac_fn_c_try_compile
"$LINENO"; then :
2882 ac_c_werror_flag
=$ac_save_c_werror_flag
2884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2895 if ac_fn_c_try_compile
"$LINENO"; then :
2898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2903 ac_c_werror_flag
=$ac_save_c_werror_flag
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2906 $as_echo "$ac_cv_prog_cc_g" >&6; }
2907 if test "$ac_test_CFLAGS" = set; then
2908 CFLAGS
=$ac_save_CFLAGS
2909 elif test $ac_cv_prog_cc_g = yes; then
2910 if test "$GCC" = yes; then
2916 if test "$GCC" = yes; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2923 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2924 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 ac_cv_prog_cc_c89
=no
2929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2933 #include <sys/types.h>
2934 #include <sys/stat.h>
2935 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2936 struct buf { int x; };
2937 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2938 static char *e (p, i)
2944 static char *f (char * (*g) (char **, int), char **p, ...)
2949 s = g (p, va_arg (v,int));
2954 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2955 function prototypes and stuff, but not '\xHH' hex character constants.
2956 These don't provoke an error unfortunately, instead are silently treated
2957 as 'x'. The following induces an error, until -std is added to get
2958 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2959 array size at least. It's necessary to write '\x00'==0 to get something
2960 that's true only with -std. */
2961 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2963 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2964 inside strings and character constants. */
2966 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2968 int test (int i, double x);
2969 struct s1 {int (*f) (int a);};
2970 struct s2 {int (*f) (double a);};
2971 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2977 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2982 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2983 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2985 CC
="$ac_save_CC $ac_arg"
2986 if ac_fn_c_try_compile
"$LINENO"; then :
2987 ac_cv_prog_cc_c89
=$ac_arg
2989 rm -f core conftest.err conftest.
$ac_objext
2990 test "x$ac_cv_prog_cc_c89" != "xno" && break
2992 rm -f conftest.
$ac_ext
2997 case "x$ac_cv_prog_cc_c89" in
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3000 $as_echo "none needed" >&6; } ;;
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3003 $as_echo "unsupported" >&6; } ;;
3005 CC
="$CC $ac_cv_prog_cc_c89"
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3007 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3009 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3014 ac_cpp
='$CPP $CPPFLAGS'
3015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3019 if test $host != $build; then
3020 for ac_prog
in gcc cc
3022 # Extract the first word of "$ac_prog", so it can be a program name with args.
3023 set dummy
$ac_prog; ac_word
=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
3027 $as_echo_n "(cached) " >&6
3029 if test -n "$BUILD_CC"; then
3030 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
3032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir
=.
3037 for ac_exec_ext
in '' $ac_executable_extensions; do
3038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3039 ac_cv_prog_BUILD_CC
="$ac_prog"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 BUILD_CC
=$ac_cv_prog_BUILD_CC
3050 if test -n "$BUILD_CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
3052 $as_echo "$BUILD_CC" >&6; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3059 test -n "$BUILD_CC" && break
3065 ac_cpp
='$CPP $CPPFLAGS'
3066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3070 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3071 # On Suns, sometimes $CPP names a directory.
3072 if test -n "$CPP" && test -d "$CPP"; then
3075 if test -z "$CPP"; then
3076 if test "${ac_cv_prog_CPP+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3079 # Double quotes because CPP needs to be expanded
3080 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3083 for ac_c_preproc_warn_flag
in '' yes
3085 # Use a header file that comes with gcc, so configuring glibc
3086 # with a fresh cross-compiler works.
3087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3088 # <limits.h> exists even on freestanding compilers.
3089 # On the NeXT, cc -E runs the code through the compiler's parser,
3090 # not just through cpp. "Syntax error" is here to catch this case.
3091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3094 # include <limits.h>
3096 # include <assert.h>
3100 if ac_fn_c_try_cpp
"$LINENO"; then :
3103 # Broken: fails on valid input.
3106 rm -f conftest.err conftest.
$ac_ext
3108 # OK, works on sane cases. Now check whether nonexistent headers
3109 # can be detected and how.
3110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3112 #include <ac_nonexistent.h>
3114 if ac_fn_c_try_cpp
"$LINENO"; then :
3115 # Broken: success on invalid input.
3118 # Passes both tests.
3122 rm -f conftest.err conftest.
$ac_ext
3125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3126 rm -f conftest.err conftest.
$ac_ext
3127 if $ac_preproc_ok; then :
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3140 $as_echo "$CPP" >&6; }
3142 for ac_c_preproc_warn_flag
in '' yes
3144 # Use a header file that comes with gcc, so configuring glibc
3145 # with a fresh cross-compiler works.
3146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3147 # <limits.h> exists even on freestanding compilers.
3148 # On the NeXT, cc -E runs the code through the compiler's parser,
3149 # not just through cpp. "Syntax error" is here to catch this case.
3150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3153 # include <limits.h>
3155 # include <assert.h>
3159 if ac_fn_c_try_cpp
"$LINENO"; then :
3162 # Broken: fails on valid input.
3165 rm -f conftest.err conftest.
$ac_ext
3167 # OK, works on sane cases. Now check whether nonexistent headers
3168 # can be detected and how.
3169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3171 #include <ac_nonexistent.h>
3173 if ac_fn_c_try_cpp
"$LINENO"; then :
3174 # Broken: success on invalid input.
3177 # Passes both tests.
3181 rm -f conftest.err conftest.
$ac_ext
3184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3185 rm -f conftest.err conftest.
$ac_ext
3186 if $ac_preproc_ok; then :
3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3192 See \`config.log' for more details." "$LINENO" 5; }
3196 ac_cpp
='$CPP $CPPFLAGS'
3197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3201 # We need the C++ compiler only for testing.
3203 ac_cpp
='$CXXCPP $CPPFLAGS'
3204 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3207 if test -z "$CXX"; then
3208 if test -n "$CCC"; then
3211 if test -n "$ac_tool_prefix"; then
3212 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3215 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if test "${ac_cv_prog_CXX+set}" = set; then :
3219 $as_echo_n "(cached) " >&6
3221 if test -n "$CXX"; then
3222 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir
=.
3229 for ac_exec_ext
in '' $ac_executable_extensions; do
3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 if test -n "$CXX"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3244 $as_echo "$CXX" >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3251 test -n "$CXX" && break
3254 if test -z "$CXX"; then
3256 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3258 # Extract the first word of "$ac_prog", so it can be a program name with args.
3259 set dummy
$ac_prog; ac_word
=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3263 $as_echo_n "(cached) " >&6
3265 if test -n "$ac_ct_CXX"; then
3266 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir
=.
3273 for ac_exec_ext
in '' $ac_executable_extensions; do
3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3286 if test -n "$ac_ct_CXX"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3288 $as_echo "$ac_ct_CXX" >&6; }
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3295 test -n "$ac_ct_CXX" && break
3298 if test "x$ac_ct_CXX" = x
; then
3301 case $cross_compiling:$ac_tool_warned in
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305 ac_tool_warned
=yes ;;
3313 # Provide some information about the compiler.
3314 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3317 for ac_option
in --version -v -V -qversion; do
3318 { { ac_try
="$ac_compiler $ac_option >&5"
3320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324 $as_echo "$ac_try_echo"; } >&5
3325 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3327 if test -s conftest.err; then
3329 ... rest of stderr output deleted ...
3330 10q' conftest.err >conftest.er1
3331 cat conftest.er1 >&5
3333 rm -f conftest.er1 conftest.err
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3339 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3340 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3341 $as_echo_n "(cached) " >&6
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3357 if ac_fn_cxx_try_compile "$LINENO"; then :
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3367 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3368 if test $ac_compiler_gnu = yes; then
3373 ac_test_CXXFLAGS=${CXXFLAGS+set}
3374 ac_save_CXXFLAGS=$CXXFLAGS
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3376 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3377 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3378 $as_echo_n "(cached) " >&6
3380 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3381 ac_cxx_werror_flag=yes
3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385 /* end confdefs.h. */
3395 if ac_fn_cxx_try_compile "$LINENO"; then :
3396 ac_cv_prog_cxx_g=yes
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3410 if ac_fn_cxx_try_compile "$LINENO"; then :
3413 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3426 if ac_fn_cxx_try_compile "$LINENO"; then :
3427 ac_cv_prog_cxx_g=yes
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3437 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3438 if test "$ac_test_CXXFLAGS" = set; then
3439 CXXFLAGS=$ac_save_CXXFLAGS
3440 elif test $ac_cv_prog_cxx_g = yes; then
3441 if test "$GXX" = yes; then
3447 if test "$GXX" = yes; then
3454 ac_cpp='$CPP $CPPFLAGS'
3455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3461 as_fn_error "you must configure in a separate build directory" "$LINENO" 5
3464 # This will get text that should go into config.make.
3467 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3469 # Check whether --with-gd was given.
3470 if test "${with_gd+set}" = set; then :
3471 withval=$with_gd; case "$with_gd" in
3473 *) libgd_include="-I$withval/include"
3474 libgd_ldflags="-L$withval/lib" ;;
3480 # Check whether --with-gd-include was given.
3481 if test "${with_gd_include+set}" = set; then :
3482 withval=$with_gd_include; case "$with_gd_include" in
3484 *) libgd_include="-I$withval" ;;
3490 # Check whether --with-gd-lib was given.
3491 if test "${with_gd_lib+set}" = set; then :
3492 withval=$with_gd_lib; case "$with_gd_lib" in
3494 *) libgd_ldflags="-L$withval" ;;
3500 if test -n "$libgd_include"; then
3501 config_vars="$config_vars
3502 CFLAGS-memusagestat.c = $libgd_include"
3504 if test -n "$libgd_ldflags"; then
3505 config_vars="$config_vars
3506 libgd-LDFLAGS = $libgd_ldflags"
3510 # Check whether --with-fp was given.
3511 if test "${with_fp+set}" = set; then :
3512 withval=$with_fp; with_fp=$withval
3519 # Check whether --with-binutils was given.
3520 if test "${with_binutils+set}" = set; then :
3521 withval=$with_binutils; path_binutils=$withval
3527 # Check whether --with-elf was given.
3528 if test "${with_elf+set}" = set; then :
3529 withval=$with_elf; elf=$withval
3535 # Check whether --with-selinux was given.
3536 if test "${with_selinux+set}" = set; then :
3537 withval=$with_selinux; with_selinux=$withval
3543 # Check whether --with-xcoff was given.
3544 if test "${with_xcoff+set}" = set; then :
3545 withval=$with_xcoff; xcoff=$withval
3551 # Check whether --with-cvs was given.
3552 if test "${with_cvs+set}" = set; then :
3553 withval=$with_cvs; with_cvs=$withval
3558 if test "$with_cvs" = yes; then
3559 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3567 # Check whether --with-headers was given.
3568 if test "${with_headers+set}" = set; then :
3569 withval=$with_headers; sysheaders=$withval
3575 # Check whether --enable-sanity-checks was given.
3576 if test "${enable_sanity_checks+set}" = set; then :
3577 enableval=$enable_sanity_checks; enable_sanity=$enableval
3584 # Check whether --enable-check-abi was given.
3585 if test "${enable_check_abi+set}" = set; then :
3586 enableval=$enable_check_abi; enable_check_abi=$enableval
3593 # Check whether --enable-shared was given.
3594 if test "${enable_shared+set}" = set; then :
3595 enableval=$enable_shared; shared=$enableval
3600 # Check whether --enable-profile was given.
3601 if test "${enable_profile+set}" = set; then :
3602 enableval=$enable_profile; profile=$enableval
3607 # Check whether --enable-omitfp was given.
3608 if test "${enable_omitfp+set}" = set; then :
3609 enableval=$enable_omitfp; omitfp=$enableval
3614 # Check whether --enable-bounded was given.
3615 if test "${enable_bounded+set}" = set; then :
3616 enableval=$enable_bounded; bounded=$enableval
3621 # Check whether --enable-versioning was given.
3622 if test "${enable_versioning+set}" = set; then :
3623 enableval=$enable_versioning; enable_versioning=$enableval
3625 enable_versioning=yes
3629 # Check whether --enable-oldest-abi was given.
3630 if test "${enable_oldest_abi+set}" = set; then :
3631 enableval=$enable_oldest_abi; oldest_abi=$enableval
3636 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3639 cat >>confdefs.h <<_ACEOF
3640 #define GLIBC_OLDEST_ABI "$oldest_abi"
3646 # Check whether --enable-stackguard-randomization was given.
3647 if test "${enable_stackguard_randomization+set}" = set; then :
3648 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3650 enable_stackguard_randomize=no
3653 if test "$enable_stackguard_randomize" = yes; then
3654 $as_echo "#define ENABLE_STACKGUARD_RANDOMIZE 1" >>confdefs.h
3658 # Check whether --enable-add-ons was given.
3659 if test "${enable_add_ons+set}" = set; then :
3660 enableval=$enable_add_ons;
3667 # Check whether --with-tls was given.
3668 if test "${with_tls+set}" = set; then :
3669 withval=$with_tls; usetls=$withval
3676 # Check whether --with-__thread was given.
3677 if test "${with___thread+set}" = set; then :
3678 withval=$with___thread; use__thread=$withval
3684 # Check whether --enable-hidden-plt was given.
3685 if test "${enable_hidden_plt+set}" = set; then :
3686 enableval=$enable_hidden_plt; hidden=$enableval
3691 if test "x$hidden" = xno; then
3692 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
3696 # Check whether --enable-bind-now was given.
3697 if test "${enable_bind_now+set}" = set; then :
3698 enableval=$enable_bind_now; bindnow=$enableval
3705 # Check whether --enable-static-nss was given.
3706 if test "${enable_static_nss+set}" = set; then :
3707 enableval=$enable_static_nss; static_nss=$enableval
3712 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3714 $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
3718 # Check whether --enable-force-install was given.
3719 if test "${enable_force_install+set}" = set; then :
3720 enableval=$enable_force_install; force_install=$enableval
3727 # Check whether --enable-kernel was given.
3728 if test "${enable_kernel+set}" = set; then :
3729 enableval=$enable_kernel; minimum_kernel=$enableval
3732 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3733 # Better nothing than this.
3736 if test "$minimum_kernel" = current; then
3737 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3741 # Check whether --enable-all-warnings was given.
3742 if test "${enable_all_warnings+set}" = set; then :
3743 enableval=$enable_all_warnings; all_warnings=$enableval
3748 # Check whether --enable-multi-arch was given.
3749 if test "${enable_multi_arch+set}" = set; then :
3750 enableval=$enable_multi_arch; multi_arch=$enableval
3756 # Check whether --enable-experimental-malloc was given.
3757 if test "${enable_experimental_malloc+set}" = set; then :
3758 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3763 # Check whether --enable-nss-crypt was given.
3764 if test "${enable_nss_crypt+set}" = set; then :
3765 enableval=$enable_nss_crypt; nss_crypt=$enableval
3770 if test x$nss_crypt = xyes; then
3771 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3772 if test $? -ne 0; then
3773 as_fn_error "cannot find include directory with nss-config" "$LINENO" 5
3775 old_CFLAGS="$CFLAGS"
3776 CFLAGS="$CFLAGS $nss_includes"
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3782 #include <nsslowhash.h>
3783 void f (void) { NSSLOW_Init (); }
3785 if ac_fn_c_try_compile "$LINENO"; then :
3786 libc_cv_nss_crypt=yes
3789 cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
3791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 LIBS="$LIBS -lfreebl3"
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3798 #include <nsslowhash.h>
3807 if ac_fn_c_try_link "$LINENO"; then :
3808 libc_cv_nss_crypt=yes
3811 cannot link program using lowlevel NSS hash functions" "$LINENO" 5
3813 rm -f core conftest.err conftest.$ac_objext \
3814 conftest$ac_exeext conftest.$ac_ext
3815 CFLAGS="$old_CFLAGS"
3818 libc_cv_nss_crypt=no
3822 # The way shlib-versions is used to generate soversions.mk uses a
3823 # fairly simplistic model for name recognition that can't distinguish
3824 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3825 # of `gnu
*' here to be `gnu-gnu*' just so that shlib-versions can
3826 # tell. This doesn't get used much beyond that, so it's fairly safe.
3831 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3835 # We keep the original values in `$config_*' and never modify them, so we
3836 # can write them unchanged into config.make. Everything else uses
3837 # $machine, $vendor, and $os, and changes them whenever convenient.
3838 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3840 # Don't allow vendor == "unknown"
3841 test "$config_vendor" = unknown
&& config_vendor
=
3842 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3844 # Some configurations imply other options.
3846 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3847 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
3849 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
3850 # These systems (almost) always use the ELF format.
3854 # These systems are always xcoff
3860 # The configure fragment of an add-on port can modify these to supplement
3861 # or override the table in the case statement below. No fragment should
3862 # ever change the config_* variables, however.
3863 machine
=$config_machine
3864 vendor
=$config_vendor
3868 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3870 if test "$machine" = rs6000
; then
3874 # Braindead PowerPC box with absolutely no FPU.
3875 case "$machine-$host_os" in
3883 # Check whether --with-cpu was given.
3884 if test "${with_cpu+set}" = set; then :
3885 withval
=$with_cpu; case "$withval" in
3886 yes|
'') as_fn_error
"--with-cpu requires an argument" "$LINENO" 5 ;;
3888 *) submachine
="$withval" ;;
3894 # An add-on can set this when it wants to disable the sanity check below.
3900 case "$enable_add_ons" in
3903 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
3904 sed 's@/[^/]*$@@' | sort | uniq`
3905 add_ons_automatic
=yes
3907 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
3908 add_ons_automatic
=no
;;
3914 if test x
"$add_ons" != x
; then
3915 for f
in $add_ons; do
3916 # Some sanity checks
3920 *** It seems that you're using an old \`crypt' add-on. crypt is now
3921 *** part of glibc and using the old add-on will not work with this
3922 *** release. Start again with fresh sources and without the old
3923 *** \`crypt' add-on." "$LINENO" 5
3927 *** It seems that you're using an old \`localedata' add-on. localedata
3928 *** is now part of glibc and using the old add-on will not work with
3929 *** this release. Start again with fresh sources and without the old
3930 *** \`localedata' add-on." "$LINENO" 5
3935 # Now source each add-on's configure fragment.
3936 # The fragments can use $srcdir/$libc_add_on to find themselves,
3937 # and test $add_ons_automatic to see if they were explicitly requested.
3938 # A fragment can clear (or even change) $libc_add_on to affect
3939 # whether it goes into the list to be actually used in the build.
3941 for libc_add_on
in $add_ons; do
3942 # Test whether such a directory really exists.
3943 # It can be absolute, or relative to $srcdir, or relative to the build dir.
3944 case "$libc_add_on" in
3946 libc_add_on_srcdir
=$libc_add_on
3949 test -d "$srcdir/$libc_add_on" ||
{
3950 if test -d "$libc_add_on"; then
3951 libc_add_on
="`pwd`/$libc_add_on"
3953 as_fn_error
"add-on directory \"$libc_add_on\" does not exist" "$LINENO" 5
3956 libc_add_on_srcdir
=$srcdir/$libc_add_on
3960 libc_add_on_frag
=$libc_add_on_srcdir/configure
3961 libc_add_on_canonical
=
3962 libc_add_on_config_subdirs
=
3963 if test -r "$libc_add_on_frag"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: running configure fragment for add-on $libc_add_on" >&5
3965 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
3966 libc_add_on_canonical
=unknown
3967 libc_add_on_subdirs
=
3968 .
"$libc_add_on_frag"
3969 test -z "$libc_add_on" ||
{
3970 configured_add_ons
="$configured_add_ons $libc_add_on"
3971 if test "x$libc_add_on_canonical" = xunknown
; then
3972 as_fn_error
"fragment must set \$libc_add_on_canonical" "$LINENO" 5
3974 for d
in $libc_add_on_subdirs; do
3975 case "$libc_add_on" in
3976 /*) subdir_srcdir
="$libc_add_on" ;;
3977 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
3981 d
="${libc_add_on_canonical:-$libc_add_on}"
3987 subdir_srcdir
="$subdir_srcdir/$d"
3990 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
3991 add_on_subdirs
="$add_on_subdirs $d"
3992 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
3993 $d-srcdir = $subdir_srcdir"
3995 for d
in $libc_add_on_config_subdirs; do
3997 /*) as_fn_error
"fragment uses absolute path in \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
3999 if test ! -d "$libc_add_on_srcdir/$d"; then
4000 as_fn_error
"fragment wants to configure missing directory $d" "$LINENO" 5
4002 case "$libc_add_on" in
4003 /*) as_fn_error
"relative path required for add-on using \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
4005 subdirs
="$subdirs $libc_add_on/$d"
4009 if test -n "$libc_add_on"; then
4010 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking add-on $libc_add_on for preconfigure fragments" >&5
4013 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4014 for frag
in $frags; do
4015 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4016 echo $ECHO_N "$name $ECHO_C" >&6
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
4022 use_add_ons
="$use_add_ons $libc_add_on"
4023 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
4024 test -z "$libc_add_on_canonical" ||
4025 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
4028 # Use echo to strip excess whitespace.
4029 add_ons
="`echo $use_add_ons`"
4036 ### I put this here to prevent those annoying emails from people who cannot
4037 ### read and try to compile glibc on unsupported platforms. --drepper
4039 ### By using the undocumented --enable-hacker-mode option for configure
4040 ### one can skip this test to make the configuration not fail for unsupported
4043 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4044 case "$machine-$host_os" in
4045 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
4048 echo "*** The GNU C library is currently not available for this platform."
4049 echo "*** So far nobody cared to port it and if there is no volunteer it"
4050 echo "*** might never happen. So, if you have interest to see glibc on"
4051 echo "*** this platform visit"
4052 echo "*** http://www.gnu.org/software/libc/porting.html"
4053 echo "*** and join the group of porters"
4059 # Expand the configuration machine name into a subdirectory by architecture
4060 # type and particular chip. If an add-on configure fragment already set
4061 # base_machine, we don't change it.
4062 test -n "$base_machine" ||
case "$machine" in
4063 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
4064 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
4065 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
4066 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
4067 ia64
) base_machine
=ia64 machine
=ia64
;;
4068 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
4069 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
4070 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
4071 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
4072 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
4073 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
4074 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
4075 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
4077 base_machine
=sparc machine
=sparc
/sparc32
;;
4078 sparcv8 | supersparc | hypersparc
)
4079 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
4080 sparcv8plus | sparcv8plusa | sparcv9
)
4081 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
4082 sparcv8plusb | sparcv9b
)
4083 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
4085 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
4087 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
4089 base_machine
=sparc machine
=sparc
/sparc64
;;
4091 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
4093 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
4095 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
4096 *) base_machine
=$machine ;;
4100 if test "$base_machine" = "i386"; then
4101 $as_echo "#define USE_REGPARMS 1" >>confdefs.h
4105 # For the multi-arch option we need support in the assembler.
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_indirect_function symbol type support" >&5
4107 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
4108 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then :
4109 $as_echo_n "(cached) " >&6
4111 cat > conftest.s
<<EOF
4112 .type foo,%gnu_indirect_function
4114 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
4116 libc_cv_asm_gnu_indirect_function
=yes
4118 libc_cv_asm_gnu_indirect_function
=no
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_gnu_indirect_function" >&5
4123 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .text pseudo-op must be used" >&5
4126 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
4127 if test "${libc_cv_dot_text+set}" = set; then :
4128 $as_echo_n "(cached) " >&6
4130 cat > conftest.s
<<EOF
4134 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4135 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 test $ac_status = 0; }; }; then
4140 libc_cv_dot_text
=.text
4145 if test -z "$libc_cv_dot_text"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4150 $as_echo "yes" >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler global-symbol directive" >&5
4154 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
4155 if test "${libc_cv_asm_global_directive+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4158 libc_cv_asm_global_directive
=UNKNOWN
4159 for ac_globl
in .globl .global .EXPORT
; do
4160 cat > conftest.s
<<EOF
4165 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4166 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4170 test $ac_status = 0; }; }; then
4171 libc_cv_asm_global_directive
=${ac_globl}
4174 test $libc_cv_asm_global_directive != UNKNOWN
&& break
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_global_directive" >&5
4178 $as_echo "$libc_cv_asm_global_directive" >&6; }
4179 if test $libc_cv_asm_global_directive = UNKNOWN
; then
4180 as_fn_error
"cannot determine asm global directive" "$LINENO" 5
4182 cat >>confdefs.h
<<_ACEOF
4183 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .type directive prefix" >&5
4189 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
4190 if test "${libc_cv_asm_type_prefix+set}" = set; then :
4191 $as_echo_n "(cached) " >&6
4193 libc_cv_asm_type_prefix
=no
4194 for ac_try_prefix
in '@' '%' '#'; do
4195 cat > conftest.s
<<EOF
4197 ${libc_cv_asm_global_directive} foo
4198 .type foo, ${ac_try_prefix}object
4203 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4204 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4208 test $ac_status = 0; }; }; then
4209 libc_cv_asm_type_prefix
=${ac_try_prefix}
4212 test "x$libc_cv_asm_type_prefix" != xno
&& break
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_type_prefix" >&5
4216 $as_echo "$libc_cv_asm_type_prefix" >&6; }
4217 if test "x$libc_cv_asm_type_prefix" != xno
; then
4218 cat >>confdefs.h
<<_ACEOF
4219 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
4224 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
-a x
"$libc_cv_asm_type_prefix" = xno
; then
4225 if test x
"$multi_arch" = xyes
; then
4226 as_fn_error
"--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
4231 if test x
"$multi_arch" != xno
; then
4232 multi_arch_d
=/multiarch
4235 # Compute the list of sysdep directories for this configuration.
4236 # This can take a while to compute.
4237 sysdep_dir
=$srcdir/sysdeps
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
4239 $as_echo_n "checking sysdep dirs... " >&6; }
4240 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4241 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4243 test "x$base_os" != x ||
case "$os" in
4245 base_os
=mach
/hurd
;;
4246 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
4247 base_os
=unix
/bsd
/bsd4.4
;;
4248 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
4250 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
4251 base_os
=unix
/sysv
;;
4253 base_os
=unix
/sysv
/irix
6/$os ;;
4255 base_os
=unix
/sysv
/sysv4
;;
4257 base_os
=unix
/sysv
/hpux
/$os ;;
4259 base_os
=unix
/sysv
/aix
/aix4.3
;;
4261 base_os
=standalone
;;
4264 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4267 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4271 o
=`echo $tail | sed 's/[0-9]*$//'`
4272 if test $o != $tail; then
4275 # For linux-gnu, try linux-gnu, then linux.
4276 o
=`echo $tail | sed 's/-.*$//'`
4277 if test $o != $tail; then
4281 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4284 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4290 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4292 tail=$machine${submachine:+/$submachine}
4293 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4295 # Prepend the machine's FPU directory unless --without-fp.
4296 if test "$with_fp" = yes; then
4297 mach
="$mach /$1/fpu"
4299 mach
="$mach /$1/nofpu"
4306 # Find what sysdep directories exist.
4309 for b
in $base ''; do
4310 for m0
in $mach ''; do
4311 for v
in /$vendor ''; do
4312 test "$v" = / && continue
4313 for o
in /$ostry ''; do
4314 test "$o" = / && continue
4315 for m
in $multi_arch_d $mach ''; do
4316 for d
in $add_ons_pfx ''; do
4317 for a
in $add_ons_sfx ''; do
4318 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4319 try_srcdir
="${srcdir}/"
4323 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4324 test -n "$enable_debug_configure" &&
4325 echo "$0 DEBUG: try $try" >&2
4326 if test -d "$try_srcdir$try"; then
4327 sysnames
="$sysnames $try"
4328 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4329 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4331 x
*/$submachine) submachine_used
=t
;;
4333 if test -n "$d"; then
4334 case "$sysnames_add_ons" in
4336 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4349 # If the assembler supports gnu_indirect_function symbol type and the
4350 # architecture supports multi-arch, we enable multi-arch by default.
4351 case $sysnames_add_ons$sysnames in
4358 if test x
"$multi_arch" != xno
; then
4359 $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
4364 if test -z "$os_used" && test "$os" != none
; then
4365 as_fn_error
"Operating system $os is not supported." "$LINENO" 5
4367 if test -z "$machine_used" && test "$machine" != none
; then
4368 as_fn_error
"The $machine is not supported." "$LINENO" 5
4370 if test -z "$submachine_used" && test -n "$submachine"; then
4371 as_fn_error
"The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
4375 # We have now validated the configuration.
4378 # If using ELF, look for an `elf' subdirectory of each machine directory.
4379 # We prepend these rather than inserting them whereever the machine appears
4380 # because things specified by the machine's ELF ABI should override
4381 # OS-specific things, and should always be the same for any OS on the
4382 # machine (otherwise what's the point of an ABI?).
4383 if test "$elf" = yes; then
4385 for d
in $add_ons_pfx ''; do
4387 if test -d $srcdir/${d}sysdeps
$m/elf
; then
4388 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
4392 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4396 # Expand the list of system names into a full list of directories
4397 # from each element's parent name and Implies file (if present).
4400 while test $# -gt 0; do
4404 case " $names " in *" $name "*)
4405 # Already in the list.
4409 # Report each name as we discover it, so there is no long pause in output.
4410 echo $ECHO_N "$name $ECHO_C" >&6
4412 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4416 *) xsrcdir
=$srcdir/ ;;
4418 test -n "$enable_debug_configure" &&
4419 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4421 if test -f $xsrcdir$name/Implies
; then
4422 # Collect more names from the `Implies' file (removing comments).
4423 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4425 for x
in $implied_candidate; do
4427 if test -d $xsrcdir$name_base/$x; then
4428 implied
="$implied $name_base/$x";
4431 for d
in $add_ons_pfx ''; do
4432 try
="${d}sysdeps/$x"
4435 *) try_srcdir
=$srcdir/ ;;
4437 test -n "$enable_debug_configure" &&
4438 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4439 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4441 implied
="$implied $try"
4443 case "$sysnames_add_ons" in
4445 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4449 if test $found = no
; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/Implies specifies nonexistent $x" >&5
4451 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4458 # Add NAME to the list of names.
4459 names
="$names $name"
4461 # Find the parent of NAME, using the empty string if it has none.
4462 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4464 # Add the names implied by NAME, and NAME's parent (if it has one), to
4465 # the list of names to be processed (the argument list). We prepend the
4466 # implied names to the list and append the parent. We want implied
4467 # directories to come before further directories inferred from the
4468 # configuration components; this ensures that for sysv4, unix/common
4469 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4471 sysnames
="`echo $implied $* $parent`"
4472 test -n "$sysnames" && set $sysnames
4475 # Add the default directories.
4476 default_sysnames
=sysdeps
/generic
4477 if test "$elf" = yes; then
4478 default_sysnames
="sysdeps/generic/elf $default_sysnames"
4480 sysnames
="$names $default_sysnames"
4482 # The other names were emitted during the scan.
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
4484 $as_echo "$default_sysnames" >&6; }
4486 # Collect the list of add-ons that supply partial sysdeps trees.
4488 for add_on
in $add_ons; do
4491 *) xsrcdir
="$srcdir/" ;;
4494 test -d "$xsrcdir$add_on/sysdeps" ||
{
4495 case "$configured_add_ons " in
4498 as_fn_error
"add-on $add_on has no configure fragment or sysdeps tree" "$LINENO" 5
4504 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4505 case "$sysnames_add_ons" in
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4509 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4514 for d
in $sysnames; do
4516 $add_on/sysdeps
/*) ;;
4519 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4522 for ff
in $f/*.h
; do
4523 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4527 test -d "$f" ||
{ test -e "$f" && exit 88; }
4531 if test $?
-eq 88; then
4536 if test $found = no
; then
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4538 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4546 # Find a good install program. We prefer a C program (faster),
4547 # so one script is as good as another. But avoid the broken or
4548 # incompatible versions:
4549 # SysV /etc/install, /usr/sbin/install
4550 # SunOS /usr/etc/install
4551 # IRIX /sbin/install
4553 # AmigaOS /C/install, which installs bootblocks on floppy discs
4554 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4555 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4556 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4557 # OS/2's system install, which has a completely different semantic
4558 # ./install, which can be erroneously created by make from ./install.sh.
4559 # Reject install programs that cannot install multiple files.
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4561 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4562 if test -z "$INSTALL"; then
4563 if test "${ac_cv_path_install+set}" = set; then :
4564 $as_echo_n "(cached) " >&6
4566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir
=.
4571 # Account for people who put trailing slashes in PATH elements.
4572 case $as_dir/ in #((
4573 .
/ | .
// |
/[cC
]/* | \
4574 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4575 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4578 # OSF1 and SCO ODT 3.0 have their own names for install.
4579 # Don't use installbsd from OSF since it installs stuff as root
4581 for ac_prog
in ginstall scoinst
install; do
4582 for ac_exec_ext
in '' $ac_executable_extensions; do
4583 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4584 if test $ac_prog = install &&
4585 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4586 # AIX install. It has an incompatible calling convention.
4588 elif test $ac_prog = install &&
4589 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4590 # program-specific install script used by HP pwplus--don't use.
4593 rm -rf conftest.one conftest.two conftest.dir
4594 echo one
> conftest.one
4595 echo two
> conftest.two
4597 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4598 test -s conftest.one
&& test -s conftest.two
&&
4599 test -s conftest.dir
/conftest.one
&&
4600 test -s conftest.dir
/conftest.two
4602 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4615 rm -rf conftest.one conftest.two conftest.dir
4618 if test "${ac_cv_path_install+set}" = set; then
4619 INSTALL
=$ac_cv_path_install
4621 # As a last resort, use the slow shell script. Don't cache a
4622 # value for INSTALL within a source directory, because that will
4623 # break other packages using the cache if that directory is
4624 # removed, or if the value is a relative name.
4625 INSTALL
=$ac_install_sh
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4629 $as_echo "$INSTALL" >&6; }
4631 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4632 # It thinks the first close brace ends the variable substitution.
4633 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4635 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4637 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4639 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4640 # The makefiles need to use a different form to find it in $srcdir.
4641 INSTALL
='\$(..)./scripts/install-sh -c'
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4644 $as_echo_n "checking whether ln -s works... " >&6; }
4646 if test "$LN_S" = "ln -s"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4648 $as_echo "yes" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4651 $as_echo "no, using $LN_S" >&6; }
4655 # Was a --with-binutils option given?
4656 if test -n "$path_binutils"; then
4657 # Make absolute; ensure a single trailing slash.
4658 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4659 CC
="$CC -B$path_binutils"
4661 AS
=`$CC -print-prog-name=as`
4662 LD
=`$CC -print-prog-name=ld`
4663 AR
=`$CC -print-prog-name=ar`
4665 OBJDUMP
=`$CC -print-prog-name=objdump`
4668 # ranlib has to be treated a bit differently since it might not exist at all.
4669 ac_ranlib
=`$CC -print-prog-name=ranlib`
4670 if test "x$ac_ranlib" = xranlib
; then
4671 # This extra check has to happen since gcc simply echos the parameter in
4672 # case it cannot find the value in its own directories.
4673 if test -n "$ac_tool_prefix"; then
4674 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4675 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677 $as_echo_n "checking for $ac_word... " >&6; }
4678 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4679 $as_echo_n "(cached) " >&6
4681 if test -n "$RANLIB"; then
4682 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir
=.
4689 for ac_exec_ext
in '' $ac_executable_extensions; do
4690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4691 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 RANLIB
=$ac_cv_prog_RANLIB
4702 if test -n "$RANLIB"; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4704 $as_echo "$RANLIB" >&6; }
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707 $as_echo "no" >&6; }
4712 if test -z "$ac_cv_prog_RANLIB"; then
4713 ac_ct_RANLIB
=$RANLIB
4714 # Extract the first word of "ranlib", so it can be a program name with args.
4715 set dummy ranlib
; ac_word
=$2
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4717 $as_echo_n "checking for $ac_word... " >&6; }
4718 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4719 $as_echo_n "(cached) " >&6
4721 if test -n "$ac_ct_RANLIB"; then
4722 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir
=.
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4731 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4742 if test -n "$ac_ct_RANLIB"; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4744 $as_echo "$ac_ct_RANLIB" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4750 if test "x$ac_ct_RANLIB" = x
; then
4753 case $cross_compiling:$ac_tool_warned in
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4757 ac_tool_warned
=yes ;;
4759 RANLIB
=$ac_ct_RANLIB
4762 RANLIB
="$ac_cv_prog_RANLIB"
4770 # Determine whether we are using GNU binutils.
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AS is GNU as" >&5
4772 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4773 if test "${libc_cv_prog_as_gnu+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4776 # Most GNU programs take a -v and spit out some text including
4777 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4778 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4779 libc_cv_prog_as_gnu
=yes
4781 libc_cv_prog_as_gnu
=no
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_as_gnu" >&5
4786 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4788 gnu_as
=$libc_cv_prog_as_gnu
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD is GNU ld" >&5
4791 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4792 if test "${libc_cv_prog_ld_gnu+set}" = set; then :
4793 $as_echo_n "(cached) " >&6
4795 # Most GNU programs take a -v and spit out some text including
4796 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4797 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4798 libc_cv_prog_ld_gnu
=yes
4800 libc_cv_prog_ld_gnu
=no
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_ld_gnu" >&5
4805 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4806 gnu_ld
=$libc_cv_prog_ld_gnu
4809 # Accept binutils 2.13 or newer.
4812 # Extract the first word of "$ac_prog", so it can be a program name with args.
4813 set dummy
$ac_prog; ac_word
=$2
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 $as_echo_n "checking for $ac_word... " >&6; }
4816 if test "${ac_cv_prog_AS+set}" = set; then :
4817 $as_echo_n "(cached) " >&6
4819 if test -n "$AS"; then
4820 ac_cv_prog_AS
="$AS" # Let the user override the test.
4822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4826 test -z "$as_dir" && as_dir
=.
4827 for ac_exec_ext
in '' $ac_executable_extensions; do
4828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4829 ac_cv_prog_AS
="$ac_prog"
4830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840 if test -n "$AS"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4842 $as_echo "$AS" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4849 test -n "$AS" && break
4852 if test -z "$AS"; then
4855 # Found it, now check the version.
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AS" >&5
4857 $as_echo_n "checking version of $AS... " >&6; }
4858 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4859 case $ac_prog_version in
4860 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4861 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4862 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4863 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4867 $as_echo "$ac_prog_version" >&6; }
4869 if test $ac_verc_fail = yes; then
4870 AS
=: critic_missing
="$critic_missing as"
4875 # Extract the first word of "$ac_prog", so it can be a program name with args.
4876 set dummy
$ac_prog; ac_word
=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if test "${ac_cv_prog_LD+set}" = set; then :
4880 $as_echo_n "(cached) " >&6
4882 if test -n "$LD"; then
4883 ac_cv_prog_LD
="$LD" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir
=.
4890 for ac_exec_ext
in '' $ac_executable_extensions; do
4891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892 ac_cv_prog_LD
="$ac_prog"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 if test -n "$LD"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4905 $as_echo "$LD" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4912 test -n "$LD" && break
4915 if test -z "$LD"; then
4918 # Found it, now check the version.
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4920 $as_echo_n "checking version of $LD... " >&6; }
4921 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4922 case $ac_prog_version in
4923 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4924 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4925 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4926 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4930 $as_echo "$ac_prog_version" >&6; }
4932 if test $ac_verc_fail = yes; then
4933 LD
=: critic_missing
="$critic_missing ld"
4937 # We need the physical current working directory. We cannot use the
4938 # "pwd -P" shell builtin since that's not portable. Instead we try to
4939 # find a pwd binary. Note that assigning to the PWD environment
4940 # variable might have some interesting side effects, so we don't do
4942 # Extract the first word of "pwd", so it can be a program name with args.
4943 set dummy
pwd; ac_word
=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if test "${ac_cv_path_PWD_P+set}" = set; then :
4947 $as_echo_n "(cached) " >&6
4951 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
4954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4958 test -z "$as_dir" && as_dir
=.
4959 for ac_exec_ext
in '' $ac_executable_extensions; do
4960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4961 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
4973 PWD_P
=$ac_cv_path_PWD_P
4974 if test -n "$PWD_P"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWD_P" >&5
4976 $as_echo "$PWD_P" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4983 if test "$PWD_P" = no
; then
4984 as_fn_error
"*** A pwd binary could not be found." "$LINENO" 5
4987 # These programs are version sensitive.
4989 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
4991 # Extract the first word of "$ac_prog", so it can be a program name with args.
4992 set dummy
$ac_prog; ac_word
=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if test "${ac_cv_prog_CC+set}" = set; then :
4996 $as_echo_n "(cached) " >&6
4998 if test -n "$CC"; then
4999 ac_cv_prog_CC
="$CC" # Let the user override the test.
5001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir
=.
5006 for ac_exec_ext
in '' $ac_executable_extensions; do
5007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5008 ac_cv_prog_CC
="$ac_prog"
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 if test -n "$CC"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5021 $as_echo "$CC" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5028 test -n "$CC" && break
5031 if test -z "$CC"; then
5034 # Found it, now check the version.
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $CC" >&5
5036 $as_echo_n "checking version of $CC... " >&6; }
5037 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
5038 case $ac_prog_version in
5039 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5041 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5042 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5046 $as_echo "$ac_prog_version" >&6; }
5048 if test $ac_verc_fail = yes; then
5049 critic_missing
="$critic_missing gcc"
5052 for ac_prog
in gnumake gmake
make
5054 # Extract the first word of "$ac_prog", so it can be a program name with args.
5055 set dummy
$ac_prog; ac_word
=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if test "${ac_cv_prog_MAKE+set}" = set; then :
5059 $as_echo_n "(cached) " >&6
5061 if test -n "$MAKE"; then
5062 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
5064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5068 test -z "$as_dir" && as_dir
=.
5069 for ac_exec_ext
in '' $ac_executable_extensions; do
5070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5071 ac_cv_prog_MAKE
="$ac_prog"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 MAKE
=$ac_cv_prog_MAKE
5082 if test -n "$MAKE"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
5084 $as_echo "$MAKE" >&6; }
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5091 test -n "$MAKE" && break
5094 if test -z "$MAKE"; then
5097 # Found it, now check the version.
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
5099 $as_echo_n "checking version of $MAKE... " >&6; }
5100 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5101 case $ac_prog_version in
5102 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5104 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5105 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5109 $as_echo "$ac_prog_version" >&6; }
5111 if test $ac_verc_fail = yes; then
5112 critic_missing
="$critic_missing make"
5116 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
5118 # Extract the first word of "$ac_prog", so it can be a program name with args.
5119 set dummy
$ac_prog; ac_word
=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if test "${ac_cv_prog_MSGFMT+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5125 if test -n "$MSGFMT"; then
5126 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5132 test -z "$as_dir" && as_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_MSGFMT
="$ac_prog"
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 MSGFMT
=$ac_cv_prog_MSGFMT
5146 if test -n "$MSGFMT"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5148 $as_echo "$MSGFMT" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5155 test -n "$MSGFMT" && break
5158 if test -z "$MSGFMT"; then
5161 # Found it, now check the version.
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
5163 $as_echo_n "checking version of $MSGFMT... " >&6; }
5164 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5165 case $ac_prog_version in
5166 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5167 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
5168 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5169 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5173 $as_echo "$ac_prog_version" >&6; }
5175 if test $ac_verc_fail = yes; then
5176 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
5179 for ac_prog
in makeinfo
5181 # Extract the first word of "$ac_prog", so it can be a program name with args.
5182 set dummy
$ac_prog; ac_word
=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
5186 $as_echo_n "(cached) " >&6
5188 if test -n "$MAKEINFO"; then
5189 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5195 test -z "$as_dir" && as_dir
=.
5196 for ac_exec_ext
in '' $ac_executable_extensions; do
5197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5198 ac_cv_prog_MAKEINFO
="$ac_prog"
5199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 MAKEINFO
=$ac_cv_prog_MAKEINFO
5209 if test -n "$MAKEINFO"; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
5211 $as_echo "$MAKEINFO" >&6; }
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5218 test -n "$MAKEINFO" && break
5221 if test -z "$MAKEINFO"; then
5224 # Found it, now check the version.
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
5226 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5227 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5228 case $ac_prog_version in
5229 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5231 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5232 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5236 $as_echo "$ac_prog_version" >&6; }
5238 if test $ac_verc_fail = yes; then
5239 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy
$ac_prog; ac_word
=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; }
5248 if test "${ac_cv_prog_SED+set}" = set; then :
5249 $as_echo_n "(cached) " >&6
5251 if test -n "$SED"; then
5252 ac_cv_prog_SED
="$SED" # Let the user override the test.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_SED
="$ac_prog"
5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 if test -n "$SED"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5274 $as_echo "$SED" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5281 test -n "$SED" && break
5284 if test -z "$SED"; then
5287 # Found it, now check the version.
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
5289 $as_echo_n "checking version of $SED... " >&6; }
5290 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5291 case $ac_prog_version in
5292 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5293 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
5294 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5295 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5299 $as_echo "$ac_prog_version" >&6; }
5301 if test $ac_verc_fail = yes; then
5302 SED
=: aux_missing
="$aux_missing sed"
5306 for ac_prog
in autoconf
5308 # Extract the first word of "$ac_prog", so it can be a program name with args.
5309 set dummy
$ac_prog; ac_word
=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
5313 $as_echo_n "(cached) " >&6
5315 if test -n "$AUTOCONF"; then
5316 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325 ac_cv_prog_AUTOCONF
="$ac_prog"
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 AUTOCONF
=$ac_cv_prog_AUTOCONF
5336 if test -n "$AUTOCONF"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5338 $as_echo "$AUTOCONF" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5345 test -n "$AUTOCONF" && break
5347 test -n "$AUTOCONF" || AUTOCONF
="no"
5349 case "x$AUTOCONF" in
5350 xno|x|x
:) AUTOCONF
=no
;;
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5353 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5354 if test "${libc_cv_autoconf_works+set}" = set; then :
5355 $as_echo_n "(cached) " >&6
5357 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
5358 libc_cv_autoconf_works
=yes
5360 libc_cv_autoconf_works
=no
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
5364 $as_echo "$libc_cv_autoconf_works" >&6; }
5365 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5368 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
5369 # If --without-cvs they probably won't change configure.in, so no complaints.
5370 aux_missing
="$aux_missing autoconf"
5373 test -n "$critic_missing" && as_fn_error
"
5374 *** These critical programs are missing or too old:$critic_missing
5375 *** Check the INSTALL file for required versions." "$LINENO" 5
5377 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
5378 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5379 *** some features will be disabled.
5380 *** Check the INSTALL file for required versions." >&5
5381 $as_echo "$as_me: WARNING:
5382 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5383 *** some features will be disabled.
5384 *** Check the INSTALL file for required versions." >&2;}
5386 # if using special system headers, find out the compiler's sekrit
5387 # header directory and add that to the list. NOTE: Only does the right
5388 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5389 if test -n "$sysheaders"; then
5390 SYSINCLUDES
=-nostdinc
5391 for d
in include include-fixed
; do
5392 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5393 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5395 SYSINCLUDES
="$SYSINCLUDES \
5396 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5397 if test -n "$CXX"; then
5398 cxxversion
=`$CXX -dumpversion 2>&5` &&
5399 cxxmachine
=`$CXX -dumpmachine 2>&5` &&
5400 cxxheaders
=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5401 CXX_SYSINCLUDES
="-isystem $cxxheaders \
5402 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5408 # check if ranlib is necessary
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ranlib is necessary" >&5
5410 $as_echo_n "checking whether ranlib is necessary... " >&6; }
5411 if test "${libc_cv_ranlib_necessary+set}" = set; then :
5412 $as_echo_n "(cached) " >&6
5414 cat > conftest.c
<<EOF
5419 $CC $CFLAGS $CPPFLAGS -c conftest.c
5420 $AR cr conftest.a conftest.o
5421 cp conftest.a conftest2.a
5423 if cmp -s conftest.a conftest2.a
; then
5424 libc_cv_ranlib_necessary
=no
5426 libc_cv_ranlib_necessary
=yes
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ranlib_necessary" >&5
5431 $as_echo "$libc_cv_ranlib_necessary" >&6; }
5432 if test "$libc_cv_ranlib_necessary" = no
; then
5436 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5437 # since this would lead to problems installing/building glibc.
5438 # LD_LIBRARY_PATH contains the current directory if one of the following
5440 # - one of the terminals (":" and ";") is the first or last sign
5441 # - two terminals occur directly after each other
5442 # - the path contains an element with a dot in it
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5444 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5445 case ${LD_LIBRARY_PATH} in
5446 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5447 ld_library_path_setting
="contains current directory"
5450 ld_library_path_setting
="ok"
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5454 $as_echo "$ld_library_path_setting" >&6; }
5455 if test "$ld_library_path_setting" != "ok"; then
5457 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5458 *** building glibc. Please change the environment variable
5459 *** and run configure again." "$LINENO" 5
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports -static-libgcc" >&5
5463 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5464 if test "${libc_cv_gcc_static_libgcc+set}" = set; then :
5465 $as_echo_n "(cached) " >&6
5467 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
5468 libc_cv_gcc_static_libgcc
=
5470 libc_cv_gcc_static_libgcc
=-static-libgcc
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_static_libgcc" >&5
5474 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5477 # Extract the first word of "bash", so it can be a program name with args.
5478 set dummy bash
; ac_word
=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if test "${ac_cv_path_BASH_SHELL+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5486 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir
=.
5494 for ac_exec_ext
in '' $ac_executable_extensions; do
5495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5496 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5508 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5509 if test -n "$BASH_SHELL"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5511 $as_echo "$BASH_SHELL" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5518 if test "$BASH_SHELL" != no
&&
5519 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5520 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5521 libc_cv_have_bash2
=yes
5523 libc_cv_have_bash2
=no
5527 if test "$BASH_SHELL" = no
; then
5528 # Extract the first word of "ksh", so it can be a program name with args.
5529 set dummy ksh
; ac_word
=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if test "${ac_cv_path_KSH+set}" = set; then :
5533 $as_echo_n "(cached) " >&6
5537 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
5540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir
=.
5545 for ac_exec_ext
in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
5560 if test -n "$KSH"; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KSH" >&5
5562 $as_echo "$KSH" >&6; }
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5565 $as_echo "no" >&6; }
5569 if test "$KSH" = no
; then
5572 libc_cv_have_ksh
=yes
5577 libc_cv_have_ksh
=yes
5581 for ac_prog
in gawk mawk nawk
awk
5583 # Extract the first word of "$ac_prog", so it can be a program name with args.
5584 set dummy
$ac_prog; ac_word
=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if test "${ac_cv_prog_AWK+set}" = set; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$AWK"; then
5591 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_AWK
="$ac_prog"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 if test -n "$AWK"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5613 $as_echo "$AWK" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5620 test -n "$AWK" && break
5623 # Extract the first word of "perl", so it can be a program name with args.
5624 set dummy perl
; ac_word
=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if test "${ac_cv_path_PERL+set}" = set; then :
5628 $as_echo_n "(cached) " >&6
5632 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5639 test -z "$as_dir" && as_dir
=.
5640 for ac_exec_ext
in '' $ac_executable_extensions; do
5641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5654 PERL
=$ac_cv_path_PERL
5655 if test -n "$PERL"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5657 $as_echo "$PERL" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5664 if test "$PERL" != no
&&
5665 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5668 # Extract the first word of "install-info", so it can be a program name with args.
5669 set dummy install-info
; ac_word
=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then :
5673 $as_echo_n "(cached) " >&6
5675 case $INSTALL_INFO in
5677 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5681 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5682 for as_dir
in $as_dummy
5685 test -z "$as_dir" && as_dir
=.
5686 for ac_exec_ext
in '' $ac_executable_extensions; do
5687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5700 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5701 if test -n "$INSTALL_INFO"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5703 $as_echo "$INSTALL_INFO" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5710 # Extract the first word of "bison", so it can be a program name with args.
5711 set dummy bison
; ac_word
=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if test "${ac_cv_path_BISON+set}" = set; then :
5715 $as_echo_n "(cached) " >&6
5719 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5723 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5724 for as_dir
in $as_dummy
5727 test -z "$as_dir" && as_dir
=.
5728 for ac_exec_ext
in '' $ac_executable_extensions; do
5729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5730 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5742 BISON
=$ac_cv_path_BISON
5743 if test -n "$BISON"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5745 $as_echo "$BISON" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed size_t type" >&5
5754 $as_echo_n "checking for signed size_t type... " >&6; }
5755 if test "${libc_cv_signed_size_t+set}" = set; then :
5756 $as_echo_n "(cached) " >&6
5758 echo '#include <stddef.h>
5759 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5760 if eval "$ac_cpp conftest.c 2>/dev/null" \
5761 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
5762 libc_cv_signed_size_t
=no
5764 libc_cv_signed_size_t
=yes
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_signed_size_t" >&5
5769 $as_echo "$libc_cv_signed_size_t" >&6; }
5770 if test $libc_cv_signed_size_t = yes; then
5771 cat >> confdefs.h
<<\EOF
5772 #undef __SIZE_TYPE__
5773 #define __SIZE_TYPE__ unsigned
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libc-friendly stddef.h" >&5
5778 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5779 if test "${libc_cv_friendly_stddef+set}" = set; then :
5780 $as_echo_n "(cached) " >&6
5782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5784 #define __need_size_t
5785 #define __need_wchar_t
5792 size_t size; wchar_t wchar;
5794 #error stddef.h ignored __need_*
5796 if (&size == NULL || &wchar == NULL) abort ();
5801 if ac_fn_c_try_compile
"$LINENO"; then :
5802 libc_cv_friendly_stddef
=yes
5804 libc_cv_friendly_stddef
=no
5806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_friendly_stddef" >&5
5809 $as_echo "$libc_cv_friendly_stddef" >&6; }
5810 if test $libc_cv_friendly_stddef = yes; then
5811 config_vars
="$config_vars
5812 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to use -P to assemble .S files" >&5
5816 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5817 if test "${libc_cv_need_minus_P+set}" = set; then :
5818 $as_echo_n "(cached) " >&6
5820 cat > conftest.S
<<EOF
5821 #include "confdefs.h"
5822 /* Nothing whatsoever. */
5824 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5825 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5829 test $ac_status = 0; }; }; then
5830 libc_cv_need_minus_P
=no
5832 libc_cv_need_minus_P
=yes
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_need_minus_P" >&5
5837 $as_echo "$libc_cv_need_minus_P" >&6; }
5838 if test $libc_cv_need_minus_P = yes; then
5839 config_vars
="$config_vars
5840 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5844 $as_echo_n "checking for .set assembler directive... " >&6; }
5845 if test "${libc_cv_asm_set_directive+set}" = set; then :
5846 $as_echo_n "(cached) " >&6
5848 cat > conftest.s
<<EOF
5851 .set glibc_conftest_frobozz,foo
5852 $libc_cv_asm_global_directive glibc_conftest_frobozz
5854 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5855 # (but it doesn't work), so we must do a linking check to be sure.
5856 cat > conftest1.c
<<\EOF
5857 extern int glibc_conftest_frobozz
;
5858 void _start
() { glibc_conftest_frobozz
= 1; }
5860 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5861 -nostartfiles -nostdlib \
5862 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5863 libc_cv_asm_set_directive
=yes
5865 libc_cv_asm_set_directive
=no
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5870 $as_echo "$libc_cv_asm_set_directive" >&6; }
5871 if test $libc_cv_asm_set_directive = yes; then
5872 $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_unique_object symbol type" >&5
5877 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
5878 if test "${libc_cv_asm_unique_object+set}" = set; then :
5879 $as_echo_n "(cached) " >&6
5881 cat > conftest.s
<<EOF
5884 .type _sym, ${libc_cv_asm_type_prefix}gnu_unique_object
5886 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5887 libc_cv_asm_unique_object
=yes
5889 libc_cv_asm_unique_object
=no
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_unique_object" >&5
5894 $as_echo "$libc_cv_asm_unique_object" >&6; }
5895 if test $libc_cv_asm_unique_object = yes; then
5896 $as_echo "#define HAVE_ASM_UNIQUE_OBJECT 1" >>confdefs.h
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .symver assembler directive" >&5
5901 $as_echo_n "checking for .symver assembler directive... " >&6; }
5902 if test "${libc_cv_asm_symver_directive+set}" = set; then :
5903 $as_echo_n "(cached) " >&6
5905 cat > conftest.s
<<EOF
5908 .symver _sym,sym@VERS
5910 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5911 libc_cv_asm_symver_directive
=yes
5913 libc_cv_asm_symver_directive
=no
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_symver_directive" >&5
5918 $as_echo "$libc_cv_asm_symver_directive" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --version-script" >&5
5920 $as_echo_n "checking for ld --version-script... " >&6; }
5921 if test "${libc_cv_ld_version_script_option+set}" = set; then :
5922 $as_echo_n "(cached) " >&6
5924 if test $libc_cv_asm_symver_directive = yes; then
5925 cat > conftest.s
<<EOF
5928 .symver _sym,sym@VERS
5930 cat > conftest.map
<<EOF
5939 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5940 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
5941 -o conftest.so conftest.o
5942 -nostartfiles -nostdlib
5943 -Wl,--version-script,conftest.map
5945 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5949 test $ac_status = 0; }; };
5951 libc_cv_ld_version_script_option
=yes
5953 libc_cv_ld_version_script_option
=no
5956 libc_cv_ld_version_script_option
=no
5959 libc_cv_ld_version_script_option
=no
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_version_script_option" >&5
5964 $as_echo "$libc_cv_ld_version_script_option" >&6; }
5965 if test $shared != no
&&
5966 test $libc_cv_asm_symver_directive = yes &&
5967 test $libc_cv_ld_version_script_option = yes &&
5968 test $enable_versioning = yes; then
5970 $as_echo "#define DO_VERSIONING 1" >>confdefs.h
5977 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
5979 *** WARNING: You should not compile GNU libc without versioning. Not using
5980 *** versioning will introduce incompatibilities so that old binaries
5981 *** will not run anymore.
5982 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
5984 if test $elf = yes; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .previous assembler directive" >&5
5986 $as_echo_n "checking for .previous assembler directive... " >&6; }
5987 if test "${libc_cv_asm_previous_directive+set}" = set; then :
5988 $as_echo_n "(cached) " >&6
5990 cat > conftest.s
<<EOF
5991 .section foo_section
5994 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5995 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5999 test $ac_status = 0; }; }; then
6000 libc_cv_asm_previous_directive
=yes
6002 libc_cv_asm_previous_directive
=no
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_previous_directive" >&5
6007 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6008 if test $libc_cv_asm_previous_directive = yes; then
6009 $as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .popsection assembler directive" >&5
6013 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6014 if test "${libc_cv_asm_popsection_directive+set}" = set; then :
6015 $as_echo_n "(cached) " >&6
6017 cat > conftest.s
<<EOF
6018 .pushsection foo_section
6021 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6022 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6026 test $ac_status = 0; }; }; then
6027 libc_cv_asm_popsection_directive
=yes
6029 libc_cv_asm_popsection_directive
=no
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_popsection_directive" >&5
6034 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6035 if test $libc_cv_asm_popsection_directive = yes; then
6036 $as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .protected and .hidden assembler directive" >&5
6041 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6042 if test "${libc_cv_asm_protected_directive+set}" = set; then :
6043 $as_echo_n "(cached) " >&6
6045 cat > conftest.s
<<EOF
6051 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6052 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6056 test $ac_status = 0; }; }; then
6057 libc_cv_asm_protected_directive
=yes
6059 as_fn_error
"assembler support for symbol visibility is required" "$LINENO" 5
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_protected_directive" >&5
6064 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6066 if test $libc_cv_asm_protected_directive = yes; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((visibility())) is supported" >&5
6068 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6069 if test "${libc_cv_visibility_attribute+set}" = set; then :
6070 $as_echo_n "(cached) " >&6
6072 cat > conftest.c
<<EOF
6073 int foo __attribute__ ((visibility ("hidden"))) = 1;
6074 int bar __attribute__ ((visibility ("protected"))) = 1;
6076 libc_cv_visibility_attribute
=no
6077 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6078 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6082 test $ac_status = 0; }; }; then
6083 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
6084 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
6085 libc_cv_visibility_attribute
=yes
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_visibility_attribute" >&5
6093 $as_echo "$libc_cv_visibility_attribute" >&6; }
6094 if test $libc_cv_visibility_attribute != yes; then
6095 as_fn_error
"compiler support for visibility attribute is required" "$LINENO" 5
6099 if test $libc_cv_visibility_attribute = yes; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((visibility()))" >&5
6101 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6102 if test "${libc_cv_broken_visibility_attribute+set}" = set; then :
6103 $as_echo_n "(cached) " >&6
6105 cat > conftest.c
<<EOF
6107 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6108 int bar (int x) { return x; }
6110 libc_cv_broken_visibility_attribute
=yes
6111 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6112 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6116 test $ac_status = 0; }; }; then
6117 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
6118 libc_cv_broken_visibility_attribute
=no
6121 rm -f conftest.c conftest.s
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_visibility_attribute" >&5
6125 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6126 if test $libc_cv_broken_visibility_attribute = yes; then
6127 as_fn_error
"working compiler support for visibility attribute is required" "$LINENO" 5
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
6132 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6133 if test "${libc_cv_broken_alias_attribute+set}" = set; then :
6134 $as_echo_n "(cached) " >&6
6136 cat > conftest.c
<<EOF
6137 extern int foo (int x) __asm ("xyzzy");
6138 int bar (int x) { return x; }
6139 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6141 extern __typeof (dfoo) dfoo __asm ("abccb");
6144 libc_cv_broken_alias_attribute
=yes
6145 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6146 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6150 test $ac_status = 0; }; }; then
6151 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6152 grep 'abccb' conftest.s
>/dev
/null
; then
6153 libc_cv_broken_alias_attribute
=no
6156 rm -f conftest.c conftest.s
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
6160 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6161 if test $libc_cv_broken_alias_attribute = yes; then
6162 as_fn_error
"working alias attribute support required" "$LINENO" 5
6165 if test $libc_cv_visibility_attribute = yes; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
6167 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6168 if test "${libc_cv_have_sdata_section+set}" = set; then :
6169 $as_echo_n "(cached) " >&6
6171 echo "int i;" > conftest.c
6172 libc_cv_have_sdata_section
=no
6173 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6174 |
grep '\.sdata' >/dev
/null
; then
6175 libc_cv_have_sdata_section
=yes
6177 rm -f conftest.c conftest.so
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
6181 $as_echo "$libc_cv_have_sdata_section" >&6; }
6182 if test $libc_cv_have_sdata_section = yes; then
6183 $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
6189 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6190 if test "${libc_cv_initfini_array+set}" = set; then :
6191 $as_echo_n "(cached) " >&6
6193 cat > conftest.c
<<EOF
6194 int _start (void) { return 0; }
6195 int __start (void) { return 0; }
6196 int foo (void) { return 1; }
6197 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6199 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6200 -static -nostartfiles -nostdlib 1>&5'
6201 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6205 test $ac_status = 0; }; }
6207 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6208 libc_cv_initfini_array
=yes
6210 libc_cv_initfini_array
=no
6213 libc_cv_initfini_array
=no
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfini_array" >&5
6218 $as_echo "$libc_cv_initfini_array" >&6; }
6219 if test $libc_cv_initfini_array != yes; then
6220 as_fn_error
"Need linker with .init_array/.fini_array support." "$LINENO" 5
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
6224 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6225 if test "${libc_cv_cc_with_libunwind+set}" = set; then :
6226 $as_echo_n "(cached) " >&6
6229 cat > conftest.c
<<EOF
6230 int main (void) { return 0; }
6232 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6233 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6234 libc_cv_cc_with_libunwind
=yes
6236 libc_cv_cc_with_libunwind
=no
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
6241 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6243 if test $libc_cv_cc_with_libunwind = yes; then
6244 $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z nodelete option" >&5
6249 $as_echo_n "checking for -z nodelete option... " >&6; }
6250 if test "${libc_cv_z_nodelete+set}" = set; then :
6251 $as_echo_n "(cached) " >&6
6253 cat > conftest.c
<<EOF
6254 int _start (void) { return 42; }
6256 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6257 -fPIC -shared -o conftest.so conftest.c
6258 -nostartfiles -nostdlib
6259 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6260 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6264 test $ac_status = 0; }; }
6266 libc_cv_z_nodelete
=yes
6268 as_fn_error
"linker with -z nodelete support required" "$LINENO" 5
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_nodelete" >&5
6273 $as_echo "$libc_cv_z_nodelete" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z nodlopen option" >&5
6276 $as_echo_n "checking for -z nodlopen option... " >&6; }
6277 if test "${libc_cv_z_nodlopen+set}" = set; then :
6278 $as_echo_n "(cached) " >&6
6280 cat > conftest.c
<<EOF
6281 int _start (void) { return 42; }
6283 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6284 -fPIC -shared -o conftest.so conftest.c
6285 -nostartfiles -nostdlib
6286 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6287 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6291 test $ac_status = 0; }; }
6293 libc_cv_z_nodlopen
=yes
6295 as_fn_error
"linker with -z nodlopen support required" "$LINENO" 5
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_nodlopen" >&5
6300 $as_echo "$libc_cv_z_nodlopen" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z initfirst option" >&5
6303 $as_echo_n "checking for -z initfirst option... " >&6; }
6304 if test "${libc_cv_z_initfirst+set}" = set; then :
6305 $as_echo_n "(cached) " >&6
6307 cat > conftest.c
<<EOF
6308 int _start (void) { return 42; }
6310 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6311 -fPIC -shared -o conftest.so conftest.c
6312 -nostartfiles -nostdlib
6313 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6314 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6318 test $ac_status = 0; }; }
6320 libc_cv_z_initfirst
=yes
6322 as_fn_error
"linker with -z initfirst support required" "$LINENO" 5
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_initfirst" >&5
6327 $as_echo "$libc_cv_z_initfirst" >&6; }
6329 case "$base_machine" in
6330 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z relro option" >&5
6332 $as_echo_n "checking for -z relro option... " >&6; }
6333 if test "${libc_cv_z_relro+set}" = set; then :
6334 $as_echo_n "(cached) " >&6
6337 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6338 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6342 test $ac_status = 0; }; }
6344 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6345 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6349 test $ac_status = 0; }; }
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_relro" >&5
6356 $as_echo "$libc_cv_z_relro" >&6; }
6357 if test "$libc_cv_z_relro" = no
; then
6358 as_fn_error
"linker with -z relro support required" "$LINENO" 5
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bgroup option" >&5
6365 $as_echo_n "checking for -Bgroup option... " >&6; }
6366 if test "${libc_cv_Bgroup+set}" = set; then :
6367 $as_echo_n "(cached) " >&6
6369 cat > conftest.c
<<EOF
6370 int _start (void) { return 42; }
6372 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6373 -fPIC -shared -o conftest.so conftest.c
6374 -Wl,-Bgroup -nostdlib 1>&5'
6375 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6379 test $ac_status = 0; }; }
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_Bgroup" >&5
6388 $as_echo "$libc_cv_Bgroup" >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcc_s suffix" >&5
6392 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6393 if test "${libc_cv_libgcc_s_suffix+set}" = set; then :
6394 $as_echo_n "(cached) " >&6
6396 cat > conftest.c
<<EOF
6397 int main (void) { return 0; }
6399 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6400 -fPIC -shared -shared-libgcc -o conftest.so \
6401 conftest.c -v 2>&1 >/dev/null \
6402 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_libgcc_s_suffix" >&5
6406 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --as-needed option" >&5
6410 $as_echo_n "checking for --as-needed option... " >&6; }
6411 if test "${libc_cv_as_needed+set}" = set; then :
6412 $as_echo_n "(cached) " >&6
6414 cat > conftest.c
<<EOF
6415 int main (void) { return 0; }
6417 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6418 -fPIC -shared -o conftest.so conftest.c
6419 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6421 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6425 test $ac_status = 0; }; }
6427 libc_cv_as_needed
=yes
6429 libc_cv_as_needed
=no
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_needed" >&5
6434 $as_echo "$libc_cv_as_needed" >&6; }
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
6439 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6440 if test "${libc_cv_as_noexecstack+set}" = set; then :
6441 $as_echo_n "(cached) " >&6
6443 cat > conftest.c
<<EOF
6446 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6447 -S -o conftest.s conftest.c 1>&5'
6448 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452 test $ac_status = 0; }; } \
6453 && grep -q .note.GNU-stack conftest.s \
6454 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6455 -c -o conftest.o conftest.s 1>&5'
6456 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6460 test $ac_status = 0; }; }
6462 libc_cv_as_noexecstack
=yes
6464 libc_cv_as_noexecstack
=no
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
6469 $as_echo "$libc_cv_as_noexecstack" >&6; }
6470 if test $libc_cv_as_noexecstack = yes; then
6471 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z combreloc" >&5
6476 $as_echo_n "checking for -z combreloc... " >&6; }
6477 if test "${libc_cv_z_combreloc+set}" = set; then :
6478 $as_echo_n "(cached) " >&6
6480 cat > conftest.c
<<EOF
6481 extern int bar (int);
6483 int foo (void) { return bar (mumble); }
6485 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6486 -fPIC -shared -o conftest.so conftest.c
6487 -nostdlib -nostartfiles
6488 -Wl,-z,combreloc 1>&5'
6489 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6493 test $ac_status = 0; }; }
6495 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6496 libc_cv_z_combreloc
=yes
6498 libc_cv_z_combreloc
=no
6501 libc_cv_z_combreloc
=no
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_combreloc" >&5
6506 $as_echo "$libc_cv_z_combreloc" >&6; }
6507 if test "$libc_cv_z_combreloc" = yes; then
6508 $as_echo "#define HAVE_Z_COMBRELOC 1" >>confdefs.h
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z execstack" >&5
6514 $as_echo_n "checking for -z execstack... " >&6; }
6515 if test "${libc_cv_z_execstack+set}" = set; then :
6516 $as_echo_n "(cached) " >&6
6518 cat > conftest.c
<<EOF
6519 int _start (void) { return 42; }
6521 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6522 -fPIC -shared -o conftest.so conftest.c
6523 -Wl,-z,execstack -nostdlib
6525 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529 test $ac_status = 0; }; }
6531 libc_cv_z_execstack
=yes
6533 libc_cv_z_execstack
=no
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_execstack" >&5
6538 $as_echo "$libc_cv_z_execstack" >&6; }
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
6542 $as_echo_n "checking for -fpie... " >&6; }
6543 if test "${libc_cv_fpie+set}" = set; then :
6544 $as_echo_n "(cached) " >&6
6546 cat > conftest.c
<<EOF
6548 main () { return 0;}
6550 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6551 -o conftest conftest.c 1>&5'
6552 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6556 test $ac_status = 0; }; }
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
6565 $as_echo "$libc_cv_fpie" >&6; }
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5
6570 $as_echo_n "checking for --hash-style option... " >&6; }
6571 if test "${libc_cv_hashstyle+set}" = set; then :
6572 $as_echo_n "(cached) " >&6
6574 cat > conftest.c
<<EOF
6575 int _start (void) { return 42; }
6577 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6578 -fPIC -shared -o conftest.so conftest.c
6579 -Wl,--hash-style=both -nostdlib 1>&5'
6580 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6584 test $ac_status = 0; }; }
6586 libc_cv_hashstyle
=yes
6588 libc_cv_hashstyle
=no
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5
6593 $as_echo "$libc_cv_hashstyle" >&6; }
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6598 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6599 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then :
6600 $as_echo_n "(cached) " >&6
6602 cat > conftest.c
<<EOF
6605 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6607 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6611 test $ac_status = 0; }; }
6613 libc_cv_fno_toplevel_reorder
=yes
6615 libc_cv_fno_toplevel_reorder
=no
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fno_toplevel_reorder" >&5
6620 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6621 if test $libc_cv_fno_toplevel_reorder = yes; then
6622 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6624 fno_unit_at_a_time
=-fno-unit-at-a-time
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
6629 $as_echo_n "checking for -fstack-protector... " >&6; }
6630 if test "${libc_cv_ssp+set}" = set; then :
6631 $as_echo_n "(cached) " >&6
6633 cat > conftest.c
<<EOF
6635 main () { return 0;}
6637 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6638 -o conftest conftest.c 1>&5'
6639 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6643 test $ac_status = 0; }; }
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
6652 $as_echo "$libc_cv_ssp" >&6; }
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fgnu89-inline" >&5
6656 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6657 if test "${libc_cv_gnu89_inline+set}" = set; then :
6658 $as_echo_n "(cached) " >&6
6660 cat > conftest.c
<<EOF
6662 #ifdef __GNUC_GNU_INLINE__
6663 main () { return 0;}
6668 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6669 -o conftest.s conftest.c 1>&5'
6670 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6674 test $ac_status = 0; }; }
6676 libc_cv_gnu89_inline
=yes
6678 libc_cv_gnu89_inline
=no
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu89_inline" >&5
6683 $as_echo "$libc_cv_gnu89_inline" >&6; }
6684 if test $libc_cv_gnu89_inline = yes; then
6685 gnu89_inline
=-fgnu89-inline
6691 if test $elf != yes; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .init and .fini sections" >&5
6693 $as_echo_n "checking for .init and .fini sections... " >&6; }
6694 if test "${libc_cv_have_initfini+set}" = set; then :
6695 $as_echo_n "(cached) " >&6
6697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6703 asm (".section .init");
6704 asm (".section .fini");
6705 asm ("${libc_cv_dot_text}");
6710 if ac_fn_c_try_compile
"$LINENO"; then :
6711 libc_cv_have_initfini
=yes
6713 libc_cv_have_initfini
=no
6715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_initfini" >&5
6718 $as_echo "$libc_cv_have_initfini" >&6; }
6719 if test $libc_cv_have_initfini = yes; then
6720 $as_echo "#define HAVE_INITFINI 1" >>confdefs.h
6725 if test $elf = yes; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
6727 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6728 if test "${libc_cv_have_section_quotes+set}" = set; then :
6729 $as_echo_n "(cached) " >&6
6731 cat > conftest.c
<<EOF
6732 static const int foo
6733 __attribute__ ((section ("bar"))) = 1;
6735 if ${CC-cc} -S conftest.c
-o conftest.s
; then
6736 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
6737 libc_cv_have_section_quotes
=yes
6739 libc_cv_have_section_quotes
=no
6742 libc_cv_have_section_quotes
=unknown
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
6748 $as_echo "$libc_cv_have_section_quotes" >&6; }
6749 if test $libc_cv_have_section_quotes = yes; then
6750 $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
6757 if test $elf = yes; then
6758 libc_cv_asm_underscores
=no
6760 if test $ac_cv_prog_cc_works = yes; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix on C symbol names" >&5
6762 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
6763 if test "${libc_cv_asm_underscores+set}" = set; then :
6764 $as_echo_n "(cached) " >&6
6766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6767 /* end confdefs.h. */
6768 asm ("_glibc_foobar:");
6777 if ac_fn_c_try_link
"$LINENO"; then :
6778 libc_cv_asm_underscores
=yes
6780 libc_cv_asm_underscores
=no
6782 rm -f core conftest.err conftest.
$ac_objext \
6783 conftest
$ac_exeext conftest.
$ac_ext
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_underscores" >&5
6786 $as_echo "$libc_cv_asm_underscores" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix on C symbol names" >&5
6789 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
6790 if test "${libc_cv_asm_underscores+set}" = set; then :
6791 $as_echo_n "(cached) " >&6
6793 cat > conftest.
$ac_ext <<EOF
6794 #line $LINENO "configure"
6795 #include "confdefs.h"
6796 void underscore_test(void) {
6799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6800 (eval $ac_compile) 2>&5
6802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6803 test $ac_status = 0; }; then
6804 if grep _underscore_test conftest
* >/dev
/null
; then
6806 libc_cv_asm_underscores
=yes
6809 libc_cv_asm_underscores
=no
6812 echo "configure: failed program was:" >&5
6813 cat conftest.
$ac_ext >&5
6815 libc_cv_asm_underscores
=no
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_underscores" >&5
6820 $as_echo "$libc_cv_asm_underscores" >&6; }
6823 if test $libc_cv_asm_underscores = no
; then
6824 $as_echo "#define NO_UNDERSCORES 1" >>confdefs.h
6828 if test $elf = yes; then
6829 libc_cv_weak_symbols
=yes
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weak directive" >&5
6833 $as_echo_n "checking for assembler .weak directive... " >&6; }
6834 if test "${libc_cv_asm_weak_directive+set}" = set; then :
6835 $as_echo_n "(cached) " >&6
6837 cat > conftest.s
<<EOF
6839 ${libc_cv_asm_global_directive} foo
6842 .weak bar; bar = foo
6844 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6845 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6849 test $ac_status = 0; }; }; then
6850 libc_cv_asm_weak_directive
=yes
6852 libc_cv_asm_weak_directive
=no
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weak_directive" >&5
6857 $as_echo "$libc_cv_asm_weak_directive" >&6; }
6859 if test $libc_cv_asm_weak_directive = no
; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weakext directive" >&5
6861 $as_echo_n "checking for assembler .weakext directive... " >&6; }
6862 if test "${libc_cv_asm_weakext_directive+set}" = set; then :
6863 $as_echo_n "(cached) " >&6
6865 cat > conftest.s
<<EOF
6867 ${libc_cv_asm_global_directive} foo
6871 ${libc_cv_asm_global_directive} baz
6874 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6875 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6879 test $ac_status = 0; }; }; then
6880 libc_cv_asm_weakext_directive
=yes
6882 libc_cv_asm_weakext_directive
=no
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weakext_directive" >&5
6887 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
6891 if test $libc_cv_asm_weak_directive = yes; then
6892 $as_echo "#define HAVE_ASM_WEAK_DIRECTIVE 1" >>confdefs.h
6894 elif test $libc_cv_asm_weakext_directive = yes; then
6895 $as_echo "#define HAVE_ASM_WEAKEXT_DIRECTIVE 1" >>confdefs.h
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported" >&5
6900 $as_echo_n "checking whether CFI directives are supported... " >&6; }
6901 if test "${libc_cv_asm_cfi_directives+set}" = set; then :
6902 $as_echo_n "(cached) " >&6
6905 sparc
/sparc64
*) cfi_offset
=2047;;
6908 cat > conftest.s
<<EOF
6910 .type func,%function
6914 .cfi_rel_offset 1, $cfi_offset
6917 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6918 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; }; then
6923 libc_cv_asm_cfi_directives
=yes
6925 libc_cv_asm_cfi_directives
=no
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_cfi_directives" >&5
6930 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
6931 if test $libc_cv_asm_cfi_directives = yes; then
6932 $as_echo "#define HAVE_ASM_CFI_DIRECTIVES 1" >>confdefs.h
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --no-whole-archive" >&5
6937 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
6938 if test "${libc_cv_ld_no_whole_archive+set}" = set; then :
6939 $as_echo_n "(cached) " >&6
6941 cat > conftest.c
<<\EOF
6946 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6947 -nostdlib -nostartfiles -Wl,--no-whole-archive
6948 -o conftest conftest.c 1>&5'
6949 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6953 test $ac_status = 0; }; }; then
6954 libc_cv_ld_no_whole_archive
=yes
6956 libc_cv_ld_no_whole_archive
=no
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_no_whole_archive" >&5
6961 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
6962 if test $libc_cv_ld_no_whole_archive = yes; then
6963 no_whole_archive
=-Wl,--no-whole-archive
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc -fexceptions" >&5
6967 $as_echo_n "checking for gcc -fexceptions... " >&6; }
6968 if test "${libc_cv_gcc_exceptions+set}" = set; then :
6969 $as_echo_n "(cached) " >&6
6971 cat > conftest.c
<<\EOF
6976 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6977 -nostdlib -nostartfiles -fexceptions
6978 -o conftest conftest.c 1>&5'
6979 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6983 test $ac_status = 0; }; }; then
6984 libc_cv_gcc_exceptions
=yes
6986 libc_cv_gcc_exceptions
=no
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_exceptions" >&5
6991 $as_echo "$libc_cv_gcc_exceptions" >&6; }
6992 if test $libc_cv_gcc_exceptions = yes; then
6993 exceptions
=-fexceptions
6996 if test "$host_cpu" = powerpc
; then
6997 # Check for a bug present in at least versions 2.8.x of GCC
6998 # and versions 1.0.x of EGCS.
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether clobbering cr0 causes problems" >&5
7000 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7001 if test "${libc_cv_c_asmcr0_bug+set}" = set; then :
7002 $as_echo_n "(cached) " >&6
7004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7015 if ac_fn_c_try_compile
"$LINENO"; then :
7016 libc_cv_c_asmcr0_bug
='no'
7018 libc_cv_c_asmcr0_bug
='yes'
7020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_c_asmcr0_bug" >&5
7023 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7024 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7025 $as_echo "#define BROKEN_PPC_ASM_CR0 1" >>confdefs.h
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
7031 $as_echo_n "checking for __builtin_expect... " >&6; }
7032 if test "${libc_cv_gcc_builtin_expect+set}" = set; then :
7033 $as_echo_n "(cached) " >&6
7035 cat > conftest.c
<<EOF
7036 #line $LINENO "configure"
7039 a = __builtin_expect (a, 10);
7040 return a == 10 ? 0 : 1;
7043 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7044 -o conftest conftest.c -lgcc >&5'
7045 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7049 test $ac_status = 0; }; }; then
7050 libc_cv_gcc_builtin_expect
=yes
7052 libc_cv_gcc_builtin_expect
=no
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_expect" >&5
7057 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7058 if test "$libc_cv_gcc_builtin_expect" = yes; then
7059 $as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
7064 $as_echo_n "checking for __builtin_memset... " >&6; }
7065 if test "${libc_cv_gcc_builtin_memset+set}" = set; then :
7066 $as_echo_n "(cached) " >&6
7068 cat > conftest.c
<<\EOF
7071 __builtin_memset
(x
, 0, 1000);
7074 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7075 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7079 test $ac_status = 0; }; };
7081 libc_cv_gcc_builtin_memset
=no
7083 libc_cv_gcc_builtin_memset
=yes
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
7088 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
7089 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7090 $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
7095 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7096 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then :
7097 $as_echo_n "(cached) " >&6
7099 cat > conftest.c
<<\EOF
7100 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
7101 char
*foo
(const char
*a
, const char
*b
)
7103 return __builtin_strstr
(a
, b
);
7106 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7107 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7111 test $ac_status = 0; }; };
7113 libc_cv_gcc_builtin_redirection
=yes
7115 libc_cv_gcc_builtin_redirection
=no
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
7120 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7121 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7122 $as_echo "#define HAVE_BUILTIN_REDIRECTION 1" >>confdefs.h
7126 if test "x$use__thread" != xno
; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
7128 $as_echo_n "checking for __thread... " >&6; }
7129 if test "${libc_cv_gcc___thread+set}" = set; then :
7130 $as_echo_n "(cached) " >&6
7132 cat > conftest.c
<<\EOF
7133 __thread int a
= 42;
7135 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7136 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; }; then
7141 libc_cv_gcc___thread
=yes
7143 libc_cv_gcc___thread
=no
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc___thread" >&5
7148 $as_echo "$libc_cv_gcc___thread" >&6; }
7149 if test "$libc_cv_gcc___thread" = yes; then
7150 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
7154 libc_cv_gcc___thread
=no
7157 if test "$libc_cv_gcc___thread" = yes; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tls_model attribute" >&5
7159 $as_echo_n "checking for tls_model attribute... " >&6; }
7160 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then :
7161 $as_echo_n "(cached) " >&6
7163 cat > conftest.c
<<\EOF
7164 extern __thread int a __attribute__
((tls_model
("initial-exec")));
7166 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7167 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7171 test $ac_status = 0; }; }; then
7172 libc_cv_gcc_tls_model_attr
=yes
7174 libc_cv_gcc_tls_model_attr
=no
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_tls_model_attr" >&5
7179 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7180 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7181 $as_echo "#define HAVE_TLS_MODEL_ATTRIBUTE 1" >>confdefs.h
7186 if test -n "$submachine"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
7188 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7189 if test "${libc_cv_cc_submachine+set}" = set; then :
7190 $as_echo_n "(cached) " >&6
7192 libc_cv_cc_submachine
=no
7193 for opt
in "-march=$submachine" "-mcpu=$submachine"; do
7194 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7195 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199 test $ac_status = 0; }; }; then
7200 libc_cv_cc_submachine
="$opt"
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
7206 $as_echo "$libc_cv_cc_submachine" >&6; }
7207 if test "x$libc_cv_cc_submachine" = xno
; then
7208 as_fn_error
"${CC-cc} does not support $submachine" "$LINENO" 5
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
7214 $as_echo_n "checking for libgd... " >&6; }
7215 if test "$with_gd" != "no"; then
7216 old_CFLAGS
="$CFLAGS"
7217 CFLAGS
="$CFLAGS $libgd_include"
7218 old_LDFLAGS
="$LDFLAGS"
7219 LDFLAGS
="$LDFLAGS $libgd_ldflags"
7221 LIBS
="$LIBS -lgd -lpng -lz -lm"
7222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7233 if ac_fn_c_try_link
"$LINENO"; then :
7238 rm -f core conftest.err conftest.
$ac_objext \
7239 conftest
$ac_exeext conftest.
$ac_ext
7240 CFLAGS
="$old_CFLAGS"
7241 LDFLAGS
="$old_LDFLAGS"
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
7247 $as_echo "$LIBGD" >&6; }
7251 if test x
$with_selinux = xno
; then
7254 # See if we have the SELinux library
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
7256 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7257 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then :
7258 $as_echo_n "(cached) " >&6
7260 ac_check_lib_save_LIBS
=$LIBS
7261 LIBS
="-lselinux $LIBS"
7262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7263 /* end confdefs.h. */
7265 /* Override any GCC internal prototype to avoid an error.
7266 Use char because int might match the return type of a GCC
7267 builtin and then its argument prototype would still apply. */
7271 char is_selinux_enabled ();
7275 return is_selinux_enabled ();
7280 if ac_fn_c_try_link
"$LINENO"; then :
7281 ac_cv_lib_selinux_is_selinux_enabled
=yes
7283 ac_cv_lib_selinux_is_selinux_enabled
=no
7285 rm -f core conftest.err conftest.
$ac_objext \
7286 conftest
$ac_exeext conftest.
$ac_ext
7287 LIBS
=$ac_check_lib_save_LIBS
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7290 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7291 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x
""yes; then :
7297 # See if we have the SELinux header with the NSCD permissions in it.
7298 if test x
$have_selinux = xyes
; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7300 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7302 /* end confdefs.h. */
7303 #include <selinux/av_permissions.h>
7307 #ifdef NSCD__SHMEMHOST
7310 #error NSCD__SHMEMHOST not defined
7316 if ac_fn_c_try_compile
"$LINENO"; then :
7321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_selinux" >&5
7323 $as_echo "$have_selinux" >&6; }
7326 if test x
$with_selinux = xyes
; then
7327 if test x
$have_selinux = xno
; then
7328 as_fn_error
"SELinux explicitly required, but sufficiently recent SELinux library not found" "$LINENO" 5
7332 # Check if we're building with SELinux support.
7333 if test "x$have_selinux" = xyes
; then
7335 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
7338 # See if we have the libaudit library
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
7340 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7341 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then :
7342 $as_echo_n "(cached) " >&6
7344 ac_check_lib_save_LIBS
=$LIBS
7345 LIBS
="-laudit $LIBS"
7346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h. */
7349 /* Override any GCC internal prototype to avoid an error.
7350 Use char because int might match the return type of a GCC
7351 builtin and then its argument prototype would still apply. */
7355 char audit_log_user_avc_message ();
7359 return audit_log_user_avc_message ();
7364 if ac_fn_c_try_link
"$LINENO"; then :
7365 ac_cv_lib_audit_audit_log_user_avc_message
=yes
7367 ac_cv_lib_audit_audit_log_user_avc_message
=no
7369 rm -f core conftest.err conftest.
$ac_objext \
7370 conftest
$ac_exeext conftest.
$ac_ext
7371 LIBS
=$ac_check_lib_save_LIBS
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7374 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7375 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x
""yes; then :
7381 if test "x$have_libaudit" = xyes
; then
7383 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
7388 # See if we have the libcap library
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
7390 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7391 if test "${ac_cv_lib_cap_cap_init+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7394 ac_check_lib_save_LIBS
=$LIBS
7396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7397 /* end confdefs.h. */
7399 /* Override any GCC internal prototype to avoid an error.
7400 Use char because int might match the return type of a GCC
7401 builtin and then its argument prototype would still apply. */
7414 if ac_fn_c_try_link
"$LINENO"; then :
7415 ac_cv_lib_cap_cap_init
=yes
7417 ac_cv_lib_cap_cap_init
=no
7419 rm -f core conftest.err conftest.
$ac_objext \
7420 conftest
$ac_exeext conftest.
$ac_ext
7421 LIBS
=$ac_check_lib_save_LIBS
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
7424 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7425 if test "x$ac_cv_lib_cap_cap_init" = x
""yes; then :
7431 if test "x$have_libcap" = xyes
; then
7433 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7442 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7443 if test "${ac_cv_path_GREP+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7446 if test -z "$GREP"; then
7447 ac_path_GREP_found
=false
7448 # Loop through the user's path and test for each of PROGNAME-LIST
7449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7450 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7453 test -z "$as_dir" && as_dir
=.
7454 for ac_prog
in grep ggrep
; do
7455 for ac_exec_ext
in '' $ac_executable_extensions; do
7456 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7457 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7458 # Check for GNU ac_path_GREP and select it if it is found.
7459 # Check for GNU $ac_path_GREP
7460 case `"$ac_path_GREP" --version 2>&1` in
7462 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7465 $as_echo_n 0123456789 >"conftest.in"
7468 cat "conftest.in" "conftest.in" >"conftest.tmp"
7469 mv "conftest.tmp" "conftest.in"
7470 cp "conftest.in" "conftest.nl"
7471 $as_echo 'GREP' >> "conftest.nl"
7472 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7473 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7474 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7475 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7476 # Best one so far, save it but keep looking for a better one
7477 ac_cv_path_GREP
="$ac_path_GREP"
7478 ac_path_GREP_max
=$ac_count
7480 # 10*(2^10) chars as input seems more than enough
7481 test $ac_count -gt 10 && break
7483 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7486 $ac_path_GREP_found && break 3
7491 if test -z "$ac_cv_path_GREP"; then
7492 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7495 ac_cv_path_GREP
=$GREP
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7500 $as_echo "$ac_cv_path_GREP" >&6; }
7501 GREP
="$ac_cv_path_GREP"
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7505 $as_echo_n "checking for egrep... " >&6; }
7506 if test "${ac_cv_path_EGREP+set}" = set; then :
7507 $as_echo_n "(cached) " >&6
7509 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7510 then ac_cv_path_EGREP
="$GREP -E"
7512 if test -z "$EGREP"; then
7513 ac_path_EGREP_found
=false
7514 # Loop through the user's path and test for each of PROGNAME-LIST
7515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7516 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7519 test -z "$as_dir" && as_dir
=.
7520 for ac_prog
in egrep; do
7521 for ac_exec_ext
in '' $ac_executable_extensions; do
7522 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7523 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7524 # Check for GNU ac_path_EGREP and select it if it is found.
7525 # Check for GNU $ac_path_EGREP
7526 case `"$ac_path_EGREP" --version 2>&1` in
7528 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7531 $as_echo_n 0123456789 >"conftest.in"
7534 cat "conftest.in" "conftest.in" >"conftest.tmp"
7535 mv "conftest.tmp" "conftest.in"
7536 cp "conftest.in" "conftest.nl"
7537 $as_echo 'EGREP' >> "conftest.nl"
7538 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7539 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7540 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7541 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7542 # Best one so far, save it but keep looking for a better one
7543 ac_cv_path_EGREP
="$ac_path_EGREP"
7544 ac_path_EGREP_max
=$ac_count
7546 # 10*(2^10) chars as input seems more than enough
7547 test $ac_count -gt 10 && break
7549 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7552 $ac_path_EGREP_found && break 3
7557 if test -z "$ac_cv_path_EGREP"; then
7558 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7561 ac_cv_path_EGREP
=$EGREP
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7567 $as_echo "$ac_cv_path_EGREP" >&6; }
7568 EGREP
="$ac_cv_path_EGREP"
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7572 $as_echo_n "checking for ANSI C header files... " >&6; }
7573 if test "${ac_cv_header_stdc+set}" = set; then :
7574 $as_echo_n "(cached) " >&6
7576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7577 /* end confdefs.h. */
7591 if ac_fn_c_try_compile
"$LINENO"; then :
7592 ac_cv_header_stdc
=yes
7594 ac_cv_header_stdc
=no
7596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7598 if test $ac_cv_header_stdc = yes; then
7599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7606 $EGREP "memchr" >/dev
/null
2>&1; then :
7609 ac_cv_header_stdc
=no
7615 if test $ac_cv_header_stdc = yes; then
7616 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7623 $EGREP "free" >/dev
/null
2>&1; then :
7626 ac_cv_header_stdc
=no
7632 if test $ac_cv_header_stdc = yes; then
7633 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7634 if test "$cross_compiling" = yes; then :
7637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7641 #if ((' ' & 0x0FF) == 0x020)
7642 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7643 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7645 # define ISLOWER(c) \
7646 (('a' <= (c) && (c) <= 'i') \
7647 || ('j' <= (c) && (c) <= 'r') \
7648 || ('s' <= (c) && (c) <= 'z'))
7649 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7652 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7657 for (i = 0; i < 256; i++)
7658 if (XOR (islower (i), ISLOWER (i))
7659 || toupper (i) != TOUPPER (i))
7664 if ac_fn_c_try_run
"$LINENO"; then :
7667 ac_cv_header_stdc
=no
7669 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7670 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7676 $as_echo "$ac_cv_header_stdc" >&6; }
7677 if test $ac_cv_header_stdc = yes; then
7679 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7683 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7684 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7685 inttypes.h stdint.h unistd.h
7687 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7688 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7690 eval as_val
=\$
$as_ac_Header
7691 if test "x$as_val" = x
""yes; then :
7692 cat >>confdefs.h
<<_ACEOF
7693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7701 # The cast to long int works around a bug in the HP C Compiler
7702 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7703 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7704 # This bug is HP SR number 8606223364.
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
7706 $as_echo_n "checking size of long double... " >&6; }
7707 if test "${ac_cv_sizeof_long_double+set}" = set; then :
7708 $as_echo_n "(cached) " >&6
7710 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
7713 if test "$ac_cv_type_long_double" = yes; then
7714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7716 { as_fn_set_status
77
7717 as_fn_error
"cannot compute sizeof (long double)
7718 See \`config.log' for more details." "$LINENO" 5; }; }
7720 ac_cv_sizeof_long_double
=0
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
7726 $as_echo "$ac_cv_sizeof_long_double" >&6; }
7730 cat >>confdefs.h
<<_ACEOF
7731 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
7735 sizeof_long_double
=$ac_cv_sizeof_long_double
7738 ### End of automated tests.
7739 ### Now run sysdeps configure fragments.
7741 # They also can set these variables.
7743 ldd_rewrite_script
=no
7744 libc_cv_sysconfdir
=$sysconfdir
7745 libc_cv_gcc_unwind_find_fde
=no
7748 # Iterate over all the sysdep directories we will use, running their
7749 # configure fragments, and looking for a uname implementation.
7751 for dir
in $sysnames; do
7754 *) dest
=$srcdir/$dir ;;
7756 if test -r $dest/configure
; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
7758 $as_echo "running configure fragment for $dir" >&6; }
7762 if test -z "$uname"; then
7763 if test -r $dest/uname.c ||
7764 test -r $dest/uname.S ||
7765 { test -r $dest/syscalls.list
&&
7766 grep '^uname[ ]' $dest/syscalls.list
>/dev
/null
; }; then
7772 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
7773 $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
7778 # If we will use the generic uname implementation, we must figure out what
7779 # it will say by examining the system, and write the results in config-name.h.
7780 if test "$uname" = "sysdeps/generic"; then
7782 uname_sysname
=`echo $config_os | sed 's/[0-9.]*$//'`
7783 if test $uname_sysname != $config_os; then
7784 config_release
=`echo $config_os | sed s/$uname_sysname//`
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OS release for uname" >&5
7788 $as_echo_n "checking OS release for uname... " >&6; }
7789 if test "${libc_cv_uname_release+set}" = set; then :
7790 $as_echo_n "(cached) " >&6
7792 if test -r /vmunix
; then
7793 kernel_id
=`strings /vmunix | grep UNIX`
7794 elif test -r /dynix
; then
7795 kernel_id
=`strings /dynix | grep DYNIX`
7800 kernel_release
=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
7801 if test x
`echo "$config_release" | sed "s/^$kernel_release//"` \
7802 != x
$config_release; then
7803 # The configuration release is a substring of the kernel release.
7804 libc_cv_uname_release
=$kernel_release
7805 elif test x
$config_release != x
; then
7806 libc_cv_uname_release
=$config_release
7807 elif test x
$kernel_release != x
; then
7808 libc_cv_uname_release
=$kernel_release
7810 libc_cv_uname_release
=unknown
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_uname_release" >&5
7814 $as_echo "$libc_cv_uname_release" >&6; }
7815 uname_release
="$libc_cv_uname_release"
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OS version for uname" >&5
7818 $as_echo_n "checking OS version for uname... " >&6; }
7819 if test "${libc_cv_uname_version+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7822 if test -r /vmunix
; then
7823 kernel_id
=`strings /vmunix | grep UNIX`
7824 elif test -r /dynix
; then
7825 kernel_id
=`strings /dynix | grep DYNIX`
7830 kernel_version
=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
7831 if test -n "$kernel_version"; then
7832 libc_cv_uname_version
="$kernel_version"
7834 libc_cv_uname_version
=unknown
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_uname_version" >&5
7838 $as_echo "$libc_cv_uname_version" >&6; }
7839 uname_version
="$libc_cv_uname_version"
7841 config_uname
=config-name.h
:config-name.
in
7843 # For non-generic uname, we don't need to create config-name.h at all.
7847 $as_echo "#define USE_IN_LIBIO 1" >>confdefs.h
7850 # Test for old glibc 2.0.x headers so that they can be removed properly
7851 # Search only in includedir.
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old glibc 2.0.x headers" >&5
7853 $as_echo_n "checking for old glibc 2.0.x headers... " >&6; }
7854 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7856 old_glibc_headers
=yes
7858 old_glibc_headers
=no
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $old_glibc_headers" >&5
7861 $as_echo "$old_glibc_headers" >&6; }
7862 if test ${old_glibc_headers} = yes; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7864 $as_echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** be removed." >&5
7866 $as_echo "$as_me: WARNING: *** be removed." >&2;}
7885 if test $elf = yes; then
7886 $as_echo "#define HAVE_ELF 1" >>confdefs.h
7889 if test $xcoff = yes; then
7890 $as_echo "#define HAVE_XCOFF 1" >>confdefs.h
7896 if test $shared = default
; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
7901 $as_echo_n "checking whether -fPIC is default... " >&6; }
7902 if test "${libc_cv_pic_default+set}" = set; then :
7903 $as_echo_n "(cached) " >&6
7905 libc_cv_pic_default
=yes
7906 cat > conftest.c
<<EOF
7907 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7908 # error PIC is default.
7911 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7912 libc_cv_pic_default
=no
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
7917 $as_echo "$libc_cv_pic_default" >&6; }
7930 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
7933 config_makefile
=Makefile
7936 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7937 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7941 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
7943 ac_config_commands
="$ac_config_commands default"
7945 cat >confcache
<<\_ACEOF
7946 # This file is a shell script that caches the results of configure
7947 # tests run on this system so they can be shared between configure
7948 # scripts and configure runs, see configure's option --config-cache.
7949 # It is not useful on other systems. If it contains results you don't
7950 # want to keep, you may remove or edit it.
7952 # config.status only pays attention to the cache file if you give it
7953 # the --recheck option to rerun configure.
7955 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7956 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7961 # The following way of writing the cache mishandles newlines in values,
7962 # but we know of no workaround that is simple, portable, and efficient.
7963 # So, we kill variables containing newlines.
7964 # Ultrix sh set writes to stderr and can't be redirected directly,
7965 # and sets the high bit in the cache file unless we assign to the vars.
7967 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7968 eval ac_val
=\$
$ac_var
7972 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7973 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7976 _ | IFS | as_nl
) ;; #(
7977 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7978 *) { eval $ac_var=; unset $ac_var;} ;;
7984 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7985 *${as_nl}ac_space
=\
*)
7986 # `set' does not quote correctly, so add quotes: double-quote
7987 # substitution turns \\\\ into \\, and sed turns \\ into \.
7990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7993 # `set' quotes correctly as required by POSIX, so do not add quotes.
7994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8003 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8005 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8007 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8008 if test -w "$cache_file"; then
8009 test "x$cache_file" != "x/dev/null" &&
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8011 $as_echo "$as_me: updating cache $cache_file" >&6;}
8012 cat confcache
>$cache_file
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8015 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8020 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8021 # Let make expand exec_prefix.
8022 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8024 DEFS
=-DHAVE_CONFIG_H
8028 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8029 # 1. Remove the extension, and $U if already installed.
8030 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8031 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8032 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8033 # will be set to the directory where LIBOBJS objects are built.
8034 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8035 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8039 LTLIBOBJS
=$ac_ltlibobjs
8043 : ${CONFIG_STATUS=./config.status}
8045 ac_clean_files_save
=$ac_clean_files
8046 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8048 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8050 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8052 # Generated by $as_me.
8053 # Run this file to recreate the current configuration.
8054 # Compiler output produced by configure, useful for debugging
8055 # configure, is in config.log if it exists.
8061 SHELL=\${CONFIG_SHELL-$SHELL}
8064 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8065 ## -------------------- ##
8066 ## M4sh Initialization. ##
8067 ## -------------------- ##
8069 # Be more Bourne compatible
8070 DUALCASE
=1; export DUALCASE
# for MKS sh
8071 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8074 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8075 # is contrary to our usage. Disable this feature.
8076 alias -g '${1+"$@"}'='"$@"'
8077 setopt NO_GLOB_SUBST
8079 case `(set -o) 2>/dev/null` in #(
8091 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8092 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8093 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8094 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8095 # Prefer a ksh shell builtin over an external printf program on Solaris,
8096 # but without wasting forks for bash or zsh.
8097 if test -z "$BASH_VERSION$ZSH_VERSION" \
8098 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8099 as_echo='print
-r --'
8100 as_echo_n='print
-rn --'
8101 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8102 as_echo='printf %s
\n'
8103 as_echo_n='printf %s
'
8105 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8106 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8107 as_echo_n='/usr
/ucb
/echo -n'
8109 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8110 as_echo_n_body='eval
8114 expr "X$arg" : "X\\(.*\\)$as_nl";
8115 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8117 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8119 export as_echo_n_body
8120 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8123 as_echo='sh
-c $as_echo_body as_echo
'
8126 # The user is always right.
8127 if test "${PATH_SEPARATOR+set}" != set; then
8129 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8130 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8137 # We need space, tab and new line, in precisely that order. Quoting is
8138 # there to prevent editors from complaining about space-tab.
8139 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8140 # splitting by setting IFS to empty value.)
8143 # Find who we are. Look in the path if we contain no directory separator.
8145 *[\\/]* ) as_myself=$0 ;;
8146 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8150 test -z "$as_dir" && as_dir=.
8151 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8157 # We did not find ourselves, most probably we were run as `sh COMMAND'
8158 # in which case we are not to be found in the path.
8159 if test "x$as_myself" = x
; then
8162 if test ! -f "$as_myself"; then
8163 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8167 # Unset variables that we do not need and which cause bugs (e.g. in
8168 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8169 # suppresses any "Segmentation fault" message there. '((' could
8170 # trigger a bug in pdksh 5.2.14.
8171 for as_var
in BASH_ENV ENV MAIL MAILPATH
8172 do eval test x\
${$as_var+set} = xset \
8173 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8186 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8189 # as_fn_error ERROR [LINENO LOG_FD]
8190 # ---------------------------------
8191 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8192 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8193 # script with status $?, using 1 if that was 0.
8196 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8198 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8199 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8201 $as_echo "$as_me: error: $1" >&2
8202 as_fn_exit
$as_status
8206 # as_fn_set_status STATUS
8207 # -----------------------
8208 # Set $? to STATUS, without forking.
8212 } # as_fn_set_status
8216 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8226 # Portably unset VAR.
8229 { eval $1=; unset $1;}
8231 as_unset
=as_fn_unset
8232 # as_fn_append VAR VALUE
8233 # ----------------------
8234 # Append the text in VALUE to the end of the definition contained in VAR. Take
8235 # advantage of any shell optimizations that allow amortized linear growth over
8236 # repeated appends, instead of the typical quadratic growth present in naive
8238 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8239 eval 'as_fn_append ()
8250 # as_fn_arith ARG...
8251 # ------------------
8252 # Perform arithmetic evaluation on the ARGs, and store the result in the
8253 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8254 # must be portable across $(()) and expr.
8255 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8256 eval 'as_fn_arith ()
8263 as_val
=`expr "$@" || test $? -eq 1`
8268 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8269 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8275 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8276 as_basename
=basename
8281 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8287 as_me
=`$as_basename -- "$0" ||
8288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8289 X"$0" : 'X\(//\)$' \| \
8290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8292 sed '/^.*\/\([^/][^/]*\)\/*$/{
8306 # Avoid depending upon Character Ranges.
8307 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8308 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8309 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8310 as_cr_digits
='0123456789'
8311 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8313 ECHO_C
= ECHO_N
= ECHO_T
=
8314 case `echo -n x` in #(((((
8316 case `echo 'xy\c'` in
8317 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8319 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8326 rm -f conf$$ conf$$.exe conf$$.
file
8327 if test -d conf$$.dir
; then
8328 rm -f conf$$.dir
/conf$$.
file
8331 mkdir conf$$.dir
2>/dev
/null
8333 if (echo >conf$$.
file) 2>/dev
/null
; then
8334 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8336 # ... but there are two gotchas:
8337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8339 # In both cases, we have to default to `cp -p'.
8340 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8342 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8350 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8351 rmdir conf$$.dir
2>/dev
/null
8356 # Create "$as_dir" as a directory, including parents if necessary.
8361 -*) as_dir
=.
/$as_dir;;
8363 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8367 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8368 *) as_qdir
=$as_dir;;
8370 as_dirs
="'$as_qdir' $as_dirs"
8371 as_dir
=`$as_dirname -- "$as_dir" ||
8372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8373 X"$as_dir" : 'X\(//\)[^/]' \| \
8374 X"$as_dir" : 'X\(//\)$' \| \
8375 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8376 $as_echo X"$as_dir" |
8377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8394 test -d "$as_dir" && break
8396 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8397 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8401 if mkdir
-p .
2>/dev
/null
; then
8402 as_mkdir_p
='mkdir -p "$as_dir"'
8404 test -d .
/-p && rmdir .
/-p
8408 if test -x / >/dev
/null
2>&1; then
8411 if ls -dL / >/dev
/null
2>&1; then
8418 if test -d "$1"; then
8424 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8425 ???[sx]*):;;*)false;;esac;fi
8429 as_executable_p
=$as_test_x
8431 # Sed expression to map a string onto a valid CPP name.
8432 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8434 # Sed expression to map a string onto a valid variable name.
8435 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8439 ## ----------------------------------- ##
8440 ## Main body of $CONFIG_STATUS script. ##
8441 ## ----------------------------------- ##
8443 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8446 # Save the log message, to keep $0 and so on meaningful, and to
8447 # report actual input values of CONFIG_FILES etc. instead of their
8448 # values after options handling.
8450 This file was extended by GNU C Library $as_me (see version.h), which was
8451 generated by GNU Autoconf 2.65. Invocation command line was
8453 CONFIG_FILES = $CONFIG_FILES
8454 CONFIG_HEADERS = $CONFIG_HEADERS
8455 CONFIG_LINKS = $CONFIG_LINKS
8456 CONFIG_COMMANDS = $CONFIG_COMMANDS
8459 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8464 case $ac_config_files in *"
8465 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8468 case $ac_config_headers in *"
8469 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8474 # Files that config.status was made for.
8475 config_files="$ac_config_files"
8476 config_headers="$ac_config_headers"
8477 config_commands="$ac_config_commands"
8481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8483 \`$as_me' instantiates files and other configuration actions
8484 from templates according to the current configuration. Unless the files
8485 and actions are specified as TAGs, all are instantiated by default.
8487 Usage: $0 [OPTION]... [TAG]...
8489 -h, --help print this help, then exit
8490 -V, --version print version number and configuration settings, then exit
8491 --config print configuration, then exit
8492 -q, --quiet, --silent
8493 do not print progress messages
8494 -d, --debug don't remove temporary files
8495 --recheck update $as_me by reconfiguring in the same conditions
8496 --file=FILE[:TEMPLATE]
8497 instantiate the configuration file FILE
8498 --header=FILE[:TEMPLATE]
8499 instantiate the configuration header FILE
8501 Configuration files:
8504 Configuration headers:
8507 Configuration commands:
8510 Report bugs to <glibc>.
8511 GNU C Library home page: <http://www.gnu.org/software/c-library/>.
8512 General help using GNU software: <http://www.gnu.org/gethelp/>."
8515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8516 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8518 GNU C Library config.status (see version.h)
8519 configured by $0, generated by GNU Autoconf 2.65,
8520 with options \\"\$ac_cs_config\\"
8522 Copyright (C) 2009 Free Software Foundation, Inc.
8523 This config.status script is free software; the Free Software Foundation
8524 gives unlimited permission to copy, distribute and modify it."
8530 test -n "\$AWK" || AWK=awk
8533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8534 # The default lists apply if the user does not specify any file.
8540 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8541 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8552 # Handling of the options.
8553 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8555 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8556 $as_echo "$ac_cs_version"; exit ;;
8557 --config |
--confi |
--conf |
--con |
--co |
--c )
8558 $as_echo "$ac_cs_config"; exit ;;
8559 --debug |
--debu |
--deb |
--de |
--d |
-d )
8561 --file |
--fil |
--fi |
--f )
8564 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8566 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8567 ac_need_defaults
=false
;;
8568 --header |
--heade |
--head |
--hea )
8571 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8573 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8574 ac_need_defaults
=false
;;
8576 # Conflict between --help and --header
8577 as_fn_error
"ambiguous option: \`$1'
8578 Try \`$0 --help' for more information.";;
8579 --help |
--hel |
-h )
8580 $as_echo "$ac_cs_usage"; exit ;;
8581 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8582 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8586 -*) as_fn_error
"unrecognized option: \`$1'
8587 Try \`$0 --help' for more information." ;;
8589 *) as_fn_append ac_config_targets
" $1"
8590 ac_need_defaults
=false
;;
8596 ac_configure_extra_args
=
8598 if $ac_cs_silent; then
8600 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8605 if \$ac_cs_recheck; then
8606 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8608 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8609 CONFIG_SHELL='$SHELL'
8615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8620 ## Running $as_me. ##
8626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8630 config_vars='$config_vars'
8634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8636 # Handling of arguments.
8637 for ac_config_target
in $ac_config_targets
8639 case $ac_config_target in
8640 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8641 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
8642 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
8643 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
8644 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8646 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8651 # If the user did not use the arguments to specify the items to instantiate,
8652 # then the envvar interface is used. Set only those that are not.
8653 # We use the long form for the default assignment because of an extremely
8654 # bizarre bug on SunOS 4.1.3.
8655 if $ac_need_defaults; then
8656 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8657 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8658 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8661 # Have a temporary directory for convenience. Make it in the build tree
8662 # simply because there is no reason against having it here, and in addition,
8663 # creating and moving files from /tmp can sometimes cause problems.
8664 # Hook for its removal unless debugging.
8665 # Note that there is a small window in which the directory will not be cleaned:
8666 # after its creation but before its name has been assigned to `$tmp'.
8670 trap 'exit_status=$?
8671 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8673 trap 'as_fn_exit 1' 1 2 13 15
8675 # Create a (secure) tmp directory for tmp files.
8678 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8679 test -n "$tmp" && test -d "$tmp"
8682 tmp
=.
/conf$$
-$RANDOM
8683 (umask 077 && mkdir
"$tmp")
8684 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8686 # Set up the scripts for CONFIG_FILES section.
8687 # No need to generate them if there are no CONFIG_FILES.
8688 # This happens for instance with `./config.status config.h'.
8689 if test -n "$CONFIG_FILES"; then
8692 ac_cr
=`echo X | tr X '\015'`
8693 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8694 # But we know of no other shell where ac_cr would be empty at this
8695 # point, so we can use a bashism as a fallback.
8696 if test "x$ac_cr" = x
; then
8697 eval ac_cr
=\$
\'\\r
\'
8699 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8700 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8706 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8711 echo "cat >conf$$subs.awk <<_ACEOF" &&
8712 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8715 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8716 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8718 for ac_last_try in false false false false false :; do
8719 . ./conf$$subs.sh ||
8720 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8722 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8723 if test $ac_delim_n = $ac_delim_num; then
8725 elif $ac_last_try; then
8726 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8728 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8734 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8738 s/^/S["/; s
/!.
*/"]=/
8748 s/\(.\{148\}\)..*/\1/
8750 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8755 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8762 s/\(.\{148\}\)..*/\1/
8764 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8768 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8773 ' <conf$$subs.awk | sed '
8778 ' >>$CONFIG_STATUS || ac_write_fail=1
8779 rm -f conf$$subs.awk
8780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8782 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8783 for (key in S) S_is_set[key] = 1
8789 nfields = split(line, field, "@
")
8791 len = length(field[1])
8792 for (i = 2; i < nfields; i++) {
8794 keylen = length(key)
8795 if (S_is_set[key]) {
8797 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8798 len += length(value) + length(field[++i])
8809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8810 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8811 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8814 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8815 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8818 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8819 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8820 # trailing colons and then remove the whole line if VPATH becomes empty
8821 # (actually we leave an empty line to preserve line numbers).
8822 if test "x
$srcdir" = x.; then
8823 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8827 s/^\([^=]*=[ ]*\):*/\1/
8833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8834 fi # test -n "$CONFIG_FILES"
8836 # Set up the scripts for CONFIG_HEADERS section.
8837 # No need to generate them if there are no CONFIG_HEADERS.
8838 # This happens for instance with `./config.status Makefile'.
8839 if test -n "$CONFIG_HEADERS"; then
8840 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8844 # Transform confdefs.h into an awk script `defines.awk', embedded as
8845 # here-document in config.status, that substitutes the proper values into
8846 # config.h.in to produce config.h.
8848 # Create a delimiter string that does not exist in confdefs.h, to ease
8849 # handling of long lines.
8851 for ac_last_try in false false :; do
8852 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8853 if test -z "$ac_t"; then
8855 elif $ac_last_try; then
8856 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8858 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8862 # For the awk script, D is an array of macro values keyed by name,
8863 # likewise P contains macro parameters if any. Preserve backslash
8864 # newline sequences.
8866 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8868 s/.\{148\}/&'"$ac_delim"'/g
8871 s/^[ ]*#[ ]*define[ ][ ]*/ /
8878 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8880 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8884 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8885 D["\
1"]=" \
3\\\\\\n
"\\/p
8887 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8892 s/.\{148\}/&'"$ac_delim"'/g
8897 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8900 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8902 ' <confdefs.h | sed '
8903 s/'"$ac_delim"'/"\\\
8904 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8907 for (key in D) D_is_set[key] = 1
8910 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8912 split(line, arg, " ")
8913 if (arg[1] == "#") {
8917 defundef
= substr
(arg
[1], 2)
8920 split(mac1
, mac2
, "(") #)
8922 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8923 if (D_is_set
[macro
]) {
8924 # Preserve the white space surrounding the "#".
8925 print prefix
"define", macro P
[macro
] D
[macro
]
8928 # Replace #undef with comments. This is necessary, for example,
8929 # in the case of _POSIX_SOURCE, which is predefined and required
8930 # on some systems where configure will not decide to define it.
8931 if (defundef
== "undef") {
8932 print
"/*", prefix defundef
, macro
, "*/"
8940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8941 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8942 fi # test -n "$CONFIG_HEADERS"
8945 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8950 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8952 case $ac_mode$ac_tag in
8954 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8955 :[FH
]-) ac_tag
=-:-;;
8956 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8973 -) ac_f
="$tmp/stdin";;
8974 *) # Look for the file first in the build tree, then in the source tree
8975 # (if the path is not absolute). The absolute path cannot be DOS-style,
8976 # because $ac_f cannot contain `:'.
8980 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8982 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8984 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8985 as_fn_append ac_file_inputs
" '$ac_f'"
8988 # Let's still pretend it is `configure' which instantiates (i.e., don't
8989 # use $as_me), people would be surprised to read:
8990 # /* config.h. Generated by config.status. */
8991 configure_input
='Generated from '`
8992 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8994 if test x
"$ac_file" != x-
; then
8995 configure_input
="$ac_file. $configure_input"
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8997 $as_echo "$as_me: creating $ac_file" >&6;}
8999 # Neutralize special characters interpreted by sed in replacement strings.
9000 case $configure_input in #(
9001 *\
&* |
*\|
* |
*\\* )
9002 ac_sed_conf_input
=`$as_echo "$configure_input" |
9003 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9004 *) ac_sed_conf_input
=$configure_input;;
9008 *:-:* |
*:-) cat >"$tmp/stdin" \
9009 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
9014 ac_dir
=`$as_dirname -- "$ac_file" ||
9015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9016 X"$ac_file" : 'X\(//\)[^/]' \| \
9017 X"$ac_file" : 'X\(//\)$' \| \
9018 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9019 $as_echo X"$ac_file" |
9020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9037 as_dir
="$ac_dir"; as_fn_mkdir_p
9041 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9043 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9044 # A ".." for each directory in $ac_dir_suffix.
9045 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9046 case $ac_top_builddir_sub in
9047 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9048 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9051 ac_abs_top_builddir
=$ac_pwd
9052 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9053 # for backward compatibility:
9054 ac_top_builddir
=$ac_top_build_prefix
9057 .
) # We are building in place.
9059 ac_top_srcdir
=$ac_top_builddir_sub
9060 ac_abs_top_srcdir
=$ac_pwd ;;
9061 [\\/]* | ?
:[\\/]* ) # Absolute name.
9062 ac_srcdir
=$srcdir$ac_dir_suffix;
9063 ac_top_srcdir
=$srcdir
9064 ac_abs_top_srcdir
=$srcdir ;;
9066 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9067 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9068 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9070 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9080 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9081 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9086 # If the template does not know about datarootdir, expand it.
9087 # FIXME: This hack should be removed a few years after 2.60.
9088 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9099 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9100 *datarootdir
*) ac_datarootdir_seen
=yes;;
9101 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9103 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9106 ac_datarootdir_hack='
9107 s&@datadir@&$datadir&g
9108 s&@docdir@&$docdir&g
9109 s&@infodir@&$infodir&g
9110 s&@localedir@&$localedir&g
9111 s&@mandir@&$mandir&g
9112 s&\\\${datarootdir}&$datarootdir&g' ;;
9116 # Neutralize VPATH when `$srcdir' = `.'.
9117 # Shell code in configure.ac might set extrasub.
9118 # FIXME: do we really want to maintain this feature?
9119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9120 ac_sed_extra="$ac_vpsub
9123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9125 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9126 s|@configure_input@|
$ac_sed_conf_input|
;t t
9127 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9128 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9129 s
&@srcdir@
&$ac_srcdir&;t t
9130 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9131 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9132 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9133 s
&@builddir@
&$ac_builddir&;t t
9134 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9135 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9136 s
&@INSTALL@
&$ac_INSTALL&;t t
9137 $ac_datarootdir_hack
9139 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9140 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9142 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9143 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9144 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9146 which seems to be undefined. Please make sure it is defined." >&5
9147 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9148 which seems to be undefined. Please make sure it is defined." >&2;}
9152 -) cat "$tmp/out" && rm -f "$tmp/out";;
9153 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9155 || as_fn_error "could not create $ac_file" "$LINENO" 5
9161 if test x"$ac_file" != x-; then
9163 $as_echo "/* $configure_input */" \
9164 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9165 } >"$tmp/config.h" \
9166 || as_fn_error "could not create $ac_file" "$LINENO" 5
9167 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9169 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9172 mv "$tmp/config.h" "$ac_file" \
9173 || as_fn_error "could not create $ac_file" "$LINENO" 5
9176 $as_echo "/* $configure_input */" \
9177 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9178 || as_fn_error "could not create -" "$LINENO" 5
9182 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9183 $as_echo "$as_me: executing $ac_file commands" >&6;}
9188 case $ac_file$ac_mode in
9190 case $CONFIG_FILES in *config.make*)
9191 echo "$config_vars" >> config.make;;
9193 test -d bits || mkdir bits ;;
9201 ac_clean_files=$ac_clean_files_save
9203 test $ac_write_fail = 0 ||
9204 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
9207 # configure is writing to config.log, and then calls config.status.
9208 # config.status does its own redirection, appending to config.log.
9209 # Unfortunately, on DOS this fails, as config.log is still kept open
9210 # by configure, so config.status won't be able to
write to it
; its
9211 # output is simply discarded. So we exec the FD to /dev/null,
9212 # effectively closing config.log, so it can be properly (re)opened and
9213 # appended to by config.status. When coming back to configure, we
9214 # need to make the FD available again.
9215 if test "$no_create" != yes; then
9217 ac_config_status_args
=
9218 test "$silent" = yes &&
9219 ac_config_status_args
="$ac_config_status_args --quiet"
9221 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9223 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9224 # would make configure fail if this is the last instruction.
9225 $ac_cs_success || as_fn_exit $?
9229 # CONFIG_SUBDIRS section.
9231 if test "$no_recursion" != yes; then
9233 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
9234 # so they do not pile up.
9235 ac_sub_configure_args
=
9237 eval "set x $ac_configure_args"
9241 if test -n "$ac_prev"; then
9246 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
9247 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
9248 ac_prev
=cache_file
;;
9249 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
9250 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
9253 --config-cache |
-C)
9255 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
9257 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
9259 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
9261 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
9263 --disable-option-checking)
9267 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9269 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
9273 # Always prepend --prefix to ensure using the same prefix
9274 # in subdir configurations.
9275 ac_arg
="--prefix=$prefix"
9277 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9279 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
9282 if test "$silent" = yes; then
9283 ac_sub_configure_args
="--silent $ac_sub_configure_args"
9286 # Always prepend --disable-option-checking to silence warnings, since
9287 # different subdirs can have different --enable and --with options.
9288 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
9291 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
9293 # Do not complain, so a configure script can configure whichever
9294 # parts of a large source tree are present.
9295 test -d "$srcdir/$ac_dir" ||
continue
9297 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9298 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
9299 $as_echo "$ac_msg" >&6
9300 as_dir
="$ac_dir"; as_fn_mkdir_p
9304 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9306 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9307 # A ".." for each directory in $ac_dir_suffix.
9308 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9309 case $ac_top_builddir_sub in
9310 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9311 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9314 ac_abs_top_builddir
=$ac_pwd
9315 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9316 # for backward compatibility:
9317 ac_top_builddir
=$ac_top_build_prefix
9320 .
) # We are building in place.
9322 ac_top_srcdir
=$ac_top_builddir_sub
9323 ac_abs_top_srcdir
=$ac_pwd ;;
9324 [\\/]* | ?
:[\\/]* ) # Absolute name.
9325 ac_srcdir
=$srcdir$ac_dir_suffix;
9326 ac_top_srcdir
=$srcdir
9327 ac_abs_top_srcdir
=$srcdir ;;
9329 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9330 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9331 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9333 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9338 # Check for guested configure; otherwise get Cygnus style configure.
9339 if test -f "$ac_srcdir/configure.gnu"; then
9340 ac_sub_configure
=$ac_srcdir/configure.gnu
9341 elif test -f "$ac_srcdir/configure"; then
9342 ac_sub_configure
=$ac_srcdir/configure
9343 elif test -f "$ac_srcdir/configure.in"; then
9344 # This should be Cygnus configure.
9345 ac_sub_configure
=$ac_aux_dir/configure
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
9348 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9352 # The recursion is here.
9353 if test -n "$ac_sub_configure"; then
9354 # Make the cache file name correct relative to the subdirectory.
9356 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
9358 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
9361 { $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
9362 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9363 # The eval makes quoting arguments work.
9364 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9365 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9366 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
9372 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9374 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}