2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x
; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var
in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
145 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me
=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x
; then
177 if (eval ":") 2>/dev
/null
; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev
/null
; then
243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
244 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir
=.
250 for as_base
in sh bash ksh sh5
; do
251 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
258 for as_shell
in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix
*) set -o posix
;;
280 CONFIG_SHELL
=$as_shell
282 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix
*) set -o posix
;;
308 as_func_ret_success
() {
311 as_func_ret_failure
() {
316 if as_func_success
; then
320 echo as_func_success failed.
323 if as_func_failure
; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success
; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure
; then
337 echo as_func_ret_failure succeeded.
340 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) ||
{ (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x
; then
365 for as_var
in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no
; then
374 echo This
script requires a shell
more modern than all the
375 echo shells that I found on your system. Please
install a
376 echo modern shell
, or manually run the
script under such a
377 echo shell
if you
do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") ||
{
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system
,
439 echo including any error possibly output before this message.
440 echo This can
help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x
"$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
495 ECHO_C
= ECHO_N
= ECHO_T
=
499 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
542 test -d .
/-p && rmdir .
/-p
546 if test -x / >/dev
/null
2>&1; then
549 if ls -dL / >/dev
/null
2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p
=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 exec 7<&0 </dev
/null
6>&1
580 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
581 # so uname gets run too.
582 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
587 ac_default_prefix
=/usr
/local
589 ac_config_libobj_dir
=.
595 SHELL
=${CONFIG_SHELL-/bin/sh}
597 # Identity of this package.
598 PACKAGE_NAME
='GNU C Library'
599 PACKAGE_TARNAME
='c-library'
600 PACKAGE_VERSION
='(see version.h)'
601 PACKAGE_STRING
='GNU C Library (see version.h)'
602 PACKAGE_BUGREPORT
='glibc'
604 ac_unique_file
="include/features.h"
605 enable_option_checking
=no
606 # Factoring default headers for most tests.
607 ac_includes_default
="\
609 #ifdef HAVE_SYS_TYPES_H
610 # include <sys/types.h>
612 #ifdef HAVE_SYS_STAT_H
613 # include <sys/stat.h>
619 # ifdef HAVE_STDLIB_H
624 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
642 ac_subst_vars
='LTLIBOBJS
663 libc_cv_cpp_asm_debuginfo
664 libc_cv_forced_unwind
673 libc_cv_gcc_unwind_find_fde
681 libc_cv_cc_submachine
684 libc_cv_have_initfini
694 libc_cv_libgcc_s_suffix
696 libc_cv_cc_with_libunwind
706 libc_cv_gcc_static_libgcc
789 program_transform_name
801 enable_option_checking
820 enable_stackguard_randomization
831 enable_experimental_malloc
835 ac_precious_vars
='build_alias
850 # Initialize some variables set by options.
852 ac_init_version
=false
853 ac_unrecognized_opts
=
855 # The variables have the same names as the options, with
856 # dashes changed to underlines.
864 program_transform_name
=s
,x
,x
,
872 # Installation directory options.
873 # These are left unexpanded so users can "make install exec_prefix=/foo"
874 # and all the variables that are supposed to be based on exec_prefix
875 # by default will actually change.
876 # Use braces instead of parens because sh, perl, etc. also accept them.
877 # (The list follows the same order as the GNU Coding Standards.)
878 bindir
='${exec_prefix}/bin'
879 sbindir
='${exec_prefix}/sbin'
880 libexecdir
='${exec_prefix}/libexec'
881 datarootdir
='${prefix}/share'
882 datadir
='${datarootdir}'
883 sysconfdir
='${prefix}/etc'
884 sharedstatedir
='${prefix}/com'
885 localstatedir
='${prefix}/var'
886 includedir
='${prefix}/include'
887 oldincludedir
='/usr/include'
888 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
889 infodir
='${datarootdir}/info'
894 libdir
='${exec_prefix}/lib'
895 localedir
='${datarootdir}/locale'
896 mandir
='${datarootdir}/man'
902 # If the previous option needs an argument, assign it.
903 if test -n "$ac_prev"; then
904 eval $ac_prev=\
$ac_option
910 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
914 # Accept the important Cygnus configure options, so we can diagnose typos.
916 case $ac_dashdash$ac_option in
920 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
922 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
925 -build |
--build |
--buil |
--bui |
--bu)
926 ac_prev
=build_alias
;;
927 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
928 build_alias
=$ac_optarg ;;
930 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
931 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
932 ac_prev
=cache_file
;;
933 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
934 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
935 cache_file
=$ac_optarg ;;
938 cache_file
=config.cache
;;
940 -datadir |
--datadir |
--datadi |
--datad)
942 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
943 datadir
=$ac_optarg ;;
945 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
946 |
--dataroo |
--dataro |
--datar)
947 ac_prev
=datarootdir
;;
948 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
949 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
950 datarootdir
=$ac_optarg ;;
952 -disable-* |
--disable-*)
953 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
956 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
957 { (exit 1); exit 1; }; }
958 ac_useropt_orig
=$ac_useropt
959 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
964 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
965 ac_unrecognized_sep
=', ';;
967 eval enable_
$ac_useropt=no
;;
969 -docdir |
--docdir |
--docdi |
--doc |
--do)
971 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
974 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
976 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
979 -enable-* |
--enable-*)
980 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
983 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
984 { (exit 1); exit 1; }; }
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval enable_
$ac_useropt=\
$ac_optarg ;;
996 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
997 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
998 |
--exec |
--exe |
--ex)
999 ac_prev
=exec_prefix
;;
1000 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1001 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1002 |
--exec=* |
--exe=* |
--ex=*)
1003 exec_prefix
=$ac_optarg ;;
1005 -gas |
--gas |
--ga |
--g)
1006 # Obsolete; use --with-gas.
1009 -help |
--help |
--hel |
--he |
-h)
1010 ac_init_help
=long
;;
1011 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1012 ac_init_help
=recursive
;;
1013 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1014 ac_init_help
=short
;;
1016 -host |
--host |
--hos |
--ho)
1017 ac_prev
=host_alias
;;
1018 -host=* |
--host=* |
--hos=* |
--ho=*)
1019 host_alias
=$ac_optarg ;;
1021 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1023 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1025 htmldir
=$ac_optarg ;;
1027 -includedir |
--includedir |
--includedi |
--included |
--include \
1028 |
--includ |
--inclu |
--incl |
--inc)
1029 ac_prev
=includedir
;;
1030 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1031 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1032 includedir
=$ac_optarg ;;
1034 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1036 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1037 infodir
=$ac_optarg ;;
1039 -libdir |
--libdir |
--libdi |
--libd)
1041 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1042 libdir
=$ac_optarg ;;
1044 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1045 |
--libexe |
--libex |
--libe)
1046 ac_prev
=libexecdir
;;
1047 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1048 |
--libexe=* |
--libex=* |
--libe=*)
1049 libexecdir
=$ac_optarg ;;
1051 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1052 ac_prev
=localedir
;;
1053 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1054 localedir
=$ac_optarg ;;
1056 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1057 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1058 ac_prev
=localstatedir
;;
1059 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1060 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1061 localstatedir
=$ac_optarg ;;
1063 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1065 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1066 mandir
=$ac_optarg ;;
1068 -nfp |
--nfp |
--nf)
1069 # Obsolete; use --without-fp.
1072 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1073 |
--no-cr |
--no-c |
-n)
1076 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1077 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1080 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1081 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1082 |
--oldin |
--oldi |
--old |
--ol |
--o)
1083 ac_prev
=oldincludedir
;;
1084 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1085 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1086 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1087 oldincludedir
=$ac_optarg ;;
1089 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1091 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1092 prefix
=$ac_optarg ;;
1094 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1095 |
--program-pre |
--program-pr |
--program-p)
1096 ac_prev
=program_prefix
;;
1097 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1098 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1099 program_prefix
=$ac_optarg ;;
1101 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1102 |
--program-suf |
--program-su |
--program-s)
1103 ac_prev
=program_suffix
;;
1104 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1105 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1106 program_suffix
=$ac_optarg ;;
1108 -program-transform-name |
--program-transform-name \
1109 |
--program-transform-nam |
--program-transform-na \
1110 |
--program-transform-n |
--program-transform- \
1111 |
--program-transform |
--program-transfor \
1112 |
--program-transfo |
--program-transf \
1113 |
--program-trans |
--program-tran \
1114 |
--progr-tra |
--program-tr |
--program-t)
1115 ac_prev
=program_transform_name
;;
1116 -program-transform-name=* |
--program-transform-name=* \
1117 |
--program-transform-nam=* |
--program-transform-na=* \
1118 |
--program-transform-n=* |
--program-transform-=* \
1119 |
--program-transform=* |
--program-transfor=* \
1120 |
--program-transfo=* |
--program-transf=* \
1121 |
--program-trans=* |
--program-tran=* \
1122 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1123 program_transform_name
=$ac_optarg ;;
1125 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1127 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1128 pdfdir
=$ac_optarg ;;
1130 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1132 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1135 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1136 |
-silent |
--silent |
--silen |
--sile |
--sil)
1139 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1141 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1143 sbindir
=$ac_optarg ;;
1145 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1146 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1147 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1149 ac_prev
=sharedstatedir
;;
1150 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1151 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1152 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1154 sharedstatedir
=$ac_optarg ;;
1156 -site |
--site |
--sit)
1158 -site=* |
--site=* |
--sit=*)
1161 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1163 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1164 srcdir
=$ac_optarg ;;
1166 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1167 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1168 ac_prev
=sysconfdir
;;
1169 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1170 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1171 sysconfdir
=$ac_optarg ;;
1173 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1174 ac_prev
=target_alias
;;
1175 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1176 target_alias
=$ac_optarg ;;
1178 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1181 -version |
--version |
--versio |
--versi |
--vers |
-V)
1182 ac_init_version
=: ;;
1185 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1188 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1189 { (exit 1); exit 1; }; }
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=\
$ac_optarg ;;
1201 -without-* |
--without-*)
1202 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1205 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1206 { (exit 1); exit 1; }; }
1207 ac_useropt_orig
=$ac_useropt
1208 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1213 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214 ac_unrecognized_sep
=', ';;
1216 eval with_
$ac_useropt=no
;;
1219 # Obsolete; use --with-x.
1222 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1223 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1224 ac_prev
=x_includes
;;
1225 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1226 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1227 x_includes
=$ac_optarg ;;
1229 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1230 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1231 ac_prev
=x_libraries
;;
1232 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1233 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1234 x_libraries
=$ac_optarg ;;
1236 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1237 Try \`$0 --help' for more information." >&2
1238 { (exit 1); exit 1; }; }
1242 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1245 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1246 { (exit 1); exit 1; }; }
1247 eval $ac_envvar=\
$ac_optarg
1248 export $ac_envvar ;;
1251 # FIXME: should be removed in autoconf 3.0.
1252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1261 if test -n "$ac_prev"; then
1262 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1263 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1264 { (exit 1); exit 1; }; }
1267 if test -n "$ac_unrecognized_opts"; then
1268 case $enable_option_checking in
1270 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1271 { (exit 1); exit 1; }; } ;;
1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1276 # Check all directory arguments for consistency.
1277 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1278 datadir sysconfdir sharedstatedir localstatedir includedir \
1279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1280 libdir localedir mandir
1282 eval ac_val
=\$
$ac_var
1283 # Remove trailing slashes.
1286 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1287 eval $ac_var=\
$ac_val;;
1289 # Be sure to have absolute directory names.
1291 [\\/$
]* | ?
:[\\/]* ) continue;;
1292 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1294 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1295 { (exit 1); exit 1; }; }
1298 # There might be people who depend on the old broken behavior: `$host'
1299 # used to hold the argument of --host etc.
1300 # FIXME: To remove some day.
1303 target
=$target_alias
1305 # FIXME: To remove some day.
1306 if test "x$host_alias" != x
; then
1307 if test "x$build_alias" = x
; then
1308 cross_compiling
=maybe
1309 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1310 If a cross compiler is detected then cross compile mode will be used." >&2
1311 elif test "x$build_alias" != "x$host_alias"; then
1317 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1319 test "$silent" = yes && exec 6>/dev
/null
1322 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1323 ac_ls_di
=`ls -di .` &&
1324 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1325 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1326 { (exit 1); exit 1; }; }
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1329 { (exit 1); exit 1; }; }
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted
=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir
=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$as_myself" : 'X\(//\)[^/]' \| \
1339 X"$as_myself" : 'X\(//\)$' \| \
1340 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1364 ac_srcdir_defaulted
=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1368 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1369 { (exit 1); exit 1; }; }
1371 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1373 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1374 { (exit 1); exit 1; }; }
1376 # When building in place, set srcdir=.
1377 if test "$ac_abs_confdir" = "$ac_pwd"; then
1380 # Remove unnecessary trailing slashes from srcdir.
1381 # Double slashes in file names in object file debugging info
1382 # mess up M-x gdb in Emacs.
1384 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1386 for ac_var
in $ac_precious_vars; do
1387 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1388 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1389 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1394 # Report the --help message.
1396 if test "$ac_init_help" = "long"; then
1397 # Omit some internal or obsolete options to make the list less imposing.
1398 # This message is too long to be a string in the A/UX 3.1 sh.
1400 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1402 Usage: $0 [OPTION]... [VAR=VALUE]...
1404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1405 VAR=VALUE. See below for descriptions of some of the useful variables.
1407 Defaults for the options are specified in brackets.
1410 -h, --help display this help and exit
1411 --help=short display options specific to this package
1412 --help=recursive display the short help of all the included packages
1413 -V, --version display version information and exit
1414 -q, --quiet, --silent do not print \`checking...' messages
1415 --cache-file=FILE cache test results in FILE [disabled]
1416 -C, --config-cache alias for \`--cache-file=config.cache'
1417 -n, --no-create do not create output files
1418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1420 Installation directories:
1421 --prefix=PREFIX install architecture-independent files in PREFIX
1422 [$ac_default_prefix]
1423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1426 By default, \`make install' will install all the files in
1427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1429 for instance \`--prefix=\$HOME'.
1431 For better control, use the options below.
1433 Fine tuning of the installation directories:
1434 --bindir=DIR user executables [EPREFIX/bin]
1435 --sbindir=DIR system admin executables [EPREFIX/sbin]
1436 --libexecdir=DIR program executables [EPREFIX/libexec]
1437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1440 --libdir=DIR object code libraries [EPREFIX/lib]
1441 --includedir=DIR C header files [PREFIX/include]
1442 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1443 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1444 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1445 --infodir=DIR info documentation [DATAROOTDIR/info]
1446 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1447 --mandir=DIR man documentation [DATAROOTDIR/man]
1448 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1449 --htmldir=DIR html documentation [DOCDIR]
1450 --dvidir=DIR dvi documentation [DOCDIR]
1451 --pdfdir=DIR pdf documentation [DOCDIR]
1452 --psdir=DIR ps documentation [DOCDIR]
1458 --build=BUILD configure
for building on BUILD
[guessed
]
1459 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1463 if test -n "$ac_init_help"; then
1464 case $ac_init_help in
1465 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1470 --disable-option-checking ignore unrecognized
--enable/--with options
1471 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1472 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1473 --disable-sanity-checks really
do not use threads
(should not be used except
1474 in special situations
) [default
=yes]
1475 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1477 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1478 --enable-profile build profiled library
[default
=no
]
1479 --enable-omitfp build undebuggable optimized library
[default
=no
]
1480 --enable-bounded build with runtime bounds checking
[default
=no
]
1481 --disable-versioning do not include versioning information
in the library
1482 objects
[default
=yes if supported
]
1483 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1484 [default
=glibc default
]
1485 --enable-stackguard-randomization
1486 initialize __stack_chk_guard canary with a random
1487 number
at program start
1488 --enable-add-ons[=DIRS...
]
1489 configure and build add-ons
in DIR1
,DIR2
,... search
1490 for add-ons
if no parameter given
1491 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1492 --enable-bind-now disable lazy relocations
in DSOs
1493 --enable-static-nss build static NSS modules
[default
=no
]
1494 --disable-force-install don
't force installation of files from this package,
1495 even if they are older than the installed files
1496 --enable-kernel=VERSION compile for compatibility with kernel not older than
1498 --enable-all-warnings enable all useful warnings gcc can issue
1499 --enable-multi-arch enable single DSO with optimizations for multiple
1501 --enable-experimental-malloc
1502 enable experimental malloc features
1503 --enable-nss-crypt enable libcrypt to use nss
1506 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1507 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1508 --with-gd=DIR find libgd include dir and library with prefix DIR
1509 --with-gd-include=DIR find libgd include files in DIR
1510 --with-gd-lib=DIR find libgd library files in DIR
1511 --with-fp if using floating-point hardware [default=yes]
1512 --with-binutils=PATH specify location of binutils (as and ld)
1513 --with-elf if using the ELF object format
1514 --with-selinux if building with SELinux support
1515 --with-xcoff if using the XCOFF object format
1516 --without-cvs if CVS should not be used
1517 --with-headers=PATH location of system headers to use (for example
1518 /usr/src/linux/include) [default=compiler default]
1519 --with-tls enable support for TLS
1520 --without-__thread do not use TLS features even when supporting them
1521 --with-cpu=CPU select code for CPU variant
1523 Some influential environment variables:
1524 CC C compiler command
1525 CFLAGS C compiler flags
1526 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1527 nonstandard directory <lib dir>
1528 LIBS libraries to pass to the linker, e.g. -l<library>
1529 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1530 you have headers in a nonstandard directory <include dir>
1532 CXX C++ compiler command
1533 CXXFLAGS C++ compiler flags
1535 Use these variables to override the choices made by `configure' or to
help
1536 it to
find libraries and programs with nonstandard names
/locations.
1538 Report bugs to
<glibc
>.
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1546 test -d "$ac_dir" ||
1547 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1552 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1554 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1555 # A ".." for each directory in $ac_dir_suffix.
1556 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1557 case $ac_top_builddir_sub in
1558 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1559 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1562 ac_abs_top_builddir
=$ac_pwd
1563 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1564 # for backward compatibility:
1565 ac_top_builddir
=$ac_top_build_prefix
1568 .
) # We are building in place.
1570 ac_top_srcdir
=$ac_top_builddir_sub
1571 ac_abs_top_srcdir
=$ac_pwd ;;
1572 [\\/]* | ?
:[\\/]* ) # Absolute name.
1573 ac_srcdir
=$srcdir$ac_dir_suffix;
1574 ac_top_srcdir
=$srcdir
1575 ac_abs_top_srcdir
=$srcdir ;;
1577 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1578 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1579 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1581 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1583 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1584 # Check for guested configure.
1585 if test -f "$ac_srcdir/configure.gnu"; then
1587 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1588 elif test -f "$ac_srcdir/configure"; then
1590 $SHELL "$ac_srcdir/configure" --help=recursive
1592 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1598 test -n "$ac_init_help" && exit $ac_status
1599 if $ac_init_version; then
1601 GNU C Library configure
(see version.h
)
1602 generated by GNU Autoconf
2.63
1604 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1605 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1606 This configure
script is free software
; the Free Software Foundation
1607 gives unlimited permission to copy
, distribute and modify it.
1611 cat >config.log
<<_ACEOF
1612 This file contains any messages produced by compilers while
1613 running configure, to aid debugging if configure makes a mistake.
1615 It was created by GNU C Library $as_me (see version.h), which was
1616 generated by GNU Autoconf 2.63. Invocation command line was
1628 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1629 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1630 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1631 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1632 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1634 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1635 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1637 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1638 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1639 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1640 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1641 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1642 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1643 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1651 test -z "$as_dir" && as_dir
=.
1652 $as_echo "PATH: $as_dir"
1668 # Keep a trace of the command line.
1669 # Strip out --no-create and --no-recursion so they do not pile up.
1670 # Strip out --silent because we don't want to record it for future runs.
1671 # Also quote any args containing shell meta-characters.
1672 # Make two passes to allow for proper duplicate-argument suppression.
1676 ac_must_keep_next
=false
1682 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1683 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1684 |
-silent |
--silent |
--silen |
--sile |
--sil)
1687 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1690 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1692 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1693 if test $ac_must_keep_next = true
; then
1694 ac_must_keep_next
=false
# Got value, back to normal.
1697 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1698 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1699 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1700 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1701 case "$ac_configure_args0 " in
1702 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1705 -* ) ac_must_keep_next
=true
;;
1708 ac_configure_args
="$ac_configure_args '$ac_arg'"
1713 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1714 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1716 # When interrupted or exit'd, cleanup temporary files, and complete
1717 # config.log. We remove comments because anyway the quotes in there
1718 # would cause problems or look ugly.
1719 # WARNING: Use '\'' to represent an apostrophe within the trap.
1720 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1721 trap 'exit_status=$?
1722 # Save into config.log some information that might help in debugging.
1727 ## ---------------- ##
1728 ## Cache variables. ##
1729 ## ---------------- ##
1732 # The following way of writing the cache mishandles newlines in values,
1734 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1735 eval ac_val=\$$ac_var
1739 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1740 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1743 _ | IFS | as_nl) ;; #(
1744 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1745 *) $as_unset $ac_var ;;
1750 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1751 *${as_nl}ac_space=\ *)
1753 "s/'\''/'\''\\\\'\'''\''/g;
1754 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1757 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1765 ## ----------------- ##
1766 ## Output variables. ##
1767 ## ----------------- ##
1770 for ac_var in $ac_subst_vars
1772 eval ac_val=\$$ac_var
1774 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1776 $as_echo "$ac_var='\''$ac_val'\''"
1780 if test -n "$ac_subst_files"; then
1782 ## ------------------- ##
1783 ## File substitutions. ##
1784 ## ------------------- ##
1787 for ac_var
in $ac_subst_files
1789 eval ac_val
=\$
$ac_var
1791 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1793 $as_echo "$ac_var='\''$ac_val'\''"
1798 if test -s confdefs.h; then
1808 test "$ac_signal" != 0 &&
1809 $as_echo "$as_me: caught signal $ac_signal"
1810 $as_echo "$as_me: exit $exit_status"
1812 rm -f core *.core core.conftest.* &&
1813 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1816 for ac_signal
in 1 2 13 15; do
1817 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1821 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1822 rm -f -r conftest
* confdefs.h
1824 # Predefined preprocessor variables.
1826 cat >>confdefs.h
<<_ACEOF
1827 #define PACKAGE_NAME "$PACKAGE_NAME"
1831 cat >>confdefs.h
<<_ACEOF
1832 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1836 cat >>confdefs.h
<<_ACEOF
1837 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1841 cat >>confdefs.h
<<_ACEOF
1842 #define PACKAGE_STRING "$PACKAGE_STRING"
1846 cat >>confdefs.h
<<_ACEOF
1847 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1851 # Let the site file select an alternate cache file if it wants to.
1852 # Prefer an explicitly selected file to automatically selected ones.
1855 if test -n "$CONFIG_SITE"; then
1856 ac_site_file1
=$CONFIG_SITE
1857 elif test "x$prefix" != xNONE
; then
1858 ac_site_file1
=$prefix/share
/config.site
1859 ac_site_file2
=$prefix/etc
/config.site
1861 ac_site_file1
=$ac_default_prefix/share
/config.site
1862 ac_site_file2
=$ac_default_prefix/etc
/config.site
1864 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1866 test "x$ac_site_file" = xNONE
&& continue
1867 if test -r "$ac_site_file"; then
1868 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1869 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1870 sed 's/^/| /' "$ac_site_file" >&5
1875 if test -r "$cache_file"; then
1876 # Some versions of bash will fail to source /dev/null (special
1877 # files actually), so we avoid doing that.
1878 if test -f "$cache_file"; then
1879 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1880 $as_echo "$as_me: loading cache $cache_file" >&6;}
1882 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1883 *) .
"./$cache_file";;
1887 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1888 $as_echo "$as_me: creating cache $cache_file" >&6;}
1892 # Check that the precious variables saved in the cache have kept the same
1894 ac_cache_corrupted
=false
1895 for ac_var
in $ac_precious_vars; do
1896 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1897 eval ac_new_set
=\
$ac_env_${ac_var}_set
1898 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1899 eval ac_new_val
=\
$ac_env_${ac_var}_value
1900 case $ac_old_set,$ac_new_set in
1902 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1903 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1904 ac_cache_corrupted
=: ;;
1906 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1907 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1908 ac_cache_corrupted
=: ;;
1911 if test "x$ac_old_val" != "x$ac_new_val"; then
1912 # differences in whitespace do not lead to failure.
1913 ac_old_val_w
=`echo x $ac_old_val`
1914 ac_new_val_w
=`echo x $ac_new_val`
1915 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1916 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1917 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1918 ac_cache_corrupted
=:
1920 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1921 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1922 eval $ac_var=\
$ac_old_val
1924 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1925 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1926 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1927 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1930 # Pass precious variables to config.status.
1931 if test "$ac_new_set" = set; then
1933 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1934 *) ac_arg
=$ac_var=$ac_new_val ;;
1936 case " $ac_configure_args " in
1937 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1938 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1942 if $ac_cache_corrupted; then
1943 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1945 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1946 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1947 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1948 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1949 { (exit 1); exit 1; }; }
1977 ac_cpp
='$CPP $CPPFLAGS'
1978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1984 ac_config_headers
="$ac_config_headers config.h"
1987 for ac_dir
in scripts
"$srcdir"/scripts
; do
1988 if test -f "$ac_dir/install-sh"; then
1990 ac_install_sh
="$ac_aux_dir/install-sh -c"
1992 elif test -f "$ac_dir/install.sh"; then
1994 ac_install_sh
="$ac_aux_dir/install.sh -c"
1996 elif test -f "$ac_dir/shtool"; then
1998 ac_install_sh
="$ac_aux_dir/shtool install -c"
2002 if test -z "$ac_aux_dir"; then
2003 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2004 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2005 { (exit 1); exit 1; }; }
2008 # These three variables are undocumented and unsupported,
2009 # and are intended to be withdrawn in a future Autoconf release.
2010 # They can cause serious problems if a builder's source tree is in a directory
2011 # whose full name contains unusual characters.
2012 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2013 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2014 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2023 # Make sure we can run config.sub.
2024 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2025 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2026 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2027 { (exit 1); exit 1; }; }
2029 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2030 $as_echo_n "checking build system type... " >&6; }
2031 if test "${ac_cv_build+set}" = set; then
2032 $as_echo_n "(cached) " >&6
2034 ac_build_alias
=$build_alias
2035 test "x$ac_build_alias" = x
&&
2036 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2037 test "x$ac_build_alias" = x
&&
2038 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2039 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2040 { (exit 1); exit 1; }; }
2041 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2042 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2043 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2044 { (exit 1); exit 1; }; }
2047 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2048 $as_echo "$ac_cv_build" >&6; }
2049 case $ac_cv_build in
2051 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2052 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2053 { (exit 1); exit 1; }; };;
2056 ac_save_IFS
=$IFS; IFS
='-'
2062 # Remember, the first character of IFS is used to create $*,
2063 # except with old shells:
2066 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2069 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2070 $as_echo_n "checking host system type... " >&6; }
2071 if test "${ac_cv_host+set}" = set; then
2072 $as_echo_n "(cached) " >&6
2074 if test "x$host_alias" = x
; then
2075 ac_cv_host
=$ac_cv_build
2077 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2078 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2079 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2080 { (exit 1); exit 1; }; }
2084 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2085 $as_echo "$ac_cv_host" >&6; }
2088 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2089 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2090 { (exit 1); exit 1; }; };;
2093 ac_save_IFS
=$IFS; IFS
='-'
2099 # Remember, the first character of IFS is used to create $*,
2100 # except with old shells:
2103 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2108 ac_cpp
='$CPP $CPPFLAGS'
2109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2112 if test -n "$ac_tool_prefix"; then
2113 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2114 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2115 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2116 $as_echo_n "checking for $ac_word... " >&6; }
2117 if test "${ac_cv_prog_CC+set}" = set; then
2118 $as_echo_n "(cached) " >&6
2120 if test -n "$CC"; then
2121 ac_cv_prog_CC
="$CC" # Let the user override the test.
2123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2127 test -z "$as_dir" && as_dir
=.
2128 for ac_exec_ext
in '' $ac_executable_extensions; do
2129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2130 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2131 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 if test -n "$CC"; then
2142 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2143 $as_echo "$CC" >&6; }
2145 { $as_echo "$as_me:$LINENO: result: no" >&5
2146 $as_echo "no" >&6; }
2151 if test -z "$ac_cv_prog_CC"; then
2153 # Extract the first word of "gcc", so it can be a program name with args.
2154 set dummy gcc
; ac_word
=$2
2155 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 $as_echo_n "checking for $ac_word... " >&6; }
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158 $as_echo_n "(cached) " >&6
2160 if test -n "$ac_ct_CC"; then
2161 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir
=.
2168 for ac_exec_ext
in '' $ac_executable_extensions; do
2169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2170 ac_cv_prog_ac_ct_CC
="gcc"
2171 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2181 if test -n "$ac_ct_CC"; then
2182 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2183 $as_echo "$ac_ct_CC" >&6; }
2185 { $as_echo "$as_me:$LINENO: result: no" >&5
2186 $as_echo "no" >&6; }
2189 if test "x$ac_ct_CC" = x
; then
2192 case $cross_compiling:$ac_tool_warned in
2194 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2196 ac_tool_warned
=yes ;;
2204 if test -z "$CC"; then
2205 if test -n "$ac_tool_prefix"; then
2206 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2207 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2208 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2209 $as_echo_n "checking for $ac_word... " >&6; }
2210 if test "${ac_cv_prog_CC+set}" = set; then
2211 $as_echo_n "(cached) " >&6
2213 if test -n "$CC"; then
2214 ac_cv_prog_CC
="$CC" # Let the user override the test.
2216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2220 test -z "$as_dir" && as_dir
=.
2221 for ac_exec_ext
in '' $ac_executable_extensions; do
2222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2223 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2224 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 if test -n "$CC"; then
2235 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2236 $as_echo "$CC" >&6; }
2238 { $as_echo "$as_me:$LINENO: result: no" >&5
2239 $as_echo "no" >&6; }
2245 if test -z "$CC"; then
2246 # Extract the first word of "cc", so it can be a program name with args.
2247 set dummy cc
; ac_word
=$2
2248 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2249 $as_echo_n "checking for $ac_word... " >&6; }
2250 if test "${ac_cv_prog_CC+set}" = set; then
2251 $as_echo_n "(cached) " >&6
2253 if test -n "$CC"; then
2254 ac_cv_prog_CC
="$CC" # Let the user override the test.
2257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir
=.
2262 for ac_exec_ext
in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2265 ac_prog_rejected
=yes
2269 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 if test $ac_prog_rejected = yes; then
2277 # We found a bogon in the path, so make sure we never use it.
2278 set dummy
$ac_cv_prog_CC
2280 if test $# != 0; then
2281 # We chose a different compiler from the bogus one.
2282 # However, it has the same basename, so the bogon will be chosen
2283 # first if we set CC to just the basename; use the full file name.
2285 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2291 if test -n "$CC"; then
2292 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2293 $as_echo "$CC" >&6; }
2295 { $as_echo "$as_me:$LINENO: result: no" >&5
2296 $as_echo "no" >&6; }
2301 if test -z "$CC"; then
2302 if test -n "$ac_tool_prefix"; then
2303 for ac_prog
in cl.exe
2305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2306 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2307 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 $as_echo_n "checking for $ac_word... " >&6; }
2309 if test "${ac_cv_prog_CC+set}" = set; then
2310 $as_echo_n "(cached) " >&6
2312 if test -n "$CC"; then
2313 ac_cv_prog_CC
="$CC" # Let the user override the test.
2315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir
=.
2320 for ac_exec_ext
in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2323 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 if test -n "$CC"; then
2334 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2335 $as_echo "$CC" >&6; }
2337 { $as_echo "$as_me:$LINENO: result: no" >&5
2338 $as_echo "no" >&6; }
2342 test -n "$CC" && break
2345 if test -z "$CC"; then
2347 for ac_prog
in cl.exe
2349 # Extract the first word of "$ac_prog", so it can be a program name with args.
2350 set dummy
$ac_prog; ac_word
=$2
2351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2354 $as_echo_n "(cached) " >&6
2356 if test -n "$ac_ct_CC"; then
2357 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir
=.
2364 for ac_exec_ext
in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_ac_ct_CC
="$ac_prog"
2367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2377 if test -n "$ac_ct_CC"; then
2378 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2379 $as_echo "$ac_ct_CC" >&6; }
2381 { $as_echo "$as_me:$LINENO: result: no" >&5
2382 $as_echo "no" >&6; }
2386 test -n "$ac_ct_CC" && break
2389 if test "x$ac_ct_CC" = x
; then
2392 case $cross_compiling:$ac_tool_warned in
2394 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2396 ac_tool_warned
=yes ;;
2405 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2407 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2408 See \`config.log' for more details." >&5
2409 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2410 See \`config.log' for more details." >&2;}
2411 { (exit 1); exit 1; }; }; }
2413 # Provide some information about the compiler.
2414 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2417 { (ac_try
="$ac_compiler --version >&5"
2419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2423 $as_echo "$ac_try_echo") >&5
2424 (eval "$ac_compiler --version >&5") 2>&5
2426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }
2428 { (ac_try="$ac_compiler -v >&5"
2430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2431 *) ac_try_echo
=$ac_try;;
2433 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2434 $as_echo "$ac_try_echo") >&5
2435 (eval "$ac_compiler -v >&5") 2>&5
2437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }
2439 { (ac_try
="$ac_compiler -V >&5"
2441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2445 $as_echo "$ac_try_echo") >&5
2446 (eval "$ac_compiler -V >&5") 2>&5
2448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }
2452 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2453 $as_echo_n "checking for suffix of object files... " >&6; }
2454 if test "${ac_cv_objext+set}" = set; then
2455 $as_echo_n "(cached) " >&6
2457 cat >conftest.$ac_ext <<_ACEOF
2460 cat confdefs.h >>conftest.$ac_ext
2461 cat >>conftest.$ac_ext <<_ACEOF
2462 /* end confdefs.h. */
2472 rm -f conftest.o conftest.obj
2473 if { (ac_try="$ac_compile"
2475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2476 *) ac_try_echo
=$ac_try;;
2478 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2479 $as_echo "$ac_try_echo") >&5
2480 (eval "$ac_compile") 2>&5
2482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; then
2484 for ac_file
in conftest.o conftest.obj conftest.
*; do
2485 test -f "$ac_file" ||
continue;
2487 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2488 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2493 $as_echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.
$ac_ext >&5
2496 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2498 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2499 See \`config.log' for more details." >&5
2500 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2501 See \`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }; }
2505 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2507 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2508 $as_echo "$ac_cv_objext" >&6; }
2509 OBJEXT
=$ac_cv_objext
2511 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2512 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2513 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2514 $as_echo_n "(cached) " >&6
2516 cat >conftest.
$ac_ext <<_ACEOF
2519 cat confdefs.h
>>conftest.
$ac_ext
2520 cat >>conftest.
$ac_ext <<_ACEOF
2521 /* end confdefs.h. */
2534 rm -f conftest.
$ac_objext
2535 if { (ac_try
="$ac_compile"
2537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2541 $as_echo "$ac_try_echo") >&5
2542 (eval "$ac_compile") 2>conftest.er1
2544 grep -v '^ *+' conftest.er1 >conftest.err
2546 cat conftest.err >&5
2547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); } && {
2549 test -z "$ac_c_werror_flag" ||
2550 test ! -s conftest.err
2551 } && test -s conftest.$ac_objext; then
2554 $as_echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.$ac_ext >&5
2560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2564 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2565 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2566 if test $ac_compiler_gnu = yes; then
2571 ac_test_CFLAGS=${CFLAGS+set}
2572 ac_save_CFLAGS=$CFLAGS
2573 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2574 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2575 if test "${ac_cv_prog_cc_g+set}" = set; then
2576 $as_echo_n "(cached) " >&6
2578 ac_save_c_werror_flag=$ac_c_werror_flag
2579 ac_c_werror_flag=yes
2582 cat >conftest.$ac_ext <<_ACEOF
2585 cat confdefs.h >>conftest.$ac_ext
2586 cat >>conftest.$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2597 rm -f conftest.$ac_objext
2598 if { (ac_try="$ac_compile"
2600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2601 *) ac_try_echo
=$ac_try;;
2603 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2604 $as_echo "$ac_try_echo") >&5
2605 (eval "$ac_compile") 2>conftest.er1
2607 grep -v '^ *+' conftest.er1
>conftest.err
2609 cat conftest.err
>&5
2610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); } && {
2612 test -z "$ac_c_werror_flag" ||
2613 test ! -s conftest.err
2614 } && test -s conftest.
$ac_objext; then
2617 $as_echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.
$ac_ext >&5
2621 cat >conftest.
$ac_ext <<_ACEOF
2624 cat confdefs.h
>>conftest.
$ac_ext
2625 cat >>conftest.
$ac_ext <<_ACEOF
2626 /* end confdefs.h. */
2636 rm -f conftest.
$ac_objext
2637 if { (ac_try
="$ac_compile"
2639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2643 $as_echo "$ac_try_echo") >&5
2644 (eval "$ac_compile") 2>conftest.er1
2646 grep -v '^ *+' conftest.er1 >conftest.err
2648 cat conftest.err >&5
2649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } && {
2651 test -z "$ac_c_werror_flag" ||
2652 test ! -s conftest.err
2653 } && test -s conftest.$ac_objext; then
2656 $as_echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2659 ac_c_werror_flag=$ac_save_c_werror_flag
2661 cat >conftest.$ac_ext <<_ACEOF
2664 cat confdefs.h >>conftest.$ac_ext
2665 cat >>conftest.$ac_ext <<_ACEOF
2666 /* end confdefs.h. */
2676 rm -f conftest.$ac_objext
2677 if { (ac_try="$ac_compile"
2679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2680 *) ac_try_echo
=$ac_try;;
2682 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2683 $as_echo "$ac_try_echo") >&5
2684 (eval "$ac_compile") 2>conftest.er1
2686 grep -v '^ *+' conftest.er1
>conftest.err
2688 cat conftest.err
>&5
2689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); } && {
2691 test -z "$ac_c_werror_flag" ||
2692 test ! -s conftest.err
2693 } && test -s conftest.
$ac_objext; then
2696 $as_echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.
$ac_ext >&5
2702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2709 ac_c_werror_flag
=$ac_save_c_werror_flag
2711 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2712 $as_echo "$ac_cv_prog_cc_g" >&6; }
2713 if test "$ac_test_CFLAGS" = set; then
2714 CFLAGS
=$ac_save_CFLAGS
2715 elif test $ac_cv_prog_cc_g = yes; then
2716 if test "$GCC" = yes; then
2722 if test "$GCC" = yes; then
2728 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2729 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2730 if test "${ac_cv_prog_cc_c89+set}" = set; then
2731 $as_echo_n "(cached) " >&6
2733 ac_cv_prog_cc_c89
=no
2735 cat >conftest.
$ac_ext <<_ACEOF
2738 cat confdefs.h
>>conftest.
$ac_ext
2739 cat >>conftest.
$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2743 #include <sys/types.h>
2744 #include <sys/stat.h>
2745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2746 struct buf { int x; };
2747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2748 static char *e (p, i)
2754 static char *f (char * (*g) (char **, int), char **p, ...)
2759 s = g (p, va_arg (v,int));
2764 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2765 function prototypes and stuff, but not '\xHH' hex character constants.
2766 These don't provoke an error unfortunately, instead are silently treated
2767 as 'x'. The following induces an error, until -std is added to get
2768 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2769 array size at least. It's necessary to write '\x00'==0 to get something
2770 that's true only with -std. */
2771 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2773 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2774 inside strings and character constants. */
2776 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2778 int test (int i, double x);
2779 struct s1 {int (*f) (int a);};
2780 struct s2 {int (*f) (double a);};
2781 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2787 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2792 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2793 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2795 CC
="$ac_save_CC $ac_arg"
2796 rm -f conftest.
$ac_objext
2797 if { (ac_try
="$ac_compile"
2799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2803 $as_echo "$ac_try_echo") >&5
2804 (eval "$ac_compile") 2>conftest.er1
2806 grep -v '^ *+' conftest.er1 >conftest.err
2808 cat conftest.err >&5
2809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } && {
2811 test -z "$ac_c_werror_flag" ||
2812 test ! -s conftest.err
2813 } && test -s conftest.$ac_objext; then
2814 ac_cv_prog_cc_c89=$ac_arg
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2822 rm -f core conftest.err conftest.$ac_objext
2823 test "x$ac_cv_prog_cc_c89" != "xno" && break
2825 rm -f conftest.$ac_ext
2830 case "x$ac_cv_prog_cc_c89" in
2832 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2833 $as_echo "none needed" >&6; } ;;
2835 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2836 $as_echo "unsupported" >&6; } ;;
2838 CC="$CC $ac_cv_prog_cc_c89"
2839 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2840 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2845 ac_cpp='$CPP $CPPFLAGS'
2846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2850 if test $host != $build; then
2851 for ac_prog in gcc cc
2853 # Extract the first word of "$ac_prog", so it can be a program name with args.
2854 set dummy $ac_prog; ac_word=$2
2855 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2856 $as_echo_n "checking for $ac_word... " >&6; }
2857 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2858 $as_echo_n "(cached) " >&6
2860 if test -n "$BUILD_CC"; then
2861 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2870 ac_cv_prog_BUILD_CC="$ac_prog"
2871 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 BUILD_CC=$ac_cv_prog_BUILD_CC
2881 if test -n "$BUILD_CC"; then
2882 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2883 $as_echo "$BUILD_CC" >&6; }
2885 { $as_echo "$as_me:$LINENO: result: no" >&5
2886 $as_echo "no" >&6; }
2890 test -n "$BUILD_CC" && break
2896 ac_cpp='$CPP $CPPFLAGS'
2897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2900 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2901 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2902 # On Suns, sometimes $CPP names a directory.
2903 if test -n "$CPP" && test -d "$CPP"; then
2906 if test -z "$CPP"; then
2907 if test "${ac_cv_prog_CPP+set}" = set; then
2908 $as_echo_n "(cached) " >&6
2910 # Double quotes because CPP needs to be expanded
2911 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2914 for ac_c_preproc_warn_flag in '' yes
2916 # Use a header file that comes with gcc, so configuring glibc
2917 # with a fresh cross-compiler works.
2918 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2919 # <limits.h> exists even on freestanding compilers.
2920 # On the NeXT, cc -E runs the code through the compiler's parser,
2921 # not just through cpp. "Syntax error" is here to catch this case.
2922 cat >conftest.$ac_ext <<_ACEOF
2925 cat confdefs.h >>conftest.$ac_ext
2926 cat >>conftest.$ac_ext <<_ACEOF
2927 /* end confdefs.h. */
2929 # include <limits.h>
2931 # include <assert.h>
2935 if { (ac_try="$ac_cpp conftest.$ac_ext"
2937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2938 *) ac_try_echo
=$ac_try;;
2940 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2941 $as_echo "$ac_try_echo") >&5
2942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2944 grep -v '^ *+' conftest.er1
>conftest.err
2946 cat conftest.err
>&5
2947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } >/dev
/null
&& {
2949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2954 $as_echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.
$ac_ext >&5
2957 # Broken: fails on valid input.
2961 rm -f conftest.err conftest.
$ac_ext
2963 # OK, works on sane cases. Now check whether nonexistent headers
2964 # can be detected and how.
2965 cat >conftest.
$ac_ext <<_ACEOF
2968 cat confdefs.h
>>conftest.
$ac_ext
2969 cat >>conftest.
$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2971 #include <ac_nonexistent.h>
2973 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2979 $as_echo "$ac_try_echo") >&5
2980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2982 grep -v '^ *+' conftest.er1 >conftest.err
2984 cat conftest.err >&5
2985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } >/dev/null && {
2987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2990 # Broken: success on invalid input.
2993 $as_echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2996 # Passes both tests.
3001 rm -f conftest.err conftest.$ac_ext
3004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3005 rm -f conftest.err conftest.
$ac_ext
3006 if $ac_preproc_ok; then
3018 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3019 $as_echo "$CPP" >&6; }
3021 for ac_c_preproc_warn_flag
in '' yes
3023 # Use a header file that comes with gcc, so configuring glibc
3024 # with a fresh cross-compiler works.
3025 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3026 # <limits.h> exists even on freestanding compilers.
3027 # On the NeXT, cc -E runs the code through the compiler's parser,
3028 # not just through cpp. "Syntax error" is here to catch this case.
3029 cat >conftest.
$ac_ext <<_ACEOF
3032 cat confdefs.h
>>conftest.
$ac_ext
3033 cat >>conftest.
$ac_ext <<_ACEOF
3034 /* end confdefs.h. */
3036 # include <limits.h>
3038 # include <assert.h>
3042 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3048 $as_echo "$ac_try_echo") >&5
3049 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3051 grep -v '^ *+' conftest.er1 >conftest.err
3053 cat conftest.err >&5
3054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); } >/dev/null && {
3056 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3057 test ! -s conftest.err
3061 $as_echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.$ac_ext >&5
3064 # Broken: fails on valid input.
3068 rm -f conftest.err conftest.$ac_ext
3070 # OK, works on sane cases. Now check whether nonexistent headers
3071 # can be detected and how.
3072 cat >conftest.$ac_ext <<_ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3078 #include <ac_nonexistent.h>
3080 if { (ac_try="$ac_cpp conftest.$ac_ext"
3082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3083 *) ac_try_echo
=$ac_try;;
3085 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3086 $as_echo "$ac_try_echo") >&5
3087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3089 grep -v '^ *+' conftest.er1
>conftest.err
3091 cat conftest.err
>&5
3092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } >/dev
/null
&& {
3094 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3095 test ! -s conftest.err
3097 # Broken: success on invalid input.
3100 $as_echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.
$ac_ext >&5
3103 # Passes both tests.
3108 rm -f conftest.err conftest.
$ac_ext
3111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3112 rm -f conftest.err conftest.
$ac_ext
3113 if $ac_preproc_ok; then
3116 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3119 See \`config.log' for more details." >&5
3120 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3121 See \`config.log' for more details." >&2;}
3122 { (exit 1); exit 1; }; }; }
3126 ac_cpp
='$CPP $CPPFLAGS'
3127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3131 # We need the C++ compiler only for testing.
3133 ac_cpp
='$CXXCPP $CPPFLAGS'
3134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3137 if test -z "$CXX"; then
3138 if test -n "$CCC"; then
3141 if test -n "$ac_tool_prefix"; then
3142 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3145 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3146 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3147 $as_echo_n "checking for $ac_word... " >&6; }
3148 if test "${ac_cv_prog_CXX+set}" = set; then
3149 $as_echo_n "(cached) " >&6
3151 if test -n "$CXX"; then
3152 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir
=.
3159 for ac_exec_ext
in '' $ac_executable_extensions; do
3160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3161 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3162 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 if test -n "$CXX"; then
3173 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3174 $as_echo "$CXX" >&6; }
3176 { $as_echo "$as_me:$LINENO: result: no" >&5
3177 $as_echo "no" >&6; }
3181 test -n "$CXX" && break
3184 if test -z "$CXX"; then
3186 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3188 # Extract the first word of "$ac_prog", so it can be a program name with args.
3189 set dummy
$ac_prog; ac_word
=$2
3190 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3193 $as_echo_n "(cached) " >&6
3195 if test -n "$ac_ct_CXX"; then
3196 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir
=.
3203 for ac_exec_ext
in '' $ac_executable_extensions; do
3204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3205 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3206 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3216 if test -n "$ac_ct_CXX"; then
3217 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3218 $as_echo "$ac_ct_CXX" >&6; }
3220 { $as_echo "$as_me:$LINENO: result: no" >&5
3221 $as_echo "no" >&6; }
3225 test -n "$ac_ct_CXX" && break
3228 if test "x$ac_ct_CXX" = x
; then
3231 case $cross_compiling:$ac_tool_warned in
3233 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3235 ac_tool_warned
=yes ;;
3243 # Provide some information about the compiler.
3244 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3247 { (ac_try
="$ac_compiler --version >&5"
3249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3253 $as_echo "$ac_try_echo") >&5
3254 (eval "$ac_compiler --version >&5") 2>&5
3256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }
3258 { (ac_try="$ac_compiler -v >&5"
3260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3261 *) ac_try_echo
=$ac_try;;
3263 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3264 $as_echo "$ac_try_echo") >&5
3265 (eval "$ac_compiler -v >&5") 2>&5
3267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }
3269 { (ac_try
="$ac_compiler -V >&5"
3271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3275 $as_echo "$ac_try_echo") >&5
3276 (eval "$ac_compiler -V >&5") 2>&5
3278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }
3281 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3282 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3283 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3284 $as_echo_n "(cached) " >&6
3286 cat >conftest.$ac_ext <<_ACEOF
3289 cat confdefs.h >>conftest.$ac_ext
3290 cat >>conftest.$ac_ext <<_ACEOF
3291 /* end confdefs.h. */
3304 rm -f conftest.$ac_objext
3305 if { (ac_try="$ac_compile"
3307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3308 *) ac_try_echo
=$ac_try;;
3310 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3311 $as_echo "$ac_try_echo") >&5
3312 (eval "$ac_compile") 2>conftest.er1
3314 grep -v '^ *+' conftest.er1
>conftest.err
3316 cat conftest.err
>&5
3317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); } && {
3319 test -z "$ac_cxx_werror_flag" ||
3320 test ! -s conftest.err
3321 } && test -s conftest.
$ac_objext; then
3324 $as_echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.
$ac_ext >&5
3330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3331 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3334 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3335 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3336 if test $ac_compiler_gnu = yes; then
3341 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3342 ac_save_CXXFLAGS
=$CXXFLAGS
3343 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3344 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3345 if test "${ac_cv_prog_cxx_g+set}" = set; then
3346 $as_echo_n "(cached) " >&6
3348 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3349 ac_cxx_werror_flag
=yes
3352 cat >conftest.
$ac_ext <<_ACEOF
3355 cat confdefs.h
>>conftest.
$ac_ext
3356 cat >>conftest.
$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3367 rm -f conftest.
$ac_objext
3368 if { (ac_try
="$ac_compile"
3370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3371 *) ac_try_echo=$ac_try;;
3373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3374 $as_echo "$ac_try_echo") >&5
3375 (eval "$ac_compile") 2>conftest.er1
3377 grep -v '^ *+' conftest.er1 >conftest.err
3379 cat conftest.err >&5
3380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); } && {
3382 test -z "$ac_cxx_werror_flag" ||
3383 test ! -s conftest.err
3384 } && test -s conftest.$ac_objext; then
3385 ac_cv_prog_cxx_g=yes
3387 $as_echo "$as_me: failed program was:" >&5
3388 sed 's/^/| /' conftest.$ac_ext >&5
3391 cat >conftest.$ac_ext <<_ACEOF
3394 cat confdefs.h >>conftest.$ac_ext
3395 cat >>conftest.$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3406 rm -f conftest.$ac_objext
3407 if { (ac_try="$ac_compile"
3409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3410 *) ac_try_echo
=$ac_try;;
3412 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3413 $as_echo "$ac_try_echo") >&5
3414 (eval "$ac_compile") 2>conftest.er1
3416 grep -v '^ *+' conftest.er1
>conftest.err
3418 cat conftest.err
>&5
3419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } && {
3421 test -z "$ac_cxx_werror_flag" ||
3422 test ! -s conftest.err
3423 } && test -s conftest.
$ac_objext; then
3426 $as_echo "$as_me: failed program was:" >&5
3427 sed 's/^/| /' conftest.
$ac_ext >&5
3429 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3446 rm -f conftest.
$ac_objext
3447 if { (ac_try
="$ac_compile"
3449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3453 $as_echo "$ac_try_echo") >&5
3454 (eval "$ac_compile") 2>conftest.er1
3456 grep -v '^ *+' conftest.er1 >conftest.err
3458 cat conftest.err >&5
3459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); } && {
3461 test -z "$ac_cxx_werror_flag" ||
3462 test ! -s conftest.err
3463 } && test -s conftest.$ac_objext; then
3464 ac_cv_prog_cxx_g=yes
3466 $as_echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3481 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3482 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3483 if test "$ac_test_CXXFLAGS" = set; then
3484 CXXFLAGS=$ac_save_CXXFLAGS
3485 elif test $ac_cv_prog_cxx_g = yes; then
3486 if test "$GXX" = yes; then
3492 if test "$GXX" = yes; then
3499 ac_cpp='$CPP $CPPFLAGS'
3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3505 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3506 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3507 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
3508 { (exit 1); exit 1; }; }
3511 # This will get text that should go into config.make.
3514 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3516 # Check whether --with-gd was given.
3517 if test "${with_gd+set}" = set; then
3518 withval=$with_gd; case "$with_gd" in
3520 *) libgd_include="-I$withval/include"
3521 libgd_ldflags="-L$withval/lib" ;;
3527 # Check whether --with-gd-include was given.
3528 if test "${with_gd_include+set}" = set; then
3529 withval=$with_gd_include; case "$with_gd_include" in
3531 *) libgd_include="-I$withval" ;;
3537 # Check whether --with-gd-lib was given.
3538 if test "${with_gd_lib+set}" = set; then
3539 withval=$with_gd_lib; case "$with_gd_lib" in
3541 *) libgd_ldflags="-L$withval" ;;
3547 if test -n "$libgd_include"; then
3548 config_vars="$config_vars
3549 CFLAGS-memusagestat.c = $libgd_include"
3551 if test -n "$libgd_ldflags"; then
3552 config_vars="$config_vars
3553 libgd-LDFLAGS = $libgd_ldflags"
3557 # Check whether --with-fp was given.
3558 if test "${with_fp+set}" = set; then
3559 withval=$with_fp; with_fp=$withval
3566 # Check whether --with-binutils was given.
3567 if test "${with_binutils+set}" = set; then
3568 withval=$with_binutils; path_binutils=$withval
3574 # Check whether --with-elf was given.
3575 if test "${with_elf+set}" = set; then
3576 withval=$with_elf; elf=$withval
3582 # Check whether --with-selinux was given.
3583 if test "${with_selinux+set}" = set; then
3584 withval=$with_selinux; with_selinux=$withval
3590 # Check whether --with-xcoff was given.
3591 if test "${with_xcoff+set}" = set; then
3592 withval=$with_xcoff; xcoff=$withval
3598 # Check whether --with-cvs was given.
3599 if test "${with_cvs+set}" = set; then
3600 withval=$with_cvs; with_cvs=$withval
3605 if test "$with_cvs" = yes; then
3606 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3614 # Check whether --with-headers was given.
3615 if test "${with_headers+set}" = set; then
3616 withval=$with_headers; sysheaders=$withval
3622 # Check whether --enable-sanity-checks was given.
3623 if test "${enable_sanity_checks+set}" = set; then
3624 enableval=$enable_sanity_checks; enable_sanity=$enableval
3631 # Check whether --enable-check-abi was given.
3632 if test "${enable_check_abi+set}" = set; then
3633 enableval=$enable_check_abi; enable_check_abi=$enableval
3640 # Check whether --enable-shared was given.
3641 if test "${enable_shared+set}" = set; then
3642 enableval=$enable_shared; shared=$enableval
3647 # Check whether --enable-profile was given.
3648 if test "${enable_profile+set}" = set; then
3649 enableval=$enable_profile; profile=$enableval
3654 # Check whether --enable-omitfp was given.
3655 if test "${enable_omitfp+set}" = set; then
3656 enableval=$enable_omitfp; omitfp=$enableval
3661 # Check whether --enable-bounded was given.
3662 if test "${enable_bounded+set}" = set; then
3663 enableval=$enable_bounded; bounded=$enableval
3668 # Check whether --enable-versioning was given.
3669 if test "${enable_versioning+set}" = set; then
3670 enableval=$enable_versioning; enable_versioning=$enableval
3672 enable_versioning=yes
3676 # Check whether --enable-oldest-abi was given.
3677 if test "${enable_oldest_abi+set}" = set; then
3678 enableval=$enable_oldest_abi; oldest_abi=$enableval
3683 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3686 cat >>confdefs.h <<_ACEOF
3687 #define GLIBC_OLDEST_ABI "$oldest_abi"
3693 # Check whether --enable-stackguard-randomization was given.
3694 if test "${enable_stackguard_randomization+set}" = set; then
3695 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3697 enable_stackguard_randomize=no
3700 if test "$enable_stackguard_randomize" = yes; then
3701 cat >>confdefs.h <<\_ACEOF
3702 #define ENABLE_STACKGUARD_RANDOMIZE 1
3707 # Check whether --enable-add-ons was given.
3708 if test "${enable_add_ons+set}" = set; then
3709 enableval=$enable_add_ons;
3716 # Check whether --with-tls was given.
3717 if test "${with_tls+set}" = set; then
3718 withval=$with_tls; usetls=$withval
3725 # Check whether --with-__thread was given.
3726 if test "${with___thread+set}" = set; then
3727 withval=$with___thread; use__thread=$withval
3733 # Check whether --enable-hidden-plt was given.
3734 if test "${enable_hidden_plt+set}" = set; then
3735 enableval=$enable_hidden_plt; hidden=$enableval
3740 if test "x$hidden" = xno; then
3741 cat >>confdefs.h <<\_ACEOF
3747 # Check whether --enable-bind-now was given.
3748 if test "${enable_bind_now+set}" = set; then
3749 enableval=$enable_bind_now; bindnow=$enableval
3756 # Check whether --enable-static-nss was given.
3757 if test "${enable_static_nss+set}" = set; then
3758 enableval=$enable_static_nss; static_nss=$enableval
3763 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3765 cat >>confdefs.h <<\_ACEOF
3766 #define DO_STATIC_NSS 1
3771 # Check whether --enable-force-install was given.
3772 if test "${enable_force_install+set}" = set; then
3773 enableval=$enable_force_install; force_install=$enableval
3780 # Check whether --enable-kernel was given.
3781 if test "${enable_kernel+set}" = set; then
3782 enableval=$enable_kernel; minimum_kernel=$enableval
3785 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3786 # Better nothing than this.
3789 if test "$minimum_kernel" = current; then
3790 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3794 # Check whether --enable-all-warnings was given.
3795 if test "${enable_all_warnings+set}" = set; then
3796 enableval=$enable_all_warnings; all_warnings=$enableval
3801 # Check whether --enable-multi-arch was given.
3802 if test "${enable_multi_arch+set}" = set; then
3803 enableval=$enable_multi_arch; multi_arch=$enableval
3808 if test x"$multi_arch" != xno; then
3809 multi_arch_d=/multiarch
3812 # Check whether --enable-experimental-malloc was given.
3813 if test "${enable_experimental_malloc+set}" = set; then
3814 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3819 # Check whether --enable-nss-crypt was given.
3820 if test "${enable_nss_crypt+set}" = set; then
3821 enableval=$enable_nss_crypt; nss_crypt=$enableval
3826 if test x$nss_crypt = xyes; then
3827 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3828 if test $? -ne 0; then
3829 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3830 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3831 { (exit 1); exit 1; }; }
3833 old_CFLAGS="$CFLAGS"
3834 CFLAGS="$CFLAGS $nss_includes"
3836 cat >conftest.$ac_ext <<_ACEOF
3839 #include <nsslowhash.h>
3840 void f (void) { NSSLOW_Init (); }
3842 rm -f conftest.$ac_objext
3843 if { (ac_try="$ac_compile"
3845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3846 *) ac_try_echo
=$ac_try;;
3848 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3849 $as_echo "$ac_try_echo") >&5
3850 (eval "$ac_compile") 2>conftest.er1
3852 grep -v '^ *+' conftest.er1
>conftest.err
3854 cat conftest.err
>&5
3855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest.
$ac_objext; then
3860 libc_cv_nss_crypt
=yes
3862 $as_echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.
$ac_ext >&5
3865 { { $as_echo "$as_me:$LINENO: error:
3866 cannot find NSS headers with lowlevel hash function interfaces" >&5
3867 $as_echo "$as_me: error:
3868 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3869 { (exit 1); exit 1; }; }
3872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3874 LIBS
="$LIBS -lfreebl3"
3875 cat >conftest.
$ac_ext <<_ACEOF
3878 cat confdefs.h
>>conftest.
$ac_ext
3879 cat >>conftest.
$ac_ext <<_ACEOF
3880 /* end confdefs.h. */
3883 #include <nsslowhash.h>
3892 rm -f conftest.
$ac_objext conftest
$ac_exeext
3893 if { (ac_try
="$ac_link"
3895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3896 *) ac_try_echo=$ac_try;;
3898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3899 $as_echo "$ac_try_echo") >&5
3900 (eval "$ac_link") 2>conftest.er1
3902 grep -v '^ *+' conftest.er1 >conftest.err
3904 cat conftest.err >&5
3905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); } && {
3907 test -z "$ac_c_werror_flag" ||
3908 test ! -s conftest.err
3909 } && test -s conftest$ac_exeext && {
3910 test "$cross_compiling" = yes ||
3911 $as_test_x conftest$ac_exeext
3913 libc_cv_nss_crypt=yes
3915 $as_echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 { { $as_echo "$as_me:$LINENO: error:
3919 cannot link program using lowlevel NSS hash functions" >&5
3920 $as_echo "$as_me: error:
3921 cannot link program using lowlevel NSS hash functions" >&2;}
3922 { (exit 1); exit 1; }; }
3925 rm -rf conftest.dSYM
3926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3927 conftest$ac_exeext conftest.$ac_ext
3928 CFLAGS="$old_CFLAGS"
3931 libc_cv_nss_crypt=no
3935 # The way shlib-versions is used to generate soversions.mk uses a
3936 # fairly simplistic model for name recognition that can't distinguish
3937 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3938 # of `gnu
*' here to be `gnu-gnu*' just so that shlib-versions can
3939 # tell. This doesn't get used much beyond that, so it's fairly safe.
3944 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3948 # We keep the original values in `$config_*' and never modify them, so we
3949 # can write them unchanged into config.make. Everything else uses
3950 # $machine, $vendor, and $os, and changes them whenever convenient.
3951 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3953 # Don't allow vendor == "unknown"
3954 test "$config_vendor" = unknown
&& config_vendor
=
3955 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3957 # Some configurations imply other options.
3959 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3960 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
3962 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
3963 # These systems (almost) always use the ELF format.
3967 # These systems are always xcoff
3973 # The configure fragment of an add-on port can modify these to supplement
3974 # or override the table in the case statement below. No fragment should
3975 # ever change the config_* variables, however.
3976 machine
=$config_machine
3977 vendor
=$config_vendor
3981 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3983 if test "$machine" = rs6000
; then
3987 # Braindead PowerPC box with absolutely no FPU.
3988 case "$machine-$host_os" in
3996 # Check whether --with-cpu was given.
3997 if test "${with_cpu+set}" = set; then
3998 withval
=$with_cpu; case "$withval" in
3999 yes|
'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
4000 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
4001 { (exit 1); exit 1; }; } ;;
4003 *) submachine
="$withval" ;;
4009 # An add-on can set this when it wants to disable the sanity check below.
4015 case "$enable_add_ons" in
4018 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
4019 sed 's@/[^/]*$@@' | sort | uniq`
4020 add_ons_automatic
=yes
4022 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
4023 add_ons_automatic
=no
;;
4029 if test x
"$add_ons" != x
; then
4030 for f
in $add_ons; do
4031 # Some sanity checks
4034 { { $as_echo "$as_me:$LINENO: error:
4035 *** It seems that you're using an old \`crypt' add-on. crypt is now
4036 *** part of glibc and using the old add-on will not work with this
4037 *** release. Start again with fresh sources and without the old
4038 *** \`crypt' add-on." >&5
4039 $as_echo "$as_me: error:
4040 *** It seems that you're using an old \`crypt' add-on. crypt is now
4041 *** part of glibc and using the old add-on will not work with this
4042 *** release. Start again with fresh sources and without the old
4043 *** \`crypt' add-on." >&2;}
4044 { (exit 1); exit 1; }; }
4047 { { $as_echo "$as_me:$LINENO: error:
4048 *** It seems that you're using an old \`localedata' add-on. localedata
4049 *** is now part of glibc and using the old add-on will not work with
4050 *** this release. Start again with fresh sources and without the old
4051 *** \`localedata' add-on." >&5
4052 $as_echo "$as_me: error:
4053 *** It seems that you're using an old \`localedata' add-on. localedata
4054 *** is now part of glibc and using the old add-on will not work with
4055 *** this release. Start again with fresh sources and without the old
4056 *** \`localedata' add-on." >&2;}
4057 { (exit 1); exit 1; }; }
4062 # Now source each add-on's configure fragment.
4063 # The fragments can use $srcdir/$libc_add_on to find themselves,
4064 # and test $add_ons_automatic to see if they were explicitly requested.
4065 # A fragment can clear (or even change) $libc_add_on to affect
4066 # whether it goes into the list to be actually used in the build.
4068 for libc_add_on
in $add_ons; do
4069 # Test whether such a directory really exists.
4070 # It can be absolute, or relative to $srcdir, or relative to the build dir.
4071 case "$libc_add_on" in
4073 libc_add_on_srcdir
=$libc_add_on
4076 test -d "$srcdir/$libc_add_on" ||
{
4077 if test -d "$libc_add_on"; then
4078 libc_add_on
="`pwd`/$libc_add_on"
4080 { { $as_echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
4081 $as_echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
4082 { (exit 1); exit 1; }; }
4085 libc_add_on_srcdir
=$srcdir/$libc_add_on
4089 libc_add_on_frag
=$libc_add_on_srcdir/configure
4090 libc_add_on_canonical
=
4091 libc_add_on_config_subdirs
=
4092 if test -r "$libc_add_on_frag"; then
4093 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
4094 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
4095 libc_add_on_canonical
=unknown
4096 libc_add_on_subdirs
=
4097 .
"$libc_add_on_frag"
4098 test -z "$libc_add_on" ||
{
4099 configured_add_ons
="$configured_add_ons $libc_add_on"
4100 if test "x$libc_add_on_canonical" = xunknown
; then
4101 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
4102 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
4103 { (exit 1); exit 1; }; }
4105 for d
in $libc_add_on_subdirs; do
4106 case "$libc_add_on" in
4107 /*) subdir_srcdir
="$libc_add_on" ;;
4108 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
4112 d
="${libc_add_on_canonical:-$libc_add_on}"
4118 subdir_srcdir
="$subdir_srcdir/$d"
4121 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4122 add_on_subdirs
="$add_on_subdirs $d"
4123 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
4124 $d-srcdir = $subdir_srcdir"
4126 for d
in $libc_add_on_config_subdirs; do
4128 /*) { { $as_echo "$as_me:$LINENO: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&5
4129 $as_echo "$as_me: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&2;}
4130 { (exit 1); exit 1; }; } ;;
4132 if test ! -d "$libc_add_on_srcdir/$d"; then
4133 { { $as_echo "$as_me:$LINENO: error: fragment wants to configure missing directory $d" >&5
4134 $as_echo "$as_me: error: fragment wants to configure missing directory $d" >&2;}
4135 { (exit 1); exit 1; }; }
4137 case "$libc_add_on" in
4138 /*) { { $as_echo "$as_me:$LINENO: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&5
4139 $as_echo "$as_me: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&2;}
4140 { (exit 1); exit 1; }; } ;;
4142 subdirs
="$subdirs $libc_add_on/$d"
4146 if test -n "$libc_add_on"; then
4147 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4149 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
4150 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4151 for frag
in $frags; do
4152 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4153 echo $ECHO_N "$name $ECHO_C" >&6
4156 { $as_echo "$as_me:$LINENO: result: " >&5
4159 use_add_ons
="$use_add_ons $libc_add_on"
4160 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
4161 test -z "$libc_add_on_canonical" ||
4162 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
4165 # Use echo to strip excess whitespace.
4166 add_ons
="`echo $use_add_ons`"
4173 ### I put this here to prevent those annoying emails from people who cannot
4174 ### read and try to compile glibc on unsupported platforms. --drepper
4176 ### By using the undocumented --enable-hacker-mode option for configure
4177 ### one can skip this test to make the configuration not fail for unsupported
4180 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4181 case "$machine-$host_os" in
4182 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
4185 echo "*** The GNU C library is currently not available for this platform."
4186 echo "*** So far nobody cared to port it and if there is no volunteer it"
4187 echo "*** might never happen. So, if you have interest to see glibc on"
4188 echo "*** this platform visit"
4189 echo "*** http://www.gnu.org/software/libc/porting.html"
4190 echo "*** and join the group of porters"
4196 # Expand the configuration machine name into a subdirectory by architecture
4197 # type and particular chip. If an add-on configure fragment already set
4198 # base_machine, we don't change it.
4199 test -n "$base_machine" ||
case "$machine" in
4200 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
4201 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
4202 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
4203 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
4204 ia64
) base_machine
=ia64 machine
=ia64
;;
4205 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
4206 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
4207 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
4208 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
4209 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
4210 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
4211 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
4212 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
4214 base_machine
=sparc machine
=sparc
/sparc32
;;
4215 sparcv8 | supersparc | hypersparc
)
4216 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
4217 sparcv8plus | sparcv8plusa | sparcv9
)
4218 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
4219 sparcv8plusb | sparcv9b
)
4220 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
4222 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
4224 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
4226 base_machine
=sparc machine
=sparc
/sparc64
;;
4228 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
4230 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
4232 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
4233 *) base_machine
=$machine ;;
4237 if test "$base_machine" = "i386"; then
4238 cat >>confdefs.h
<<\_ACEOF
4239 #define USE_REGPARMS 1
4244 # Compute the list of sysdep directories for this configuration.
4245 # This can take a while to compute.
4246 sysdep_dir
=$srcdir/sysdeps
4247 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
4248 $as_echo_n "checking sysdep dirs... " >&6; }
4249 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4250 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4252 test "x$base_os" != x ||
case "$os" in
4254 base_os
=mach
/hurd
;;
4255 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
4256 base_os
=unix
/bsd
/bsd4.4
;;
4257 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
4259 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
4260 base_os
=unix
/sysv
;;
4262 base_os
=unix
/sysv
/irix
6/$os ;;
4264 base_os
=unix
/sysv
/sysv4
;;
4266 base_os
=unix
/sysv
/hpux
/$os ;;
4268 base_os
=unix
/sysv
/aix
/aix4.3
;;
4270 base_os
=standalone
;;
4273 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4276 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4280 o
=`echo $tail | sed 's/[0-9]*$//'`
4281 if test $o != $tail; then
4284 # For linux-gnu, try linux-gnu, then linux.
4285 o
=`echo $tail | sed 's/-.*$//'`
4286 if test $o != $tail; then
4290 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4293 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4299 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4301 tail=$machine${submachine:+/$submachine}
4302 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4304 # Prepend the machine's FPU directory unless --without-fp.
4305 if test "$with_fp" = yes; then
4306 mach
="$mach /$1/fpu"
4308 mach
="$mach /$1/nofpu"
4315 # Find what sysdep directories exist.
4318 for b
in $base ''; do
4319 for m0
in $mach ''; do
4320 for v
in /$vendor ''; do
4321 test "$v" = / && continue
4322 for o
in /$ostry ''; do
4323 test "$o" = / && continue
4324 for m
in $multi_arch_d $mach ''; do
4325 for d
in $add_ons_pfx ''; do
4326 for a
in $add_ons_sfx ''; do
4327 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4328 try_srcdir
="${srcdir}/"
4332 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4333 test -n "$enable_debug_configure" &&
4334 echo "$0 DEBUG: try $try" >&2
4335 if test -d "$try_srcdir$try"; then
4336 sysnames
="$sysnames $try"
4337 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4338 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4340 x
*/$submachine) submachine_used
=t
;;
4342 if test -n "$d"; then
4343 case "$sysnames_add_ons" in
4345 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4358 # If the assembler supports gnu_indirect_function symbol type and the
4359 # architecture supports multi-arch, we enable multi-arch by default.
4360 if test "$multi_arch" = default
; then
4361 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
4362 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
4363 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
4364 $as_echo_n "(cached) " >&6
4366 cat > conftest.s
<<EOF
4367 .type foo,%gnu_indirect_function
4369 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
4371 libc_cv_asm_gnu_indirect_function
=yes
4373 libc_cv_asm_gnu_indirect_function
=no
4377 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
4378 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
4380 if test "$libc_cv_asm_gnu_indirect_function" = yes; then
4381 case $sysnames_add_ons$sysnames in
4388 if test x
"$multi_arch" = xyes
; then
4389 cat >>confdefs.h
<<\_ACEOF
4390 #define USE_MULTIARCH 1
4396 if test -z "$os_used" && test "$os" != none
; then
4397 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4398 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
4399 { (exit 1); exit 1; }; }
4401 if test -z "$machine_used" && test "$machine" != none
; then
4402 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4403 $as_echo "$as_me: error: The $machine is not supported." >&2;}
4404 { (exit 1); exit 1; }; }
4406 if test -z "$submachine_used" && test -n "$submachine"; then
4407 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4408 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4409 { (exit 1); exit 1; }; }
4413 # We have now validated the configuration.
4416 # If using ELF, look for an `elf' subdirectory of each machine directory.
4417 # We prepend these rather than inserting them whereever the machine appears
4418 # because things specified by the machine's ELF ABI should override
4419 # OS-specific things, and should always be the same for any OS on the
4420 # machine (otherwise what's the point of an ABI?).
4421 if test "$elf" = yes; then
4423 for d
in $add_ons_pfx ''; do
4425 if test -d $srcdir/${d}sysdeps
$m/elf
; then
4426 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
4430 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4434 # Expand the list of system names into a full list of directories
4435 # from each element's parent name and Implies file (if present).
4438 while test $# -gt 0; do
4442 case " $names " in *" $name "*)
4443 # Already in the list.
4447 # Report each name as we discover it, so there is no long pause in output.
4448 echo $ECHO_N "$name $ECHO_C" >&6
4450 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4454 *) xsrcdir
=$srcdir/ ;;
4456 test -n "$enable_debug_configure" &&
4457 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4459 if test -f $xsrcdir$name/Implies
; then
4460 # Collect more names from the `Implies' file (removing comments).
4461 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4463 for x
in $implied_candidate; do
4465 if test -d $xsrcdir$name_base/$x; then
4466 implied
="$implied $name_base/$x";
4469 for d
in $add_ons_pfx ''; do
4470 try
="${d}sysdeps/$x"
4473 *) try_srcdir
=$srcdir/ ;;
4475 test -n "$enable_debug_configure" &&
4476 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4477 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4479 implied
="$implied $try"
4481 case "$sysnames_add_ons" in
4483 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4487 if test $found = no
; then
4488 { $as_echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
4489 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4496 # Add NAME to the list of names.
4497 names
="$names $name"
4499 # Find the parent of NAME, using the empty string if it has none.
4500 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4502 # Add the names implied by NAME, and NAME's parent (if it has one), to
4503 # the list of names to be processed (the argument list). We prepend the
4504 # implied names to the list and append the parent. We want implied
4505 # directories to come before further directories inferred from the
4506 # configuration components; this ensures that for sysv4, unix/common
4507 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4509 sysnames
="`echo $implied $* $parent`"
4510 test -n "$sysnames" && set $sysnames
4513 # Add the default directories.
4514 default_sysnames
=sysdeps
/generic
4515 if test "$elf" = yes; then
4516 default_sysnames
="sysdeps/generic/elf $default_sysnames"
4518 sysnames
="$names $default_sysnames"
4520 # The other names were emitted during the scan.
4521 { $as_echo "$as_me:$LINENO: result: $default_sysnames" >&5
4522 $as_echo "$default_sysnames" >&6; }
4524 # Collect the list of add-ons that supply partial sysdeps trees.
4526 for add_on
in $add_ons; do
4529 *) xsrcdir
="$srcdir/" ;;
4532 test -d "$xsrcdir$add_on/sysdeps" ||
{
4533 case "$configured_add_ons " in
4536 { { $as_echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
4537 $as_echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
4538 { (exit 1); exit 1; }; }
4544 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4545 case "$sysnames_add_ons" in
4548 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4549 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4554 for d
in $sysnames; do
4556 $add_on/sysdeps
/*) ;;
4559 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4562 for ff
in $f/*.h
; do
4563 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4567 test -d "$f" ||
{ test -e "$f" && exit 88; }
4571 if test $?
-eq 88; then
4576 if test $found = no
; then
4577 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4578 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4586 # Find a good install program. We prefer a C program (faster),
4587 # so one script is as good as another. But avoid the broken or
4588 # incompatible versions:
4589 # SysV /etc/install, /usr/sbin/install
4590 # SunOS /usr/etc/install
4591 # IRIX /sbin/install
4593 # AmigaOS /C/install, which installs bootblocks on floppy discs
4594 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4595 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4596 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4597 # OS/2's system install, which has a completely different semantic
4598 # ./install, which can be erroneously created by make from ./install.sh.
4599 # Reject install programs that cannot install multiple files.
4600 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4601 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4602 if test -z "$INSTALL"; then
4603 if test "${ac_cv_path_install+set}" = set; then
4604 $as_echo_n "(cached) " >&6
4606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4610 test -z "$as_dir" && as_dir
=.
4611 # Account for people who put trailing slashes in PATH elements.
4613 .
/ | .
// |
/cC
/* | \
4614 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4615 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4618 # OSF1 and SCO ODT 3.0 have their own names for install.
4619 # Don't use installbsd from OSF since it installs stuff as root
4621 for ac_prog
in ginstall scoinst
install; do
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4624 if test $ac_prog = install &&
4625 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4626 # AIX install. It has an incompatible calling convention.
4628 elif test $ac_prog = install &&
4629 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4630 # program-specific install script used by HP pwplus--don't use.
4633 rm -rf conftest.one conftest.two conftest.dir
4634 echo one
> conftest.one
4635 echo two
> conftest.two
4637 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4638 test -s conftest.one
&& test -s conftest.two
&&
4639 test -s conftest.dir
/conftest.one
&&
4640 test -s conftest.dir
/conftest.two
4642 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4655 rm -rf conftest.one conftest.two conftest.dir
4658 if test "${ac_cv_path_install+set}" = set; then
4659 INSTALL
=$ac_cv_path_install
4661 # As a last resort, use the slow shell script. Don't cache a
4662 # value for INSTALL within a source directory, because that will
4663 # break other packages using the cache if that directory is
4664 # removed, or if the value is a relative name.
4665 INSTALL
=$ac_install_sh
4668 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4669 $as_echo "$INSTALL" >&6; }
4671 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4672 # It thinks the first close brace ends the variable substitution.
4673 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4675 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4677 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4679 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4680 # The makefiles need to use a different form to find it in $srcdir.
4681 INSTALL
='\$(..)./scripts/install-sh -c'
4683 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4684 $as_echo_n "checking whether ln -s works... " >&6; }
4686 if test "$LN_S" = "ln -s"; then
4687 { $as_echo "$as_me:$LINENO: result: yes" >&5
4688 $as_echo "yes" >&6; }
4690 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4691 $as_echo "no, using $LN_S" >&6; }
4695 # Was a --with-binutils option given?
4696 if test -n "$path_binutils"; then
4697 # Make absolute; ensure a single trailing slash.
4698 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4699 CC
="$CC -B$path_binutils"
4701 AS
=`$CC -print-prog-name=as`
4702 LD
=`$CC -print-prog-name=ld`
4703 AR
=`$CC -print-prog-name=ar`
4705 OBJDUMP
=`$CC -print-prog-name=objdump`
4708 # ranlib has to be treated a bit differently since it might not exist at all.
4709 ac_ranlib
=`$CC -print-prog-name=ranlib`
4710 if test "x$ac_ranlib" = xranlib
; then
4711 # This extra check has to happen since gcc simply echos the parameter in
4712 # case it cannot find the value in its own directories.
4713 if test -n "$ac_tool_prefix"; then
4714 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4715 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4717 $as_echo_n "checking for $ac_word... " >&6; }
4718 if test "${ac_cv_prog_RANLIB+set}" = set; then
4719 $as_echo_n "(cached) " >&6
4721 if test -n "$RANLIB"; then
4722 ac_cv_prog_RANLIB
="$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_RANLIB
="${ac_tool_prefix}ranlib"
4732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 RANLIB
=$ac_cv_prog_RANLIB
4742 if test -n "$RANLIB"; then
4743 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4744 $as_echo "$RANLIB" >&6; }
4746 { $as_echo "$as_me:$LINENO: result: no" >&5
4747 $as_echo "no" >&6; }
4752 if test -z "$ac_cv_prog_RANLIB"; then
4753 ac_ct_RANLIB
=$RANLIB
4754 # Extract the first word of "ranlib", so it can be a program name with args.
4755 set dummy ranlib
; ac_word
=$2
4756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4759 $as_echo_n "(cached) " >&6
4761 if test -n "$ac_ct_RANLIB"; then
4762 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir
=.
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4771 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4772 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4782 if test -n "$ac_ct_RANLIB"; then
4783 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4784 $as_echo "$ac_ct_RANLIB" >&6; }
4786 { $as_echo "$as_me:$LINENO: result: no" >&5
4787 $as_echo "no" >&6; }
4790 if test "x$ac_ct_RANLIB" = x
; then
4793 case $cross_compiling:$ac_tool_warned in
4795 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4797 ac_tool_warned
=yes ;;
4799 RANLIB
=$ac_ct_RANLIB
4802 RANLIB
="$ac_cv_prog_RANLIB"
4810 # Determine whether we are using GNU binutils.
4811 { $as_echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4812 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4813 if test "${libc_cv_prog_as_gnu+set}" = set; then
4814 $as_echo_n "(cached) " >&6
4816 # Most GNU programs take a -v and spit out some text including
4817 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4818 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4819 libc_cv_prog_as_gnu
=yes
4821 libc_cv_prog_as_gnu
=no
4825 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4826 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4828 gnu_as
=$libc_cv_prog_as_gnu
4830 { $as_echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4831 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4832 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4833 $as_echo_n "(cached) " >&6
4835 # Most GNU programs take a -v and spit out some text including
4836 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4837 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4838 libc_cv_prog_ld_gnu
=yes
4840 libc_cv_prog_ld_gnu
=no
4844 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4845 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4846 gnu_ld
=$libc_cv_prog_ld_gnu
4849 # Accept binutils 2.13 or newer.
4852 # Extract the first word of "$ac_prog", so it can be a program name with args.
4853 set dummy
$ac_prog; ac_word
=$2
4854 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if test "${ac_cv_prog_AS+set}" = set; then
4857 $as_echo_n "(cached) " >&6
4859 if test -n "$AS"; then
4860 ac_cv_prog_AS
="$AS" # Let the user override the test.
4862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir
=.
4867 for ac_exec_ext
in '' $ac_executable_extensions; do
4868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4869 ac_cv_prog_AS
="$ac_prog"
4870 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 if test -n "$AS"; then
4881 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4882 $as_echo "$AS" >&6; }
4884 { $as_echo "$as_me:$LINENO: result: no" >&5
4885 $as_echo "no" >&6; }
4889 test -n "$AS" && break
4892 if test -z "$AS"; then
4895 # Found it, now check the version.
4896 { $as_echo "$as_me:$LINENO: checking version of $AS" >&5
4897 $as_echo_n "checking version of $AS... " >&6; }
4898 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4899 case $ac_prog_version in
4900 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4901 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4902 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4903 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4906 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4907 $as_echo "$ac_prog_version" >&6; }
4909 if test $ac_verc_fail = yes; then
4910 AS
=: critic_missing
="$critic_missing as"
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy
$ac_prog; ac_word
=$2
4917 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if test "${ac_cv_prog_LD+set}" = set; then
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$LD"; then
4923 ac_cv_prog_LD
="$LD" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4932 ac_cv_prog_LD
="$ac_prog"
4933 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 if test -n "$LD"; then
4944 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4945 $as_echo "$LD" >&6; }
4947 { $as_echo "$as_me:$LINENO: result: no" >&5
4948 $as_echo "no" >&6; }
4952 test -n "$LD" && break
4955 if test -z "$LD"; then
4958 # Found it, now check the version.
4959 { $as_echo "$as_me:$LINENO: checking version of $LD" >&5
4960 $as_echo_n "checking version of $LD... " >&6; }
4961 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4962 case $ac_prog_version in
4963 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4964 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4965 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4966 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4969 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4970 $as_echo "$ac_prog_version" >&6; }
4972 if test $ac_verc_fail = yes; then
4973 LD
=: critic_missing
="$critic_missing ld"
4977 # We need the physical current working directory. We cannot use the
4978 # "pwd -P" shell builtin since that's not portable. Instead we try to
4979 # find a pwd binary. Note that assigning to the PWD environment
4980 # variable might have some interesting side effects, so we don't do
4982 # Extract the first word of "pwd", so it can be a program name with args.
4983 set dummy
pwd; ac_word
=$2
4984 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_path_PWD_P+set}" = set; then
4987 $as_echo_n "(cached) " >&6
4991 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5001 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
5002 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
5013 PWD_P
=$ac_cv_path_PWD_P
5014 if test -n "$PWD_P"; then
5015 { $as_echo "$as_me:$LINENO: result: $PWD_P" >&5
5016 $as_echo "$PWD_P" >&6; }
5018 { $as_echo "$as_me:$LINENO: result: no" >&5
5019 $as_echo "no" >&6; }
5023 if test "$PWD_P" = no
; then
5024 { { $as_echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
5025 $as_echo "$as_me: error: *** A pwd binary could not be found." >&2;}
5026 { (exit 1); exit 1; }; }
5029 # These programs are version sensitive.
5031 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
5033 # Extract the first word of "$ac_prog", so it can be a program name with args.
5034 set dummy
$ac_prog; ac_word
=$2
5035 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if test "${ac_cv_prog_CC+set}" = set; then
5038 $as_echo_n "(cached) " >&6
5040 if test -n "$CC"; then
5041 ac_cv_prog_CC
="$CC" # Let the user override the test.
5043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5047 test -z "$as_dir" && as_dir
=.
5048 for ac_exec_ext
in '' $ac_executable_extensions; do
5049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5050 ac_cv_prog_CC
="$ac_prog"
5051 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 if test -n "$CC"; then
5062 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5063 $as_echo "$CC" >&6; }
5065 { $as_echo "$as_me:$LINENO: result: no" >&5
5066 $as_echo "no" >&6; }
5070 test -n "$CC" && break
5073 if test -z "$CC"; then
5076 # Found it, now check the version.
5077 { $as_echo "$as_me:$LINENO: checking version of $CC" >&5
5078 $as_echo_n "checking version of $CC... " >&6; }
5079 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
5080 case $ac_prog_version in
5081 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5083 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5084 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5087 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5088 $as_echo "$ac_prog_version" >&6; }
5090 if test $ac_verc_fail = yes; then
5091 critic_missing
="$critic_missing gcc"
5094 for ac_prog
in gnumake gmake
make
5096 # Extract the first word of "$ac_prog", so it can be a program name with args.
5097 set dummy
$ac_prog; ac_word
=$2
5098 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if test "${ac_cv_prog_MAKE+set}" = set; then
5101 $as_echo_n "(cached) " >&6
5103 if test -n "$MAKE"; then
5104 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
5106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir
=.
5111 for ac_exec_ext
in '' $ac_executable_extensions; do
5112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113 ac_cv_prog_MAKE
="$ac_prog"
5114 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 MAKE
=$ac_cv_prog_MAKE
5124 if test -n "$MAKE"; then
5125 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
5126 $as_echo "$MAKE" >&6; }
5128 { $as_echo "$as_me:$LINENO: result: no" >&5
5129 $as_echo "no" >&6; }
5133 test -n "$MAKE" && break
5136 if test -z "$MAKE"; then
5139 # Found it, now check the version.
5140 { $as_echo "$as_me:$LINENO: checking version of $MAKE" >&5
5141 $as_echo_n "checking version of $MAKE... " >&6; }
5142 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5143 case $ac_prog_version in
5144 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5146 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5147 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5150 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5151 $as_echo "$ac_prog_version" >&6; }
5153 if test $ac_verc_fail = yes; then
5154 critic_missing
="$critic_missing make"
5158 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
5160 # Extract the first word of "$ac_prog", so it can be a program name with args.
5161 set dummy
$ac_prog; ac_word
=$2
5162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_MSGFMT+set}" = set; then
5165 $as_echo_n "(cached) " >&6
5167 if test -n "$MSGFMT"; then
5168 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5174 test -z "$as_dir" && as_dir
=.
5175 for ac_exec_ext
in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_MSGFMT
="$ac_prog"
5178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 MSGFMT
=$ac_cv_prog_MSGFMT
5188 if test -n "$MSGFMT"; then
5189 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5190 $as_echo "$MSGFMT" >&6; }
5192 { $as_echo "$as_me:$LINENO: result: no" >&5
5193 $as_echo "no" >&6; }
5197 test -n "$MSGFMT" && break
5200 if test -z "$MSGFMT"; then
5203 # Found it, now check the version.
5204 { $as_echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
5205 $as_echo_n "checking version of $MSGFMT... " >&6; }
5206 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5207 case $ac_prog_version in
5208 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5209 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
5210 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5211 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5214 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5215 $as_echo "$ac_prog_version" >&6; }
5217 if test $ac_verc_fail = yes; then
5218 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
5221 for ac_prog
in makeinfo
5223 # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy
$ac_prog; ac_word
=$2
5225 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5228 $as_echo_n "(cached) " >&6
5230 if test -n "$MAKEINFO"; then
5231 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir
=.
5238 for ac_exec_ext
in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_MAKEINFO
="$ac_prog"
5241 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 MAKEINFO
=$ac_cv_prog_MAKEINFO
5251 if test -n "$MAKEINFO"; then
5252 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5253 $as_echo "$MAKEINFO" >&6; }
5255 { $as_echo "$as_me:$LINENO: result: no" >&5
5256 $as_echo "no" >&6; }
5260 test -n "$MAKEINFO" && break
5263 if test -z "$MAKEINFO"; then
5266 # Found it, now check the version.
5267 { $as_echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5268 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5269 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5270 case $ac_prog_version in
5271 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5273 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5274 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5277 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5278 $as_echo "$ac_prog_version" >&6; }
5280 if test $ac_verc_fail = yes; then
5281 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
5286 # Extract the first word of "$ac_prog", so it can be a program name with args.
5287 set dummy
$ac_prog; ac_word
=$2
5288 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5289 $as_echo_n "checking for $ac_word... " >&6; }
5290 if test "${ac_cv_prog_SED+set}" = set; then
5291 $as_echo_n "(cached) " >&6
5293 if test -n "$SED"; then
5294 ac_cv_prog_SED
="$SED" # Let the user override the test.
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5303 ac_cv_prog_SED
="$ac_prog"
5304 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 if test -n "$SED"; then
5315 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5316 $as_echo "$SED" >&6; }
5318 { $as_echo "$as_me:$LINENO: result: no" >&5
5319 $as_echo "no" >&6; }
5323 test -n "$SED" && break
5326 if test -z "$SED"; then
5329 # Found it, now check the version.
5330 { $as_echo "$as_me:$LINENO: checking version of $SED" >&5
5331 $as_echo_n "checking version of $SED... " >&6; }
5332 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5333 case $ac_prog_version in
5334 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5335 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
5336 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5337 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5340 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5341 $as_echo "$ac_prog_version" >&6; }
5343 if test $ac_verc_fail = yes; then
5344 SED
=: aux_missing
="$aux_missing sed"
5348 for ac_prog
in autoconf
5350 # Extract the first word of "$ac_prog", so it can be a program name with args.
5351 set dummy
$ac_prog; ac_word
=$2
5352 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5355 $as_echo_n "(cached) " >&6
5357 if test -n "$AUTOCONF"; then
5358 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir
=.
5365 for ac_exec_ext
in '' $ac_executable_extensions; do
5366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5367 ac_cv_prog_AUTOCONF
="$ac_prog"
5368 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 AUTOCONF
=$ac_cv_prog_AUTOCONF
5378 if test -n "$AUTOCONF"; then
5379 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5380 $as_echo "$AUTOCONF" >&6; }
5382 { $as_echo "$as_me:$LINENO: result: no" >&5
5383 $as_echo "no" >&6; }
5387 test -n "$AUTOCONF" && break
5389 test -n "$AUTOCONF" || AUTOCONF
="no"
5391 case "x$AUTOCONF" in
5392 xno|x|x
:) AUTOCONF
=no
;;
5394 { $as_echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5395 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5396 if test "${libc_cv_autoconf_works+set}" = set; then
5397 $as_echo_n "(cached) " >&6
5399 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
5400 libc_cv_autoconf_works
=yes
5402 libc_cv_autoconf_works
=no
5405 { $as_echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5406 $as_echo "$libc_cv_autoconf_works" >&6; }
5407 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5410 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
5411 # If --without-cvs they probably won't change configure.in, so no complaints.
5412 aux_missing
="$aux_missing autoconf"
5415 test -n "$critic_missing" && { { $as_echo "$as_me:$LINENO: error:
5416 *** These critical programs are missing or too old:$critic_missing
5417 *** Check the INSTALL file for required versions." >&5
5418 $as_echo "$as_me: error:
5419 *** These critical programs are missing or too old:$critic_missing
5420 *** Check the INSTALL file for required versions." >&2;}
5421 { (exit 1); exit 1; }; }
5423 test -n "$aux_missing" && { $as_echo "$as_me:$LINENO: WARNING:
5424 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5425 *** some features will be disabled.
5426 *** Check the INSTALL file for required versions." >&5
5427 $as_echo "$as_me: WARNING:
5428 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5429 *** some features will be disabled.
5430 *** Check the INSTALL file for required versions." >&2;}
5432 # if using special system headers, find out the compiler's sekrit
5433 # header directory and add that to the list. NOTE: Only does the right
5434 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5435 if test -n "$sysheaders"; then
5436 SYSINCLUDES
=-nostdinc
5437 for d
in include include-fixed
; do
5438 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5439 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5441 SYSINCLUDES
="$SYSINCLUDES \
5442 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5443 if test -n "$CXX"; then
5444 cxxversion
=`$CXX -dumpversion 2>&5` &&
5445 cxxmachine
=`$CXX -dumpmachine 2>&5` &&
5446 cxxheaders
=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5447 CXX_SYSINCLUDES
="-isystem $cxxheaders \
5448 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5454 # check if ranlib is necessary
5455 { $as_echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5456 $as_echo_n "checking whether ranlib is necessary... " >&6; }
5457 if test "${libc_cv_ranlib_necessary+set}" = set; then
5458 $as_echo_n "(cached) " >&6
5460 cat > conftest.c
<<EOF
5465 $CC $CFLAGS $CPPFLAGS -c conftest.c
5466 $AR cr conftest.a conftest.o
5467 cp conftest.a conftest2.a
5469 if cmp -s conftest.a conftest2.a
; then
5470 libc_cv_ranlib_necessary
=no
5472 libc_cv_ranlib_necessary
=yes
5476 { $as_echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5477 $as_echo "$libc_cv_ranlib_necessary" >&6; }
5478 if test "$libc_cv_ranlib_necessary" = no
; then
5482 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5483 # since this would lead to problems installing/building glibc.
5484 # LD_LIBRARY_PATH contains the current directory if one of the following
5486 # - one of the terminals (":" and ";") is the first or last sign
5487 # - two terminals occur directly after each other
5488 # - the path contains an element with a dot in it
5489 { $as_echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5490 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5491 case ${LD_LIBRARY_PATH} in
5492 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5493 ld_library_path_setting
="contains current directory"
5496 ld_library_path_setting
="ok"
5499 { $as_echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5500 $as_echo "$ld_library_path_setting" >&6; }
5501 if test "$ld_library_path_setting" != "ok"; then
5502 { { $as_echo "$as_me:$LINENO: error:
5503 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5504 *** building glibc. Please change the environment variable
5505 *** and run configure again." >&5
5506 $as_echo "$as_me: error:
5507 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5508 *** building glibc. Please change the environment variable
5509 *** and run configure again." >&2;}
5510 { (exit 1); exit 1; }; }
5513 { $as_echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5514 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5515 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5516 $as_echo_n "(cached) " >&6
5518 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
5519 libc_cv_gcc_static_libgcc
=
5521 libc_cv_gcc_static_libgcc
=-static-libgcc
5524 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5525 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5528 # Extract the first word of "bash", so it can be a program name with args.
5529 set dummy bash
; ac_word
=$2
5530 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5533 $as_echo_n "(cached) " >&6
5537 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # 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_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5548 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5559 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5560 if test -n "$BASH_SHELL"; then
5561 { $as_echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5562 $as_echo "$BASH_SHELL" >&6; }
5564 { $as_echo "$as_me:$LINENO: result: no" >&5
5565 $as_echo "no" >&6; }
5569 if test "$BASH_SHELL" != no
&&
5570 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5571 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5572 libc_cv_have_bash2
=yes
5574 libc_cv_have_bash2
=no
5578 if test "$BASH_SHELL" = no
; then
5579 # Extract the first word of "ksh", so it can be a program name with args.
5580 set dummy ksh
; ac_word
=$2
5581 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if test "${ac_cv_path_KSH+set}" = set; then
5584 $as_echo_n "(cached) " >&6
5588 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
5591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5598 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
5599 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
5611 if test -n "$KSH"; then
5612 { $as_echo "$as_me:$LINENO: result: $KSH" >&5
5613 $as_echo "$KSH" >&6; }
5615 { $as_echo "$as_me:$LINENO: result: no" >&5
5616 $as_echo "no" >&6; }
5620 if test "$KSH" = no
; then
5623 libc_cv_have_ksh
=yes
5628 libc_cv_have_ksh
=yes
5632 for ac_prog
in gawk mawk nawk
awk
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy
$ac_prog; ac_word
=$2
5636 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if test "${ac_cv_prog_AWK+set}" = set; then
5639 $as_echo_n "(cached) " >&6
5641 if test -n "$AWK"; then
5642 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_prog_AWK
="$ac_prog"
5652 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 if test -n "$AWK"; then
5663 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
5664 $as_echo "$AWK" >&6; }
5666 { $as_echo "$as_me:$LINENO: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$AWK" && break
5674 # Extract the first word of "perl", so it can be a program name with args.
5675 set dummy perl
; ac_word
=$2
5676 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if test "${ac_cv_path_PERL+set}" = set; then
5679 $as_echo_n "(cached) " >&6
5683 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5693 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5705 PERL
=$ac_cv_path_PERL
5706 if test -n "$PERL"; then
5707 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
5708 $as_echo "$PERL" >&6; }
5710 { $as_echo "$as_me:$LINENO: result: no" >&5
5711 $as_echo "no" >&6; }
5715 if test "$PERL" != no
&&
5716 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5719 # Extract the first word of "install-info", so it can be a program name with args.
5720 set dummy install-info
; ac_word
=$2
5721 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5724 $as_echo_n "(cached) " >&6
5726 case $INSTALL_INFO in
5728 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5732 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5733 for as_dir
in $as_dummy
5736 test -z "$as_dir" && as_dir
=.
5737 for ac_exec_ext
in '' $ac_executable_extensions; do
5738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5739 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5740 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5751 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5752 if test -n "$INSTALL_INFO"; then
5753 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5754 $as_echo "$INSTALL_INFO" >&6; }
5756 { $as_echo "$as_me:$LINENO: result: no" >&5
5757 $as_echo "no" >&6; }
5761 # Extract the first word of "bison", so it can be a program name with args.
5762 set dummy bison
; ac_word
=$2
5763 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if test "${ac_cv_path_BISON+set}" = set; then
5766 $as_echo_n "(cached) " >&6
5770 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5774 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5775 for as_dir
in $as_dummy
5778 test -z "$as_dir" && as_dir
=.
5779 for ac_exec_ext
in '' $ac_executable_extensions; do
5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5781 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5782 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5793 BISON
=$ac_cv_path_BISON
5794 if test -n "$BISON"; then
5795 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
5796 $as_echo "$BISON" >&6; }
5798 { $as_echo "$as_me:$LINENO: result: no" >&5
5799 $as_echo "no" >&6; }
5804 { $as_echo "$as_me:$LINENO: checking for signed size_t type" >&5
5805 $as_echo_n "checking for signed size_t type... " >&6; }
5806 if test "${libc_cv_signed_size_t+set}" = set; then
5807 $as_echo_n "(cached) " >&6
5809 echo '#include <stddef.h>
5810 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5811 if eval "$ac_cpp conftest.c 2>/dev/null" \
5812 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
5813 libc_cv_signed_size_t
=no
5815 libc_cv_signed_size_t
=yes
5819 { $as_echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5820 $as_echo "$libc_cv_signed_size_t" >&6; }
5821 if test $libc_cv_signed_size_t = yes; then
5822 cat >> confdefs.h
<<\EOF
5823 #undef __SIZE_TYPE__
5824 #define __SIZE_TYPE__ unsigned
5828 { $as_echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5829 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5830 if test "${libc_cv_friendly_stddef+set}" = set; then
5831 $as_echo_n "(cached) " >&6
5833 cat >conftest.
$ac_ext <<_ACEOF
5836 cat confdefs.h
>>conftest.
$ac_ext
5837 cat >>conftest.
$ac_ext <<_ACEOF
5838 /* end confdefs.h. */
5839 #define __need_size_t
5840 #define __need_wchar_t
5847 size_t size; wchar_t wchar;
5849 #error stddef.h ignored __need_*
5851 if (&size == NULL || &wchar == NULL) abort ();
5856 rm -f conftest.
$ac_objext
5857 if { (ac_try
="$ac_compile"
5859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5860 *) ac_try_echo=$ac_try;;
5862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5863 $as_echo "$ac_try_echo") >&5
5864 (eval "$ac_compile") 2>conftest.er1
5866 grep -v '^ *+' conftest.er1 >conftest.err
5868 cat conftest.err >&5
5869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } && {
5871 test -z "$ac_c_werror_flag" ||
5872 test ! -s conftest.err
5873 } && test -s conftest.$ac_objext; then
5874 libc_cv_friendly_stddef=yes
5876 $as_echo "$as_me: failed program was:" >&5
5877 sed 's/^/| /' conftest.$ac_ext >&5
5879 libc_cv_friendly_stddef=no
5882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5884 { $as_echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5885 $as_echo "$libc_cv_friendly_stddef" >&6; }
5886 if test $libc_cv_friendly_stddef = yes; then
5887 config_vars="$config_vars
5888 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5891 { $as_echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5892 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5893 if test "${libc_cv_need_minus_P+set}" = set; then
5894 $as_echo_n "(cached) " >&6
5896 cat > conftest.S <<EOF
5897 #include "confdefs.h"
5898 /* Nothing whatsoever. */
5900 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; }; then
5906 libc_cv_need_minus_P=no
5908 libc_cv_need_minus_P=yes
5912 { $as_echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5913 $as_echo "$libc_cv_need_minus_P" >&6; }
5914 if test $libc_cv_need_minus_P = yes; then
5915 config_vars="$config_vars
5916 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5919 { $as_echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5920 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
5921 if test "${libc_cv_dot_text+set}" = set; then
5922 $as_echo_n "(cached) " >&6
5924 cat > conftest.s <<EOF
5928 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); }; }; then
5934 libc_cv_dot_text=.text
5939 if test -z "$libc_cv_dot_text"; then
5940 { $as_echo "$as_me:$LINENO: result: no" >&5
5941 $as_echo "no" >&6; }
5943 { $as_echo "$as_me:$LINENO: result: yes" >&5
5944 $as_echo "yes" >&6; }
5947 { $as_echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5948 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
5949 if test "${libc_cv_asm_global_directive+set}" = set; then
5950 $as_echo_n "(cached) " >&6
5952 libc_cv_asm_global_directive=UNKNOWN
5953 for ac_globl in .globl .global .EXPORT; do
5954 cat > conftest.s <<EOF
5959 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); }; }; then
5965 libc_cv_asm_global_directive=${ac_globl}
5968 test $libc_cv_asm_global_directive != UNKNOWN && break
5971 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5972 $as_echo "$libc_cv_asm_global_directive" >&6; }
5973 if test $libc_cv_asm_global_directive = UNKNOWN; then
5974 { { $as_echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5975 $as_echo "$as_me: error: cannot determine asm global directive" >&2;}
5976 { (exit 1); exit 1; }; }
5978 cat >>confdefs.h <<_ACEOF
5979 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5984 { $as_echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5985 $as_echo_n "checking for .set assembler directive... " >&6; }
5986 if test "${libc_cv_asm_set_directive+set}" = set; then
5987 $as_echo_n "(cached) " >&6
5989 cat > conftest.s <<EOF
5992 .set glibc_conftest_frobozz,foo
5993 $libc_cv_asm_global_directive glibc_conftest_frobozz
5995 # The alpha-dec-osf1 assembler gives only a warning for `.
set'
5996 # (but it doesn't work
), so we must
do a linking check to be sure.
5997 cat > conftest1.c
<<\EOF
5998 extern int glibc_conftest_frobozz
;
5999 void _start
() { glibc_conftest_frobozz
= 1; }
6001 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6002 -nostartfiles -nostdlib \
6003 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
6004 libc_cv_asm_set_directive
=yes
6006 libc_cv_asm_set_directive
=no
6010 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
6011 $as_echo "$libc_cv_asm_set_directive" >&6; }
6012 if test $libc_cv_asm_set_directive = yes; then
6013 cat >>confdefs.h
<<\_ACEOF
6014 #define HAVE_ASM_SET_DIRECTIVE 1
6019 { $as_echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
6020 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
6021 if test "${libc_cv_asm_type_prefix+set}" = set; then
6022 $as_echo_n "(cached) " >&6
6024 libc_cv_asm_type_prefix
=no
6025 for ac_try_prefix
in '@' '%' '#'; do
6026 cat > conftest.s
<<EOF
6028 ${libc_cv_asm_global_directive} foo
6029 .type foo, ${ac_try_prefix}object
6034 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); }; }; then
6040 libc_cv_asm_type_prefix
=${ac_try_prefix}
6043 test "x$libc_cv_asm_type_prefix" != xno
&& break
6046 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
6047 $as_echo "$libc_cv_asm_type_prefix" >&6; }
6048 if test "x$libc_cv_asm_type_prefix" != xno
; then
6049 cat >>confdefs.h
<<_ACEOF
6050 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
6055 { $as_echo "$as_me:$LINENO: checking for assembler gnu_unique_object symbol type" >&5
6056 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
6057 if test "${libc_cv_asm_unique_object+set}" = set; then
6058 $as_echo_n "(cached) " >&6
6060 cat > conftest.s
<<EOF
6063 .type _sym, ${libc_cv_asm_type_prefix}gnu_unique_object
6065 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6066 libc_cv_asm_unique_object
=yes
6068 libc_cv_asm_unique_object
=no
6072 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_unique_object" >&5
6073 $as_echo "$libc_cv_asm_unique_object" >&6; }
6074 if test $libc_cv_asm_unique_object = yes; then
6075 cat >>confdefs.h
<<\_ACEOF
6076 #define HAVE_ASM_UNIQUE_OBJECT 1
6081 # For the multi-arch option we need support in the assembler.
6082 if test "$multi_arch" = yes; then
6083 if test "x$libc_cv_asm_type_prefix" != xno
; then
6084 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
6085 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
6086 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
6087 $as_echo_n "(cached) " >&6
6089 cat > conftest.s
<<EOF
6090 .type foo,%gnu_indirect_function
6092 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
6094 libc_cv_asm_gnu_indirect_function
=yes
6096 libc_cv_asm_gnu_indirect_function
=no
6100 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
6101 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
6103 libc_cv_asm_gnu_indirect_function
=no
6105 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
; then
6106 { { $as_echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
6107 $as_echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
6108 { (exit 1); exit 1; }; }
6112 { $as_echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
6113 $as_echo_n "checking for .symver assembler directive... " >&6; }
6114 if test "${libc_cv_asm_symver_directive+set}" = set; then
6115 $as_echo_n "(cached) " >&6
6117 cat > conftest.s
<<EOF
6120 .symver _sym,sym@VERS
6122 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6123 libc_cv_asm_symver_directive
=yes
6125 libc_cv_asm_symver_directive
=no
6129 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
6130 $as_echo "$libc_cv_asm_symver_directive" >&6; }
6131 { $as_echo "$as_me:$LINENO: checking for ld --version-script" >&5
6132 $as_echo_n "checking for ld --version-script... " >&6; }
6133 if test "${libc_cv_ld_version_script_option+set}" = set; then
6134 $as_echo_n "(cached) " >&6
6136 if test $libc_cv_asm_symver_directive = yes; then
6137 cat > conftest.s
<<EOF
6140 .symver _sym,sym@VERS
6142 cat > conftest.map
<<EOF
6151 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6152 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
6153 -o conftest.so conftest.o
6154 -nostartfiles -nostdlib
6155 -Wl,--version-script,conftest.map
6157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); }; };
6163 libc_cv_ld_version_script_option
=yes
6165 libc_cv_ld_version_script_option
=no
6168 libc_cv_ld_version_script_option
=no
6171 libc_cv_ld_version_script_option
=no
6175 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
6176 $as_echo "$libc_cv_ld_version_script_option" >&6; }
6177 if test $shared != no
&&
6178 test $libc_cv_asm_symver_directive = yes &&
6179 test $libc_cv_ld_version_script_option = yes &&
6180 test $enable_versioning = yes; then
6182 cat >>confdefs.h
<<\_ACEOF
6183 #define DO_VERSIONING 1
6191 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
6193 *** WARNING: You should not compile GNU libc without versioning. Not using
6194 *** versioning will introduce incompatibilities so that old binaries
6195 *** will not run anymore.
6196 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
6198 if test $elf = yes; then
6199 { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
6200 $as_echo_n "checking for .previous assembler directive... " >&6; }
6201 if test "${libc_cv_asm_previous_directive+set}" = set; then
6202 $as_echo_n "(cached) " >&6
6204 cat > conftest.s
<<EOF
6205 .section foo_section
6208 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); }; }; then
6214 libc_cv_asm_previous_directive
=yes
6216 libc_cv_asm_previous_directive
=no
6220 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
6221 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6222 if test $libc_cv_asm_previous_directive = yes; then
6223 cat >>confdefs.h
<<\_ACEOF
6224 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
6228 { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
6229 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6230 if test "${libc_cv_asm_popsection_directive+set}" = set; then
6231 $as_echo_n "(cached) " >&6
6233 cat > conftest.s
<<EOF
6234 .pushsection foo_section
6237 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; }; then
6243 libc_cv_asm_popsection_directive
=yes
6245 libc_cv_asm_popsection_directive
=no
6249 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
6250 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6251 if test $libc_cv_asm_popsection_directive = yes; then
6252 cat >>confdefs.h
<<\_ACEOF
6253 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6258 { $as_echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6259 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6260 if test "${libc_cv_asm_protected_directive+set}" = set; then
6261 $as_echo_n "(cached) " >&6
6263 cat > conftest.s
<<EOF
6269 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then
6275 libc_cv_asm_protected_directive
=yes
6277 { { $as_echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6278 $as_echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6279 { (exit 1); exit 1; }; }
6283 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6284 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6286 if test $libc_cv_asm_protected_directive = yes; then
6287 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6288 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6289 if test "${libc_cv_visibility_attribute+set}" = set; then
6290 $as_echo_n "(cached) " >&6
6292 cat > conftest.c
<<EOF
6293 int foo __attribute__ ((visibility ("hidden"))) = 1;
6294 int bar __attribute__ ((visibility ("protected"))) = 1;
6296 libc_cv_visibility_attribute
=no
6297 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; }; then
6303 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
6304 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
6305 libc_cv_visibility_attribute
=yes
6312 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6313 $as_echo "$libc_cv_visibility_attribute" >&6; }
6314 if test $libc_cv_visibility_attribute != yes; then
6315 { { $as_echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6316 $as_echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6317 { (exit 1); exit 1; }; }
6321 if test $libc_cv_visibility_attribute = yes; then
6322 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6323 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6324 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6325 $as_echo_n "(cached) " >&6
6327 cat > conftest.c
<<EOF
6329 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6330 int bar (int x) { return x; }
6332 libc_cv_broken_visibility_attribute
=yes
6333 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6339 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
6340 libc_cv_broken_visibility_attribute
=no
6343 rm -f conftest.c conftest.s
6346 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6347 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6348 if test $libc_cv_broken_visibility_attribute = yes; then
6349 { { $as_echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6350 $as_echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6351 { (exit 1); exit 1; }; }
6355 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6356 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6357 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6358 $as_echo_n "(cached) " >&6
6360 cat > conftest.c
<<EOF
6361 extern int foo (int x) __asm ("xyzzy");
6362 int bar (int x) { return x; }
6363 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6365 extern __typeof (dfoo) dfoo __asm ("abccb");
6368 libc_cv_broken_alias_attribute
=yes
6369 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6375 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6376 grep 'abccb' conftest.s
>/dev
/null
; then
6377 libc_cv_broken_alias_attribute
=no
6380 rm -f conftest.c conftest.s
6383 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6384 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6385 if test $libc_cv_broken_alias_attribute = yes; then
6386 { { $as_echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6387 $as_echo "$as_me: error: working alias attribute support required" >&2;}
6388 { (exit 1); exit 1; }; }
6391 if test $libc_cv_visibility_attribute = yes; then
6392 { $as_echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6393 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6394 if test "${libc_cv_have_sdata_section+set}" = set; then
6395 $as_echo_n "(cached) " >&6
6397 echo "int i;" > conftest.c
6398 libc_cv_have_sdata_section
=no
6399 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6400 |
grep '\.sdata' >/dev
/null
; then
6401 libc_cv_have_sdata_section
=yes
6403 rm -f conftest.c conftest.so
6406 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6407 $as_echo "$libc_cv_have_sdata_section" >&6; }
6408 if test $libc_cv_have_sdata_section = yes; then
6409 cat >>confdefs.h
<<\_ACEOF
6410 #define HAVE_SDATA_SECTION 1
6416 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6417 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6418 if test "${libc_cv_initfini_array+set}" = set; then
6419 $as_echo_n "(cached) " >&6
6421 cat > conftest.c
<<EOF
6422 int _start (void) { return 0; }
6423 int __start (void) { return 0; }
6424 int foo (void) { return 1; }
6425 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6427 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6428 -static -nostartfiles -nostdlib 1>&5'
6429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); }; }
6435 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6436 libc_cv_initfini_array
=yes
6438 libc_cv_initfini_array
=no
6441 libc_cv_initfini_array
=no
6445 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6446 $as_echo "$libc_cv_initfini_array" >&6; }
6447 if test $libc_cv_initfini_array != yes; then
6448 { { $as_echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6449 $as_echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6450 { (exit 1); exit 1; }; }
6453 { $as_echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6454 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6455 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6456 $as_echo_n "(cached) " >&6
6459 cat > conftest.c
<<EOF
6460 int main (void) { return 0; }
6462 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6463 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6464 libc_cv_cc_with_libunwind
=yes
6466 libc_cv_cc_with_libunwind
=no
6470 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6471 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6473 if test $libc_cv_cc_with_libunwind = yes; then
6474 cat >>confdefs.h
<<\_ACEOF
6475 #define HAVE_CC_WITH_LIBUNWIND 1
6480 { $as_echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6481 $as_echo_n "checking for -z nodelete option... " >&6; }
6482 if test "${libc_cv_z_nodelete+set}" = set; then
6483 $as_echo_n "(cached) " >&6
6485 cat > conftest.c
<<EOF
6486 int _start (void) { return 42; }
6488 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6489 -fPIC -shared -o conftest.so conftest.c
6490 -nostartfiles -nostdlib
6491 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); }; }
6498 libc_cv_z_nodelete
=yes
6500 { { $as_echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6501 $as_echo "$as_me: error: linker with -z nodelete support required" >&2;}
6502 { (exit 1); exit 1; }; }
6506 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6507 $as_echo "$libc_cv_z_nodelete" >&6; }
6509 { $as_echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6510 $as_echo_n "checking for -z nodlopen option... " >&6; }
6511 if test "${libc_cv_z_nodlopen+set}" = set; then
6512 $as_echo_n "(cached) " >&6
6514 cat > conftest.c
<<EOF
6515 int _start (void) { return 42; }
6517 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6518 -fPIC -shared -o conftest.so conftest.c
6519 -nostartfiles -nostdlib
6520 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; }
6527 libc_cv_z_nodlopen
=yes
6529 { { $as_echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6530 $as_echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6531 { (exit 1); exit 1; }; }
6535 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6536 $as_echo "$libc_cv_z_nodlopen" >&6; }
6538 { $as_echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6539 $as_echo_n "checking for -z initfirst option... " >&6; }
6540 if test "${libc_cv_z_initfirst+set}" = set; then
6541 $as_echo_n "(cached) " >&6
6543 cat > conftest.c
<<EOF
6544 int _start (void) { return 42; }
6546 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6547 -fPIC -shared -o conftest.so conftest.c
6548 -nostartfiles -nostdlib
6549 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554 (exit $ac_status); }; }
6556 libc_cv_z_initfirst
=yes
6558 { { $as_echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6559 $as_echo "$as_me: error: linker with -z initfirst support required" >&2;}
6560 { (exit 1); exit 1; }; }
6564 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6565 $as_echo "$libc_cv_z_initfirst" >&6; }
6567 case "$base_machine" in
6568 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6569 { $as_echo "$as_me:$LINENO: checking for -z relro option" >&5
6570 $as_echo_n "checking for -z relro option... " >&6; }
6571 if test "${libc_cv_z_relro+set}" = set; then
6572 $as_echo_n "(cached) " >&6
6575 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; }
6582 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }; }
6593 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6594 $as_echo "$libc_cv_z_relro" >&6; }
6595 if test "$libc_cv_z_relro" = no
; then
6596 { { $as_echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6597 $as_echo "$as_me: error: linker with -z relro support required" >&2;}
6598 { (exit 1); exit 1; }; }
6604 { $as_echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6605 $as_echo_n "checking for -Bgroup option... " >&6; }
6606 if test "${libc_cv_Bgroup+set}" = set; then
6607 $as_echo_n "(cached) " >&6
6609 cat > conftest.c
<<EOF
6610 int _start (void) { return 42; }
6612 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6613 -fPIC -shared -o conftest.so conftest.c
6614 -Wl,-Bgroup -nostdlib 1>&5'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }
6627 { $as_echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6628 $as_echo "$libc_cv_Bgroup" >&6; }
6631 { $as_echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6632 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6633 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6634 $as_echo_n "(cached) " >&6
6636 cat > conftest.c
<<EOF
6637 int main (void) { return 0; }
6639 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6640 -fPIC -shared -shared-libgcc -o conftest.so \
6641 conftest.c -v 2>&1 >/dev/null \
6642 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6645 { $as_echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6646 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6649 { $as_echo "$as_me:$LINENO: checking for --as-needed option" >&5
6650 $as_echo_n "checking for --as-needed option... " >&6; }
6651 if test "${libc_cv_as_needed+set}" = set; then
6652 $as_echo_n "(cached) " >&6
6654 cat > conftest.c
<<EOF
6655 int main (void) { return 0; }
6657 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6658 -fPIC -shared -o conftest.so conftest.c
6659 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); }; }
6667 libc_cv_as_needed
=yes
6669 libc_cv_as_needed
=no
6673 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6674 $as_echo "$libc_cv_as_needed" >&6; }
6678 { $as_echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6679 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6680 if test "${libc_cv_as_noexecstack+set}" = set; then
6681 $as_echo_n "(cached) " >&6
6683 cat > conftest.c
<<EOF
6686 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6687 -S -o conftest.s conftest.c 1>&5'
6688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); }; } \
6693 && grep -q .note.GNU-stack conftest.s \
6694 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6695 -c -o conftest.o conftest.s 1>&5'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; }
6702 libc_cv_as_noexecstack
=yes
6704 libc_cv_as_noexecstack
=no
6708 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6709 $as_echo "$libc_cv_as_noexecstack" >&6; }
6710 if test $libc_cv_as_noexecstack = yes; then
6711 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6715 { $as_echo "$as_me:$LINENO: checking for -z combreloc" >&5
6716 $as_echo_n "checking for -z combreloc... " >&6; }
6717 if test "${libc_cv_z_combreloc+set}" = set; then
6718 $as_echo_n "(cached) " >&6
6720 cat > conftest.c
<<EOF
6721 extern int bar (int);
6723 int foo (void) { return bar (mumble); }
6725 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6726 -fPIC -shared -o conftest.so conftest.c
6727 -nostdlib -nostartfiles
6728 -Wl,-z,combreloc 1>&5'
6729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); }; }
6735 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6736 libc_cv_z_combreloc
=yes
6738 libc_cv_z_combreloc
=no
6741 libc_cv_z_combreloc
=no
6745 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6746 $as_echo "$libc_cv_z_combreloc" >&6; }
6747 if test "$libc_cv_z_combreloc" = yes; then
6748 cat >>confdefs.h
<<\_ACEOF
6749 #define HAVE_Z_COMBRELOC 1
6755 { $as_echo "$as_me:$LINENO: checking for -z execstack" >&5
6756 $as_echo_n "checking for -z execstack... " >&6; }
6757 if test "${libc_cv_z_execstack+set}" = set; then
6758 $as_echo_n "(cached) " >&6
6760 cat > conftest.c
<<EOF
6761 int _start (void) { return 42; }
6763 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6764 -fPIC -shared -o conftest.so conftest.c
6765 -Wl,-z,execstack -nostdlib
6767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); }; }
6773 libc_cv_z_execstack
=yes
6775 libc_cv_z_execstack
=no
6779 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6780 $as_echo "$libc_cv_z_execstack" >&6; }
6783 { $as_echo "$as_me:$LINENO: checking for -fpie" >&5
6784 $as_echo_n "checking for -fpie... " >&6; }
6785 if test "${libc_cv_fpie+set}" = set; then
6786 $as_echo_n "(cached) " >&6
6788 cat > conftest.c
<<EOF
6790 main () { return 0;}
6792 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6793 -o conftest conftest.c 1>&5'
6794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); }; }
6806 { $as_echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6807 $as_echo "$libc_cv_fpie" >&6; }
6811 { $as_echo "$as_me:$LINENO: checking for --hash-style option" >&5
6812 $as_echo_n "checking for --hash-style option... " >&6; }
6813 if test "${libc_cv_hashstyle+set}" = set; then
6814 $as_echo_n "(cached) " >&6
6816 cat > conftest.c
<<EOF
6817 int _start (void) { return 42; }
6819 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6820 -fPIC -shared -o conftest.so conftest.c
6821 -Wl,--hash-style=both -nostdlib 1>&5'
6822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); }; }
6828 libc_cv_hashstyle
=yes
6830 libc_cv_hashstyle
=no
6834 { $as_echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6835 $as_echo "$libc_cv_hashstyle" >&6; }
6839 { $as_echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6840 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6841 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6842 $as_echo_n "(cached) " >&6
6844 cat > conftest.c
<<EOF
6847 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; }
6855 libc_cv_fno_toplevel_reorder
=yes
6857 libc_cv_fno_toplevel_reorder
=no
6861 { $as_echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6862 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6863 if test $libc_cv_fno_toplevel_reorder = yes; then
6864 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6866 fno_unit_at_a_time
=-fno-unit-at-a-time
6870 { $as_echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6871 $as_echo_n "checking for -fstack-protector... " >&6; }
6872 if test "${libc_cv_ssp+set}" = set; then
6873 $as_echo_n "(cached) " >&6
6875 cat > conftest.c
<<EOF
6877 main () { return 0;}
6879 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6880 -o conftest conftest.c 1>&5'
6881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); }; }
6893 { $as_echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6894 $as_echo "$libc_cv_ssp" >&6; }
6897 { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6898 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6899 if test "${libc_cv_gnu89_inline+set}" = set; then
6900 $as_echo_n "(cached) " >&6
6902 cat > conftest.c
<<EOF
6904 #ifdef __GNUC_GNU_INLINE__
6905 main () { return 0;}
6910 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6911 -o conftest.s conftest.c 1>&5'
6912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); }; }
6918 libc_cv_gnu89_inline
=yes
6920 libc_cv_gnu89_inline
=no
6924 { $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6925 $as_echo "$libc_cv_gnu89_inline" >&6; }
6926 if test $libc_cv_gnu89_inline = yes; then
6927 libc_cv_gnu89_inline
=-fgnu89-inline
6929 libc_cv_gnu89_inline
=
6933 if test $elf != yes; then
6934 { $as_echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6935 $as_echo_n "checking for .init and .fini sections... " >&6; }
6936 if test "${libc_cv_have_initfini+set}" = set; then
6937 $as_echo_n "(cached) " >&6
6939 cat >conftest.
$ac_ext <<_ACEOF
6942 cat confdefs.h
>>conftest.
$ac_ext
6943 cat >>conftest.
$ac_ext <<_ACEOF
6944 /* end confdefs.h. */
6949 asm (".section .init");
6950 asm (".section .fini");
6951 asm ("${libc_cv_dot_text}");
6956 rm -f conftest.
$ac_objext
6957 if { (ac_try
="$ac_compile"
6959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6960 *) ac_try_echo=$ac_try;;
6962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6963 $as_echo "$ac_try_echo") >&5
6964 (eval "$ac_compile") 2>conftest.er1
6966 grep -v '^ *+' conftest.er1 >conftest.err
6968 cat conftest.err >&5
6969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } && {
6971 test -z "$ac_c_werror_flag" ||
6972 test ! -s conftest.err
6973 } && test -s conftest.$ac_objext; then
6974 libc_cv_have_initfini=yes
6976 $as_echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.$ac_ext >&5
6979 libc_cv_have_initfini=no
6982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6985 $as_echo "$libc_cv_have_initfini" >&6; }
6986 if test $libc_cv_have_initfini = yes; then
6987 cat >>confdefs.h <<\_ACEOF
6988 #define HAVE_INITFINI 1
6994 if test $elf = yes; then
6995 { $as_echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6996 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6997 if test "${libc_cv_have_section_quotes+set}" = set; then
6998 $as_echo_n "(cached) " >&6
7000 cat > conftest.c <<EOF
7001 static const int foo
7002 __attribute__ ((section ("bar"))) = 1;
7004 if ${CC-cc} -S conftest.c -o conftest.s; then
7005 if grep '\.section.*"bar"' conftest.s >/dev/null; then
7006 libc_cv_have_section_quotes=yes
7008 libc_cv_have_section_quotes=no
7011 libc_cv_have_section_quotes=unknown
7016 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
7017 $as_echo "$libc_cv_have_section_quotes" >&6; }
7018 if test $libc_cv_have_section_quotes = yes; then
7019 cat >>confdefs.h <<\_ACEOF
7020 #define HAVE_SECTION_QUOTES 1
7028 if test $elf = yes; then
7029 libc_cv_asm_underscores=no
7031 if test $ac_cv_prog_cc_works = yes; then
7032 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7033 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7034 if test "${libc_cv_asm_underscores+set}" = set; then
7035 $as_echo_n "(cached) " >&6
7037 cat >conftest.$ac_ext <<_ACEOF
7040 cat confdefs.h >>conftest.$ac_ext
7041 cat >>conftest.$ac_ext <<_ACEOF
7042 /* end confdefs.h. */
7043 asm ("_glibc_foobar:");
7052 rm -f conftest.$ac_objext conftest$ac_exeext
7053 if { (ac_try="$ac_link"
7055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7056 *) ac_try_echo
=$ac_try;;
7058 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7059 $as_echo "$ac_try_echo") >&5
7060 (eval "$ac_link") 2>conftest.er1
7062 grep -v '^ *+' conftest.er1
>conftest.err
7064 cat conftest.err
>&5
7065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); } && {
7067 test -z "$ac_c_werror_flag" ||
7068 test ! -s conftest.err
7069 } && test -s conftest
$ac_exeext && {
7070 test "$cross_compiling" = yes ||
7071 $as_test_x conftest
$ac_exeext
7073 libc_cv_asm_underscores
=yes
7075 $as_echo "$as_me: failed program was:" >&5
7076 sed 's/^/| /' conftest.
$ac_ext >&5
7078 libc_cv_asm_underscores
=no
7081 rm -rf conftest.dSYM
7082 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7083 conftest
$ac_exeext conftest.
$ac_ext
7085 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7086 $as_echo "$libc_cv_asm_underscores" >&6; }
7088 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7089 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7090 if test "${libc_cv_asm_underscores+set}" = set; then
7091 $as_echo_n "(cached) " >&6
7093 cat > conftest.
$ac_ext <<EOF
7094 #line $LINENO "configure"
7095 #include "confdefs.h"
7096 void underscore_test(void) {
7099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7100 (eval $ac_compile) 2>&5
7102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103 (exit $ac_status); }; then
7104 if grep _underscore_test conftest
* >/dev
/null
; then
7106 libc_cv_asm_underscores
=yes
7109 libc_cv_asm_underscores
=no
7112 echo "configure: failed program was:" >&5
7113 cat conftest.
$ac_ext >&5
7115 libc_cv_asm_underscores
=no
7119 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7120 $as_echo "$libc_cv_asm_underscores" >&6; }
7123 if test $libc_cv_asm_underscores = no
; then
7124 cat >>confdefs.h
<<\_ACEOF
7125 #define NO_UNDERSCORES 1
7130 if test $elf = yes; then
7131 libc_cv_weak_symbols
=yes
7134 { $as_echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
7135 $as_echo_n "checking for assembler .weak directive... " >&6; }
7136 if test "${libc_cv_asm_weak_directive+set}" = set; then
7137 $as_echo_n "(cached) " >&6
7139 cat > conftest.s
<<EOF
7141 ${libc_cv_asm_global_directive} foo
7144 .weak bar; bar = foo
7146 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; }; then
7152 libc_cv_asm_weak_directive
=yes
7154 libc_cv_asm_weak_directive
=no
7158 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
7159 $as_echo "$libc_cv_asm_weak_directive" >&6; }
7161 if test $libc_cv_asm_weak_directive = no
; then
7162 { $as_echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
7163 $as_echo_n "checking for assembler .weakext directive... " >&6; }
7164 if test "${libc_cv_asm_weakext_directive+set}" = set; then
7165 $as_echo_n "(cached) " >&6
7167 cat > conftest.s
<<EOF
7169 ${libc_cv_asm_global_directive} foo
7173 ${libc_cv_asm_global_directive} baz
7176 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181 (exit $ac_status); }; }; then
7182 libc_cv_asm_weakext_directive
=yes
7184 libc_cv_asm_weakext_directive
=no
7188 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
7189 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
7193 if test $libc_cv_asm_weak_directive = yes; then
7194 cat >>confdefs.h
<<\_ACEOF
7195 #define HAVE_ASM_WEAK_DIRECTIVE 1
7198 elif test $libc_cv_asm_weakext_directive = yes; then
7199 cat >>confdefs.h
<<\_ACEOF
7200 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
7205 { $as_echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
7206 $as_echo_n "checking whether CFI directives are supported... " >&6; }
7207 if test "${libc_cv_asm_cfi_directives+set}" = set; then
7208 $as_echo_n "(cached) " >&6
7211 sparc
/sparc64
*) cfi_offset
=2047;;
7214 cat > conftest.s
<<EOF
7216 .type func,%function
7220 .cfi_rel_offset 1, $cfi_offset
7223 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); }; }; then
7229 libc_cv_asm_cfi_directives
=yes
7231 libc_cv_asm_cfi_directives
=no
7235 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
7236 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
7237 if test $libc_cv_asm_cfi_directives = yes; then
7238 cat >>confdefs.h
<<\_ACEOF
7239 #define HAVE_ASM_CFI_DIRECTIVES 1
7244 { $as_echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
7245 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
7246 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
7247 $as_echo_n "(cached) " >&6
7249 cat > conftest.c
<<\EOF
7254 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7255 -nostdlib -nostartfiles -Wl,--no-whole-archive
7256 -o conftest conftest.c 1>&5'
7257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); }; }; then
7262 libc_cv_ld_no_whole_archive
=yes
7264 libc_cv_ld_no_whole_archive
=no
7268 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7269 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
7270 if test $libc_cv_ld_no_whole_archive = yes; then
7271 no_whole_archive
=-Wl,--no-whole-archive
7274 { $as_echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7275 $as_echo_n "checking for gcc -fexceptions... " >&6; }
7276 if test "${libc_cv_gcc_exceptions+set}" = set; then
7277 $as_echo_n "(cached) " >&6
7279 cat > conftest.c
<<\EOF
7284 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7285 -nostdlib -nostartfiles -fexceptions
7286 -o conftest conftest.c 1>&5'
7287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); }; }; then
7292 libc_cv_gcc_exceptions
=yes
7294 libc_cv_gcc_exceptions
=no
7298 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7299 $as_echo "$libc_cv_gcc_exceptions" >&6; }
7300 if test $libc_cv_gcc_exceptions = yes; then
7301 exceptions
=-fexceptions
7304 if test "$host_cpu" = powerpc
; then
7305 # Check for a bug present in at least versions 2.8.x of GCC
7306 # and versions 1.0.x of EGCS.
7307 { $as_echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7308 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7309 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7310 $as_echo_n "(cached) " >&6
7312 cat >conftest.
$ac_ext <<_ACEOF
7315 cat confdefs.h
>>conftest.
$ac_ext
7316 cat >>conftest.
$ac_ext <<_ACEOF
7317 /* end confdefs.h. */
7318 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7327 rm -f conftest.
$ac_objext
7328 if { (ac_try
="$ac_compile"
7330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7331 *) ac_try_echo=$ac_try;;
7333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7334 $as_echo "$ac_try_echo") >&5
7335 (eval "$ac_compile") 2>conftest.er1
7337 grep -v '^ *+' conftest.er1 >conftest.err
7339 cat conftest.err >&5
7340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); } && {
7342 test -z "$ac_c_werror_flag" ||
7343 test ! -s conftest.err
7344 } && test -s conftest.$ac_objext; then
7345 libc_cv_c_asmcr0_bug='no'
7347 $as_echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.$ac_ext >&5
7350 libc_cv_c_asmcr0_bug='yes'
7353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7355 { $as_echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7356 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7357 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7358 cat >>confdefs.h <<\_ACEOF
7359 #define BROKEN_PPC_ASM_CR0 1
7365 { $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7366 $as_echo_n "checking for __builtin_expect... " >&6; }
7367 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7368 $as_echo_n "(cached) " >&6
7370 cat > conftest.c <<EOF
7371 #line $LINENO "configure"
7374 a = __builtin_expect (a, 10);
7375 return a == 10 ? 0 : 1;
7378 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7379 -o conftest conftest.c -lgcc >&5'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 libc_cv_gcc_builtin_expect=yes
7387 libc_cv_gcc_builtin_expect=no
7391 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7392 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7393 if test "$libc_cv_gcc_builtin_expect" = yes; then
7394 cat >>confdefs.h <<\_ACEOF
7395 #define HAVE_BUILTIN_EXPECT 1
7400 { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7401 $as_echo_n "checking for __builtin_memset... " >&6; }
7402 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7403 $as_echo_n "(cached) " >&6
7405 cat > conftest.c <<\EOF
7408 __builtin_memset (x, 0, 1000);
7411 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; };
7418 libc_cv_gcc_builtin_memset=no
7420 libc_cv_gcc_builtin_memset=yes
7424 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7425 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
7426 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7427 cat >>confdefs.h <<\_ACEOF
7428 #define HAVE_BUILTIN_MEMSET 1
7433 { $as_echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7434 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7435 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7436 $as_echo_n "(cached) " >&6
7438 cat > conftest.c <<\EOF
7439 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7440 char *foo (const char *a, const char *b)
7442 return __builtin_strstr (a, b);
7445 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; };
7452 libc_cv_gcc_builtin_redirection=yes
7454 libc_cv_gcc_builtin_redirection=no
7458 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7459 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7460 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7461 cat >>confdefs.h <<\_ACEOF
7462 #define HAVE_BUILTIN_REDIRECTION 1
7467 if test "x$use__thread" != xno; then
7468 { $as_echo "$as_me:$LINENO: checking for __thread" >&5
7469 $as_echo_n "checking for __thread... " >&6; }
7470 if test "${libc_cv_gcc___thread+set}" = set; then
7471 $as_echo_n "(cached) " >&6
7473 cat > conftest.c <<\EOF
7474 __thread int a = 42;
7476 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); }; }; then
7482 libc_cv_gcc___thread=yes
7484 libc_cv_gcc___thread=no
7488 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7489 $as_echo "$libc_cv_gcc___thread" >&6; }
7490 if test "$libc_cv_gcc___thread" = yes; then
7491 cat >>confdefs.h <<\_ACEOF
7492 #define HAVE___THREAD 1
7497 libc_cv_gcc___thread=no
7500 if test "$libc_cv_gcc___thread" = yes; then
7501 { $as_echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7502 $as_echo_n "checking for tls_model attribute... " >&6; }
7503 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7504 $as_echo_n "(cached) " >&6
7506 cat > conftest.c <<\EOF
7507 extern __thread int a __attribute__((tls_model ("initial-exec")));
7509 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; }; then
7515 libc_cv_gcc_tls_model_attr=yes
7517 libc_cv_gcc_tls_model_attr=no
7521 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7522 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7523 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7524 cat >>confdefs.h <<\_ACEOF
7525 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7531 if test -n "$submachine"; then
7532 { $as_echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7533 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7534 if test "${libc_cv_cc_submachine+set}" = set; then
7535 $as_echo_n "(cached) " >&6
7537 libc_cv_cc_submachine=no
7538 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7539 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7545 libc_cv_cc_submachine="$opt"
7550 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7551 $as_echo "$libc_cv_cc_submachine" >&6; }
7552 if test "x$libc_cv_cc_submachine" = xno; then
7553 { { $as_echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7554 $as_echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7555 { (exit 1); exit 1; }; }
7560 { $as_echo "$as_me:$LINENO: checking for libgd" >&5
7561 $as_echo_n "checking for libgd... " >&6; }
7562 if test "$with_gd" != "no"; then
7563 old_CFLAGS="$CFLAGS"
7564 CFLAGS="$CFLAGS $libgd_include"
7565 old_LDFLAGS="$LDFLAGS"
7566 LDFLAGS="$LDFLAGS $libgd_ldflags"
7568 LIBS="$LIBS -lgd -lpng -lz -lm"
7569 cat >conftest.$ac_ext <<_ACEOF
7572 cat confdefs.h >>conftest.$ac_ext
7573 cat >>conftest.$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7584 rm -f conftest.$ac_objext conftest$ac_exeext
7585 if { (ac_try="$ac_link"
7587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7588 *) ac_try_echo
=$ac_try;;
7590 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7591 $as_echo "$ac_try_echo") >&5
7592 (eval "$ac_link") 2>conftest.er1
7594 grep -v '^ *+' conftest.er1
>conftest.err
7596 cat conftest.err
>&5
7597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } && {
7599 test -z "$ac_c_werror_flag" ||
7600 test ! -s conftest.err
7601 } && test -s conftest
$ac_exeext && {
7602 test "$cross_compiling" = yes ||
7603 $as_test_x conftest
$ac_exeext
7607 $as_echo "$as_me: failed program was:" >&5
7608 sed 's/^/| /' conftest.
$ac_ext >&5
7613 rm -rf conftest.dSYM
7614 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7615 conftest
$ac_exeext conftest.
$ac_ext
7616 CFLAGS
="$old_CFLAGS"
7617 LDFLAGS
="$old_LDFLAGS"
7622 { $as_echo "$as_me:$LINENO: result: $LIBGD" >&5
7623 $as_echo "$LIBGD" >&6; }
7627 if test x
$with_selinux = xno
; then
7630 # See if we have the SELinux library
7631 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7632 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7633 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7634 $as_echo_n "(cached) " >&6
7636 ac_check_lib_save_LIBS
=$LIBS
7637 LIBS
="-lselinux $LIBS"
7638 cat >conftest.
$ac_ext <<_ACEOF
7641 cat confdefs.h
>>conftest.
$ac_ext
7642 cat >>conftest.
$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7645 /* Override any GCC internal prototype to avoid an error.
7646 Use char because int might match the return type of a GCC
7647 builtin and then its argument prototype would still apply. */
7651 char is_selinux_enabled ();
7655 return is_selinux_enabled ();
7660 rm -f conftest.
$ac_objext conftest
$ac_exeext
7661 if { (ac_try
="$ac_link"
7663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7664 *) ac_try_echo=$ac_try;;
7666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7667 $as_echo "$ac_try_echo") >&5
7668 (eval "$ac_link") 2>conftest.er1
7670 grep -v '^ *+' conftest.er1 >conftest.err
7672 cat conftest.err >&5
7673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 (exit $ac_status); } && {
7675 test -z "$ac_c_werror_flag" ||
7676 test ! -s conftest.err
7677 } && test -s conftest$ac_exeext && {
7678 test "$cross_compiling" = yes ||
7679 $as_test_x conftest$ac_exeext
7681 ac_cv_lib_selinux_is_selinux_enabled=yes
7683 $as_echo "$as_me: failed program was:" >&5
7684 sed 's/^/| /' conftest.$ac_ext >&5
7686 ac_cv_lib_selinux_is_selinux_enabled=no
7689 rm -rf conftest.dSYM
7690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7691 conftest$ac_exeext conftest.$ac_ext
7692 LIBS=$ac_check_lib_save_LIBS
7694 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7695 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7696 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
7702 # See if we have the SELinux header with the NSCD permissions in it.
7703 if test x$have_selinux = xyes ; then
7704 { $as_echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7705 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7706 cat >conftest.$ac_ext <<_ACEOF
7709 cat confdefs.h >>conftest.$ac_ext
7710 cat >>conftest.$ac_ext <<_ACEOF
7711 /* end confdefs.h. */
7712 #include <selinux/av_permissions.h>
7716 #ifdef NSCD__SHMEMHOST
7719 #error NSCD__SHMEMHOST not defined
7725 rm -f conftest.$ac_objext
7726 if { (ac_try="$ac_compile"
7728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7729 *) ac_try_echo
=$ac_try;;
7731 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7732 $as_echo "$ac_try_echo") >&5
7733 (eval "$ac_compile") 2>conftest.er1
7735 grep -v '^ *+' conftest.er1
>conftest.err
7737 cat conftest.err
>&5
7738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); } && {
7740 test -z "$ac_c_werror_flag" ||
7741 test ! -s conftest.err
7742 } && test -s conftest.
$ac_objext; then
7745 $as_echo "$as_me: failed program was:" >&5
7746 sed 's/^/| /' conftest.
$ac_ext >&5
7751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7752 { $as_echo "$as_me:$LINENO: result: $have_selinux" >&5
7753 $as_echo "$have_selinux" >&6; }
7756 if test x
$with_selinux = xyes
; then
7757 if test x
$have_selinux = xno
; then
7758 { { $as_echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7759 $as_echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7760 { (exit 1); exit 1; }; }
7764 # Check if we're building with SELinux support.
7765 if test "x$have_selinux" = xyes
; then
7767 cat >>confdefs.h
<<\_ACEOF
7768 #define HAVE_SELINUX 1
7772 # See if we have the libaudit library
7773 { $as_echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7774 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7775 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7776 $as_echo_n "(cached) " >&6
7778 ac_check_lib_save_LIBS
=$LIBS
7779 LIBS
="-laudit $LIBS"
7780 cat >conftest.
$ac_ext <<_ACEOF
7783 cat confdefs.h
>>conftest.
$ac_ext
7784 cat >>conftest.
$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7787 /* Override any GCC internal prototype to avoid an error.
7788 Use char because int might match the return type of a GCC
7789 builtin and then its argument prototype would still apply. */
7793 char audit_log_user_avc_message ();
7797 return audit_log_user_avc_message ();
7802 rm -f conftest.
$ac_objext conftest
$ac_exeext
7803 if { (ac_try
="$ac_link"
7805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7806 *) ac_try_echo=$ac_try;;
7808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7809 $as_echo "$ac_try_echo") >&5
7810 (eval "$ac_link") 2>conftest.er1
7812 grep -v '^ *+' conftest.er1 >conftest.err
7814 cat conftest.err >&5
7815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } && {
7817 test -z "$ac_c_werror_flag" ||
7818 test ! -s conftest.err
7819 } && test -s conftest$ac_exeext && {
7820 test "$cross_compiling" = yes ||
7821 $as_test_x conftest$ac_exeext
7823 ac_cv_lib_audit_audit_log_user_avc_message=yes
7825 $as_echo "$as_me: failed program was:" >&5
7826 sed 's/^/| /' conftest.$ac_ext >&5
7828 ac_cv_lib_audit_audit_log_user_avc_message=no
7831 rm -rf conftest.dSYM
7832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7833 conftest$ac_exeext conftest.$ac_ext
7834 LIBS=$ac_check_lib_save_LIBS
7836 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7837 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7838 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then
7844 if test "x$have_libaudit" = xyes; then
7846 cat >>confdefs.h <<\_ACEOF
7847 #define HAVE_LIBAUDIT 1
7853 # See if we have the libcap library
7854 { $as_echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7855 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7856 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7857 $as_echo_n "(cached) " >&6
7859 ac_check_lib_save_LIBS=$LIBS
7861 cat >conftest.$ac_ext <<_ACEOF
7864 cat confdefs.h >>conftest.$ac_ext
7865 cat >>conftest.$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7868 /* Override any GCC internal prototype to avoid an error.
7869 Use char because int might match the return type of a GCC
7870 builtin and then its argument prototype would still apply. */
7883 rm -f conftest.$ac_objext conftest$ac_exeext
7884 if { (ac_try="$ac_link"
7886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7887 *) ac_try_echo
=$ac_try;;
7889 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7890 $as_echo "$ac_try_echo") >&5
7891 (eval "$ac_link") 2>conftest.er1
7893 grep -v '^ *+' conftest.er1
>conftest.err
7895 cat conftest.err
>&5
7896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } && {
7898 test -z "$ac_c_werror_flag" ||
7899 test ! -s conftest.err
7900 } && test -s conftest
$ac_exeext && {
7901 test "$cross_compiling" = yes ||
7902 $as_test_x conftest
$ac_exeext
7904 ac_cv_lib_cap_cap_init
=yes
7906 $as_echo "$as_me: failed program was:" >&5
7907 sed 's/^/| /' conftest.
$ac_ext >&5
7909 ac_cv_lib_cap_cap_init
=no
7912 rm -rf conftest.dSYM
7913 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7914 conftest
$ac_exeext conftest.
$ac_ext
7915 LIBS
=$ac_check_lib_save_LIBS
7917 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7918 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7919 if test "x$ac_cv_lib_cap_cap_init" = x
""yes; then
7925 if test "x$have_libcap" = xyes
; then
7927 cat >>confdefs.h
<<\_ACEOF
7928 #define HAVE_LIBCAP 1
7937 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7938 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7939 if test "${ac_cv_path_GREP+set}" = set; then
7940 $as_echo_n "(cached) " >&6
7942 if test -z "$GREP"; then
7943 ac_path_GREP_found
=false
7944 # Loop through the user's path and test for each of PROGNAME-LIST
7945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7946 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7949 test -z "$as_dir" && as_dir
=.
7950 for ac_prog
in grep ggrep
; do
7951 for ac_exec_ext
in '' $ac_executable_extensions; do
7952 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7953 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7954 # Check for GNU ac_path_GREP and select it if it is found.
7955 # Check for GNU $ac_path_GREP
7956 case `"$ac_path_GREP" --version 2>&1` in
7958 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7961 $as_echo_n 0123456789 >"conftest.in"
7964 cat "conftest.in" "conftest.in" >"conftest.tmp"
7965 mv "conftest.tmp" "conftest.in"
7966 cp "conftest.in" "conftest.nl"
7967 $as_echo 'GREP' >> "conftest.nl"
7968 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7969 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7970 ac_count
=`expr $ac_count + 1`
7971 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7972 # Best one so far, save it but keep looking for a better one
7973 ac_cv_path_GREP
="$ac_path_GREP"
7974 ac_path_GREP_max
=$ac_count
7976 # 10*(2^10) chars as input seems more than enough
7977 test $ac_count -gt 10 && break
7979 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7982 $ac_path_GREP_found && break 3
7987 if test -z "$ac_cv_path_GREP"; then
7988 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7989 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7990 { (exit 1); exit 1; }; }
7993 ac_cv_path_GREP
=$GREP
7997 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7998 $as_echo "$ac_cv_path_GREP" >&6; }
7999 GREP
="$ac_cv_path_GREP"
8002 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
8003 $as_echo_n "checking for egrep... " >&6; }
8004 if test "${ac_cv_path_EGREP+set}" = set; then
8005 $as_echo_n "(cached) " >&6
8007 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
8008 then ac_cv_path_EGREP
="$GREP -E"
8010 if test -z "$EGREP"; then
8011 ac_path_EGREP_found
=false
8012 # Loop through the user's path and test for each of PROGNAME-LIST
8013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8014 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
8017 test -z "$as_dir" && as_dir
=.
8018 for ac_prog
in egrep; do
8019 for ac_exec_ext
in '' $ac_executable_extensions; do
8020 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
8021 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
8022 # Check for GNU ac_path_EGREP and select it if it is found.
8023 # Check for GNU $ac_path_EGREP
8024 case `"$ac_path_EGREP" --version 2>&1` in
8026 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
8029 $as_echo_n 0123456789 >"conftest.in"
8032 cat "conftest.in" "conftest.in" >"conftest.tmp"
8033 mv "conftest.tmp" "conftest.in"
8034 cp "conftest.in" "conftest.nl"
8035 $as_echo 'EGREP' >> "conftest.nl"
8036 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8037 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8038 ac_count
=`expr $ac_count + 1`
8039 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8040 # Best one so far, save it but keep looking for a better one
8041 ac_cv_path_EGREP
="$ac_path_EGREP"
8042 ac_path_EGREP_max
=$ac_count
8044 # 10*(2^10) chars as input seems more than enough
8045 test $ac_count -gt 10 && break
8047 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8050 $ac_path_EGREP_found && break 3
8055 if test -z "$ac_cv_path_EGREP"; then
8056 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8057 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8058 { (exit 1); exit 1; }; }
8061 ac_cv_path_EGREP
=$EGREP
8066 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8067 $as_echo "$ac_cv_path_EGREP" >&6; }
8068 EGREP
="$ac_cv_path_EGREP"
8071 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8072 $as_echo_n "checking for ANSI C header files... " >&6; }
8073 if test "${ac_cv_header_stdc+set}" = set; then
8074 $as_echo_n "(cached) " >&6
8076 cat >conftest.
$ac_ext <<_ACEOF
8079 cat confdefs.h
>>conftest.
$ac_ext
8080 cat >>conftest.
$ac_ext <<_ACEOF
8081 /* end confdefs.h. */
8095 rm -f conftest.
$ac_objext
8096 if { (ac_try
="$ac_compile"
8098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8099 *) ac_try_echo=$ac_try;;
8101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8102 $as_echo "$ac_try_echo") >&5
8103 (eval "$ac_compile") 2>conftest.er1
8105 grep -v '^ *+' conftest.er1 >conftest.err
8107 cat conftest.err >&5
8108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); } && {
8110 test -z "$ac_c_werror_flag" ||
8111 test ! -s conftest.err
8112 } && test -s conftest.$ac_objext; then
8113 ac_cv_header_stdc=yes
8115 $as_echo "$as_me: failed program was:" >&5
8116 sed 's/^/| /' conftest.$ac_ext >&5
8118 ac_cv_header_stdc=no
8121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8123 if test $ac_cv_header_stdc = yes; then
8124 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8125 cat >conftest.$ac_ext <<_ACEOF
8128 cat confdefs.h >>conftest.$ac_ext
8129 cat >>conftest.$ac_ext <<_ACEOF
8130 /* end confdefs.h. */
8134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8135 $EGREP "memchr" >/dev/null 2>&1; then
8138 ac_cv_header_stdc=no
8144 if test $ac_cv_header_stdc = yes; then
8145 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8146 cat >conftest.$ac_ext <<_ACEOF
8149 cat confdefs.h >>conftest.$ac_ext
8150 cat >>conftest.$ac_ext <<_ACEOF
8151 /* end confdefs.h. */
8155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8156 $EGREP "free" >/dev/null 2>&1; then
8159 ac_cv_header_stdc=no
8165 if test $ac_cv_header_stdc = yes; then
8166 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8167 if test "$cross_compiling" = yes; then
8170 cat >conftest.$ac_ext <<_ACEOF
8173 cat confdefs.h >>conftest.$ac_ext
8174 cat >>conftest.$ac_ext <<_ACEOF
8175 /* end confdefs.h. */
8178 #if ((' ' & 0x0FF) == 0x020)
8179 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8180 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8182 # define ISLOWER(c) \
8183 (('a' <= (c) && (c) <= 'i') \
8184 || ('j' <= (c) && (c) <= 'r') \
8185 || ('s' <= (c) && (c) <= 'z'))
8186 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8189 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8194 for (i = 0; i < 256; i++)
8195 if (XOR (islower (i), ISLOWER (i))
8196 || toupper (i) != TOUPPER (i))
8201 rm -f conftest$ac_exeext
8202 if { (ac_try="$ac_link"
8204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8205 *) ac_try_echo
=$ac_try;;
8207 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8208 $as_echo "$ac_try_echo") >&5
8209 (eval "$ac_link") 2>&5
8211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8213 { (case "(($ac_try" in
8214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8215 *) ac_try_echo=$ac_try;;
8217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8218 $as_echo "$ac_try_echo") >&5
8219 (eval "$ac_try") 2>&5
8221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; }; then
8225 $as_echo "$as_me: program exited with status $ac_status" >&5
8226 $as_echo "$as_me: failed program was:" >&5
8227 sed 's/^/| /' conftest.$ac_ext >&5
8230 ac_cv_header_stdc=no
8232 rm -rf conftest.dSYM
8233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8239 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8240 $as_echo "$ac_cv_header_stdc" >&6; }
8241 if test $ac_cv_header_stdc = yes; then
8243 cat >>confdefs.h <<\_ACEOF
8244 #define STDC_HEADERS 1
8249 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8259 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8260 inttypes.h stdint.h unistd.h
8262 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8263 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8264 $as_echo_n "checking for $ac_header... " >&6; }
8265 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8266 $as_echo_n "(cached) " >&6
8268 cat >conftest.$ac_ext <<_ACEOF
8271 cat confdefs.h >>conftest.$ac_ext
8272 cat >>conftest.$ac_ext <<_ACEOF
8273 /* end confdefs.h. */
8274 $ac_includes_default
8276 #include <$ac_header>
8278 rm -f conftest.$ac_objext
8279 if { (ac_try="$ac_compile"
8281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8282 *) ac_try_echo
=$ac_try;;
8284 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8285 $as_echo "$ac_try_echo") >&5
8286 (eval "$ac_compile") 2>conftest.er1
8288 grep -v '^ *+' conftest.er1
>conftest.err
8290 cat conftest.err
>&5
8291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); } && {
8293 test -z "$ac_c_werror_flag" ||
8294 test ! -s conftest.err
8295 } && test -s conftest.
$ac_objext; then
8296 eval "$as_ac_Header=yes"
8298 $as_echo "$as_me: failed program was:" >&5
8299 sed 's/^/| /' conftest.
$ac_ext >&5
8301 eval "$as_ac_Header=no"
8304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8306 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8307 $as_echo "$as_val"'`
8308 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8309 $as_echo "$ac_res" >&6; }
8310 as_val
=`eval 'as_val=${'$as_ac_Header'}
8311 $as_echo "$as_val"'`
8312 if test "x$as_val" = x
""yes; then
8313 cat >>confdefs.h
<<_ACEOF
8314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8322 # The cast to long int works around a bug in the HP C Compiler
8323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8325 # This bug is HP SR number 8606223364.
8326 { $as_echo "$as_me:$LINENO: checking size of long double" >&5
8327 $as_echo_n "checking size of long double... " >&6; }
8328 if test "${ac_cv_sizeof_long_double+set}" = set; then
8329 $as_echo_n "(cached) " >&6
8331 if test "$cross_compiling" = yes; then
8332 # Depending upon the size, compute the lo and hi bounds.
8333 cat >conftest.
$ac_ext <<_ACEOF
8336 cat confdefs.h
>>conftest.
$ac_ext
8337 cat >>conftest.
$ac_ext <<_ACEOF
8338 /* end confdefs.h. */
8339 $ac_includes_default
8343 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= 0)];
8350 rm -f conftest.
$ac_objext
8351 if { (ac_try
="$ac_compile"
8353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8354 *) ac_try_echo=$ac_try;;
8356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8357 $as_echo "$ac_try_echo") >&5
8358 (eval "$ac_compile") 2>conftest.er1
8360 grep -v '^ *+' conftest.er1 >conftest.err
8362 cat conftest.err >&5
8363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); } && {
8365 test -z "$ac_c_werror_flag" ||
8366 test ! -s conftest.err
8367 } && test -s conftest.$ac_objext; then
8370 cat >conftest.$ac_ext <<_ACEOF
8373 cat confdefs.h >>conftest.$ac_ext
8374 cat >>conftest.$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8376 $ac_includes_default
8380 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8387 rm -f conftest.$ac_objext
8388 if { (ac_try="$ac_compile"
8390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8391 *) ac_try_echo
=$ac_try;;
8393 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8394 $as_echo "$ac_try_echo") >&5
8395 (eval "$ac_compile") 2>conftest.er1
8397 grep -v '^ *+' conftest.er1
>conftest.err
8399 cat conftest.err
>&5
8400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } && {
8402 test -z "$ac_c_werror_flag" ||
8403 test ! -s conftest.err
8404 } && test -s conftest.
$ac_objext; then
8405 ac_hi
=$ac_mid; break
8407 $as_echo "$as_me: failed program was:" >&5
8408 sed 's/^/| /' conftest.
$ac_ext >&5
8410 ac_lo
=`expr $ac_mid + 1`
8411 if test $ac_lo -le $ac_mid; then
8415 ac_mid
=`expr 2 '*' $ac_mid + 1`
8418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8421 $as_echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.
$ac_ext >&5
8424 cat >conftest.
$ac_ext <<_ACEOF
8427 cat confdefs.h
>>conftest.
$ac_ext
8428 cat >>conftest.
$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8430 $ac_includes_default
8434 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) < 0)];
8441 rm -f conftest.
$ac_objext
8442 if { (ac_try
="$ac_compile"
8444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8445 *) ac_try_echo=$ac_try;;
8447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8448 $as_echo "$ac_try_echo") >&5
8449 (eval "$ac_compile") 2>conftest.er1
8451 grep -v '^ *+' conftest.er1 >conftest.err
8453 cat conftest.err >&5
8454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455 (exit $ac_status); } && {
8456 test -z "$ac_c_werror_flag" ||
8457 test ! -s conftest.err
8458 } && test -s conftest.$ac_objext; then
8461 cat >conftest.$ac_ext <<_ACEOF
8464 cat confdefs.h >>conftest.$ac_ext
8465 cat >>conftest.$ac_ext <<_ACEOF
8466 /* end confdefs.h. */
8467 $ac_includes_default
8471 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= $ac_mid)];
8478 rm -f conftest.$ac_objext
8479 if { (ac_try="$ac_compile"
8481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8482 *) ac_try_echo
=$ac_try;;
8484 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8485 $as_echo "$ac_try_echo") >&5
8486 (eval "$ac_compile") 2>conftest.er1
8488 grep -v '^ *+' conftest.er1
>conftest.err
8490 cat conftest.err
>&5
8491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); } && {
8493 test -z "$ac_c_werror_flag" ||
8494 test ! -s conftest.err
8495 } && test -s conftest.
$ac_objext; then
8496 ac_lo
=$ac_mid; break
8498 $as_echo "$as_me: failed program was:" >&5
8499 sed 's/^/| /' conftest.
$ac_ext >&5
8501 ac_hi
=`expr '(' $ac_mid ')' - 1`
8502 if test $ac_mid -le $ac_hi; then
8506 ac_mid
=`expr 2 '*' $ac_mid`
8509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8512 $as_echo "$as_me: failed program was:" >&5
8513 sed 's/^/| /' conftest.
$ac_ext >&5
8518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8522 # Binary search between lo and hi bounds.
8523 while test "x$ac_lo" != "x$ac_hi"; do
8524 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8525 cat >conftest.
$ac_ext <<_ACEOF
8528 cat confdefs.h
>>conftest.
$ac_ext
8529 cat >>conftest.
$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8531 $ac_includes_default
8535 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8542 rm -f conftest.
$ac_objext
8543 if { (ac_try
="$ac_compile"
8545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8546 *) ac_try_echo=$ac_try;;
8548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8549 $as_echo "$ac_try_echo") >&5
8550 (eval "$ac_compile") 2>conftest.er1
8552 grep -v '^ *+' conftest.er1 >conftest.err
8554 cat conftest.err >&5
8555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); } && {
8557 test -z "$ac_c_werror_flag" ||
8558 test ! -s conftest.err
8559 } && test -s conftest.$ac_objext; then
8562 $as_echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8565 ac_lo=`expr '(' $ac_mid ')' + 1`
8568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8571 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8572 '') if test "$ac_cv_type_long_double" = yes; then
8573 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8575 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long double
)
8576 See \
`config.log' for more details." >&5
8577 $as_echo "$as_me: error: cannot compute sizeof (long double)
8578 See \`config.log
' for more details." >&2;}
8579 { (exit 77); exit 77; }; }; }
8581 ac_cv_sizeof_long_double=0
8585 cat >conftest.$ac_ext <<_ACEOF
8588 cat confdefs.h >>conftest.$ac_ext
8589 cat >>conftest.$ac_ext <<_ACEOF
8590 /* end confdefs.h. */
8591 $ac_includes_default
8592 static long int longval () { return (long int) (sizeof (long double)); }
8593 static unsigned long int ulongval () { return (long int) (sizeof (long double)); }
8600 FILE *f = fopen ("conftest.val", "w");
8603 if (((long int) (sizeof (long double))) < 0)
8605 long int i = longval ();
8606 if (i != ((long int) (sizeof (long double))))
8608 fprintf (f, "%ld", i);
8612 unsigned long int i = ulongval ();
8613 if (i != ((long int) (sizeof (long double))))
8615 fprintf (f, "%lu", i);
8617 /* Do not output a trailing newline, as this causes \r\n confusion
8618 on some platforms. */
8619 return ferror (f) || fclose (f) != 0;
8625 rm -f conftest$ac_exeext
8626 if { (ac_try="$ac_link"
8628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8629 *) ac_try_echo=$ac_try;;
8631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8632 $as_echo "$ac_try_echo") >&5
8633 (eval "$ac_link") 2>&5
8635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
8637 { (case "(($ac_try" in
8638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8639 *) ac_try_echo=$ac_try;;
8641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8642 $as_echo "$ac_try_echo") >&5
8643 (eval "$ac_try") 2>&5
8645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); }; }; then
8647 ac_cv_sizeof_long_double=`cat conftest.val`
8649 $as_echo "$as_me: program exited with status $ac_status" >&5
8650 $as_echo "$as_me: failed program was:" >&5
8651 sed 's
/^
/|
/' conftest.$ac_ext >&5
8654 if test "$ac_cv_type_long_double" = yes; then
8655 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8656 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
8657 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8658 See \`config.log
' for more details." >&5
8659 $as_echo "$as_me: error: cannot compute sizeof (long double)
8660 See \`config.log' for more details.
" >&2;}
8661 { (exit 77); exit 77; }; }; }
8663 ac_cv_sizeof_long_double=0
8666 rm -rf conftest.dSYM
8667 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8671 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8672 $as_echo "$ac_cv_sizeof_long_double" >&6; }
8676 cat >>confdefs.h <<_ACEOF
8677 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8681 sizeof_long_double=$ac_cv_sizeof_long_double
8684 ### End of automated tests.
8685 ### Now run sysdeps configure fragments.
8687 # They also can set these variables.
8689 ldd_rewrite_script=no
8690 libc_cv_sysconfdir=$sysconfdir
8691 libc_cv_gcc_unwind_find_fde=no
8694 # Iterate over all the sysdep directories we will use, running their
8695 # configure fragments, and looking for a uname implementation.
8697 for dir in $sysnames; do
8700 *) dest=$srcdir/$dir ;;
8702 if test -r $dest/configure; then
8703 { $as_echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8704 $as_echo "running configure fragment
for $dir" >&6; }
8708 if test -z "$uname"; then
8709 if test -r $dest/uname.c ||
8710 test -r $dest/uname.S ||
8711 { test -r $dest/syscalls.list &&
8712 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8718 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8719 cat >>confdefs.h <<\_ACEOF
8720 #define EXPORT_UNWIND_FIND_FDE 1
8726 # If we will use the generic uname implementation, we must figure out what
8727 # it will say by examining the system, and write the results in config-name.h.
8728 if test "$uname" = "sysdeps
/generic
"; then
8730 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8731 if test $uname_sysname != $config_os; then
8732 config_release=`echo $config_os | sed s/$uname_sysname//`
8735 { $as_echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8736 $as_echo_n "checking OS release
for uname...
" >&6; }
8737 if test "${libc_cv_uname_release+set}" = set; then
8738 $as_echo_n "(cached
) " >&6
8740 if test -r /vmunix; then
8741 kernel_id=`strings /vmunix | grep UNIX`
8742 elif test -r /dynix; then
8743 kernel_id=`strings /dynix | grep DYNIX`
8748 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8749 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8750 != x$config_release; then
8751 # The configuration release is a substring of the kernel release.
8752 libc_cv_uname_release=$kernel_release
8753 elif test x$config_release != x; then
8754 libc_cv_uname_release=$config_release
8755 elif test x$kernel_release != x; then
8756 libc_cv_uname_release=$kernel_release
8758 libc_cv_uname_release=unknown
8761 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8762 $as_echo "$libc_cv_uname_release" >&6; }
8763 uname_release="$libc_cv_uname_release"
8765 { $as_echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8766 $as_echo_n "checking OS version
for uname...
" >&6; }
8767 if test "${libc_cv_uname_version+set}" = set; then
8768 $as_echo_n "(cached
) " >&6
8770 if test -r /vmunix; then
8771 kernel_id=`strings /vmunix | grep UNIX`
8772 elif test -r /dynix; then
8773 kernel_id=`strings /dynix | grep DYNIX`
8778 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8779 if test -n "$kernel_version"; then
8780 libc_cv_uname_version="$kernel_version"
8782 libc_cv_uname_version=unknown
8785 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8786 $as_echo "$libc_cv_uname_version" >&6; }
8787 uname_version="$libc_cv_uname_version"
8789 config_uname=config-name.h:config-name.in
8791 # For non-generic uname, we don't need to create config-name.h at all.
8795 cat >>confdefs.h <<\_ACEOF
8796 #define USE_IN_LIBIO 1
8800 # Test for old glibc 2.0.x headers so that they can be removed properly
8801 # Search only in includedir.
8802 { $as_echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8803 $as_echo_n "checking
for old glibc
2.0.x headers...
" >&6; }
8804 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8806 old_glibc_headers=yes
8808 old_glibc_headers=no
8810 { $as_echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8811 $as_echo "$old_glibc_headers" >&6; }
8812 if test ${old_glibc_headers} = yes; then
8813 { $as_echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8814 $as_echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8815 { $as_echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8816 $as_echo "$as_me: WARNING
: *** be removed.
" >&2;}
8835 if test $elf = yes; then
8836 cat >>confdefs.h <<\_ACEOF
8841 if test $xcoff = yes; then
8842 cat >>confdefs.h <<\_ACEOF
8843 #define HAVE_XCOFF 1
8850 if test $shared = default; then
8854 { $as_echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8855 $as_echo_n "checking whether
-fPIC is default...
" >&6; }
8856 if test "${libc_cv_pic_default+set}" = set; then
8857 $as_echo_n "(cached
) " >&6
8859 libc_cv_pic_default=yes
8860 cat > conftest.c <<EOF
8861 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8862 # error PIC is default.
8865 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8866 libc_cv_pic_default=no
8870 { $as_echo "$as_me:$LINENO: result
: $libc_cv_pic_default" >&5
8871 $as_echo "$libc_cv_pic_default" >&6; }
8884 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8887 config_makefile=Makefile
8890 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8891 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8895 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8897 ac_config_commands
="$ac_config_commands default"
8899 cat >confcache
<<\_ACEOF
8900 # This file is a shell script that caches the results of configure
8901 # tests run on this system so they can be shared between configure
8902 # scripts and configure runs, see configure's option --config-cache.
8903 # It is not useful on other systems. If it contains results you don't
8904 # want to keep, you may remove or edit it.
8906 # config.status only pays attention to the cache file if you give it
8907 # the --recheck option to rerun configure.
8909 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8915 # The following way of writing the cache mishandles newlines in values,
8916 # but we know of no workaround that is simple, portable, and efficient.
8917 # So, we kill variables containing newlines.
8918 # Ultrix sh set writes to stderr and can't be redirected directly,
8919 # and sets the high bit in the cache file unless we assign to the vars.
8921 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8922 eval ac_val
=\$
$ac_var
8926 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8927 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8930 _ | IFS | as_nl
) ;; #(
8931 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8932 *) $as_unset $ac_var ;;
8938 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8939 *${as_nl}ac_space
=\
*)
8940 # `set' does not quote correctly, so add quotes (double-quote
8941 # substitution turns \\\\ into \\, and sed turns \\ into \).
8944 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8947 # `set' quotes correctly as required by POSIX, so do not add quotes.
8948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8957 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8959 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8961 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8962 if test -w "$cache_file"; then
8963 test "x$cache_file" != "x/dev/null" &&
8964 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8965 $as_echo "$as_me: updating cache $cache_file" >&6;}
8966 cat confcache
>$cache_file
8968 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8969 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8974 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8975 # Let make expand exec_prefix.
8976 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8978 DEFS
=-DHAVE_CONFIG_H
8982 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8983 # 1. Remove the extension, and $U if already installed.
8984 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8985 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8986 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8987 # will be set to the directory where LIBOBJS objects are built.
8988 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8989 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8993 LTLIBOBJS
=$ac_ltlibobjs
8997 : ${CONFIG_STATUS=./config.status}
8999 ac_clean_files_save
=$ac_clean_files
9000 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9001 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9002 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9003 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9005 # Generated by $as_me.
9006 # Run this file to recreate the current configuration.
9007 # Compiler output produced by configure, useful for debugging
9008 # configure, is in config.log if it exists.
9013 SHELL=\${CONFIG_SHELL-$SHELL}
9016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9017 ## --------------------- ##
9018 ## M4sh Initialization. ##
9019 ## --------------------- ##
9021 # Be more Bourne compatible
9022 DUALCASE
=1; export DUALCASE
# for MKS sh
9023 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9026 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9027 # is contrary to our usage. Disable this feature.
9028 alias -g '${1+"$@"}'='"$@"'
9029 setopt NO_GLOB_SUBST
9031 case `(set -o) 2>/dev/null` in
9032 *posix
*) set -o posix
;;
9041 # Avoid depending upon Character Ranges.
9042 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9043 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9044 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9045 as_cr_digits
='0123456789'
9046 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9051 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9052 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9053 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9054 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9055 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9056 as_echo='printf %s
\n'
9057 as_echo_n='printf %s
'
9059 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9060 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9061 as_echo_n='/usr
/ucb
/echo -n'
9063 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9064 as_echo_n_body='eval
9068 expr "X$arg" : "X\\(.*\\)$as_nl";
9069 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9071 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9073 export as_echo_n_body
9074 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9077 as_echo='sh
-c $as_echo_body as_echo
'
9080 # The user is always right.
9081 if test "${PATH_SEPARATOR+set}" != set; then
9083 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9084 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9089 # Support unset when possible.
9090 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9098 # We need space, tab and new line, in precisely that order. Quoting is
9099 # there to prevent editors from complaining about space-tab.
9100 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9101 # splitting by setting IFS to empty value.)
9104 # Find who we are. Look in the path if we contain no directory separator.
9106 *[\\/]* ) as_myself=$0 ;;
9107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9111 test -z "$as_dir" && as_dir=.
9112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9118 # We did not find ourselves, most probably we were run as `sh COMMAND'
9119 # in which case we are not to be found in the path.
9120 if test "x$as_myself" = x
; then
9123 if test ! -f "$as_myself"; then
9124 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9125 { (exit 1); exit 1; }
9128 # Work around bugs in pre-3.0 UWIN ksh.
9129 for as_var
in ENV MAIL MAILPATH
9130 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9142 # Required to use basename.
9143 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9144 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9150 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9151 as_basename
=basename
9157 # Name of the executable.
9158 as_me
=`$as_basename -- "$0" ||
9159 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9160 X"$0" : 'X\(//\)$' \| \
9161 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9163 sed '/^.*\/\([^/][^/]*\)\/*$/{
9184 test "x$as_lineno_1" != "x$as_lineno_2" &&
9185 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9187 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9188 # uniformly replaced by the line number. The first 'sed' inserts a
9189 # line-number line after each line using $LINENO; the second 'sed'
9190 # does the real work. The second script uses 'N' to pair each
9191 # line-number line with the line containing $LINENO, and appends
9192 # trailing '-' during substitution so that $LINENO is not a special
9194 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9195 # scripts with optimization help from Paolo Bonzini. Blame Lee
9196 # E. McMahon (1931-1989) for sed's syntax. :-)
9208 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9212 chmod +x
"$as_me.lineno" ||
9213 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9214 { (exit 1); exit 1; }; }
9216 # Don't try to exec as it changes $[0], causing all sort of problems
9217 # (the dirname of $[0] is not the place where we might find the
9218 # original and so on. Autoconf is especially sensitive to this).
9220 # Exit status is that of the last command.
9225 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9231 ECHO_C
= ECHO_N
= ECHO_T
=
9234 case `echo 'x\c'` in
9235 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9241 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9242 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9248 rm -f conf$$ conf$$.exe conf$$.
file
9249 if test -d conf$$.dir
; then
9250 rm -f conf$$.dir
/conf$$.
file
9253 mkdir conf$$.dir
2>/dev
/null
9255 if (echo >conf$$.
file) 2>/dev
/null
; then
9256 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9258 # ... but there are two gotchas:
9259 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9260 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9261 # In both cases, we have to default to `cp -p'.
9262 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9264 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9272 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9273 rmdir conf$$.dir
2>/dev
/null
9275 if mkdir
-p .
2>/dev
/null
; then
9278 test -d .
/-p && rmdir .
/-p
9282 if test -x / >/dev
/null
2>&1; then
9285 if ls -dL / >/dev
/null
2>&1; then
9292 if test -d "$1"; then
9298 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9299 ???[sx]*):;;*)false;;esac;fi
9303 as_executable_p
=$as_test_x
9305 # Sed expression to map a string onto a valid CPP name.
9306 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9308 # Sed expression to map a string onto a valid variable name.
9309 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9314 # Save the log message, to keep $[0] and so on meaningful, and to
9315 # report actual input values of CONFIG_FILES etc. instead of their
9316 # values after options handling.
9318 This file was extended by GNU C Library $as_me (see version.h), which was
9319 generated by GNU Autoconf 2.63. Invocation command line was
9321 CONFIG_FILES = $CONFIG_FILES
9322 CONFIG_HEADERS = $CONFIG_HEADERS
9323 CONFIG_LINKS = $CONFIG_LINKS
9324 CONFIG_COMMANDS = $CONFIG_COMMANDS
9327 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9332 case $ac_config_files in *"
9333 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9336 case $ac_config_headers in *"
9337 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9342 # Files that config.status was made for.
9343 config_files="$ac_config_files"
9344 config_headers="$ac_config_headers"
9345 config_commands="$ac_config_commands"
9349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9351 \`$as_me' instantiates files from templates according to the
9352 current configuration.
9354 Usage: $0 [OPTION]... [FILE]...
9356 -h, --help print this help, then exit
9357 -V, --version print version number and configuration settings, then exit
9358 -q, --quiet, --silent
9359 do not print progress messages
9360 -d, --debug don't remove temporary files
9361 --recheck update $as_me by reconfiguring in the same conditions
9362 --file=FILE[:TEMPLATE]
9363 instantiate the configuration file FILE
9364 --header=FILE[:TEMPLATE]
9365 instantiate the configuration header FILE
9367 Configuration files:
9370 Configuration headers:
9373 Configuration commands:
9376 Report bugs to <bug-autoconf@gnu.org>."
9379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9381 GNU C Library config.status (see version.h)
9382 configured by $0, generated by GNU Autoconf 2.63,
9383 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9385 Copyright (C) 2008 Free Software Foundation, Inc.
9386 This config.status script is free software; the Free Software Foundation
9387 gives unlimited permission to copy, distribute and modify it."
9393 test -n "\$AWK" || AWK=awk
9396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9397 # The default lists apply if the user does not specify any file.
9403 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9404 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9415 # Handling of the options.
9416 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9418 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9419 $as_echo "$ac_cs_version"; exit ;;
9420 --debug |
--debu |
--deb |
--de |
--d |
-d )
9422 --file |
--fil |
--fi |
--f )
9425 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9427 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
9428 ac_need_defaults
=false
;;
9429 --header |
--heade |
--head |
--hea )
9432 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9434 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
9435 ac_need_defaults
=false
;;
9437 # Conflict between --help and --header
9438 { $as_echo "$as_me: error: ambiguous option: $1
9439 Try \`$0 --help' for more information." >&2
9440 { (exit 1); exit 1; }; };;
9441 --help |
--hel |
-h )
9442 $as_echo "$ac_cs_usage"; exit ;;
9443 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9444 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9448 -*) { $as_echo "$as_me: error: unrecognized option: $1
9449 Try \`$0 --help' for more information." >&2
9450 { (exit 1); exit 1; }; } ;;
9452 *) ac_config_targets
="$ac_config_targets $1"
9453 ac_need_defaults
=false
;;
9459 ac_configure_extra_args
=
9461 if $ac_cs_silent; then
9463 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9468 if \$ac_cs_recheck; then
9469 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9471 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9472 CONFIG_SHELL='$SHELL'
9478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9482 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9483 ## Running $as_me. ##
9489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9493 config_vars='$config_vars'
9497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9499 # Handling of arguments.
9500 for ac_config_target
in $ac_config_targets
9502 case $ac_config_target in
9503 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9504 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9505 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9506 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9507 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9509 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9510 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9511 { (exit 1); exit 1; }; };;
9516 # If the user did not use the arguments to specify the items to instantiate,
9517 # then the envvar interface is used. Set only those that are not.
9518 # We use the long form for the default assignment because of an extremely
9519 # bizarre bug on SunOS 4.1.3.
9520 if $ac_need_defaults; then
9521 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9522 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9523 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9526 # Have a temporary directory for convenience. Make it in the build tree
9527 # simply because there is no reason against having it here, and in addition,
9528 # creating and moving files from /tmp can sometimes cause problems.
9529 # Hook for its removal unless debugging.
9530 # Note that there is a small window in which the directory will not be cleaned:
9531 # after its creation but before its name has been assigned to `$tmp'.
9535 trap 'exit_status=$?
9536 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9538 trap '{ (exit 1); exit 1; }' 1 2 13 15
9540 # Create a (secure) tmp directory for tmp files.
9543 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9544 test -n "$tmp" && test -d "$tmp"
9547 tmp
=.
/conf$$
-$RANDOM
9548 (umask 077 && mkdir
"$tmp")
9551 $as_echo "$as_me: cannot create a temporary directory in ." >&2
9552 { (exit 1); exit 1; }
9555 # Set up the scripts for CONFIG_FILES section.
9556 # No need to generate them if there are no CONFIG_FILES.
9557 # This happens for instance with `./config.status config.h'.
9558 if test -n "$CONFIG_FILES"; then
9562 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9563 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9569 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9574 echo "cat >conf$$subs.awk <<_ACEOF" &&
9575 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9578 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9579 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9580 { (exit 1); exit 1; }; }
9581 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9583 for ac_last_try in false false false false false :; do
9584 . ./conf$$subs.sh ||
9585 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9586 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9587 { (exit 1); exit 1; }; }
9589 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9590 if test $ac_delim_n = $ac_delim_num; then
9592 elif $ac_last_try; then
9593 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9594 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9595 { (exit 1); exit 1; }; }
9597 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9603 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9607 s/^/S["/; s
/!.
*/"]=/
9617 s/\(.\{148\}\).*/\1/
9619 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9624 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9631 s/\(.\{148\}\).*/\1/
9633 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9637 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9642 ' <conf$$subs.awk | sed '
9647 ' >>$CONFIG_STATUS || ac_write_fail=1
9648 rm -f conf$$subs.awk
9649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9651 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9652 for (key in S) S_is_set[key] = 1
9658 nfields = split(line, field, "@
")
9660 len = length(field[1])
9661 for (i = 2; i < nfields; i++) {
9663 keylen = length(key)
9664 if (S_is_set[key]) {
9666 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9667 len += length(value) + length(field[++i])
9678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9679 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9680 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9683 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9684 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
9685 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
9686 { (exit 1); exit 1; }; }
9689 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9690 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9691 # trailing colons and then remove the whole line if VPATH becomes empty
9692 # (actually we leave an empty line to preserve line numbers).
9693 if test "x
$srcdir" = x.; then
9694 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9698 s/^\([^=]*=[ ]*\):*/\1/
9704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9705 fi # test -n "$CONFIG_FILES"
9707 # Set up the scripts for CONFIG_HEADERS section.
9708 # No need to generate them if there are no CONFIG_HEADERS.
9709 # This happens for instance with `./config.status Makefile'.
9710 if test -n "$CONFIG_HEADERS"; then
9711 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9715 # Transform confdefs.h into an awk script `defines.awk', embedded as
9716 # here-document in config.status, that substitutes the proper values into
9717 # config.h.in to produce config.h.
9719 # Create a delimiter string that does not exist in confdefs.h, to ease
9720 # handling of long lines.
9722 for ac_last_try in false false :; do
9723 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9724 if test -z "$ac_t"; then
9726 elif $ac_last_try; then
9727 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
9728 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
9729 { (exit 1); exit 1; }; }
9731 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9735 # For the awk script, D is an array of macro values keyed by name,
9736 # likewise P contains macro parameters if any. Preserve backslash
9737 # newline sequences.
9739 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9741 s/.\{148\}/&'"$ac_delim"'/g
9744 s/^[ ]*#[ ]*define[ ][ ]*/ /
9751 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9753 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9757 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9758 D["\
1"]=" \
3\\\\\\n
"\\/p
9760 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9765 s/.\{148\}/&'"$ac_delim"'/g
9770 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9773 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9775 ' <confdefs.h | sed '
9776 s/'"$ac_delim"'/"\\\
9777 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9780 for (key in D) D_is_set[key] = 1
9783 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9785 split(line, arg, " ")
9786 if (arg[1] == "#") {
9790 defundef
= substr
(arg
[1], 2)
9793 split(mac1
, mac2
, "(") #)
9795 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9796 if (D_is_set
[macro
]) {
9797 # Preserve the white space surrounding the "#".
9798 print prefix
"define", macro P
[macro
] D
[macro
]
9801 # Replace #undef with comments. This is necessary, for example,
9802 # in the case of _POSIX_SOURCE, which is predefined and required
9803 # on some systems where configure will not decide to define it.
9804 if (defundef
== "undef") {
9805 print
"/*", prefix defundef
, macro
, "*/"
9813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9814 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9815 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9816 { (exit 1); exit 1; }; }
9817 fi # test -n "$CONFIG_HEADERS"
9820 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9825 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9827 case $ac_mode$ac_tag in
9829 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9830 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9831 { (exit 1); exit 1; }; };;
9832 :[FH
]-) ac_tag
=-:-;;
9833 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9850 -) ac_f
="$tmp/stdin";;
9851 *) # Look for the file first in the build tree, then in the source tree
9852 # (if the path is not absolute). The absolute path cannot be DOS-style,
9853 # because $ac_f cannot contain `:'.
9857 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9859 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9860 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9861 { (exit 1); exit 1; }; };;
9863 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9864 ac_file_inputs
="$ac_file_inputs '$ac_f'"
9867 # Let's still pretend it is `configure' which instantiates (i.e., don't
9868 # use $as_me), people would be surprised to read:
9869 # /* config.h. Generated by config.status. */
9870 configure_input
='Generated from '`
9871 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9873 if test x
"$ac_file" != x-
; then
9874 configure_input
="$ac_file. $configure_input"
9875 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9876 $as_echo "$as_me: creating $ac_file" >&6;}
9878 # Neutralize special characters interpreted by sed in replacement strings.
9879 case $configure_input in #(
9880 *\
&* |
*\|
* |
*\\* )
9881 ac_sed_conf_input
=`$as_echo "$configure_input" |
9882 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9883 *) ac_sed_conf_input
=$configure_input;;
9887 *:-:* |
*:-) cat >"$tmp/stdin" \
9888 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9889 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9890 { (exit 1); exit 1; }; } ;;
9895 ac_dir
=`$as_dirname -- "$ac_file" ||
9896 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9897 X"$ac_file" : 'X\(//\)[^/]' \| \
9898 X"$ac_file" : 'X\(//\)$' \| \
9899 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9900 $as_echo X"$ac_file" |
9901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9920 -*) as_dir
=.
/$as_dir;;
9922 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9926 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9927 *) as_qdir
=$as_dir;;
9929 as_dirs
="'$as_qdir' $as_dirs"
9930 as_dir
=`$as_dirname -- "$as_dir" ||
9931 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9932 X"$as_dir" : 'X\(//\)[^/]' \| \
9933 X"$as_dir" : 'X\(//\)$' \| \
9934 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9935 $as_echo X"$as_dir" |
9936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9953 test -d "$as_dir" && break
9955 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9956 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9957 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9958 { (exit 1); exit 1; }; }; }
9962 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9964 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9965 # A ".." for each directory in $ac_dir_suffix.
9966 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9967 case $ac_top_builddir_sub in
9968 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9969 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9972 ac_abs_top_builddir
=$ac_pwd
9973 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9974 # for backward compatibility:
9975 ac_top_builddir
=$ac_top_build_prefix
9978 .
) # We are building in place.
9980 ac_top_srcdir
=$ac_top_builddir_sub
9981 ac_abs_top_srcdir
=$ac_pwd ;;
9982 [\\/]* | ?
:[\\/]* ) # Absolute name.
9983 ac_srcdir
=$srcdir$ac_dir_suffix;
9984 ac_top_srcdir
=$srcdir
9985 ac_abs_top_srcdir
=$srcdir ;;
9987 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9988 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9989 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9991 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10001 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10002 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10007 # If the template does not know about datarootdir, expand it.
10008 # FIXME: This hack should be removed a few years after 2.60.
10009 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10022 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10023 *datarootdir
*) ac_datarootdir_seen
=yes;;
10024 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10025 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10026 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10029 ac_datarootdir_hack='
10030 s&@datadir@&$datadir&g
10031 s&@docdir@&$docdir&g
10032 s&@infodir@&$infodir&g
10033 s&@localedir@&$localedir&g
10034 s&@mandir@&$mandir&g
10035 s&\\\${datarootdir}&$datarootdir&g' ;;
10039 # Neutralize VPATH when `$srcdir' = `.'.
10040 # Shell code in configure.ac might set extrasub.
10041 # FIXME: do we really want to maintain this feature?
10042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10043 ac_sed_extra="$ac_vpsub
10046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10048 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10049 s|@configure_input@|
$ac_sed_conf_input|
;t t
10050 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10051 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10052 s
&@srcdir@
&$ac_srcdir&;t t
10053 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10054 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10055 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10056 s
&@builddir@
&$ac_builddir&;t t
10057 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10058 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10059 s
&@INSTALL@
&$ac_INSTALL&;t t
10060 $ac_datarootdir_hack
10062 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
10063 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
10064 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
10065 { (exit 1); exit 1; }; }
10067 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10068 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10069 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10070 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10071 which seems to be undefined. Please make sure it is defined." >&5
10072 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10073 which seems to be undefined. Please make sure it is defined." >&2;}
10077 -) cat "$tmp/out" && rm -f "$tmp/out";;
10078 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10080 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10081 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10082 { (exit 1); exit 1; }; }
10088 if test x"$ac_file" != x-; then
10090 $as_echo "/* $configure_input */" \
10091 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10092 } >"$tmp/config.h" \
10093 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10094 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10095 { (exit 1); exit 1; }; }
10096 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10097 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10098 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10101 mv "$tmp/config.h" "$ac_file" \
10102 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10103 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10104 { (exit 1); exit 1; }; }
10107 $as_echo "/* $configure_input */" \
10108 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10109 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10110 $as_echo "$as_me: error: could not create -" >&2;}
10111 { (exit 1); exit 1; }; }
10115 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10116 $as_echo "$as_me: executing $ac_file commands" >&6;}
10121 case $ac_file$ac_mode in
10123 case $CONFIG_FILES in *config.make*)
10124 echo "$config_vars" >> config.make;;
10126 test -d bits || mkdir bits ;;
10132 { (exit 0); exit 0; }
10134 chmod +x $CONFIG_STATUS
10135 ac_clean_files=$ac_clean_files_save
10137 test $ac_write_fail = 0 ||
10138 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10139 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10140 { (exit 1); exit 1; }; }
10143 # configure is writing to config.log, and then calls config.status.
10144 # config.status does its own redirection, appending to config.log.
10145 # Unfortunately, on DOS this fails, as config.log is still kept open
10146 # by configure, so config.status won't be able to
write to it
; its
10147 # output is simply discarded. So we exec the FD to /dev/null,
10148 # effectively closing config.log, so it can be properly (re)opened and
10149 # appended to by config.status. When coming back to configure, we
10150 # need to make the FD available again.
10151 if test "$no_create" != yes; then
10153 ac_config_status_args
=
10154 test "$silent" = yes &&
10155 ac_config_status_args
="$ac_config_status_args --quiet"
10157 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10159 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10160 # would make configure fail if this is the last instruction.
10161 $ac_cs_success ||
{ (exit 1); exit 1; }
10165 # CONFIG_SUBDIRS section.
10167 if test "$no_recursion" != yes; then
10169 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10170 # so they do not pile up.
10171 ac_sub_configure_args
=
10173 eval "set x $ac_configure_args"
10177 if test -n "$ac_prev"; then
10182 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
10183 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
10184 ac_prev
=cache_file
;;
10185 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
10186 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
10189 --config-cache |
-C)
10191 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
10193 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
10195 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
10197 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
10199 --disable-option-checking)
10203 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10205 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
10209 # Always prepend --prefix to ensure using the same prefix
10210 # in subdir configurations.
10211 ac_arg
="--prefix=$prefix"
10213 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10215 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
10218 if test "$silent" = yes; then
10219 ac_sub_configure_args
="--silent $ac_sub_configure_args"
10222 # Always prepend --disable-option-checking to silence warnings, since
10223 # different subdirs can have different --enable and --with options.
10224 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
10227 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
10229 # Do not complain, so a configure script can configure whichever
10230 # parts of a large source tree are present.
10231 test -d "$srcdir/$ac_dir" ||
continue
10233 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10234 $as_echo "$as_me:$LINENO: $ac_msg" >&5
10235 $as_echo "$ac_msg" >&6
10238 -*) as_dir
=.
/$as_dir;;
10240 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10244 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10245 *) as_qdir
=$as_dir;;
10247 as_dirs
="'$as_qdir' $as_dirs"
10248 as_dir
=`$as_dirname -- "$as_dir" ||
10249 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10250 X"$as_dir" : 'X\(//\)[^/]' \| \
10251 X"$as_dir" : 'X\(//\)$' \| \
10252 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10253 $as_echo X"$as_dir" |
10254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10258 /^X\(\/\/\)[^/].*/{
10271 test -d "$as_dir" && break
10273 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10274 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10275 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10276 { (exit 1); exit 1; }; }; }
10280 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10282 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10283 # A ".." for each directory in $ac_dir_suffix.
10284 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10285 case $ac_top_builddir_sub in
10286 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10287 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10290 ac_abs_top_builddir
=$ac_pwd
10291 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10292 # for backward compatibility:
10293 ac_top_builddir
=$ac_top_build_prefix
10296 .
) # We are building in place.
10298 ac_top_srcdir
=$ac_top_builddir_sub
10299 ac_abs_top_srcdir
=$ac_pwd ;;
10300 [\\/]* | ?
:[\\/]* ) # Absolute name.
10301 ac_srcdir
=$srcdir$ac_dir_suffix;
10302 ac_top_srcdir
=$srcdir
10303 ac_abs_top_srcdir
=$srcdir ;;
10304 *) # Relative name.
10305 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10306 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10307 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10309 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10314 # Check for guested configure; otherwise get Cygnus style configure.
10315 if test -f "$ac_srcdir/configure.gnu"; then
10316 ac_sub_configure
=$ac_srcdir/configure.gnu
10317 elif test -f "$ac_srcdir/configure"; then
10318 ac_sub_configure
=$ac_srcdir/configure
10319 elif test -f "$ac_srcdir/configure.in"; then
10320 # This should be Cygnus configure.
10321 ac_sub_configure
=$ac_aux_dir/configure
10323 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10324 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10328 # The recursion is here.
10329 if test -n "$ac_sub_configure"; then
10330 # Make the cache file name correct relative to the subdirectory.
10331 case $cache_file in
10332 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
10333 *) # Relative name.
10334 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
10337 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10338 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10339 # The eval makes quoting arguments work.
10340 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10341 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10342 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10343 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10344 { (exit 1); exit 1; }; }
10350 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10351 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10352 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}