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
661 libc_cv_cpp_asm_debuginfo
662 libc_cv_forced_unwind
671 libc_cv_gcc_unwind_find_fde
679 libc_cv_cc_submachine
682 libc_cv_have_initfini
692 libc_cv_libgcc_s_suffix
694 libc_cv_cc_with_libunwind
704 libc_cv_gcc_static_libgcc
787 program_transform_name
799 enable_option_checking
818 enable_stackguard_randomization
829 enable_experimental_malloc
833 ac_precious_vars
='build_alias
847 # Initialize some variables set by options.
849 ac_init_version
=false
850 ac_unrecognized_opts
=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 includedir
='${prefix}/include'
884 oldincludedir
='/usr/include'
885 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
886 infodir
='${datarootdir}/info'
891 libdir
='${exec_prefix}/lib'
892 localedir
='${datarootdir}/locale'
893 mandir
='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\
$ac_option
907 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
954 { (exit 1); exit 1; }; }
955 ac_useropt_orig
=$ac_useropt
956 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
962 ac_unrecognized_sep
=', ';;
964 eval enable_
$ac_useropt=no
;;
966 -docdir |
--docdir |
--docdi |
--doc |
--do)
968 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
971 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
973 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
976 -enable-* |
--enable-*)
977 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
980 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
981 { (exit 1); exit 1; }; }
982 ac_useropt_orig
=$ac_useropt
983 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
988 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989 ac_unrecognized_sep
=', ';;
991 eval enable_
$ac_useropt=\
$ac_optarg ;;
993 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
994 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
995 |
--exec |
--exe |
--ex)
996 ac_prev
=exec_prefix
;;
997 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
998 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
999 |
--exec=* |
--exe=* |
--ex=*)
1000 exec_prefix
=$ac_optarg ;;
1002 -gas |
--gas |
--ga |
--g)
1003 # Obsolete; use --with-gas.
1006 -help |
--help |
--hel |
--he |
-h)
1007 ac_init_help
=long
;;
1008 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1009 ac_init_help
=recursive
;;
1010 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1011 ac_init_help
=short
;;
1013 -host |
--host |
--hos |
--ho)
1014 ac_prev
=host_alias
;;
1015 -host=* |
--host=* |
--hos=* |
--ho=*)
1016 host_alias
=$ac_optarg ;;
1018 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1020 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1022 htmldir
=$ac_optarg ;;
1024 -includedir |
--includedir |
--includedi |
--included |
--include \
1025 |
--includ |
--inclu |
--incl |
--inc)
1026 ac_prev
=includedir
;;
1027 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1028 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1029 includedir
=$ac_optarg ;;
1031 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1033 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1034 infodir
=$ac_optarg ;;
1036 -libdir |
--libdir |
--libdi |
--libd)
1038 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1039 libdir
=$ac_optarg ;;
1041 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1042 |
--libexe |
--libex |
--libe)
1043 ac_prev
=libexecdir
;;
1044 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1045 |
--libexe=* |
--libex=* |
--libe=*)
1046 libexecdir
=$ac_optarg ;;
1048 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1049 ac_prev
=localedir
;;
1050 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1051 localedir
=$ac_optarg ;;
1053 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1054 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1055 ac_prev
=localstatedir
;;
1056 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1057 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1058 localstatedir
=$ac_optarg ;;
1060 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1062 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1063 mandir
=$ac_optarg ;;
1065 -nfp |
--nfp |
--nf)
1066 # Obsolete; use --without-fp.
1069 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1070 |
--no-cr |
--no-c |
-n)
1073 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1074 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1077 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1078 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1079 |
--oldin |
--oldi |
--old |
--ol |
--o)
1080 ac_prev
=oldincludedir
;;
1081 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1082 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1083 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1084 oldincludedir
=$ac_optarg ;;
1086 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1088 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1089 prefix
=$ac_optarg ;;
1091 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1092 |
--program-pre |
--program-pr |
--program-p)
1093 ac_prev
=program_prefix
;;
1094 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1095 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1096 program_prefix
=$ac_optarg ;;
1098 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1099 |
--program-suf |
--program-su |
--program-s)
1100 ac_prev
=program_suffix
;;
1101 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1102 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1103 program_suffix
=$ac_optarg ;;
1105 -program-transform-name |
--program-transform-name \
1106 |
--program-transform-nam |
--program-transform-na \
1107 |
--program-transform-n |
--program-transform- \
1108 |
--program-transform |
--program-transfor \
1109 |
--program-transfo |
--program-transf \
1110 |
--program-trans |
--program-tran \
1111 |
--progr-tra |
--program-tr |
--program-t)
1112 ac_prev
=program_transform_name
;;
1113 -program-transform-name=* |
--program-transform-name=* \
1114 |
--program-transform-nam=* |
--program-transform-na=* \
1115 |
--program-transform-n=* |
--program-transform-=* \
1116 |
--program-transform=* |
--program-transfor=* \
1117 |
--program-transfo=* |
--program-transf=* \
1118 |
--program-trans=* |
--program-tran=* \
1119 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1120 program_transform_name
=$ac_optarg ;;
1122 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1124 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1125 pdfdir
=$ac_optarg ;;
1127 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1129 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1132 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1133 |
-silent |
--silent |
--silen |
--sile |
--sil)
1136 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1138 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1140 sbindir
=$ac_optarg ;;
1142 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1143 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1144 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1146 ac_prev
=sharedstatedir
;;
1147 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1148 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1149 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1151 sharedstatedir
=$ac_optarg ;;
1153 -site |
--site |
--sit)
1155 -site=* |
--site=* |
--sit=*)
1158 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1160 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1161 srcdir
=$ac_optarg ;;
1163 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1164 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1165 ac_prev
=sysconfdir
;;
1166 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1167 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1168 sysconfdir
=$ac_optarg ;;
1170 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1171 ac_prev
=target_alias
;;
1172 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1173 target_alias
=$ac_optarg ;;
1175 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1178 -version |
--version |
--versio |
--versi |
--vers |
-V)
1179 ac_init_version
=: ;;
1182 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_useropt_orig
=$ac_useropt
1188 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1194 ac_unrecognized_sep
=', ';;
1196 eval with_
$ac_useropt=\
$ac_optarg ;;
1198 -without-* |
--without-*)
1199 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1202 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1203 { (exit 1); exit 1; }; }
1204 ac_useropt_orig
=$ac_useropt
1205 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1210 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1211 ac_unrecognized_sep
=', ';;
1213 eval with_
$ac_useropt=no
;;
1216 # Obsolete; use --with-x.
1219 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1220 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1221 ac_prev
=x_includes
;;
1222 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1223 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1224 x_includes
=$ac_optarg ;;
1226 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1227 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1228 ac_prev
=x_libraries
;;
1229 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1230 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1231 x_libraries
=$ac_optarg ;;
1233 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1234 Try \`$0 --help' for more information." >&2
1235 { (exit 1); exit 1; }; }
1239 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1242 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1243 { (exit 1); exit 1; }; }
1244 eval $ac_envvar=\
$ac_optarg
1245 export $ac_envvar ;;
1248 # FIXME: should be removed in autoconf 3.0.
1249 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1250 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1251 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1252 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1258 if test -n "$ac_prev"; then
1259 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1260 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1261 { (exit 1); exit 1; }; }
1264 if test -n "$ac_unrecognized_opts"; then
1265 case $enable_option_checking in
1267 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1268 { (exit 1); exit 1; }; } ;;
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1273 # Check all directory arguments for consistency.
1274 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1275 datadir sysconfdir sharedstatedir localstatedir includedir \
1276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1277 libdir localedir mandir
1279 eval ac_val
=\$
$ac_var
1280 # Remove trailing slashes.
1283 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1284 eval $ac_var=\
$ac_val;;
1286 # Be sure to have absolute directory names.
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1291 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1292 { (exit 1); exit 1; }; }
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target
=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x
; then
1304 if test "x$build_alias" = x
; then
1305 cross_compiling
=maybe
1306 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1307 If a cross compiler is detected then cross compile mode will be used." >&2
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1316 test "$silent" = yes && exec 6>/dev
/null
1319 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di
=`ls -di .` &&
1321 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1322 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1323 { (exit 1); exit 1; }; }
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1326 { (exit 1); exit 1; }; }
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted
=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir
=`$as_dirname -- "$as_myself" ||
1334 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$as_myself" : 'X\(//\)[^/]' \| \
1336 X"$as_myself" : 'X\(//\)$' \| \
1337 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1338 $as_echo X"$as_myself" |
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1361 ac_srcdir_defaulted
=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1365 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1366 { (exit 1); exit 1; }; }
1368 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1371 { (exit 1); exit 1; }; }
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --build=BUILD configure
for building on BUILD
[guessed
]
1456 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1460 if test -n "$ac_init_help"; then
1461 case $ac_init_help in
1462 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1467 --disable-option-checking ignore unrecognized
--enable/--with options
1468 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1469 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1470 --disable-sanity-checks really
do not use threads
(should not be used except
1471 in special situations
) [default
=yes]
1472 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1474 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1475 --enable-profile build profiled library
[default
=no
]
1476 --enable-omitfp build undebuggable optimized library
[default
=no
]
1477 --enable-bounded build with runtime bounds checking
[default
=no
]
1478 --disable-versioning do not include versioning information
in the library
1479 objects
[default
=yes if supported
]
1480 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1481 [default
=glibc default
]
1482 --enable-stackguard-randomization
1483 initialize __stack_chk_guard canary with a random
1484 number
at program start
1485 --enable-add-ons[=DIRS...
]
1486 configure and build add-ons
in DIR1
,DIR2
,... search
1487 for add-ons
if no parameter given
1488 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1489 --enable-bind-now disable lazy relocations
in DSOs
1490 --enable-static-nss build static NSS modules
[default
=no
]
1491 --disable-force-install don
't force installation of files from this package,
1492 even if they are older than the installed files
1493 --enable-kernel=VERSION compile for compatibility with kernel not older than
1495 --enable-all-warnings enable all useful warnings gcc can issue
1496 --enable-multi-arch enable single DSO with optimizations for multiple
1498 --enable-experimental-malloc
1499 enable experimental malloc features
1500 --enable-nss-crypt enable libcrypt to use nss
1503 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1504 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1505 --with-gd=DIR find libgd include dir and library with prefix DIR
1506 --with-gd-include=DIR find libgd include files in DIR
1507 --with-gd-lib=DIR find libgd library files in DIR
1508 --with-fp if using floating-point hardware [default=yes]
1509 --with-binutils=PATH specify location of binutils (as and ld)
1510 --with-elf if using the ELF object format
1511 --with-selinux if building with SELinux support
1512 --with-xcoff if using the XCOFF object format
1513 --without-cvs if CVS should not be used
1514 --with-headers=PATH location of system headers to use (for example
1515 /usr/src/linux/include) [default=compiler default]
1516 --with-tls enable support for TLS
1517 --without-__thread do not use TLS features even when supporting them
1518 --with-cpu=CPU select code for CPU variant
1520 Some influential environment variables:
1521 CC C compiler command
1522 CFLAGS C compiler flags
1523 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1524 nonstandard directory <lib dir>
1525 LIBS libraries to pass to the linker, e.g. -l<library>
1526 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1527 you have headers in a nonstandard directory <include dir>
1529 CXX C++ compiler command
1530 CXXFLAGS C++ compiler flags
1532 Use these variables to override the choices made by `configure' or to
help
1533 it to
find libraries and programs with nonstandard names
/locations.
1535 Report bugs to
<glibc
>.
1540 if test "$ac_init_help" = "recursive"; then
1541 # If there are subdirs, report their specific --help.
1542 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1543 test -d "$ac_dir" ||
1544 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1549 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1551 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1552 # A ".." for each directory in $ac_dir_suffix.
1553 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1554 case $ac_top_builddir_sub in
1555 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1556 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1559 ac_abs_top_builddir
=$ac_pwd
1560 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1561 # for backward compatibility:
1562 ac_top_builddir
=$ac_top_build_prefix
1565 .
) # We are building in place.
1567 ac_top_srcdir
=$ac_top_builddir_sub
1568 ac_abs_top_srcdir
=$ac_pwd ;;
1569 [\\/]* | ?
:[\\/]* ) # Absolute name.
1570 ac_srcdir
=$srcdir$ac_dir_suffix;
1571 ac_top_srcdir
=$srcdir
1572 ac_abs_top_srcdir
=$srcdir ;;
1574 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1575 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1576 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1578 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1580 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1581 # Check for guested configure.
1582 if test -f "$ac_srcdir/configure.gnu"; then
1584 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1585 elif test -f "$ac_srcdir/configure"; then
1587 $SHELL "$ac_srcdir/configure" --help=recursive
1589 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1591 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1595 test -n "$ac_init_help" && exit $ac_status
1596 if $ac_init_version; then
1598 GNU C Library configure
(see version.h
)
1599 generated by GNU Autoconf
2.63
1601 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1602 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1603 This configure
script is free software
; the Free Software Foundation
1604 gives unlimited permission to copy
, distribute and modify it.
1608 cat >config.log
<<_ACEOF
1609 This file contains any messages produced by compilers while
1610 running configure, to aid debugging if configure makes a mistake.
1612 It was created by GNU C Library $as_me (see version.h), which was
1613 generated by GNU Autoconf 2.63. Invocation command line was
1625 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1626 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1627 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1628 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1629 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1631 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1632 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1634 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1635 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1636 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1637 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1638 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1639 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1640 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir
=.
1649 $as_echo "PATH: $as_dir"
1665 # Keep a trace of the command line.
1666 # Strip out --no-create and --no-recursion so they do not pile up.
1667 # Strip out --silent because we don't want to record it for future runs.
1668 # Also quote any args containing shell meta-characters.
1669 # Make two passes to allow for proper duplicate-argument suppression.
1673 ac_must_keep_next
=false
1679 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1680 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1681 |
-silent |
--silent |
--silen |
--sile |
--sil)
1684 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1687 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1689 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1690 if test $ac_must_keep_next = true
; then
1691 ac_must_keep_next
=false
# Got value, back to normal.
1694 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1695 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1696 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1697 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1698 case "$ac_configure_args0 " in
1699 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1702 -* ) ac_must_keep_next
=true
;;
1705 ac_configure_args
="$ac_configure_args '$ac_arg'"
1710 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1711 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1713 # When interrupted or exit'd, cleanup temporary files, and complete
1714 # config.log. We remove comments because anyway the quotes in there
1715 # would cause problems or look ugly.
1716 # WARNING: Use '\'' to represent an apostrophe within the trap.
1717 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1718 trap 'exit_status=$?
1719 # Save into config.log some information that might help in debugging.
1724 ## ---------------- ##
1725 ## Cache variables. ##
1726 ## ---------------- ##
1729 # The following way of writing the cache mishandles newlines in values,
1731 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1732 eval ac_val=\$$ac_var
1736 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1737 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1740 _ | IFS | as_nl) ;; #(
1741 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1742 *) $as_unset $ac_var ;;
1747 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1748 *${as_nl}ac_space=\ *)
1750 "s/'\''/'\''\\\\'\'''\''/g;
1751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1762 ## ----------------- ##
1763 ## Output variables. ##
1764 ## ----------------- ##
1767 for ac_var in $ac_subst_vars
1769 eval ac_val=\$$ac_var
1771 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1773 $as_echo "$ac_var='\''$ac_val'\''"
1777 if test -n "$ac_subst_files"; then
1779 ## ------------------- ##
1780 ## File substitutions. ##
1781 ## ------------------- ##
1784 for ac_var
in $ac_subst_files
1786 eval ac_val
=\$
$ac_var
1788 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1790 $as_echo "$ac_var='\''$ac_val'\''"
1795 if test -s confdefs.h; then
1805 test "$ac_signal" != 0 &&
1806 $as_echo "$as_me: caught signal $ac_signal"
1807 $as_echo "$as_me: exit $exit_status"
1809 rm -f core *.core core.conftest.* &&
1810 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1813 for ac_signal
in 1 2 13 15; do
1814 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1818 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1819 rm -f -r conftest
* confdefs.h
1821 # Predefined preprocessor variables.
1823 cat >>confdefs.h
<<_ACEOF
1824 #define PACKAGE_NAME "$PACKAGE_NAME"
1828 cat >>confdefs.h
<<_ACEOF
1829 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1833 cat >>confdefs.h
<<_ACEOF
1834 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1838 cat >>confdefs.h
<<_ACEOF
1839 #define PACKAGE_STRING "$PACKAGE_STRING"
1843 cat >>confdefs.h
<<_ACEOF
1844 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1848 # Let the site file select an alternate cache file if it wants to.
1849 # Prefer an explicitly selected file to automatically selected ones.
1852 if test -n "$CONFIG_SITE"; then
1853 ac_site_file1
=$CONFIG_SITE
1854 elif test "x$prefix" != xNONE
; then
1855 ac_site_file1
=$prefix/share
/config.site
1856 ac_site_file2
=$prefix/etc
/config.site
1858 ac_site_file1
=$ac_default_prefix/share
/config.site
1859 ac_site_file2
=$ac_default_prefix/etc
/config.site
1861 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1863 test "x$ac_site_file" = xNONE
&& continue
1864 if test -r "$ac_site_file"; then
1865 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1866 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1867 sed 's/^/| /' "$ac_site_file" >&5
1872 if test -r "$cache_file"; then
1873 # Some versions of bash will fail to source /dev/null (special
1874 # files actually), so we avoid doing that.
1875 if test -f "$cache_file"; then
1876 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1877 $as_echo "$as_me: loading cache $cache_file" >&6;}
1879 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1880 *) .
"./$cache_file";;
1884 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1885 $as_echo "$as_me: creating cache $cache_file" >&6;}
1889 # Check that the precious variables saved in the cache have kept the same
1891 ac_cache_corrupted
=false
1892 for ac_var
in $ac_precious_vars; do
1893 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1894 eval ac_new_set
=\
$ac_env_${ac_var}_set
1895 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1896 eval ac_new_val
=\
$ac_env_${ac_var}_value
1897 case $ac_old_set,$ac_new_set in
1899 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1900 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1901 ac_cache_corrupted
=: ;;
1903 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1904 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1905 ac_cache_corrupted
=: ;;
1908 if test "x$ac_old_val" != "x$ac_new_val"; then
1909 # differences in whitespace do not lead to failure.
1910 ac_old_val_w
=`echo x $ac_old_val`
1911 ac_new_val_w
=`echo x $ac_new_val`
1912 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1913 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1914 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1915 ac_cache_corrupted
=:
1917 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1918 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1919 eval $ac_var=\
$ac_old_val
1921 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1922 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1923 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1924 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1927 # Pass precious variables to config.status.
1928 if test "$ac_new_set" = set; then
1930 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1931 *) ac_arg
=$ac_var=$ac_new_val ;;
1933 case " $ac_configure_args " in
1934 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1935 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1939 if $ac_cache_corrupted; then
1940 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1942 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1943 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1944 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1945 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1946 { (exit 1); exit 1; }; }
1974 ac_cpp
='$CPP $CPPFLAGS'
1975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1981 ac_config_headers
="$ac_config_headers config.h"
1984 for ac_dir
in scripts
"$srcdir"/scripts
; do
1985 if test -f "$ac_dir/install-sh"; then
1987 ac_install_sh
="$ac_aux_dir/install-sh -c"
1989 elif test -f "$ac_dir/install.sh"; then
1991 ac_install_sh
="$ac_aux_dir/install.sh -c"
1993 elif test -f "$ac_dir/shtool"; then
1995 ac_install_sh
="$ac_aux_dir/shtool install -c"
1999 if test -z "$ac_aux_dir"; then
2000 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2001 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2002 { (exit 1); exit 1; }; }
2005 # These three variables are undocumented and unsupported,
2006 # and are intended to be withdrawn in a future Autoconf release.
2007 # They can cause serious problems if a builder's source tree is in a directory
2008 # whose full name contains unusual characters.
2009 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2010 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2011 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2015 # Make sure we can run config.sub.
2016 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2017 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2018 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2019 { (exit 1); exit 1; }; }
2021 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2022 $as_echo_n "checking build system type... " >&6; }
2023 if test "${ac_cv_build+set}" = set; then
2024 $as_echo_n "(cached) " >&6
2026 ac_build_alias
=$build_alias
2027 test "x$ac_build_alias" = x
&&
2028 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2029 test "x$ac_build_alias" = x
&&
2030 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2031 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2032 { (exit 1); exit 1; }; }
2033 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2034 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2035 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2036 { (exit 1); exit 1; }; }
2039 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2040 $as_echo "$ac_cv_build" >&6; }
2041 case $ac_cv_build in
2043 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2044 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2045 { (exit 1); exit 1; }; };;
2048 ac_save_IFS
=$IFS; IFS
='-'
2054 # Remember, the first character of IFS is used to create $*,
2055 # except with old shells:
2058 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2061 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2062 $as_echo_n "checking host system type... " >&6; }
2063 if test "${ac_cv_host+set}" = set; then
2064 $as_echo_n "(cached) " >&6
2066 if test "x$host_alias" = x
; then
2067 ac_cv_host
=$ac_cv_build
2069 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2070 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2071 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2072 { (exit 1); exit 1; }; }
2076 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2077 $as_echo "$ac_cv_host" >&6; }
2080 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2081 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2082 { (exit 1); exit 1; }; };;
2085 ac_save_IFS
=$IFS; IFS
='-'
2091 # Remember, the first character of IFS is used to create $*,
2092 # except with old shells:
2095 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2100 ac_cpp
='$CPP $CPPFLAGS'
2101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2104 if test -n "$ac_tool_prefix"; then
2105 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2106 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2107 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 $as_echo_n "checking for $ac_word... " >&6; }
2109 if test "${ac_cv_prog_CC+set}" = set; then
2110 $as_echo_n "(cached) " >&6
2112 if test -n "$CC"; then
2113 ac_cv_prog_CC
="$CC" # Let the user override the test.
2115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir
=.
2120 for ac_exec_ext
in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2123 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 if test -n "$CC"; then
2134 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2135 $as_echo "$CC" >&6; }
2137 { $as_echo "$as_me:$LINENO: result: no" >&5
2138 $as_echo "no" >&6; }
2143 if test -z "$ac_cv_prog_CC"; then
2145 # Extract the first word of "gcc", so it can be a program name with args.
2146 set dummy gcc
; ac_word
=$2
2147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 $as_echo_n "checking for $ac_word... " >&6; }
2149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2150 $as_echo_n "(cached) " >&6
2152 if test -n "$ac_ct_CC"; then
2153 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2159 test -z "$as_dir" && as_dir
=.
2160 for ac_exec_ext
in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2162 ac_cv_prog_ac_ct_CC
="gcc"
2163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2173 if test -n "$ac_ct_CC"; then
2174 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2175 $as_echo "$ac_ct_CC" >&6; }
2177 { $as_echo "$as_me:$LINENO: result: no" >&5
2178 $as_echo "no" >&6; }
2181 if test "x$ac_ct_CC" = x
; then
2184 case $cross_compiling:$ac_tool_warned in
2186 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2188 ac_tool_warned
=yes ;;
2196 if test -z "$CC"; then
2197 if test -n "$ac_tool_prefix"; then
2198 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2199 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2200 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 $as_echo_n "checking for $ac_word... " >&6; }
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 $as_echo_n "(cached) " >&6
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC
="$CC" # Let the user override the test.
2208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir
=.
2213 for ac_exec_ext
in '' $ac_executable_extensions; do
2214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2215 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2216 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CC"; then
2227 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2228 $as_echo "$CC" >&6; }
2230 { $as_echo "$as_me:$LINENO: result: no" >&5
2231 $as_echo "no" >&6; }
2237 if test -z "$CC"; then
2238 # Extract the first word of "cc", so it can be a program name with args.
2239 set dummy cc
; ac_word
=$2
2240 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2241 $as_echo_n "checking for $ac_word... " >&6; }
2242 if test "${ac_cv_prog_CC+set}" = set; then
2243 $as_echo_n "(cached) " >&6
2245 if test -n "$CC"; then
2246 ac_cv_prog_CC
="$CC" # Let the user override the test.
2249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2253 test -z "$as_dir" && as_dir
=.
2254 for ac_exec_ext
in '' $ac_executable_extensions; do
2255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2256 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2257 ac_prog_rejected
=yes
2261 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 if test $ac_prog_rejected = yes; then
2269 # We found a bogon in the path, so make sure we never use it.
2270 set dummy
$ac_cv_prog_CC
2272 if test $# != 0; then
2273 # We chose a different compiler from the bogus one.
2274 # However, it has the same basename, so the bogon will be chosen
2275 # first if we set CC to just the basename; use the full file name.
2277 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2283 if test -n "$CC"; then
2284 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2285 $as_echo "$CC" >&6; }
2287 { $as_echo "$as_me:$LINENO: result: no" >&5
2288 $as_echo "no" >&6; }
2293 if test -z "$CC"; then
2294 if test -n "$ac_tool_prefix"; then
2295 for ac_prog
in cl.exe
2297 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2298 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2299 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if test "${ac_cv_prog_CC+set}" = set; then
2302 $as_echo_n "(cached) " >&6
2304 if test -n "$CC"; then
2305 ac_cv_prog_CC
="$CC" # Let the user override the test.
2307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir
=.
2312 for ac_exec_ext
in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2315 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 if test -n "$CC"; then
2326 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2327 $as_echo "$CC" >&6; }
2329 { $as_echo "$as_me:$LINENO: result: no" >&5
2330 $as_echo "no" >&6; }
2334 test -n "$CC" && break
2337 if test -z "$CC"; then
2339 for ac_prog
in cl.exe
2341 # Extract the first word of "$ac_prog", so it can be a program name with args.
2342 set dummy
$ac_prog; ac_word
=$2
2343 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2346 $as_echo_n "(cached) " >&6
2348 if test -n "$ac_ct_CC"; then
2349 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir
=.
2356 for ac_exec_ext
in '' $ac_executable_extensions; do
2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2358 ac_cv_prog_ac_ct_CC
="$ac_prog"
2359 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2369 if test -n "$ac_ct_CC"; then
2370 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2371 $as_echo "$ac_ct_CC" >&6; }
2373 { $as_echo "$as_me:$LINENO: result: no" >&5
2374 $as_echo "no" >&6; }
2378 test -n "$ac_ct_CC" && break
2381 if test "x$ac_ct_CC" = x
; then
2384 case $cross_compiling:$ac_tool_warned in
2386 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2388 ac_tool_warned
=yes ;;
2397 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2399 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2400 See \`config.log' for more details." >&5
2401 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2402 See \`config.log' for more details." >&2;}
2403 { (exit 1); exit 1; }; }; }
2405 # Provide some information about the compiler.
2406 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2409 { (ac_try
="$ac_compiler --version >&5"
2411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2412 *) ac_try_echo=$ac_try;;
2414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2415 $as_echo "$ac_try_echo") >&5
2416 (eval "$ac_compiler --version >&5") 2>&5
2418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }
2420 { (ac_try="$ac_compiler -v >&5"
2422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2423 *) ac_try_echo
=$ac_try;;
2425 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2426 $as_echo "$ac_try_echo") >&5
2427 (eval "$ac_compiler -v >&5") 2>&5
2429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }
2431 { (ac_try
="$ac_compiler -V >&5"
2433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2434 *) ac_try_echo=$ac_try;;
2436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2437 $as_echo "$ac_try_echo") >&5
2438 (eval "$ac_compiler -V >&5") 2>&5
2440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }
2444 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2445 $as_echo_n "checking for suffix of object files... " >&6; }
2446 if test "${ac_cv_objext+set}" = set; then
2447 $as_echo_n "(cached) " >&6
2449 cat >conftest.$ac_ext <<_ACEOF
2452 cat confdefs.h >>conftest.$ac_ext
2453 cat >>conftest.$ac_ext <<_ACEOF
2454 /* end confdefs.h. */
2464 rm -f conftest.o conftest.obj
2465 if { (ac_try="$ac_compile"
2467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2468 *) ac_try_echo
=$ac_try;;
2470 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2471 $as_echo "$ac_try_echo") >&5
2472 (eval "$ac_compile") 2>&5
2474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; then
2476 for ac_file
in conftest.o conftest.obj conftest.
*; do
2477 test -f "$ac_file" ||
continue;
2479 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2480 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2485 $as_echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.
$ac_ext >&5
2488 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2491 See \`config.log' for more details." >&5
2492 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2493 See \`config.log' for more details." >&2;}
2494 { (exit 1); exit 1; }; }; }
2497 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2499 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2500 $as_echo "$ac_cv_objext" >&6; }
2501 OBJEXT
=$ac_cv_objext
2503 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2504 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2505 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2506 $as_echo_n "(cached) " >&6
2508 cat >conftest.
$ac_ext <<_ACEOF
2511 cat confdefs.h
>>conftest.
$ac_ext
2512 cat >>conftest.
$ac_ext <<_ACEOF
2513 /* end confdefs.h. */
2526 rm -f conftest.
$ac_objext
2527 if { (ac_try
="$ac_compile"
2529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2533 $as_echo "$ac_try_echo") >&5
2534 (eval "$ac_compile") 2>conftest.er1
2536 grep -v '^ *+' conftest.er1 >conftest.err
2538 cat conftest.err >&5
2539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } && {
2541 test -z "$ac_c_werror_flag" ||
2542 test ! -s conftest.err
2543 } && test -s conftest.$ac_objext; then
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2556 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2557 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2558 if test $ac_compiler_gnu = yes; then
2563 ac_test_CFLAGS=${CFLAGS+set}
2564 ac_save_CFLAGS=$CFLAGS
2565 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2566 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2567 if test "${ac_cv_prog_cc_g+set}" = set; then
2568 $as_echo_n "(cached) " >&6
2570 ac_save_c_werror_flag=$ac_c_werror_flag
2571 ac_c_werror_flag=yes
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 rm -f conftest.$ac_objext
2590 if { (ac_try="$ac_compile"
2592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2593 *) ac_try_echo
=$ac_try;;
2595 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2596 $as_echo "$ac_try_echo") >&5
2597 (eval "$ac_compile") 2>conftest.er1
2599 grep -v '^ *+' conftest.er1
>conftest.err
2601 cat conftest.err
>&5
2602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } && {
2604 test -z "$ac_c_werror_flag" ||
2605 test ! -s conftest.err
2606 } && test -s conftest.
$ac_objext; then
2609 $as_echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.
$ac_ext >&5
2613 cat >conftest.
$ac_ext <<_ACEOF
2616 cat confdefs.h
>>conftest.
$ac_ext
2617 cat >>conftest.
$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2628 rm -f conftest.
$ac_objext
2629 if { (ac_try
="$ac_compile"
2631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2635 $as_echo "$ac_try_echo") >&5
2636 (eval "$ac_compile") 2>conftest.er1
2638 grep -v '^ *+' conftest.er1 >conftest.err
2640 cat conftest.err >&5
2641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } && {
2643 test -z "$ac_c_werror_flag" ||
2644 test ! -s conftest.err
2645 } && test -s conftest.$ac_objext; then
2648 $as_echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.$ac_ext >&5
2651 ac_c_werror_flag=$ac_save_c_werror_flag
2653 cat >conftest.$ac_ext <<_ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2668 rm -f conftest.$ac_objext
2669 if { (ac_try="$ac_compile"
2671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2672 *) ac_try_echo
=$ac_try;;
2674 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2675 $as_echo "$ac_try_echo") >&5
2676 (eval "$ac_compile") 2>conftest.er1
2678 grep -v '^ *+' conftest.er1
>conftest.err
2680 cat conftest.err
>&5
2681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); } && {
2683 test -z "$ac_c_werror_flag" ||
2684 test ! -s conftest.err
2685 } && test -s conftest.
$ac_objext; then
2688 $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.
$ac_ext >&5
2694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2701 ac_c_werror_flag
=$ac_save_c_werror_flag
2703 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2704 $as_echo "$ac_cv_prog_cc_g" >&6; }
2705 if test "$ac_test_CFLAGS" = set; then
2706 CFLAGS
=$ac_save_CFLAGS
2707 elif test $ac_cv_prog_cc_g = yes; then
2708 if test "$GCC" = yes; then
2714 if test "$GCC" = yes; then
2720 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2721 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2722 if test "${ac_cv_prog_cc_c89+set}" = set; then
2723 $as_echo_n "(cached) " >&6
2725 ac_cv_prog_cc_c89
=no
2727 cat >conftest.
$ac_ext <<_ACEOF
2730 cat confdefs.h
>>conftest.
$ac_ext
2731 cat >>conftest.
$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2735 #include <sys/types.h>
2736 #include <sys/stat.h>
2737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2738 struct buf { int x; };
2739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2740 static char *e (p, i)
2746 static char *f (char * (*g) (char **, int), char **p, ...)
2751 s = g (p, va_arg (v,int));
2756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2757 function prototypes and stuff, but not '\xHH' hex character constants.
2758 These don't provoke an error unfortunately, instead are silently treated
2759 as 'x'. The following induces an error, until -std is added to get
2760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2761 array size at least. It's necessary to write '\x00'==0 to get something
2762 that's true only with -std. */
2763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2765 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2766 inside strings and character constants. */
2768 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2770 int test (int i, double x);
2771 struct s1 {int (*f) (int a);};
2772 struct s2 {int (*f) (double a);};
2773 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2779 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2784 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2785 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2787 CC
="$ac_save_CC $ac_arg"
2788 rm -f conftest.
$ac_objext
2789 if { (ac_try
="$ac_compile"
2791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2795 $as_echo "$ac_try_echo") >&5
2796 (eval "$ac_compile") 2>conftest.er1
2798 grep -v '^ *+' conftest.er1 >conftest.err
2800 cat conftest.err >&5
2801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); } && {
2803 test -z "$ac_c_werror_flag" ||
2804 test ! -s conftest.err
2805 } && test -s conftest.$ac_objext; then
2806 ac_cv_prog_cc_c89=$ac_arg
2808 $as_echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2814 rm -f core conftest.err conftest.$ac_objext
2815 test "x$ac_cv_prog_cc_c89" != "xno" && break
2817 rm -f conftest.$ac_ext
2822 case "x$ac_cv_prog_cc_c89" in
2824 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2825 $as_echo "none needed" >&6; } ;;
2827 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2828 $as_echo "unsupported" >&6; } ;;
2830 CC="$CC $ac_cv_prog_cc_c89"
2831 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2832 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2837 ac_cpp='$CPP $CPPFLAGS'
2838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842 if test $host != $build; then
2843 for ac_prog in gcc cc
2845 # Extract the first word of "$ac_prog", so it can be a program name with args.
2846 set dummy $ac_prog; ac_word=$2
2847 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2848 $as_echo_n "checking for $ac_word... " >&6; }
2849 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2850 $as_echo_n "(cached) " >&6
2852 if test -n "$BUILD_CC"; then
2853 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir=.
2860 for ac_exec_ext in '' $ac_executable_extensions; do
2861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2862 ac_cv_prog_BUILD_CC="$ac_prog"
2863 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 BUILD_CC=$ac_cv_prog_BUILD_CC
2873 if test -n "$BUILD_CC"; then
2874 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2875 $as_echo "$BUILD_CC" >&6; }
2877 { $as_echo "$as_me:$LINENO: result: no" >&5
2878 $as_echo "no" >&6; }
2882 test -n "$BUILD_CC" && break
2888 ac_cpp='$CPP $CPPFLAGS'
2889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2893 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2894 # On Suns, sometimes $CPP names a directory.
2895 if test -n "$CPP" && test -d "$CPP"; then
2898 if test -z "$CPP"; then
2899 if test "${ac_cv_prog_CPP+set}" = set; then
2900 $as_echo_n "(cached) " >&6
2902 # Double quotes because CPP needs to be expanded
2903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2906 for ac_c_preproc_warn_flag in '' yes
2908 # Use a header file that comes with gcc, so configuring glibc
2909 # with a fresh cross-compiler works.
2910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2911 # <limits.h> exists even on freestanding compilers.
2912 # On the NeXT, cc -E runs the code through the compiler's parser,
2913 # not just through cpp. "Syntax error" is here to catch this case.
2914 cat >conftest.$ac_ext <<_ACEOF
2917 cat confdefs.h >>conftest.$ac_ext
2918 cat >>conftest.$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2921 # include <limits.h>
2923 # include <assert.h>
2927 if { (ac_try="$ac_cpp conftest.$ac_ext"
2929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2930 *) ac_try_echo
=$ac_try;;
2932 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2933 $as_echo "$ac_try_echo") >&5
2934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2936 grep -v '^ *+' conftest.er1
>conftest.err
2938 cat conftest.err
>&5
2939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } >/dev
/null
&& {
2941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2946 $as_echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.
$ac_ext >&5
2949 # Broken: fails on valid input.
2953 rm -f conftest.err conftest.
$ac_ext
2955 # OK, works on sane cases. Now check whether nonexistent headers
2956 # can be detected and how.
2957 cat >conftest.
$ac_ext <<_ACEOF
2960 cat confdefs.h
>>conftest.
$ac_ext
2961 cat >>conftest.
$ac_ext <<_ACEOF
2962 /* end confdefs.h. */
2963 #include <ac_nonexistent.h>
2965 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2971 $as_echo "$ac_try_echo") >&5
2972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2974 grep -v '^ *+' conftest.er1 >conftest.err
2976 cat conftest.err >&5
2977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } >/dev/null && {
2979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2980 test ! -s conftest.err
2982 # Broken: success on invalid input.
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2988 # Passes both tests.
2993 rm -f conftest.err conftest.$ac_ext
2996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2997 rm -f conftest.err conftest.
$ac_ext
2998 if $ac_preproc_ok; then
3010 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3011 $as_echo "$CPP" >&6; }
3013 for ac_c_preproc_warn_flag
in '' yes
3015 # Use a header file that comes with gcc, so configuring glibc
3016 # with a fresh cross-compiler works.
3017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3018 # <limits.h> exists even on freestanding compilers.
3019 # On the NeXT, cc -E runs the code through the compiler's parser,
3020 # not just through cpp. "Syntax error" is here to catch this case.
3021 cat >conftest.
$ac_ext <<_ACEOF
3024 cat confdefs.h
>>conftest.
$ac_ext
3025 cat >>conftest.
$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3028 # include <limits.h>
3030 # include <assert.h>
3034 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3040 $as_echo "$ac_try_echo") >&5
3041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3043 grep -v '^ *+' conftest.er1 >conftest.err
3045 cat conftest.err >&5
3046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); } >/dev/null && {
3048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3049 test ! -s conftest.err
3053 $as_echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.$ac_ext >&5
3056 # Broken: fails on valid input.
3060 rm -f conftest.err conftest.$ac_ext
3062 # OK, works on sane cases. Now check whether nonexistent headers
3063 # can be detected and how.
3064 cat >conftest.$ac_ext <<_ACEOF
3067 cat confdefs.h >>conftest.$ac_ext
3068 cat >>conftest.$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3070 #include <ac_nonexistent.h>
3072 if { (ac_try="$ac_cpp conftest.$ac_ext"
3074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3075 *) ac_try_echo
=$ac_try;;
3077 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3078 $as_echo "$ac_try_echo") >&5
3079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3081 grep -v '^ *+' conftest.er1
>conftest.err
3083 cat conftest.err
>&5
3084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } >/dev
/null
&& {
3086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3087 test ! -s conftest.err
3089 # Broken: success on invalid input.
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.
$ac_ext >&5
3095 # Passes both tests.
3100 rm -f conftest.err conftest.
$ac_ext
3103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3104 rm -f conftest.err conftest.
$ac_ext
3105 if $ac_preproc_ok; then
3108 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3110 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3111 See \`config.log' for more details." >&5
3112 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3113 See \`config.log' for more details." >&2;}
3114 { (exit 1); exit 1; }; }; }
3118 ac_cpp
='$CPP $CPPFLAGS'
3119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3123 # We need the C++ compiler only for testing.
3125 ac_cpp
='$CXXCPP $CPPFLAGS'
3126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3129 if test -z "$CXX"; then
3130 if test -n "$CCC"; then
3133 if test -n "$ac_tool_prefix"; then
3134 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3136 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3137 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3138 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3139 $as_echo_n "checking for $ac_word... " >&6; }
3140 if test "${ac_cv_prog_CXX+set}" = set; then
3141 $as_echo_n "(cached) " >&6
3143 if test -n "$CXX"; then
3144 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir
=.
3151 for ac_exec_ext
in '' $ac_executable_extensions; do
3152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3153 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3154 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 if test -n "$CXX"; then
3165 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3166 $as_echo "$CXX" >&6; }
3168 { $as_echo "$as_me:$LINENO: result: no" >&5
3169 $as_echo "no" >&6; }
3173 test -n "$CXX" && break
3176 if test -z "$CXX"; then
3178 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3180 # Extract the first word of "$ac_prog", so it can be a program name with args.
3181 set dummy
$ac_prog; ac_word
=$2
3182 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$ac_ct_CXX"; then
3188 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3198 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3208 if test -n "$ac_ct_CXX"; then
3209 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3210 $as_echo "$ac_ct_CXX" >&6; }
3212 { $as_echo "$as_me:$LINENO: result: no" >&5
3213 $as_echo "no" >&6; }
3217 test -n "$ac_ct_CXX" && break
3220 if test "x$ac_ct_CXX" = x
; then
3223 case $cross_compiling:$ac_tool_warned in
3225 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3227 ac_tool_warned
=yes ;;
3235 # Provide some information about the compiler.
3236 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3239 { (ac_try
="$ac_compiler --version >&5"
3241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3245 $as_echo "$ac_try_echo") >&5
3246 (eval "$ac_compiler --version >&5") 2>&5
3248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }
3250 { (ac_try="$ac_compiler -v >&5"
3252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3253 *) ac_try_echo
=$ac_try;;
3255 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3256 $as_echo "$ac_try_echo") >&5
3257 (eval "$ac_compiler -v >&5") 2>&5
3259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); }
3261 { (ac_try
="$ac_compiler -V >&5"
3263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3267 $as_echo "$ac_try_echo") >&5
3268 (eval "$ac_compiler -V >&5") 2>&5
3270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); }
3273 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3274 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3275 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3276 $as_echo_n "(cached) " >&6
3278 cat >conftest.$ac_ext <<_ACEOF
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3296 rm -f conftest.$ac_objext
3297 if { (ac_try="$ac_compile"
3299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3300 *) ac_try_echo
=$ac_try;;
3302 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3303 $as_echo "$ac_try_echo") >&5
3304 (eval "$ac_compile") 2>conftest.er1
3306 grep -v '^ *+' conftest.er1
>conftest.err
3308 cat conftest.err
>&5
3309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); } && {
3311 test -z "$ac_cxx_werror_flag" ||
3312 test ! -s conftest.err
3313 } && test -s conftest.
$ac_objext; then
3316 $as_echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.
$ac_ext >&5
3322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3323 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3326 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3327 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3328 if test $ac_compiler_gnu = yes; then
3333 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3334 ac_save_CXXFLAGS
=$CXXFLAGS
3335 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3336 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3337 if test "${ac_cv_prog_cxx_g+set}" = set; then
3338 $as_echo_n "(cached) " >&6
3340 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3341 ac_cxx_werror_flag
=yes
3344 cat >conftest.
$ac_ext <<_ACEOF
3347 cat confdefs.h
>>conftest.
$ac_ext
3348 cat >>conftest.
$ac_ext <<_ACEOF
3349 /* end confdefs.h. */
3359 rm -f conftest.
$ac_objext
3360 if { (ac_try
="$ac_compile"
3362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3366 $as_echo "$ac_try_echo") >&5
3367 (eval "$ac_compile") 2>conftest.er1
3369 grep -v '^ *+' conftest.er1 >conftest.err
3371 cat conftest.err >&5
3372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } && {
3374 test -z "$ac_cxx_werror_flag" ||
3375 test ! -s conftest.err
3376 } && test -s conftest.$ac_objext; then
3377 ac_cv_prog_cxx_g=yes
3379 $as_echo "$as_me: failed program was:" >&5
3380 sed 's/^/| /' conftest.$ac_ext >&5
3383 cat >conftest.$ac_ext <<_ACEOF
3386 cat confdefs.h >>conftest.$ac_ext
3387 cat >>conftest.$ac_ext <<_ACEOF
3388 /* end confdefs.h. */
3398 rm -f conftest.$ac_objext
3399 if { (ac_try="$ac_compile"
3401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3402 *) ac_try_echo
=$ac_try;;
3404 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3405 $as_echo "$ac_try_echo") >&5
3406 (eval "$ac_compile") 2>conftest.er1
3408 grep -v '^ *+' conftest.er1
>conftest.err
3410 cat conftest.err
>&5
3411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } && {
3413 test -z "$ac_cxx_werror_flag" ||
3414 test ! -s conftest.err
3415 } && test -s conftest.
$ac_objext; then
3418 $as_echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.
$ac_ext >&5
3421 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3423 cat >conftest.
$ac_ext <<_ACEOF
3426 cat confdefs.h
>>conftest.
$ac_ext
3427 cat >>conftest.
$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3438 rm -f conftest.
$ac_objext
3439 if { (ac_try
="$ac_compile"
3441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445 $as_echo "$ac_try_echo") >&5
3446 (eval "$ac_compile") 2>conftest.er1
3448 grep -v '^ *+' conftest.er1 >conftest.err
3450 cat conftest.err >&5
3451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } && {
3453 test -z "$ac_cxx_werror_flag" ||
3454 test ! -s conftest.err
3455 } && test -s conftest.$ac_objext; then
3456 ac_cv_prog_cxx_g=yes
3458 $as_echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3473 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3474 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3475 if test "$ac_test_CXXFLAGS" = set; then
3476 CXXFLAGS=$ac_save_CXXFLAGS
3477 elif test $ac_cv_prog_cxx_g = yes; then
3478 if test "$GXX" = yes; then
3484 if test "$GXX" = yes; then
3491 ac_cpp='$CPP $CPPFLAGS'
3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3497 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3498 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3499 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
3500 { (exit 1); exit 1; }; }
3503 # This will get text that should go into config.make.
3506 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3508 # Check whether --with-gd was given.
3509 if test "${with_gd+set}" = set; then
3510 withval=$with_gd; case "$with_gd" in
3512 *) libgd_include="-I$withval/include"
3513 libgd_ldflags="-L$withval/lib" ;;
3519 # Check whether --with-gd-include was given.
3520 if test "${with_gd_include+set}" = set; then
3521 withval=$with_gd_include; case "$with_gd_include" in
3523 *) libgd_include="-I$withval" ;;
3529 # Check whether --with-gd-lib was given.
3530 if test "${with_gd_lib+set}" = set; then
3531 withval=$with_gd_lib; case "$with_gd_lib" in
3533 *) libgd_ldflags="-L$withval" ;;
3539 if test -n "$libgd_include"; then
3540 config_vars="$config_vars
3541 CFLAGS-memusagestat.c = $libgd_include"
3543 if test -n "$libgd_ldflags"; then
3544 config_vars="$config_vars
3545 libgd-LDFLAGS = $libgd_ldflags"
3549 # Check whether --with-fp was given.
3550 if test "${with_fp+set}" = set; then
3551 withval=$with_fp; with_fp=$withval
3558 # Check whether --with-binutils was given.
3559 if test "${with_binutils+set}" = set; then
3560 withval=$with_binutils; path_binutils=$withval
3566 # Check whether --with-elf was given.
3567 if test "${with_elf+set}" = set; then
3568 withval=$with_elf; elf=$withval
3574 # Check whether --with-selinux was given.
3575 if test "${with_selinux+set}" = set; then
3576 withval=$with_selinux; with_selinux=$withval
3582 # Check whether --with-xcoff was given.
3583 if test "${with_xcoff+set}" = set; then
3584 withval=$with_xcoff; xcoff=$withval
3590 # Check whether --with-cvs was given.
3591 if test "${with_cvs+set}" = set; then
3592 withval=$with_cvs; with_cvs=$withval
3597 if test "$with_cvs" = yes; then
3598 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3606 # Check whether --with-headers was given.
3607 if test "${with_headers+set}" = set; then
3608 withval=$with_headers; sysheaders=$withval
3614 # Check whether --enable-sanity-checks was given.
3615 if test "${enable_sanity_checks+set}" = set; then
3616 enableval=$enable_sanity_checks; enable_sanity=$enableval
3623 # Check whether --enable-check-abi was given.
3624 if test "${enable_check_abi+set}" = set; then
3625 enableval=$enable_check_abi; enable_check_abi=$enableval
3632 # Check whether --enable-shared was given.
3633 if test "${enable_shared+set}" = set; then
3634 enableval=$enable_shared; shared=$enableval
3639 # Check whether --enable-profile was given.
3640 if test "${enable_profile+set}" = set; then
3641 enableval=$enable_profile; profile=$enableval
3646 # Check whether --enable-omitfp was given.
3647 if test "${enable_omitfp+set}" = set; then
3648 enableval=$enable_omitfp; omitfp=$enableval
3653 # Check whether --enable-bounded was given.
3654 if test "${enable_bounded+set}" = set; then
3655 enableval=$enable_bounded; bounded=$enableval
3660 # Check whether --enable-versioning was given.
3661 if test "${enable_versioning+set}" = set; then
3662 enableval=$enable_versioning; enable_versioning=$enableval
3664 enable_versioning=yes
3668 # Check whether --enable-oldest-abi was given.
3669 if test "${enable_oldest_abi+set}" = set; then
3670 enableval=$enable_oldest_abi; oldest_abi=$enableval
3675 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3678 cat >>confdefs.h <<_ACEOF
3679 #define GLIBC_OLDEST_ABI "$oldest_abi"
3685 # Check whether --enable-stackguard-randomization was given.
3686 if test "${enable_stackguard_randomization+set}" = set; then
3687 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3689 enable_stackguard_randomize=no
3692 if test "$enable_stackguard_randomize" = yes; then
3693 cat >>confdefs.h <<\_ACEOF
3694 #define ENABLE_STACKGUARD_RANDOMIZE 1
3699 # Check whether --enable-add-ons was given.
3700 if test "${enable_add_ons+set}" = set; then
3701 enableval=$enable_add_ons;
3708 # Check whether --with-tls was given.
3709 if test "${with_tls+set}" = set; then
3710 withval=$with_tls; usetls=$withval
3717 # Check whether --with-__thread was given.
3718 if test "${with___thread+set}" = set; then
3719 withval=$with___thread; use__thread=$withval
3725 # Check whether --enable-hidden-plt was given.
3726 if test "${enable_hidden_plt+set}" = set; then
3727 enableval=$enable_hidden_plt; hidden=$enableval
3732 if test "x$hidden" = xno; then
3733 cat >>confdefs.h <<\_ACEOF
3739 # Check whether --enable-bind-now was given.
3740 if test "${enable_bind_now+set}" = set; then
3741 enableval=$enable_bind_now; bindnow=$enableval
3748 # Check whether --enable-static-nss was given.
3749 if test "${enable_static_nss+set}" = set; then
3750 enableval=$enable_static_nss; static_nss=$enableval
3755 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3757 cat >>confdefs.h <<\_ACEOF
3758 #define DO_STATIC_NSS 1
3763 # Check whether --enable-force-install was given.
3764 if test "${enable_force_install+set}" = set; then
3765 enableval=$enable_force_install; force_install=$enableval
3772 # Check whether --enable-kernel was given.
3773 if test "${enable_kernel+set}" = set; then
3774 enableval=$enable_kernel; minimum_kernel=$enableval
3777 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3778 # Better nothing than this.
3781 if test "$minimum_kernel" = current; then
3782 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3786 # Check whether --enable-all-warnings was given.
3787 if test "${enable_all_warnings+set}" = set; then
3788 enableval=$enable_all_warnings; all_warnings=$enableval
3793 # Check whether --enable-multi-arch was given.
3794 if test "${enable_multi_arch+set}" = set; then
3795 enableval=$enable_multi_arch; multi_arch=$enableval
3800 if test x"$multi_arch" = xyes; then
3801 cat >>confdefs.h <<\_ACEOF
3802 #define USE_MULTIARCH 1
3805 multi_arch_d=/multiarch
3809 # Check whether --enable-experimental-malloc was given.
3810 if test "${enable_experimental_malloc+set}" = set; then
3811 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3816 # Check whether --enable-nss-crypt was given.
3817 if test "${enable_nss_crypt+set}" = set; then
3818 enableval=$enable_nss_crypt; nss_crypt=$enableval
3823 if test x$nss_crypt = xyes; then
3824 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3825 if test $? -ne 0; then
3826 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3827 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3828 { (exit 1); exit 1; }; }
3830 old_CFLAGS="$CFLAGS"
3831 CFLAGS="$CFLAGS $nss_includes"
3833 cat >conftest.$ac_ext <<_ACEOF
3836 #include <nsslowhash.h>
3837 void f (void) { NSSLOW_Init (); }
3839 rm -f conftest.$ac_objext
3840 if { (ac_try="$ac_compile"
3842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3843 *) ac_try_echo
=$ac_try;;
3845 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3846 $as_echo "$ac_try_echo") >&5
3847 (eval "$ac_compile") 2>conftest.er1
3849 grep -v '^ *+' conftest.er1
>conftest.err
3851 cat conftest.err
>&5
3852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } && {
3854 test -z "$ac_c_werror_flag" ||
3855 test ! -s conftest.err
3856 } && test -s conftest.
$ac_objext; then
3857 libc_cv_nss_crypt
=yes
3859 $as_echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.
$ac_ext >&5
3862 { { $as_echo "$as_me:$LINENO: error:
3863 cannot find NSS headers with lowlevel hash function interfaces" >&5
3864 $as_echo "$as_me: error:
3865 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3866 { (exit 1); exit 1; }; }
3869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3871 LIBS
="$LIBS -lfreebl3"
3872 cat >conftest.
$ac_ext <<_ACEOF
3875 cat confdefs.h
>>conftest.
$ac_ext
3876 cat >>conftest.
$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3880 #include <nsslowhash.h>
3889 rm -f conftest.
$ac_objext conftest
$ac_exeext
3890 if { (ac_try
="$ac_link"
3892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3896 $as_echo "$ac_try_echo") >&5
3897 (eval "$ac_link") 2>conftest.er1
3899 grep -v '^ *+' conftest.er1 >conftest.err
3901 cat conftest.err >&5
3902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); } && {
3904 test -z "$ac_c_werror_flag" ||
3905 test ! -s conftest.err
3906 } && test -s conftest$ac_exeext && {
3907 test "$cross_compiling" = yes ||
3908 $as_test_x conftest$ac_exeext
3910 libc_cv_nss_crypt=yes
3912 $as_echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 { { $as_echo "$as_me:$LINENO: error:
3916 cannot link program using lowlevel NSS hash functions" >&5
3917 $as_echo "$as_me: error:
3918 cannot link program using lowlevel NSS hash functions" >&2;}
3919 { (exit 1); exit 1; }; }
3922 rm -rf conftest.dSYM
3923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3924 conftest$ac_exeext conftest.$ac_ext
3925 CFLAGS="$old_CFLAGS"
3928 libc_cv_nss_crypt=no
3932 # The way shlib-versions is used to generate soversions.mk uses a
3933 # fairly simplistic model for name recognition that can't distinguish
3934 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3935 # of `gnu
*' here to be `gnu-gnu*' just so that shlib-versions can
3936 # tell. This doesn't get used much beyond that, so it's fairly safe.
3941 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3945 # We keep the original values in `$config_*' and never modify them, so we
3946 # can write them unchanged into config.make. Everything else uses
3947 # $machine, $vendor, and $os, and changes them whenever convenient.
3948 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3950 # Don't allow vendor == "unknown"
3951 test "$config_vendor" = unknown
&& config_vendor
=
3952 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3954 # Some configurations imply other options.
3956 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3957 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
3959 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
3960 # These systems (almost) always use the ELF format.
3964 # These systems are always xcoff
3970 # The configure fragment of an add-on port can modify these to supplement
3971 # or override the table in the case statement below. No fragment should
3972 # ever change the config_* variables, however.
3973 machine
=$config_machine
3974 vendor
=$config_vendor
3978 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3980 if test "$machine" = rs6000
; then
3984 # Braindead PowerPC box with absolutely no FPU.
3985 case "$machine-$host_os" in
3993 # Check whether --with-cpu was given.
3994 if test "${with_cpu+set}" = set; then
3995 withval
=$with_cpu; case "$withval" in
3996 yes|
'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
3997 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
3998 { (exit 1); exit 1; }; } ;;
4000 *) submachine
="$withval" ;;
4006 # 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 if test -r "$libc_add_on_frag"; then
4091 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
4092 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
4093 libc_add_on_canonical
=unknown
4094 libc_add_on_subdirs
=
4095 .
"$libc_add_on_frag"
4096 test -z "$libc_add_on" ||
{
4097 configured_add_ons
="$configured_add_ons $libc_add_on"
4098 if test "x$libc_add_on_canonical" = xunknown
; then
4099 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
4100 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
4101 { (exit 1); exit 1; }; }
4103 for d
in $libc_add_on_subdirs; do
4104 case "$libc_add_on" in
4105 /*) subdir_srcdir
="$libc_add_on" ;;
4106 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
4110 d
="${libc_add_on_canonical:-$libc_add_on}"
4116 subdir_srcdir
="$subdir_srcdir/$d"
4119 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4120 add_on_subdirs
="$add_on_subdirs $d"
4121 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
4122 $d-srcdir = $subdir_srcdir"
4126 if test -n "$libc_add_on"; then
4127 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4129 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
4130 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4131 for frag
in $frags; do
4132 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4133 echo $ECHO_N "$name $ECHO_C" >&6
4136 { $as_echo "$as_me:$LINENO: result: " >&5
4139 use_add_ons
="$use_add_ons $libc_add_on"
4140 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
4141 test -z "$libc_add_on_canonical" ||
4142 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
4145 # Use echo to strip excess whitespace.
4146 add_ons
="`echo $use_add_ons`"
4153 ### I put this here to prevent those annoying emails from people who cannot
4154 ### read and try to compile glibc on unsupported platforms. --drepper
4156 ### By using the undocumented --enable-hacker-mode option for configure
4157 ### one can skip this test to make the configuration not fail for unsupported
4160 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4161 case "$machine-$host_os" in
4162 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
4165 echo "*** The GNU C library is currently not available for this platform."
4166 echo "*** So far nobody cared to port it and if there is no volunteer it"
4167 echo "*** might never happen. So, if you have interest to see glibc on"
4168 echo "*** this platform visit"
4169 echo "*** http://www.gnu.org/software/libc/porting.html"
4170 echo "*** and join the group of porters"
4176 # Expand the configuration machine name into a subdirectory by architecture
4177 # type and particular chip. If an add-on configure fragment already set
4178 # base_machine, we don't change it.
4179 test -n "$base_machine" ||
case "$machine" in
4180 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
4181 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
4182 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
4183 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
4184 ia64
) base_machine
=ia64 machine
=ia64
;;
4185 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
4186 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
4187 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
4188 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
4189 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
4190 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
4191 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
4192 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
4194 base_machine
=sparc machine
=sparc
/sparc32
;;
4195 sparcv8 | supersparc | hypersparc
)
4196 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
4197 sparcv8plus | sparcv8plusa | sparcv9
)
4198 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
4199 sparcv8plusb | sparcv9b
)
4200 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
4202 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
4204 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
4206 base_machine
=sparc machine
=sparc
/sparc64
;;
4208 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
4210 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
4212 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
4213 *) base_machine
=$machine ;;
4217 if test "$base_machine" = "i386"; then
4218 cat >>confdefs.h
<<\_ACEOF
4219 #define USE_REGPARMS 1
4224 # Compute the list of sysdep directories for this configuration.
4225 # This can take a while to compute.
4226 sysdep_dir
=$srcdir/sysdeps
4227 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
4228 $as_echo_n "checking sysdep dirs... " >&6; }
4229 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4230 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4232 test "x$base_os" != x ||
case "$os" in
4234 base_os
=mach
/hurd
;;
4235 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
4236 base_os
=unix
/bsd
/bsd4.4
;;
4237 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
4239 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
4240 base_os
=unix
/sysv
;;
4242 base_os
=unix
/sysv
/irix
6/$os ;;
4244 base_os
=unix
/sysv
/sysv4
;;
4246 base_os
=unix
/sysv
/hpux
/$os ;;
4248 base_os
=unix
/sysv
/aix
/aix4.3
;;
4250 base_os
=standalone
;;
4253 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4256 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4260 o
=`echo $tail | sed 's/[0-9]*$//'`
4261 if test $o != $tail; then
4264 # For linux-gnu, try linux-gnu, then linux.
4265 o
=`echo $tail | sed 's/-.*$//'`
4266 if test $o != $tail; then
4270 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4273 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4279 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4281 tail=$machine${submachine:+/$submachine}
4282 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4284 # Prepend the machine's FPU directory unless --without-fp.
4285 if test "$with_fp" = yes; then
4286 mach
="$mach /$1/fpu"
4288 mach
="$mach /$1/nofpu"
4295 # Find what sysdep directories exist.
4298 for b
in $base ''; do
4299 for m0
in $mach ''; do
4300 for v
in /$vendor ''; do
4301 test "$v" = / && continue
4302 for o
in /$ostry ''; do
4303 test "$o" = / && continue
4304 for m
in $multi_arch_d $mach ''; do
4305 for d
in $add_ons_pfx ''; do
4306 for a
in $add_ons_sfx ''; do
4307 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4308 try_srcdir
="${srcdir}/"
4312 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4313 test -n "$enable_debug_configure" &&
4314 echo "$0 DEBUG: try $try" >&2
4315 if test -d "$try_srcdir$try"; then
4316 sysnames
="$sysnames $try"
4317 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4318 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4320 x
*/$submachine) submachine_used
=t
;;
4322 if test -n "$d"; then
4323 case "$sysnames_add_ons" in
4325 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4338 if test -z "$os_used" && test "$os" != none
; then
4339 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4340 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
4341 { (exit 1); exit 1; }; }
4343 if test -z "$machine_used" && test "$machine" != none
; then
4344 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4345 $as_echo "$as_me: error: The $machine is not supported." >&2;}
4346 { (exit 1); exit 1; }; }
4348 if test -z "$submachine_used" && test -n "$submachine"; then
4349 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4350 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4351 { (exit 1); exit 1; }; }
4355 # We have now validated the configuration.
4358 # If using ELF, look for an `elf' subdirectory of each machine directory.
4359 # We prepend these rather than inserting them whereever the machine appears
4360 # because things specified by the machine's ELF ABI should override
4361 # OS-specific things, and should always be the same for any OS on the
4362 # machine (otherwise what's the point of an ABI?).
4363 if test "$elf" = yes; then
4365 for d
in $add_ons_pfx ''; do
4367 if test -d $srcdir/${d}sysdeps
$m/elf
; then
4368 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
4372 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4376 # Expand the list of system names into a full list of directories
4377 # from each element's parent name and Implies file (if present).
4380 while test $# -gt 0; do
4384 case " $names " in *" $name "*)
4385 # Already in the list.
4389 # Report each name as we discover it, so there is no long pause in output.
4390 echo $ECHO_N "$name $ECHO_C" >&6
4392 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4396 *) xsrcdir
=$srcdir/ ;;
4398 test -n "$enable_debug_configure" &&
4399 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4401 if test -f $xsrcdir$name/Implies
; then
4402 # Collect more names from the `Implies' file (removing comments).
4403 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4405 for x
in $implied_candidate; do
4407 if test -d $xsrcdir$name_base/$x; then
4408 implied
="$implied $name_base/$x";
4411 for d
in $add_ons_pfx ''; do
4412 try
="${d}sysdeps/$x"
4415 *) try_srcdir
=$srcdir/ ;;
4417 test -n "$enable_debug_configure" &&
4418 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4419 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4421 implied
="$implied $try"
4423 case "$sysnames_add_ons" in
4425 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4429 if test $found = no
; then
4430 { $as_echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
4431 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4438 # Add NAME to the list of names.
4439 names
="$names $name"
4441 # Find the parent of NAME, using the empty string if it has none.
4442 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4444 # Add the names implied by NAME, and NAME's parent (if it has one), to
4445 # the list of names to be processed (the argument list). We prepend the
4446 # implied names to the list and append the parent. We want implied
4447 # directories to come before further directories inferred from the
4448 # configuration components; this ensures that for sysv4, unix/common
4449 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4451 sysnames
="`echo $implied $* $parent`"
4452 test -n "$sysnames" && set $sysnames
4455 # Add the default directories.
4456 default_sysnames
=sysdeps
/generic
4457 if test "$elf" = yes; then
4458 default_sysnames
="sysdeps/generic/elf $default_sysnames"
4460 sysnames
="$names $default_sysnames"
4462 # The other names were emitted during the scan.
4463 { $as_echo "$as_me:$LINENO: result: $default_sysnames" >&5
4464 $as_echo "$default_sysnames" >&6; }
4466 # Collect the list of add-ons that supply partial sysdeps trees.
4468 for add_on
in $add_ons; do
4471 *) xsrcdir
="$srcdir/" ;;
4474 test -d "$xsrcdir$add_on/sysdeps" ||
{
4475 case "$configured_add_ons " in
4478 { { $as_echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
4479 $as_echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
4480 { (exit 1); exit 1; }; }
4486 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4487 case "$sysnames_add_ons" in
4490 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4491 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4496 for d
in $sysnames; do
4498 $add_on/sysdeps
/*) ;;
4501 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4504 for ff
in $f/*.h
; do
4505 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4509 test -d "$f" ||
{ test -e "$f" && exit 88; }
4513 if test $?
-eq 88; then
4518 if test $found = no
; then
4519 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4520 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4528 # Find a good install program. We prefer a C program (faster),
4529 # so one script is as good as another. But avoid the broken or
4530 # incompatible versions:
4531 # SysV /etc/install, /usr/sbin/install
4532 # SunOS /usr/etc/install
4533 # IRIX /sbin/install
4535 # AmigaOS /C/install, which installs bootblocks on floppy discs
4536 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4537 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4538 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4539 # OS/2's system install, which has a completely different semantic
4540 # ./install, which can be erroneously created by make from ./install.sh.
4541 # Reject install programs that cannot install multiple files.
4542 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4543 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4544 if test -z "$INSTALL"; then
4545 if test "${ac_cv_path_install+set}" = set; then
4546 $as_echo_n "(cached) " >&6
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 # Account for people who put trailing slashes in PATH elements.
4555 .
/ | .
// |
/cC
/* | \
4556 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4557 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4560 # OSF1 and SCO ODT 3.0 have their own names for install.
4561 # Don't use installbsd from OSF since it installs stuff as root
4563 for ac_prog
in ginstall scoinst
install; do
4564 for ac_exec_ext
in '' $ac_executable_extensions; do
4565 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4566 if test $ac_prog = install &&
4567 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4568 # AIX install. It has an incompatible calling convention.
4570 elif test $ac_prog = install &&
4571 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4572 # program-specific install script used by HP pwplus--don't use.
4575 rm -rf conftest.one conftest.two conftest.dir
4576 echo one
> conftest.one
4577 echo two
> conftest.two
4579 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4580 test -s conftest.one
&& test -s conftest.two
&&
4581 test -s conftest.dir
/conftest.one
&&
4582 test -s conftest.dir
/conftest.two
4584 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4597 rm -rf conftest.one conftest.two conftest.dir
4600 if test "${ac_cv_path_install+set}" = set; then
4601 INSTALL
=$ac_cv_path_install
4603 # As a last resort, use the slow shell script. Don't cache a
4604 # value for INSTALL within a source directory, because that will
4605 # break other packages using the cache if that directory is
4606 # removed, or if the value is a relative name.
4607 INSTALL
=$ac_install_sh
4610 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4611 $as_echo "$INSTALL" >&6; }
4613 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4614 # It thinks the first close brace ends the variable substitution.
4615 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4617 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4619 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4621 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4622 # The makefiles need to use a different form to find it in $srcdir.
4623 INSTALL
='\$(..)./scripts/install-sh -c'
4625 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4626 $as_echo_n "checking whether ln -s works... " >&6; }
4628 if test "$LN_S" = "ln -s"; then
4629 { $as_echo "$as_me:$LINENO: result: yes" >&5
4630 $as_echo "yes" >&6; }
4632 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4633 $as_echo "no, using $LN_S" >&6; }
4637 # Was a --with-binutils option given?
4638 if test -n "$path_binutils"; then
4639 # Make absolute; ensure a single trailing slash.
4640 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4641 CC
="$CC -B$path_binutils"
4643 AS
=`$CC -print-prog-name=as`
4644 LD
=`$CC -print-prog-name=ld`
4645 AR
=`$CC -print-prog-name=ar`
4647 OBJDUMP
=`$CC -print-prog-name=objdump`
4650 # ranlib has to be treated a bit differently since it might not exist at all.
4651 ac_ranlib
=`$CC -print-prog-name=ranlib`
4652 if test "x$ac_ranlib" = xranlib
; then
4653 # This extra check has to happen since gcc simply echos the parameter in
4654 # case it cannot find the value in its own directories.
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4657 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4658 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_RANLIB+set}" = set; then
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$RANLIB"; then
4664 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4674 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 RANLIB
=$ac_cv_prog_RANLIB
4684 if test -n "$RANLIB"; then
4685 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4686 $as_echo "$RANLIB" >&6; }
4688 { $as_echo "$as_me:$LINENO: result: no" >&5
4689 $as_echo "no" >&6; }
4694 if test -z "$ac_cv_prog_RANLIB"; then
4695 ac_ct_RANLIB
=$RANLIB
4696 # Extract the first word of "ranlib", so it can be a program name with args.
4697 set dummy ranlib
; ac_word
=$2
4698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ac_ct_RANLIB"; then
4704 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir
=.
4711 for ac_exec_ext
in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4714 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4724 if test -n "$ac_ct_RANLIB"; then
4725 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4726 $as_echo "$ac_ct_RANLIB" >&6; }
4728 { $as_echo "$as_me:$LINENO: result: no" >&5
4729 $as_echo "no" >&6; }
4732 if test "x$ac_ct_RANLIB" = x
; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned
=yes ;;
4741 RANLIB
=$ac_ct_RANLIB
4744 RANLIB
="$ac_cv_prog_RANLIB"
4752 # Determine whether we are using GNU binutils.
4753 { $as_echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4754 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4755 if test "${libc_cv_prog_as_gnu+set}" = set; then
4756 $as_echo_n "(cached) " >&6
4758 # Most GNU programs take a -v and spit out some text including
4759 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4760 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4761 libc_cv_prog_as_gnu
=yes
4763 libc_cv_prog_as_gnu
=no
4767 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4768 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4770 gnu_as
=$libc_cv_prog_as_gnu
4772 { $as_echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4773 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4774 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4775 $as_echo_n "(cached) " >&6
4777 # Most GNU programs take a -v and spit out some text including
4778 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4779 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4780 libc_cv_prog_ld_gnu
=yes
4782 libc_cv_prog_ld_gnu
=no
4786 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4787 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4788 gnu_ld
=$libc_cv_prog_ld_gnu
4791 # Accept binutils 2.13 or newer.
4794 # Extract the first word of "$ac_prog", so it can be a program name with args.
4795 set dummy
$ac_prog; ac_word
=$2
4796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if test "${ac_cv_prog_AS+set}" = set; then
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$AS"; then
4802 ac_cv_prog_AS
="$AS" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811 ac_cv_prog_AS
="$ac_prog"
4812 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4822 if test -n "$AS"; then
4823 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4824 $as_echo "$AS" >&6; }
4826 { $as_echo "$as_me:$LINENO: result: no" >&5
4827 $as_echo "no" >&6; }
4831 test -n "$AS" && break
4834 if test -z "$AS"; then
4837 # Found it, now check the version.
4838 { $as_echo "$as_me:$LINENO: checking version of $AS" >&5
4839 $as_echo_n "checking version of $AS... " >&6; }
4840 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4841 case $ac_prog_version in
4842 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4844 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4845 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4848 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4849 $as_echo "$ac_prog_version" >&6; }
4851 if test $ac_verc_fail = yes; then
4852 AS
=: critic_missing
="$critic_missing as"
4857 # Extract the first word of "$ac_prog", so it can be a program name with args.
4858 set dummy
$ac_prog; ac_word
=$2
4859 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if test "${ac_cv_prog_LD+set}" = set; then
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$LD"; then
4865 ac_cv_prog_LD
="$LD" # Let the user override the test.
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir
=.
4872 for ac_exec_ext
in '' $ac_executable_extensions; do
4873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4874 ac_cv_prog_LD
="$ac_prog"
4875 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 if test -n "$LD"; then
4886 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4887 $as_echo "$LD" >&6; }
4889 { $as_echo "$as_me:$LINENO: result: no" >&5
4890 $as_echo "no" >&6; }
4894 test -n "$LD" && break
4897 if test -z "$LD"; then
4900 # Found it, now check the version.
4901 { $as_echo "$as_me:$LINENO: checking version of $LD" >&5
4902 $as_echo_n "checking version of $LD... " >&6; }
4903 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4904 case $ac_prog_version in
4905 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4907 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4908 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4911 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4912 $as_echo "$ac_prog_version" >&6; }
4914 if test $ac_verc_fail = yes; then
4915 LD
=: critic_missing
="$critic_missing ld"
4919 # We need the physical current working directory. We cannot use the
4920 # "pwd -P" shell builtin since that's not portable. Instead we try to
4921 # find a pwd binary. Note that assigning to the PWD environment
4922 # variable might have some interesting side effects, so we don't do
4924 # Extract the first word of "pwd", so it can be a program name with args.
4925 set dummy
pwd; ac_word
=$2
4926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_path_PWD_P+set}" = set; then
4929 $as_echo_n "(cached) " >&6
4933 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir
=.
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
4944 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
4955 PWD_P
=$ac_cv_path_PWD_P
4956 if test -n "$PWD_P"; then
4957 { $as_echo "$as_me:$LINENO: result: $PWD_P" >&5
4958 $as_echo "$PWD_P" >&6; }
4960 { $as_echo "$as_me:$LINENO: result: no" >&5
4961 $as_echo "no" >&6; }
4965 if test "$PWD_P" = no
; then
4966 { { $as_echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4967 $as_echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4968 { (exit 1); exit 1; }; }
4971 # These programs are version sensitive.
4973 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
4975 # Extract the first word of "$ac_prog", so it can be a program name with args.
4976 set dummy
$ac_prog; ac_word
=$2
4977 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if test "${ac_cv_prog_CC+set}" = set; then
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$CC"; then
4983 ac_cv_prog_CC
="$CC" # Let the user override the test.
4985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir
=.
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_CC
="$ac_prog"
4993 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 if test -n "$CC"; then
5004 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5005 $as_echo "$CC" >&6; }
5007 { $as_echo "$as_me:$LINENO: result: no" >&5
5008 $as_echo "no" >&6; }
5012 test -n "$CC" && break
5015 if test -z "$CC"; then
5018 # Found it, now check the version.
5019 { $as_echo "$as_me:$LINENO: checking version of $CC" >&5
5020 $as_echo_n "checking version of $CC... " >&6; }
5021 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
5022 case $ac_prog_version in
5023 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5025 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5026 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5029 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5030 $as_echo "$ac_prog_version" >&6; }
5032 if test $ac_verc_fail = yes; then
5033 critic_missing
="$critic_missing gcc"
5036 for ac_prog
in gnumake gmake
make
5038 # Extract the first word of "$ac_prog", so it can be a program name with args.
5039 set dummy
$ac_prog; ac_word
=$2
5040 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if test "${ac_cv_prog_MAKE+set}" = set; then
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$MAKE"; then
5046 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055 ac_cv_prog_MAKE
="$ac_prog"
5056 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 MAKE
=$ac_cv_prog_MAKE
5066 if test -n "$MAKE"; then
5067 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
5068 $as_echo "$MAKE" >&6; }
5070 { $as_echo "$as_me:$LINENO: result: no" >&5
5071 $as_echo "no" >&6; }
5075 test -n "$MAKE" && break
5078 if test -z "$MAKE"; then
5081 # Found it, now check the version.
5082 { $as_echo "$as_me:$LINENO: checking version of $MAKE" >&5
5083 $as_echo_n "checking version of $MAKE... " >&6; }
5084 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5085 case $ac_prog_version in
5086 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5088 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5089 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5092 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5093 $as_echo "$ac_prog_version" >&6; }
5095 if test $ac_verc_fail = yes; then
5096 critic_missing
="$critic_missing make"
5100 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
5102 # Extract the first word of "$ac_prog", so it can be a program name with args.
5103 set dummy
$ac_prog; ac_word
=$2
5104 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if test "${ac_cv_prog_MSGFMT+set}" = set; then
5107 $as_echo_n "(cached) " >&6
5109 if test -n "$MSGFMT"; then
5110 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir
=.
5117 for ac_exec_ext
in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 ac_cv_prog_MSGFMT
="$ac_prog"
5120 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 MSGFMT
=$ac_cv_prog_MSGFMT
5130 if test -n "$MSGFMT"; then
5131 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5132 $as_echo "$MSGFMT" >&6; }
5134 { $as_echo "$as_me:$LINENO: result: no" >&5
5135 $as_echo "no" >&6; }
5139 test -n "$MSGFMT" && break
5142 if test -z "$MSGFMT"; then
5145 # Found it, now check the version.
5146 { $as_echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
5147 $as_echo_n "checking version of $MSGFMT... " >&6; }
5148 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5149 case $ac_prog_version in
5150 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5151 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
5152 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5153 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5156 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5157 $as_echo "$ac_prog_version" >&6; }
5159 if test $ac_verc_fail = yes; then
5160 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
5163 for ac_prog
in makeinfo
5165 # Extract the first word of "$ac_prog", so it can be a program name with args.
5166 set dummy
$ac_prog; ac_word
=$2
5167 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$MAKEINFO"; then
5173 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_MAKEINFO
="$ac_prog"
5183 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 MAKEINFO
=$ac_cv_prog_MAKEINFO
5193 if test -n "$MAKEINFO"; then
5194 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5195 $as_echo "$MAKEINFO" >&6; }
5197 { $as_echo "$as_me:$LINENO: result: no" >&5
5198 $as_echo "no" >&6; }
5202 test -n "$MAKEINFO" && break
5205 if test -z "$MAKEINFO"; then
5208 # Found it, now check the version.
5209 { $as_echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5210 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5211 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5212 case $ac_prog_version in
5213 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5215 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5216 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5219 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5220 $as_echo "$ac_prog_version" >&6; }
5222 if test $ac_verc_fail = yes; then
5223 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
5228 # Extract the first word of "$ac_prog", so it can be a program name with args.
5229 set dummy
$ac_prog; ac_word
=$2
5230 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if test "${ac_cv_prog_SED+set}" = set; then
5233 $as_echo_n "(cached) " >&6
5235 if test -n "$SED"; then
5236 ac_cv_prog_SED
="$SED" # Let the user override the test.
5238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5242 test -z "$as_dir" && as_dir
=.
5243 for ac_exec_ext
in '' $ac_executable_extensions; do
5244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5245 ac_cv_prog_SED
="$ac_prog"
5246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 if test -n "$SED"; then
5257 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5258 $as_echo "$SED" >&6; }
5260 { $as_echo "$as_me:$LINENO: result: no" >&5
5261 $as_echo "no" >&6; }
5265 test -n "$SED" && break
5268 if test -z "$SED"; then
5271 # Found it, now check the version.
5272 { $as_echo "$as_me:$LINENO: checking version of $SED" >&5
5273 $as_echo_n "checking version of $SED... " >&6; }
5274 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5275 case $ac_prog_version in
5276 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5277 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
5278 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5279 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5282 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5283 $as_echo "$ac_prog_version" >&6; }
5285 if test $ac_verc_fail = yes; then
5286 SED
=: aux_missing
="$aux_missing sed"
5290 for ac_prog
in autoconf
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy
$ac_prog; ac_word
=$2
5294 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$AUTOCONF"; then
5300 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_AUTOCONF
="$ac_prog"
5310 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 AUTOCONF
=$ac_cv_prog_AUTOCONF
5320 if test -n "$AUTOCONF"; then
5321 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5322 $as_echo "$AUTOCONF" >&6; }
5324 { $as_echo "$as_me:$LINENO: result: no" >&5
5325 $as_echo "no" >&6; }
5329 test -n "$AUTOCONF" && break
5331 test -n "$AUTOCONF" || AUTOCONF
="no"
5333 case "x$AUTOCONF" in
5334 xno|x|x
:) AUTOCONF
=no
;;
5336 { $as_echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5337 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5338 if test "${libc_cv_autoconf_works+set}" = set; then
5339 $as_echo_n "(cached) " >&6
5341 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
5342 libc_cv_autoconf_works
=yes
5344 libc_cv_autoconf_works
=no
5347 { $as_echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5348 $as_echo "$libc_cv_autoconf_works" >&6; }
5349 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5352 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
5353 # If --without-cvs they probably won't change configure.in, so no complaints.
5354 aux_missing
="$aux_missing autoconf"
5357 test -n "$critic_missing" && { { $as_echo "$as_me:$LINENO: error:
5358 *** These critical programs are missing or too old:$critic_missing
5359 *** Check the INSTALL file for required versions." >&5
5360 $as_echo "$as_me: error:
5361 *** These critical programs are missing or too old:$critic_missing
5362 *** Check the INSTALL file for required versions." >&2;}
5363 { (exit 1); exit 1; }; }
5365 test -n "$aux_missing" && { $as_echo "$as_me:$LINENO: WARNING:
5366 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5367 *** some features will be disabled.
5368 *** Check the INSTALL file for required versions." >&5
5369 $as_echo "$as_me: WARNING:
5370 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5371 *** some features will be disabled.
5372 *** Check the INSTALL file for required versions." >&2;}
5374 # if using special system headers, find out the compiler's sekrit
5375 # header directory and add that to the list. NOTE: Only does the right
5376 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5377 if test -n "$sysheaders"; then
5378 SYSINCLUDES
=-nostdinc
5379 for d
in include include-fixed
; do
5380 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5381 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5383 SYSINCLUDES
="$SYSINCLUDES \
5384 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5385 if test -n "$CXX"; then
5386 cxxversion
=`$CXX -dumpversion 2>&5` &&
5387 cxxmachine
=`$CXX -dumpmachine 2>&5` &&
5388 cxxheaders
=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5389 CXX_SYSINCLUDES
="-isystem $cxxheaders \
5390 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5396 # check if ranlib is necessary
5397 { $as_echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5398 $as_echo_n "checking whether ranlib is necessary... " >&6; }
5399 if test "${libc_cv_ranlib_necessary+set}" = set; then
5400 $as_echo_n "(cached) " >&6
5402 cat > conftest.c
<<EOF
5407 $CC $CFLAGS $CPPFLAGS -c conftest.c
5408 $AR cr conftest.a conftest.o
5409 cp conftest.a conftest2.a
5411 if cmp -s conftest.a conftest2.a
; then
5412 libc_cv_ranlib_necessary
=no
5414 libc_cv_ranlib_necessary
=yes
5418 { $as_echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5419 $as_echo "$libc_cv_ranlib_necessary" >&6; }
5420 if test "$libc_cv_ranlib_necessary" = no
; then
5424 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5425 # since this would lead to problems installing/building glibc.
5426 # LD_LIBRARY_PATH contains the current directory if one of the following
5428 # - one of the terminals (":" and ";") is the first or last sign
5429 # - two terminals occur directly after each other
5430 # - the path contains an element with a dot in it
5431 { $as_echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5432 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5433 case ${LD_LIBRARY_PATH} in
5434 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5435 ld_library_path_setting
="contains current directory"
5438 ld_library_path_setting
="ok"
5441 { $as_echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5442 $as_echo "$ld_library_path_setting" >&6; }
5443 if test "$ld_library_path_setting" != "ok"; then
5444 { { $as_echo "$as_me:$LINENO: error:
5445 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5446 *** building glibc. Please change the environment variable
5447 *** and run configure again." >&5
5448 $as_echo "$as_me: error:
5449 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5450 *** building glibc. Please change the environment variable
5451 *** and run configure again." >&2;}
5452 { (exit 1); exit 1; }; }
5455 { $as_echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5456 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5457 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5458 $as_echo_n "(cached) " >&6
5460 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
5461 libc_cv_gcc_static_libgcc
=
5463 libc_cv_gcc_static_libgcc
=-static-libgcc
5466 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5467 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5470 # Extract the first word of "bash", so it can be a program name with args.
5471 set dummy bash
; ac_word
=$2
5472 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5475 $as_echo_n "(cached) " >&6
5479 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5486 test -z "$as_dir" && as_dir
=.
5487 for ac_exec_ext
in '' $ac_executable_extensions; do
5488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5489 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5490 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5501 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5502 if test -n "$BASH_SHELL"; then
5503 { $as_echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5504 $as_echo "$BASH_SHELL" >&6; }
5506 { $as_echo "$as_me:$LINENO: result: no" >&5
5507 $as_echo "no" >&6; }
5511 if test "$BASH_SHELL" != no
&&
5512 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5513 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5514 libc_cv_have_bash2
=yes
5516 libc_cv_have_bash2
=no
5520 if test "$BASH_SHELL" = no
; then
5521 # Extract the first word of "ksh", so it can be a program name with args.
5522 set dummy ksh
; ac_word
=$2
5523 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if test "${ac_cv_path_KSH+set}" = set; then
5526 $as_echo_n "(cached) " >&6
5530 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
5533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir
=.
5538 for ac_exec_ext
in '' $ac_executable_extensions; do
5539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
5541 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
5553 if test -n "$KSH"; then
5554 { $as_echo "$as_me:$LINENO: result: $KSH" >&5
5555 $as_echo "$KSH" >&6; }
5557 { $as_echo "$as_me:$LINENO: result: no" >&5
5558 $as_echo "no" >&6; }
5562 if test "$KSH" = no
; then
5565 libc_cv_have_ksh
=yes
5570 libc_cv_have_ksh
=yes
5574 for ac_prog
in gawk mawk nawk
awk
5576 # Extract the first word of "$ac_prog", so it can be a program name with args.
5577 set dummy
$ac_prog; ac_word
=$2
5578 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 $as_echo_n "checking for $ac_word... " >&6; }
5580 if test "${ac_cv_prog_AWK+set}" = set; then
5581 $as_echo_n "(cached) " >&6
5583 if test -n "$AWK"; then
5584 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir
=.
5591 for ac_exec_ext
in '' $ac_executable_extensions; do
5592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 ac_cv_prog_AWK
="$ac_prog"
5594 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 if test -n "$AWK"; then
5605 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
5606 $as_echo "$AWK" >&6; }
5608 { $as_echo "$as_me:$LINENO: result: no" >&5
5609 $as_echo "no" >&6; }
5613 test -n "$AWK" && break
5616 # Extract the first word of "perl", so it can be a program name with args.
5617 set dummy perl
; ac_word
=$2
5618 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if test "${ac_cv_path_PERL+set}" = set; then
5621 $as_echo_n "(cached) " >&6
5625 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir
=.
5633 for ac_exec_ext
in '' $ac_executable_extensions; do
5634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5636 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5647 PERL
=$ac_cv_path_PERL
5648 if test -n "$PERL"; then
5649 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
5650 $as_echo "$PERL" >&6; }
5652 { $as_echo "$as_me:$LINENO: result: no" >&5
5653 $as_echo "no" >&6; }
5657 if test "$PERL" != no
&&
5658 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5661 # Extract the first word of "install-info", so it can be a program name with args.
5662 set dummy install-info
; ac_word
=$2
5663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5666 $as_echo_n "(cached) " >&6
5668 case $INSTALL_INFO in
5670 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5675 for as_dir
in $as_dummy
5678 test -z "$as_dir" && as_dir
=.
5679 for ac_exec_ext
in '' $ac_executable_extensions; do
5680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5681 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5682 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5693 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5694 if test -n "$INSTALL_INFO"; then
5695 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5696 $as_echo "$INSTALL_INFO" >&6; }
5698 { $as_echo "$as_me:$LINENO: result: no" >&5
5699 $as_echo "no" >&6; }
5703 # Extract the first word of "bison", so it can be a program name with args.
5704 set dummy bison
; ac_word
=$2
5705 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if test "${ac_cv_path_BISON+set}" = set; then
5708 $as_echo_n "(cached) " >&6
5712 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5716 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5717 for as_dir
in $as_dummy
5720 test -z "$as_dir" && as_dir
=.
5721 for ac_exec_ext
in '' $ac_executable_extensions; do
5722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5723 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5724 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5735 BISON
=$ac_cv_path_BISON
5736 if test -n "$BISON"; then
5737 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
5738 $as_echo "$BISON" >&6; }
5740 { $as_echo "$as_me:$LINENO: result: no" >&5
5741 $as_echo "no" >&6; }
5746 { $as_echo "$as_me:$LINENO: checking for signed size_t type" >&5
5747 $as_echo_n "checking for signed size_t type... " >&6; }
5748 if test "${libc_cv_signed_size_t+set}" = set; then
5749 $as_echo_n "(cached) " >&6
5751 echo '#include <stddef.h>
5752 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5753 if eval "$ac_cpp conftest.c 2>/dev/null" \
5754 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
5755 libc_cv_signed_size_t
=no
5757 libc_cv_signed_size_t
=yes
5761 { $as_echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5762 $as_echo "$libc_cv_signed_size_t" >&6; }
5763 if test $libc_cv_signed_size_t = yes; then
5764 cat >> confdefs.h
<<\EOF
5765 #undef __SIZE_TYPE__
5766 #define __SIZE_TYPE__ unsigned
5770 { $as_echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5771 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5772 if test "${libc_cv_friendly_stddef+set}" = set; then
5773 $as_echo_n "(cached) " >&6
5775 cat >conftest.
$ac_ext <<_ACEOF
5778 cat confdefs.h
>>conftest.
$ac_ext
5779 cat >>conftest.
$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5781 #define __need_size_t
5782 #define __need_wchar_t
5789 size_t size; wchar_t wchar;
5791 #error stddef.h ignored __need_*
5793 if (&size == NULL || &wchar == NULL) abort ();
5798 rm -f conftest.
$ac_objext
5799 if { (ac_try
="$ac_compile"
5801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5802 *) ac_try_echo=$ac_try;;
5804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5805 $as_echo "$ac_try_echo") >&5
5806 (eval "$ac_compile") 2>conftest.er1
5808 grep -v '^ *+' conftest.er1 >conftest.err
5810 cat conftest.err >&5
5811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } && {
5813 test -z "$ac_c_werror_flag" ||
5814 test ! -s conftest.err
5815 } && test -s conftest.$ac_objext; then
5816 libc_cv_friendly_stddef=yes
5818 $as_echo "$as_me: failed program was:" >&5
5819 sed 's/^/| /' conftest.$ac_ext >&5
5821 libc_cv_friendly_stddef=no
5824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5826 { $as_echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5827 $as_echo "$libc_cv_friendly_stddef" >&6; }
5828 if test $libc_cv_friendly_stddef = yes; then
5829 config_vars="$config_vars
5830 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5833 { $as_echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5834 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5835 if test "${libc_cv_need_minus_P+set}" = set; then
5836 $as_echo_n "(cached) " >&6
5838 cat > conftest.S <<EOF
5839 #include "confdefs.h"
5840 /* Nothing whatsoever. */
5842 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; }; then
5848 libc_cv_need_minus_P=no
5850 libc_cv_need_minus_P=yes
5854 { $as_echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5855 $as_echo "$libc_cv_need_minus_P" >&6; }
5856 if test $libc_cv_need_minus_P = yes; then
5857 config_vars="$config_vars
5858 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5861 { $as_echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5862 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
5863 if test "${libc_cv_dot_text+set}" = set; then
5864 $as_echo_n "(cached) " >&6
5866 cat > conftest.s <<EOF
5870 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); }; }; then
5876 libc_cv_dot_text=.text
5881 if test -z "$libc_cv_dot_text"; then
5882 { $as_echo "$as_me:$LINENO: result: no" >&5
5883 $as_echo "no" >&6; }
5885 { $as_echo "$as_me:$LINENO: result: yes" >&5
5886 $as_echo "yes" >&6; }
5889 { $as_echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5890 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
5891 if test "${libc_cv_asm_global_directive+set}" = set; then
5892 $as_echo_n "(cached) " >&6
5894 libc_cv_asm_global_directive=UNKNOWN
5895 for ac_globl in .globl .global .EXPORT; do
5896 cat > conftest.s <<EOF
5901 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; }; then
5907 libc_cv_asm_global_directive=${ac_globl}
5910 test $libc_cv_asm_global_directive != UNKNOWN && break
5913 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5914 $as_echo "$libc_cv_asm_global_directive" >&6; }
5915 if test $libc_cv_asm_global_directive = UNKNOWN; then
5916 { { $as_echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5917 $as_echo "$as_me: error: cannot determine asm global directive" >&2;}
5918 { (exit 1); exit 1; }; }
5920 cat >>confdefs.h <<_ACEOF
5921 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5926 { $as_echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5927 $as_echo_n "checking for .set assembler directive... " >&6; }
5928 if test "${libc_cv_asm_set_directive+set}" = set; then
5929 $as_echo_n "(cached) " >&6
5931 cat > conftest.s <<EOF
5934 .set glibc_conftest_frobozz,foo
5935 $libc_cv_asm_global_directive glibc_conftest_frobozz
5937 # The alpha-dec-osf1 assembler gives only a warning for `.
set'
5938 # (but it doesn't work
), so we must
do a linking check to be sure.
5939 cat > conftest1.c
<<\EOF
5940 extern int glibc_conftest_frobozz
;
5941 void _start
() { glibc_conftest_frobozz
= 1; }
5943 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5944 -nostartfiles -nostdlib \
5945 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5946 libc_cv_asm_set_directive
=yes
5948 libc_cv_asm_set_directive
=no
5952 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5953 $as_echo "$libc_cv_asm_set_directive" >&6; }
5954 if test $libc_cv_asm_set_directive = yes; then
5955 cat >>confdefs.h
<<\_ACEOF
5956 #define HAVE_ASM_SET_DIRECTIVE 1
5961 { $as_echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5962 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
5963 if test "${libc_cv_asm_type_prefix+set}" = set; then
5964 $as_echo_n "(cached) " >&6
5966 libc_cv_asm_type_prefix
=no
5967 for ac_try_prefix
in '@' '%' '#'; do
5968 cat > conftest.s
<<EOF
5970 ${libc_cv_asm_global_directive} foo
5971 .type foo, ${ac_try_prefix}object
5976 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; }; then
5982 libc_cv_asm_type_prefix
=${ac_try_prefix}
5985 test "x$libc_cv_asm_type_prefix" != xno
&& break
5988 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
5989 $as_echo "$libc_cv_asm_type_prefix" >&6; }
5990 if test "x$libc_cv_asm_type_prefix" != xno
; then
5991 cat >>confdefs.h
<<_ACEOF
5992 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
5997 # For the multi-arch option we need support in the assembler.
5998 if test "$multi_arch" = yes; then
5999 if test "x$libc_cv_asm_type_prefix" != xno
; then
6000 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
6001 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
6002 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
6003 $as_echo_n "(cached) " >&6
6005 cat > conftest.s
<<EOF
6006 .type foo,%gnu_indirect_function
6008 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
6010 libc_cv_asm_gnu_indirect_function
=yes
6012 libc_cv_asm_gnu_indirect_function
=no
6016 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
6017 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
6019 libc_cv_asm_gnu_indirect_function
=no
6021 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
; then
6022 { { $as_echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
6023 $as_echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
6024 { (exit 1); exit 1; }; }
6028 { $as_echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
6029 $as_echo_n "checking for .symver assembler directive... " >&6; }
6030 if test "${libc_cv_asm_symver_directive+set}" = set; then
6031 $as_echo_n "(cached) " >&6
6033 cat > conftest.s
<<EOF
6036 .symver _sym,sym@VERS
6038 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6039 libc_cv_asm_symver_directive
=yes
6041 libc_cv_asm_symver_directive
=no
6045 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
6046 $as_echo "$libc_cv_asm_symver_directive" >&6; }
6047 { $as_echo "$as_me:$LINENO: checking for ld --version-script" >&5
6048 $as_echo_n "checking for ld --version-script... " >&6; }
6049 if test "${libc_cv_ld_version_script_option+set}" = set; then
6050 $as_echo_n "(cached) " >&6
6052 if test $libc_cv_asm_symver_directive = yes; then
6053 cat > conftest.s
<<EOF
6056 .symver _sym,sym@VERS
6058 cat > conftest.map
<<EOF
6067 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6068 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
6069 -o conftest.so conftest.o
6070 -nostartfiles -nostdlib
6071 -Wl,--version-script,conftest.map
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; };
6079 libc_cv_ld_version_script_option
=yes
6081 libc_cv_ld_version_script_option
=no
6084 libc_cv_ld_version_script_option
=no
6087 libc_cv_ld_version_script_option
=no
6091 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
6092 $as_echo "$libc_cv_ld_version_script_option" >&6; }
6093 if test $shared != no
&&
6094 test $libc_cv_asm_symver_directive = yes &&
6095 test $libc_cv_ld_version_script_option = yes &&
6096 test $enable_versioning = yes; then
6098 cat >>confdefs.h
<<\_ACEOF
6099 #define DO_VERSIONING 1
6107 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
6109 *** WARNING: You should not compile GNU libc without versioning. Not using
6110 *** versioning will introduce incompatibilities so that old binaries
6111 *** will not run anymore.
6112 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
6114 if test $elf = yes; then
6115 { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
6116 $as_echo_n "checking for .previous assembler directive... " >&6; }
6117 if test "${libc_cv_asm_previous_directive+set}" = set; then
6118 $as_echo_n "(cached) " >&6
6120 cat > conftest.s
<<EOF
6121 .section foo_section
6124 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; }; then
6130 libc_cv_asm_previous_directive
=yes
6132 libc_cv_asm_previous_directive
=no
6136 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
6137 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6138 if test $libc_cv_asm_previous_directive = yes; then
6139 cat >>confdefs.h
<<\_ACEOF
6140 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
6144 { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
6145 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6146 if test "${libc_cv_asm_popsection_directive+set}" = set; then
6147 $as_echo_n "(cached) " >&6
6149 cat > conftest.s
<<EOF
6150 .pushsection foo_section
6153 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); }; }; then
6159 libc_cv_asm_popsection_directive
=yes
6161 libc_cv_asm_popsection_directive
=no
6165 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
6166 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6167 if test $libc_cv_asm_popsection_directive = yes; then
6168 cat >>confdefs.h
<<\_ACEOF
6169 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6174 { $as_echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6175 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6176 if test "${libc_cv_asm_protected_directive+set}" = set; then
6177 $as_echo_n "(cached) " >&6
6179 cat > conftest.s
<<EOF
6185 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); }; }; then
6191 libc_cv_asm_protected_directive
=yes
6193 { { $as_echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6194 $as_echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6195 { (exit 1); exit 1; }; }
6199 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6200 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6202 if test $libc_cv_asm_protected_directive = yes; then
6203 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6204 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6205 if test "${libc_cv_visibility_attribute+set}" = set; then
6206 $as_echo_n "(cached) " >&6
6208 cat > conftest.c
<<EOF
6209 int foo __attribute__ ((visibility ("hidden"))) = 1;
6210 int bar __attribute__ ((visibility ("protected"))) = 1;
6212 libc_cv_visibility_attribute
=no
6213 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); }; }; then
6219 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
6220 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
6221 libc_cv_visibility_attribute
=yes
6228 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6229 $as_echo "$libc_cv_visibility_attribute" >&6; }
6230 if test $libc_cv_visibility_attribute != yes; then
6231 { { $as_echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6232 $as_echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6233 { (exit 1); exit 1; }; }
6237 if test $libc_cv_visibility_attribute = yes; then
6238 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6239 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6240 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6241 $as_echo_n "(cached) " >&6
6243 cat > conftest.c
<<EOF
6245 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6246 int bar (int x) { return x; }
6248 libc_cv_broken_visibility_attribute
=yes
6249 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); }; }; then
6255 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
6256 libc_cv_broken_visibility_attribute
=no
6259 rm -f conftest.c conftest.s
6262 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6263 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6264 if test $libc_cv_broken_visibility_attribute = yes; then
6265 { { $as_echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6266 $as_echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6267 { (exit 1); exit 1; }; }
6271 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6272 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6273 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6274 $as_echo_n "(cached) " >&6
6276 cat > conftest.c
<<EOF
6277 extern int foo (int x) __asm ("xyzzy");
6278 int bar (int x) { return x; }
6279 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6281 extern __typeof (dfoo) dfoo __asm ("abccb");
6284 libc_cv_broken_alias_attribute
=yes
6285 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6292 grep 'abccb' conftest.s
>/dev
/null
; then
6293 libc_cv_broken_alias_attribute
=no
6296 rm -f conftest.c conftest.s
6299 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6300 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6301 if test $libc_cv_broken_alias_attribute = yes; then
6302 { { $as_echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6303 $as_echo "$as_me: error: working alias attribute support required" >&2;}
6304 { (exit 1); exit 1; }; }
6307 if test $libc_cv_visibility_attribute = yes; then
6308 { $as_echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6309 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6310 if test "${libc_cv_have_sdata_section+set}" = set; then
6311 $as_echo_n "(cached) " >&6
6313 echo "int i;" > conftest.c
6314 libc_cv_have_sdata_section
=no
6315 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6316 |
grep '\.sdata' >/dev
/null
; then
6317 libc_cv_have_sdata_section
=yes
6319 rm -f conftest.c conftest.so
6322 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6323 $as_echo "$libc_cv_have_sdata_section" >&6; }
6324 if test $libc_cv_have_sdata_section = yes; then
6325 cat >>confdefs.h
<<\_ACEOF
6326 #define HAVE_SDATA_SECTION 1
6332 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6333 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6334 if test "${libc_cv_initfini_array+set}" = set; then
6335 $as_echo_n "(cached) " >&6
6337 cat > conftest.c
<<EOF
6338 int _start (void) { return 0; }
6339 int __start (void) { return 0; }
6340 int foo (void) { return 1; }
6341 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6343 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6344 -static -nostartfiles -nostdlib 1>&5'
6345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); }; }
6351 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6352 libc_cv_initfini_array
=yes
6354 libc_cv_initfini_array
=no
6357 libc_cv_initfini_array
=no
6361 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6362 $as_echo "$libc_cv_initfini_array" >&6; }
6363 if test $libc_cv_initfini_array != yes; then
6364 { { $as_echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6365 $as_echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6366 { (exit 1); exit 1; }; }
6369 { $as_echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6370 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6371 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6372 $as_echo_n "(cached) " >&6
6375 cat > conftest.c
<<EOF
6376 int main (void) { return 0; }
6378 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6379 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6380 libc_cv_cc_with_libunwind
=yes
6382 libc_cv_cc_with_libunwind
=no
6386 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6387 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6389 if test $libc_cv_cc_with_libunwind = yes; then
6390 cat >>confdefs.h
<<\_ACEOF
6391 #define HAVE_CC_WITH_LIBUNWIND 1
6396 { $as_echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6397 $as_echo_n "checking for -z nodelete option... " >&6; }
6398 if test "${libc_cv_z_nodelete+set}" = set; then
6399 $as_echo_n "(cached) " >&6
6401 cat > conftest.c
<<EOF
6402 int _start (void) { return 42; }
6404 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6405 -fPIC -shared -o conftest.so conftest.c
6406 -nostartfiles -nostdlib
6407 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); }; }
6414 libc_cv_z_nodelete
=yes
6416 { { $as_echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6417 $as_echo "$as_me: error: linker with -z nodelete support required" >&2;}
6418 { (exit 1); exit 1; }; }
6422 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6423 $as_echo "$libc_cv_z_nodelete" >&6; }
6425 { $as_echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6426 $as_echo_n "checking for -z nodlopen option... " >&6; }
6427 if test "${libc_cv_z_nodlopen+set}" = set; then
6428 $as_echo_n "(cached) " >&6
6430 cat > conftest.c
<<EOF
6431 int _start (void) { return 42; }
6433 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6434 -fPIC -shared -o conftest.so conftest.c
6435 -nostartfiles -nostdlib
6436 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; }
6443 libc_cv_z_nodlopen
=yes
6445 { { $as_echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6446 $as_echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6447 { (exit 1); exit 1; }; }
6451 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6452 $as_echo "$libc_cv_z_nodlopen" >&6; }
6454 { $as_echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6455 $as_echo_n "checking for -z initfirst option... " >&6; }
6456 if test "${libc_cv_z_initfirst+set}" = set; then
6457 $as_echo_n "(cached) " >&6
6459 cat > conftest.c
<<EOF
6460 int _start (void) { return 42; }
6462 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6463 -fPIC -shared -o conftest.so conftest.c
6464 -nostartfiles -nostdlib
6465 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; }
6472 libc_cv_z_initfirst
=yes
6474 { { $as_echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6475 $as_echo "$as_me: error: linker with -z initfirst support required" >&2;}
6476 { (exit 1); exit 1; }; }
6480 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6481 $as_echo "$libc_cv_z_initfirst" >&6; }
6483 case "$base_machine" in
6484 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6485 { $as_echo "$as_me:$LINENO: checking for -z relro option" >&5
6486 $as_echo_n "checking for -z relro option... " >&6; }
6487 if test "${libc_cv_z_relro+set}" = set; then
6488 $as_echo_n "(cached) " >&6
6491 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); }; }
6498 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; }
6509 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6510 $as_echo "$libc_cv_z_relro" >&6; }
6511 if test "$libc_cv_z_relro" = no
; then
6512 { { $as_echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6513 $as_echo "$as_me: error: linker with -z relro support required" >&2;}
6514 { (exit 1); exit 1; }; }
6520 { $as_echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6521 $as_echo_n "checking for -Bgroup option... " >&6; }
6522 if test "${libc_cv_Bgroup+set}" = set; then
6523 $as_echo_n "(cached) " >&6
6525 cat > conftest.c
<<EOF
6526 int _start (void) { return 42; }
6528 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6529 -fPIC -shared -o conftest.so conftest.c
6530 -Wl,-Bgroup -nostdlib 1>&5'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; }
6543 { $as_echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6544 $as_echo "$libc_cv_Bgroup" >&6; }
6547 { $as_echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6548 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6549 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6550 $as_echo_n "(cached) " >&6
6552 cat > conftest.c
<<EOF
6553 int main (void) { return 0; }
6555 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6556 -fPIC -shared -shared-libgcc -o conftest.so \
6557 conftest.c -v 2>&1 >/dev/null \
6558 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6561 { $as_echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6562 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6565 { $as_echo "$as_me:$LINENO: checking for --as-needed option" >&5
6566 $as_echo_n "checking for --as-needed option... " >&6; }
6567 if test "${libc_cv_as_needed+set}" = set; then
6568 $as_echo_n "(cached) " >&6
6570 cat > conftest.c
<<EOF
6571 int main (void) { return 0; }
6573 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6574 -fPIC -shared -o conftest.so conftest.c
6575 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; }
6583 libc_cv_as_needed
=yes
6585 libc_cv_as_needed
=no
6589 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6590 $as_echo "$libc_cv_as_needed" >&6; }
6594 { $as_echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6595 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6596 if test "${libc_cv_as_noexecstack+set}" = set; then
6597 $as_echo_n "(cached) " >&6
6599 cat > conftest.c
<<EOF
6602 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6603 -S -o conftest.s conftest.c 1>&5'
6604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }; } \
6609 && grep -q .note.GNU-stack conftest.s \
6610 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6611 -c -o conftest.o conftest.s 1>&5'
6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; }
6618 libc_cv_as_noexecstack
=yes
6620 libc_cv_as_noexecstack
=no
6624 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6625 $as_echo "$libc_cv_as_noexecstack" >&6; }
6626 if test $libc_cv_as_noexecstack = yes; then
6627 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6631 { $as_echo "$as_me:$LINENO: checking for -z combreloc" >&5
6632 $as_echo_n "checking for -z combreloc... " >&6; }
6633 if test "${libc_cv_z_combreloc+set}" = set; then
6634 $as_echo_n "(cached) " >&6
6636 cat > conftest.c
<<EOF
6637 extern int bar (int);
6639 int foo (void) { return bar (mumble); }
6641 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6642 -fPIC -shared -o conftest.so conftest.c
6643 -nostdlib -nostartfiles
6644 -Wl,-z,combreloc 1>&5'
6645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; }
6651 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6652 libc_cv_z_combreloc
=yes
6654 libc_cv_z_combreloc
=no
6657 libc_cv_z_combreloc
=no
6661 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6662 $as_echo "$libc_cv_z_combreloc" >&6; }
6663 if test "$libc_cv_z_combreloc" = yes; then
6664 cat >>confdefs.h
<<\_ACEOF
6665 #define HAVE_Z_COMBRELOC 1
6671 { $as_echo "$as_me:$LINENO: checking for -z execstack" >&5
6672 $as_echo_n "checking for -z execstack... " >&6; }
6673 if test "${libc_cv_z_execstack+set}" = set; then
6674 $as_echo_n "(cached) " >&6
6676 cat > conftest.c
<<EOF
6677 int _start (void) { return 42; }
6679 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6680 -fPIC -shared -o conftest.so conftest.c
6681 -Wl,-z,execstack -nostdlib
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }
6689 libc_cv_z_execstack
=yes
6691 libc_cv_z_execstack
=no
6695 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6696 $as_echo "$libc_cv_z_execstack" >&6; }
6699 { $as_echo "$as_me:$LINENO: checking for -fpie" >&5
6700 $as_echo_n "checking for -fpie... " >&6; }
6701 if test "${libc_cv_fpie+set}" = set; then
6702 $as_echo_n "(cached) " >&6
6704 cat > conftest.c
<<EOF
6706 main () { return 0;}
6708 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6709 -o conftest conftest.c 1>&5'
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; }
6722 { $as_echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6723 $as_echo "$libc_cv_fpie" >&6; }
6727 { $as_echo "$as_me:$LINENO: checking for --hash-style option" >&5
6728 $as_echo_n "checking for --hash-style option... " >&6; }
6729 if test "${libc_cv_hashstyle+set}" = set; then
6730 $as_echo_n "(cached) " >&6
6732 cat > conftest.c
<<EOF
6733 int _start (void) { return 42; }
6735 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6736 -fPIC -shared -o conftest.so conftest.c
6737 -Wl,--hash-style=both -nostdlib 1>&5'
6738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); }; }
6744 libc_cv_hashstyle
=yes
6746 libc_cv_hashstyle
=no
6750 { $as_echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6751 $as_echo "$libc_cv_hashstyle" >&6; }
6755 { $as_echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6756 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6757 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6758 $as_echo_n "(cached) " >&6
6760 cat > conftest.c
<<EOF
6763 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; }
6771 libc_cv_fno_toplevel_reorder
=yes
6773 libc_cv_fno_toplevel_reorder
=no
6777 { $as_echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6778 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6779 if test $libc_cv_fno_toplevel_reorder = yes; then
6780 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6782 fno_unit_at_a_time
=-fno-unit-at-a-time
6786 { $as_echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6787 $as_echo_n "checking for -fstack-protector... " >&6; }
6788 if test "${libc_cv_ssp+set}" = set; then
6789 $as_echo_n "(cached) " >&6
6791 cat > conftest.c
<<EOF
6793 main () { return 0;}
6795 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6796 -o conftest conftest.c 1>&5'
6797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }; }
6809 { $as_echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6810 $as_echo "$libc_cv_ssp" >&6; }
6813 { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6814 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6815 if test "${libc_cv_gnu89_inline+set}" = set; then
6816 $as_echo_n "(cached) " >&6
6818 cat > conftest.c
<<EOF
6820 #ifdef __GNUC_GNU_INLINE__
6821 main () { return 0;}
6826 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6827 -o conftest.s conftest.c 1>&5'
6828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 (exit $ac_status); }; }
6834 libc_cv_gnu89_inline
=yes
6836 libc_cv_gnu89_inline
=no
6840 { $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6841 $as_echo "$libc_cv_gnu89_inline" >&6; }
6842 if test $libc_cv_gnu89_inline = yes; then
6843 libc_cv_gnu89_inline
=-fgnu89-inline
6845 libc_cv_gnu89_inline
=
6849 if test $elf != yes; then
6850 { $as_echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6851 $as_echo_n "checking for .init and .fini sections... " >&6; }
6852 if test "${libc_cv_have_initfini+set}" = set; then
6853 $as_echo_n "(cached) " >&6
6855 cat >conftest.
$ac_ext <<_ACEOF
6858 cat confdefs.h
>>conftest.
$ac_ext
6859 cat >>conftest.
$ac_ext <<_ACEOF
6860 /* end confdefs.h. */
6865 asm (".section .init");
6866 asm (".section .fini");
6867 asm ("${libc_cv_dot_text}");
6872 rm -f conftest.
$ac_objext
6873 if { (ac_try
="$ac_compile"
6875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6876 *) ac_try_echo=$ac_try;;
6878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6879 $as_echo "$ac_try_echo") >&5
6880 (eval "$ac_compile") 2>conftest.er1
6882 grep -v '^ *+' conftest.er1 >conftest.err
6884 cat conftest.err >&5
6885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); } && {
6887 test -z "$ac_c_werror_flag" ||
6888 test ! -s conftest.err
6889 } && test -s conftest.$ac_objext; then
6890 libc_cv_have_initfini=yes
6892 $as_echo "$as_me: failed program was:" >&5
6893 sed 's/^/| /' conftest.$ac_ext >&5
6895 libc_cv_have_initfini=no
6898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6900 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6901 $as_echo "$libc_cv_have_initfini" >&6; }
6902 if test $libc_cv_have_initfini = yes; then
6903 cat >>confdefs.h <<\_ACEOF
6904 #define HAVE_INITFINI 1
6910 if test $elf = yes; then
6911 { $as_echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6912 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6913 if test "${libc_cv_have_section_quotes+set}" = set; then
6914 $as_echo_n "(cached) " >&6
6916 cat > conftest.c <<EOF
6917 static const int foo
6918 __attribute__ ((section ("bar"))) = 1;
6920 if ${CC-cc} -S conftest.c -o conftest.s; then
6921 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6922 libc_cv_have_section_quotes=yes
6924 libc_cv_have_section_quotes=no
6927 libc_cv_have_section_quotes=unknown
6932 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6933 $as_echo "$libc_cv_have_section_quotes" >&6; }
6934 if test $libc_cv_have_section_quotes = yes; then
6935 cat >>confdefs.h <<\_ACEOF
6936 #define HAVE_SECTION_QUOTES 1
6944 if test $elf = yes; then
6945 libc_cv_asm_underscores=no
6947 if test $ac_cv_prog_cc_works = yes; then
6948 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6949 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
6950 if test "${libc_cv_asm_underscores+set}" = set; then
6951 $as_echo_n "(cached) " >&6
6953 cat >conftest.$ac_ext <<_ACEOF
6956 cat confdefs.h >>conftest.$ac_ext
6957 cat >>conftest.$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6959 asm ("_glibc_foobar:");
6968 rm -f conftest.$ac_objext conftest$ac_exeext
6969 if { (ac_try="$ac_link"
6971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6972 *) ac_try_echo
=$ac_try;;
6974 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6975 $as_echo "$ac_try_echo") >&5
6976 (eval "$ac_link") 2>conftest.er1
6978 grep -v '^ *+' conftest.er1
>conftest.err
6980 cat conftest.err
>&5
6981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } && {
6983 test -z "$ac_c_werror_flag" ||
6984 test ! -s conftest.err
6985 } && test -s conftest
$ac_exeext && {
6986 test "$cross_compiling" = yes ||
6987 $as_test_x conftest
$ac_exeext
6989 libc_cv_asm_underscores
=yes
6991 $as_echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.
$ac_ext >&5
6994 libc_cv_asm_underscores
=no
6997 rm -rf conftest.dSYM
6998 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6999 conftest
$ac_exeext conftest.
$ac_ext
7001 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7002 $as_echo "$libc_cv_asm_underscores" >&6; }
7004 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7005 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7006 if test "${libc_cv_asm_underscores+set}" = set; then
7007 $as_echo_n "(cached) " >&6
7009 cat > conftest.
$ac_ext <<EOF
7010 #line $LINENO "configure"
7011 #include "confdefs.h"
7012 void underscore_test(void) {
7015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7016 (eval $ac_compile) 2>&5
7018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; then
7020 if grep _underscore_test conftest
* >/dev
/null
; then
7022 libc_cv_asm_underscores
=yes
7025 libc_cv_asm_underscores
=no
7028 echo "configure: failed program was:" >&5
7029 cat conftest.
$ac_ext >&5
7031 libc_cv_asm_underscores
=no
7035 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7036 $as_echo "$libc_cv_asm_underscores" >&6; }
7039 if test $libc_cv_asm_underscores = no
; then
7040 cat >>confdefs.h
<<\_ACEOF
7041 #define NO_UNDERSCORES 1
7046 if test $elf = yes; then
7047 libc_cv_weak_symbols
=yes
7050 { $as_echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
7051 $as_echo_n "checking for assembler .weak directive... " >&6; }
7052 if test "${libc_cv_asm_weak_directive+set}" = set; then
7053 $as_echo_n "(cached) " >&6
7055 cat > conftest.s
<<EOF
7057 ${libc_cv_asm_global_directive} foo
7060 .weak bar; bar = foo
7062 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); }; }; then
7068 libc_cv_asm_weak_directive
=yes
7070 libc_cv_asm_weak_directive
=no
7074 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
7075 $as_echo "$libc_cv_asm_weak_directive" >&6; }
7077 if test $libc_cv_asm_weak_directive = no
; then
7078 { $as_echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
7079 $as_echo_n "checking for assembler .weakext directive... " >&6; }
7080 if test "${libc_cv_asm_weakext_directive+set}" = set; then
7081 $as_echo_n "(cached) " >&6
7083 cat > conftest.s
<<EOF
7085 ${libc_cv_asm_global_directive} foo
7089 ${libc_cv_asm_global_directive} baz
7092 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); }; }; then
7098 libc_cv_asm_weakext_directive
=yes
7100 libc_cv_asm_weakext_directive
=no
7104 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
7105 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
7109 if test $libc_cv_asm_weak_directive = yes; then
7110 cat >>confdefs.h
<<\_ACEOF
7111 #define HAVE_ASM_WEAK_DIRECTIVE 1
7114 elif test $libc_cv_asm_weakext_directive = yes; then
7115 cat >>confdefs.h
<<\_ACEOF
7116 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
7121 { $as_echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
7122 $as_echo_n "checking whether CFI directives are supported... " >&6; }
7123 if test "${libc_cv_asm_cfi_directives+set}" = set; then
7124 $as_echo_n "(cached) " >&6
7127 sparc
/sparc64
*) cfi_offset
=2047;;
7130 cat > conftest.s
<<EOF
7132 .type func,%function
7136 .cfi_rel_offset 1, $cfi_offset
7139 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); }; }; then
7145 libc_cv_asm_cfi_directives
=yes
7147 libc_cv_asm_cfi_directives
=no
7151 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
7152 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
7153 if test $libc_cv_asm_cfi_directives = yes; then
7154 cat >>confdefs.h
<<\_ACEOF
7155 #define HAVE_ASM_CFI_DIRECTIVES 1
7160 { $as_echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
7161 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
7162 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
7163 $as_echo_n "(cached) " >&6
7165 cat > conftest.c
<<\EOF
7170 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7171 -nostdlib -nostartfiles -Wl,--no-whole-archive
7172 -o conftest conftest.c 1>&5'
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; }; then
7178 libc_cv_ld_no_whole_archive
=yes
7180 libc_cv_ld_no_whole_archive
=no
7184 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7185 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
7186 if test $libc_cv_ld_no_whole_archive = yes; then
7187 no_whole_archive
=-Wl,--no-whole-archive
7190 { $as_echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7191 $as_echo_n "checking for gcc -fexceptions... " >&6; }
7192 if test "${libc_cv_gcc_exceptions+set}" = set; then
7193 $as_echo_n "(cached) " >&6
7195 cat > conftest.c
<<\EOF
7200 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7201 -nostdlib -nostartfiles -fexceptions
7202 -o conftest conftest.c 1>&5'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; }; then
7208 libc_cv_gcc_exceptions
=yes
7210 libc_cv_gcc_exceptions
=no
7214 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7215 $as_echo "$libc_cv_gcc_exceptions" >&6; }
7216 if test $libc_cv_gcc_exceptions = yes; then
7217 exceptions
=-fexceptions
7220 if test "$host_cpu" = powerpc
; then
7221 # Check for a bug present in at least versions 2.8.x of GCC
7222 # and versions 1.0.x of EGCS.
7223 { $as_echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7224 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7225 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7226 $as_echo_n "(cached) " >&6
7228 cat >conftest.
$ac_ext <<_ACEOF
7231 cat confdefs.h
>>conftest.
$ac_ext
7232 cat >>conftest.
$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7243 rm -f conftest.
$ac_objext
7244 if { (ac_try
="$ac_compile"
7246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7247 *) ac_try_echo=$ac_try;;
7249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7250 $as_echo "$ac_try_echo") >&5
7251 (eval "$ac_compile") 2>conftest.er1
7253 grep -v '^ *+' conftest.er1 >conftest.err
7255 cat conftest.err >&5
7256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); } && {
7258 test -z "$ac_c_werror_flag" ||
7259 test ! -s conftest.err
7260 } && test -s conftest.$ac_objext; then
7261 libc_cv_c_asmcr0_bug='no'
7263 $as_echo "$as_me: failed program was:" >&5
7264 sed 's/^/| /' conftest.$ac_ext >&5
7266 libc_cv_c_asmcr0_bug='yes'
7269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7271 { $as_echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7272 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7273 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7274 cat >>confdefs.h <<\_ACEOF
7275 #define BROKEN_PPC_ASM_CR0 1
7281 { $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7282 $as_echo_n "checking for __builtin_expect... " >&6; }
7283 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7284 $as_echo_n "(cached) " >&6
7286 cat > conftest.c <<EOF
7287 #line $LINENO "configure"
7290 a = __builtin_expect (a, 10);
7291 return a == 10 ? 0 : 1;
7294 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7295 -o conftest conftest.c -lgcc >&5'
7296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); }; }; then
7301 libc_cv_gcc_builtin_expect=yes
7303 libc_cv_gcc_builtin_expect=no
7307 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7308 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7309 if test "$libc_cv_gcc_builtin_expect" = yes; then
7310 cat >>confdefs.h <<\_ACEOF
7311 #define HAVE_BUILTIN_EXPECT 1
7316 { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7317 $as_echo_n "checking for __builtin_memset... " >&6; }
7318 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7319 $as_echo_n "(cached) " >&6
7321 cat > conftest.c <<\EOF
7324 __builtin_memset (x, 0, 1000);
7327 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }; };
7334 libc_cv_gcc_builtin_memset=no
7336 libc_cv_gcc_builtin_memset=yes
7340 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7341 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
7342 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7343 cat >>confdefs.h <<\_ACEOF
7344 #define HAVE_BUILTIN_MEMSET 1
7349 { $as_echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7350 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7351 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7352 $as_echo_n "(cached) " >&6
7354 cat > conftest.c <<\EOF
7355 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7356 char *foo (const char *a, const char *b)
7358 return __builtin_strstr (a, b);
7361 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); }; };
7368 libc_cv_gcc_builtin_redirection=yes
7370 libc_cv_gcc_builtin_redirection=no
7374 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7375 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7376 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7377 cat >>confdefs.h <<\_ACEOF
7378 #define HAVE_BUILTIN_REDIRECTION 1
7383 if test "x$use__thread" != xno; then
7384 { $as_echo "$as_me:$LINENO: checking for __thread" >&5
7385 $as_echo_n "checking for __thread... " >&6; }
7386 if test "${libc_cv_gcc___thread+set}" = set; then
7387 $as_echo_n "(cached) " >&6
7389 cat > conftest.c <<\EOF
7390 __thread int a = 42;
7392 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); }; }; then
7398 libc_cv_gcc___thread=yes
7400 libc_cv_gcc___thread=no
7404 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7405 $as_echo "$libc_cv_gcc___thread" >&6; }
7406 if test "$libc_cv_gcc___thread" = yes; then
7407 cat >>confdefs.h <<\_ACEOF
7408 #define HAVE___THREAD 1
7413 libc_cv_gcc___thread=no
7416 if test "$libc_cv_gcc___thread" = yes; then
7417 { $as_echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7418 $as_echo_n "checking for tls_model attribute... " >&6; }
7419 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7420 $as_echo_n "(cached) " >&6
7422 cat > conftest.c <<\EOF
7423 extern __thread int a __attribute__((tls_model ("initial-exec")));
7425 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430 (exit $ac_status); }; }; then
7431 libc_cv_gcc_tls_model_attr=yes
7433 libc_cv_gcc_tls_model_attr=no
7437 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7438 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7439 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7440 cat >>confdefs.h <<\_ACEOF
7441 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7447 if test -n "$submachine"; then
7448 { $as_echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7449 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7450 if test "${libc_cv_cc_submachine+set}" = set; then
7451 $as_echo_n "(cached) " >&6
7453 libc_cv_cc_submachine=no
7454 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7455 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); }; }; then
7461 libc_cv_cc_submachine="$opt"
7466 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7467 $as_echo "$libc_cv_cc_submachine" >&6; }
7468 if test "x$libc_cv_cc_submachine" = xno; then
7469 { { $as_echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7470 $as_echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7471 { (exit 1); exit 1; }; }
7476 { $as_echo "$as_me:$LINENO: checking for libgd" >&5
7477 $as_echo_n "checking for libgd... " >&6; }
7478 if test "$with_gd" != "no"; then
7479 old_CFLAGS="$CFLAGS"
7480 CFLAGS="$CFLAGS $libgd_include"
7481 old_LDFLAGS="$LDFLAGS"
7482 LDFLAGS="$LDFLAGS $libgd_ldflags"
7484 LIBS="$LIBS -lgd -lpng -lz -lm"
7485 cat >conftest.$ac_ext <<_ACEOF
7488 cat confdefs.h >>conftest.$ac_ext
7489 cat >>conftest.$ac_ext <<_ACEOF
7490 /* end confdefs.h. */
7500 rm -f conftest.$ac_objext conftest$ac_exeext
7501 if { (ac_try="$ac_link"
7503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7504 *) ac_try_echo
=$ac_try;;
7506 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7507 $as_echo "$ac_try_echo") >&5
7508 (eval "$ac_link") 2>conftest.er1
7510 grep -v '^ *+' conftest.er1
>conftest.err
7512 cat conftest.err
>&5
7513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } && {
7515 test -z "$ac_c_werror_flag" ||
7516 test ! -s conftest.err
7517 } && test -s conftest
$ac_exeext && {
7518 test "$cross_compiling" = yes ||
7519 $as_test_x conftest
$ac_exeext
7523 $as_echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.
$ac_ext >&5
7529 rm -rf conftest.dSYM
7530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7531 conftest
$ac_exeext conftest.
$ac_ext
7532 CFLAGS
="$old_CFLAGS"
7533 LDFLAGS
="$old_LDFLAGS"
7538 { $as_echo "$as_me:$LINENO: result: $LIBGD" >&5
7539 $as_echo "$LIBGD" >&6; }
7543 if test x
$with_selinux = xno
; then
7546 # See if we have the SELinux library
7547 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7548 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7549 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7550 $as_echo_n "(cached) " >&6
7552 ac_check_lib_save_LIBS
=$LIBS
7553 LIBS
="-lselinux $LIBS"
7554 cat >conftest.
$ac_ext <<_ACEOF
7557 cat confdefs.h
>>conftest.
$ac_ext
7558 cat >>conftest.
$ac_ext <<_ACEOF
7559 /* end confdefs.h. */
7561 /* Override any GCC internal prototype to avoid an error.
7562 Use char because int might match the return type of a GCC
7563 builtin and then its argument prototype would still apply. */
7567 char is_selinux_enabled ();
7571 return is_selinux_enabled ();
7576 rm -f conftest.
$ac_objext conftest
$ac_exeext
7577 if { (ac_try
="$ac_link"
7579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7580 *) ac_try_echo=$ac_try;;
7582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7583 $as_echo "$ac_try_echo") >&5
7584 (eval "$ac_link") 2>conftest.er1
7586 grep -v '^ *+' conftest.er1 >conftest.err
7588 cat conftest.err >&5
7589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } && {
7591 test -z "$ac_c_werror_flag" ||
7592 test ! -s conftest.err
7593 } && test -s conftest$ac_exeext && {
7594 test "$cross_compiling" = yes ||
7595 $as_test_x conftest$ac_exeext
7597 ac_cv_lib_selinux_is_selinux_enabled=yes
7599 $as_echo "$as_me: failed program was:" >&5
7600 sed 's/^/| /' conftest.$ac_ext >&5
7602 ac_cv_lib_selinux_is_selinux_enabled=no
7605 rm -rf conftest.dSYM
7606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7607 conftest$ac_exeext conftest.$ac_ext
7608 LIBS=$ac_check_lib_save_LIBS
7610 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7611 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7612 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
7618 # See if we have the SELinux header with the NSCD permissions in it.
7619 if test x$have_selinux = xyes ; then
7620 { $as_echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7621 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7622 cat >conftest.$ac_ext <<_ACEOF
7625 cat confdefs.h >>conftest.$ac_ext
7626 cat >>conftest.$ac_ext <<_ACEOF
7627 /* end confdefs.h. */
7628 #include <selinux/av_permissions.h>
7632 #ifdef NSCD__SHMEMHOST
7635 #error NSCD__SHMEMHOST not defined
7641 rm -f conftest.$ac_objext
7642 if { (ac_try="$ac_compile"
7644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7645 *) ac_try_echo
=$ac_try;;
7647 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7648 $as_echo "$ac_try_echo") >&5
7649 (eval "$ac_compile") 2>conftest.er1
7651 grep -v '^ *+' conftest.er1
>conftest.err
7653 cat conftest.err
>&5
7654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } && {
7656 test -z "$ac_c_werror_flag" ||
7657 test ! -s conftest.err
7658 } && test -s conftest.
$ac_objext; then
7661 $as_echo "$as_me: failed program was:" >&5
7662 sed 's/^/| /' conftest.
$ac_ext >&5
7667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7668 { $as_echo "$as_me:$LINENO: result: $have_selinux" >&5
7669 $as_echo "$have_selinux" >&6; }
7672 if test x
$with_selinux = xyes
; then
7673 if test x
$have_selinux = xno
; then
7674 { { $as_echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7675 $as_echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7676 { (exit 1); exit 1; }; }
7680 # Check if we're building with SELinux support.
7681 if test "x$have_selinux" = xyes
; then
7683 cat >>confdefs.h
<<\_ACEOF
7684 #define HAVE_SELINUX 1
7688 # See if we have the libaudit library
7689 { $as_echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7690 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7691 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7692 $as_echo_n "(cached) " >&6
7694 ac_check_lib_save_LIBS
=$LIBS
7695 LIBS
="-laudit $LIBS"
7696 cat >conftest.
$ac_ext <<_ACEOF
7699 cat confdefs.h
>>conftest.
$ac_ext
7700 cat >>conftest.
$ac_ext <<_ACEOF
7701 /* end confdefs.h. */
7703 /* Override any GCC internal prototype to avoid an error.
7704 Use char because int might match the return type of a GCC
7705 builtin and then its argument prototype would still apply. */
7709 char audit_log_user_avc_message ();
7713 return audit_log_user_avc_message ();
7718 rm -f conftest.
$ac_objext conftest
$ac_exeext
7719 if { (ac_try
="$ac_link"
7721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7722 *) ac_try_echo=$ac_try;;
7724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7725 $as_echo "$ac_try_echo") >&5
7726 (eval "$ac_link") 2>conftest.er1
7728 grep -v '^ *+' conftest.er1 >conftest.err
7730 cat conftest.err >&5
7731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } && {
7733 test -z "$ac_c_werror_flag" ||
7734 test ! -s conftest.err
7735 } && test -s conftest$ac_exeext && {
7736 test "$cross_compiling" = yes ||
7737 $as_test_x conftest$ac_exeext
7739 ac_cv_lib_audit_audit_log_user_avc_message=yes
7741 $as_echo "$as_me: failed program was:" >&5
7742 sed 's/^/| /' conftest.$ac_ext >&5
7744 ac_cv_lib_audit_audit_log_user_avc_message=no
7747 rm -rf conftest.dSYM
7748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7749 conftest$ac_exeext conftest.$ac_ext
7750 LIBS=$ac_check_lib_save_LIBS
7752 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7753 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7754 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then
7760 if test "x$have_libaudit" = xyes; then
7762 cat >>confdefs.h <<\_ACEOF
7763 #define HAVE_LIBAUDIT 1
7769 # See if we have the libcap library
7770 { $as_echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7771 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7772 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7773 $as_echo_n "(cached) " >&6
7775 ac_check_lib_save_LIBS=$LIBS
7777 cat >conftest.$ac_ext <<_ACEOF
7780 cat confdefs.h >>conftest.$ac_ext
7781 cat >>conftest.$ac_ext <<_ACEOF
7782 /* end confdefs.h. */
7784 /* Override any GCC internal prototype to avoid an error.
7785 Use char because int might match the return type of a GCC
7786 builtin and then its argument prototype would still apply. */
7799 rm -f conftest.$ac_objext conftest$ac_exeext
7800 if { (ac_try="$ac_link"
7802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7803 *) ac_try_echo
=$ac_try;;
7805 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7806 $as_echo "$ac_try_echo") >&5
7807 (eval "$ac_link") 2>conftest.er1
7809 grep -v '^ *+' conftest.er1
>conftest.err
7811 cat conftest.err
>&5
7812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); } && {
7814 test -z "$ac_c_werror_flag" ||
7815 test ! -s conftest.err
7816 } && test -s conftest
$ac_exeext && {
7817 test "$cross_compiling" = yes ||
7818 $as_test_x conftest
$ac_exeext
7820 ac_cv_lib_cap_cap_init
=yes
7822 $as_echo "$as_me: failed program was:" >&5
7823 sed 's/^/| /' conftest.
$ac_ext >&5
7825 ac_cv_lib_cap_cap_init
=no
7828 rm -rf conftest.dSYM
7829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7830 conftest
$ac_exeext conftest.
$ac_ext
7831 LIBS
=$ac_check_lib_save_LIBS
7833 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7834 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7835 if test "x$ac_cv_lib_cap_cap_init" = x
""yes; then
7841 if test "x$have_libcap" = xyes
; then
7843 cat >>confdefs.h
<<\_ACEOF
7844 #define HAVE_LIBCAP 1
7853 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7854 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7855 if test "${ac_cv_path_GREP+set}" = set; then
7856 $as_echo_n "(cached) " >&6
7858 if test -z "$GREP"; then
7859 ac_path_GREP_found
=false
7860 # Loop through the user's path and test for each of PROGNAME-LIST
7861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7862 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7865 test -z "$as_dir" && as_dir
=.
7866 for ac_prog
in grep ggrep
; do
7867 for ac_exec_ext
in '' $ac_executable_extensions; do
7868 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7869 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7870 # Check for GNU ac_path_GREP and select it if it is found.
7871 # Check for GNU $ac_path_GREP
7872 case `"$ac_path_GREP" --version 2>&1` in
7874 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7877 $as_echo_n 0123456789 >"conftest.in"
7880 cat "conftest.in" "conftest.in" >"conftest.tmp"
7881 mv "conftest.tmp" "conftest.in"
7882 cp "conftest.in" "conftest.nl"
7883 $as_echo 'GREP' >> "conftest.nl"
7884 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7885 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7886 ac_count
=`expr $ac_count + 1`
7887 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7888 # Best one so far, save it but keep looking for a better one
7889 ac_cv_path_GREP
="$ac_path_GREP"
7890 ac_path_GREP_max
=$ac_count
7892 # 10*(2^10) chars as input seems more than enough
7893 test $ac_count -gt 10 && break
7895 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7898 $ac_path_GREP_found && break 3
7903 if test -z "$ac_cv_path_GREP"; then
7904 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7905 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7906 { (exit 1); exit 1; }; }
7909 ac_cv_path_GREP
=$GREP
7913 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7914 $as_echo "$ac_cv_path_GREP" >&6; }
7915 GREP
="$ac_cv_path_GREP"
7918 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
7919 $as_echo_n "checking for egrep... " >&6; }
7920 if test "${ac_cv_path_EGREP+set}" = set; then
7921 $as_echo_n "(cached) " >&6
7923 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7924 then ac_cv_path_EGREP
="$GREP -E"
7926 if test -z "$EGREP"; then
7927 ac_path_EGREP_found
=false
7928 # Loop through the user's path and test for each of PROGNAME-LIST
7929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7930 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7933 test -z "$as_dir" && as_dir
=.
7934 for ac_prog
in egrep; do
7935 for ac_exec_ext
in '' $ac_executable_extensions; do
7936 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7937 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7938 # Check for GNU ac_path_EGREP and select it if it is found.
7939 # Check for GNU $ac_path_EGREP
7940 case `"$ac_path_EGREP" --version 2>&1` in
7942 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7945 $as_echo_n 0123456789 >"conftest.in"
7948 cat "conftest.in" "conftest.in" >"conftest.tmp"
7949 mv "conftest.tmp" "conftest.in"
7950 cp "conftest.in" "conftest.nl"
7951 $as_echo 'EGREP' >> "conftest.nl"
7952 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7953 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7954 ac_count
=`expr $ac_count + 1`
7955 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7956 # Best one so far, save it but keep looking for a better one
7957 ac_cv_path_EGREP
="$ac_path_EGREP"
7958 ac_path_EGREP_max
=$ac_count
7960 # 10*(2^10) chars as input seems more than enough
7961 test $ac_count -gt 10 && break
7963 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7966 $ac_path_EGREP_found && break 3
7971 if test -z "$ac_cv_path_EGREP"; then
7972 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7973 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7974 { (exit 1); exit 1; }; }
7977 ac_cv_path_EGREP
=$EGREP
7982 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7983 $as_echo "$ac_cv_path_EGREP" >&6; }
7984 EGREP
="$ac_cv_path_EGREP"
7987 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7988 $as_echo_n "checking for ANSI C header files... " >&6; }
7989 if test "${ac_cv_header_stdc+set}" = set; then
7990 $as_echo_n "(cached) " >&6
7992 cat >conftest.
$ac_ext <<_ACEOF
7995 cat confdefs.h
>>conftest.
$ac_ext
7996 cat >>conftest.
$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
8011 rm -f conftest.
$ac_objext
8012 if { (ac_try
="$ac_compile"
8014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8015 *) ac_try_echo=$ac_try;;
8017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8018 $as_echo "$ac_try_echo") >&5
8019 (eval "$ac_compile") 2>conftest.er1
8021 grep -v '^ *+' conftest.er1 >conftest.err
8023 cat conftest.err >&5
8024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 (exit $ac_status); } && {
8026 test -z "$ac_c_werror_flag" ||
8027 test ! -s conftest.err
8028 } && test -s conftest.$ac_objext; then
8029 ac_cv_header_stdc=yes
8031 $as_echo "$as_me: failed program was:" >&5
8032 sed 's/^/| /' conftest.$ac_ext >&5
8034 ac_cv_header_stdc=no
8037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8039 if test $ac_cv_header_stdc = yes; then
8040 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8041 cat >conftest.$ac_ext <<_ACEOF
8044 cat confdefs.h >>conftest.$ac_ext
8045 cat >>conftest.$ac_ext <<_ACEOF
8046 /* end confdefs.h. */
8050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8051 $EGREP "memchr" >/dev/null 2>&1; then
8054 ac_cv_header_stdc=no
8060 if test $ac_cv_header_stdc = yes; then
8061 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8062 cat >conftest.$ac_ext <<_ACEOF
8065 cat confdefs.h >>conftest.$ac_ext
8066 cat >>conftest.$ac_ext <<_ACEOF
8067 /* end confdefs.h. */
8071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8072 $EGREP "free" >/dev/null 2>&1; then
8075 ac_cv_header_stdc=no
8081 if test $ac_cv_header_stdc = yes; then
8082 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8083 if test "$cross_compiling" = yes; then
8086 cat >conftest.$ac_ext <<_ACEOF
8089 cat confdefs.h >>conftest.$ac_ext
8090 cat >>conftest.$ac_ext <<_ACEOF
8091 /* end confdefs.h. */
8094 #if ((' ' & 0x0FF) == 0x020)
8095 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8096 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8098 # define ISLOWER(c) \
8099 (('a' <= (c) && (c) <= 'i') \
8100 || ('j' <= (c) && (c) <= 'r') \
8101 || ('s' <= (c) && (c) <= 'z'))
8102 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8105 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8110 for (i = 0; i < 256; i++)
8111 if (XOR (islower (i), ISLOWER (i))
8112 || toupper (i) != TOUPPER (i))
8117 rm -f conftest$ac_exeext
8118 if { (ac_try="$ac_link"
8120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8121 *) ac_try_echo
=$ac_try;;
8123 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8124 $as_echo "$ac_try_echo") >&5
8125 (eval "$ac_link") 2>&5
8127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8129 { (case "(($ac_try" in
8130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8131 *) ac_try_echo=$ac_try;;
8133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8134 $as_echo "$ac_try_echo") >&5
8135 (eval "$ac_try") 2>&5
8137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; }; then
8141 $as_echo "$as_me: program exited with status $ac_status" >&5
8142 $as_echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8146 ac_cv_header_stdc=no
8148 rm -rf conftest.dSYM
8149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8155 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8156 $as_echo "$ac_cv_header_stdc" >&6; }
8157 if test $ac_cv_header_stdc = yes; then
8159 cat >>confdefs.h <<\_ACEOF
8160 #define STDC_HEADERS 1
8165 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8175 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8176 inttypes.h stdint.h unistd.h
8178 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8179 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8180 $as_echo_n "checking for $ac_header... " >&6; }
8181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8182 $as_echo_n "(cached) " >&6
8184 cat >conftest.$ac_ext <<_ACEOF
8187 cat confdefs.h >>conftest.$ac_ext
8188 cat >>conftest.$ac_ext <<_ACEOF
8189 /* end confdefs.h. */
8190 $ac_includes_default
8192 #include <$ac_header>
8194 rm -f conftest.$ac_objext
8195 if { (ac_try="$ac_compile"
8197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8198 *) ac_try_echo
=$ac_try;;
8200 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8201 $as_echo "$ac_try_echo") >&5
8202 (eval "$ac_compile") 2>conftest.er1
8204 grep -v '^ *+' conftest.er1
>conftest.err
8206 cat conftest.err
>&5
8207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208 (exit $ac_status); } && {
8209 test -z "$ac_c_werror_flag" ||
8210 test ! -s conftest.err
8211 } && test -s conftest.
$ac_objext; then
8212 eval "$as_ac_Header=yes"
8214 $as_echo "$as_me: failed program was:" >&5
8215 sed 's/^/| /' conftest.
$ac_ext >&5
8217 eval "$as_ac_Header=no"
8220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8222 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8223 $as_echo "$as_val"'`
8224 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8225 $as_echo "$ac_res" >&6; }
8226 as_val
=`eval 'as_val=${'$as_ac_Header'}
8227 $as_echo "$as_val"'`
8228 if test "x$as_val" = x
""yes; then
8229 cat >>confdefs.h
<<_ACEOF
8230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8238 # The cast to long int works around a bug in the HP C Compiler
8239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8241 # This bug is HP SR number 8606223364.
8242 { $as_echo "$as_me:$LINENO: checking size of long double" >&5
8243 $as_echo_n "checking size of long double... " >&6; }
8244 if test "${ac_cv_sizeof_long_double+set}" = set; then
8245 $as_echo_n "(cached) " >&6
8247 if test "$cross_compiling" = yes; then
8248 # Depending upon the size, compute the lo and hi bounds.
8249 cat >conftest.
$ac_ext <<_ACEOF
8252 cat confdefs.h
>>conftest.
$ac_ext
8253 cat >>conftest.
$ac_ext <<_ACEOF
8254 /* end confdefs.h. */
8255 $ac_includes_default
8259 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= 0)];
8266 rm -f conftest.
$ac_objext
8267 if { (ac_try
="$ac_compile"
8269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8270 *) ac_try_echo=$ac_try;;
8272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8273 $as_echo "$ac_try_echo") >&5
8274 (eval "$ac_compile") 2>conftest.er1
8276 grep -v '^ *+' conftest.er1 >conftest.err
8278 cat conftest.err >&5
8279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); } && {
8281 test -z "$ac_c_werror_flag" ||
8282 test ! -s conftest.err
8283 } && test -s conftest.$ac_objext; then
8286 cat >conftest.$ac_ext <<_ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8292 $ac_includes_default
8296 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8303 rm -f conftest.$ac_objext
8304 if { (ac_try="$ac_compile"
8306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8307 *) ac_try_echo
=$ac_try;;
8309 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8310 $as_echo "$ac_try_echo") >&5
8311 (eval "$ac_compile") 2>conftest.er1
8313 grep -v '^ *+' conftest.er1
>conftest.err
8315 cat conftest.err
>&5
8316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); } && {
8318 test -z "$ac_c_werror_flag" ||
8319 test ! -s conftest.err
8320 } && test -s conftest.
$ac_objext; then
8321 ac_hi
=$ac_mid; break
8323 $as_echo "$as_me: failed program was:" >&5
8324 sed 's/^/| /' conftest.
$ac_ext >&5
8326 ac_lo
=`expr $ac_mid + 1`
8327 if test $ac_lo -le $ac_mid; then
8331 ac_mid
=`expr 2 '*' $ac_mid + 1`
8334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8337 $as_echo "$as_me: failed program was:" >&5
8338 sed 's/^/| /' conftest.
$ac_ext >&5
8340 cat >conftest.
$ac_ext <<_ACEOF
8343 cat confdefs.h
>>conftest.
$ac_ext
8344 cat >>conftest.
$ac_ext <<_ACEOF
8345 /* end confdefs.h. */
8346 $ac_includes_default
8350 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) < 0)];
8357 rm -f conftest.
$ac_objext
8358 if { (ac_try
="$ac_compile"
8360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8361 *) ac_try_echo=$ac_try;;
8363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8364 $as_echo "$ac_try_echo") >&5
8365 (eval "$ac_compile") 2>conftest.er1
8367 grep -v '^ *+' conftest.er1 >conftest.err
8369 cat conftest.err >&5
8370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); } && {
8372 test -z "$ac_c_werror_flag" ||
8373 test ! -s conftest.err
8374 } && test -s conftest.$ac_objext; then
8377 cat >conftest.$ac_ext <<_ACEOF
8380 cat confdefs.h >>conftest.$ac_ext
8381 cat >>conftest.$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8383 $ac_includes_default
8387 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= $ac_mid)];
8394 rm -f conftest.$ac_objext
8395 if { (ac_try="$ac_compile"
8397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8398 *) ac_try_echo
=$ac_try;;
8400 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8401 $as_echo "$ac_try_echo") >&5
8402 (eval "$ac_compile") 2>conftest.er1
8404 grep -v '^ *+' conftest.er1
>conftest.err
8406 cat conftest.err
>&5
8407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); } && {
8409 test -z "$ac_c_werror_flag" ||
8410 test ! -s conftest.err
8411 } && test -s conftest.
$ac_objext; then
8412 ac_lo
=$ac_mid; break
8414 $as_echo "$as_me: failed program was:" >&5
8415 sed 's/^/| /' conftest.
$ac_ext >&5
8417 ac_hi
=`expr '(' $ac_mid ')' - 1`
8418 if test $ac_mid -le $ac_hi; then
8422 ac_mid
=`expr 2 '*' $ac_mid`
8425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8428 $as_echo "$as_me: failed program was:" >&5
8429 sed 's/^/| /' conftest.
$ac_ext >&5
8434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8438 # Binary search between lo and hi bounds.
8439 while test "x$ac_lo" != "x$ac_hi"; do
8440 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8441 cat >conftest.
$ac_ext <<_ACEOF
8444 cat confdefs.h
>>conftest.
$ac_ext
8445 cat >>conftest.
$ac_ext <<_ACEOF
8446 /* end confdefs.h. */
8447 $ac_includes_default
8451 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8458 rm -f conftest.
$ac_objext
8459 if { (ac_try
="$ac_compile"
8461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8462 *) ac_try_echo=$ac_try;;
8464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8465 $as_echo "$ac_try_echo") >&5
8466 (eval "$ac_compile") 2>conftest.er1
8468 grep -v '^ *+' conftest.er1 >conftest.err
8470 cat conftest.err >&5
8471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } && {
8473 test -z "$ac_c_werror_flag" ||
8474 test ! -s conftest.err
8475 } && test -s conftest.$ac_objext; then
8478 $as_echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.$ac_ext >&5
8481 ac_lo=`expr '(' $ac_mid ')' + 1`
8484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8487 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8488 '') if test "$ac_cv_type_long_double" = yes; then
8489 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8491 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long double
)
8492 See \
`config.log' for more details." >&5
8493 $as_echo "$as_me: error: cannot compute sizeof (long double)
8494 See \`config.log
' for more details." >&2;}
8495 { (exit 77); exit 77; }; }; }
8497 ac_cv_sizeof_long_double=0
8501 cat >conftest.$ac_ext <<_ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8507 $ac_includes_default
8508 static long int longval () { return (long int) (sizeof (long double)); }
8509 static unsigned long int ulongval () { return (long int) (sizeof (long double)); }
8516 FILE *f = fopen ("conftest.val", "w");
8519 if (((long int) (sizeof (long double))) < 0)
8521 long int i = longval ();
8522 if (i != ((long int) (sizeof (long double))))
8524 fprintf (f, "%ld", i);
8528 unsigned long int i = ulongval ();
8529 if (i != ((long int) (sizeof (long double))))
8531 fprintf (f, "%lu", i);
8533 /* Do not output a trailing newline, as this causes \r\n confusion
8534 on some platforms. */
8535 return ferror (f) || fclose (f) != 0;
8541 rm -f conftest$ac_exeext
8542 if { (ac_try="$ac_link"
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_link") 2>&5
8551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
8553 { (case "(($ac_try" in
8554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8555 *) ac_try_echo=$ac_try;;
8557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8558 $as_echo "$ac_try_echo") >&5
8559 (eval "$ac_try") 2>&5
8561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); }; }; then
8563 ac_cv_sizeof_long_double=`cat conftest.val`
8565 $as_echo "$as_me: program exited with status $ac_status" >&5
8566 $as_echo "$as_me: failed program was:" >&5
8567 sed 's
/^
/|
/' conftest.$ac_ext >&5
8570 if test "$ac_cv_type_long_double" = yes; then
8571 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8572 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
8573 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8574 See \`config.log
' for more details." >&5
8575 $as_echo "$as_me: error: cannot compute sizeof (long double)
8576 See \`config.log' for more details.
" >&2;}
8577 { (exit 77); exit 77; }; }; }
8579 ac_cv_sizeof_long_double=0
8582 rm -rf conftest.dSYM
8583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8587 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8588 $as_echo "$ac_cv_sizeof_long_double" >&6; }
8592 cat >>confdefs.h <<_ACEOF
8593 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8597 sizeof_long_double=$ac_cv_sizeof_long_double
8600 ### End of automated tests.
8601 ### Now run sysdeps configure fragments.
8603 # They also can set these variables.
8605 ldd_rewrite_script=no
8606 libc_cv_sysconfdir=$sysconfdir
8607 libc_cv_gcc_unwind_find_fde=no
8610 # Iterate over all the sysdep directories we will use, running their
8611 # configure fragments, and looking for a uname implementation.
8613 for dir in $sysnames; do
8616 *) dest=$srcdir/$dir ;;
8618 if test -r $dest/configure; then
8619 { $as_echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8620 $as_echo "running configure fragment
for $dir" >&6; }
8624 if test -z "$uname"; then
8625 if test -r $dest/uname.c ||
8626 test -r $dest/uname.S ||
8627 { test -r $dest/syscalls.list &&
8628 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8634 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8635 cat >>confdefs.h <<\_ACEOF
8636 #define EXPORT_UNWIND_FIND_FDE 1
8642 # If we will use the generic uname implementation, we must figure out what
8643 # it will say by examining the system, and write the results in config-name.h.
8644 if test "$uname" = "sysdeps
/generic
"; then
8646 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8647 if test $uname_sysname != $config_os; then
8648 config_release=`echo $config_os | sed s/$uname_sysname//`
8651 { $as_echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8652 $as_echo_n "checking OS release
for uname...
" >&6; }
8653 if test "${libc_cv_uname_release+set}" = set; then
8654 $as_echo_n "(cached
) " >&6
8656 if test -r /vmunix; then
8657 kernel_id=`strings /vmunix | grep UNIX`
8658 elif test -r /dynix; then
8659 kernel_id=`strings /dynix | grep DYNIX`
8664 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8665 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8666 != x$config_release; then
8667 # The configuration release is a substring of the kernel release.
8668 libc_cv_uname_release=$kernel_release
8669 elif test x$config_release != x; then
8670 libc_cv_uname_release=$config_release
8671 elif test x$kernel_release != x; then
8672 libc_cv_uname_release=$kernel_release
8674 libc_cv_uname_release=unknown
8677 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8678 $as_echo "$libc_cv_uname_release" >&6; }
8679 uname_release="$libc_cv_uname_release"
8681 { $as_echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8682 $as_echo_n "checking OS version
for uname...
" >&6; }
8683 if test "${libc_cv_uname_version+set}" = set; then
8684 $as_echo_n "(cached
) " >&6
8686 if test -r /vmunix; then
8687 kernel_id=`strings /vmunix | grep UNIX`
8688 elif test -r /dynix; then
8689 kernel_id=`strings /dynix | grep DYNIX`
8694 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8695 if test -n "$kernel_version"; then
8696 libc_cv_uname_version="$kernel_version"
8698 libc_cv_uname_version=unknown
8701 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8702 $as_echo "$libc_cv_uname_version" >&6; }
8703 uname_version="$libc_cv_uname_version"
8705 config_uname=config-name.h:config-name.in
8707 # For non-generic uname, we don't need to create config-name.h at all.
8711 cat >>confdefs.h <<\_ACEOF
8712 #define USE_IN_LIBIO 1
8716 # Test for old glibc 2.0.x headers so that they can be removed properly
8717 # Search only in includedir.
8718 { $as_echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8719 $as_echo_n "checking
for old glibc
2.0.x headers...
" >&6; }
8720 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8722 old_glibc_headers=yes
8724 old_glibc_headers=no
8726 { $as_echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8727 $as_echo "$old_glibc_headers" >&6; }
8728 if test ${old_glibc_headers} = yes; then
8729 { $as_echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8730 $as_echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8731 { $as_echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8732 $as_echo "$as_me: WARNING
: *** be removed.
" >&2;}
8749 if test $elf = yes; then
8750 cat >>confdefs.h <<\_ACEOF
8755 if test $xcoff = yes; then
8756 cat >>confdefs.h <<\_ACEOF
8757 #define HAVE_XCOFF 1
8764 if test $shared = default; then
8768 { $as_echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8769 $as_echo_n "checking whether
-fPIC is default...
" >&6; }
8770 if test "${libc_cv_pic_default+set}" = set; then
8771 $as_echo_n "(cached
) " >&6
8773 libc_cv_pic_default=yes
8774 cat > conftest.c <<EOF
8775 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8776 # error PIC is default.
8779 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8780 libc_cv_pic_default=no
8784 { $as_echo "$as_me:$LINENO: result
: $libc_cv_pic_default" >&5
8785 $as_echo "$libc_cv_pic_default" >&6; }
8798 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8801 config_makefile=Makefile
8804 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8805 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8809 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8811 ac_config_commands
="$ac_config_commands default"
8813 cat >confcache
<<\_ACEOF
8814 # This file is a shell script that caches the results of configure
8815 # tests run on this system so they can be shared between configure
8816 # scripts and configure runs, see configure's option --config-cache.
8817 # It is not useful on other systems. If it contains results you don't
8818 # want to keep, you may remove or edit it.
8820 # config.status only pays attention to the cache file if you give it
8821 # the --recheck option to rerun configure.
8823 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8824 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8829 # The following way of writing the cache mishandles newlines in values,
8830 # but we know of no workaround that is simple, portable, and efficient.
8831 # So, we kill variables containing newlines.
8832 # Ultrix sh set writes to stderr and can't be redirected directly,
8833 # and sets the high bit in the cache file unless we assign to the vars.
8835 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8836 eval ac_val
=\$
$ac_var
8840 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8841 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8844 _ | IFS | as_nl
) ;; #(
8845 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8846 *) $as_unset $ac_var ;;
8852 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8853 *${as_nl}ac_space
=\
*)
8854 # `set' does not quote correctly, so add quotes (double-quote
8855 # substitution turns \\\\ into \\, and sed turns \\ into \).
8858 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8861 # `set' quotes correctly as required by POSIX, so do not add quotes.
8862 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8871 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8873 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8875 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8876 if test -w "$cache_file"; then
8877 test "x$cache_file" != "x/dev/null" &&
8878 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8879 $as_echo "$as_me: updating cache $cache_file" >&6;}
8880 cat confcache
>$cache_file
8882 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8883 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8888 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8889 # Let make expand exec_prefix.
8890 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8892 DEFS
=-DHAVE_CONFIG_H
8896 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8897 # 1. Remove the extension, and $U if already installed.
8898 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8899 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8900 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8901 # will be set to the directory where LIBOBJS objects are built.
8902 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8903 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8907 LTLIBOBJS
=$ac_ltlibobjs
8911 : ${CONFIG_STATUS=./config.status}
8913 ac_clean_files_save
=$ac_clean_files
8914 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8915 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8916 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8917 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8919 # Generated by $as_me.
8920 # Run this file to recreate the current configuration.
8921 # Compiler output produced by configure, useful for debugging
8922 # configure, is in config.log if it exists.
8927 SHELL=\${CONFIG_SHELL-$SHELL}
8930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8931 ## --------------------- ##
8932 ## M4sh Initialization. ##
8933 ## --------------------- ##
8935 # Be more Bourne compatible
8936 DUALCASE
=1; export DUALCASE
# for MKS sh
8937 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8940 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8941 # is contrary to our usage. Disable this feature.
8942 alias -g '${1+"$@"}'='"$@"'
8943 setopt NO_GLOB_SUBST
8945 case `(set -o) 2>/dev/null` in
8946 *posix
*) set -o posix
;;
8955 # Avoid depending upon Character Ranges.
8956 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8957 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8958 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8959 as_cr_digits
='0123456789'
8960 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8965 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8966 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8967 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8968 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8969 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8970 as_echo='printf %s
\n'
8971 as_echo_n='printf %s
'
8973 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8974 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8975 as_echo_n='/usr
/ucb
/echo -n'
8977 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8978 as_echo_n_body='eval
8982 expr "X$arg" : "X\\(.*\\)$as_nl";
8983 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8985 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8987 export as_echo_n_body
8988 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8991 as_echo='sh
-c $as_echo_body as_echo
'
8994 # The user is always right.
8995 if test "${PATH_SEPARATOR+set}" != set; then
8997 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8998 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9003 # Support unset when possible.
9004 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9012 # We need space, tab and new line, in precisely that order. Quoting is
9013 # there to prevent editors from complaining about space-tab.
9014 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9015 # splitting by setting IFS to empty value.)
9018 # Find who we are. Look in the path if we contain no directory separator.
9020 *[\\/]* ) as_myself=$0 ;;
9021 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9025 test -z "$as_dir" && as_dir=.
9026 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9032 # We did not find ourselves, most probably we were run as `sh COMMAND'
9033 # in which case we are not to be found in the path.
9034 if test "x$as_myself" = x
; then
9037 if test ! -f "$as_myself"; then
9038 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9039 { (exit 1); exit 1; }
9042 # Work around bugs in pre-3.0 UWIN ksh.
9043 for as_var
in ENV MAIL MAILPATH
9044 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9056 # Required to use basename.
9057 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9058 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9064 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9065 as_basename
=basename
9071 # Name of the executable.
9072 as_me
=`$as_basename -- "$0" ||
9073 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9074 X"$0" : 'X\(//\)$' \| \
9075 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9077 sed '/^.*\/\([^/][^/]*\)\/*$/{
9098 test "x$as_lineno_1" != "x$as_lineno_2" &&
9099 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9101 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9102 # uniformly replaced by the line number. The first 'sed' inserts a
9103 # line-number line after each line using $LINENO; the second 'sed'
9104 # does the real work. The second script uses 'N' to pair each
9105 # line-number line with the line containing $LINENO, and appends
9106 # trailing '-' during substitution so that $LINENO is not a special
9108 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9109 # scripts with optimization help from Paolo Bonzini. Blame Lee
9110 # E. McMahon (1931-1989) for sed's syntax. :-)
9122 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9126 chmod +x
"$as_me.lineno" ||
9127 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9128 { (exit 1); exit 1; }; }
9130 # Don't try to exec as it changes $[0], causing all sort of problems
9131 # (the dirname of $[0] is not the place where we might find the
9132 # original and so on. Autoconf is especially sensitive to this).
9134 # Exit status is that of the last command.
9139 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9145 ECHO_C
= ECHO_N
= ECHO_T
=
9148 case `echo 'x\c'` in
9149 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9155 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9156 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9162 rm -f conf$$ conf$$.exe conf$$.
file
9163 if test -d conf$$.dir
; then
9164 rm -f conf$$.dir
/conf$$.
file
9167 mkdir conf$$.dir
2>/dev
/null
9169 if (echo >conf$$.
file) 2>/dev
/null
; then
9170 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9172 # ... but there are two gotchas:
9173 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9174 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9175 # In both cases, we have to default to `cp -p'.
9176 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9178 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9186 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9187 rmdir conf$$.dir
2>/dev
/null
9189 if mkdir
-p .
2>/dev
/null
; then
9192 test -d .
/-p && rmdir .
/-p
9196 if test -x / >/dev
/null
2>&1; then
9199 if ls -dL / >/dev
/null
2>&1; then
9206 if test -d "$1"; then
9212 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9213 ???[sx]*):;;*)false;;esac;fi
9217 as_executable_p
=$as_test_x
9219 # Sed expression to map a string onto a valid CPP name.
9220 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9222 # Sed expression to map a string onto a valid variable name.
9223 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9228 # Save the log message, to keep $[0] and so on meaningful, and to
9229 # report actual input values of CONFIG_FILES etc. instead of their
9230 # values after options handling.
9232 This file was extended by GNU C Library $as_me (see version.h), which was
9233 generated by GNU Autoconf 2.63. Invocation command line was
9235 CONFIG_FILES = $CONFIG_FILES
9236 CONFIG_HEADERS = $CONFIG_HEADERS
9237 CONFIG_LINKS = $CONFIG_LINKS
9238 CONFIG_COMMANDS = $CONFIG_COMMANDS
9241 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9246 case $ac_config_files in *"
9247 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9250 case $ac_config_headers in *"
9251 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9256 # Files that config.status was made for.
9257 config_files="$ac_config_files"
9258 config_headers="$ac_config_headers"
9259 config_commands="$ac_config_commands"
9263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9265 \`$as_me' instantiates files from templates according to the
9266 current configuration.
9268 Usage: $0 [OPTION]... [FILE]...
9270 -h, --help print this help, then exit
9271 -V, --version print version number and configuration settings, then exit
9272 -q, --quiet, --silent
9273 do not print progress messages
9274 -d, --debug don't remove temporary files
9275 --recheck update $as_me by reconfiguring in the same conditions
9276 --file=FILE[:TEMPLATE]
9277 instantiate the configuration file FILE
9278 --header=FILE[:TEMPLATE]
9279 instantiate the configuration header FILE
9281 Configuration files:
9284 Configuration headers:
9287 Configuration commands:
9290 Report bugs to <bug-autoconf@gnu.org>."
9293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9295 GNU C Library config.status (see version.h)
9296 configured by $0, generated by GNU Autoconf 2.63,
9297 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9299 Copyright (C) 2008 Free Software Foundation, Inc.
9300 This config.status script is free software; the Free Software Foundation
9301 gives unlimited permission to copy, distribute and modify it."
9307 test -n "\$AWK" || AWK=awk
9310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9311 # The default lists apply if the user does not specify any file.
9317 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9318 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9329 # Handling of the options.
9330 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9332 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9333 $as_echo "$ac_cs_version"; exit ;;
9334 --debug |
--debu |
--deb |
--de |
--d |
-d )
9336 --file |
--fil |
--fi |
--f )
9339 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9341 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
9342 ac_need_defaults
=false
;;
9343 --header |
--heade |
--head |
--hea )
9346 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9348 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
9349 ac_need_defaults
=false
;;
9351 # Conflict between --help and --header
9352 { $as_echo "$as_me: error: ambiguous option: $1
9353 Try \`$0 --help' for more information." >&2
9354 { (exit 1); exit 1; }; };;
9355 --help |
--hel |
-h )
9356 $as_echo "$ac_cs_usage"; exit ;;
9357 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9358 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9362 -*) { $as_echo "$as_me: error: unrecognized option: $1
9363 Try \`$0 --help' for more information." >&2
9364 { (exit 1); exit 1; }; } ;;
9366 *) ac_config_targets
="$ac_config_targets $1"
9367 ac_need_defaults
=false
;;
9373 ac_configure_extra_args
=
9375 if $ac_cs_silent; then
9377 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9382 if \$ac_cs_recheck; then
9383 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9385 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9386 CONFIG_SHELL='$SHELL'
9392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9396 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9397 ## Running $as_me. ##
9403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9407 config_vars='$config_vars'
9411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9413 # Handling of arguments.
9414 for ac_config_target
in $ac_config_targets
9416 case $ac_config_target in
9417 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9418 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9419 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9420 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9421 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9423 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9424 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9425 { (exit 1); exit 1; }; };;
9430 # If the user did not use the arguments to specify the items to instantiate,
9431 # then the envvar interface is used. Set only those that are not.
9432 # We use the long form for the default assignment because of an extremely
9433 # bizarre bug on SunOS 4.1.3.
9434 if $ac_need_defaults; then
9435 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9436 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9437 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9440 # Have a temporary directory for convenience. Make it in the build tree
9441 # simply because there is no reason against having it here, and in addition,
9442 # creating and moving files from /tmp can sometimes cause problems.
9443 # Hook for its removal unless debugging.
9444 # Note that there is a small window in which the directory will not be cleaned:
9445 # after its creation but before its name has been assigned to `$tmp'.
9449 trap 'exit_status=$?
9450 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9452 trap '{ (exit 1); exit 1; }' 1 2 13 15
9454 # Create a (secure) tmp directory for tmp files.
9457 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9458 test -n "$tmp" && test -d "$tmp"
9461 tmp
=.
/conf$$
-$RANDOM
9462 (umask 077 && mkdir
"$tmp")
9465 $as_echo "$as_me: cannot create a temporary directory in ." >&2
9466 { (exit 1); exit 1; }
9469 # Set up the scripts for CONFIG_FILES section.
9470 # No need to generate them if there are no CONFIG_FILES.
9471 # This happens for instance with `./config.status config.h'.
9472 if test -n "$CONFIG_FILES"; then
9476 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9477 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9483 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9488 echo "cat >conf$$subs.awk <<_ACEOF" &&
9489 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9492 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9493 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9494 { (exit 1); exit 1; }; }
9495 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9497 for ac_last_try in false false false false false :; do
9498 . ./conf$$subs.sh ||
9499 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9500 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9501 { (exit 1); exit 1; }; }
9503 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9504 if test $ac_delim_n = $ac_delim_num; then
9506 elif $ac_last_try; then
9507 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9508 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9509 { (exit 1); exit 1; }; }
9511 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9517 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9521 s/^/S["/; s
/!.
*/"]=/
9531 s/\(.\{148\}\).*/\1/
9533 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9538 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9545 s/\(.\{148\}\).*/\1/
9547 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9551 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9556 ' <conf$$subs.awk | sed '
9561 ' >>$CONFIG_STATUS || ac_write_fail=1
9562 rm -f conf$$subs.awk
9563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9565 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9566 for (key in S) S_is_set[key] = 1
9572 nfields = split(line, field, "@
")
9574 len = length(field[1])
9575 for (i = 2; i < nfields; i++) {
9577 keylen = length(key)
9578 if (S_is_set[key]) {
9580 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9581 len += length(value) + length(field[++i])
9592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9593 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9594 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9597 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9598 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
9599 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
9600 { (exit 1); exit 1; }; }
9603 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9604 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9605 # trailing colons and then remove the whole line if VPATH becomes empty
9606 # (actually we leave an empty line to preserve line numbers).
9607 if test "x
$srcdir" = x.; then
9608 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9612 s/^\([^=]*=[ ]*\):*/\1/
9618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9619 fi # test -n "$CONFIG_FILES"
9621 # Set up the scripts for CONFIG_HEADERS section.
9622 # No need to generate them if there are no CONFIG_HEADERS.
9623 # This happens for instance with `./config.status Makefile'.
9624 if test -n "$CONFIG_HEADERS"; then
9625 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9629 # Transform confdefs.h into an awk script `defines.awk', embedded as
9630 # here-document in config.status, that substitutes the proper values into
9631 # config.h.in to produce config.h.
9633 # Create a delimiter string that does not exist in confdefs.h, to ease
9634 # handling of long lines.
9636 for ac_last_try in false false :; do
9637 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9638 if test -z "$ac_t"; then
9640 elif $ac_last_try; then
9641 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
9642 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
9643 { (exit 1); exit 1; }; }
9645 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9649 # For the awk script, D is an array of macro values keyed by name,
9650 # likewise P contains macro parameters if any. Preserve backslash
9651 # newline sequences.
9653 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9655 s/.\{148\}/&'"$ac_delim"'/g
9658 s/^[ ]*#[ ]*define[ ][ ]*/ /
9665 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9667 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9671 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9672 D["\
1"]=" \
3\\\\\\n
"\\/p
9674 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9679 s/.\{148\}/&'"$ac_delim"'/g
9684 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9687 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9689 ' <confdefs.h | sed '
9690 s/'"$ac_delim"'/"\\\
9691 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9694 for (key in D) D_is_set[key] = 1
9697 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9699 split(line, arg, " ")
9700 if (arg[1] == "#") {
9704 defundef
= substr
(arg
[1], 2)
9707 split(mac1
, mac2
, "(") #)
9709 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9710 if (D_is_set
[macro
]) {
9711 # Preserve the white space surrounding the "#".
9712 print prefix
"define", macro P
[macro
] D
[macro
]
9715 # Replace #undef with comments. This is necessary, for example,
9716 # in the case of _POSIX_SOURCE, which is predefined and required
9717 # on some systems where configure will not decide to define it.
9718 if (defundef
== "undef") {
9719 print
"/*", prefix defundef
, macro
, "*/"
9727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9728 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9729 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9730 { (exit 1); exit 1; }; }
9731 fi # test -n "$CONFIG_HEADERS"
9734 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9739 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9741 case $ac_mode$ac_tag in
9743 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9744 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9745 { (exit 1); exit 1; }; };;
9746 :[FH
]-) ac_tag
=-:-;;
9747 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9764 -) ac_f
="$tmp/stdin";;
9765 *) # Look for the file first in the build tree, then in the source tree
9766 # (if the path is not absolute). The absolute path cannot be DOS-style,
9767 # because $ac_f cannot contain `:'.
9771 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9773 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9774 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9775 { (exit 1); exit 1; }; };;
9777 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9778 ac_file_inputs
="$ac_file_inputs '$ac_f'"
9781 # Let's still pretend it is `configure' which instantiates (i.e., don't
9782 # use $as_me), people would be surprised to read:
9783 # /* config.h. Generated by config.status. */
9784 configure_input
='Generated from '`
9785 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9787 if test x
"$ac_file" != x-
; then
9788 configure_input
="$ac_file. $configure_input"
9789 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9790 $as_echo "$as_me: creating $ac_file" >&6;}
9792 # Neutralize special characters interpreted by sed in replacement strings.
9793 case $configure_input in #(
9794 *\
&* |
*\|
* |
*\\* )
9795 ac_sed_conf_input
=`$as_echo "$configure_input" |
9796 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9797 *) ac_sed_conf_input
=$configure_input;;
9801 *:-:* |
*:-) cat >"$tmp/stdin" \
9802 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9803 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9804 { (exit 1); exit 1; }; } ;;
9809 ac_dir
=`$as_dirname -- "$ac_file" ||
9810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9811 X"$ac_file" : 'X\(//\)[^/]' \| \
9812 X"$ac_file" : 'X\(//\)$' \| \
9813 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9814 $as_echo X"$ac_file" |
9815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9834 -*) as_dir
=.
/$as_dir;;
9836 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9840 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9841 *) as_qdir
=$as_dir;;
9843 as_dirs
="'$as_qdir' $as_dirs"
9844 as_dir
=`$as_dirname -- "$as_dir" ||
9845 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9846 X"$as_dir" : 'X\(//\)[^/]' \| \
9847 X"$as_dir" : 'X\(//\)$' \| \
9848 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9849 $as_echo X"$as_dir" |
9850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9867 test -d "$as_dir" && break
9869 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9870 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9871 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9872 { (exit 1); exit 1; }; }; }
9876 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9878 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9879 # A ".." for each directory in $ac_dir_suffix.
9880 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9881 case $ac_top_builddir_sub in
9882 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9883 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9886 ac_abs_top_builddir
=$ac_pwd
9887 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9888 # for backward compatibility:
9889 ac_top_builddir
=$ac_top_build_prefix
9892 .
) # We are building in place.
9894 ac_top_srcdir
=$ac_top_builddir_sub
9895 ac_abs_top_srcdir
=$ac_pwd ;;
9896 [\\/]* | ?
:[\\/]* ) # Absolute name.
9897 ac_srcdir
=$srcdir$ac_dir_suffix;
9898 ac_top_srcdir
=$srcdir
9899 ac_abs_top_srcdir
=$srcdir ;;
9901 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9902 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9903 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9905 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9915 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9916 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9921 # If the template does not know about datarootdir, expand it.
9922 # FIXME: This hack should be removed a few years after 2.60.
9923 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9936 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9937 *datarootdir
*) ac_datarootdir_seen
=yes;;
9938 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9939 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9940 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9943 ac_datarootdir_hack='
9944 s&@datadir@&$datadir&g
9945 s&@docdir@&$docdir&g
9946 s&@infodir@&$infodir&g
9947 s&@localedir@&$localedir&g
9948 s&@mandir@&$mandir&g
9949 s&\\\${datarootdir}&$datarootdir&g' ;;
9953 # Neutralize VPATH when `$srcdir' = `.'.
9954 # Shell code in configure.ac might set extrasub.
9955 # FIXME: do we really want to maintain this feature?
9956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9957 ac_sed_extra="$ac_vpsub
9960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9962 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9963 s|@configure_input@|
$ac_sed_conf_input|
;t t
9964 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9965 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9966 s
&@srcdir@
&$ac_srcdir&;t t
9967 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9968 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9969 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9970 s
&@builddir@
&$ac_builddir&;t t
9971 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9972 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9973 s
&@INSTALL@
&$ac_INSTALL&;t t
9974 $ac_datarootdir_hack
9976 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9977 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
9978 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
9979 { (exit 1); exit 1; }; }
9981 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9982 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9983 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9984 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9985 which seems to be undefined. Please make sure it is defined." >&5
9986 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9987 which seems to be undefined. Please make sure it is defined." >&2;}
9991 -) cat "$tmp/out" && rm -f "$tmp/out";;
9992 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9994 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9995 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9996 { (exit 1); exit 1; }; }
10002 if test x"$ac_file" != x-; then
10004 $as_echo "/* $configure_input */" \
10005 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10006 } >"$tmp/config.h" \
10007 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10008 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10009 { (exit 1); exit 1; }; }
10010 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10011 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10012 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10015 mv "$tmp/config.h" "$ac_file" \
10016 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10017 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10018 { (exit 1); exit 1; }; }
10021 $as_echo "/* $configure_input */" \
10022 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10023 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10024 $as_echo "$as_me: error: could not create -" >&2;}
10025 { (exit 1); exit 1; }; }
10029 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10030 $as_echo "$as_me: executing $ac_file commands" >&6;}
10035 case $ac_file$ac_mode in
10037 case $CONFIG_FILES in *config.make*)
10038 echo "$config_vars" >> config.make;;
10040 test -d bits || mkdir bits ;;
10046 { (exit 0); exit 0; }
10048 chmod +x $CONFIG_STATUS
10049 ac_clean_files=$ac_clean_files_save
10051 test $ac_write_fail = 0 ||
10052 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10053 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10054 { (exit 1); exit 1; }; }
10057 # configure is writing to config.log, and then calls config.status.
10058 # config.status does its own redirection, appending to config.log.
10059 # Unfortunately, on DOS this fails, as config.log is still kept open
10060 # by configure, so config.status won't be able to
write to it
; its
10061 # output is simply discarded. So we exec the FD to /dev/null,
10062 # effectively closing config.log, so it can be properly (re)opened and
10063 # appended to by config.status. When coming back to configure, we
10064 # need to make the FD available again.
10065 if test "$no_create" != yes; then
10067 ac_config_status_args
=
10068 test "$silent" = yes &&
10069 ac_config_status_args
="$ac_config_status_args --quiet"
10071 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10073 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10074 # would make configure fail if this is the last instruction.
10075 $ac_cs_success ||
{ (exit 1); exit 1; }
10079 # CONFIG_SUBDIRS section.
10081 if test "$no_recursion" != yes; then
10083 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10084 # so they do not pile up.
10085 ac_sub_configure_args
=
10087 eval "set x $ac_configure_args"
10091 if test -n "$ac_prev"; then
10096 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
10097 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
10098 ac_prev
=cache_file
;;
10099 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
10100 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
10103 --config-cache |
-C)
10105 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
10107 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
10109 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
10111 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
10113 --disable-option-checking)
10117 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10119 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
10123 # Always prepend --prefix to ensure using the same prefix
10124 # in subdir configurations.
10125 ac_arg
="--prefix=$prefix"
10127 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10129 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
10132 if test "$silent" = yes; then
10133 ac_sub_configure_args
="--silent $ac_sub_configure_args"
10136 # Always prepend --disable-option-checking to silence warnings, since
10137 # different subdirs can have different --enable and --with options.
10138 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
10141 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
10143 # Do not complain, so a configure script can configure whichever
10144 # parts of a large source tree are present.
10145 test -d "$srcdir/$ac_dir" ||
continue
10147 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10148 $as_echo "$as_me:$LINENO: $ac_msg" >&5
10149 $as_echo "$ac_msg" >&6
10152 -*) as_dir
=.
/$as_dir;;
10154 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10158 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10159 *) as_qdir
=$as_dir;;
10161 as_dirs
="'$as_qdir' $as_dirs"
10162 as_dir
=`$as_dirname -- "$as_dir" ||
10163 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10164 X"$as_dir" : 'X\(//\)[^/]' \| \
10165 X"$as_dir" : 'X\(//\)$' \| \
10166 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10167 $as_echo X"$as_dir" |
10168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10172 /^X\(\/\/\)[^/].*/{
10185 test -d "$as_dir" && break
10187 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10188 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10189 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10190 { (exit 1); exit 1; }; }; }
10194 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10196 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10197 # A ".." for each directory in $ac_dir_suffix.
10198 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10199 case $ac_top_builddir_sub in
10200 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10201 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10204 ac_abs_top_builddir
=$ac_pwd
10205 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10206 # for backward compatibility:
10207 ac_top_builddir
=$ac_top_build_prefix
10210 .
) # We are building in place.
10212 ac_top_srcdir
=$ac_top_builddir_sub
10213 ac_abs_top_srcdir
=$ac_pwd ;;
10214 [\\/]* | ?
:[\\/]* ) # Absolute name.
10215 ac_srcdir
=$srcdir$ac_dir_suffix;
10216 ac_top_srcdir
=$srcdir
10217 ac_abs_top_srcdir
=$srcdir ;;
10218 *) # Relative name.
10219 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10220 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10221 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10223 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10228 # Check for guested configure; otherwise get Cygnus style configure.
10229 if test -f "$ac_srcdir/configure.gnu"; then
10230 ac_sub_configure
=$ac_srcdir/configure.gnu
10231 elif test -f "$ac_srcdir/configure"; then
10232 ac_sub_configure
=$ac_srcdir/configure
10233 elif test -f "$ac_srcdir/configure.in"; then
10234 # This should be Cygnus configure.
10235 ac_sub_configure
=$ac_aux_dir/configure
10237 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10238 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10242 # The recursion is here.
10243 if test -n "$ac_sub_configure"; then
10244 # Make the cache file name correct relative to the subdirectory.
10245 case $cache_file in
10246 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
10247 *) # Relative name.
10248 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
10251 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10252 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10253 # The eval makes quoting arguments work.
10254 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10255 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10256 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10257 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10258 { (exit 1); exit 1; }; }
10264 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10265 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10266 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}