2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x
; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var
in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
145 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me
=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x
; then
177 if (eval ":") 2>/dev
/null
; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev
/null
; then
243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
244 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir
=.
250 for as_base
in sh bash ksh sh5
; do
251 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
258 for as_shell
in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix
*) set -o posix
;;
280 CONFIG_SHELL
=$as_shell
282 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix
*) set -o posix
;;
308 as_func_ret_success
() {
311 as_func_ret_failure
() {
316 if as_func_success
; then
320 echo as_func_success failed.
323 if as_func_failure
; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success
; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure
; then
337 echo as_func_ret_failure succeeded.
340 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) ||
{ (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x
; then
365 for as_var
in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no
; then
374 echo This
script requires a shell
more modern than all the
375 echo shells that I found on your system. Please
install a
376 echo modern shell
, or manually run the
script under such a
377 echo shell
if you
do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") ||
{
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system
,
439 echo including any error possibly output before this message.
440 echo This can
help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x
"$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
495 ECHO_C
= ECHO_N
= ECHO_T
=
499 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
542 test -d .
/-p && rmdir .
/-p
546 if test -x / >/dev
/null
2>&1; then
549 if ls -dL / >/dev
/null
2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p
=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 exec 7<&0 </dev
/null
6>&1
580 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
581 # so uname gets run too.
582 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
587 ac_default_prefix
=/usr
/local
589 ac_config_libobj_dir
=.
595 SHELL
=${CONFIG_SHELL-/bin/sh}
597 # Identity of this package.
598 PACKAGE_NAME
='GNU C Library'
599 PACKAGE_TARNAME
='c-library'
600 PACKAGE_VERSION
='(see version.h)'
601 PACKAGE_STRING
='GNU C Library (see version.h)'
602 PACKAGE_BUGREPORT
='glibc'
604 ac_unique_file
="include/features.h"
605 enable_option_checking
=no
606 # Factoring default headers for most tests.
607 ac_includes_default
="\
609 #ifdef HAVE_SYS_TYPES_H
610 # include <sys/types.h>
612 #ifdef HAVE_SYS_STAT_H
613 # include <sys/stat.h>
619 # ifdef HAVE_STDLIB_H
624 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
642 ac_subst_vars
='LTLIBOBJS
662 libc_cv_cpp_asm_debuginfo
663 libc_cv_forced_unwind
672 libc_cv_gcc_unwind_find_fde
680 libc_cv_cc_submachine
683 libc_cv_have_initfini
693 libc_cv_libgcc_s_suffix
695 libc_cv_cc_with_libunwind
705 libc_cv_gcc_static_libgcc
788 program_transform_name
800 enable_option_checking
819 enable_stackguard_randomization
830 enable_experimental_malloc
834 ac_precious_vars
='build_alias
849 # Initialize some variables set by options.
851 ac_init_version
=false
852 ac_unrecognized_opts
=
854 # The variables have the same names as the options, with
855 # dashes changed to underlines.
863 program_transform_name
=s
,x
,x
,
871 # Installation directory options.
872 # These are left unexpanded so users can "make install exec_prefix=/foo"
873 # and all the variables that are supposed to be based on exec_prefix
874 # by default will actually change.
875 # Use braces instead of parens because sh, perl, etc. also accept them.
876 # (The list follows the same order as the GNU Coding Standards.)
877 bindir
='${exec_prefix}/bin'
878 sbindir
='${exec_prefix}/sbin'
879 libexecdir
='${exec_prefix}/libexec'
880 datarootdir
='${prefix}/share'
881 datadir
='${datarootdir}'
882 sysconfdir
='${prefix}/etc'
883 sharedstatedir
='${prefix}/com'
884 localstatedir
='${prefix}/var'
885 includedir
='${prefix}/include'
886 oldincludedir
='/usr/include'
887 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
888 infodir
='${datarootdir}/info'
893 libdir
='${exec_prefix}/lib'
894 localedir
='${datarootdir}/locale'
895 mandir
='${datarootdir}/man'
901 # If the previous option needs an argument, assign it.
902 if test -n "$ac_prev"; then
903 eval $ac_prev=\
$ac_option
909 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
913 # Accept the important Cygnus configure options, so we can diagnose typos.
915 case $ac_dashdash$ac_option in
919 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
921 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
924 -build |
--build |
--buil |
--bui |
--bu)
925 ac_prev
=build_alias
;;
926 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
927 build_alias
=$ac_optarg ;;
929 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
930 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
931 ac_prev
=cache_file
;;
932 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
933 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
934 cache_file
=$ac_optarg ;;
937 cache_file
=config.cache
;;
939 -datadir |
--datadir |
--datadi |
--datad)
941 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
942 datadir
=$ac_optarg ;;
944 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
945 |
--dataroo |
--dataro |
--datar)
946 ac_prev
=datarootdir
;;
947 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
948 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
949 datarootdir
=$ac_optarg ;;
951 -disable-* |
--disable-*)
952 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
955 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
956 { (exit 1); exit 1; }; }
957 ac_useropt_orig
=$ac_useropt
958 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959 case $ac_user_opts in
963 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
964 ac_unrecognized_sep
=', ';;
966 eval enable_
$ac_useropt=no
;;
968 -docdir |
--docdir |
--docdi |
--doc |
--do)
970 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
973 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
975 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
978 -enable-* |
--enable-*)
979 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
982 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
983 { (exit 1); exit 1; }; }
984 ac_useropt_orig
=$ac_useropt
985 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986 case $ac_user_opts in
990 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
991 ac_unrecognized_sep
=', ';;
993 eval enable_
$ac_useropt=\
$ac_optarg ;;
995 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
996 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
997 |
--exec |
--exe |
--ex)
998 ac_prev
=exec_prefix
;;
999 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1000 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1001 |
--exec=* |
--exe=* |
--ex=*)
1002 exec_prefix
=$ac_optarg ;;
1004 -gas |
--gas |
--ga |
--g)
1005 # Obsolete; use --with-gas.
1008 -help |
--help |
--hel |
--he |
-h)
1009 ac_init_help
=long
;;
1010 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1011 ac_init_help
=recursive
;;
1012 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1013 ac_init_help
=short
;;
1015 -host |
--host |
--hos |
--ho)
1016 ac_prev
=host_alias
;;
1017 -host=* |
--host=* |
--hos=* |
--ho=*)
1018 host_alias
=$ac_optarg ;;
1020 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1022 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1024 htmldir
=$ac_optarg ;;
1026 -includedir |
--includedir |
--includedi |
--included |
--include \
1027 |
--includ |
--inclu |
--incl |
--inc)
1028 ac_prev
=includedir
;;
1029 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1030 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1031 includedir
=$ac_optarg ;;
1033 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1035 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1036 infodir
=$ac_optarg ;;
1038 -libdir |
--libdir |
--libdi |
--libd)
1040 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1041 libdir
=$ac_optarg ;;
1043 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1044 |
--libexe |
--libex |
--libe)
1045 ac_prev
=libexecdir
;;
1046 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1047 |
--libexe=* |
--libex=* |
--libe=*)
1048 libexecdir
=$ac_optarg ;;
1050 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1051 ac_prev
=localedir
;;
1052 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1053 localedir
=$ac_optarg ;;
1055 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1056 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1057 ac_prev
=localstatedir
;;
1058 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1059 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1060 localstatedir
=$ac_optarg ;;
1062 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1064 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1065 mandir
=$ac_optarg ;;
1067 -nfp |
--nfp |
--nf)
1068 # Obsolete; use --without-fp.
1071 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1072 |
--no-cr |
--no-c |
-n)
1075 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1076 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1079 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1080 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1081 |
--oldin |
--oldi |
--old |
--ol |
--o)
1082 ac_prev
=oldincludedir
;;
1083 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1084 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1085 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1086 oldincludedir
=$ac_optarg ;;
1088 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1090 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1091 prefix
=$ac_optarg ;;
1093 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1094 |
--program-pre |
--program-pr |
--program-p)
1095 ac_prev
=program_prefix
;;
1096 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1097 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1098 program_prefix
=$ac_optarg ;;
1100 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1101 |
--program-suf |
--program-su |
--program-s)
1102 ac_prev
=program_suffix
;;
1103 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1104 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1105 program_suffix
=$ac_optarg ;;
1107 -program-transform-name |
--program-transform-name \
1108 |
--program-transform-nam |
--program-transform-na \
1109 |
--program-transform-n |
--program-transform- \
1110 |
--program-transform |
--program-transfor \
1111 |
--program-transfo |
--program-transf \
1112 |
--program-trans |
--program-tran \
1113 |
--progr-tra |
--program-tr |
--program-t)
1114 ac_prev
=program_transform_name
;;
1115 -program-transform-name=* |
--program-transform-name=* \
1116 |
--program-transform-nam=* |
--program-transform-na=* \
1117 |
--program-transform-n=* |
--program-transform-=* \
1118 |
--program-transform=* |
--program-transfor=* \
1119 |
--program-transfo=* |
--program-transf=* \
1120 |
--program-trans=* |
--program-tran=* \
1121 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1122 program_transform_name
=$ac_optarg ;;
1124 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1126 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1127 pdfdir
=$ac_optarg ;;
1129 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1131 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1134 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1135 |
-silent |
--silent |
--silen |
--sile |
--sil)
1138 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1140 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1142 sbindir
=$ac_optarg ;;
1144 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1145 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1146 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1148 ac_prev
=sharedstatedir
;;
1149 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1150 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1151 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1153 sharedstatedir
=$ac_optarg ;;
1155 -site |
--site |
--sit)
1157 -site=* |
--site=* |
--sit=*)
1160 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1162 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1163 srcdir
=$ac_optarg ;;
1165 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1166 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1167 ac_prev
=sysconfdir
;;
1168 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1169 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1170 sysconfdir
=$ac_optarg ;;
1172 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1173 ac_prev
=target_alias
;;
1174 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1175 target_alias
=$ac_optarg ;;
1177 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1180 -version |
--version |
--versio |
--versi |
--vers |
-V)
1181 ac_init_version
=: ;;
1184 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1187 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_useropt_orig
=$ac_useropt
1190 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep
=', ';;
1198 eval with_
$ac_useropt=\
$ac_optarg ;;
1200 -without-* |
--without-*)
1201 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1204 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_useropt_orig
=$ac_useropt
1207 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1212 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213 ac_unrecognized_sep
=', ';;
1215 eval with_
$ac_useropt=no
;;
1218 # Obsolete; use --with-x.
1221 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1222 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1223 ac_prev
=x_includes
;;
1224 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1225 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1226 x_includes
=$ac_optarg ;;
1228 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1229 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1230 ac_prev
=x_libraries
;;
1231 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1232 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1233 x_libraries
=$ac_optarg ;;
1235 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1236 Try \`$0 --help' for more information." >&2
1237 { (exit 1); exit 1; }; }
1241 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1244 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1245 { (exit 1); exit 1; }; }
1246 eval $ac_envvar=\
$ac_optarg
1247 export $ac_envvar ;;
1250 # FIXME: should be removed in autoconf 3.0.
1251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1260 if test -n "$ac_prev"; then
1261 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1262 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1263 { (exit 1); exit 1; }; }
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1269 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1270 { (exit 1); exit 1; }; } ;;
1271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275 # Check all directory arguments for consistency.
1276 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1277 datadir sysconfdir sharedstatedir localstatedir includedir \
1278 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1279 libdir localedir mandir
1281 eval ac_val
=\$
$ac_var
1282 # Remove trailing slashes.
1285 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1286 eval $ac_var=\
$ac_val;;
1288 # Be sure to have absolute directory names.
1290 [\\/$
]* | ?
:[\\/]* ) continue;;
1291 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1293 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1294 { (exit 1); exit 1; }; }
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1302 target
=$target_alias
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x
; then
1306 if test "x$build_alias" = x
; then
1307 cross_compiling
=maybe
1308 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1309 If a cross compiler is detected then cross compile mode will be used." >&2
1310 elif test "x$build_alias" != "x$host_alias"; then
1316 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1318 test "$silent" = yes && exec 6>/dev
/null
1321 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1322 ac_ls_di
=`ls -di .` &&
1323 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1324 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1325 { (exit 1); exit 1; }; }
1326 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1328 { (exit 1); exit 1; }; }
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted
=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir
=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted
=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1367 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1368 { (exit 1); exit 1; }; }
1370 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1372 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1373 { (exit 1); exit 1; }; }
1375 # When building in place, set srcdir=.
1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
1379 # Remove unnecessary trailing slashes from srcdir.
1380 # Double slashes in file names in object file debugging info
1381 # mess up M-x gdb in Emacs.
1383 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1385 for ac_var
in $ac_precious_vars; do
1386 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1388 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1393 # Report the --help message.
1395 if test "$ac_init_help" = "long"; then
1396 # Omit some internal or obsolete options to make the list less imposing.
1397 # This message is too long to be a string in the A/UX 3.1 sh.
1399 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1401 Usage: $0 [OPTION]... [VAR=VALUE]...
1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1404 VAR=VALUE. See below for descriptions of some of the useful variables.
1406 Defaults for the options are specified in brackets.
1409 -h, --help display this help and exit
1410 --help=short display options specific to this package
1411 --help=recursive display the short help of all the included packages
1412 -V, --version display version information and exit
1413 -q, --quiet, --silent do not print \`checking...' messages
1414 --cache-file=FILE cache test results in FILE [disabled]
1415 -C, --config-cache alias for \`--cache-file=config.cache'
1416 -n, --no-create do not create output files
1417 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1419 Installation directories:
1420 --prefix=PREFIX install architecture-independent files in PREFIX
1421 [$ac_default_prefix]
1422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1425 By default, \`make install' will install all the files in
1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1428 for instance \`--prefix=\$HOME'.
1430 For better control, use the options below.
1432 Fine tuning of the installation directories:
1433 --bindir=DIR user executables [EPREFIX/bin]
1434 --sbindir=DIR system admin executables [EPREFIX/sbin]
1435 --libexecdir=DIR program executables [EPREFIX/libexec]
1436 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1437 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1438 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1457 --build=BUILD configure
for building on BUILD
[guessed
]
1458 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1469 --disable-option-checking ignore unrecognized
--enable/--with options
1470 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1471 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1472 --disable-sanity-checks really
do not use threads
(should not be used except
1473 in special situations
) [default
=yes]
1474 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1476 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1477 --enable-profile build profiled library
[default
=no
]
1478 --enable-omitfp build undebuggable optimized library
[default
=no
]
1479 --enable-bounded build with runtime bounds checking
[default
=no
]
1480 --disable-versioning do not include versioning information
in the library
1481 objects
[default
=yes if supported
]
1482 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1483 [default
=glibc default
]
1484 --enable-stackguard-randomization
1485 initialize __stack_chk_guard canary with a random
1486 number
at program start
1487 --enable-add-ons[=DIRS...
]
1488 configure and build add-ons
in DIR1
,DIR2
,... search
1489 for add-ons
if no parameter given
1490 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1491 --enable-bind-now disable lazy relocations
in DSOs
1492 --enable-static-nss build static NSS modules
[default
=no
]
1493 --disable-force-install don
't force installation of files from this package,
1494 even if they are older than the installed files
1495 --enable-kernel=VERSION compile for compatibility with kernel not older than
1497 --enable-all-warnings enable all useful warnings gcc can issue
1498 --enable-multi-arch enable single DSO with optimizations for multiple
1500 --enable-experimental-malloc
1501 enable experimental malloc features
1502 --enable-nss-crypt enable libcrypt to use nss
1505 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1506 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1507 --with-gd=DIR find libgd include dir and library with prefix DIR
1508 --with-gd-include=DIR find libgd include files in DIR
1509 --with-gd-lib=DIR find libgd library files in DIR
1510 --with-fp if using floating-point hardware [default=yes]
1511 --with-binutils=PATH specify location of binutils (as and ld)
1512 --with-elf if using the ELF object format
1513 --with-selinux if building with SELinux support
1514 --with-xcoff if using the XCOFF object format
1515 --without-cvs if CVS should not be used
1516 --with-headers=PATH location of system headers to use (for example
1517 /usr/src/linux/include) [default=compiler default]
1518 --with-tls enable support for TLS
1519 --without-__thread do not use TLS features even when supporting them
1520 --with-cpu=CPU select code for CPU variant
1522 Some influential environment variables:
1523 CC C compiler command
1524 CFLAGS C compiler flags
1525 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1526 nonstandard directory <lib dir>
1527 LIBS libraries to pass to the linker, e.g. -l<library>
1528 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1529 you have headers in a nonstandard directory <include dir>
1531 CXX C++ compiler command
1532 CXXFLAGS C++ compiler flags
1534 Use these variables to override the choices made by `configure' or to
help
1535 it to
find libraries and programs with nonstandard names
/locations.
1537 Report bugs to
<glibc
>.
1542 if test "$ac_init_help" = "recursive"; then
1543 # If there are subdirs, report their specific --help.
1544 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1545 test -d "$ac_dir" ||
1546 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1551 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1553 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554 # A ".." for each directory in $ac_dir_suffix.
1555 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556 case $ac_top_builddir_sub in
1557 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1558 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1561 ac_abs_top_builddir
=$ac_pwd
1562 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1563 # for backward compatibility:
1564 ac_top_builddir
=$ac_top_build_prefix
1567 .
) # We are building in place.
1569 ac_top_srcdir
=$ac_top_builddir_sub
1570 ac_abs_top_srcdir
=$ac_pwd ;;
1571 [\\/]* | ?
:[\\/]* ) # Absolute name.
1572 ac_srcdir
=$srcdir$ac_dir_suffix;
1573 ac_top_srcdir
=$srcdir
1574 ac_abs_top_srcdir
=$srcdir ;;
1576 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1578 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1580 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1582 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1583 # Check for guested configure.
1584 if test -f "$ac_srcdir/configure.gnu"; then
1586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587 elif test -f "$ac_srcdir/configure"; then
1589 $SHELL "$ac_srcdir/configure" --help=recursive
1591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1593 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1597 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then
1600 GNU C Library configure
(see version.h
)
1601 generated by GNU Autoconf
2.63
1603 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1604 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1605 This configure
script is free software
; the Free Software Foundation
1606 gives unlimited permission to copy
, distribute and modify it.
1610 cat >config.log
<<_ACEOF
1611 This file contains any messages produced by compilers while
1612 running configure, to aid debugging if configure makes a mistake.
1614 It was created by GNU C Library $as_me (see version.h), which was
1615 generated by GNU Autoconf 2.63. Invocation command line was
1627 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1628 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1629 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1630 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1631 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1633 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1634 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1636 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1637 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1638 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1639 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1640 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1641 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1642 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir
=.
1651 $as_echo "PATH: $as_dir"
1667 # Keep a trace of the command line.
1668 # Strip out --no-create and --no-recursion so they do not pile up.
1669 # Strip out --silent because we don't want to record it for future runs.
1670 # Also quote any args containing shell meta-characters.
1671 # Make two passes to allow for proper duplicate-argument suppression.
1675 ac_must_keep_next
=false
1681 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1682 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1683 |
-silent |
--silent |
--silen |
--sile |
--sil)
1686 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1689 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1691 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1692 if test $ac_must_keep_next = true
; then
1693 ac_must_keep_next
=false
# Got value, back to normal.
1696 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1697 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1698 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1699 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1700 case "$ac_configure_args0 " in
1701 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1704 -* ) ac_must_keep_next
=true
;;
1707 ac_configure_args
="$ac_configure_args '$ac_arg'"
1712 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1713 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1715 # When interrupted or exit'd, cleanup temporary files, and complete
1716 # config.log. We remove comments because anyway the quotes in there
1717 # would cause problems or look ugly.
1718 # WARNING: Use '\'' to represent an apostrophe within the trap.
1719 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1720 trap 'exit_status=$?
1721 # Save into config.log some information that might help in debugging.
1726 ## ---------------- ##
1727 ## Cache variables. ##
1728 ## ---------------- ##
1731 # The following way of writing the cache mishandles newlines in values,
1733 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1734 eval ac_val=\$$ac_var
1738 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1739 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1742 _ | IFS | as_nl) ;; #(
1743 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1744 *) $as_unset $ac_var ;;
1749 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1750 *${as_nl}ac_space=\ *)
1752 "s/'\''/'\''\\\\'\'''\''/g;
1753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1764 ## ----------------- ##
1765 ## Output variables. ##
1766 ## ----------------- ##
1769 for ac_var in $ac_subst_vars
1771 eval ac_val=\$$ac_var
1773 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1775 $as_echo "$ac_var='\''$ac_val'\''"
1779 if test -n "$ac_subst_files"; then
1781 ## ------------------- ##
1782 ## File substitutions. ##
1783 ## ------------------- ##
1786 for ac_var
in $ac_subst_files
1788 eval ac_val
=\$
$ac_var
1790 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1792 $as_echo "$ac_var='\''$ac_val'\''"
1797 if test -s confdefs.h; then
1807 test "$ac_signal" != 0 &&
1808 $as_echo "$as_me: caught signal $ac_signal"
1809 $as_echo "$as_me: exit $exit_status"
1811 rm -f core *.core core.conftest.* &&
1812 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1815 for ac_signal
in 1 2 13 15; do
1816 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1820 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1821 rm -f -r conftest
* confdefs.h
1823 # Predefined preprocessor variables.
1825 cat >>confdefs.h
<<_ACEOF
1826 #define PACKAGE_NAME "$PACKAGE_NAME"
1830 cat >>confdefs.h
<<_ACEOF
1831 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1835 cat >>confdefs.h
<<_ACEOF
1836 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1840 cat >>confdefs.h
<<_ACEOF
1841 #define PACKAGE_STRING "$PACKAGE_STRING"
1845 cat >>confdefs.h
<<_ACEOF
1846 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1850 # Let the site file select an alternate cache file if it wants to.
1851 # Prefer an explicitly selected file to automatically selected ones.
1854 if test -n "$CONFIG_SITE"; then
1855 ac_site_file1
=$CONFIG_SITE
1856 elif test "x$prefix" != xNONE
; then
1857 ac_site_file1
=$prefix/share
/config.site
1858 ac_site_file2
=$prefix/etc
/config.site
1860 ac_site_file1
=$ac_default_prefix/share
/config.site
1861 ac_site_file2
=$ac_default_prefix/etc
/config.site
1863 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1865 test "x$ac_site_file" = xNONE
&& continue
1866 if test -r "$ac_site_file"; then
1867 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1868 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1869 sed 's/^/| /' "$ac_site_file" >&5
1874 if test -r "$cache_file"; then
1875 # Some versions of bash will fail to source /dev/null (special
1876 # files actually), so we avoid doing that.
1877 if test -f "$cache_file"; then
1878 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1879 $as_echo "$as_me: loading cache $cache_file" >&6;}
1881 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1882 *) .
"./$cache_file";;
1886 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1887 $as_echo "$as_me: creating cache $cache_file" >&6;}
1891 # Check that the precious variables saved in the cache have kept the same
1893 ac_cache_corrupted
=false
1894 for ac_var
in $ac_precious_vars; do
1895 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1896 eval ac_new_set
=\
$ac_env_${ac_var}_set
1897 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1898 eval ac_new_val
=\
$ac_env_${ac_var}_value
1899 case $ac_old_set,$ac_new_set in
1901 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1902 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1903 ac_cache_corrupted
=: ;;
1905 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1906 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1907 ac_cache_corrupted
=: ;;
1910 if test "x$ac_old_val" != "x$ac_new_val"; then
1911 # differences in whitespace do not lead to failure.
1912 ac_old_val_w
=`echo x $ac_old_val`
1913 ac_new_val_w
=`echo x $ac_new_val`
1914 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1915 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1916 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1917 ac_cache_corrupted
=:
1919 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1920 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1921 eval $ac_var=\
$ac_old_val
1923 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1924 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1925 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1926 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1929 # Pass precious variables to config.status.
1930 if test "$ac_new_set" = set; then
1932 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1933 *) ac_arg
=$ac_var=$ac_new_val ;;
1935 case " $ac_configure_args " in
1936 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1937 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1941 if $ac_cache_corrupted; then
1942 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1944 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1945 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1946 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1947 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1948 { (exit 1); exit 1; }; }
1976 ac_cpp
='$CPP $CPPFLAGS'
1977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1983 ac_config_headers
="$ac_config_headers config.h"
1986 for ac_dir
in scripts
"$srcdir"/scripts
; do
1987 if test -f "$ac_dir/install-sh"; then
1989 ac_install_sh
="$ac_aux_dir/install-sh -c"
1991 elif test -f "$ac_dir/install.sh"; then
1993 ac_install_sh
="$ac_aux_dir/install.sh -c"
1995 elif test -f "$ac_dir/shtool"; then
1997 ac_install_sh
="$ac_aux_dir/shtool install -c"
2001 if test -z "$ac_aux_dir"; then
2002 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2003 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2004 { (exit 1); exit 1; }; }
2007 # These three variables are undocumented and unsupported,
2008 # and are intended to be withdrawn in a future Autoconf release.
2009 # They can cause serious problems if a builder's source tree is in a directory
2010 # whose full name contains unusual characters.
2011 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2012 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2013 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2022 # Make sure we can run config.sub.
2023 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2024 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2025 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2026 { (exit 1); exit 1; }; }
2028 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2029 $as_echo_n "checking build system type... " >&6; }
2030 if test "${ac_cv_build+set}" = set; then
2031 $as_echo_n "(cached) " >&6
2033 ac_build_alias
=$build_alias
2034 test "x$ac_build_alias" = x
&&
2035 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2036 test "x$ac_build_alias" = x
&&
2037 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2038 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2039 { (exit 1); exit 1; }; }
2040 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2041 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2042 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2043 { (exit 1); exit 1; }; }
2046 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2047 $as_echo "$ac_cv_build" >&6; }
2048 case $ac_cv_build in
2050 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2051 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2052 { (exit 1); exit 1; }; };;
2055 ac_save_IFS
=$IFS; IFS
='-'
2061 # Remember, the first character of IFS is used to create $*,
2062 # except with old shells:
2065 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2068 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2069 $as_echo_n "checking host system type... " >&6; }
2070 if test "${ac_cv_host+set}" = set; then
2071 $as_echo_n "(cached) " >&6
2073 if test "x$host_alias" = x
; then
2074 ac_cv_host
=$ac_cv_build
2076 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2077 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2078 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2079 { (exit 1); exit 1; }; }
2083 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2084 $as_echo "$ac_cv_host" >&6; }
2087 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2088 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2089 { (exit 1); exit 1; }; };;
2092 ac_save_IFS
=$IFS; IFS
='-'
2098 # Remember, the first character of IFS is used to create $*,
2099 # except with old shells:
2102 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2107 ac_cpp
='$CPP $CPPFLAGS'
2108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2111 if test -n "$ac_tool_prefix"; then
2112 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2113 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2114 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 $as_echo_n "checking for $ac_word... " >&6; }
2116 if test "${ac_cv_prog_CC+set}" = set; then
2117 $as_echo_n "(cached) " >&6
2119 if test -n "$CC"; then
2120 ac_cv_prog_CC
="$CC" # Let the user override the test.
2122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir
=.
2127 for ac_exec_ext
in '' $ac_executable_extensions; do
2128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2130 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 if test -n "$CC"; then
2141 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2142 $as_echo "$CC" >&6; }
2144 { $as_echo "$as_me:$LINENO: result: no" >&5
2145 $as_echo "no" >&6; }
2150 if test -z "$ac_cv_prog_CC"; then
2152 # Extract the first word of "gcc", so it can be a program name with args.
2153 set dummy gcc
; ac_word
=$2
2154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 $as_echo_n "checking for $ac_word... " >&6; }
2156 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2157 $as_echo_n "(cached) " >&6
2159 if test -n "$ac_ct_CC"; then
2160 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir
=.
2167 for ac_exec_ext
in '' $ac_executable_extensions; do
2168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169 ac_cv_prog_ac_ct_CC
="gcc"
2170 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 $as_echo "$ac_ct_CC" >&6; }
2184 { $as_echo "$as_me:$LINENO: result: no" >&5
2185 $as_echo "no" >&6; }
2188 if test "x$ac_ct_CC" = x
; then
2191 case $cross_compiling:$ac_tool_warned in
2193 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2195 ac_tool_warned
=yes ;;
2203 if test -z "$CC"; then
2204 if test -n "$ac_tool_prefix"; then
2205 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2206 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 $as_echo_n "checking for $ac_word... " >&6; }
2209 if test "${ac_cv_prog_CC+set}" = set; then
2210 $as_echo_n "(cached) " >&6
2212 if test -n "$CC"; then
2213 ac_cv_prog_CC
="$CC" # Let the user override the test.
2215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir
=.
2220 for ac_exec_ext
in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2223 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test -n "$CC"; then
2234 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2235 $as_echo "$CC" >&6; }
2237 { $as_echo "$as_me:$LINENO: result: no" >&5
2238 $as_echo "no" >&6; }
2244 if test -z "$CC"; then
2245 # Extract the first word of "cc", so it can be a program name with args.
2246 set dummy cc
; ac_word
=$2
2247 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2248 $as_echo_n "checking for $ac_word... " >&6; }
2249 if test "${ac_cv_prog_CC+set}" = set; then
2250 $as_echo_n "(cached) " >&6
2252 if test -n "$CC"; then
2253 ac_cv_prog_CC
="$CC" # Let the user override the test.
2256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2260 test -z "$as_dir" && as_dir
=.
2261 for ac_exec_ext
in '' $ac_executable_extensions; do
2262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2264 ac_prog_rejected
=yes
2268 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 if test $ac_prog_rejected = yes; then
2276 # We found a bogon in the path, so make sure we never use it.
2277 set dummy
$ac_cv_prog_CC
2279 if test $# != 0; then
2280 # We chose a different compiler from the bogus one.
2281 # However, it has the same basename, so the bogon will be chosen
2282 # first if we set CC to just the basename; use the full file name.
2284 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2290 if test -n "$CC"; then
2291 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2292 $as_echo "$CC" >&6; }
2294 { $as_echo "$as_me:$LINENO: result: no" >&5
2295 $as_echo "no" >&6; }
2300 if test -z "$CC"; then
2301 if test -n "$ac_tool_prefix"; then
2302 for ac_prog
in cl.exe
2304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2305 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2306 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_CC+set}" = set; then
2309 $as_echo_n "(cached) " >&6
2311 if test -n "$CC"; then
2312 ac_cv_prog_CC
="$CC" # Let the user override the test.
2314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir
=.
2319 for ac_exec_ext
in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2322 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 if test -n "$CC"; then
2333 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2334 $as_echo "$CC" >&6; }
2336 { $as_echo "$as_me:$LINENO: result: no" >&5
2337 $as_echo "no" >&6; }
2341 test -n "$CC" && break
2344 if test -z "$CC"; then
2346 for ac_prog
in cl.exe
2348 # Extract the first word of "$ac_prog", so it can be a program name with args.
2349 set dummy
$ac_prog; ac_word
=$2
2350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2353 $as_echo_n "(cached) " >&6
2355 if test -n "$ac_ct_CC"; then
2356 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir
=.
2363 for ac_exec_ext
in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_ac_ct_CC
="$ac_prog"
2366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2376 if test -n "$ac_ct_CC"; then
2377 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2378 $as_echo "$ac_ct_CC" >&6; }
2380 { $as_echo "$as_me:$LINENO: result: no" >&5
2381 $as_echo "no" >&6; }
2385 test -n "$ac_ct_CC" && break
2388 if test "x$ac_ct_CC" = x
; then
2391 case $cross_compiling:$ac_tool_warned in
2393 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2395 ac_tool_warned
=yes ;;
2404 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2406 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2407 See \`config.log' for more details." >&5
2408 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2409 See \`config.log' for more details." >&2;}
2410 { (exit 1); exit 1; }; }; }
2412 # Provide some information about the compiler.
2413 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2416 { (ac_try
="$ac_compiler --version >&5"
2418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2419 *) ac_try_echo=$ac_try;;
2421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2422 $as_echo "$ac_try_echo") >&5
2423 (eval "$ac_compiler --version >&5") 2>&5
2425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }
2427 { (ac_try="$ac_compiler -v >&5"
2429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2430 *) ac_try_echo
=$ac_try;;
2432 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2433 $as_echo "$ac_try_echo") >&5
2434 (eval "$ac_compiler -v >&5") 2>&5
2436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }
2438 { (ac_try
="$ac_compiler -V >&5"
2440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2441 *) ac_try_echo=$ac_try;;
2443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2444 $as_echo "$ac_try_echo") >&5
2445 (eval "$ac_compiler -V >&5") 2>&5
2447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }
2451 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2452 $as_echo_n "checking for suffix of object files... " >&6; }
2453 if test "${ac_cv_objext+set}" = set; then
2454 $as_echo_n "(cached) " >&6
2456 cat >conftest.$ac_ext <<_ACEOF
2459 cat confdefs.h >>conftest.$ac_ext
2460 cat >>conftest.$ac_ext <<_ACEOF
2461 /* end confdefs.h. */
2471 rm -f conftest.o conftest.obj
2472 if { (ac_try="$ac_compile"
2474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2475 *) ac_try_echo
=$ac_try;;
2477 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2478 $as_echo "$ac_try_echo") >&5
2479 (eval "$ac_compile") 2>&5
2481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; then
2483 for ac_file
in conftest.o conftest.obj conftest.
*; do
2484 test -f "$ac_file" ||
continue;
2486 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2487 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2492 $as_echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.
$ac_ext >&5
2495 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2497 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2498 See \`config.log' for more details." >&5
2499 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2500 See \`config.log' for more details." >&2;}
2501 { (exit 1); exit 1; }; }; }
2504 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2506 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2507 $as_echo "$ac_cv_objext" >&6; }
2508 OBJEXT
=$ac_cv_objext
2510 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2511 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2512 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2513 $as_echo_n "(cached) " >&6
2515 cat >conftest.
$ac_ext <<_ACEOF
2518 cat confdefs.h
>>conftest.
$ac_ext
2519 cat >>conftest.
$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2533 rm -f conftest.
$ac_objext
2534 if { (ac_try
="$ac_compile"
2536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2540 $as_echo "$ac_try_echo") >&5
2541 (eval "$ac_compile") 2>conftest.er1
2543 grep -v '^ *+' conftest.er1 >conftest.err
2545 cat conftest.err >&5
2546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); } && {
2548 test -z "$ac_c_werror_flag" ||
2549 test ! -s conftest.err
2550 } && test -s conftest.$ac_objext; then
2553 $as_echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2563 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2564 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2565 if test $ac_compiler_gnu = yes; then
2570 ac_test_CFLAGS=${CFLAGS+set}
2571 ac_save_CFLAGS=$CFLAGS
2572 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2573 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2574 if test "${ac_cv_prog_cc_g+set}" = set; then
2575 $as_echo_n "(cached) " >&6
2577 ac_save_c_werror_flag=$ac_c_werror_flag
2578 ac_c_werror_flag=yes
2581 cat >conftest.$ac_ext <<_ACEOF
2584 cat confdefs.h >>conftest.$ac_ext
2585 cat >>conftest.$ac_ext <<_ACEOF
2586 /* end confdefs.h. */
2596 rm -f conftest.$ac_objext
2597 if { (ac_try="$ac_compile"
2599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2600 *) ac_try_echo
=$ac_try;;
2602 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2603 $as_echo "$ac_try_echo") >&5
2604 (eval "$ac_compile") 2>conftest.er1
2606 grep -v '^ *+' conftest.er1
>conftest.err
2608 cat conftest.err
>&5
2609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } && {
2611 test -z "$ac_c_werror_flag" ||
2612 test ! -s conftest.err
2613 } && test -s conftest.
$ac_objext; then
2616 $as_echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.
$ac_ext >&5
2620 cat >conftest.
$ac_ext <<_ACEOF
2623 cat confdefs.h
>>conftest.
$ac_ext
2624 cat >>conftest.
$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2635 rm -f conftest.
$ac_objext
2636 if { (ac_try
="$ac_compile"
2638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642 $as_echo "$ac_try_echo") >&5
2643 (eval "$ac_compile") 2>conftest.er1
2645 grep -v '^ *+' conftest.er1 >conftest.err
2647 cat conftest.err >&5
2648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } && {
2650 test -z "$ac_c_werror_flag" ||
2651 test ! -s conftest.err
2652 } && test -s conftest.$ac_objext; then
2655 $as_echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.$ac_ext >&5
2658 ac_c_werror_flag=$ac_save_c_werror_flag
2660 cat >conftest.$ac_ext <<_ACEOF
2663 cat confdefs.h >>conftest.$ac_ext
2664 cat >>conftest.$ac_ext <<_ACEOF
2665 /* end confdefs.h. */
2675 rm -f conftest.$ac_objext
2676 if { (ac_try="$ac_compile"
2678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2679 *) ac_try_echo
=$ac_try;;
2681 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2682 $as_echo "$ac_try_echo") >&5
2683 (eval "$ac_compile") 2>conftest.er1
2685 grep -v '^ *+' conftest.er1
>conftest.err
2687 cat conftest.err
>&5
2688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } && {
2690 test -z "$ac_c_werror_flag" ||
2691 test ! -s conftest.err
2692 } && test -s conftest.
$ac_objext; then
2695 $as_echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2708 ac_c_werror_flag
=$ac_save_c_werror_flag
2710 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2711 $as_echo "$ac_cv_prog_cc_g" >&6; }
2712 if test "$ac_test_CFLAGS" = set; then
2713 CFLAGS
=$ac_save_CFLAGS
2714 elif test $ac_cv_prog_cc_g = yes; then
2715 if test "$GCC" = yes; then
2721 if test "$GCC" = yes; then
2727 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2728 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2729 if test "${ac_cv_prog_cc_c89+set}" = set; then
2730 $as_echo_n "(cached) " >&6
2732 ac_cv_prog_cc_c89
=no
2734 cat >conftest.
$ac_ext <<_ACEOF
2737 cat confdefs.h
>>conftest.
$ac_ext
2738 cat >>conftest.
$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 #include <sys/types.h>
2743 #include <sys/stat.h>
2744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2745 struct buf { int x; };
2746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2747 static char *e (p, i)
2753 static char *f (char * (*g) (char **, int), char **p, ...)
2758 s = g (p, va_arg (v,int));
2763 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2764 function prototypes and stuff, but not '\xHH' hex character constants.
2765 These don't provoke an error unfortunately, instead are silently treated
2766 as 'x'. The following induces an error, until -std is added to get
2767 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2768 array size at least. It's necessary to write '\x00'==0 to get something
2769 that's true only with -std. */
2770 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2772 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2773 inside strings and character constants. */
2775 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2791 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2792 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2794 CC
="$ac_save_CC $ac_arg"
2795 rm -f conftest.
$ac_objext
2796 if { (ac_try
="$ac_compile"
2798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2802 $as_echo "$ac_try_echo") >&5
2803 (eval "$ac_compile") 2>conftest.er1
2805 grep -v '^ *+' conftest.er1 >conftest.err
2807 cat conftest.err >&5
2808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } && {
2810 test -z "$ac_c_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.$ac_objext; then
2813 ac_cv_prog_cc_c89=$ac_arg
2815 $as_echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2821 rm -f core conftest.err conftest.$ac_objext
2822 test "x$ac_cv_prog_cc_c89" != "xno" && break
2824 rm -f conftest.$ac_ext
2829 case "x$ac_cv_prog_cc_c89" in
2831 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2832 $as_echo "none needed" >&6; } ;;
2834 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2835 $as_echo "unsupported" >&6; } ;;
2837 CC="$CC $ac_cv_prog_cc_c89"
2838 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2839 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2844 ac_cpp='$CPP $CPPFLAGS'
2845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2849 if test $host != $build; then
2850 for ac_prog in gcc cc
2852 # Extract the first word of "$ac_prog", so it can be a program name with args.
2853 set dummy $ac_prog; ac_word=$2
2854 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2857 $as_echo_n "(cached) " >&6
2859 if test -n "$BUILD_CC"; then
2860 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir=.
2867 for ac_exec_ext in '' $ac_executable_extensions; do
2868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2869 ac_cv_prog_BUILD_CC="$ac_prog"
2870 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2879 BUILD_CC=$ac_cv_prog_BUILD_CC
2880 if test -n "$BUILD_CC"; then
2881 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2882 $as_echo "$BUILD_CC" >&6; }
2884 { $as_echo "$as_me:$LINENO: result: no" >&5
2885 $as_echo "no" >&6; }
2889 test -n "$BUILD_CC" && break
2895 ac_cpp='$CPP $CPPFLAGS'
2896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2899 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2900 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2901 # On Suns, sometimes $CPP names a directory.
2902 if test -n "$CPP" && test -d "$CPP"; then
2905 if test -z "$CPP"; then
2906 if test "${ac_cv_prog_CPP+set}" = set; then
2907 $as_echo_n "(cached) " >&6
2909 # Double quotes because CPP needs to be expanded
2910 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2913 for ac_c_preproc_warn_flag in '' yes
2915 # Use a header file that comes with gcc, so configuring glibc
2916 # with a fresh cross-compiler works.
2917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2918 # <limits.h> exists even on freestanding compilers.
2919 # On the NeXT, cc -E runs the code through the compiler's parser,
2920 # not just through cpp. "Syntax error" is here to catch this case.
2921 cat >conftest.$ac_ext <<_ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2928 # include <limits.h>
2930 # include <assert.h>
2934 if { (ac_try="$ac_cpp conftest.$ac_ext"
2936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2937 *) ac_try_echo
=$ac_try;;
2939 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2940 $as_echo "$ac_try_echo") >&5
2941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2943 grep -v '^ *+' conftest.er1
>conftest.err
2945 cat conftest.err
>&5
2946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } >/dev
/null
&& {
2948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2949 test ! -s conftest.err
2953 $as_echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.
$ac_ext >&5
2956 # Broken: fails on valid input.
2960 rm -f conftest.err conftest.
$ac_ext
2962 # OK, works on sane cases. Now check whether nonexistent headers
2963 # can be detected and how.
2964 cat >conftest.
$ac_ext <<_ACEOF
2967 cat confdefs.h
>>conftest.
$ac_ext
2968 cat >>conftest.
$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2970 #include <ac_nonexistent.h>
2972 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2978 $as_echo "$ac_try_echo") >&5
2979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2981 grep -v '^ *+' conftest.er1 >conftest.err
2983 cat conftest.err >&5
2984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); } >/dev/null && {
2986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2987 test ! -s conftest.err
2989 # Broken: success on invalid input.
2992 $as_echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 # Passes both tests.
3000 rm -f conftest.err conftest.$ac_ext
3003 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3004 rm -f conftest.err conftest.
$ac_ext
3005 if $ac_preproc_ok; then
3017 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3018 $as_echo "$CPP" >&6; }
3020 for ac_c_preproc_warn_flag
in '' yes
3022 # Use a header file that comes with gcc, so configuring glibc
3023 # with a fresh cross-compiler works.
3024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3025 # <limits.h> exists even on freestanding compilers.
3026 # On the NeXT, cc -E runs the code through the compiler's parser,
3027 # not just through cpp. "Syntax error" is here to catch this case.
3028 cat >conftest.
$ac_ext <<_ACEOF
3031 cat confdefs.h
>>conftest.
$ac_ext
3032 cat >>conftest.
$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3035 # include <limits.h>
3037 # include <assert.h>
3041 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3047 $as_echo "$ac_try_echo") >&5
3048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3050 grep -v '^ *+' conftest.er1 >conftest.err
3052 cat conftest.err >&5
3053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } >/dev/null && {
3055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3056 test ! -s conftest.err
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 # Broken: fails on valid input.
3067 rm -f conftest.err conftest.$ac_ext
3069 # OK, works on sane cases. Now check whether nonexistent headers
3070 # can be detected and how.
3071 cat >conftest.$ac_ext <<_ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3077 #include <ac_nonexistent.h>
3079 if { (ac_try="$ac_cpp conftest.$ac_ext"
3081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3082 *) ac_try_echo
=$ac_try;;
3084 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3085 $as_echo "$ac_try_echo") >&5
3086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3088 grep -v '^ *+' conftest.er1
>conftest.err
3090 cat conftest.err
>&5
3091 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } >/dev
/null
&& {
3093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3094 test ! -s conftest.err
3096 # Broken: success on invalid input.
3099 $as_echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.
$ac_ext >&5
3102 # Passes both tests.
3107 rm -f conftest.err conftest.
$ac_ext
3110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3111 rm -f conftest.err conftest.
$ac_ext
3112 if $ac_preproc_ok; then
3115 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&5
3119 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3120 See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }; }
3125 ac_cpp
='$CPP $CPPFLAGS'
3126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3130 # We need the C++ compiler only for testing.
3132 ac_cpp
='$CXXCPP $CPPFLAGS'
3133 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3136 if test -z "$CXX"; then
3137 if test -n "$CCC"; then
3140 if test -n "$ac_tool_prefix"; then
3141 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3144 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3145 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if test "${ac_cv_prog_CXX+set}" = set; then
3148 $as_echo_n "(cached) " >&6
3150 if test -n "$CXX"; then
3151 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir
=.
3158 for ac_exec_ext
in '' $ac_executable_extensions; do
3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3160 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3161 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 if test -n "$CXX"; then
3172 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3173 $as_echo "$CXX" >&6; }
3175 { $as_echo "$as_me:$LINENO: result: no" >&5
3176 $as_echo "no" >&6; }
3180 test -n "$CXX" && break
3183 if test -z "$CXX"; then
3185 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3187 # Extract the first word of "$ac_prog", so it can be a program name with args.
3188 set dummy
$ac_prog; ac_word
=$2
3189 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3192 $as_echo_n "(cached) " >&6
3194 if test -n "$ac_ct_CXX"; then
3195 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_exec_ext
in '' $ac_executable_extensions; do
3203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3205 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3215 if test -n "$ac_ct_CXX"; then
3216 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3217 $as_echo "$ac_ct_CXX" >&6; }
3219 { $as_echo "$as_me:$LINENO: result: no" >&5
3220 $as_echo "no" >&6; }
3224 test -n "$ac_ct_CXX" && break
3227 if test "x$ac_ct_CXX" = x
; then
3230 case $cross_compiling:$ac_tool_warned in
3232 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned
=yes ;;
3242 # Provide some information about the compiler.
3243 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3246 { (ac_try
="$ac_compiler --version >&5"
3248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3252 $as_echo "$ac_try_echo") >&5
3253 (eval "$ac_compiler --version >&5") 2>&5
3255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }
3257 { (ac_try="$ac_compiler -v >&5"
3259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3260 *) ac_try_echo
=$ac_try;;
3262 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3263 $as_echo "$ac_try_echo") >&5
3264 (eval "$ac_compiler -v >&5") 2>&5
3266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }
3268 { (ac_try
="$ac_compiler -V >&5"
3270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3274 $as_echo "$ac_try_echo") >&5
3275 (eval "$ac_compiler -V >&5") 2>&5
3277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }
3280 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3281 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3282 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3283 $as_echo_n "(cached) " >&6
3285 cat >conftest.$ac_ext <<_ACEOF
3288 cat confdefs.h >>conftest.$ac_ext
3289 cat >>conftest.$ac_ext <<_ACEOF
3290 /* end confdefs.h. */
3303 rm -f conftest.$ac_objext
3304 if { (ac_try="$ac_compile"
3306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3307 *) ac_try_echo
=$ac_try;;
3309 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3310 $as_echo "$ac_try_echo") >&5
3311 (eval "$ac_compile") 2>conftest.er1
3313 grep -v '^ *+' conftest.er1
>conftest.err
3315 cat conftest.err
>&5
3316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } && {
3318 test -z "$ac_cxx_werror_flag" ||
3319 test ! -s conftest.err
3320 } && test -s conftest.
$ac_objext; then
3323 $as_echo "$as_me: failed program was:" >&5
3324 sed 's/^/| /' conftest.
$ac_ext >&5
3329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3330 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3333 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3334 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3335 if test $ac_compiler_gnu = yes; then
3340 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3341 ac_save_CXXFLAGS
=$CXXFLAGS
3342 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3343 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3344 if test "${ac_cv_prog_cxx_g+set}" = set; then
3345 $as_echo_n "(cached) " >&6
3347 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3348 ac_cxx_werror_flag
=yes
3351 cat >conftest.
$ac_ext <<_ACEOF
3354 cat confdefs.h
>>conftest.
$ac_ext
3355 cat >>conftest.
$ac_ext <<_ACEOF
3356 /* end confdefs.h. */
3366 rm -f conftest.
$ac_objext
3367 if { (ac_try
="$ac_compile"
3369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3370 *) ac_try_echo=$ac_try;;
3372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3373 $as_echo "$ac_try_echo") >&5
3374 (eval "$ac_compile") 2>conftest.er1
3376 grep -v '^ *+' conftest.er1 >conftest.err
3378 cat conftest.err >&5
3379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } && {
3381 test -z "$ac_cxx_werror_flag" ||
3382 test ! -s conftest.err
3383 } && test -s conftest.$ac_objext; then
3384 ac_cv_prog_cxx_g=yes
3386 $as_echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3390 cat >conftest.$ac_ext <<_ACEOF
3393 cat confdefs.h >>conftest.$ac_ext
3394 cat >>conftest.$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3405 rm -f conftest.$ac_objext
3406 if { (ac_try="$ac_compile"
3408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3409 *) ac_try_echo
=$ac_try;;
3411 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3412 $as_echo "$ac_try_echo") >&5
3413 (eval "$ac_compile") 2>conftest.er1
3415 grep -v '^ *+' conftest.er1
>conftest.err
3417 cat conftest.err
>&5
3418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); } && {
3420 test -z "$ac_cxx_werror_flag" ||
3421 test ! -s conftest.err
3422 } && test -s conftest.
$ac_objext; then
3425 $as_echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.
$ac_ext >&5
3428 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3430 cat >conftest.
$ac_ext <<_ACEOF
3433 cat confdefs.h
>>conftest.
$ac_ext
3434 cat >>conftest.
$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3445 rm -f conftest.
$ac_objext
3446 if { (ac_try
="$ac_compile"
3448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3452 $as_echo "$ac_try_echo") >&5
3453 (eval "$ac_compile") 2>conftest.er1
3455 grep -v '^ *+' conftest.er1 >conftest.err
3457 cat conftest.err >&5
3458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } && {
3460 test -z "$ac_cxx_werror_flag" ||
3461 test ! -s conftest.err
3462 } && test -s conftest.$ac_objext; then
3463 ac_cv_prog_cxx_g=yes
3465 $as_echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3480 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3481 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3482 if test "$ac_test_CXXFLAGS" = set; then
3483 CXXFLAGS=$ac_save_CXXFLAGS
3484 elif test $ac_cv_prog_cxx_g = yes; then
3485 if test "$GXX" = yes; then
3491 if test "$GXX" = yes; then
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3504 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3505 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3506 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
3507 { (exit 1); exit 1; }; }
3510 # This will get text that should go into config.make.
3513 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3515 # Check whether --with-gd was given.
3516 if test "${with_gd+set}" = set; then
3517 withval=$with_gd; case "$with_gd" in
3519 *) libgd_include="-I$withval/include"
3520 libgd_ldflags="-L$withval/lib" ;;
3526 # Check whether --with-gd-include was given.
3527 if test "${with_gd_include+set}" = set; then
3528 withval=$with_gd_include; case "$with_gd_include" in
3530 *) libgd_include="-I$withval" ;;
3536 # Check whether --with-gd-lib was given.
3537 if test "${with_gd_lib+set}" = set; then
3538 withval=$with_gd_lib; case "$with_gd_lib" in
3540 *) libgd_ldflags="-L$withval" ;;
3546 if test -n "$libgd_include"; then
3547 config_vars="$config_vars
3548 CFLAGS-memusagestat.c = $libgd_include"
3550 if test -n "$libgd_ldflags"; then
3551 config_vars="$config_vars
3552 libgd-LDFLAGS = $libgd_ldflags"
3556 # Check whether --with-fp was given.
3557 if test "${with_fp+set}" = set; then
3558 withval=$with_fp; with_fp=$withval
3565 # Check whether --with-binutils was given.
3566 if test "${with_binutils+set}" = set; then
3567 withval=$with_binutils; path_binutils=$withval
3573 # Check whether --with-elf was given.
3574 if test "${with_elf+set}" = set; then
3575 withval=$with_elf; elf=$withval
3581 # Check whether --with-selinux was given.
3582 if test "${with_selinux+set}" = set; then
3583 withval=$with_selinux; with_selinux=$withval
3589 # Check whether --with-xcoff was given.
3590 if test "${with_xcoff+set}" = set; then
3591 withval=$with_xcoff; xcoff=$withval
3597 # Check whether --with-cvs was given.
3598 if test "${with_cvs+set}" = set; then
3599 withval=$with_cvs; with_cvs=$withval
3604 if test "$with_cvs" = yes; then
3605 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3613 # Check whether --with-headers was given.
3614 if test "${with_headers+set}" = set; then
3615 withval=$with_headers; sysheaders=$withval
3621 # Check whether --enable-sanity-checks was given.
3622 if test "${enable_sanity_checks+set}" = set; then
3623 enableval=$enable_sanity_checks; enable_sanity=$enableval
3630 # Check whether --enable-check-abi was given.
3631 if test "${enable_check_abi+set}" = set; then
3632 enableval=$enable_check_abi; enable_check_abi=$enableval
3639 # Check whether --enable-shared was given.
3640 if test "${enable_shared+set}" = set; then
3641 enableval=$enable_shared; shared=$enableval
3646 # Check whether --enable-profile was given.
3647 if test "${enable_profile+set}" = set; then
3648 enableval=$enable_profile; profile=$enableval
3653 # Check whether --enable-omitfp was given.
3654 if test "${enable_omitfp+set}" = set; then
3655 enableval=$enable_omitfp; omitfp=$enableval
3660 # Check whether --enable-bounded was given.
3661 if test "${enable_bounded+set}" = set; then
3662 enableval=$enable_bounded; bounded=$enableval
3667 # Check whether --enable-versioning was given.
3668 if test "${enable_versioning+set}" = set; then
3669 enableval=$enable_versioning; enable_versioning=$enableval
3671 enable_versioning=yes
3675 # Check whether --enable-oldest-abi was given.
3676 if test "${enable_oldest_abi+set}" = set; then
3677 enableval=$enable_oldest_abi; oldest_abi=$enableval
3682 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3685 cat >>confdefs.h <<_ACEOF
3686 #define GLIBC_OLDEST_ABI "$oldest_abi"
3692 # Check whether --enable-stackguard-randomization was given.
3693 if test "${enable_stackguard_randomization+set}" = set; then
3694 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3696 enable_stackguard_randomize=no
3699 if test "$enable_stackguard_randomize" = yes; then
3700 cat >>confdefs.h <<\_ACEOF
3701 #define ENABLE_STACKGUARD_RANDOMIZE 1
3706 # Check whether --enable-add-ons was given.
3707 if test "${enable_add_ons+set}" = set; then
3708 enableval=$enable_add_ons;
3715 # Check whether --with-tls was given.
3716 if test "${with_tls+set}" = set; then
3717 withval=$with_tls; usetls=$withval
3724 # Check whether --with-__thread was given.
3725 if test "${with___thread+set}" = set; then
3726 withval=$with___thread; use__thread=$withval
3732 # Check whether --enable-hidden-plt was given.
3733 if test "${enable_hidden_plt+set}" = set; then
3734 enableval=$enable_hidden_plt; hidden=$enableval
3739 if test "x$hidden" = xno; then
3740 cat >>confdefs.h <<\_ACEOF
3746 # Check whether --enable-bind-now was given.
3747 if test "${enable_bind_now+set}" = set; then
3748 enableval=$enable_bind_now; bindnow=$enableval
3755 # Check whether --enable-static-nss was given.
3756 if test "${enable_static_nss+set}" = set; then
3757 enableval=$enable_static_nss; static_nss=$enableval
3762 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3764 cat >>confdefs.h <<\_ACEOF
3765 #define DO_STATIC_NSS 1
3770 # Check whether --enable-force-install was given.
3771 if test "${enable_force_install+set}" = set; then
3772 enableval=$enable_force_install; force_install=$enableval
3779 # Check whether --enable-kernel was given.
3780 if test "${enable_kernel+set}" = set; then
3781 enableval=$enable_kernel; minimum_kernel=$enableval
3784 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3785 # Better nothing than this.
3788 if test "$minimum_kernel" = current; then
3789 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3793 # Check whether --enable-all-warnings was given.
3794 if test "${enable_all_warnings+set}" = set; then
3795 enableval=$enable_all_warnings; all_warnings=$enableval
3800 # Check whether --enable-multi-arch was given.
3801 if test "${enable_multi_arch+set}" = set; then
3802 enableval=$enable_multi_arch; multi_arch=$enableval
3807 if test x"$multi_arch" != xno; then
3808 multi_arch_d=/multiarch
3811 # Check whether --enable-experimental-malloc was given.
3812 if test "${enable_experimental_malloc+set}" = set; then
3813 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3818 # Check whether --enable-nss-crypt was given.
3819 if test "${enable_nss_crypt+set}" = set; then
3820 enableval=$enable_nss_crypt; nss_crypt=$enableval
3825 if test x$nss_crypt = xyes; then
3826 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3827 if test $? -ne 0; then
3828 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3829 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3830 { (exit 1); exit 1; }; }
3832 old_CFLAGS="$CFLAGS"
3833 CFLAGS="$CFLAGS $nss_includes"
3835 cat >conftest.$ac_ext <<_ACEOF
3838 #include <nsslowhash.h>
3839 void f (void) { NSSLOW_Init (); }
3841 rm -f conftest.$ac_objext
3842 if { (ac_try="$ac_compile"
3844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3845 *) ac_try_echo
=$ac_try;;
3847 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3848 $as_echo "$ac_try_echo") >&5
3849 (eval "$ac_compile") 2>conftest.er1
3851 grep -v '^ *+' conftest.er1
>conftest.err
3853 cat conftest.err
>&5
3854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } && {
3856 test -z "$ac_c_werror_flag" ||
3857 test ! -s conftest.err
3858 } && test -s conftest.
$ac_objext; then
3859 libc_cv_nss_crypt
=yes
3861 $as_echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.
$ac_ext >&5
3864 { { $as_echo "$as_me:$LINENO: error:
3865 cannot find NSS headers with lowlevel hash function interfaces" >&5
3866 $as_echo "$as_me: error:
3867 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3868 { (exit 1); exit 1; }; }
3871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3873 LIBS
="$LIBS -lfreebl3"
3874 cat >conftest.
$ac_ext <<_ACEOF
3877 cat confdefs.h
>>conftest.
$ac_ext
3878 cat >>conftest.
$ac_ext <<_ACEOF
3879 /* end confdefs.h. */
3882 #include <nsslowhash.h>
3891 rm -f conftest.
$ac_objext conftest
$ac_exeext
3892 if { (ac_try
="$ac_link"
3894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3895 *) ac_try_echo=$ac_try;;
3897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3898 $as_echo "$ac_try_echo") >&5
3899 (eval "$ac_link") 2>conftest.er1
3901 grep -v '^ *+' conftest.er1 >conftest.err
3903 cat conftest.err >&5
3904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); } && {
3906 test -z "$ac_c_werror_flag" ||
3907 test ! -s conftest.err
3908 } && test -s conftest$ac_exeext && {
3909 test "$cross_compiling" = yes ||
3910 $as_test_x conftest$ac_exeext
3912 libc_cv_nss_crypt=yes
3914 $as_echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.$ac_ext >&5
3917 { { $as_echo "$as_me:$LINENO: error:
3918 cannot link program using lowlevel NSS hash functions" >&5
3919 $as_echo "$as_me: error:
3920 cannot link program using lowlevel NSS hash functions" >&2;}
3921 { (exit 1); exit 1; }; }
3924 rm -rf conftest.dSYM
3925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3926 conftest$ac_exeext conftest.$ac_ext
3927 CFLAGS="$old_CFLAGS"
3930 libc_cv_nss_crypt=no
3934 # The way shlib-versions is used to generate soversions.mk uses a
3935 # fairly simplistic model for name recognition that can't distinguish
3936 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3937 # of `gnu
*' here to be `gnu-gnu*' just so that shlib-versions can
3938 # tell. This doesn't get used much beyond that, so it's fairly safe.
3943 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3947 # We keep the original values in `$config_*' and never modify them, so we
3948 # can write them unchanged into config.make. Everything else uses
3949 # $machine, $vendor, and $os, and changes them whenever convenient.
3950 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3952 # Don't allow vendor == "unknown"
3953 test "$config_vendor" = unknown
&& config_vendor
=
3954 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3956 # Some configurations imply other options.
3958 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3959 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
3961 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
3962 # These systems (almost) always use the ELF format.
3966 # These systems are always xcoff
3972 # The configure fragment of an add-on port can modify these to supplement
3973 # or override the table in the case statement below. No fragment should
3974 # ever change the config_* variables, however.
3975 machine
=$config_machine
3976 vendor
=$config_vendor
3980 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3982 if test "$machine" = rs6000
; then
3986 # Braindead PowerPC box with absolutely no FPU.
3987 case "$machine-$host_os" in
3995 # Check whether --with-cpu was given.
3996 if test "${with_cpu+set}" = set; then
3997 withval
=$with_cpu; case "$withval" in
3998 yes|
'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
3999 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
4000 { (exit 1); exit 1; }; } ;;
4002 *) submachine
="$withval" ;;
4008 # An add-on can set this when it wants to disable the sanity check below.
4014 case "$enable_add_ons" in
4017 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
4018 sed 's@/[^/]*$@@' | sort | uniq`
4019 add_ons_automatic
=yes
4021 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
4022 add_ons_automatic
=no
;;
4028 if test x
"$add_ons" != x
; then
4029 for f
in $add_ons; do
4030 # Some sanity checks
4033 { { $as_echo "$as_me:$LINENO: error:
4034 *** It seems that you're using an old \`crypt' add-on. crypt is now
4035 *** part of glibc and using the old add-on will not work with this
4036 *** release. Start again with fresh sources and without the old
4037 *** \`crypt' add-on." >&5
4038 $as_echo "$as_me: error:
4039 *** It seems that you're using an old \`crypt' add-on. crypt is now
4040 *** part of glibc and using the old add-on will not work with this
4041 *** release. Start again with fresh sources and without the old
4042 *** \`crypt' add-on." >&2;}
4043 { (exit 1); exit 1; }; }
4046 { { $as_echo "$as_me:$LINENO: error:
4047 *** It seems that you're using an old \`localedata' add-on. localedata
4048 *** is now part of glibc and using the old add-on will not work with
4049 *** this release. Start again with fresh sources and without the old
4050 *** \`localedata' add-on." >&5
4051 $as_echo "$as_me: error:
4052 *** It seems that you're using an old \`localedata' add-on. localedata
4053 *** is now part of glibc and using the old add-on will not work with
4054 *** this release. Start again with fresh sources and without the old
4055 *** \`localedata' add-on." >&2;}
4056 { (exit 1); exit 1; }; }
4061 # Now source each add-on's configure fragment.
4062 # The fragments can use $srcdir/$libc_add_on to find themselves,
4063 # and test $add_ons_automatic to see if they were explicitly requested.
4064 # A fragment can clear (or even change) $libc_add_on to affect
4065 # whether it goes into the list to be actually used in the build.
4067 for libc_add_on
in $add_ons; do
4068 # Test whether such a directory really exists.
4069 # It can be absolute, or relative to $srcdir, or relative to the build dir.
4070 case "$libc_add_on" in
4072 libc_add_on_srcdir
=$libc_add_on
4075 test -d "$srcdir/$libc_add_on" ||
{
4076 if test -d "$libc_add_on"; then
4077 libc_add_on
="`pwd`/$libc_add_on"
4079 { { $as_echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
4080 $as_echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
4081 { (exit 1); exit 1; }; }
4084 libc_add_on_srcdir
=$srcdir/$libc_add_on
4088 libc_add_on_frag
=$libc_add_on_srcdir/configure
4089 libc_add_on_canonical
=
4090 libc_add_on_config_subdirs
=
4091 if test -r "$libc_add_on_frag"; then
4092 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
4093 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
4094 libc_add_on_canonical
=unknown
4095 libc_add_on_subdirs
=
4096 .
"$libc_add_on_frag"
4097 test -z "$libc_add_on" ||
{
4098 configured_add_ons
="$configured_add_ons $libc_add_on"
4099 if test "x$libc_add_on_canonical" = xunknown
; then
4100 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
4101 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
4102 { (exit 1); exit 1; }; }
4104 for d
in $libc_add_on_subdirs; do
4105 case "$libc_add_on" in
4106 /*) subdir_srcdir
="$libc_add_on" ;;
4107 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
4111 d
="${libc_add_on_canonical:-$libc_add_on}"
4117 subdir_srcdir
="$subdir_srcdir/$d"
4120 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4121 add_on_subdirs
="$add_on_subdirs $d"
4122 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
4123 $d-srcdir = $subdir_srcdir"
4125 for d
in $libc_add_on_config_subdirs; do
4127 /*) { { $as_echo "$as_me:$LINENO: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&5
4128 $as_echo "$as_me: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&2;}
4129 { (exit 1); exit 1; }; } ;;
4131 if test ! -d "$libc_add_on_srcdir/$d"; then
4132 { { $as_echo "$as_me:$LINENO: error: fragment wants to configure missing directory $d" >&5
4133 $as_echo "$as_me: error: fragment wants to configure missing directory $d" >&2;}
4134 { (exit 1); exit 1; }; }
4136 case "$libc_add_on" in
4137 /*) { { $as_echo "$as_me:$LINENO: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&5
4138 $as_echo "$as_me: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&2;}
4139 { (exit 1); exit 1; }; } ;;
4141 subdirs
="$subdirs $libc_add_on/$d"
4145 if test -n "$libc_add_on"; then
4146 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4148 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
4149 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4150 for frag
in $frags; do
4151 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4152 echo $ECHO_N "$name $ECHO_C" >&6
4155 { $as_echo "$as_me:$LINENO: result: " >&5
4158 use_add_ons
="$use_add_ons $libc_add_on"
4159 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
4160 test -z "$libc_add_on_canonical" ||
4161 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
4164 # Use echo to strip excess whitespace.
4165 add_ons
="`echo $use_add_ons`"
4172 ### I put this here to prevent those annoying emails from people who cannot
4173 ### read and try to compile glibc on unsupported platforms. --drepper
4175 ### By using the undocumented --enable-hacker-mode option for configure
4176 ### one can skip this test to make the configuration not fail for unsupported
4179 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4180 case "$machine-$host_os" in
4181 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
4184 echo "*** The GNU C library is currently not available for this platform."
4185 echo "*** So far nobody cared to port it and if there is no volunteer it"
4186 echo "*** might never happen. So, if you have interest to see glibc on"
4187 echo "*** this platform visit"
4188 echo "*** http://www.gnu.org/software/libc/porting.html"
4189 echo "*** and join the group of porters"
4195 # Expand the configuration machine name into a subdirectory by architecture
4196 # type and particular chip. If an add-on configure fragment already set
4197 # base_machine, we don't change it.
4198 test -n "$base_machine" ||
case "$machine" in
4199 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
4200 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
4201 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
4202 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
4203 ia64
) base_machine
=ia64 machine
=ia64
;;
4204 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
4205 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
4206 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
4207 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
4208 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
4209 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
4210 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
4211 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
4213 base_machine
=sparc machine
=sparc
/sparc32
;;
4214 sparcv8 | supersparc | hypersparc
)
4215 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
4216 sparcv8plus | sparcv8plusa | sparcv9
)
4217 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
4218 sparcv8plusb | sparcv9b
)
4219 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
4221 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
4223 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
4225 base_machine
=sparc machine
=sparc
/sparc64
;;
4227 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
4229 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
4231 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
4232 *) base_machine
=$machine ;;
4236 if test "$base_machine" = "i386"; then
4237 cat >>confdefs.h
<<\_ACEOF
4238 #define USE_REGPARMS 1
4243 # Compute the list of sysdep directories for this configuration.
4244 # This can take a while to compute.
4245 sysdep_dir
=$srcdir/sysdeps
4246 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
4247 $as_echo_n "checking sysdep dirs... " >&6; }
4248 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4249 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4251 test "x$base_os" != x ||
case "$os" in
4253 base_os
=mach
/hurd
;;
4254 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
4255 base_os
=unix
/bsd
/bsd4.4
;;
4256 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
4258 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
4259 base_os
=unix
/sysv
;;
4261 base_os
=unix
/sysv
/irix
6/$os ;;
4263 base_os
=unix
/sysv
/sysv4
;;
4265 base_os
=unix
/sysv
/hpux
/$os ;;
4267 base_os
=unix
/sysv
/aix
/aix4.3
;;
4269 base_os
=standalone
;;
4272 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4275 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4279 o
=`echo $tail | sed 's/[0-9]*$//'`
4280 if test $o != $tail; then
4283 # For linux-gnu, try linux-gnu, then linux.
4284 o
=`echo $tail | sed 's/-.*$//'`
4285 if test $o != $tail; then
4289 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4292 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4298 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4300 tail=$machine${submachine:+/$submachine}
4301 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4303 # Prepend the machine's FPU directory unless --without-fp.
4304 if test "$with_fp" = yes; then
4305 mach
="$mach /$1/fpu"
4307 mach
="$mach /$1/nofpu"
4314 # Find what sysdep directories exist.
4317 for b
in $base ''; do
4318 for m0
in $mach ''; do
4319 for v
in /$vendor ''; do
4320 test "$v" = / && continue
4321 for o
in /$ostry ''; do
4322 test "$o" = / && continue
4323 for m
in $multi_arch_d $mach ''; do
4324 for d
in $add_ons_pfx ''; do
4325 for a
in $add_ons_sfx ''; do
4326 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4327 try_srcdir
="${srcdir}/"
4331 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4332 test -n "$enable_debug_configure" &&
4333 echo "$0 DEBUG: try $try" >&2
4334 if test -d "$try_srcdir$try"; then
4335 sysnames
="$sysnames $try"
4336 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4337 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4339 x
*/$submachine) submachine_used
=t
;;
4341 if test -n "$d"; then
4342 case "$sysnames_add_ons" in
4344 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4357 # If the assembler supports gnu_indirect_function symbol type and the
4358 # architecture supports multi-arch, we enable multi-arch by default.
4359 if test "$multi_arch" = default
; then
4360 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
4361 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
4362 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
4363 $as_echo_n "(cached) " >&6
4365 cat > conftest.s
<<EOF
4366 .type foo,%gnu_indirect_function
4368 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
4370 libc_cv_asm_gnu_indirect_function
=yes
4372 libc_cv_asm_gnu_indirect_function
=no
4376 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
4377 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
4379 if test "$libc_cv_asm_gnu_indirect_function" = yes; then
4380 case $sysnames_add_ons$sysnames in
4387 if test x
"$multi_arch" = xyes
; then
4388 cat >>confdefs.h
<<\_ACEOF
4389 #define USE_MULTIARCH 1
4395 if test -z "$os_used" && test "$os" != none
; then
4396 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4397 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
4398 { (exit 1); exit 1; }; }
4400 if test -z "$machine_used" && test "$machine" != none
; then
4401 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4402 $as_echo "$as_me: error: The $machine is not supported." >&2;}
4403 { (exit 1); exit 1; }; }
4405 if test -z "$submachine_used" && test -n "$submachine"; then
4406 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4407 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4408 { (exit 1); exit 1; }; }
4412 # We have now validated the configuration.
4415 # If using ELF, look for an `elf' subdirectory of each machine directory.
4416 # We prepend these rather than inserting them whereever the machine appears
4417 # because things specified by the machine's ELF ABI should override
4418 # OS-specific things, and should always be the same for any OS on the
4419 # machine (otherwise what's the point of an ABI?).
4420 if test "$elf" = yes; then
4422 for d
in $add_ons_pfx ''; do
4424 if test -d $srcdir/${d}sysdeps
$m/elf
; then
4425 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
4429 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4433 # Expand the list of system names into a full list of directories
4434 # from each element's parent name and Implies file (if present).
4437 while test $# -gt 0; do
4441 case " $names " in *" $name "*)
4442 # Already in the list.
4446 # Report each name as we discover it, so there is no long pause in output.
4447 echo $ECHO_N "$name $ECHO_C" >&6
4449 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4453 *) xsrcdir
=$srcdir/ ;;
4455 test -n "$enable_debug_configure" &&
4456 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4458 if test -f $xsrcdir$name/Implies
; then
4459 # Collect more names from the `Implies' file (removing comments).
4460 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4462 for x
in $implied_candidate; do
4464 if test -d $xsrcdir$name_base/$x; then
4465 implied
="$implied $name_base/$x";
4468 for d
in $add_ons_pfx ''; do
4469 try
="${d}sysdeps/$x"
4472 *) try_srcdir
=$srcdir/ ;;
4474 test -n "$enable_debug_configure" &&
4475 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4476 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4478 implied
="$implied $try"
4480 case "$sysnames_add_ons" in
4482 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4486 if test $found = no
; then
4487 { $as_echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
4488 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4495 # Add NAME to the list of names.
4496 names
="$names $name"
4498 # Find the parent of NAME, using the empty string if it has none.
4499 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4501 # Add the names implied by NAME, and NAME's parent (if it has one), to
4502 # the list of names to be processed (the argument list). We prepend the
4503 # implied names to the list and append the parent. We want implied
4504 # directories to come before further directories inferred from the
4505 # configuration components; this ensures that for sysv4, unix/common
4506 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4508 sysnames
="`echo $implied $* $parent`"
4509 test -n "$sysnames" && set $sysnames
4512 # Add the default directories.
4513 default_sysnames
=sysdeps
/generic
4514 if test "$elf" = yes; then
4515 default_sysnames
="sysdeps/generic/elf $default_sysnames"
4517 sysnames
="$names $default_sysnames"
4519 # The other names were emitted during the scan.
4520 { $as_echo "$as_me:$LINENO: result: $default_sysnames" >&5
4521 $as_echo "$default_sysnames" >&6; }
4523 # Collect the list of add-ons that supply partial sysdeps trees.
4525 for add_on
in $add_ons; do
4528 *) xsrcdir
="$srcdir/" ;;
4531 test -d "$xsrcdir$add_on/sysdeps" ||
{
4532 case "$configured_add_ons " in
4535 { { $as_echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
4536 $as_echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
4537 { (exit 1); exit 1; }; }
4543 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4544 case "$sysnames_add_ons" in
4547 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4548 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4553 for d
in $sysnames; do
4555 $add_on/sysdeps
/*) ;;
4558 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4561 for ff
in $f/*.h
; do
4562 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4566 test -d "$f" ||
{ test -e "$f" && exit 88; }
4570 if test $?
-eq 88; then
4575 if test $found = no
; then
4576 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4577 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4585 # Find a good install program. We prefer a C program (faster),
4586 # so one script is as good as another. But avoid the broken or
4587 # incompatible versions:
4588 # SysV /etc/install, /usr/sbin/install
4589 # SunOS /usr/etc/install
4590 # IRIX /sbin/install
4592 # AmigaOS /C/install, which installs bootblocks on floppy discs
4593 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4594 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4595 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4596 # OS/2's system install, which has a completely different semantic
4597 # ./install, which can be erroneously created by make from ./install.sh.
4598 # Reject install programs that cannot install multiple files.
4599 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4600 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4601 if test -z "$INSTALL"; then
4602 if test "${ac_cv_path_install+set}" = set; then
4603 $as_echo_n "(cached) " >&6
4605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4609 test -z "$as_dir" && as_dir
=.
4610 # Account for people who put trailing slashes in PATH elements.
4612 .
/ | .
// |
/cC
/* | \
4613 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4614 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4617 # OSF1 and SCO ODT 3.0 have their own names for install.
4618 # Don't use installbsd from OSF since it installs stuff as root
4620 for ac_prog
in ginstall scoinst
install; do
4621 for ac_exec_ext
in '' $ac_executable_extensions; do
4622 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4623 if test $ac_prog = install &&
4624 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4625 # AIX install. It has an incompatible calling convention.
4627 elif test $ac_prog = install &&
4628 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4629 # program-specific install script used by HP pwplus--don't use.
4632 rm -rf conftest.one conftest.two conftest.dir
4633 echo one
> conftest.one
4634 echo two
> conftest.two
4636 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4637 test -s conftest.one
&& test -s conftest.two
&&
4638 test -s conftest.dir
/conftest.one
&&
4639 test -s conftest.dir
/conftest.two
4641 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4654 rm -rf conftest.one conftest.two conftest.dir
4657 if test "${ac_cv_path_install+set}" = set; then
4658 INSTALL
=$ac_cv_path_install
4660 # As a last resort, use the slow shell script. Don't cache a
4661 # value for INSTALL within a source directory, because that will
4662 # break other packages using the cache if that directory is
4663 # removed, or if the value is a relative name.
4664 INSTALL
=$ac_install_sh
4667 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4668 $as_echo "$INSTALL" >&6; }
4670 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4671 # It thinks the first close brace ends the variable substitution.
4672 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4674 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4676 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4678 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4679 # The makefiles need to use a different form to find it in $srcdir.
4680 INSTALL
='\$(..)./scripts/install-sh -c'
4682 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4683 $as_echo_n "checking whether ln -s works... " >&6; }
4685 if test "$LN_S" = "ln -s"; then
4686 { $as_echo "$as_me:$LINENO: result: yes" >&5
4687 $as_echo "yes" >&6; }
4689 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4690 $as_echo "no, using $LN_S" >&6; }
4694 # Was a --with-binutils option given?
4695 if test -n "$path_binutils"; then
4696 # Make absolute; ensure a single trailing slash.
4697 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4698 CC
="$CC -B$path_binutils"
4700 AS
=`$CC -print-prog-name=as`
4701 LD
=`$CC -print-prog-name=ld`
4702 AR
=`$CC -print-prog-name=ar`
4704 OBJDUMP
=`$CC -print-prog-name=objdump`
4707 # ranlib has to be treated a bit differently since it might not exist at all.
4708 ac_ranlib
=`$CC -print-prog-name=ranlib`
4709 if test "x$ac_ranlib" = xranlib
; then
4710 # This extra check has to happen since gcc simply echos the parameter in
4711 # case it cannot find the value in its own directories.
4712 if test -n "$ac_tool_prefix"; then
4713 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4714 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4715 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4716 $as_echo_n "checking for $ac_word... " >&6; }
4717 if test "${ac_cv_prog_RANLIB+set}" = set; then
4718 $as_echo_n "(cached) " >&6
4720 if test -n "$RANLIB"; then
4721 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4727 test -z "$as_dir" && as_dir
=.
4728 for ac_exec_ext
in '' $ac_executable_extensions; do
4729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4730 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4731 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4740 RANLIB
=$ac_cv_prog_RANLIB
4741 if test -n "$RANLIB"; then
4742 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4743 $as_echo "$RANLIB" >&6; }
4745 { $as_echo "$as_me:$LINENO: result: no" >&5
4746 $as_echo "no" >&6; }
4751 if test -z "$ac_cv_prog_RANLIB"; then
4752 ac_ct_RANLIB
=$RANLIB
4753 # Extract the first word of "ranlib", so it can be a program name with args.
4754 set dummy ranlib
; ac_word
=$2
4755 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$ac_ct_RANLIB"; then
4761 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir
=.
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4770 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4771 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4781 if test -n "$ac_ct_RANLIB"; then
4782 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4783 $as_echo "$ac_ct_RANLIB" >&6; }
4785 { $as_echo "$as_me:$LINENO: result: no" >&5
4786 $as_echo "no" >&6; }
4789 if test "x$ac_ct_RANLIB" = x
; then
4792 case $cross_compiling:$ac_tool_warned in
4794 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4796 ac_tool_warned
=yes ;;
4798 RANLIB
=$ac_ct_RANLIB
4801 RANLIB
="$ac_cv_prog_RANLIB"
4809 # Determine whether we are using GNU binutils.
4810 { $as_echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4811 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4812 if test "${libc_cv_prog_as_gnu+set}" = set; then
4813 $as_echo_n "(cached) " >&6
4815 # Most GNU programs take a -v and spit out some text including
4816 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4817 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4818 libc_cv_prog_as_gnu
=yes
4820 libc_cv_prog_as_gnu
=no
4824 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4825 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4827 gnu_as
=$libc_cv_prog_as_gnu
4829 { $as_echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4830 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4831 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4832 $as_echo_n "(cached) " >&6
4834 # Most GNU programs take a -v and spit out some text including
4835 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4836 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4837 libc_cv_prog_ld_gnu
=yes
4839 libc_cv_prog_ld_gnu
=no
4843 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4844 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4845 gnu_ld
=$libc_cv_prog_ld_gnu
4848 # Accept binutils 2.13 or newer.
4851 # Extract the first word of "$ac_prog", so it can be a program name with args.
4852 set dummy
$ac_prog; ac_word
=$2
4853 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if test "${ac_cv_prog_AS+set}" = set; then
4856 $as_echo_n "(cached) " >&6
4858 if test -n "$AS"; then
4859 ac_cv_prog_AS
="$AS" # Let the user override the test.
4861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir
=.
4866 for ac_exec_ext
in '' $ac_executable_extensions; do
4867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868 ac_cv_prog_AS
="$ac_prog"
4869 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 if test -n "$AS"; then
4880 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4881 $as_echo "$AS" >&6; }
4883 { $as_echo "$as_me:$LINENO: result: no" >&5
4884 $as_echo "no" >&6; }
4888 test -n "$AS" && break
4891 if test -z "$AS"; then
4894 # Found it, now check the version.
4895 { $as_echo "$as_me:$LINENO: checking version of $AS" >&5
4896 $as_echo_n "checking version of $AS... " >&6; }
4897 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4898 case $ac_prog_version in
4899 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4900 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4901 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4902 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4905 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4906 $as_echo "$ac_prog_version" >&6; }
4908 if test $ac_verc_fail = yes; then
4909 AS
=: critic_missing
="$critic_missing as"
4914 # Extract the first word of "$ac_prog", so it can be a program name with args.
4915 set dummy
$ac_prog; ac_word
=$2
4916 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if test "${ac_cv_prog_LD+set}" = set; then
4919 $as_echo_n "(cached) " >&6
4921 if test -n "$LD"; then
4922 ac_cv_prog_LD
="$LD" # Let the user override the test.
4924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir
=.
4929 for ac_exec_ext
in '' $ac_executable_extensions; do
4930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4931 ac_cv_prog_LD
="$ac_prog"
4932 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 if test -n "$LD"; then
4943 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4944 $as_echo "$LD" >&6; }
4946 { $as_echo "$as_me:$LINENO: result: no" >&5
4947 $as_echo "no" >&6; }
4951 test -n "$LD" && break
4954 if test -z "$LD"; then
4957 # Found it, now check the version.
4958 { $as_echo "$as_me:$LINENO: checking version of $LD" >&5
4959 $as_echo_n "checking version of $LD... " >&6; }
4960 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4961 case $ac_prog_version in
4962 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4963 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4964 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4965 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4968 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4969 $as_echo "$ac_prog_version" >&6; }
4971 if test $ac_verc_fail = yes; then
4972 LD
=: critic_missing
="$critic_missing ld"
4976 # We need the physical current working directory. We cannot use the
4977 # "pwd -P" shell builtin since that's not portable. Instead we try to
4978 # find a pwd binary. Note that assigning to the PWD environment
4979 # variable might have some interesting side effects, so we don't do
4981 # Extract the first word of "pwd", so it can be a program name with args.
4982 set dummy
pwd; ac_word
=$2
4983 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if test "${ac_cv_path_PWD_P+set}" = set; then
4986 $as_echo_n "(cached) " >&6
4990 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
4993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir
=.
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
5001 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
5012 PWD_P
=$ac_cv_path_PWD_P
5013 if test -n "$PWD_P"; then
5014 { $as_echo "$as_me:$LINENO: result: $PWD_P" >&5
5015 $as_echo "$PWD_P" >&6; }
5017 { $as_echo "$as_me:$LINENO: result: no" >&5
5018 $as_echo "no" >&6; }
5022 if test "$PWD_P" = no
; then
5023 { { $as_echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
5024 $as_echo "$as_me: error: *** A pwd binary could not be found." >&2;}
5025 { (exit 1); exit 1; }; }
5028 # These programs are version sensitive.
5030 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
5032 # Extract the first word of "$ac_prog", so it can be a program name with args.
5033 set dummy
$ac_prog; ac_word
=$2
5034 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5035 $as_echo_n "checking for $ac_word... " >&6; }
5036 if test "${ac_cv_prog_CC+set}" = set; then
5037 $as_echo_n "(cached) " >&6
5039 if test -n "$CC"; then
5040 ac_cv_prog_CC
="$CC" # Let the user override the test.
5042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5046 test -z "$as_dir" && as_dir
=.
5047 for ac_exec_ext
in '' $ac_executable_extensions; do
5048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5049 ac_cv_prog_CC
="$ac_prog"
5050 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 if test -n "$CC"; then
5061 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5062 $as_echo "$CC" >&6; }
5064 { $as_echo "$as_me:$LINENO: result: no" >&5
5065 $as_echo "no" >&6; }
5069 test -n "$CC" && break
5072 if test -z "$CC"; then
5075 # Found it, now check the version.
5076 { $as_echo "$as_me:$LINENO: checking version of $CC" >&5
5077 $as_echo_n "checking version of $CC... " >&6; }
5078 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
5079 case $ac_prog_version in
5080 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5082 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5083 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5086 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5087 $as_echo "$ac_prog_version" >&6; }
5089 if test $ac_verc_fail = yes; then
5090 critic_missing
="$critic_missing gcc"
5093 for ac_prog
in gnumake gmake
make
5095 # Extract the first word of "$ac_prog", so it can be a program name with args.
5096 set dummy
$ac_prog; ac_word
=$2
5097 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if test "${ac_cv_prog_MAKE+set}" = set; then
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$MAKE"; then
5103 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
5105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir
=.
5110 for ac_exec_ext
in '' $ac_executable_extensions; do
5111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5112 ac_cv_prog_MAKE
="$ac_prog"
5113 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 MAKE
=$ac_cv_prog_MAKE
5123 if test -n "$MAKE"; then
5124 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
5125 $as_echo "$MAKE" >&6; }
5127 { $as_echo "$as_me:$LINENO: result: no" >&5
5128 $as_echo "no" >&6; }
5132 test -n "$MAKE" && break
5135 if test -z "$MAKE"; then
5138 # Found it, now check the version.
5139 { $as_echo "$as_me:$LINENO: checking version of $MAKE" >&5
5140 $as_echo_n "checking version of $MAKE... " >&6; }
5141 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5142 case $ac_prog_version in
5143 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5145 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5146 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5149 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5150 $as_echo "$ac_prog_version" >&6; }
5152 if test $ac_verc_fail = yes; then
5153 critic_missing
="$critic_missing make"
5157 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
5159 # Extract the first word of "$ac_prog", so it can be a program name with args.
5160 set dummy
$ac_prog; ac_word
=$2
5161 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if test "${ac_cv_prog_MSGFMT+set}" = set; then
5164 $as_echo_n "(cached) " >&6
5166 if test -n "$MSGFMT"; then
5167 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir
=.
5174 for ac_exec_ext
in '' $ac_executable_extensions; do
5175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5176 ac_cv_prog_MSGFMT
="$ac_prog"
5177 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 MSGFMT
=$ac_cv_prog_MSGFMT
5187 if test -n "$MSGFMT"; then
5188 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5189 $as_echo "$MSGFMT" >&6; }
5191 { $as_echo "$as_me:$LINENO: result: no" >&5
5192 $as_echo "no" >&6; }
5196 test -n "$MSGFMT" && break
5199 if test -z "$MSGFMT"; then
5202 # Found it, now check the version.
5203 { $as_echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
5204 $as_echo_n "checking version of $MSGFMT... " >&6; }
5205 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5206 case $ac_prog_version in
5207 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5208 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
5209 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5210 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5213 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5214 $as_echo "$ac_prog_version" >&6; }
5216 if test $ac_verc_fail = yes; then
5217 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
5220 for ac_prog
in makeinfo
5222 # Extract the first word of "$ac_prog", so it can be a program name with args.
5223 set dummy
$ac_prog; ac_word
=$2
5224 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5227 $as_echo_n "(cached) " >&6
5229 if test -n "$MAKEINFO"; then
5230 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir
=.
5237 for ac_exec_ext
in '' $ac_executable_extensions; do
5238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_MAKEINFO
="$ac_prog"
5240 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 MAKEINFO
=$ac_cv_prog_MAKEINFO
5250 if test -n "$MAKEINFO"; then
5251 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5252 $as_echo "$MAKEINFO" >&6; }
5254 { $as_echo "$as_me:$LINENO: result: no" >&5
5255 $as_echo "no" >&6; }
5259 test -n "$MAKEINFO" && break
5262 if test -z "$MAKEINFO"; then
5265 # Found it, now check the version.
5266 { $as_echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5267 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5268 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5269 case $ac_prog_version in
5270 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5272 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5273 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5276 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5277 $as_echo "$ac_prog_version" >&6; }
5279 if test $ac_verc_fail = yes; then
5280 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
5285 # Extract the first word of "$ac_prog", so it can be a program name with args.
5286 set dummy
$ac_prog; ac_word
=$2
5287 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5288 $as_echo_n "checking for $ac_word... " >&6; }
5289 if test "${ac_cv_prog_SED+set}" = set; then
5290 $as_echo_n "(cached) " >&6
5292 if test -n "$SED"; then
5293 ac_cv_prog_SED
="$SED" # Let the user override the test.
5295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir
=.
5300 for ac_exec_ext
in '' $ac_executable_extensions; do
5301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5302 ac_cv_prog_SED
="$ac_prog"
5303 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 if test -n "$SED"; then
5314 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5315 $as_echo "$SED" >&6; }
5317 { $as_echo "$as_me:$LINENO: result: no" >&5
5318 $as_echo "no" >&6; }
5322 test -n "$SED" && break
5325 if test -z "$SED"; then
5328 # Found it, now check the version.
5329 { $as_echo "$as_me:$LINENO: checking version of $SED" >&5
5330 $as_echo_n "checking version of $SED... " >&6; }
5331 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5332 case $ac_prog_version in
5333 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5334 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
5335 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5336 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5339 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5340 $as_echo "$ac_prog_version" >&6; }
5342 if test $ac_verc_fail = yes; then
5343 SED
=: aux_missing
="$aux_missing sed"
5347 for ac_prog
in autoconf
5349 # Extract the first word of "$ac_prog", so it can be a program name with args.
5350 set dummy
$ac_prog; ac_word
=$2
5351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5354 $as_echo_n "(cached) " >&6
5356 if test -n "$AUTOCONF"; then
5357 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir
=.
5364 for ac_exec_ext
in '' $ac_executable_extensions; do
5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5366 ac_cv_prog_AUTOCONF
="$ac_prog"
5367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 AUTOCONF
=$ac_cv_prog_AUTOCONF
5377 if test -n "$AUTOCONF"; then
5378 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5379 $as_echo "$AUTOCONF" >&6; }
5381 { $as_echo "$as_me:$LINENO: result: no" >&5
5382 $as_echo "no" >&6; }
5386 test -n "$AUTOCONF" && break
5388 test -n "$AUTOCONF" || AUTOCONF
="no"
5390 case "x$AUTOCONF" in
5391 xno|x|x
:) AUTOCONF
=no
;;
5393 { $as_echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5394 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5395 if test "${libc_cv_autoconf_works+set}" = set; then
5396 $as_echo_n "(cached) " >&6
5398 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
5399 libc_cv_autoconf_works
=yes
5401 libc_cv_autoconf_works
=no
5404 { $as_echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5405 $as_echo "$libc_cv_autoconf_works" >&6; }
5406 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5409 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
5410 # If --without-cvs they probably won't change configure.in, so no complaints.
5411 aux_missing
="$aux_missing autoconf"
5414 test -n "$critic_missing" && { { $as_echo "$as_me:$LINENO: error:
5415 *** These critical programs are missing or too old:$critic_missing
5416 *** Check the INSTALL file for required versions." >&5
5417 $as_echo "$as_me: error:
5418 *** These critical programs are missing or too old:$critic_missing
5419 *** Check the INSTALL file for required versions." >&2;}
5420 { (exit 1); exit 1; }; }
5422 test -n "$aux_missing" && { $as_echo "$as_me:$LINENO: WARNING:
5423 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5424 *** some features will be disabled.
5425 *** Check the INSTALL file for required versions." >&5
5426 $as_echo "$as_me: WARNING:
5427 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5428 *** some features will be disabled.
5429 *** Check the INSTALL file for required versions." >&2;}
5431 # if using special system headers, find out the compiler's sekrit
5432 # header directory and add that to the list. NOTE: Only does the right
5433 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5434 if test -n "$sysheaders"; then
5435 SYSINCLUDES
=-nostdinc
5436 for d
in include include-fixed
; do
5437 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5438 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5440 SYSINCLUDES
="$SYSINCLUDES \
5441 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5442 if test -n "$CXX"; then
5443 cxxversion
=`$CXX -dumpversion 2>&5` &&
5444 cxxmachine
=`$CXX -dumpmachine 2>&5` &&
5445 cxxheaders
=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5446 CXX_SYSINCLUDES
="-isystem $cxxheaders \
5447 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5453 # check if ranlib is necessary
5454 { $as_echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5455 $as_echo_n "checking whether ranlib is necessary... " >&6; }
5456 if test "${libc_cv_ranlib_necessary+set}" = set; then
5457 $as_echo_n "(cached) " >&6
5459 cat > conftest.c
<<EOF
5464 $CC $CFLAGS $CPPFLAGS -c conftest.c
5465 $AR cr conftest.a conftest.o
5466 cp conftest.a conftest2.a
5468 if cmp -s conftest.a conftest2.a
; then
5469 libc_cv_ranlib_necessary
=no
5471 libc_cv_ranlib_necessary
=yes
5475 { $as_echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5476 $as_echo "$libc_cv_ranlib_necessary" >&6; }
5477 if test "$libc_cv_ranlib_necessary" = no
; then
5481 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5482 # since this would lead to problems installing/building glibc.
5483 # LD_LIBRARY_PATH contains the current directory if one of the following
5485 # - one of the terminals (":" and ";") is the first or last sign
5486 # - two terminals occur directly after each other
5487 # - the path contains an element with a dot in it
5488 { $as_echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5489 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5490 case ${LD_LIBRARY_PATH} in
5491 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5492 ld_library_path_setting
="contains current directory"
5495 ld_library_path_setting
="ok"
5498 { $as_echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5499 $as_echo "$ld_library_path_setting" >&6; }
5500 if test "$ld_library_path_setting" != "ok"; then
5501 { { $as_echo "$as_me:$LINENO: error:
5502 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5503 *** building glibc. Please change the environment variable
5504 *** and run configure again." >&5
5505 $as_echo "$as_me: error:
5506 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5507 *** building glibc. Please change the environment variable
5508 *** and run configure again." >&2;}
5509 { (exit 1); exit 1; }; }
5512 { $as_echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5513 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5514 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5515 $as_echo_n "(cached) " >&6
5517 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
5518 libc_cv_gcc_static_libgcc
=
5520 libc_cv_gcc_static_libgcc
=-static-libgcc
5523 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5524 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5527 # Extract the first word of "bash", so it can be a program name with args.
5528 set dummy bash
; ac_word
=$2
5529 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5532 $as_echo_n "(cached) " >&6
5536 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5543 test -z "$as_dir" && as_dir
=.
5544 for ac_exec_ext
in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5547 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5558 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5559 if test -n "$BASH_SHELL"; then
5560 { $as_echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5561 $as_echo "$BASH_SHELL" >&6; }
5563 { $as_echo "$as_me:$LINENO: result: no" >&5
5564 $as_echo "no" >&6; }
5568 if test "$BASH_SHELL" != no
&&
5569 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5570 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5571 libc_cv_have_bash2
=yes
5573 libc_cv_have_bash2
=no
5577 if test "$BASH_SHELL" = no
; then
5578 # Extract the first word of "ksh", so it can be a program name with args.
5579 set dummy ksh
; ac_word
=$2
5580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if test "${ac_cv_path_KSH+set}" = set; then
5583 $as_echo_n "(cached) " >&6
5587 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
5590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5594 test -z "$as_dir" && as_dir
=.
5595 for ac_exec_ext
in '' $ac_executable_extensions; do
5596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5597 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
5598 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
5610 if test -n "$KSH"; then
5611 { $as_echo "$as_me:$LINENO: result: $KSH" >&5
5612 $as_echo "$KSH" >&6; }
5614 { $as_echo "$as_me:$LINENO: result: no" >&5
5615 $as_echo "no" >&6; }
5619 if test "$KSH" = no
; then
5622 libc_cv_have_ksh
=yes
5627 libc_cv_have_ksh
=yes
5631 for ac_prog
in gawk mawk nawk
awk
5633 # Extract the first word of "$ac_prog", so it can be a program name with args.
5634 set dummy
$ac_prog; ac_word
=$2
5635 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if test "${ac_cv_prog_AWK+set}" = set; then
5638 $as_echo_n "(cached) " >&6
5640 if test -n "$AWK"; then
5641 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir
=.
5648 for ac_exec_ext
in '' $ac_executable_extensions; do
5649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5650 ac_cv_prog_AWK
="$ac_prog"
5651 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 if test -n "$AWK"; then
5662 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
5663 $as_echo "$AWK" >&6; }
5665 { $as_echo "$as_me:$LINENO: result: no" >&5
5666 $as_echo "no" >&6; }
5670 test -n "$AWK" && break
5673 # Extract the first word of "perl", so it can be a program name with args.
5674 set dummy perl
; ac_word
=$2
5675 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if test "${ac_cv_path_PERL+set}" = set; then
5678 $as_echo_n "(cached) " >&6
5682 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir
=.
5690 for ac_exec_ext
in '' $ac_executable_extensions; do
5691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5692 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5693 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5704 PERL
=$ac_cv_path_PERL
5705 if test -n "$PERL"; then
5706 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
5707 $as_echo "$PERL" >&6; }
5709 { $as_echo "$as_me:$LINENO: result: no" >&5
5710 $as_echo "no" >&6; }
5714 if test "$PERL" != no
&&
5715 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5718 # Extract the first word of "install-info", so it can be a program name with args.
5719 set dummy install-info
; ac_word
=$2
5720 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5723 $as_echo_n "(cached) " >&6
5725 case $INSTALL_INFO in
5727 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5731 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5732 for as_dir
in $as_dummy
5735 test -z "$as_dir" && as_dir
=.
5736 for ac_exec_ext
in '' $ac_executable_extensions; do
5737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5738 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5739 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5750 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5751 if test -n "$INSTALL_INFO"; then
5752 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5753 $as_echo "$INSTALL_INFO" >&6; }
5755 { $as_echo "$as_me:$LINENO: result: no" >&5
5756 $as_echo "no" >&6; }
5760 # Extract the first word of "bison", so it can be a program name with args.
5761 set dummy bison
; ac_word
=$2
5762 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if test "${ac_cv_path_BISON+set}" = set; then
5765 $as_echo_n "(cached) " >&6
5769 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5773 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5774 for as_dir
in $as_dummy
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5781 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5792 BISON
=$ac_cv_path_BISON
5793 if test -n "$BISON"; then
5794 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
5795 $as_echo "$BISON" >&6; }
5797 { $as_echo "$as_me:$LINENO: result: no" >&5
5798 $as_echo "no" >&6; }
5803 { $as_echo "$as_me:$LINENO: checking for signed size_t type" >&5
5804 $as_echo_n "checking for signed size_t type... " >&6; }
5805 if test "${libc_cv_signed_size_t+set}" = set; then
5806 $as_echo_n "(cached) " >&6
5808 echo '#include <stddef.h>
5809 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5810 if eval "$ac_cpp conftest.c 2>/dev/null" \
5811 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
5812 libc_cv_signed_size_t
=no
5814 libc_cv_signed_size_t
=yes
5818 { $as_echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5819 $as_echo "$libc_cv_signed_size_t" >&6; }
5820 if test $libc_cv_signed_size_t = yes; then
5821 cat >> confdefs.h
<<\EOF
5822 #undef __SIZE_TYPE__
5823 #define __SIZE_TYPE__ unsigned
5827 { $as_echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5828 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5829 if test "${libc_cv_friendly_stddef+set}" = set; then
5830 $as_echo_n "(cached) " >&6
5832 cat >conftest.
$ac_ext <<_ACEOF
5835 cat confdefs.h
>>conftest.
$ac_ext
5836 cat >>conftest.
$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5838 #define __need_size_t
5839 #define __need_wchar_t
5846 size_t size; wchar_t wchar;
5848 #error stddef.h ignored __need_*
5850 if (&size == NULL || &wchar == NULL) abort ();
5855 rm -f conftest.
$ac_objext
5856 if { (ac_try
="$ac_compile"
5858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5859 *) ac_try_echo=$ac_try;;
5861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5862 $as_echo "$ac_try_echo") >&5
5863 (eval "$ac_compile") 2>conftest.er1
5865 grep -v '^ *+' conftest.er1 >conftest.err
5867 cat conftest.err >&5
5868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } && {
5870 test -z "$ac_c_werror_flag" ||
5871 test ! -s conftest.err
5872 } && test -s conftest.$ac_objext; then
5873 libc_cv_friendly_stddef=yes
5875 $as_echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5878 libc_cv_friendly_stddef=no
5881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5883 { $as_echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5884 $as_echo "$libc_cv_friendly_stddef" >&6; }
5885 if test $libc_cv_friendly_stddef = yes; then
5886 config_vars="$config_vars
5887 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5890 { $as_echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5891 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5892 if test "${libc_cv_need_minus_P+set}" = set; then
5893 $as_echo_n "(cached) " >&6
5895 cat > conftest.S <<EOF
5896 #include "confdefs.h"
5897 /* Nothing whatsoever. */
5899 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); }; }; then
5905 libc_cv_need_minus_P=no
5907 libc_cv_need_minus_P=yes
5911 { $as_echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5912 $as_echo "$libc_cv_need_minus_P" >&6; }
5913 if test $libc_cv_need_minus_P = yes; then
5914 config_vars="$config_vars
5915 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5918 { $as_echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5919 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
5920 if test "${libc_cv_dot_text+set}" = set; then
5921 $as_echo_n "(cached) " >&6
5923 cat > conftest.s <<EOF
5927 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 libc_cv_dot_text=.text
5938 if test -z "$libc_cv_dot_text"; then
5939 { $as_echo "$as_me:$LINENO: result: no" >&5
5940 $as_echo "no" >&6; }
5942 { $as_echo "$as_me:$LINENO: result: yes" >&5
5943 $as_echo "yes" >&6; }
5946 { $as_echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5947 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
5948 if test "${libc_cv_asm_global_directive+set}" = set; then
5949 $as_echo_n "(cached) " >&6
5951 libc_cv_asm_global_directive=UNKNOWN
5952 for ac_globl in .globl .global .EXPORT; do
5953 cat > conftest.s <<EOF
5958 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); }; }; then
5964 libc_cv_asm_global_directive=${ac_globl}
5967 test $libc_cv_asm_global_directive != UNKNOWN && break
5970 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5971 $as_echo "$libc_cv_asm_global_directive" >&6; }
5972 if test $libc_cv_asm_global_directive = UNKNOWN; then
5973 { { $as_echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5974 $as_echo "$as_me: error: cannot determine asm global directive" >&2;}
5975 { (exit 1); exit 1; }; }
5977 cat >>confdefs.h <<_ACEOF
5978 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5983 { $as_echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5984 $as_echo_n "checking for .set assembler directive... " >&6; }
5985 if test "${libc_cv_asm_set_directive+set}" = set; then
5986 $as_echo_n "(cached) " >&6
5988 cat > conftest.s <<EOF
5991 .set glibc_conftest_frobozz,foo
5992 $libc_cv_asm_global_directive glibc_conftest_frobozz
5994 # The alpha-dec-osf1 assembler gives only a warning for `.
set'
5995 # (but it doesn't work
), so we must
do a linking check to be sure.
5996 cat > conftest1.c
<<\EOF
5997 extern int glibc_conftest_frobozz
;
5998 void _start
() { glibc_conftest_frobozz
= 1; }
6000 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6001 -nostartfiles -nostdlib \
6002 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
6003 libc_cv_asm_set_directive
=yes
6005 libc_cv_asm_set_directive
=no
6009 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
6010 $as_echo "$libc_cv_asm_set_directive" >&6; }
6011 if test $libc_cv_asm_set_directive = yes; then
6012 cat >>confdefs.h
<<\_ACEOF
6013 #define HAVE_ASM_SET_DIRECTIVE 1
6018 { $as_echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
6019 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
6020 if test "${libc_cv_asm_type_prefix+set}" = set; then
6021 $as_echo_n "(cached) " >&6
6023 libc_cv_asm_type_prefix
=no
6024 for ac_try_prefix
in '@' '%' '#'; do
6025 cat > conftest.s
<<EOF
6027 ${libc_cv_asm_global_directive} foo
6028 .type foo, ${ac_try_prefix}object
6033 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); }; }; then
6039 libc_cv_asm_type_prefix
=${ac_try_prefix}
6042 test "x$libc_cv_asm_type_prefix" != xno
&& break
6045 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
6046 $as_echo "$libc_cv_asm_type_prefix" >&6; }
6047 if test "x$libc_cv_asm_type_prefix" != xno
; then
6048 cat >>confdefs.h
<<_ACEOF
6049 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
6054 { $as_echo "$as_me:$LINENO: checking for assembler gnu_unique_object symbol type" >&5
6055 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
6056 if test "${libc_cv_asm_unique_object+set}" = set; then
6057 $as_echo_n "(cached) " >&6
6059 cat > conftest.s
<<EOF
6062 .type _sym, ${libc_cv_asm_type_prefix}gnu_unique_object
6064 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6065 libc_cv_asm_unique_object
=yes
6067 libc_cv_asm_unique_object
=no
6071 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_unique_object" >&5
6072 $as_echo "$libc_cv_asm_unique_object" >&6; }
6073 if test $libc_cv_asm_unique_object = yes; then
6074 cat >>confdefs.h
<<\_ACEOF
6075 #define HAVE_ASM_UNIQUE_OBJECT 1
6080 # For the multi-arch option we need support in the assembler.
6081 if test "$multi_arch" = yes; then
6082 if test "x$libc_cv_asm_type_prefix" != xno
; then
6083 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
6084 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
6085 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
6086 $as_echo_n "(cached) " >&6
6088 cat > conftest.s
<<EOF
6089 .type foo,%gnu_indirect_function
6091 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
6093 libc_cv_asm_gnu_indirect_function
=yes
6095 libc_cv_asm_gnu_indirect_function
=no
6099 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
6100 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
6102 libc_cv_asm_gnu_indirect_function
=no
6104 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
; then
6105 { { $as_echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
6106 $as_echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
6107 { (exit 1); exit 1; }; }
6111 { $as_echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
6112 $as_echo_n "checking for .symver assembler directive... " >&6; }
6113 if test "${libc_cv_asm_symver_directive+set}" = set; then
6114 $as_echo_n "(cached) " >&6
6116 cat > conftest.s
<<EOF
6119 .symver _sym,sym@VERS
6121 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6122 libc_cv_asm_symver_directive
=yes
6124 libc_cv_asm_symver_directive
=no
6128 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
6129 $as_echo "$libc_cv_asm_symver_directive" >&6; }
6130 { $as_echo "$as_me:$LINENO: checking for ld --version-script" >&5
6131 $as_echo_n "checking for ld --version-script... " >&6; }
6132 if test "${libc_cv_ld_version_script_option+set}" = set; then
6133 $as_echo_n "(cached) " >&6
6135 if test $libc_cv_asm_symver_directive = yes; then
6136 cat > conftest.s
<<EOF
6139 .symver _sym,sym@VERS
6141 cat > conftest.map
<<EOF
6150 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6151 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
6152 -o conftest.so conftest.o
6153 -nostartfiles -nostdlib
6154 -Wl,--version-script,conftest.map
6156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); }; };
6162 libc_cv_ld_version_script_option
=yes
6164 libc_cv_ld_version_script_option
=no
6167 libc_cv_ld_version_script_option
=no
6170 libc_cv_ld_version_script_option
=no
6174 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
6175 $as_echo "$libc_cv_ld_version_script_option" >&6; }
6176 if test $shared != no
&&
6177 test $libc_cv_asm_symver_directive = yes &&
6178 test $libc_cv_ld_version_script_option = yes &&
6179 test $enable_versioning = yes; then
6181 cat >>confdefs.h
<<\_ACEOF
6182 #define DO_VERSIONING 1
6190 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
6192 *** WARNING: You should not compile GNU libc without versioning. Not using
6193 *** versioning will introduce incompatibilities so that old binaries
6194 *** will not run anymore.
6195 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
6197 if test $elf = yes; then
6198 { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
6199 $as_echo_n "checking for .previous assembler directive... " >&6; }
6200 if test "${libc_cv_asm_previous_directive+set}" = set; then
6201 $as_echo_n "(cached) " >&6
6203 cat > conftest.s
<<EOF
6204 .section foo_section
6207 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); }; }; then
6213 libc_cv_asm_previous_directive
=yes
6215 libc_cv_asm_previous_directive
=no
6219 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
6220 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6221 if test $libc_cv_asm_previous_directive = yes; then
6222 cat >>confdefs.h
<<\_ACEOF
6223 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
6227 { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
6228 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6229 if test "${libc_cv_asm_popsection_directive+set}" = set; then
6230 $as_echo_n "(cached) " >&6
6232 cat > conftest.s
<<EOF
6233 .pushsection foo_section
6236 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); }; }; then
6242 libc_cv_asm_popsection_directive
=yes
6244 libc_cv_asm_popsection_directive
=no
6248 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
6249 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6250 if test $libc_cv_asm_popsection_directive = yes; then
6251 cat >>confdefs.h
<<\_ACEOF
6252 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6257 { $as_echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6258 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6259 if test "${libc_cv_asm_protected_directive+set}" = set; then
6260 $as_echo_n "(cached) " >&6
6262 cat > conftest.s
<<EOF
6268 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; }; then
6274 libc_cv_asm_protected_directive
=yes
6276 { { $as_echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6277 $as_echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6278 { (exit 1); exit 1; }; }
6282 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6283 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6285 if test $libc_cv_asm_protected_directive = yes; then
6286 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6287 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6288 if test "${libc_cv_visibility_attribute+set}" = set; then
6289 $as_echo_n "(cached) " >&6
6291 cat > conftest.c
<<EOF
6292 int foo __attribute__ ((visibility ("hidden"))) = 1;
6293 int bar __attribute__ ((visibility ("protected"))) = 1;
6295 libc_cv_visibility_attribute
=no
6296 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); }; }; then
6302 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
6303 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
6304 libc_cv_visibility_attribute
=yes
6311 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6312 $as_echo "$libc_cv_visibility_attribute" >&6; }
6313 if test $libc_cv_visibility_attribute != yes; then
6314 { { $as_echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6315 $as_echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6316 { (exit 1); exit 1; }; }
6320 if test $libc_cv_visibility_attribute = yes; then
6321 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6322 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6323 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6324 $as_echo_n "(cached) " >&6
6326 cat > conftest.c
<<EOF
6328 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6329 int bar (int x) { return x; }
6331 libc_cv_broken_visibility_attribute
=yes
6332 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); }; }; then
6338 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
6339 libc_cv_broken_visibility_attribute
=no
6342 rm -f conftest.c conftest.s
6345 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6346 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6347 if test $libc_cv_broken_visibility_attribute = yes; then
6348 { { $as_echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6349 $as_echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6350 { (exit 1); exit 1; }; }
6354 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6355 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6356 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6357 $as_echo_n "(cached) " >&6
6359 cat > conftest.c
<<EOF
6360 extern int foo (int x) __asm ("xyzzy");
6361 int bar (int x) { return x; }
6362 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6364 extern __typeof (dfoo) dfoo __asm ("abccb");
6367 libc_cv_broken_alias_attribute
=yes
6368 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); }; }; then
6374 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6375 grep 'abccb' conftest.s
>/dev
/null
; then
6376 libc_cv_broken_alias_attribute
=no
6379 rm -f conftest.c conftest.s
6382 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6383 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6384 if test $libc_cv_broken_alias_attribute = yes; then
6385 { { $as_echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6386 $as_echo "$as_me: error: working alias attribute support required" >&2;}
6387 { (exit 1); exit 1; }; }
6390 if test $libc_cv_visibility_attribute = yes; then
6391 { $as_echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6392 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6393 if test "${libc_cv_have_sdata_section+set}" = set; then
6394 $as_echo_n "(cached) " >&6
6396 echo "int i;" > conftest.c
6397 libc_cv_have_sdata_section
=no
6398 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6399 |
grep '\.sdata' >/dev
/null
; then
6400 libc_cv_have_sdata_section
=yes
6402 rm -f conftest.c conftest.so
6405 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6406 $as_echo "$libc_cv_have_sdata_section" >&6; }
6407 if test $libc_cv_have_sdata_section = yes; then
6408 cat >>confdefs.h
<<\_ACEOF
6409 #define HAVE_SDATA_SECTION 1
6415 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6416 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6417 if test "${libc_cv_initfini_array+set}" = set; then
6418 $as_echo_n "(cached) " >&6
6420 cat > conftest.c
<<EOF
6421 int _start (void) { return 0; }
6422 int __start (void) { return 0; }
6423 int foo (void) { return 1; }
6424 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6426 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6427 -static -nostartfiles -nostdlib 1>&5'
6428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); }; }
6434 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6435 libc_cv_initfini_array
=yes
6437 libc_cv_initfini_array
=no
6440 libc_cv_initfini_array
=no
6444 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6445 $as_echo "$libc_cv_initfini_array" >&6; }
6446 if test $libc_cv_initfini_array != yes; then
6447 { { $as_echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6448 $as_echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6449 { (exit 1); exit 1; }; }
6452 { $as_echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6453 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6454 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6455 $as_echo_n "(cached) " >&6
6458 cat > conftest.c
<<EOF
6459 int main (void) { return 0; }
6461 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6462 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6463 libc_cv_cc_with_libunwind
=yes
6465 libc_cv_cc_with_libunwind
=no
6469 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6470 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6472 if test $libc_cv_cc_with_libunwind = yes; then
6473 cat >>confdefs.h
<<\_ACEOF
6474 #define HAVE_CC_WITH_LIBUNWIND 1
6479 { $as_echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6480 $as_echo_n "checking for -z nodelete option... " >&6; }
6481 if test "${libc_cv_z_nodelete+set}" = set; then
6482 $as_echo_n "(cached) " >&6
6484 cat > conftest.c
<<EOF
6485 int _start (void) { return 42; }
6487 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6488 -fPIC -shared -o conftest.so conftest.c
6489 -nostartfiles -nostdlib
6490 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; }
6497 libc_cv_z_nodelete
=yes
6499 { { $as_echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6500 $as_echo "$as_me: error: linker with -z nodelete support required" >&2;}
6501 { (exit 1); exit 1; }; }
6505 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6506 $as_echo "$libc_cv_z_nodelete" >&6; }
6508 { $as_echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6509 $as_echo_n "checking for -z nodlopen option... " >&6; }
6510 if test "${libc_cv_z_nodlopen+set}" = set; then
6511 $as_echo_n "(cached) " >&6
6513 cat > conftest.c
<<EOF
6514 int _start (void) { return 42; }
6516 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6517 -fPIC -shared -o conftest.so conftest.c
6518 -nostartfiles -nostdlib
6519 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); }; }
6526 libc_cv_z_nodlopen
=yes
6528 { { $as_echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6529 $as_echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6530 { (exit 1); exit 1; }; }
6534 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6535 $as_echo "$libc_cv_z_nodlopen" >&6; }
6537 { $as_echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6538 $as_echo_n "checking for -z initfirst option... " >&6; }
6539 if test "${libc_cv_z_initfirst+set}" = set; then
6540 $as_echo_n "(cached) " >&6
6542 cat > conftest.c
<<EOF
6543 int _start (void) { return 42; }
6545 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6546 -fPIC -shared -o conftest.so conftest.c
6547 -nostartfiles -nostdlib
6548 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; }
6555 libc_cv_z_initfirst
=yes
6557 { { $as_echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6558 $as_echo "$as_me: error: linker with -z initfirst support required" >&2;}
6559 { (exit 1); exit 1; }; }
6563 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6564 $as_echo "$libc_cv_z_initfirst" >&6; }
6566 case "$base_machine" in
6567 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6568 { $as_echo "$as_me:$LINENO: checking for -z relro option" >&5
6569 $as_echo_n "checking for -z relro option... " >&6; }
6570 if test "${libc_cv_z_relro+set}" = set; then
6571 $as_echo_n "(cached) " >&6
6574 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); }; }
6581 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); }; }
6592 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6593 $as_echo "$libc_cv_z_relro" >&6; }
6594 if test "$libc_cv_z_relro" = no
; then
6595 { { $as_echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6596 $as_echo "$as_me: error: linker with -z relro support required" >&2;}
6597 { (exit 1); exit 1; }; }
6603 { $as_echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6604 $as_echo_n "checking for -Bgroup option... " >&6; }
6605 if test "${libc_cv_Bgroup+set}" = set; then
6606 $as_echo_n "(cached) " >&6
6608 cat > conftest.c
<<EOF
6609 int _start (void) { return 42; }
6611 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6612 -fPIC -shared -o conftest.so conftest.c
6613 -Wl,-Bgroup -nostdlib 1>&5'
6614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; }
6626 { $as_echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6627 $as_echo "$libc_cv_Bgroup" >&6; }
6630 { $as_echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6631 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6632 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6633 $as_echo_n "(cached) " >&6
6635 cat > conftest.c
<<EOF
6636 int main (void) { return 0; }
6638 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6639 -fPIC -shared -shared-libgcc -o conftest.so \
6640 conftest.c -v 2>&1 >/dev/null \
6641 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6644 { $as_echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6645 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6648 { $as_echo "$as_me:$LINENO: checking for --as-needed option" >&5
6649 $as_echo_n "checking for --as-needed option... " >&6; }
6650 if test "${libc_cv_as_needed+set}" = set; then
6651 $as_echo_n "(cached) " >&6
6653 cat > conftest.c
<<EOF
6654 int main (void) { return 0; }
6656 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6657 -fPIC -shared -o conftest.so conftest.c
6658 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); }; }
6666 libc_cv_as_needed
=yes
6668 libc_cv_as_needed
=no
6672 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6673 $as_echo "$libc_cv_as_needed" >&6; }
6677 { $as_echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6678 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6679 if test "${libc_cv_as_noexecstack+set}" = set; then
6680 $as_echo_n "(cached) " >&6
6682 cat > conftest.c
<<EOF
6685 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6686 -S -o conftest.s conftest.c 1>&5'
6687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; } \
6692 && grep -q .note.GNU-stack conftest.s \
6693 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6694 -c -o conftest.o conftest.s 1>&5'
6695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); }; }
6701 libc_cv_as_noexecstack
=yes
6703 libc_cv_as_noexecstack
=no
6707 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6708 $as_echo "$libc_cv_as_noexecstack" >&6; }
6709 if test $libc_cv_as_noexecstack = yes; then
6710 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6714 { $as_echo "$as_me:$LINENO: checking for -z combreloc" >&5
6715 $as_echo_n "checking for -z combreloc... " >&6; }
6716 if test "${libc_cv_z_combreloc+set}" = set; then
6717 $as_echo_n "(cached) " >&6
6719 cat > conftest.c
<<EOF
6720 extern int bar (int);
6722 int foo (void) { return bar (mumble); }
6724 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6725 -fPIC -shared -o conftest.so conftest.c
6726 -nostdlib -nostartfiles
6727 -Wl,-z,combreloc 1>&5'
6728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); }; }
6734 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6735 libc_cv_z_combreloc
=yes
6737 libc_cv_z_combreloc
=no
6740 libc_cv_z_combreloc
=no
6744 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6745 $as_echo "$libc_cv_z_combreloc" >&6; }
6746 if test "$libc_cv_z_combreloc" = yes; then
6747 cat >>confdefs.h
<<\_ACEOF
6748 #define HAVE_Z_COMBRELOC 1
6754 { $as_echo "$as_me:$LINENO: checking for -z execstack" >&5
6755 $as_echo_n "checking for -z execstack... " >&6; }
6756 if test "${libc_cv_z_execstack+set}" = set; then
6757 $as_echo_n "(cached) " >&6
6759 cat > conftest.c
<<EOF
6760 int _start (void) { return 42; }
6762 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6763 -fPIC -shared -o conftest.so conftest.c
6764 -Wl,-z,execstack -nostdlib
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; }
6772 libc_cv_z_execstack
=yes
6774 libc_cv_z_execstack
=no
6778 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6779 $as_echo "$libc_cv_z_execstack" >&6; }
6782 { $as_echo "$as_me:$LINENO: checking for -fpie" >&5
6783 $as_echo_n "checking for -fpie... " >&6; }
6784 if test "${libc_cv_fpie+set}" = set; then
6785 $as_echo_n "(cached) " >&6
6787 cat > conftest.c
<<EOF
6789 main () { return 0;}
6791 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6792 -o conftest conftest.c 1>&5'
6793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); }; }
6805 { $as_echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6806 $as_echo "$libc_cv_fpie" >&6; }
6810 { $as_echo "$as_me:$LINENO: checking for --hash-style option" >&5
6811 $as_echo_n "checking for --hash-style option... " >&6; }
6812 if test "${libc_cv_hashstyle+set}" = set; then
6813 $as_echo_n "(cached) " >&6
6815 cat > conftest.c
<<EOF
6816 int _start (void) { return 42; }
6818 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6819 -fPIC -shared -o conftest.so conftest.c
6820 -Wl,--hash-style=both -nostdlib 1>&5'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; }
6827 libc_cv_hashstyle
=yes
6829 libc_cv_hashstyle
=no
6833 { $as_echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6834 $as_echo "$libc_cv_hashstyle" >&6; }
6838 { $as_echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6839 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6840 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6841 $as_echo_n "(cached) " >&6
6843 cat > conftest.c
<<EOF
6846 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); }; }
6854 libc_cv_fno_toplevel_reorder
=yes
6856 libc_cv_fno_toplevel_reorder
=no
6860 { $as_echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6861 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6862 if test $libc_cv_fno_toplevel_reorder = yes; then
6863 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6865 fno_unit_at_a_time
=-fno-unit-at-a-time
6869 { $as_echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6870 $as_echo_n "checking for -fstack-protector... " >&6; }
6871 if test "${libc_cv_ssp+set}" = set; then
6872 $as_echo_n "(cached) " >&6
6874 cat > conftest.c
<<EOF
6876 main () { return 0;}
6878 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6879 -o conftest conftest.c 1>&5'
6880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); }; }
6892 { $as_echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6893 $as_echo "$libc_cv_ssp" >&6; }
6896 { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6897 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6898 if test "${libc_cv_gnu89_inline+set}" = set; then
6899 $as_echo_n "(cached) " >&6
6901 cat > conftest.c
<<EOF
6903 #ifdef __GNUC_GNU_INLINE__
6904 main () { return 0;}
6909 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6910 -o conftest.s conftest.c 1>&5'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; }
6917 libc_cv_gnu89_inline
=yes
6919 libc_cv_gnu89_inline
=no
6923 { $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6924 $as_echo "$libc_cv_gnu89_inline" >&6; }
6925 if test $libc_cv_gnu89_inline = yes; then
6926 libc_cv_gnu89_inline
=-fgnu89-inline
6928 libc_cv_gnu89_inline
=
6932 if test $elf != yes; then
6933 { $as_echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6934 $as_echo_n "checking for .init and .fini sections... " >&6; }
6935 if test "${libc_cv_have_initfini+set}" = set; then
6936 $as_echo_n "(cached) " >&6
6938 cat >conftest.
$ac_ext <<_ACEOF
6941 cat confdefs.h
>>conftest.
$ac_ext
6942 cat >>conftest.
$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6948 asm (".section .init");
6949 asm (".section .fini");
6950 asm ("${libc_cv_dot_text}");
6955 rm -f conftest.
$ac_objext
6956 if { (ac_try
="$ac_compile"
6958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6959 *) ac_try_echo=$ac_try;;
6961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6962 $as_echo "$ac_try_echo") >&5
6963 (eval "$ac_compile") 2>conftest.er1
6965 grep -v '^ *+' conftest.er1 >conftest.err
6967 cat conftest.err >&5
6968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } && {
6970 test -z "$ac_c_werror_flag" ||
6971 test ! -s conftest.err
6972 } && test -s conftest.$ac_objext; then
6973 libc_cv_have_initfini=yes
6975 $as_echo "$as_me: failed program was:" >&5
6976 sed 's/^/| /' conftest.$ac_ext >&5
6978 libc_cv_have_initfini=no
6981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6983 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6984 $as_echo "$libc_cv_have_initfini" >&6; }
6985 if test $libc_cv_have_initfini = yes; then
6986 cat >>confdefs.h <<\_ACEOF
6987 #define HAVE_INITFINI 1
6993 if test $elf = yes; then
6994 { $as_echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6995 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6996 if test "${libc_cv_have_section_quotes+set}" = set; then
6997 $as_echo_n "(cached) " >&6
6999 cat > conftest.c <<EOF
7000 static const int foo
7001 __attribute__ ((section ("bar"))) = 1;
7003 if ${CC-cc} -S conftest.c -o conftest.s; then
7004 if grep '\.section.*"bar"' conftest.s >/dev/null; then
7005 libc_cv_have_section_quotes=yes
7007 libc_cv_have_section_quotes=no
7010 libc_cv_have_section_quotes=unknown
7015 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
7016 $as_echo "$libc_cv_have_section_quotes" >&6; }
7017 if test $libc_cv_have_section_quotes = yes; then
7018 cat >>confdefs.h <<\_ACEOF
7019 #define HAVE_SECTION_QUOTES 1
7027 if test $elf = yes; then
7028 libc_cv_asm_underscores=no
7030 if test $ac_cv_prog_cc_works = yes; then
7031 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7032 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7033 if test "${libc_cv_asm_underscores+set}" = set; then
7034 $as_echo_n "(cached) " >&6
7036 cat >conftest.$ac_ext <<_ACEOF
7039 cat confdefs.h >>conftest.$ac_ext
7040 cat >>conftest.$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7042 asm ("_glibc_foobar:");
7051 rm -f conftest.$ac_objext conftest$ac_exeext
7052 if { (ac_try="$ac_link"
7054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7055 *) ac_try_echo
=$ac_try;;
7057 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7058 $as_echo "$ac_try_echo") >&5
7059 (eval "$ac_link") 2>conftest.er1
7061 grep -v '^ *+' conftest.er1
>conftest.err
7063 cat conftest.err
>&5
7064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); } && {
7066 test -z "$ac_c_werror_flag" ||
7067 test ! -s conftest.err
7068 } && test -s conftest
$ac_exeext && {
7069 test "$cross_compiling" = yes ||
7070 $as_test_x conftest
$ac_exeext
7072 libc_cv_asm_underscores
=yes
7074 $as_echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.
$ac_ext >&5
7077 libc_cv_asm_underscores
=no
7080 rm -rf conftest.dSYM
7081 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7082 conftest
$ac_exeext conftest.
$ac_ext
7084 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7085 $as_echo "$libc_cv_asm_underscores" >&6; }
7087 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7088 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7089 if test "${libc_cv_asm_underscores+set}" = set; then
7090 $as_echo_n "(cached) " >&6
7092 cat > conftest.
$ac_ext <<EOF
7093 #line $LINENO "configure"
7094 #include "confdefs.h"
7095 void underscore_test(void) {
7098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7099 (eval $ac_compile) 2>&5
7101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); }; then
7103 if grep _underscore_test conftest
* >/dev
/null
; then
7105 libc_cv_asm_underscores
=yes
7108 libc_cv_asm_underscores
=no
7111 echo "configure: failed program was:" >&5
7112 cat conftest.
$ac_ext >&5
7114 libc_cv_asm_underscores
=no
7118 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7119 $as_echo "$libc_cv_asm_underscores" >&6; }
7122 if test $libc_cv_asm_underscores = no
; then
7123 cat >>confdefs.h
<<\_ACEOF
7124 #define NO_UNDERSCORES 1
7129 if test $elf = yes; then
7130 libc_cv_weak_symbols
=yes
7133 { $as_echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
7134 $as_echo_n "checking for assembler .weak directive... " >&6; }
7135 if test "${libc_cv_asm_weak_directive+set}" = set; then
7136 $as_echo_n "(cached) " >&6
7138 cat > conftest.s
<<EOF
7140 ${libc_cv_asm_global_directive} foo
7143 .weak bar; bar = foo
7145 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; }; then
7151 libc_cv_asm_weak_directive
=yes
7153 libc_cv_asm_weak_directive
=no
7157 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
7158 $as_echo "$libc_cv_asm_weak_directive" >&6; }
7160 if test $libc_cv_asm_weak_directive = no
; then
7161 { $as_echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
7162 $as_echo_n "checking for assembler .weakext directive... " >&6; }
7163 if test "${libc_cv_asm_weakext_directive+set}" = set; then
7164 $as_echo_n "(cached) " >&6
7166 cat > conftest.s
<<EOF
7168 ${libc_cv_asm_global_directive} foo
7172 ${libc_cv_asm_global_directive} baz
7175 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); }; }; then
7181 libc_cv_asm_weakext_directive
=yes
7183 libc_cv_asm_weakext_directive
=no
7187 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
7188 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
7192 if test $libc_cv_asm_weak_directive = yes; then
7193 cat >>confdefs.h
<<\_ACEOF
7194 #define HAVE_ASM_WEAK_DIRECTIVE 1
7197 elif test $libc_cv_asm_weakext_directive = yes; then
7198 cat >>confdefs.h
<<\_ACEOF
7199 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
7204 { $as_echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
7205 $as_echo_n "checking whether CFI directives are supported... " >&6; }
7206 if test "${libc_cv_asm_cfi_directives+set}" = set; then
7207 $as_echo_n "(cached) " >&6
7210 sparc
/sparc64
*) cfi_offset
=2047;;
7213 cat > conftest.s
<<EOF
7215 .type func,%function
7219 .cfi_rel_offset 1, $cfi_offset
7222 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); }; }; then
7228 libc_cv_asm_cfi_directives
=yes
7230 libc_cv_asm_cfi_directives
=no
7234 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
7235 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
7236 if test $libc_cv_asm_cfi_directives = yes; then
7237 cat >>confdefs.h
<<\_ACEOF
7238 #define HAVE_ASM_CFI_DIRECTIVES 1
7243 { $as_echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
7244 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
7245 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
7246 $as_echo_n "(cached) " >&6
7248 cat > conftest.c
<<\EOF
7253 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7254 -nostdlib -nostartfiles -Wl,--no-whole-archive
7255 -o conftest conftest.c 1>&5'
7256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); }; }; then
7261 libc_cv_ld_no_whole_archive
=yes
7263 libc_cv_ld_no_whole_archive
=no
7267 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7268 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
7269 if test $libc_cv_ld_no_whole_archive = yes; then
7270 no_whole_archive
=-Wl,--no-whole-archive
7273 { $as_echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7274 $as_echo_n "checking for gcc -fexceptions... " >&6; }
7275 if test "${libc_cv_gcc_exceptions+set}" = set; then
7276 $as_echo_n "(cached) " >&6
7278 cat > conftest.c
<<\EOF
7283 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7284 -nostdlib -nostartfiles -fexceptions
7285 -o conftest conftest.c 1>&5'
7286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); }; }; then
7291 libc_cv_gcc_exceptions
=yes
7293 libc_cv_gcc_exceptions
=no
7297 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7298 $as_echo "$libc_cv_gcc_exceptions" >&6; }
7299 if test $libc_cv_gcc_exceptions = yes; then
7300 exceptions
=-fexceptions
7303 if test "$host_cpu" = powerpc
; then
7304 # Check for a bug present in at least versions 2.8.x of GCC
7305 # and versions 1.0.x of EGCS.
7306 { $as_echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7307 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7308 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7309 $as_echo_n "(cached) " >&6
7311 cat >conftest.
$ac_ext <<_ACEOF
7314 cat confdefs.h
>>conftest.
$ac_ext
7315 cat >>conftest.
$ac_ext <<_ACEOF
7316 /* end confdefs.h. */
7317 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7326 rm -f conftest.
$ac_objext
7327 if { (ac_try
="$ac_compile"
7329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7330 *) ac_try_echo=$ac_try;;
7332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7333 $as_echo "$ac_try_echo") >&5
7334 (eval "$ac_compile") 2>conftest.er1
7336 grep -v '^ *+' conftest.er1 >conftest.err
7338 cat conftest.err >&5
7339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); } && {
7341 test -z "$ac_c_werror_flag" ||
7342 test ! -s conftest.err
7343 } && test -s conftest.$ac_objext; then
7344 libc_cv_c_asmcr0_bug='no'
7346 $as_echo "$as_me: failed program was:" >&5
7347 sed 's/^/| /' conftest.$ac_ext >&5
7349 libc_cv_c_asmcr0_bug='yes'
7352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7354 { $as_echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7355 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7356 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7357 cat >>confdefs.h <<\_ACEOF
7358 #define BROKEN_PPC_ASM_CR0 1
7364 { $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7365 $as_echo_n "checking for __builtin_expect... " >&6; }
7366 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7367 $as_echo_n "(cached) " >&6
7369 cat > conftest.c <<EOF
7370 #line $LINENO "configure"
7373 a = __builtin_expect (a, 10);
7374 return a == 10 ? 0 : 1;
7377 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7378 -o conftest conftest.c -lgcc >&5'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; }; then
7384 libc_cv_gcc_builtin_expect=yes
7386 libc_cv_gcc_builtin_expect=no
7390 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7391 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7392 if test "$libc_cv_gcc_builtin_expect" = yes; then
7393 cat >>confdefs.h <<\_ACEOF
7394 #define HAVE_BUILTIN_EXPECT 1
7399 { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7400 $as_echo_n "checking for __builtin_memset... " >&6; }
7401 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7402 $as_echo_n "(cached) " >&6
7404 cat > conftest.c <<\EOF
7407 __builtin_memset (x, 0, 1000);
7410 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; };
7417 libc_cv_gcc_builtin_memset=no
7419 libc_cv_gcc_builtin_memset=yes
7423 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7424 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
7425 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7426 cat >>confdefs.h <<\_ACEOF
7427 #define HAVE_BUILTIN_MEMSET 1
7432 { $as_echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7433 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7434 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7435 $as_echo_n "(cached) " >&6
7437 cat > conftest.c <<\EOF
7438 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7439 char *foo (const char *a, const char *b)
7441 return __builtin_strstr (a, b);
7444 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); }; };
7451 libc_cv_gcc_builtin_redirection=yes
7453 libc_cv_gcc_builtin_redirection=no
7457 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7458 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7459 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7460 cat >>confdefs.h <<\_ACEOF
7461 #define HAVE_BUILTIN_REDIRECTION 1
7466 if test "x$use__thread" != xno; then
7467 { $as_echo "$as_me:$LINENO: checking for __thread" >&5
7468 $as_echo_n "checking for __thread... " >&6; }
7469 if test "${libc_cv_gcc___thread+set}" = set; then
7470 $as_echo_n "(cached) " >&6
7472 cat > conftest.c <<\EOF
7473 __thread int a = 42;
7475 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); }; }; then
7481 libc_cv_gcc___thread=yes
7483 libc_cv_gcc___thread=no
7487 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7488 $as_echo "$libc_cv_gcc___thread" >&6; }
7489 if test "$libc_cv_gcc___thread" = yes; then
7490 cat >>confdefs.h <<\_ACEOF
7491 #define HAVE___THREAD 1
7496 libc_cv_gcc___thread=no
7499 if test "$libc_cv_gcc___thread" = yes; then
7500 { $as_echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7501 $as_echo_n "checking for tls_model attribute... " >&6; }
7502 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7503 $as_echo_n "(cached) " >&6
7505 cat > conftest.c <<\EOF
7506 extern __thread int a __attribute__((tls_model ("initial-exec")));
7508 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); }; }; then
7514 libc_cv_gcc_tls_model_attr=yes
7516 libc_cv_gcc_tls_model_attr=no
7520 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7521 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7522 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7523 cat >>confdefs.h <<\_ACEOF
7524 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7530 if test -n "$submachine"; then
7531 { $as_echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7532 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7533 if test "${libc_cv_cc_submachine+set}" = set; then
7534 $as_echo_n "(cached) " >&6
7536 libc_cv_cc_submachine=no
7537 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7538 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); }; }; then
7544 libc_cv_cc_submachine="$opt"
7549 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7550 $as_echo "$libc_cv_cc_submachine" >&6; }
7551 if test "x$libc_cv_cc_submachine" = xno; then
7552 { { $as_echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7553 $as_echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7554 { (exit 1); exit 1; }; }
7559 { $as_echo "$as_me:$LINENO: checking for libgd" >&5
7560 $as_echo_n "checking for libgd... " >&6; }
7561 if test "$with_gd" != "no"; then
7562 old_CFLAGS="$CFLAGS"
7563 CFLAGS="$CFLAGS $libgd_include"
7564 old_LDFLAGS="$LDFLAGS"
7565 LDFLAGS="$LDFLAGS $libgd_ldflags"
7567 LIBS="$LIBS -lgd -lpng -lz -lm"
7568 cat >conftest.$ac_ext <<_ACEOF
7571 cat confdefs.h >>conftest.$ac_ext
7572 cat >>conftest.$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7583 rm -f conftest.$ac_objext conftest$ac_exeext
7584 if { (ac_try="$ac_link"
7586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7587 *) ac_try_echo
=$ac_try;;
7589 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7590 $as_echo "$ac_try_echo") >&5
7591 (eval "$ac_link") 2>conftest.er1
7593 grep -v '^ *+' conftest.er1
>conftest.err
7595 cat conftest.err
>&5
7596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } && {
7598 test -z "$ac_c_werror_flag" ||
7599 test ! -s conftest.err
7600 } && test -s conftest
$ac_exeext && {
7601 test "$cross_compiling" = yes ||
7602 $as_test_x conftest
$ac_exeext
7606 $as_echo "$as_me: failed program was:" >&5
7607 sed 's/^/| /' conftest.
$ac_ext >&5
7612 rm -rf conftest.dSYM
7613 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7614 conftest
$ac_exeext conftest.
$ac_ext
7615 CFLAGS
="$old_CFLAGS"
7616 LDFLAGS
="$old_LDFLAGS"
7621 { $as_echo "$as_me:$LINENO: result: $LIBGD" >&5
7622 $as_echo "$LIBGD" >&6; }
7626 if test x
$with_selinux = xno
; then
7629 # See if we have the SELinux library
7630 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7631 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7632 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7633 $as_echo_n "(cached) " >&6
7635 ac_check_lib_save_LIBS
=$LIBS
7636 LIBS
="-lselinux $LIBS"
7637 cat >conftest.
$ac_ext <<_ACEOF
7640 cat confdefs.h
>>conftest.
$ac_ext
7641 cat >>conftest.
$ac_ext <<_ACEOF
7642 /* end confdefs.h. */
7644 /* Override any GCC internal prototype to avoid an error.
7645 Use char because int might match the return type of a GCC
7646 builtin and then its argument prototype would still apply. */
7650 char is_selinux_enabled ();
7654 return is_selinux_enabled ();
7659 rm -f conftest.
$ac_objext conftest
$ac_exeext
7660 if { (ac_try
="$ac_link"
7662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7663 *) ac_try_echo=$ac_try;;
7665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7666 $as_echo "$ac_try_echo") >&5
7667 (eval "$ac_link") 2>conftest.er1
7669 grep -v '^ *+' conftest.er1 >conftest.err
7671 cat conftest.err >&5
7672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); } && {
7674 test -z "$ac_c_werror_flag" ||
7675 test ! -s conftest.err
7676 } && test -s conftest$ac_exeext && {
7677 test "$cross_compiling" = yes ||
7678 $as_test_x conftest$ac_exeext
7680 ac_cv_lib_selinux_is_selinux_enabled=yes
7682 $as_echo "$as_me: failed program was:" >&5
7683 sed 's/^/| /' conftest.$ac_ext >&5
7685 ac_cv_lib_selinux_is_selinux_enabled=no
7688 rm -rf conftest.dSYM
7689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7690 conftest$ac_exeext conftest.$ac_ext
7691 LIBS=$ac_check_lib_save_LIBS
7693 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7694 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7695 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
7701 # See if we have the SELinux header with the NSCD permissions in it.
7702 if test x$have_selinux = xyes ; then
7703 { $as_echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7704 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7705 cat >conftest.$ac_ext <<_ACEOF
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 #include <selinux/av_permissions.h>
7715 #ifdef NSCD__SHMEMHOST
7718 #error NSCD__SHMEMHOST not defined
7724 rm -f conftest.$ac_objext
7725 if { (ac_try="$ac_compile"
7727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7728 *) ac_try_echo
=$ac_try;;
7730 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7731 $as_echo "$ac_try_echo") >&5
7732 (eval "$ac_compile") 2>conftest.er1
7734 grep -v '^ *+' conftest.er1
>conftest.err
7736 cat conftest.err
>&5
7737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); } && {
7739 test -z "$ac_c_werror_flag" ||
7740 test ! -s conftest.err
7741 } && test -s conftest.
$ac_objext; then
7744 $as_echo "$as_me: failed program was:" >&5
7745 sed 's/^/| /' conftest.
$ac_ext >&5
7750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7751 { $as_echo "$as_me:$LINENO: result: $have_selinux" >&5
7752 $as_echo "$have_selinux" >&6; }
7755 if test x
$with_selinux = xyes
; then
7756 if test x
$have_selinux = xno
; then
7757 { { $as_echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7758 $as_echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7759 { (exit 1); exit 1; }; }
7763 # Check if we're building with SELinux support.
7764 if test "x$have_selinux" = xyes
; then
7766 cat >>confdefs.h
<<\_ACEOF
7767 #define HAVE_SELINUX 1
7771 # See if we have the libaudit library
7772 { $as_echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7773 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7774 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7775 $as_echo_n "(cached) " >&6
7777 ac_check_lib_save_LIBS
=$LIBS
7778 LIBS
="-laudit $LIBS"
7779 cat >conftest.
$ac_ext <<_ACEOF
7782 cat confdefs.h
>>conftest.
$ac_ext
7783 cat >>conftest.
$ac_ext <<_ACEOF
7784 /* end confdefs.h. */
7786 /* Override any GCC internal prototype to avoid an error.
7787 Use char because int might match the return type of a GCC
7788 builtin and then its argument prototype would still apply. */
7792 char audit_log_user_avc_message ();
7796 return audit_log_user_avc_message ();
7801 rm -f conftest.
$ac_objext conftest
$ac_exeext
7802 if { (ac_try
="$ac_link"
7804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7805 *) ac_try_echo=$ac_try;;
7807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7808 $as_echo "$ac_try_echo") >&5
7809 (eval "$ac_link") 2>conftest.er1
7811 grep -v '^ *+' conftest.er1 >conftest.err
7813 cat conftest.err >&5
7814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); } && {
7816 test -z "$ac_c_werror_flag" ||
7817 test ! -s conftest.err
7818 } && test -s conftest$ac_exeext && {
7819 test "$cross_compiling" = yes ||
7820 $as_test_x conftest$ac_exeext
7822 ac_cv_lib_audit_audit_log_user_avc_message=yes
7824 $as_echo "$as_me: failed program was:" >&5
7825 sed 's/^/| /' conftest.$ac_ext >&5
7827 ac_cv_lib_audit_audit_log_user_avc_message=no
7830 rm -rf conftest.dSYM
7831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7832 conftest$ac_exeext conftest.$ac_ext
7833 LIBS=$ac_check_lib_save_LIBS
7835 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7836 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7837 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then
7843 if test "x$have_libaudit" = xyes; then
7845 cat >>confdefs.h <<\_ACEOF
7846 #define HAVE_LIBAUDIT 1
7852 # See if we have the libcap library
7853 { $as_echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7854 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7855 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7856 $as_echo_n "(cached) " >&6
7858 ac_check_lib_save_LIBS=$LIBS
7860 cat >conftest.$ac_ext <<_ACEOF
7863 cat confdefs.h >>conftest.$ac_ext
7864 cat >>conftest.$ac_ext <<_ACEOF
7865 /* end confdefs.h. */
7867 /* Override any GCC internal prototype to avoid an error.
7868 Use char because int might match the return type of a GCC
7869 builtin and then its argument prototype would still apply. */
7882 rm -f conftest.$ac_objext conftest$ac_exeext
7883 if { (ac_try="$ac_link"
7885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7886 *) ac_try_echo
=$ac_try;;
7888 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7889 $as_echo "$ac_try_echo") >&5
7890 (eval "$ac_link") 2>conftest.er1
7892 grep -v '^ *+' conftest.er1
>conftest.err
7894 cat conftest.err
>&5
7895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); } && {
7897 test -z "$ac_c_werror_flag" ||
7898 test ! -s conftest.err
7899 } && test -s conftest
$ac_exeext && {
7900 test "$cross_compiling" = yes ||
7901 $as_test_x conftest
$ac_exeext
7903 ac_cv_lib_cap_cap_init
=yes
7905 $as_echo "$as_me: failed program was:" >&5
7906 sed 's/^/| /' conftest.
$ac_ext >&5
7908 ac_cv_lib_cap_cap_init
=no
7911 rm -rf conftest.dSYM
7912 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7913 conftest
$ac_exeext conftest.
$ac_ext
7914 LIBS
=$ac_check_lib_save_LIBS
7916 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7917 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7918 if test "x$ac_cv_lib_cap_cap_init" = x
""yes; then
7924 if test "x$have_libcap" = xyes
; then
7926 cat >>confdefs.h
<<\_ACEOF
7927 #define HAVE_LIBCAP 1
7936 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7937 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7938 if test "${ac_cv_path_GREP+set}" = set; then
7939 $as_echo_n "(cached) " >&6
7941 if test -z "$GREP"; then
7942 ac_path_GREP_found
=false
7943 # Loop through the user's path and test for each of PROGNAME-LIST
7944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7945 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7948 test -z "$as_dir" && as_dir
=.
7949 for ac_prog
in grep ggrep
; do
7950 for ac_exec_ext
in '' $ac_executable_extensions; do
7951 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7952 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7953 # Check for GNU ac_path_GREP and select it if it is found.
7954 # Check for GNU $ac_path_GREP
7955 case `"$ac_path_GREP" --version 2>&1` in
7957 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7960 $as_echo_n 0123456789 >"conftest.in"
7963 cat "conftest.in" "conftest.in" >"conftest.tmp"
7964 mv "conftest.tmp" "conftest.in"
7965 cp "conftest.in" "conftest.nl"
7966 $as_echo 'GREP' >> "conftest.nl"
7967 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7968 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7969 ac_count
=`expr $ac_count + 1`
7970 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7971 # Best one so far, save it but keep looking for a better one
7972 ac_cv_path_GREP
="$ac_path_GREP"
7973 ac_path_GREP_max
=$ac_count
7975 # 10*(2^10) chars as input seems more than enough
7976 test $ac_count -gt 10 && break
7978 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7981 $ac_path_GREP_found && break 3
7986 if test -z "$ac_cv_path_GREP"; then
7987 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7988 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7989 { (exit 1); exit 1; }; }
7992 ac_cv_path_GREP
=$GREP
7996 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7997 $as_echo "$ac_cv_path_GREP" >&6; }
7998 GREP
="$ac_cv_path_GREP"
8001 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
8002 $as_echo_n "checking for egrep... " >&6; }
8003 if test "${ac_cv_path_EGREP+set}" = set; then
8004 $as_echo_n "(cached) " >&6
8006 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
8007 then ac_cv_path_EGREP
="$GREP -E"
8009 if test -z "$EGREP"; then
8010 ac_path_EGREP_found
=false
8011 # Loop through the user's path and test for each of PROGNAME-LIST
8012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8013 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
8016 test -z "$as_dir" && as_dir
=.
8017 for ac_prog
in egrep; do
8018 for ac_exec_ext
in '' $ac_executable_extensions; do
8019 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
8020 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
8021 # Check for GNU ac_path_EGREP and select it if it is found.
8022 # Check for GNU $ac_path_EGREP
8023 case `"$ac_path_EGREP" --version 2>&1` in
8025 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
8028 $as_echo_n 0123456789 >"conftest.in"
8031 cat "conftest.in" "conftest.in" >"conftest.tmp"
8032 mv "conftest.tmp" "conftest.in"
8033 cp "conftest.in" "conftest.nl"
8034 $as_echo 'EGREP' >> "conftest.nl"
8035 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8036 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8037 ac_count
=`expr $ac_count + 1`
8038 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8039 # Best one so far, save it but keep looking for a better one
8040 ac_cv_path_EGREP
="$ac_path_EGREP"
8041 ac_path_EGREP_max
=$ac_count
8043 # 10*(2^10) chars as input seems more than enough
8044 test $ac_count -gt 10 && break
8046 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8049 $ac_path_EGREP_found && break 3
8054 if test -z "$ac_cv_path_EGREP"; then
8055 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8056 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8057 { (exit 1); exit 1; }; }
8060 ac_cv_path_EGREP
=$EGREP
8065 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8066 $as_echo "$ac_cv_path_EGREP" >&6; }
8067 EGREP
="$ac_cv_path_EGREP"
8070 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8071 $as_echo_n "checking for ANSI C header files... " >&6; }
8072 if test "${ac_cv_header_stdc+set}" = set; then
8073 $as_echo_n "(cached) " >&6
8075 cat >conftest.
$ac_ext <<_ACEOF
8078 cat confdefs.h
>>conftest.
$ac_ext
8079 cat >>conftest.
$ac_ext <<_ACEOF
8080 /* end confdefs.h. */
8094 rm -f conftest.
$ac_objext
8095 if { (ac_try
="$ac_compile"
8097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8098 *) ac_try_echo=$ac_try;;
8100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8101 $as_echo "$ac_try_echo") >&5
8102 (eval "$ac_compile") 2>conftest.er1
8104 grep -v '^ *+' conftest.er1 >conftest.err
8106 cat conftest.err >&5
8107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); } && {
8109 test -z "$ac_c_werror_flag" ||
8110 test ! -s conftest.err
8111 } && test -s conftest.$ac_objext; then
8112 ac_cv_header_stdc=yes
8114 $as_echo "$as_me: failed program was:" >&5
8115 sed 's/^/| /' conftest.$ac_ext >&5
8117 ac_cv_header_stdc=no
8120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8122 if test $ac_cv_header_stdc = yes; then
8123 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8124 cat >conftest.$ac_ext <<_ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8134 $EGREP "memchr" >/dev/null 2>&1; then
8137 ac_cv_header_stdc=no
8143 if test $ac_cv_header_stdc = yes; then
8144 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8145 cat >conftest.$ac_ext <<_ACEOF
8148 cat confdefs.h >>conftest.$ac_ext
8149 cat >>conftest.$ac_ext <<_ACEOF
8150 /* end confdefs.h. */
8154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8155 $EGREP "free" >/dev/null 2>&1; then
8158 ac_cv_header_stdc=no
8164 if test $ac_cv_header_stdc = yes; then
8165 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8166 if test "$cross_compiling" = yes; then
8169 cat >conftest.$ac_ext <<_ACEOF
8172 cat confdefs.h >>conftest.$ac_ext
8173 cat >>conftest.$ac_ext <<_ACEOF
8174 /* end confdefs.h. */
8177 #if ((' ' & 0x0FF) == 0x020)
8178 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8179 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8181 # define ISLOWER(c) \
8182 (('a' <= (c) && (c) <= 'i') \
8183 || ('j' <= (c) && (c) <= 'r') \
8184 || ('s' <= (c) && (c) <= 'z'))
8185 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8188 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8193 for (i = 0; i < 256; i++)
8194 if (XOR (islower (i), ISLOWER (i))
8195 || toupper (i) != TOUPPER (i))
8200 rm -f conftest$ac_exeext
8201 if { (ac_try="$ac_link"
8203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8204 *) ac_try_echo
=$ac_try;;
8206 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8207 $as_echo "$ac_try_echo") >&5
8208 (eval "$ac_link") 2>&5
8210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8212 { (case "(($ac_try" in
8213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8214 *) ac_try_echo=$ac_try;;
8216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8217 $as_echo "$ac_try_echo") >&5
8218 (eval "$ac_try") 2>&5
8220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); }; }; then
8224 $as_echo "$as_me: program exited with status $ac_status" >&5
8225 $as_echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8229 ac_cv_header_stdc=no
8231 rm -rf conftest.dSYM
8232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8238 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8239 $as_echo "$ac_cv_header_stdc" >&6; }
8240 if test $ac_cv_header_stdc = yes; then
8242 cat >>confdefs.h <<\_ACEOF
8243 #define STDC_HEADERS 1
8248 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8258 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8259 inttypes.h stdint.h unistd.h
8261 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8262 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8263 $as_echo_n "checking for $ac_header... " >&6; }
8264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8265 $as_echo_n "(cached) " >&6
8267 cat >conftest.$ac_ext <<_ACEOF
8270 cat confdefs.h >>conftest.$ac_ext
8271 cat >>conftest.$ac_ext <<_ACEOF
8272 /* end confdefs.h. */
8273 $ac_includes_default
8275 #include <$ac_header>
8277 rm -f conftest.$ac_objext
8278 if { (ac_try="$ac_compile"
8280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8281 *) ac_try_echo
=$ac_try;;
8283 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8284 $as_echo "$ac_try_echo") >&5
8285 (eval "$ac_compile") 2>conftest.er1
8287 grep -v '^ *+' conftest.er1
>conftest.err
8289 cat conftest.err
>&5
8290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } && {
8292 test -z "$ac_c_werror_flag" ||
8293 test ! -s conftest.err
8294 } && test -s conftest.
$ac_objext; then
8295 eval "$as_ac_Header=yes"
8297 $as_echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.
$ac_ext >&5
8300 eval "$as_ac_Header=no"
8303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8305 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8306 $as_echo "$as_val"'`
8307 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8308 $as_echo "$ac_res" >&6; }
8309 as_val
=`eval 'as_val=${'$as_ac_Header'}
8310 $as_echo "$as_val"'`
8311 if test "x$as_val" = x
""yes; then
8312 cat >>confdefs.h
<<_ACEOF
8313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8321 # The cast to long int works around a bug in the HP C Compiler
8322 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8323 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8324 # This bug is HP SR number 8606223364.
8325 { $as_echo "$as_me:$LINENO: checking size of long double" >&5
8326 $as_echo_n "checking size of long double... " >&6; }
8327 if test "${ac_cv_sizeof_long_double+set}" = set; then
8328 $as_echo_n "(cached) " >&6
8330 if test "$cross_compiling" = yes; then
8331 # Depending upon the size, compute the lo and hi bounds.
8332 cat >conftest.
$ac_ext <<_ACEOF
8335 cat confdefs.h
>>conftest.
$ac_ext
8336 cat >>conftest.
$ac_ext <<_ACEOF
8337 /* end confdefs.h. */
8338 $ac_includes_default
8342 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= 0)];
8349 rm -f conftest.
$ac_objext
8350 if { (ac_try
="$ac_compile"
8352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8353 *) ac_try_echo=$ac_try;;
8355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8356 $as_echo "$ac_try_echo") >&5
8357 (eval "$ac_compile") 2>conftest.er1
8359 grep -v '^ *+' conftest.er1 >conftest.err
8361 cat conftest.err >&5
8362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } && {
8364 test -z "$ac_c_werror_flag" ||
8365 test ! -s conftest.err
8366 } && test -s conftest.$ac_objext; then
8369 cat >conftest.$ac_ext <<_ACEOF
8372 cat confdefs.h >>conftest.$ac_ext
8373 cat >>conftest.$ac_ext <<_ACEOF
8374 /* end confdefs.h. */
8375 $ac_includes_default
8379 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8386 rm -f conftest.$ac_objext
8387 if { (ac_try="$ac_compile"
8389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8390 *) ac_try_echo
=$ac_try;;
8392 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8393 $as_echo "$ac_try_echo") >&5
8394 (eval "$ac_compile") 2>conftest.er1
8396 grep -v '^ *+' conftest.er1
>conftest.err
8398 cat conftest.err
>&5
8399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); } && {
8401 test -z "$ac_c_werror_flag" ||
8402 test ! -s conftest.err
8403 } && test -s conftest.
$ac_objext; then
8404 ac_hi
=$ac_mid; break
8406 $as_echo "$as_me: failed program was:" >&5
8407 sed 's/^/| /' conftest.
$ac_ext >&5
8409 ac_lo
=`expr $ac_mid + 1`
8410 if test $ac_lo -le $ac_mid; then
8414 ac_mid
=`expr 2 '*' $ac_mid + 1`
8417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8420 $as_echo "$as_me: failed program was:" >&5
8421 sed 's/^/| /' conftest.
$ac_ext >&5
8423 cat >conftest.
$ac_ext <<_ACEOF
8426 cat confdefs.h
>>conftest.
$ac_ext
8427 cat >>conftest.
$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8429 $ac_includes_default
8433 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) < 0)];
8440 rm -f conftest.
$ac_objext
8441 if { (ac_try
="$ac_compile"
8443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8447 $as_echo "$ac_try_echo") >&5
8448 (eval "$ac_compile") 2>conftest.er1
8450 grep -v '^ *+' conftest.er1 >conftest.err
8452 cat conftest.err >&5
8453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); } && {
8455 test -z "$ac_c_werror_flag" ||
8456 test ! -s conftest.err
8457 } && test -s conftest.$ac_objext; then
8460 cat >conftest.$ac_ext <<_ACEOF
8463 cat confdefs.h >>conftest.$ac_ext
8464 cat >>conftest.$ac_ext <<_ACEOF
8465 /* end confdefs.h. */
8466 $ac_includes_default
8470 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= $ac_mid)];
8477 rm -f conftest.$ac_objext
8478 if { (ac_try="$ac_compile"
8480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8481 *) ac_try_echo
=$ac_try;;
8483 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8484 $as_echo "$ac_try_echo") >&5
8485 (eval "$ac_compile") 2>conftest.er1
8487 grep -v '^ *+' conftest.er1
>conftest.err
8489 cat conftest.err
>&5
8490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); } && {
8492 test -z "$ac_c_werror_flag" ||
8493 test ! -s conftest.err
8494 } && test -s conftest.
$ac_objext; then
8495 ac_lo
=$ac_mid; break
8497 $as_echo "$as_me: failed program was:" >&5
8498 sed 's/^/| /' conftest.
$ac_ext >&5
8500 ac_hi
=`expr '(' $ac_mid ')' - 1`
8501 if test $ac_mid -le $ac_hi; then
8505 ac_mid
=`expr 2 '*' $ac_mid`
8508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8511 $as_echo "$as_me: failed program was:" >&5
8512 sed 's/^/| /' conftest.
$ac_ext >&5
8517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8521 # Binary search between lo and hi bounds.
8522 while test "x$ac_lo" != "x$ac_hi"; do
8523 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8524 cat >conftest.
$ac_ext <<_ACEOF
8527 cat confdefs.h
>>conftest.
$ac_ext
8528 cat >>conftest.
$ac_ext <<_ACEOF
8529 /* end confdefs.h. */
8530 $ac_includes_default
8534 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8541 rm -f conftest.
$ac_objext
8542 if { (ac_try
="$ac_compile"
8544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8545 *) ac_try_echo=$ac_try;;
8547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8548 $as_echo "$ac_try_echo") >&5
8549 (eval "$ac_compile") 2>conftest.er1
8551 grep -v '^ *+' conftest.er1 >conftest.err
8553 cat conftest.err >&5
8554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); } && {
8556 test -z "$ac_c_werror_flag" ||
8557 test ! -s conftest.err
8558 } && test -s conftest.$ac_objext; then
8561 $as_echo "$as_me: failed program was:" >&5
8562 sed 's/^/| /' conftest.$ac_ext >&5
8564 ac_lo=`expr '(' $ac_mid ')' + 1`
8567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8570 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8571 '') if test "$ac_cv_type_long_double" = yes; then
8572 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8574 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long double
)
8575 See \
`config.log' for more details." >&5
8576 $as_echo "$as_me: error: cannot compute sizeof (long double)
8577 See \`config.log
' for more details." >&2;}
8578 { (exit 77); exit 77; }; }; }
8580 ac_cv_sizeof_long_double=0
8584 cat >conftest.$ac_ext <<_ACEOF
8587 cat confdefs.h >>conftest.$ac_ext
8588 cat >>conftest.$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8590 $ac_includes_default
8591 static long int longval () { return (long int) (sizeof (long double)); }
8592 static unsigned long int ulongval () { return (long int) (sizeof (long double)); }
8599 FILE *f = fopen ("conftest.val", "w");
8602 if (((long int) (sizeof (long double))) < 0)
8604 long int i = longval ();
8605 if (i != ((long int) (sizeof (long double))))
8607 fprintf (f, "%ld", i);
8611 unsigned long int i = ulongval ();
8612 if (i != ((long int) (sizeof (long double))))
8614 fprintf (f, "%lu", i);
8616 /* Do not output a trailing newline, as this causes \r\n confusion
8617 on some platforms. */
8618 return ferror (f) || fclose (f) != 0;
8624 rm -f conftest$ac_exeext
8625 if { (ac_try="$ac_link"
8627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8628 *) ac_try_echo=$ac_try;;
8630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8631 $as_echo "$ac_try_echo") >&5
8632 (eval "$ac_link") 2>&5
8634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
8636 { (case "(($ac_try" in
8637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8638 *) ac_try_echo=$ac_try;;
8640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8641 $as_echo "$ac_try_echo") >&5
8642 (eval "$ac_try") 2>&5
8644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); }; }; then
8646 ac_cv_sizeof_long_double=`cat conftest.val`
8648 $as_echo "$as_me: program exited with status $ac_status" >&5
8649 $as_echo "$as_me: failed program was:" >&5
8650 sed 's
/^
/|
/' conftest.$ac_ext >&5
8653 if test "$ac_cv_type_long_double" = yes; then
8654 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8655 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
8656 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8657 See \`config.log
' for more details." >&5
8658 $as_echo "$as_me: error: cannot compute sizeof (long double)
8659 See \`config.log' for more details.
" >&2;}
8660 { (exit 77); exit 77; }; }; }
8662 ac_cv_sizeof_long_double=0
8665 rm -rf conftest.dSYM
8666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8670 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8671 $as_echo "$ac_cv_sizeof_long_double" >&6; }
8675 cat >>confdefs.h <<_ACEOF
8676 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8680 sizeof_long_double=$ac_cv_sizeof_long_double
8683 ### End of automated tests.
8684 ### Now run sysdeps configure fragments.
8686 # They also can set these variables.
8688 ldd_rewrite_script=no
8689 libc_cv_sysconfdir=$sysconfdir
8690 libc_cv_gcc_unwind_find_fde=no
8693 # Iterate over all the sysdep directories we will use, running their
8694 # configure fragments, and looking for a uname implementation.
8696 for dir in $sysnames; do
8699 *) dest=$srcdir/$dir ;;
8701 if test -r $dest/configure; then
8702 { $as_echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8703 $as_echo "running configure fragment
for $dir" >&6; }
8707 if test -z "$uname"; then
8708 if test -r $dest/uname.c ||
8709 test -r $dest/uname.S ||
8710 { test -r $dest/syscalls.list &&
8711 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8717 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8718 cat >>confdefs.h <<\_ACEOF
8719 #define EXPORT_UNWIND_FIND_FDE 1
8725 # If we will use the generic uname implementation, we must figure out what
8726 # it will say by examining the system, and write the results in config-name.h.
8727 if test "$uname" = "sysdeps
/generic
"; then
8729 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8730 if test $uname_sysname != $config_os; then
8731 config_release=`echo $config_os | sed s/$uname_sysname//`
8734 { $as_echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8735 $as_echo_n "checking OS release
for uname...
" >&6; }
8736 if test "${libc_cv_uname_release+set}" = set; then
8737 $as_echo_n "(cached
) " >&6
8739 if test -r /vmunix; then
8740 kernel_id=`strings /vmunix | grep UNIX`
8741 elif test -r /dynix; then
8742 kernel_id=`strings /dynix | grep DYNIX`
8747 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8748 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8749 != x$config_release; then
8750 # The configuration release is a substring of the kernel release.
8751 libc_cv_uname_release=$kernel_release
8752 elif test x$config_release != x; then
8753 libc_cv_uname_release=$config_release
8754 elif test x$kernel_release != x; then
8755 libc_cv_uname_release=$kernel_release
8757 libc_cv_uname_release=unknown
8760 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8761 $as_echo "$libc_cv_uname_release" >&6; }
8762 uname_release="$libc_cv_uname_release"
8764 { $as_echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8765 $as_echo_n "checking OS version
for uname...
" >&6; }
8766 if test "${libc_cv_uname_version+set}" = set; then
8767 $as_echo_n "(cached
) " >&6
8769 if test -r /vmunix; then
8770 kernel_id=`strings /vmunix | grep UNIX`
8771 elif test -r /dynix; then
8772 kernel_id=`strings /dynix | grep DYNIX`
8777 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8778 if test -n "$kernel_version"; then
8779 libc_cv_uname_version="$kernel_version"
8781 libc_cv_uname_version=unknown
8784 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8785 $as_echo "$libc_cv_uname_version" >&6; }
8786 uname_version="$libc_cv_uname_version"
8788 config_uname=config-name.h:config-name.in
8790 # For non-generic uname, we don't need to create config-name.h at all.
8794 cat >>confdefs.h <<\_ACEOF
8795 #define USE_IN_LIBIO 1
8799 # Test for old glibc 2.0.x headers so that they can be removed properly
8800 # Search only in includedir.
8801 { $as_echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8802 $as_echo_n "checking
for old glibc
2.0.x headers...
" >&6; }
8803 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8805 old_glibc_headers=yes
8807 old_glibc_headers=no
8809 { $as_echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8810 $as_echo "$old_glibc_headers" >&6; }
8811 if test ${old_glibc_headers} = yes; then
8812 { $as_echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8813 $as_echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8814 { $as_echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8815 $as_echo "$as_me: WARNING
: *** be removed.
" >&2;}
8833 if test $elf = yes; then
8834 cat >>confdefs.h <<\_ACEOF
8839 if test $xcoff = yes; then
8840 cat >>confdefs.h <<\_ACEOF
8841 #define HAVE_XCOFF 1
8848 if test $shared = default; then
8852 { $as_echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8853 $as_echo_n "checking whether
-fPIC is default...
" >&6; }
8854 if test "${libc_cv_pic_default+set}" = set; then
8855 $as_echo_n "(cached
) " >&6
8857 libc_cv_pic_default=yes
8858 cat > conftest.c <<EOF
8859 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8860 # error PIC is default.
8863 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8864 libc_cv_pic_default=no
8868 { $as_echo "$as_me:$LINENO: result
: $libc_cv_pic_default" >&5
8869 $as_echo "$libc_cv_pic_default" >&6; }
8882 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8885 config_makefile=Makefile
8888 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8889 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8893 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8895 ac_config_commands
="$ac_config_commands default"
8897 cat >confcache
<<\_ACEOF
8898 # This file is a shell script that caches the results of configure
8899 # tests run on this system so they can be shared between configure
8900 # scripts and configure runs, see configure's option --config-cache.
8901 # It is not useful on other systems. If it contains results you don't
8902 # want to keep, you may remove or edit it.
8904 # config.status only pays attention to the cache file if you give it
8905 # the --recheck option to rerun configure.
8907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8913 # The following way of writing the cache mishandles newlines in values,
8914 # but we know of no workaround that is simple, portable, and efficient.
8915 # So, we kill variables containing newlines.
8916 # Ultrix sh set writes to stderr and can't be redirected directly,
8917 # and sets the high bit in the cache file unless we assign to the vars.
8919 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8920 eval ac_val
=\$
$ac_var
8924 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8925 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8928 _ | IFS | as_nl
) ;; #(
8929 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8930 *) $as_unset $ac_var ;;
8936 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8937 *${as_nl}ac_space
=\
*)
8938 # `set' does not quote correctly, so add quotes (double-quote
8939 # substitution turns \\\\ into \\, and sed turns \\ into \).
8942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8945 # `set' quotes correctly as required by POSIX, so do not add quotes.
8946 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8957 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8959 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8960 if test -w "$cache_file"; then
8961 test "x$cache_file" != "x/dev/null" &&
8962 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8963 $as_echo "$as_me: updating cache $cache_file" >&6;}
8964 cat confcache
>$cache_file
8966 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8967 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8972 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8973 # Let make expand exec_prefix.
8974 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8976 DEFS
=-DHAVE_CONFIG_H
8980 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8981 # 1. Remove the extension, and $U if already installed.
8982 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8983 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8984 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8985 # will be set to the directory where LIBOBJS objects are built.
8986 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8987 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8991 LTLIBOBJS
=$ac_ltlibobjs
8995 : ${CONFIG_STATUS=./config.status}
8997 ac_clean_files_save
=$ac_clean_files
8998 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8999 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9000 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9001 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9003 # Generated by $as_me.
9004 # Run this file to recreate the current configuration.
9005 # Compiler output produced by configure, useful for debugging
9006 # configure, is in config.log if it exists.
9011 SHELL=\${CONFIG_SHELL-$SHELL}
9014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9015 ## --------------------- ##
9016 ## M4sh Initialization. ##
9017 ## --------------------- ##
9019 # Be more Bourne compatible
9020 DUALCASE
=1; export DUALCASE
# for MKS sh
9021 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9024 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9025 # is contrary to our usage. Disable this feature.
9026 alias -g '${1+"$@"}'='"$@"'
9027 setopt NO_GLOB_SUBST
9029 case `(set -o) 2>/dev/null` in
9030 *posix
*) set -o posix
;;
9039 # Avoid depending upon Character Ranges.
9040 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9041 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9042 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9043 as_cr_digits
='0123456789'
9044 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9049 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9050 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9051 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9052 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9053 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9054 as_echo='printf %s
\n'
9055 as_echo_n='printf %s
'
9057 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9058 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9059 as_echo_n='/usr
/ucb
/echo -n'
9061 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9062 as_echo_n_body='eval
9066 expr "X$arg" : "X\\(.*\\)$as_nl";
9067 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9069 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9071 export as_echo_n_body
9072 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9075 as_echo='sh
-c $as_echo_body as_echo
'
9078 # The user is always right.
9079 if test "${PATH_SEPARATOR+set}" != set; then
9081 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9082 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9087 # Support unset when possible.
9088 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9096 # We need space, tab and new line, in precisely that order. Quoting is
9097 # there to prevent editors from complaining about space-tab.
9098 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9099 # splitting by setting IFS to empty value.)
9102 # Find who we are. Look in the path if we contain no directory separator.
9104 *[\\/]* ) as_myself=$0 ;;
9105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9109 test -z "$as_dir" && as_dir=.
9110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9116 # We did not find ourselves, most probably we were run as `sh COMMAND'
9117 # in which case we are not to be found in the path.
9118 if test "x$as_myself" = x
; then
9121 if test ! -f "$as_myself"; then
9122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9123 { (exit 1); exit 1; }
9126 # Work around bugs in pre-3.0 UWIN ksh.
9127 for as_var
in ENV MAIL MAILPATH
9128 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9140 # Required to use basename.
9141 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9142 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9148 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9149 as_basename
=basename
9155 # Name of the executable.
9156 as_me
=`$as_basename -- "$0" ||
9157 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9158 X"$0" : 'X\(//\)$' \| \
9159 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9161 sed '/^.*\/\([^/][^/]*\)\/*$/{
9182 test "x$as_lineno_1" != "x$as_lineno_2" &&
9183 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9185 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9186 # uniformly replaced by the line number. The first 'sed' inserts a
9187 # line-number line after each line using $LINENO; the second 'sed'
9188 # does the real work. The second script uses 'N' to pair each
9189 # line-number line with the line containing $LINENO, and appends
9190 # trailing '-' during substitution so that $LINENO is not a special
9192 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9193 # scripts with optimization help from Paolo Bonzini. Blame Lee
9194 # E. McMahon (1931-1989) for sed's syntax. :-)
9206 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9210 chmod +x
"$as_me.lineno" ||
9211 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9212 { (exit 1); exit 1; }; }
9214 # Don't try to exec as it changes $[0], causing all sort of problems
9215 # (the dirname of $[0] is not the place where we might find the
9216 # original and so on. Autoconf is especially sensitive to this).
9218 # Exit status is that of the last command.
9223 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9229 ECHO_C
= ECHO_N
= ECHO_T
=
9232 case `echo 'x\c'` in
9233 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9239 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9240 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9246 rm -f conf$$ conf$$.exe conf$$.
file
9247 if test -d conf$$.dir
; then
9248 rm -f conf$$.dir
/conf$$.
file
9251 mkdir conf$$.dir
2>/dev
/null
9253 if (echo >conf$$.
file) 2>/dev
/null
; then
9254 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9256 # ... but there are two gotchas:
9257 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9258 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9259 # In both cases, we have to default to `cp -p'.
9260 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9262 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9270 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9271 rmdir conf$$.dir
2>/dev
/null
9273 if mkdir
-p .
2>/dev
/null
; then
9276 test -d .
/-p && rmdir .
/-p
9280 if test -x / >/dev
/null
2>&1; then
9283 if ls -dL / >/dev
/null
2>&1; then
9290 if test -d "$1"; then
9296 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9297 ???[sx]*):;;*)false;;esac;fi
9301 as_executable_p
=$as_test_x
9303 # Sed expression to map a string onto a valid CPP name.
9304 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9306 # Sed expression to map a string onto a valid variable name.
9307 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9312 # Save the log message, to keep $[0] and so on meaningful, and to
9313 # report actual input values of CONFIG_FILES etc. instead of their
9314 # values after options handling.
9316 This file was extended by GNU C Library $as_me (see version.h), which was
9317 generated by GNU Autoconf 2.63. Invocation command line was
9319 CONFIG_FILES = $CONFIG_FILES
9320 CONFIG_HEADERS = $CONFIG_HEADERS
9321 CONFIG_LINKS = $CONFIG_LINKS
9322 CONFIG_COMMANDS = $CONFIG_COMMANDS
9325 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9330 case $ac_config_files in *"
9331 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9334 case $ac_config_headers in *"
9335 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9340 # Files that config.status was made for.
9341 config_files="$ac_config_files"
9342 config_headers="$ac_config_headers"
9343 config_commands="$ac_config_commands"
9347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9349 \`$as_me' instantiates files from templates according to the
9350 current configuration.
9352 Usage: $0 [OPTION]... [FILE]...
9354 -h, --help print this help, then exit
9355 -V, --version print version number and configuration settings, then exit
9356 -q, --quiet, --silent
9357 do not print progress messages
9358 -d, --debug don't remove temporary files
9359 --recheck update $as_me by reconfiguring in the same conditions
9360 --file=FILE[:TEMPLATE]
9361 instantiate the configuration file FILE
9362 --header=FILE[:TEMPLATE]
9363 instantiate the configuration header FILE
9365 Configuration files:
9368 Configuration headers:
9371 Configuration commands:
9374 Report bugs to <bug-autoconf@gnu.org>."
9377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9379 GNU C Library config.status (see version.h)
9380 configured by $0, generated by GNU Autoconf 2.63,
9381 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9383 Copyright (C) 2008 Free Software Foundation, Inc.
9384 This config.status script is free software; the Free Software Foundation
9385 gives unlimited permission to copy, distribute and modify it."
9391 test -n "\$AWK" || AWK=awk
9394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9395 # The default lists apply if the user does not specify any file.
9401 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9402 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9413 # Handling of the options.
9414 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9416 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9417 $as_echo "$ac_cs_version"; exit ;;
9418 --debug |
--debu |
--deb |
--de |
--d |
-d )
9420 --file |
--fil |
--fi |
--f )
9423 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9425 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
9426 ac_need_defaults
=false
;;
9427 --header |
--heade |
--head |
--hea )
9430 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9432 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
9433 ac_need_defaults
=false
;;
9435 # Conflict between --help and --header
9436 { $as_echo "$as_me: error: ambiguous option: $1
9437 Try \`$0 --help' for more information." >&2
9438 { (exit 1); exit 1; }; };;
9439 --help |
--hel |
-h )
9440 $as_echo "$ac_cs_usage"; exit ;;
9441 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9442 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9446 -*) { $as_echo "$as_me: error: unrecognized option: $1
9447 Try \`$0 --help' for more information." >&2
9448 { (exit 1); exit 1; }; } ;;
9450 *) ac_config_targets
="$ac_config_targets $1"
9451 ac_need_defaults
=false
;;
9457 ac_configure_extra_args
=
9459 if $ac_cs_silent; then
9461 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9466 if \$ac_cs_recheck; then
9467 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9469 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9470 CONFIG_SHELL='$SHELL'
9476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9480 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9481 ## Running $as_me. ##
9487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9491 config_vars='$config_vars'
9495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9497 # Handling of arguments.
9498 for ac_config_target
in $ac_config_targets
9500 case $ac_config_target in
9501 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9502 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9503 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9504 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9505 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9507 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9508 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9509 { (exit 1); exit 1; }; };;
9514 # If the user did not use the arguments to specify the items to instantiate,
9515 # then the envvar interface is used. Set only those that are not.
9516 # We use the long form for the default assignment because of an extremely
9517 # bizarre bug on SunOS 4.1.3.
9518 if $ac_need_defaults; then
9519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9524 # Have a temporary directory for convenience. Make it in the build tree
9525 # simply because there is no reason against having it here, and in addition,
9526 # creating and moving files from /tmp can sometimes cause problems.
9527 # Hook for its removal unless debugging.
9528 # Note that there is a small window in which the directory will not be cleaned:
9529 # after its creation but before its name has been assigned to `$tmp'.
9533 trap 'exit_status=$?
9534 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9536 trap '{ (exit 1); exit 1; }' 1 2 13 15
9538 # Create a (secure) tmp directory for tmp files.
9541 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9542 test -n "$tmp" && test -d "$tmp"
9545 tmp
=.
/conf$$
-$RANDOM
9546 (umask 077 && mkdir
"$tmp")
9549 $as_echo "$as_me: cannot create a temporary directory in ." >&2
9550 { (exit 1); exit 1; }
9553 # Set up the scripts for CONFIG_FILES section.
9554 # No need to generate them if there are no CONFIG_FILES.
9555 # This happens for instance with `./config.status config.h'.
9556 if test -n "$CONFIG_FILES"; then
9560 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9561 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9567 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9572 echo "cat >conf$$subs.awk <<_ACEOF" &&
9573 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9576 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9577 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9578 { (exit 1); exit 1; }; }
9579 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9581 for ac_last_try in false false false false false :; do
9582 . ./conf$$subs.sh ||
9583 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9584 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9585 { (exit 1); exit 1; }; }
9587 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9588 if test $ac_delim_n = $ac_delim_num; then
9590 elif $ac_last_try; then
9591 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9592 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9593 { (exit 1); exit 1; }; }
9595 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9601 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9605 s/^/S["/; s
/!.
*/"]=/
9615 s/\(.\{148\}\).*/\1/
9617 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9622 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9629 s/\(.\{148\}\).*/\1/
9631 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9635 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9640 ' <conf$$subs.awk | sed '
9645 ' >>$CONFIG_STATUS || ac_write_fail=1
9646 rm -f conf$$subs.awk
9647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9649 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9650 for (key in S) S_is_set[key] = 1
9656 nfields = split(line, field, "@
")
9658 len = length(field[1])
9659 for (i = 2; i < nfields; i++) {
9661 keylen = length(key)
9662 if (S_is_set[key]) {
9664 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9665 len += length(value) + length(field[++i])
9676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9677 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9678 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9681 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9682 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
9683 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
9684 { (exit 1); exit 1; }; }
9687 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9688 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9689 # trailing colons and then remove the whole line if VPATH becomes empty
9690 # (actually we leave an empty line to preserve line numbers).
9691 if test "x
$srcdir" = x.; then
9692 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9696 s/^\([^=]*=[ ]*\):*/\1/
9702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9703 fi # test -n "$CONFIG_FILES"
9705 # Set up the scripts for CONFIG_HEADERS section.
9706 # No need to generate them if there are no CONFIG_HEADERS.
9707 # This happens for instance with `./config.status Makefile'.
9708 if test -n "$CONFIG_HEADERS"; then
9709 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9713 # Transform confdefs.h into an awk script `defines.awk', embedded as
9714 # here-document in config.status, that substitutes the proper values into
9715 # config.h.in to produce config.h.
9717 # Create a delimiter string that does not exist in confdefs.h, to ease
9718 # handling of long lines.
9720 for ac_last_try in false false :; do
9721 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9722 if test -z "$ac_t"; then
9724 elif $ac_last_try; then
9725 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
9726 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
9727 { (exit 1); exit 1; }; }
9729 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9733 # For the awk script, D is an array of macro values keyed by name,
9734 # likewise P contains macro parameters if any. Preserve backslash
9735 # newline sequences.
9737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9739 s/.\{148\}/&'"$ac_delim"'/g
9742 s/^[ ]*#[ ]*define[ ][ ]*/ /
9749 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9751 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9756 D["\
1"]=" \
3\\\\\\n
"\\/p
9758 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9763 s/.\{148\}/&'"$ac_delim"'/g
9768 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9771 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9773 ' <confdefs.h | sed '
9774 s/'"$ac_delim"'/"\\\
9775 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9778 for (key in D) D_is_set[key] = 1
9781 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9783 split(line, arg, " ")
9784 if (arg[1] == "#") {
9788 defundef
= substr
(arg
[1], 2)
9791 split(mac1
, mac2
, "(") #)
9793 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9794 if (D_is_set
[macro
]) {
9795 # Preserve the white space surrounding the "#".
9796 print prefix
"define", macro P
[macro
] D
[macro
]
9799 # Replace #undef with comments. This is necessary, for example,
9800 # in the case of _POSIX_SOURCE, which is predefined and required
9801 # on some systems where configure will not decide to define it.
9802 if (defundef
== "undef") {
9803 print
"/*", prefix defundef
, macro
, "*/"
9811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9812 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9813 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9814 { (exit 1); exit 1; }; }
9815 fi # test -n "$CONFIG_HEADERS"
9818 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9823 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9825 case $ac_mode$ac_tag in
9827 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9828 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9829 { (exit 1); exit 1; }; };;
9830 :[FH
]-) ac_tag
=-:-;;
9831 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9848 -) ac_f
="$tmp/stdin";;
9849 *) # Look for the file first in the build tree, then in the source tree
9850 # (if the path is not absolute). The absolute path cannot be DOS-style,
9851 # because $ac_f cannot contain `:'.
9855 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9857 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9858 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9859 { (exit 1); exit 1; }; };;
9861 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9862 ac_file_inputs
="$ac_file_inputs '$ac_f'"
9865 # Let's still pretend it is `configure' which instantiates (i.e., don't
9866 # use $as_me), people would be surprised to read:
9867 # /* config.h. Generated by config.status. */
9868 configure_input
='Generated from '`
9869 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9871 if test x
"$ac_file" != x-
; then
9872 configure_input
="$ac_file. $configure_input"
9873 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9874 $as_echo "$as_me: creating $ac_file" >&6;}
9876 # Neutralize special characters interpreted by sed in replacement strings.
9877 case $configure_input in #(
9878 *\
&* |
*\|
* |
*\\* )
9879 ac_sed_conf_input
=`$as_echo "$configure_input" |
9880 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9881 *) ac_sed_conf_input
=$configure_input;;
9885 *:-:* |
*:-) cat >"$tmp/stdin" \
9886 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9887 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9888 { (exit 1); exit 1; }; } ;;
9893 ac_dir
=`$as_dirname -- "$ac_file" ||
9894 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9895 X"$ac_file" : 'X\(//\)[^/]' \| \
9896 X"$ac_file" : 'X\(//\)$' \| \
9897 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9898 $as_echo X"$ac_file" |
9899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9918 -*) as_dir
=.
/$as_dir;;
9920 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9924 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9925 *) as_qdir
=$as_dir;;
9927 as_dirs
="'$as_qdir' $as_dirs"
9928 as_dir
=`$as_dirname -- "$as_dir" ||
9929 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9930 X"$as_dir" : 'X\(//\)[^/]' \| \
9931 X"$as_dir" : 'X\(//\)$' \| \
9932 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9933 $as_echo X"$as_dir" |
9934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9951 test -d "$as_dir" && break
9953 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9954 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9955 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9956 { (exit 1); exit 1; }; }; }
9960 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9962 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9963 # A ".." for each directory in $ac_dir_suffix.
9964 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9965 case $ac_top_builddir_sub in
9966 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9967 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9970 ac_abs_top_builddir
=$ac_pwd
9971 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9972 # for backward compatibility:
9973 ac_top_builddir
=$ac_top_build_prefix
9976 .
) # We are building in place.
9978 ac_top_srcdir
=$ac_top_builddir_sub
9979 ac_abs_top_srcdir
=$ac_pwd ;;
9980 [\\/]* | ?
:[\\/]* ) # Absolute name.
9981 ac_srcdir
=$srcdir$ac_dir_suffix;
9982 ac_top_srcdir
=$srcdir
9983 ac_abs_top_srcdir
=$srcdir ;;
9985 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9986 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9987 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9989 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9999 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10000 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10005 # If the template does not know about datarootdir, expand it.
10006 # FIXME: This hack should be removed a few years after 2.60.
10007 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10020 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10021 *datarootdir
*) ac_datarootdir_seen
=yes;;
10022 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10023 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10024 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10027 ac_datarootdir_hack='
10028 s&@datadir@&$datadir&g
10029 s&@docdir@&$docdir&g
10030 s&@infodir@&$infodir&g
10031 s&@localedir@&$localedir&g
10032 s&@mandir@&$mandir&g
10033 s&\\\${datarootdir}&$datarootdir&g' ;;
10037 # Neutralize VPATH when `$srcdir' = `.'.
10038 # Shell code in configure.ac might set extrasub.
10039 # FIXME: do we really want to maintain this feature?
10040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10041 ac_sed_extra="$ac_vpsub
10044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10046 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10047 s|@configure_input@|
$ac_sed_conf_input|
;t t
10048 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10049 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10050 s
&@srcdir@
&$ac_srcdir&;t t
10051 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10052 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10053 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10054 s
&@builddir@
&$ac_builddir&;t t
10055 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10056 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10057 s
&@INSTALL@
&$ac_INSTALL&;t t
10058 $ac_datarootdir_hack
10060 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
10061 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
10062 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
10063 { (exit 1); exit 1; }; }
10065 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10066 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10067 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10068 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10069 which seems to be undefined. Please make sure it is defined." >&5
10070 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10071 which seems to be undefined. Please make sure it is defined." >&2;}
10075 -) cat "$tmp/out" && rm -f "$tmp/out";;
10076 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10078 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10079 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10080 { (exit 1); exit 1; }; }
10086 if test x"$ac_file" != x-; then
10088 $as_echo "/* $configure_input */" \
10089 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10090 } >"$tmp/config.h" \
10091 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10092 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10093 { (exit 1); exit 1; }; }
10094 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10095 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10096 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10099 mv "$tmp/config.h" "$ac_file" \
10100 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10101 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10102 { (exit 1); exit 1; }; }
10105 $as_echo "/* $configure_input */" \
10106 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10107 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10108 $as_echo "$as_me: error: could not create -" >&2;}
10109 { (exit 1); exit 1; }; }
10113 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10114 $as_echo "$as_me: executing $ac_file commands" >&6;}
10119 case $ac_file$ac_mode in
10121 case $CONFIG_FILES in *config.make*)
10122 echo "$config_vars" >> config.make;;
10124 test -d bits || mkdir bits ;;
10130 { (exit 0); exit 0; }
10132 chmod +x $CONFIG_STATUS
10133 ac_clean_files=$ac_clean_files_save
10135 test $ac_write_fail = 0 ||
10136 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10137 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10138 { (exit 1); exit 1; }; }
10141 # configure is writing to config.log, and then calls config.status.
10142 # config.status does its own redirection, appending to config.log.
10143 # Unfortunately, on DOS this fails, as config.log is still kept open
10144 # by configure, so config.status won't be able to
write to it
; its
10145 # output is simply discarded. So we exec the FD to /dev/null,
10146 # effectively closing config.log, so it can be properly (re)opened and
10147 # appended to by config.status. When coming back to configure, we
10148 # need to make the FD available again.
10149 if test "$no_create" != yes; then
10151 ac_config_status_args
=
10152 test "$silent" = yes &&
10153 ac_config_status_args
="$ac_config_status_args --quiet"
10155 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10157 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10158 # would make configure fail if this is the last instruction.
10159 $ac_cs_success ||
{ (exit 1); exit 1; }
10163 # CONFIG_SUBDIRS section.
10165 if test "$no_recursion" != yes; then
10167 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10168 # so they do not pile up.
10169 ac_sub_configure_args
=
10171 eval "set x $ac_configure_args"
10175 if test -n "$ac_prev"; then
10180 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
10181 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
10182 ac_prev
=cache_file
;;
10183 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
10184 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
10187 --config-cache |
-C)
10189 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
10191 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
10193 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
10195 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
10197 --disable-option-checking)
10201 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10203 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
10207 # Always prepend --prefix to ensure using the same prefix
10208 # in subdir configurations.
10209 ac_arg
="--prefix=$prefix"
10211 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10213 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
10216 if test "$silent" = yes; then
10217 ac_sub_configure_args
="--silent $ac_sub_configure_args"
10220 # Always prepend --disable-option-checking to silence warnings, since
10221 # different subdirs can have different --enable and --with options.
10222 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
10225 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
10227 # Do not complain, so a configure script can configure whichever
10228 # parts of a large source tree are present.
10229 test -d "$srcdir/$ac_dir" ||
continue
10231 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10232 $as_echo "$as_me:$LINENO: $ac_msg" >&5
10233 $as_echo "$ac_msg" >&6
10236 -*) as_dir
=.
/$as_dir;;
10238 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10242 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10243 *) as_qdir
=$as_dir;;
10245 as_dirs
="'$as_qdir' $as_dirs"
10246 as_dir
=`$as_dirname -- "$as_dir" ||
10247 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10248 X"$as_dir" : 'X\(//\)[^/]' \| \
10249 X"$as_dir" : 'X\(//\)$' \| \
10250 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10251 $as_echo X"$as_dir" |
10252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10256 /^X\(\/\/\)[^/].*/{
10269 test -d "$as_dir" && break
10271 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10272 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10273 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10274 { (exit 1); exit 1; }; }; }
10278 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10280 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10281 # A ".." for each directory in $ac_dir_suffix.
10282 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10283 case $ac_top_builddir_sub in
10284 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10285 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10288 ac_abs_top_builddir
=$ac_pwd
10289 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10290 # for backward compatibility:
10291 ac_top_builddir
=$ac_top_build_prefix
10294 .
) # We are building in place.
10296 ac_top_srcdir
=$ac_top_builddir_sub
10297 ac_abs_top_srcdir
=$ac_pwd ;;
10298 [\\/]* | ?
:[\\/]* ) # Absolute name.
10299 ac_srcdir
=$srcdir$ac_dir_suffix;
10300 ac_top_srcdir
=$srcdir
10301 ac_abs_top_srcdir
=$srcdir ;;
10302 *) # Relative name.
10303 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10304 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10305 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10307 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10312 # Check for guested configure; otherwise get Cygnus style configure.
10313 if test -f "$ac_srcdir/configure.gnu"; then
10314 ac_sub_configure
=$ac_srcdir/configure.gnu
10315 elif test -f "$ac_srcdir/configure"; then
10316 ac_sub_configure
=$ac_srcdir/configure
10317 elif test -f "$ac_srcdir/configure.in"; then
10318 # This should be Cygnus configure.
10319 ac_sub_configure
=$ac_aux_dir/configure
10321 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10322 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10326 # The recursion is here.
10327 if test -n "$ac_sub_configure"; then
10328 # Make the cache file name correct relative to the subdirectory.
10329 case $cache_file in
10330 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
10331 *) # Relative name.
10332 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
10335 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10336 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10337 # The eval makes quoting arguments work.
10338 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10339 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10340 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10341 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10342 { (exit 1); exit 1; }; }
10348 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10349 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10350 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}