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
660 libc_cv_cpp_asm_debuginfo
661 libc_cv_forced_unwind
670 libc_cv_gcc_unwind_find_fde
678 libc_cv_cc_submachine
681 libc_cv_have_initfini
691 libc_cv_libgcc_s_suffix
693 libc_cv_cc_with_libunwind
703 libc_cv_gcc_static_libgcc
786 program_transform_name
798 enable_option_checking
817 enable_stackguard_randomization
828 enable_experimental_malloc
832 ac_precious_vars
='build_alias
846 # Initialize some variables set by options.
848 ac_init_version
=false
849 ac_unrecognized_opts
=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name
=s
,x
,x
,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir
='${exec_prefix}/bin'
875 sbindir
='${exec_prefix}/sbin'
876 libexecdir
='${exec_prefix}/libexec'
877 datarootdir
='${prefix}/share'
878 datadir
='${datarootdir}'
879 sysconfdir
='${prefix}/etc'
880 sharedstatedir
='${prefix}/com'
881 localstatedir
='${prefix}/var'
882 includedir
='${prefix}/include'
883 oldincludedir
='/usr/include'
884 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
885 infodir
='${datarootdir}/info'
890 libdir
='${exec_prefix}/lib'
891 localedir
='${datarootdir}/locale'
892 mandir
='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\
$ac_option
906 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
953 { (exit 1); exit 1; }; }
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=no
;;
965 -docdir |
--docdir |
--docdi |
--doc |
--do)
967 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
970 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
972 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
975 -enable-* |
--enable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
980 { (exit 1); exit 1; }; }
981 ac_useropt_orig
=$ac_useropt
982 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
988 ac_unrecognized_sep
=', ';;
990 eval enable_
$ac_useropt=\
$ac_optarg ;;
992 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
993 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
994 |
--exec |
--exe |
--ex)
995 ac_prev
=exec_prefix
;;
996 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
997 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
998 |
--exec=* |
--exe=* |
--ex=*)
999 exec_prefix
=$ac_optarg ;;
1001 -gas |
--gas |
--ga |
--g)
1002 # Obsolete; use --with-gas.
1005 -help |
--help |
--hel |
--he |
-h)
1006 ac_init_help
=long
;;
1007 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1008 ac_init_help
=recursive
;;
1009 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1010 ac_init_help
=short
;;
1012 -host |
--host |
--hos |
--ho)
1013 ac_prev
=host_alias
;;
1014 -host=* |
--host=* |
--hos=* |
--ho=*)
1015 host_alias
=$ac_optarg ;;
1017 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1019 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1021 htmldir
=$ac_optarg ;;
1023 -includedir |
--includedir |
--includedi |
--included |
--include \
1024 |
--includ |
--inclu |
--incl |
--inc)
1025 ac_prev
=includedir
;;
1026 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1027 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1028 includedir
=$ac_optarg ;;
1030 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1032 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1033 infodir
=$ac_optarg ;;
1035 -libdir |
--libdir |
--libdi |
--libd)
1037 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1038 libdir
=$ac_optarg ;;
1040 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1041 |
--libexe |
--libex |
--libe)
1042 ac_prev
=libexecdir
;;
1043 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1044 |
--libexe=* |
--libex=* |
--libe=*)
1045 libexecdir
=$ac_optarg ;;
1047 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1048 ac_prev
=localedir
;;
1049 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1050 localedir
=$ac_optarg ;;
1052 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1053 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1054 ac_prev
=localstatedir
;;
1055 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1056 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1057 localstatedir
=$ac_optarg ;;
1059 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1061 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1062 mandir
=$ac_optarg ;;
1064 -nfp |
--nfp |
--nf)
1065 # Obsolete; use --without-fp.
1068 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1069 |
--no-cr |
--no-c |
-n)
1072 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1073 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1076 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1077 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1078 |
--oldin |
--oldi |
--old |
--ol |
--o)
1079 ac_prev
=oldincludedir
;;
1080 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1081 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1082 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1083 oldincludedir
=$ac_optarg ;;
1085 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1087 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1088 prefix
=$ac_optarg ;;
1090 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1091 |
--program-pre |
--program-pr |
--program-p)
1092 ac_prev
=program_prefix
;;
1093 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1094 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1095 program_prefix
=$ac_optarg ;;
1097 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1098 |
--program-suf |
--program-su |
--program-s)
1099 ac_prev
=program_suffix
;;
1100 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1101 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1102 program_suffix
=$ac_optarg ;;
1104 -program-transform-name |
--program-transform-name \
1105 |
--program-transform-nam |
--program-transform-na \
1106 |
--program-transform-n |
--program-transform- \
1107 |
--program-transform |
--program-transfor \
1108 |
--program-transfo |
--program-transf \
1109 |
--program-trans |
--program-tran \
1110 |
--progr-tra |
--program-tr |
--program-t)
1111 ac_prev
=program_transform_name
;;
1112 -program-transform-name=* |
--program-transform-name=* \
1113 |
--program-transform-nam=* |
--program-transform-na=* \
1114 |
--program-transform-n=* |
--program-transform-=* \
1115 |
--program-transform=* |
--program-transfor=* \
1116 |
--program-transfo=* |
--program-transf=* \
1117 |
--program-trans=* |
--program-tran=* \
1118 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1119 program_transform_name
=$ac_optarg ;;
1121 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1123 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1124 pdfdir
=$ac_optarg ;;
1126 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1128 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1131 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1132 |
-silent |
--silent |
--silen |
--sile |
--sil)
1135 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1137 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1139 sbindir
=$ac_optarg ;;
1141 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1142 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1143 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1145 ac_prev
=sharedstatedir
;;
1146 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1147 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1148 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1150 sharedstatedir
=$ac_optarg ;;
1152 -site |
--site |
--sit)
1154 -site=* |
--site=* |
--sit=*)
1157 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1159 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1160 srcdir
=$ac_optarg ;;
1162 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1163 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1164 ac_prev
=sysconfdir
;;
1165 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1166 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1167 sysconfdir
=$ac_optarg ;;
1169 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1170 ac_prev
=target_alias
;;
1171 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1172 target_alias
=$ac_optarg ;;
1174 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1177 -version |
--version |
--versio |
--versi |
--vers |
-V)
1178 ac_init_version
=: ;;
1181 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1184 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=\
$ac_optarg ;;
1197 -without-* |
--without-*)
1198 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1202 { (exit 1); exit 1; }; }
1203 ac_useropt_orig
=$ac_useropt
1204 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1209 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1210 ac_unrecognized_sep
=', ';;
1212 eval with_
$ac_useropt=no
;;
1215 # Obsolete; use --with-x.
1218 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1219 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1220 ac_prev
=x_includes
;;
1221 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1222 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1223 x_includes
=$ac_optarg ;;
1225 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1226 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1227 ac_prev
=x_libraries
;;
1228 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1229 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1230 x_libraries
=$ac_optarg ;;
1232 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1233 Try \`$0 --help' for more information." >&2
1234 { (exit 1); exit 1; }; }
1238 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1241 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1242 { (exit 1); exit 1; }; }
1243 eval $ac_envvar=\
$ac_optarg
1244 export $ac_envvar ;;
1247 # FIXME: should be removed in autoconf 3.0.
1248 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1249 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1250 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1251 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1257 if test -n "$ac_prev"; then
1258 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1259 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1260 { (exit 1); exit 1; }; }
1263 if test -n "$ac_unrecognized_opts"; then
1264 case $enable_option_checking in
1266 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1267 { (exit 1); exit 1; }; } ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 # Check all directory arguments for consistency.
1273 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val
=\$
$ac_var
1279 # Remove trailing slashes.
1282 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\
$ac_val;;
1285 # Be sure to have absolute directory names.
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1290 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted
=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir
=`$as_dirname -- "$as_myself" ||
1333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$as_myself" : 'X\(//\)[^/]' \| \
1335 X"$as_myself" : 'X\(//\)$' \| \
1336 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1337 $as_echo X"$as_myself" |
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted
=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1364 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --build=BUILD configure
for building on BUILD
[guessed
]
1455 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1466 --disable-option-checking ignore unrecognized
--enable/--with options
1467 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1468 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1469 --disable-sanity-checks really
do not use threads
(should not be used except
1470 in special situations
) [default
=yes]
1471 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1473 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1474 --enable-profile build profiled library
[default
=no
]
1475 --enable-omitfp build undebuggable optimized library
[default
=no
]
1476 --enable-bounded build with runtime bounds checking
[default
=no
]
1477 --disable-versioning do not include versioning information
in the library
1478 objects
[default
=yes if supported
]
1479 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1480 [default
=glibc default
]
1481 --enable-stackguard-randomization
1482 initialize __stack_chk_guard canary with a random
1483 number
at program start
1484 --enable-add-ons[=DIRS...
]
1485 configure and build add-ons
in DIR1
,DIR2
,... search
1486 for add-ons
if no parameter given
1487 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1488 --enable-bind-now disable lazy relocations
in DSOs
1489 --enable-static-nss build static NSS modules
[default
=no
]
1490 --disable-force-install don
't force installation of files from this package,
1491 even if they are older than the installed files
1492 --enable-kernel=VERSION compile for compatibility with kernel not older than
1494 --enable-all-warnings enable all useful warnings gcc can issue
1495 --enable-multi-arch enable single DSO with optimizations for multiple
1497 --enable-experimental-malloc
1498 enable experimental malloc features
1499 --enable-nss-crypt enable libcrypt to use nss
1502 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1503 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1504 --with-gd=DIR find libgd include dir and library with prefix DIR
1505 --with-gd-include=DIR find libgd include files in DIR
1506 --with-gd-lib=DIR find libgd library files in DIR
1507 --with-fp if using floating-point hardware [default=yes]
1508 --with-binutils=PATH specify location of binutils (as and ld)
1509 --with-elf if using the ELF object format
1510 --with-selinux if building with SELinux support
1511 --with-xcoff if using the XCOFF object format
1512 --without-cvs if CVS should not be used
1513 --with-headers=PATH location of system headers to use (for example
1514 /usr/src/linux/include) [default=compiler default]
1515 --with-tls enable support for TLS
1516 --without-__thread do not use TLS features even when supporting them
1517 --with-cpu=CPU select code for CPU variant
1519 Some influential environment variables:
1520 CC C compiler command
1521 CFLAGS C compiler flags
1522 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1523 nonstandard directory <lib dir>
1524 LIBS libraries to pass to the linker, e.g. -l<library>
1525 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1526 you have headers in a nonstandard directory <include dir>
1528 CXX C++ compiler command
1529 CXXFLAGS C++ compiler flags
1531 Use these variables to override the choices made by `configure' or to
help
1532 it to
find libraries and programs with nonstandard names
/locations.
1534 Report bugs to
<glibc
>.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1548 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1550 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1555 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir
=$ac_pwd
1559 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir
=$ac_top_build_prefix
1564 .
) # We are building in place.
1566 ac_top_srcdir
=$ac_top_builddir_sub
1567 ac_abs_top_srcdir
=$ac_pwd ;;
1568 [\\/]* | ?
:[\\/]* ) # Absolute name.
1569 ac_srcdir
=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir
=$srcdir
1571 ac_abs_top_srcdir
=$srcdir ;;
1573 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1597 GNU C Library configure
(see version.h
)
1598 generated by GNU Autoconf
2.63
1600 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1601 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1602 This configure
script is free software
; the Free Software Foundation
1603 gives unlimited permission to copy
, distribute and modify it.
1607 cat >config.log
<<_ACEOF
1608 This file contains any messages produced by compilers while
1609 running configure, to aid debugging if configure makes a mistake.
1611 It was created by GNU C Library $as_me (see version.h), which was
1612 generated by GNU Autoconf 2.63. Invocation command line was
1624 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1625 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1626 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1627 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1628 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1630 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1631 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1633 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1634 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1635 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1636 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1637 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1638 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1639 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir
=.
1648 $as_echo "PATH: $as_dir"
1664 # Keep a trace of the command line.
1665 # Strip out --no-create and --no-recursion so they do not pile up.
1666 # Strip out --silent because we don't want to record it for future runs.
1667 # Also quote any args containing shell meta-characters.
1668 # Make two passes to allow for proper duplicate-argument suppression.
1672 ac_must_keep_next
=false
1678 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1679 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1680 |
-silent |
--silent |
--silen |
--sile |
--sil)
1683 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1686 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1688 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1689 if test $ac_must_keep_next = true
; then
1690 ac_must_keep_next
=false
# Got value, back to normal.
1693 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1694 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1695 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1696 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1697 case "$ac_configure_args0 " in
1698 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1701 -* ) ac_must_keep_next
=true
;;
1704 ac_configure_args
="$ac_configure_args '$ac_arg'"
1709 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1710 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1712 # When interrupted or exit'd, cleanup temporary files, and complete
1713 # config.log. We remove comments because anyway the quotes in there
1714 # would cause problems or look ugly.
1715 # WARNING: Use '\'' to represent an apostrophe within the trap.
1716 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1717 trap 'exit_status=$?
1718 # Save into config.log some information that might help in debugging.
1723 ## ---------------- ##
1724 ## Cache variables. ##
1725 ## ---------------- ##
1728 # The following way of writing the cache mishandles newlines in values,
1730 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1731 eval ac_val=\$$ac_var
1735 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1736 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1739 _ | IFS | as_nl) ;; #(
1740 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1741 *) $as_unset $ac_var ;;
1746 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1747 *${as_nl}ac_space=\ *)
1749 "s/'\''/'\''\\\\'\'''\''/g;
1750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1761 ## ----------------- ##
1762 ## Output variables. ##
1763 ## ----------------- ##
1766 for ac_var in $ac_subst_vars
1768 eval ac_val=\$$ac_var
1770 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1772 $as_echo "$ac_var='\''$ac_val'\''"
1776 if test -n "$ac_subst_files"; then
1778 ## ------------------- ##
1779 ## File substitutions. ##
1780 ## ------------------- ##
1783 for ac_var
in $ac_subst_files
1785 eval ac_val
=\$
$ac_var
1787 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1789 $as_echo "$ac_var='\''$ac_val'\''"
1794 if test -s confdefs.h; then
1804 test "$ac_signal" != 0 &&
1805 $as_echo "$as_me: caught signal $ac_signal"
1806 $as_echo "$as_me: exit $exit_status"
1808 rm -f core *.core core.conftest.* &&
1809 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1812 for ac_signal
in 1 2 13 15; do
1813 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1817 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1818 rm -f -r conftest
* confdefs.h
1820 # Predefined preprocessor variables.
1822 cat >>confdefs.h
<<_ACEOF
1823 #define PACKAGE_NAME "$PACKAGE_NAME"
1827 cat >>confdefs.h
<<_ACEOF
1828 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1832 cat >>confdefs.h
<<_ACEOF
1833 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1837 cat >>confdefs.h
<<_ACEOF
1838 #define PACKAGE_STRING "$PACKAGE_STRING"
1842 cat >>confdefs.h
<<_ACEOF
1843 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1847 # Let the site file select an alternate cache file if it wants to.
1848 # Prefer an explicitly selected file to automatically selected ones.
1851 if test -n "$CONFIG_SITE"; then
1852 ac_site_file1
=$CONFIG_SITE
1853 elif test "x$prefix" != xNONE
; then
1854 ac_site_file1
=$prefix/share
/config.site
1855 ac_site_file2
=$prefix/etc
/config.site
1857 ac_site_file1
=$ac_default_prefix/share
/config.site
1858 ac_site_file2
=$ac_default_prefix/etc
/config.site
1860 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1862 test "x$ac_site_file" = xNONE
&& continue
1863 if test -r "$ac_site_file"; then
1864 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1865 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1866 sed 's/^/| /' "$ac_site_file" >&5
1871 if test -r "$cache_file"; then
1872 # Some versions of bash will fail to source /dev/null (special
1873 # files actually), so we avoid doing that.
1874 if test -f "$cache_file"; then
1875 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1876 $as_echo "$as_me: loading cache $cache_file" >&6;}
1878 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1879 *) .
"./$cache_file";;
1883 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1884 $as_echo "$as_me: creating cache $cache_file" >&6;}
1888 # Check that the precious variables saved in the cache have kept the same
1890 ac_cache_corrupted
=false
1891 for ac_var
in $ac_precious_vars; do
1892 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1893 eval ac_new_set
=\
$ac_env_${ac_var}_set
1894 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1895 eval ac_new_val
=\
$ac_env_${ac_var}_value
1896 case $ac_old_set,$ac_new_set in
1898 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1899 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1900 ac_cache_corrupted
=: ;;
1902 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1903 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1904 ac_cache_corrupted
=: ;;
1907 if test "x$ac_old_val" != "x$ac_new_val"; then
1908 # differences in whitespace do not lead to failure.
1909 ac_old_val_w
=`echo x $ac_old_val`
1910 ac_new_val_w
=`echo x $ac_new_val`
1911 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1912 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1913 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1914 ac_cache_corrupted
=:
1916 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1917 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1918 eval $ac_var=\
$ac_old_val
1920 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1921 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1922 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1923 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1926 # Pass precious variables to config.status.
1927 if test "$ac_new_set" = set; then
1929 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1930 *) ac_arg
=$ac_var=$ac_new_val ;;
1932 case " $ac_configure_args " in
1933 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1934 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1938 if $ac_cache_corrupted; then
1939 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1941 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1942 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1943 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1944 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1945 { (exit 1); exit 1; }; }
1973 ac_cpp
='$CPP $CPPFLAGS'
1974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1980 ac_config_headers
="$ac_config_headers config.h"
1983 for ac_dir
in scripts
"$srcdir"/scripts
; do
1984 if test -f "$ac_dir/install-sh"; then
1986 ac_install_sh
="$ac_aux_dir/install-sh -c"
1988 elif test -f "$ac_dir/install.sh"; then
1990 ac_install_sh
="$ac_aux_dir/install.sh -c"
1992 elif test -f "$ac_dir/shtool"; then
1994 ac_install_sh
="$ac_aux_dir/shtool install -c"
1998 if test -z "$ac_aux_dir"; then
1999 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2000 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2001 { (exit 1); exit 1; }; }
2004 # These three variables are undocumented and unsupported,
2005 # and are intended to be withdrawn in a future Autoconf release.
2006 # They can cause serious problems if a builder's source tree is in a directory
2007 # whose full name contains unusual characters.
2008 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2009 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2010 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2014 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
2015 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
2016 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
2017 { (exit 1); exit 1; }; }
2020 # This will get text that should go into config.make.
2023 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
2025 # Check whether --with-gd was given.
2026 if test "${with_gd+set}" = set; then
2027 withval
=$with_gd; case "$with_gd" in
2029 *) libgd_include
="-I$withval/include"
2030 libgd_ldflags
="-L$withval/lib" ;;
2036 # Check whether --with-gd-include was given.
2037 if test "${with_gd_include+set}" = set; then
2038 withval
=$with_gd_include; case "$with_gd_include" in
2040 *) libgd_include
="-I$withval" ;;
2046 # Check whether --with-gd-lib was given.
2047 if test "${with_gd_lib+set}" = set; then
2048 withval
=$with_gd_lib; case "$with_gd_lib" in
2050 *) libgd_ldflags
="-L$withval" ;;
2056 if test -n "$libgd_include"; then
2057 config_vars
="$config_vars
2058 CFLAGS-memusagestat.c = $libgd_include"
2060 if test -n "$libgd_ldflags"; then
2061 config_vars
="$config_vars
2062 libgd-LDFLAGS = $libgd_ldflags"
2066 # Check whether --with-fp was given.
2067 if test "${with_fp+set}" = set; then
2068 withval
=$with_fp; with_fp
=$withval
2075 # Check whether --with-binutils was given.
2076 if test "${with_binutils+set}" = set; then
2077 withval
=$with_binutils; path_binutils
=$withval
2083 # Check whether --with-elf was given.
2084 if test "${with_elf+set}" = set; then
2085 withval
=$with_elf; elf
=$withval
2091 # Check whether --with-selinux was given.
2092 if test "${with_selinux+set}" = set; then
2093 withval
=$with_selinux; with_selinux
=$withval
2099 # Check whether --with-xcoff was given.
2100 if test "${with_xcoff+set}" = set; then
2101 withval
=$with_xcoff; xcoff
=$withval
2107 # Check whether --with-cvs was given.
2108 if test "${with_cvs+set}" = set; then
2109 withval
=$with_cvs; with_cvs
=$withval
2114 if test "$with_cvs" = yes; then
2115 if test -d $srcdir/CVS
&& grep :pserver
: $srcdir/CVS
/Root
> /dev
/null
2123 # Check whether --with-headers was given.
2124 if test "${with_headers+set}" = set; then
2125 withval
=$with_headers; sysheaders
=$withval
2131 # Check whether --enable-sanity-checks was given.
2132 if test "${enable_sanity_checks+set}" = set; then
2133 enableval
=$enable_sanity_checks; enable_sanity
=$enableval
2140 # Check whether --enable-check-abi was given.
2141 if test "${enable_check_abi+set}" = set; then
2142 enableval
=$enable_check_abi; enable_check_abi
=$enableval
2149 # Check whether --enable-shared was given.
2150 if test "${enable_shared+set}" = set; then
2151 enableval
=$enable_shared; shared
=$enableval
2156 # Check whether --enable-profile was given.
2157 if test "${enable_profile+set}" = set; then
2158 enableval
=$enable_profile; profile
=$enableval
2163 # Check whether --enable-omitfp was given.
2164 if test "${enable_omitfp+set}" = set; then
2165 enableval
=$enable_omitfp; omitfp
=$enableval
2170 # Check whether --enable-bounded was given.
2171 if test "${enable_bounded+set}" = set; then
2172 enableval
=$enable_bounded; bounded
=$enableval
2177 # Check whether --enable-versioning was given.
2178 if test "${enable_versioning+set}" = set; then
2179 enableval
=$enable_versioning; enable_versioning
=$enableval
2181 enable_versioning
=yes
2185 # Check whether --enable-oldest-abi was given.
2186 if test "${enable_oldest_abi+set}" = set; then
2187 enableval
=$enable_oldest_abi; oldest_abi
=$enableval
2192 if test "$oldest_abi" = yes ||
test "$oldest_abi" = no
; then
2195 cat >>confdefs.h
<<_ACEOF
2196 #define GLIBC_OLDEST_ABI "$oldest_abi"
2202 # Check whether --enable-stackguard-randomization was given.
2203 if test "${enable_stackguard_randomization+set}" = set; then
2204 enableval
=$enable_stackguard_randomization; enable_stackguard_randomize
=$enableval
2206 enable_stackguard_randomize
=no
2209 if test "$enable_stackguard_randomize" = yes; then
2210 cat >>confdefs.h
<<\_ACEOF
2211 #define ENABLE_STACKGUARD_RANDOMIZE 1
2216 # Check whether --enable-add-ons was given.
2217 if test "${enable_add_ons+set}" = set; then
2218 enableval
=$enable_add_ons;
2225 # Check whether --with-tls was given.
2226 if test "${with_tls+set}" = set; then
2227 withval
=$with_tls; usetls
=$withval
2234 # Check whether --with-__thread was given.
2235 if test "${with___thread+set}" = set; then
2236 withval
=$with___thread; use__thread
=$withval
2242 # Check whether --enable-hidden-plt was given.
2243 if test "${enable_hidden_plt+set}" = set; then
2244 enableval
=$enable_hidden_plt; hidden
=$enableval
2249 if test "x$hidden" = xno
; then
2250 cat >>confdefs.h
<<\_ACEOF
2256 # Check whether --enable-bind-now was given.
2257 if test "${enable_bind_now+set}" = set; then
2258 enableval
=$enable_bind_now; bindnow
=$enableval
2265 # Check whether --enable-static-nss was given.
2266 if test "${enable_static_nss+set}" = set; then
2267 enableval
=$enable_static_nss; static_nss
=$enableval
2272 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
2274 cat >>confdefs.h
<<\_ACEOF
2275 #define DO_STATIC_NSS 1
2280 # Check whether --enable-force-install was given.
2281 if test "${enable_force_install+set}" = set; then
2282 enableval
=$enable_force_install; force_install
=$enableval
2289 # Check whether --enable-kernel was given.
2290 if test "${enable_kernel+set}" = set; then
2291 enableval
=$enable_kernel; minimum_kernel
=$enableval
2294 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
2295 # Better nothing than this.
2298 if test "$minimum_kernel" = current
; then
2299 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
2303 # Check whether --enable-all-warnings was given.
2304 if test "${enable_all_warnings+set}" = set; then
2305 enableval
=$enable_all_warnings; all_warnings
=$enableval
2310 # Check whether --enable-multi-arch was given.
2311 if test "${enable_multi_arch+set}" = set; then
2312 enableval
=$enable_multi_arch; multi_arch
=$enableval
2317 if test x
"$multi_arch" = xyes
; then
2318 cat >>confdefs.h
<<\_ACEOF
2319 #define USE_MULTIARCH 1
2322 multi_arch_d
=/multiarch
2326 # Check whether --enable-experimental-malloc was given.
2327 if test "${enable_experimental_malloc+set}" = set; then
2328 enableval
=$enable_experimental_malloc; experimental_malloc
=$enableval
2333 # Check whether --enable-nss-crypt was given.
2334 if test "${enable_nss_crypt+set}" = set; then
2335 enableval
=$enable_nss_crypt; nss_crypt
=$enableval
2340 if test x
$nss_crypt = xyes
; then
2341 nss_includes
=-I$
(nss-config
--includedir 2>/dev
/null
)
2342 if test $?
-ne 0; then
2343 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
2344 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
2345 { (exit 1); exit 1; }; }
2347 old_CFLAGS
="$CFLAGS"
2348 CFLAGS
="$CFLAGS $nss_includes"
2350 ac_cpp
='$CPP $CPPFLAGS'
2351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2354 if test -n "$ac_tool_prefix"; then
2355 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2356 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 $as_echo_n "checking for $ac_word... " >&6; }
2359 if test "${ac_cv_prog_CC+set}" = set; then
2360 $as_echo_n "(cached) " >&6
2362 if test -n "$CC"; then
2363 ac_cv_prog_CC
="$CC" # Let the user override the test.
2365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir
=.
2370 for ac_exec_ext
in '' $ac_executable_extensions; do
2371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2373 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 if test -n "$CC"; then
2384 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2385 $as_echo "$CC" >&6; }
2387 { $as_echo "$as_me:$LINENO: result: no" >&5
2388 $as_echo "no" >&6; }
2393 if test -z "$ac_cv_prog_CC"; then
2395 # Extract the first word of "gcc", so it can be a program name with args.
2396 set dummy gcc
; ac_word
=$2
2397 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2398 $as_echo_n "checking for $ac_word... " >&6; }
2399 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2400 $as_echo_n "(cached) " >&6
2402 if test -n "$ac_ct_CC"; then
2403 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2409 test -z "$as_dir" && as_dir
=.
2410 for ac_exec_ext
in '' $ac_executable_extensions; do
2411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412 ac_cv_prog_ac_ct_CC
="gcc"
2413 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2423 if test -n "$ac_ct_CC"; then
2424 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2425 $as_echo "$ac_ct_CC" >&6; }
2427 { $as_echo "$as_me:$LINENO: result: no" >&5
2428 $as_echo "no" >&6; }
2431 if test "x$ac_ct_CC" = x
; then
2434 case $cross_compiling:$ac_tool_warned in
2436 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2438 ac_tool_warned
=yes ;;
2446 if test -z "$CC"; then
2447 if test -n "$ac_tool_prefix"; then
2448 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2449 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2450 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if test "${ac_cv_prog_CC+set}" = set; then
2453 $as_echo_n "(cached) " >&6
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC
="$CC" # Let the user override the test.
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 for ac_exec_ext
in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2466 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 if test -n "$CC"; then
2477 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2478 $as_echo "$CC" >&6; }
2480 { $as_echo "$as_me:$LINENO: result: no" >&5
2481 $as_echo "no" >&6; }
2487 if test -z "$CC"; then
2488 # Extract the first word of "cc", so it can be a program name with args.
2489 set dummy cc
; ac_word
=$2
2490 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 $as_echo_n "(cached) " >&6
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC
="$CC" # Let the user override the test.
2499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir
=.
2504 for ac_exec_ext
in '' $ac_executable_extensions; do
2505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2506 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2507 ac_prog_rejected
=yes
2511 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 if test $ac_prog_rejected = yes; then
2519 # We found a bogon in the path, so make sure we never use it.
2520 set dummy
$ac_cv_prog_CC
2522 if test $# != 0; then
2523 # We chose a different compiler from the bogus one.
2524 # However, it has the same basename, so the bogon will be chosen
2525 # first if we set CC to just the basename; use the full file name.
2527 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2533 if test -n "$CC"; then
2534 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2535 $as_echo "$CC" >&6; }
2537 { $as_echo "$as_me:$LINENO: result: no" >&5
2538 $as_echo "no" >&6; }
2543 if test -z "$CC"; then
2544 if test -n "$ac_tool_prefix"; then
2545 for ac_prog
in cl.exe
2547 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2548 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2549 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if test "${ac_cv_prog_CC+set}" = set; then
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$CC"; then
2555 ac_cv_prog_CC
="$CC" # Let the user override the test.
2557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir
=.
2562 for ac_exec_ext
in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2565 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 if test -n "$CC"; then
2576 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2577 $as_echo "$CC" >&6; }
2579 { $as_echo "$as_me:$LINENO: result: no" >&5
2580 $as_echo "no" >&6; }
2584 test -n "$CC" && break
2587 if test -z "$CC"; then
2589 for ac_prog
in cl.exe
2591 # Extract the first word of "$ac_prog", so it can be a program name with args.
2592 set dummy
$ac_prog; ac_word
=$2
2593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 $as_echo_n "checking for $ac_word... " >&6; }
2595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2596 $as_echo_n "(cached) " >&6
2598 if test -n "$ac_ct_CC"; then
2599 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir
=.
2606 for ac_exec_ext
in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_ac_ct_CC
="$ac_prog"
2609 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2619 if test -n "$ac_ct_CC"; then
2620 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2621 $as_echo "$ac_ct_CC" >&6; }
2623 { $as_echo "$as_me:$LINENO: result: no" >&5
2624 $as_echo "no" >&6; }
2628 test -n "$ac_ct_CC" && break
2631 if test "x$ac_ct_CC" = x
; then
2634 case $cross_compiling:$ac_tool_warned in
2636 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2638 ac_tool_warned
=yes ;;
2647 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2649 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2650 See \`config.log' for more details." >&5
2651 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2652 See \`config.log' for more details." >&2;}
2653 { (exit 1); exit 1; }; }; }
2655 # Provide some information about the compiler.
2656 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2659 { (ac_try
="$ac_compiler --version >&5"
2661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2665 $as_echo "$ac_try_echo") >&5
2666 (eval "$ac_compiler --version >&5") 2>&5
2668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }
2670 { (ac_try="$ac_compiler -v >&5"
2672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2673 *) ac_try_echo
=$ac_try;;
2675 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2676 $as_echo "$ac_try_echo") >&5
2677 (eval "$ac_compiler -v >&5") 2>&5
2679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }
2681 { (ac_try
="$ac_compiler -V >&5"
2683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2687 $as_echo "$ac_try_echo") >&5
2688 (eval "$ac_compiler -V >&5") 2>&5
2690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }
2694 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2695 $as_echo_n "checking for suffix of object files... " >&6; }
2696 if test "${ac_cv_objext+set}" = set; then
2697 $as_echo_n "(cached) " >&6
2699 cat >conftest.$ac_ext <<_ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2714 rm -f conftest.o conftest.obj
2715 if { (ac_try="$ac_compile"
2717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2718 *) ac_try_echo
=$ac_try;;
2720 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2721 $as_echo "$ac_try_echo") >&5
2722 (eval "$ac_compile") 2>&5
2724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; then
2726 for ac_file
in conftest.o conftest.obj conftest.
*; do
2727 test -f "$ac_file" ||
continue;
2729 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2730 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.
$ac_ext >&5
2738 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2740 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2741 See \`config.log' for more details." >&5
2742 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2743 See \`config.log' for more details." >&2;}
2744 { (exit 1); exit 1; }; }; }
2747 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2749 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2750 $as_echo "$ac_cv_objext" >&6; }
2751 OBJEXT
=$ac_cv_objext
2753 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2754 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2755 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2756 $as_echo_n "(cached) " >&6
2758 cat >conftest.
$ac_ext <<_ACEOF
2761 cat confdefs.h
>>conftest.
$ac_ext
2762 cat >>conftest.
$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2776 rm -f conftest.
$ac_objext
2777 if { (ac_try
="$ac_compile"
2779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2783 $as_echo "$ac_try_echo") >&5
2784 (eval "$ac_compile") 2>conftest.er1
2786 grep -v '^ *+' conftest.er1 >conftest.err
2788 cat conftest.err >&5
2789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } && {
2791 test -z "$ac_c_werror_flag" ||
2792 test ! -s conftest.err
2793 } && test -s conftest.$ac_objext; then
2796 $as_echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2806 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2807 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2808 if test $ac_compiler_gnu = yes; then
2813 ac_test_CFLAGS=${CFLAGS+set}
2814 ac_save_CFLAGS=$CFLAGS
2815 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2816 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2817 if test "${ac_cv_prog_cc_g+set}" = set; then
2818 $as_echo_n "(cached) " >&6
2820 ac_save_c_werror_flag=$ac_c_werror_flag
2821 ac_c_werror_flag=yes
2824 cat >conftest.$ac_ext <<_ACEOF
2827 cat confdefs.h >>conftest.$ac_ext
2828 cat >>conftest.$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2839 rm -f conftest.$ac_objext
2840 if { (ac_try="$ac_compile"
2842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2843 *) ac_try_echo
=$ac_try;;
2845 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_compile") 2>conftest.er1
2849 grep -v '^ *+' conftest.er1
>conftest.err
2851 cat conftest.err
>&5
2852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } && {
2854 test -z "$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.
$ac_objext; then
2859 $as_echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.
$ac_ext >&5
2863 cat >conftest.
$ac_ext <<_ACEOF
2866 cat confdefs.h
>>conftest.
$ac_ext
2867 cat >>conftest.
$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2878 rm -f conftest.
$ac_objext
2879 if { (ac_try
="$ac_compile"
2881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2885 $as_echo "$ac_try_echo") >&5
2886 (eval "$ac_compile") 2>conftest.er1
2888 grep -v '^ *+' conftest.er1 >conftest.err
2890 cat conftest.err >&5
2891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } && {
2893 test -z "$ac_c_werror_flag" ||
2894 test ! -s conftest.err
2895 } && test -s conftest.$ac_objext; then
2898 $as_echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2901 ac_c_werror_flag=$ac_save_c_werror_flag
2903 cat >conftest.$ac_ext <<_ACEOF
2906 cat confdefs.h >>conftest.$ac_ext
2907 cat >>conftest.$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2918 rm -f conftest.$ac_objext
2919 if { (ac_try="$ac_compile"
2921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2922 *) ac_try_echo
=$ac_try;;
2924 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2925 $as_echo "$ac_try_echo") >&5
2926 (eval "$ac_compile") 2>conftest.er1
2928 grep -v '^ *+' conftest.er1
>conftest.err
2930 cat conftest.err
>&5
2931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } && {
2933 test -z "$ac_c_werror_flag" ||
2934 test ! -s conftest.err
2935 } && test -s conftest.
$ac_objext; then
2938 $as_echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.
$ac_ext >&5
2944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2951 ac_c_werror_flag
=$ac_save_c_werror_flag
2953 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2954 $as_echo "$ac_cv_prog_cc_g" >&6; }
2955 if test "$ac_test_CFLAGS" = set; then
2956 CFLAGS
=$ac_save_CFLAGS
2957 elif test $ac_cv_prog_cc_g = yes; then
2958 if test "$GCC" = yes; then
2964 if test "$GCC" = yes; then
2970 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2971 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2972 if test "${ac_cv_prog_cc_c89+set}" = set; then
2973 $as_echo_n "(cached) " >&6
2975 ac_cv_prog_cc_c89
=no
2977 cat >conftest.
$ac_ext <<_ACEOF
2980 cat confdefs.h
>>conftest.
$ac_ext
2981 cat >>conftest.
$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2985 #include <sys/types.h>
2986 #include <sys/stat.h>
2987 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2988 struct buf { int x; };
2989 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2990 static char *e (p, i)
2996 static char *f (char * (*g) (char **, int), char **p, ...)
3001 s = g (p, va_arg (v,int));
3006 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3007 function prototypes and stuff, but not '\xHH' hex character constants.
3008 These don't provoke an error unfortunately, instead are silently treated
3009 as 'x'. The following induces an error, until -std is added to get
3010 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3011 array size at least. It's necessary to write '\x00'==0 to get something
3012 that's true only with -std. */
3013 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3015 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3016 inside strings and character constants. */
3018 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3020 int test (int i, double x);
3021 struct s1 {int (*f) (int a);};
3022 struct s2 {int (*f) (double a);};
3023 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3029 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3034 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3035 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3037 CC
="$ac_save_CC $ac_arg"
3038 rm -f conftest.
$ac_objext
3039 if { (ac_try
="$ac_compile"
3041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3045 $as_echo "$ac_try_echo") >&5
3046 (eval "$ac_compile") 2>conftest.er1
3048 grep -v '^ *+' conftest.er1 >conftest.err
3050 cat conftest.err >&5
3051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); } && {
3053 test -z "$ac_c_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then
3056 ac_cv_prog_cc_c89=$ac_arg
3058 $as_echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3064 rm -f core conftest.err conftest.$ac_objext
3065 test "x$ac_cv_prog_cc_c89" != "xno" && break
3067 rm -f conftest.$ac_ext
3072 case "x$ac_cv_prog_cc_c89" in
3074 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3075 $as_echo "none needed" >&6; } ;;
3077 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3078 $as_echo "unsupported" >&6; } ;;
3080 CC="$CC $ac_cv_prog_cc_c89"
3081 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3082 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3087 ac_cpp='$CPP $CPPFLAGS'
3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3093 cat >conftest.$ac_ext <<_ACEOF
3096 #include <nsslowhash.h>
3097 void f (void) { NSSLOW_Init (); }
3099 rm -f conftest.$ac_objext
3100 if { (ac_try="$ac_compile"
3102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3103 *) ac_try_echo
=$ac_try;;
3105 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3106 $as_echo "$ac_try_echo") >&5
3107 (eval "$ac_compile") 2>conftest.er1
3109 grep -v '^ *+' conftest.er1
>conftest.err
3111 cat conftest.err
>&5
3112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); } && {
3114 test -z "$ac_c_werror_flag" ||
3115 test ! -s conftest.err
3116 } && test -s conftest.
$ac_objext; then
3117 libc_cv_nss_crypt
=yes
3119 $as_echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.
$ac_ext >&5
3122 { { $as_echo "$as_me:$LINENO: error:
3123 cannot find NSS headers with lowlevel hash function interfaces" >&5
3124 $as_echo "$as_me: error:
3125 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3126 { (exit 1); exit 1; }; }
3129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3131 LIBS
="$LIBS -lfreebl3"
3132 cat >conftest.
$ac_ext <<_ACEOF
3135 cat confdefs.h
>>conftest.
$ac_ext
3136 cat >>conftest.
$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3140 #include <nsslowhash.h>
3149 rm -f conftest.
$ac_objext conftest
$ac_exeext
3150 if { (ac_try
="$ac_link"
3152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3156 $as_echo "$ac_try_echo") >&5
3157 (eval "$ac_link") 2>conftest.er1
3159 grep -v '^ *+' conftest.er1 >conftest.err
3161 cat conftest.err >&5
3162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_c_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest$ac_exeext && {
3167 test "$cross_compiling" = yes ||
3168 $as_test_x conftest$ac_exeext
3170 libc_cv_nss_crypt=yes
3172 $as_echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 { { $as_echo "$as_me:$LINENO: error:
3176 cannot link program using lowlevel NSS hash functions" >&5
3177 $as_echo "$as_me: error:
3178 cannot link program using lowlevel NSS hash functions" >&2;}
3179 { (exit 1); exit 1; }; }
3182 rm -rf conftest.dSYM
3183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3184 conftest$ac_exeext conftest.$ac_ext
3185 CFLAGS="$old_CFLAGS"
3188 libc_cv_nss_crypt=no
3192 # Make sure we can run config.sub.
3193 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3194 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3195 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3196 { (exit 1); exit 1; }; }
3198 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3199 $as_echo_n "checking build system type... " >&6; }
3200 if test "${ac_cv_build+set}" = set; then
3201 $as_echo_n "(cached) " >&6
3203 ac_build_alias=$build_alias
3204 test "x$ac_build_alias" = x &&
3205 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3206 test "x$ac_build_alias" = x &&
3207 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3208 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3209 { (exit 1); exit 1; }; }
3210 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3211 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3212 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3213 { (exit 1); exit 1; }; }
3216 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3217 $as_echo "$ac_cv_build" >&6; }
3218 case $ac_cv_build in
3220 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3221 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3222 { (exit 1); exit 1; }; };;
3225 ac_save_IFS=$IFS; IFS='-'
3231 # Remember, the first character of IFS is used to create $*,
3232 # except with old shells:
3235 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3238 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3239 $as_echo_n "checking host system type... " >&6; }
3240 if test "${ac_cv_host+set}" = set; then
3241 $as_echo_n "(cached) " >&6
3243 if test "x$host_alias" = x; then
3244 ac_cv_host=$ac_cv_build
3246 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3247 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3248 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3249 { (exit 1); exit 1; }; }
3253 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3254 $as_echo "$ac_cv_host" >&6; }
3257 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3258 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3259 { (exit 1); exit 1; }; };;
3262 ac_save_IFS=$IFS; IFS='-'
3268 # Remember, the first character of IFS is used to create $*,
3269 # except with old shells:
3272 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3276 # The way shlib-versions is used to generate soversions.mk uses a
3277 # fairly simplistic model for name recognition that can't distinguish
3278 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3279 # of `gnu
*' here to be `gnu-gnu*' just so that shlib-versions can
3280 # tell. This doesn't get used much beyond that, so it's fairly safe.
3285 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3289 # We keep the original values in `$config_*' and never modify them, so we
3290 # can write them unchanged into config.make. Everything else uses
3291 # $machine, $vendor, and $os, and changes them whenever convenient.
3292 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3294 # Don't allow vendor == "unknown"
3295 test "$config_vendor" = unknown
&& config_vendor
=
3296 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3298 # Some configurations imply other options.
3300 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3301 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
3303 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
3304 # These systems (almost) always use the ELF format.
3308 # These systems are always xcoff
3314 # The configure fragment of an add-on port can modify these to supplement
3315 # or override the table in the case statement below. No fragment should
3316 # ever change the config_* variables, however.
3317 machine
=$config_machine
3318 vendor
=$config_vendor
3322 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3324 if test "$machine" = rs6000
; then
3328 # Braindead PowerPC box with absolutely no FPU.
3329 case "$machine-$host_os" in
3337 # Check whether --with-cpu was given.
3338 if test "${with_cpu+set}" = set; then
3339 withval
=$with_cpu; case "$withval" in
3340 yes|
'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
3341 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
3342 { (exit 1); exit 1; }; } ;;
3344 *) submachine
="$withval" ;;
3350 # An add-on can set this when it wants to disable the sanity check below.
3358 case "$enable_add_ons" in
3361 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
3362 sed 's@/[^/]*$@@' | sort | uniq`
3363 add_ons_automatic
=yes
3365 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
3366 add_ons_automatic
=no
;;
3372 if test x
"$add_ons" != x
; then
3373 for f
in $add_ons; do
3374 # Some sanity checks
3377 { { $as_echo "$as_me:$LINENO: error:
3378 *** It seems that you're using an old \`crypt' add-on. crypt is now
3379 *** part of glibc and using the old add-on will not work with this
3380 *** release. Start again with fresh sources and without the old
3381 *** \`crypt' add-on." >&5
3382 $as_echo "$as_me: error:
3383 *** It seems that you're using an old \`crypt' add-on. crypt is now
3384 *** part of glibc and using the old add-on will not work with this
3385 *** release. Start again with fresh sources and without the old
3386 *** \`crypt' add-on." >&2;}
3387 { (exit 1); exit 1; }; }
3390 { { $as_echo "$as_me:$LINENO: error:
3391 *** It seems that you're using an old \`localedata' add-on. localedata
3392 *** is now part of glibc and using the old add-on will not work with
3393 *** this release. Start again with fresh sources and without the old
3394 *** \`localedata' add-on." >&5
3395 $as_echo "$as_me: error:
3396 *** It seems that you're using an old \`localedata' add-on. localedata
3397 *** is now part of glibc and using the old add-on will not work with
3398 *** this release. Start again with fresh sources and without the old
3399 *** \`localedata' add-on." >&2;}
3400 { (exit 1); exit 1; }; }
3405 # Now source each add-on's configure fragment.
3406 # The fragments can use $srcdir/$libc_add_on to find themselves,
3407 # and test $add_ons_automatic to see if they were explicitly requested.
3408 # A fragment can clear (or even change) $libc_add_on to affect
3409 # whether it goes into the list to be actually used in the build.
3411 for libc_add_on
in $add_ons; do
3412 # Test whether such a directory really exists.
3413 # It can be absolute, or relative to $srcdir, or relative to the build dir.
3414 case "$libc_add_on" in
3416 libc_add_on_srcdir
=$libc_add_on
3419 test -d "$srcdir/$libc_add_on" ||
{
3420 if test -d "$libc_add_on"; then
3421 libc_add_on
="`pwd`/$libc_add_on"
3423 { { $as_echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
3424 $as_echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
3425 { (exit 1); exit 1; }; }
3428 libc_add_on_srcdir
=$srcdir/$libc_add_on
3432 libc_add_on_frag
=$libc_add_on_srcdir/configure
3433 libc_add_on_canonical
=
3434 if test -r "$libc_add_on_frag"; then
3435 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
3436 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
3437 libc_add_on_canonical
=unknown
3438 libc_add_on_subdirs
=
3439 .
"$libc_add_on_frag"
3440 test -z "$libc_add_on" ||
{
3441 configured_add_ons
="$configured_add_ons $libc_add_on"
3442 if test "x$libc_add_on_canonical" = xunknown
; then
3443 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
3444 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
3445 { (exit 1); exit 1; }; }
3447 for d
in $libc_add_on_subdirs; do
3448 case "$libc_add_on" in
3449 /*) subdir_srcdir
="$libc_add_on" ;;
3450 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
3454 d
="${libc_add_on_canonical:-$libc_add_on}"
3460 subdir_srcdir
="$subdir_srcdir/$d"
3463 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
3464 add_on_subdirs
="$add_on_subdirs $d"
3465 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
3466 $d-srcdir = $subdir_srcdir"
3470 if test -n "$libc_add_on"; then
3471 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
3473 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
3474 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
3475 for frag
in $frags; do
3476 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3477 echo $ECHO_N "$name $ECHO_C" >&6
3480 { $as_echo "$as_me:$LINENO: result: " >&5
3483 use_add_ons
="$use_add_ons $libc_add_on"
3484 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
3485 test -z "$libc_add_on_canonical" ||
3486 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
3489 # Use echo to strip excess whitespace.
3490 add_ons
="`echo $use_add_ons`"
3497 ### I put this here to prevent those annoying emails from people who cannot
3498 ### read and try to compile glibc on unsupported platforms. --drepper
3500 ### By using the undocumented --enable-hacker-mode option for configure
3501 ### one can skip this test to make the configuration not fail for unsupported
3504 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
3505 case "$machine-$host_os" in
3506 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
3509 echo "*** The GNU C library is currently not available for this platform."
3510 echo "*** So far nobody cared to port it and if there is no volunteer it"
3511 echo "*** might never happen. So, if you have interest to see glibc on"
3512 echo "*** this platform visit"
3513 echo "*** http://www.gnu.org/software/libc/porting.html"
3514 echo "*** and join the group of porters"
3520 # Expand the configuration machine name into a subdirectory by architecture
3521 # type and particular chip. If an add-on configure fragment already set
3522 # base_machine, we don't change it.
3523 test -n "$base_machine" ||
case "$machine" in
3524 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
3525 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
3526 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
3527 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
3528 ia64
) base_machine
=ia64 machine
=ia64
;;
3529 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
3530 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
3531 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
3532 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
3533 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
3534 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
3535 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
3536 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
3538 base_machine
=sparc machine
=sparc
/sparc32
;;
3539 sparcv8 | supersparc | hypersparc
)
3540 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
3541 sparcv8plus | sparcv8plusa | sparcv9
)
3542 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
3543 sparcv8plusb | sparcv9b
)
3544 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
3546 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
3548 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
3550 base_machine
=sparc machine
=sparc
/sparc64
;;
3552 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
3554 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
3556 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
3557 *) base_machine
=$machine ;;
3561 if test "$base_machine" = "i386"; then
3562 cat >>confdefs.h
<<\_ACEOF
3563 #define USE_REGPARMS 1
3568 # Compute the list of sysdep directories for this configuration.
3569 # This can take a while to compute.
3570 sysdep_dir
=$srcdir/sysdeps
3571 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
3572 $as_echo_n "checking sysdep dirs... " >&6; }
3573 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
3574 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
3576 test "x$base_os" != x ||
case "$os" in
3578 base_os
=mach
/hurd
;;
3579 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
3580 base_os
=unix
/bsd
/bsd4.4
;;
3581 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
3583 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
3584 base_os
=unix
/sysv
;;
3586 base_os
=unix
/sysv
/irix
6/$os ;;
3588 base_os
=unix
/sysv
/sysv4
;;
3590 base_os
=unix
/sysv
/hpux
/$os ;;
3592 base_os
=unix
/sysv
/aix
/aix4.3
;;
3594 base_os
=standalone
;;
3597 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
3600 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
3604 o
=`echo $tail | sed 's/[0-9]*$//'`
3605 if test $o != $tail; then
3608 # For linux-gnu, try linux-gnu, then linux.
3609 o
=`echo $tail | sed 's/-.*$//'`
3610 if test $o != $tail; then
3614 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
3617 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
3623 # For sparc/sparc32, try sparc/sparc32 and then sparc.
3625 tail=$machine${submachine:+/$submachine}
3626 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
3628 # Prepend the machine's FPU directory unless --without-fp.
3629 if test "$with_fp" = yes; then
3630 mach
="$mach /$1/fpu"
3632 mach
="$mach /$1/nofpu"
3639 # Find what sysdep directories exist.
3642 for b
in $base ''; do
3643 for m0
in $mach ''; do
3644 for v
in /$vendor ''; do
3645 test "$v" = / && continue
3646 for o
in /$ostry ''; do
3647 test "$o" = / && continue
3648 for m
in $multi_arch_d $mach ''; do
3649 for d
in $add_ons_pfx ''; do
3650 for a
in $add_ons_sfx ''; do
3651 if test -n "$m0$m0sub$b$v$o$m$msub"; then
3652 try_srcdir
="${srcdir}/"
3656 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
3657 test -n "$enable_debug_configure" &&
3658 echo "$0 DEBUG: try $try" >&2
3659 if test -d "$try_srcdir$try"; then
3660 sysnames
="$sysnames $try"
3661 { test -n "$o" ||
test -n "$b"; } && os_used
=t
3662 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
3664 x
*/$submachine) submachine_used
=t
;;
3666 if test -n "$d"; then
3667 case "$sysnames_add_ons" in
3669 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
3682 if test -z "$os_used" && test "$os" != none
; then
3683 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
3684 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
3685 { (exit 1); exit 1; }; }
3687 if test -z "$machine_used" && test "$machine" != none
; then
3688 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
3689 $as_echo "$as_me: error: The $machine is not supported." >&2;}
3690 { (exit 1); exit 1; }; }
3692 if test -z "$submachine_used" && test -n "$submachine"; then
3693 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
3694 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
3695 { (exit 1); exit 1; }; }
3699 # We have now validated the configuration.
3702 # If using ELF, look for an `elf' subdirectory of each machine directory.
3703 # We prepend these rather than inserting them whereever the machine appears
3704 # because things specified by the machine's ELF ABI should override
3705 # OS-specific things, and should always be the same for any OS on the
3706 # machine (otherwise what's the point of an ABI?).
3707 if test "$elf" = yes; then
3709 for d
in $add_ons_pfx ''; do
3711 if test -d $srcdir/${d}sysdeps
$m/elf
; then
3712 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
3716 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
3720 # Expand the list of system names into a full list of directories
3721 # from each element's parent name and Implies file (if present).
3724 while test $# -gt 0; do
3728 case " $names " in *" $name "*)
3729 # Already in the list.
3733 # Report each name as we discover it, so there is no long pause in output.
3734 echo $ECHO_N "$name $ECHO_C" >&6
3736 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
3740 *) xsrcdir
=$srcdir/ ;;
3742 test -n "$enable_debug_configure" &&
3743 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
3745 if test -f $xsrcdir$name/Implies
; then
3746 # Collect more names from the `Implies' file (removing comments).
3747 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
3749 for x
in $implied_candidate; do
3751 if test -d $xsrcdir$name_base/$x; then
3752 implied
="$implied $name_base/$x";
3755 for d
in $add_ons_pfx ''; do
3756 try
="${d}sysdeps/$x"
3759 *) try_srcdir
=$srcdir/ ;;
3761 test -n "$enable_debug_configure" &&
3762 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
3763 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
3765 implied
="$implied $try"
3767 case "$sysnames_add_ons" in
3769 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
3773 if test $found = no
; then
3774 { $as_echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
3775 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
3782 # Add NAME to the list of names.
3783 names
="$names $name"
3785 # Find the parent of NAME, using the empty string if it has none.
3786 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
3788 # Add the names implied by NAME, and NAME's parent (if it has one), to
3789 # the list of names to be processed (the argument list). We prepend the
3790 # implied names to the list and append the parent. We want implied
3791 # directories to come before further directories inferred from the
3792 # configuration components; this ensures that for sysv4, unix/common
3793 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
3795 sysnames
="`echo $implied $* $parent`"
3796 test -n "$sysnames" && set $sysnames
3799 # Add the default directories.
3800 default_sysnames
=sysdeps
/generic
3801 if test "$elf" = yes; then
3802 default_sysnames
="sysdeps/generic/elf $default_sysnames"
3804 sysnames
="$names $default_sysnames"
3806 # The other names were emitted during the scan.
3807 { $as_echo "$as_me:$LINENO: result: $default_sysnames" >&5
3808 $as_echo "$default_sysnames" >&6; }
3810 # Collect the list of add-ons that supply partial sysdeps trees.
3812 for add_on
in $add_ons; do
3815 *) xsrcdir
="$srcdir/" ;;
3818 test -d "$xsrcdir$add_on/sysdeps" ||
{
3819 case "$configured_add_ons " in
3822 { { $as_echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
3823 $as_echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
3824 { (exit 1); exit 1; }; }
3830 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
3831 case "$sysnames_add_ons" in
3834 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
3835 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
3840 for d
in $sysnames; do
3842 $add_on/sysdeps
/*) ;;
3845 (cd "$xsrcdir$d" && for f
in *[!~
]; do
3848 for ff
in $f/*.h
; do
3849 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
3853 test -d "$f" ||
{ test -e "$f" && exit 88; }
3857 if test $?
-eq 88; then
3862 if test $found = no
; then
3863 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
3864 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
3872 # Find a good install program. We prefer a C program (faster),
3873 # so one script is as good as another. But avoid the broken or
3874 # incompatible versions:
3875 # SysV /etc/install, /usr/sbin/install
3876 # SunOS /usr/etc/install
3877 # IRIX /sbin/install
3879 # AmigaOS /C/install, which installs bootblocks on floppy discs
3880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3883 # OS/2's system install, which has a completely different semantic
3884 # ./install, which can be erroneously created by make from ./install.sh.
3885 # Reject install programs that cannot install multiple files.
3886 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3887 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3888 if test -z "$INSTALL"; then
3889 if test "${ac_cv_path_install+set}" = set; then
3890 $as_echo_n "(cached) " >&6
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 # Account for people who put trailing slashes in PATH elements.
3899 .
/ | .
// |
/cC
/* | \
3900 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3901 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3904 # OSF1 and SCO ODT 3.0 have their own names for install.
3905 # Don't use installbsd from OSF since it installs stuff as root
3907 for ac_prog
in ginstall scoinst
install; do
3908 for ac_exec_ext
in '' $ac_executable_extensions; do
3909 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3910 if test $ac_prog = install &&
3911 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3912 # AIX install. It has an incompatible calling convention.
3914 elif test $ac_prog = install &&
3915 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3916 # program-specific install script used by HP pwplus--don't use.
3919 rm -rf conftest.one conftest.two conftest.dir
3920 echo one
> conftest.one
3921 echo two
> conftest.two
3923 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3924 test -s conftest.one
&& test -s conftest.two
&&
3925 test -s conftest.dir
/conftest.one
&&
3926 test -s conftest.dir
/conftest.two
3928 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3941 rm -rf conftest.one conftest.two conftest.dir
3944 if test "${ac_cv_path_install+set}" = set; then
3945 INSTALL
=$ac_cv_path_install
3947 # As a last resort, use the slow shell script. Don't cache a
3948 # value for INSTALL within a source directory, because that will
3949 # break other packages using the cache if that directory is
3950 # removed, or if the value is a relative name.
3951 INSTALL
=$ac_install_sh
3954 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3955 $as_echo "$INSTALL" >&6; }
3957 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3958 # It thinks the first close brace ends the variable substitution.
3959 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3961 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3963 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3965 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
3966 # The makefiles need to use a different form to find it in $srcdir.
3967 INSTALL
='\$(..)./scripts/install-sh -c'
3969 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3970 $as_echo_n "checking whether ln -s works... " >&6; }
3972 if test "$LN_S" = "ln -s"; then
3973 { $as_echo "$as_me:$LINENO: result: yes" >&5
3974 $as_echo "yes" >&6; }
3976 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3977 $as_echo "no, using $LN_S" >&6; }
3982 ac_cpp
='$CPP $CPPFLAGS'
3983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3986 if test -n "$ac_tool_prefix"; then
3987 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3988 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3989 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if test "${ac_cv_prog_CC+set}" = set; then
3992 $as_echo_n "(cached) " >&6
3994 if test -n "$CC"; then
3995 ac_cv_prog_CC
="$CC" # Let the user override the test.
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir
=.
4002 for ac_exec_ext
in '' $ac_executable_extensions; do
4003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4004 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4005 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 if test -n "$CC"; then
4016 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4017 $as_echo "$CC" >&6; }
4019 { $as_echo "$as_me:$LINENO: result: no" >&5
4020 $as_echo "no" >&6; }
4025 if test -z "$ac_cv_prog_CC"; then
4027 # Extract the first word of "gcc", so it can be a program name with args.
4028 set dummy gcc
; ac_word
=$2
4029 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4030 $as_echo_n "checking for $ac_word... " >&6; }
4031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4032 $as_echo_n "(cached) " >&6
4034 if test -n "$ac_ct_CC"; then
4035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 test -z "$as_dir" && as_dir
=.
4042 for ac_exec_ext
in '' $ac_executable_extensions; do
4043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4044 ac_cv_prog_ac_ct_CC
="gcc"
4045 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4055 if test -n "$ac_ct_CC"; then
4056 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4057 $as_echo "$ac_ct_CC" >&6; }
4059 { $as_echo "$as_me:$LINENO: result: no" >&5
4060 $as_echo "no" >&6; }
4063 if test "x$ac_ct_CC" = x
; then
4066 case $cross_compiling:$ac_tool_warned in
4068 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4070 ac_tool_warned
=yes ;;
4078 if test -z "$CC"; then
4079 if test -n "$ac_tool_prefix"; then
4080 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4081 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4082 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if test "${ac_cv_prog_CC+set}" = set; then
4085 $as_echo_n "(cached) " >&6
4087 if test -n "$CC"; then
4088 ac_cv_prog_CC
="$CC" # Let the user override the test.
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4097 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4098 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 if test -n "$CC"; then
4109 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4110 $as_echo "$CC" >&6; }
4112 { $as_echo "$as_me:$LINENO: result: no" >&5
4113 $as_echo "no" >&6; }
4119 if test -z "$CC"; then
4120 # Extract the first word of "cc", so it can be a program name with args.
4121 set dummy cc
; ac_word
=$2
4122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4123 $as_echo_n "checking for $ac_word... " >&6; }
4124 if test "${ac_cv_prog_CC+set}" = set; then
4125 $as_echo_n "(cached) " >&6
4127 if test -n "$CC"; then
4128 ac_cv_prog_CC
="$CC" # Let the user override the test.
4131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir
=.
4136 for ac_exec_ext
in '' $ac_executable_extensions; do
4137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4138 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4139 ac_prog_rejected
=yes
4143 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4150 if test $ac_prog_rejected = yes; then
4151 # We found a bogon in the path, so make sure we never use it.
4152 set dummy
$ac_cv_prog_CC
4154 if test $# != 0; then
4155 # We chose a different compiler from the bogus one.
4156 # However, it has the same basename, so the bogon will be chosen
4157 # first if we set CC to just the basename; use the full file name.
4159 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4165 if test -n "$CC"; then
4166 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4167 $as_echo "$CC" >&6; }
4169 { $as_echo "$as_me:$LINENO: result: no" >&5
4170 $as_echo "no" >&6; }
4175 if test -z "$CC"; then
4176 if test -n "$ac_tool_prefix"; then
4177 for ac_prog
in cl.exe
4179 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4180 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4181 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4182 $as_echo_n "checking for $ac_word... " >&6; }
4183 if test "${ac_cv_prog_CC+set}" = set; then
4184 $as_echo_n "(cached) " >&6
4186 if test -n "$CC"; then
4187 ac_cv_prog_CC
="$CC" # Let the user override the test.
4189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir
=.
4194 for ac_exec_ext
in '' $ac_executable_extensions; do
4195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4196 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4197 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 if test -n "$CC"; then
4208 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4209 $as_echo "$CC" >&6; }
4211 { $as_echo "$as_me:$LINENO: result: no" >&5
4212 $as_echo "no" >&6; }
4216 test -n "$CC" && break
4219 if test -z "$CC"; then
4221 for ac_prog
in cl.exe
4223 # Extract the first word of "$ac_prog", so it can be a program name with args.
4224 set dummy
$ac_prog; ac_word
=$2
4225 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$ac_ct_CC"; then
4231 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4240 ac_cv_prog_ac_ct_CC
="$ac_prog"
4241 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4251 if test -n "$ac_ct_CC"; then
4252 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4253 $as_echo "$ac_ct_CC" >&6; }
4255 { $as_echo "$as_me:$LINENO: result: no" >&5
4256 $as_echo "no" >&6; }
4260 test -n "$ac_ct_CC" && break
4263 if test "x$ac_ct_CC" = x
; then
4266 case $cross_compiling:$ac_tool_warned in
4268 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4270 ac_tool_warned
=yes ;;
4279 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4282 See \`config.log' for more details." >&5
4283 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4284 See \`config.log' for more details." >&2;}
4285 { (exit 1); exit 1; }; }; }
4287 # Provide some information about the compiler.
4288 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4291 { (ac_try
="$ac_compiler --version >&5"
4293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4297 $as_echo "$ac_try_echo") >&5
4298 (eval "$ac_compiler --version >&5") 2>&5
4300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); }
4302 { (ac_try="$ac_compiler -v >&5"
4304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4305 *) ac_try_echo
=$ac_try;;
4307 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4308 $as_echo "$ac_try_echo") >&5
4309 (eval "$ac_compiler -v >&5") 2>&5
4311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }
4313 { (ac_try
="$ac_compiler -V >&5"
4315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4316 *) ac_try_echo=$ac_try;;
4318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4319 $as_echo "$ac_try_echo") >&5
4320 (eval "$ac_compiler -V >&5") 2>&5
4322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); }
4325 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4326 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4327 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4328 $as_echo_n "(cached) " >&6
4330 cat >conftest.$ac_ext <<_ACEOF
4333 cat confdefs.h >>conftest.$ac_ext
4334 cat >>conftest.$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4348 rm -f conftest.$ac_objext
4349 if { (ac_try="$ac_compile"
4351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4352 *) ac_try_echo
=$ac_try;;
4354 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4355 $as_echo "$ac_try_echo") >&5
4356 (eval "$ac_compile") 2>conftest.er1
4358 grep -v '^ *+' conftest.er1
>conftest.err
4360 cat conftest.err
>&5
4361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); } && {
4363 test -z "$ac_c_werror_flag" ||
4364 test ! -s conftest.err
4365 } && test -s conftest.
$ac_objext; then
4368 $as_echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.
$ac_ext >&5
4374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4375 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4378 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4379 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4380 if test $ac_compiler_gnu = yes; then
4385 ac_test_CFLAGS
=${CFLAGS+set}
4386 ac_save_CFLAGS
=$CFLAGS
4387 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4388 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4389 if test "${ac_cv_prog_cc_g+set}" = set; then
4390 $as_echo_n "(cached) " >&6
4392 ac_save_c_werror_flag
=$ac_c_werror_flag
4393 ac_c_werror_flag
=yes
4396 cat >conftest.
$ac_ext <<_ACEOF
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4411 rm -f conftest.
$ac_objext
4412 if { (ac_try
="$ac_compile"
4414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4418 $as_echo "$ac_try_echo") >&5
4419 (eval "$ac_compile") 2>conftest.er1
4421 grep -v '^ *+' conftest.er1 >conftest.err
4423 cat conftest.err >&5
4424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } && {
4426 test -z "$ac_c_werror_flag" ||
4427 test ! -s conftest.err
4428 } && test -s conftest.$ac_objext; then
4431 $as_echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4435 cat >conftest.$ac_ext <<_ACEOF
4438 cat confdefs.h >>conftest.$ac_ext
4439 cat >>conftest.$ac_ext <<_ACEOF
4440 /* end confdefs.h. */
4450 rm -f conftest.$ac_objext
4451 if { (ac_try="$ac_compile"
4453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4454 *) ac_try_echo
=$ac_try;;
4456 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4457 $as_echo "$ac_try_echo") >&5
4458 (eval "$ac_compile") 2>conftest.er1
4460 grep -v '^ *+' conftest.er1
>conftest.err
4462 cat conftest.err
>&5
4463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); } && {
4465 test -z "$ac_c_werror_flag" ||
4466 test ! -s conftest.err
4467 } && test -s conftest.
$ac_objext; then
4470 $as_echo "$as_me: failed program was:" >&5
4471 sed 's/^/| /' conftest.
$ac_ext >&5
4473 ac_c_werror_flag
=$ac_save_c_werror_flag
4475 cat >conftest.
$ac_ext <<_ACEOF
4478 cat confdefs.h
>>conftest.
$ac_ext
4479 cat >>conftest.
$ac_ext <<_ACEOF
4480 /* end confdefs.h. */
4490 rm -f conftest.
$ac_objext
4491 if { (ac_try
="$ac_compile"
4493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4494 *) ac_try_echo=$ac_try;;
4496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4497 $as_echo "$ac_try_echo") >&5
4498 (eval "$ac_compile") 2>conftest.er1
4500 grep -v '^ *+' conftest.er1 >conftest.err
4502 cat conftest.err >&5
4503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); } && {
4505 test -z "$ac_c_werror_flag" ||
4506 test ! -s conftest.err
4507 } && test -s conftest.$ac_objext; then
4510 $as_echo "$as_me: failed program was:" >&5
4511 sed 's/^/| /' conftest.$ac_ext >&5
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 ac_c_werror_flag=$ac_save_c_werror_flag
4525 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4526 $as_echo "$ac_cv_prog_cc_g" >&6; }
4527 if test "$ac_test_CFLAGS" = set; then
4528 CFLAGS=$ac_save_CFLAGS
4529 elif test $ac_cv_prog_cc_g = yes; then
4530 if test "$GCC" = yes; then
4536 if test "$GCC" = yes; then
4542 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4543 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4544 if test "${ac_cv_prog_cc_c89+set}" = set; then
4545 $as_echo_n "(cached) " >&6
4547 ac_cv_prog_cc_c89=no
4549 cat >conftest.$ac_ext <<_ACEOF
4552 cat confdefs.h >>conftest.$ac_ext
4553 cat >>conftest.$ac_ext <<_ACEOF
4554 /* end confdefs.h. */
4557 #include <sys/types.h>
4558 #include <sys/stat.h>
4559 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4560 struct buf { int x; };
4561 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4562 static char *e (p, i)
4568 static char *f (char * (*g) (char **, int), char **p, ...)
4573 s = g (p, va_arg (v,int));
4578 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4579 function prototypes and stuff, but not '\xHH' hex character constants.
4580 These don't provoke an error unfortunately, instead are silently treated
4581 as 'x'. The following induces an error, until -std is added to get
4582 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4583 array size at least. It's necessary to write '\x00'==0 to get something
4584 that's true only with -std. */
4585 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4587 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4588 inside strings and character constants. */
4590 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4592 int test (int i, double x);
4593 struct s1 {int (*f) (int a);};
4594 struct s2 {int (*f) (double a);};
4595 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4601 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4606 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4607 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4609 CC="$ac_save_CC $ac_arg"
4610 rm -f conftest.$ac_objext
4611 if { (ac_try="$ac_compile"
4613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4614 *) ac_try_echo
=$ac_try;;
4616 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4617 $as_echo "$ac_try_echo") >&5
4618 (eval "$ac_compile") 2>conftest.er1
4620 grep -v '^ *+' conftest.er1
>conftest.err
4622 cat conftest.err
>&5
4623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } && {
4625 test -z "$ac_c_werror_flag" ||
4626 test ! -s conftest.err
4627 } && test -s conftest.
$ac_objext; then
4628 ac_cv_prog_cc_c89
=$ac_arg
4630 $as_echo "$as_me: failed program was:" >&5
4631 sed 's/^/| /' conftest.
$ac_ext >&5
4636 rm -f core conftest.err conftest.
$ac_objext
4637 test "x$ac_cv_prog_cc_c89" != "xno" && break
4639 rm -f conftest.
$ac_ext
4644 case "x$ac_cv_prog_cc_c89" in
4646 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4647 $as_echo "none needed" >&6; } ;;
4649 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4650 $as_echo "unsupported" >&6; } ;;
4652 CC
="$CC $ac_cv_prog_cc_c89"
4653 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4654 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4659 ac_cpp
='$CPP $CPPFLAGS'
4660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4664 if test $host != $build; then
4665 for ac_prog
in gcc cc
4667 # Extract the first word of "$ac_prog", so it can be a program name with args.
4668 set dummy
$ac_prog; ac_word
=$2
4669 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4672 $as_echo_n "(cached) " >&6
4674 if test -n "$BUILD_CC"; then
4675 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4681 test -z "$as_dir" && as_dir
=.
4682 for ac_exec_ext
in '' $ac_executable_extensions; do
4683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4684 ac_cv_prog_BUILD_CC
="$ac_prog"
4685 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 BUILD_CC
=$ac_cv_prog_BUILD_CC
4695 if test -n "$BUILD_CC"; then
4696 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4697 $as_echo "$BUILD_CC" >&6; }
4699 { $as_echo "$as_me:$LINENO: result: no" >&5
4700 $as_echo "no" >&6; }
4704 test -n "$BUILD_CC" && break
4710 ac_cpp
='$CPP $CPPFLAGS'
4711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4714 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4715 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4716 # On Suns, sometimes $CPP names a directory.
4717 if test -n "$CPP" && test -d "$CPP"; then
4720 if test -z "$CPP"; then
4721 if test "${ac_cv_prog_CPP+set}" = set; then
4722 $as_echo_n "(cached) " >&6
4724 # Double quotes because CPP needs to be expanded
4725 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4728 for ac_c_preproc_warn_flag
in '' yes
4730 # Use a header file that comes with gcc, so configuring glibc
4731 # with a fresh cross-compiler works.
4732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4733 # <limits.h> exists even on freestanding compilers.
4734 # On the NeXT, cc -E runs the code through the compiler's parser,
4735 # not just through cpp. "Syntax error" is here to catch this case.
4736 cat >conftest.
$ac_ext <<_ACEOF
4739 cat confdefs.h
>>conftest.
$ac_ext
4740 cat >>conftest.
$ac_ext <<_ACEOF
4741 /* end confdefs.h. */
4743 # include <limits.h>
4745 # include <assert.h>
4749 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4752 *) ac_try_echo=$ac_try;;
4754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4755 $as_echo "$ac_try_echo") >&5
4756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4758 grep -v '^ *+' conftest.er1 >conftest.err
4760 cat conftest.err >&5
4761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } >/dev/null && {
4763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4764 test ! -s conftest.err
4768 $as_echo "$as_me: failed program was:" >&5
4769 sed 's/^/| /' conftest.$ac_ext >&5
4771 # Broken: fails on valid input.
4775 rm -f conftest.err conftest.$ac_ext
4777 # OK, works on sane cases. Now check whether nonexistent headers
4778 # can be detected and how.
4779 cat >conftest.$ac_ext <<_ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 #include <ac_nonexistent.h>
4787 if { (ac_try="$ac_cpp conftest.$ac_ext"
4789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4790 *) ac_try_echo
=$ac_try;;
4792 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4793 $as_echo "$ac_try_echo") >&5
4794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } >/dev
/null
&& {
4801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4802 test ! -s conftest.err
4804 # Broken: success on invalid input.
4807 $as_echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.
$ac_ext >&5
4810 # Passes both tests.
4815 rm -f conftest.err conftest.
$ac_ext
4818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4819 rm -f conftest.err conftest.
$ac_ext
4820 if $ac_preproc_ok; then
4832 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4833 $as_echo "$CPP" >&6; }
4835 for ac_c_preproc_warn_flag
in '' yes
4837 # Use a header file that comes with gcc, so configuring glibc
4838 # with a fresh cross-compiler works.
4839 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4840 # <limits.h> exists even on freestanding compilers.
4841 # On the NeXT, cc -E runs the code through the compiler's parser,
4842 # not just through cpp. "Syntax error" is here to catch this case.
4843 cat >conftest.
$ac_ext <<_ACEOF
4846 cat confdefs.h
>>conftest.
$ac_ext
4847 cat >>conftest.
$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4850 # include <limits.h>
4852 # include <assert.h>
4856 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4859 *) ac_try_echo=$ac_try;;
4861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4862 $as_echo "$ac_try_echo") >&5
4863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4865 grep -v '^ *+' conftest.er1 >conftest.err
4867 cat conftest.err >&5
4868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); } >/dev/null && {
4870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4871 test ! -s conftest.err
4875 $as_echo "$as_me: failed program was:" >&5
4876 sed 's/^/| /' conftest.$ac_ext >&5
4878 # Broken: fails on valid input.
4882 rm -f conftest.err conftest.$ac_ext
4884 # OK, works on sane cases. Now check whether nonexistent headers
4885 # can be detected and how.
4886 cat >conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4892 #include <ac_nonexistent.h>
4894 if { (ac_try="$ac_cpp conftest.$ac_ext"
4896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4897 *) ac_try_echo
=$ac_try;;
4899 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4900 $as_echo "$ac_try_echo") >&5
4901 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4903 grep -v '^ *+' conftest.er1
>conftest.err
4905 cat conftest.err
>&5
4906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } >/dev
/null
&& {
4908 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4909 test ! -s conftest.err
4911 # Broken: success on invalid input.
4914 $as_echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.
$ac_ext >&5
4917 # Passes both tests.
4922 rm -f conftest.err conftest.
$ac_ext
4925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4926 rm -f conftest.err conftest.
$ac_ext
4927 if $ac_preproc_ok; then
4930 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4932 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4933 See \`config.log' for more details." >&5
4934 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4935 See \`config.log' for more details." >&2;}
4936 { (exit 1); exit 1; }; }; }
4940 ac_cpp
='$CPP $CPPFLAGS'
4941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4945 # We need the C++ compiler only for testing.
4947 ac_cpp
='$CXXCPP $CPPFLAGS'
4948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4951 if test -z "$CXX"; then
4952 if test -n "$CCC"; then
4955 if test -n "$ac_tool_prefix"; then
4956 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4959 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4960 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if test "${ac_cv_prog_CXX+set}" = set; then
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$CXX"; then
4966 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4976 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 if test -n "$CXX"; then
4987 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
4988 $as_echo "$CXX" >&6; }
4990 { $as_echo "$as_me:$LINENO: result: no" >&5
4991 $as_echo "no" >&6; }
4995 test -n "$CXX" && break
4998 if test -z "$CXX"; then
5000 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5002 # Extract the first word of "$ac_prog", so it can be a program name with args.
5003 set dummy
$ac_prog; ac_word
=$2
5004 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$ac_ct_CXX"; then
5010 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir
=.
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5020 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5030 if test -n "$ac_ct_CXX"; then
5031 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5032 $as_echo "$ac_ct_CXX" >&6; }
5034 { $as_echo "$as_me:$LINENO: result: no" >&5
5035 $as_echo "no" >&6; }
5039 test -n "$ac_ct_CXX" && break
5042 if test "x$ac_ct_CXX" = x
; then
5045 case $cross_compiling:$ac_tool_warned in
5047 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5049 ac_tool_warned
=yes ;;
5057 # Provide some information about the compiler.
5058 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5061 { (ac_try
="$ac_compiler --version >&5"
5063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5064 *) ac_try_echo=$ac_try;;
5066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5067 $as_echo "$ac_try_echo") >&5
5068 (eval "$ac_compiler --version >&5") 2>&5
5070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); }
5072 { (ac_try="$ac_compiler -v >&5"
5074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5075 *) ac_try_echo
=$ac_try;;
5077 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5078 $as_echo "$ac_try_echo") >&5
5079 (eval "$ac_compiler -v >&5") 2>&5
5081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }
5083 { (ac_try
="$ac_compiler -V >&5"
5085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5086 *) ac_try_echo=$ac_try;;
5088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5089 $as_echo "$ac_try_echo") >&5
5090 (eval "$ac_compiler -V >&5") 2>&5
5092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); }
5095 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5096 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5097 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5098 $as_echo_n "(cached) " >&6
5100 cat >conftest.$ac_ext <<_ACEOF
5103 cat confdefs.h >>conftest.$ac_ext
5104 cat >>conftest.$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5118 rm -f conftest.$ac_objext
5119 if { (ac_try="$ac_compile"
5121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5122 *) ac_try_echo
=$ac_try;;
5124 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5125 $as_echo "$ac_try_echo") >&5
5126 (eval "$ac_compile") 2>conftest.er1
5128 grep -v '^ *+' conftest.er1
>conftest.err
5130 cat conftest.err
>&5
5131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); } && {
5133 test -z "$ac_cxx_werror_flag" ||
5134 test ! -s conftest.err
5135 } && test -s conftest.
$ac_objext; then
5138 $as_echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.
$ac_ext >&5
5144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5145 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5148 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5149 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5150 if test $ac_compiler_gnu = yes; then
5155 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5156 ac_save_CXXFLAGS
=$CXXFLAGS
5157 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5158 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5159 if test "${ac_cv_prog_cxx_g+set}" = set; then
5160 $as_echo_n "(cached) " >&6
5162 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5163 ac_cxx_werror_flag
=yes
5166 cat >conftest.
$ac_ext <<_ACEOF
5169 cat confdefs.h
>>conftest.
$ac_ext
5170 cat >>conftest.
$ac_ext <<_ACEOF
5171 /* end confdefs.h. */
5181 rm -f conftest.
$ac_objext
5182 if { (ac_try
="$ac_compile"
5184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5185 *) ac_try_echo=$ac_try;;
5187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5188 $as_echo "$ac_try_echo") >&5
5189 (eval "$ac_compile") 2>conftest.er1
5191 grep -v '^ *+' conftest.er1 >conftest.err
5193 cat conftest.err >&5
5194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); } && {
5196 test -z "$ac_cxx_werror_flag" ||
5197 test ! -s conftest.err
5198 } && test -s conftest.$ac_objext; then
5199 ac_cv_prog_cxx_g=yes
5201 $as_echo "$as_me: failed program was:" >&5
5202 sed 's/^/| /' conftest.$ac_ext >&5
5205 cat >conftest.$ac_ext <<_ACEOF
5208 cat confdefs.h >>conftest.$ac_ext
5209 cat >>conftest.$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5220 rm -f conftest.$ac_objext
5221 if { (ac_try="$ac_compile"
5223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5224 *) ac_try_echo
=$ac_try;;
5226 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5227 $as_echo "$ac_try_echo") >&5
5228 (eval "$ac_compile") 2>conftest.er1
5230 grep -v '^ *+' conftest.er1
>conftest.err
5232 cat conftest.err
>&5
5233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); } && {
5235 test -z "$ac_cxx_werror_flag" ||
5236 test ! -s conftest.err
5237 } && test -s conftest.
$ac_objext; then
5240 $as_echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.
$ac_ext >&5
5243 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5245 cat >conftest.
$ac_ext <<_ACEOF
5248 cat confdefs.h
>>conftest.
$ac_ext
5249 cat >>conftest.
$ac_ext <<_ACEOF
5250 /* end confdefs.h. */
5260 rm -f conftest.
$ac_objext
5261 if { (ac_try
="$ac_compile"
5263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5264 *) ac_try_echo=$ac_try;;
5266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5267 $as_echo "$ac_try_echo") >&5
5268 (eval "$ac_compile") 2>conftest.er1
5270 grep -v '^ *+' conftest.er1 >conftest.err
5272 cat conftest.err >&5
5273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } && {
5275 test -z "$ac_cxx_werror_flag" ||
5276 test ! -s conftest.err
5277 } && test -s conftest.$ac_objext; then
5278 ac_cv_prog_cxx_g=yes
5280 $as_echo "$as_me: failed program was:" >&5
5281 sed 's/^/| /' conftest.$ac_ext >&5
5286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5295 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5296 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5297 if test "$ac_test_CXXFLAGS" = set; then
5298 CXXFLAGS=$ac_save_CXXFLAGS
5299 elif test $ac_cv_prog_cxx_g = yes; then
5300 if test "$GXX" = yes; then
5306 if test "$GXX" = yes; then
5313 ac_cpp='$CPP $CPPFLAGS'
5314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5318 # Was a --with-binutils option given?
5319 if test -n "$path_binutils"; then
5320 # Make absolute; ensure a single trailing slash.
5321 path_binutils=`(cd $path_binutils; pwd) |
sed 's%/*$%/%'`
5322 CC="$CC -B$path_binutils"
5324 AS=`$CC -print-prog-name=as
`
5325 LD=`$CC -print-prog-name=ld
`
5326 AR=`$CC -print-prog-name=ar`
5328 OBJDUMP=`$CC -print-prog-name=objdump
`
5331 # ranlib has to be treated a bit differently since it might not exist at all.
5332 ac_ranlib=`$CC -print-prog-name=ranlib
`
5333 if test "x$ac_ranlib" = xranlib; then
5334 # This extra check has to happen since gcc simply echos the parameter in
5335 # case it cannot find the value in its own directories.
5336 if test -n "$ac_tool_prefix"; then
5337 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5338 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5339 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if test "${ac_cv_prog_RANLIB+set}" = set; then
5342 $as_echo_n "(cached) " >&6
5344 if test -n "$RANLIB"; then
5345 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir=.
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5355 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 RANLIB=$ac_cv_prog_RANLIB
5365 if test -n "$RANLIB"; then
5366 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5367 $as_echo "$RANLIB" >&6; }
5369 { $as_echo "$as_me:$LINENO: result: no" >&5
5370 $as_echo "no" >&6; }
5375 if test -z "$ac_cv_prog_RANLIB"; then
5376 ac_ct_RANLIB=$RANLIB
5377 # Extract the first word of "ranlib", so it can be a program name with args.
5378 set dummy ranlib; ac_word=$2
5379 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5382 $as_echo_n "(cached) " >&6
5384 if test -n "$ac_ct_RANLIB"; then
5385 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394 ac_cv_prog_ac_ct_RANLIB="ranlib"
5395 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5405 if test -n "$ac_ct_RANLIB"; then
5406 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5407 $as_echo "$ac_ct_RANLIB" >&6; }
5409 { $as_echo "$as_me:$LINENO: result: no" >&5
5410 $as_echo "no" >&6; }
5413 if test "x$ac_ct_RANLIB" = x; then
5416 case $cross_compiling:$ac_tool_warned in
5418 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5420 ac_tool_warned=yes ;;
5422 RANLIB=$ac_ct_RANLIB
5425 RANLIB="$ac_cv_prog_RANLIB"
5433 # Determine whether we are using GNU binutils.
5434 { $as_echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
5435 $as_echo_n "checking whether $AS is GNU as... " >&6; }
5436 if test "${libc_cv_prog_as_gnu+set}" = set; then
5437 $as_echo_n "(cached) " >&6
5439 # Most GNU programs take a -v and spit out some text including
5440 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
5441 if $AS -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
5442 libc_cv_prog_as_gnu=yes
5444 libc_cv_prog_as_gnu=no
5448 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
5449 $as_echo "$libc_cv_prog_as_gnu" >&6; }
5451 gnu_as=$libc_cv_prog_as_gnu
5453 { $as_echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
5454 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
5455 if test "${libc_cv_prog_ld_gnu+set}" = set; then
5456 $as_echo_n "(cached) " >&6
5458 # Most GNU programs take a -v and spit out some text including
5459 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
5460 if $LD -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
5461 libc_cv_prog_ld_gnu=yes
5463 libc_cv_prog_ld_gnu=no
5467 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
5468 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
5469 gnu_ld=$libc_cv_prog_ld_gnu
5472 # Accept binutils 2.13 or newer.
5475 # Extract the first word of "$ac_prog", so it can be a program name with args.
5476 set dummy $ac_prog; ac_word=$2
5477 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if test "${ac_cv_prog_AS+set}" = set; then
5480 $as_echo_n "(cached) " >&6
5482 if test -n "$AS"; then
5483 ac_cv_prog_AS="$AS" # Let the user override the test.
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5492 ac_cv_prog_AS="$ac_prog"
5493 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 if test -n "$AS"; then
5504 { $as_echo "$as_me:$LINENO: result: $AS" >&5
5505 $as_echo "$AS" >&6; }
5507 { $as_echo "$as_me:$LINENO: result: no" >&5
5508 $as_echo "no" >&6; }
5512 test -n "$AS" && break
5515 if test -z "$AS"; then
5518 # Found it, now check the version.
5519 { $as_echo "$as_me:$LINENO: checking version of $AS" >&5
5520 $as_echo_n "checking version of $AS... " >&6; }
5521 ac_prog_version=`$AS --version 2>&1 |
sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5522 case $ac_prog_version in
5523 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5525 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5526 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5529 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5530 $as_echo "$ac_prog_version" >&6; }
5532 if test $ac_verc_fail = yes; then
5533 AS=: critic_missing="$critic_missing as"
5538 # Extract the first word of "$ac_prog", so it can be a program name with args.
5539 set dummy $ac_prog; ac_word=$2
5540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if test "${ac_cv_prog_LD+set}" = set; then
5543 $as_echo_n "(cached) " >&6
5545 if test -n "$LD"; then
5546 ac_cv_prog_LD="$LD" # Let the user override the test.
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5555 ac_cv_prog_LD="$ac_prog"
5556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 if test -n "$LD"; then
5567 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5568 $as_echo "$LD" >&6; }
5570 { $as_echo "$as_me:$LINENO: result: no" >&5
5571 $as_echo "no" >&6; }
5575 test -n "$LD" && break
5578 if test -z "$LD"; then
5581 # Found it, now check the version.
5582 { $as_echo "$as_me:$LINENO: checking version of $LD" >&5
5583 $as_echo_n "checking version of $LD... " >&6; }
5584 ac_prog_version=`$LD --version 2>&1 |
sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
5585 case $ac_prog_version in
5586 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5588 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5589 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5592 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5593 $as_echo "$ac_prog_version" >&6; }
5595 if test $ac_verc_fail = yes; then
5596 LD=: critic_missing="$critic_missing ld"
5600 # We need the physical current working directory. We cannot use the
5601 # "pwd -P" shell builtin since that's not portable. Instead we try to
5602 # find a pwd binary. Note that assigning to the PWD environment
5603 # variable might have some interesting side effects, so we don't do
5605 # Extract the first word of "pwd", so it can be a program name with args.
5606 set dummy pwd; ac_word=$2
5607 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if test "${ac_cv_path_PWD_P+set}" = set; then
5610 $as_echo_n "(cached) " >&6
5614 ac_cv_path_PWD_P="$PWD_P" # Let the user override the test with a path.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_path_PWD_P="$as_dir/$ac_word$ac_exec_ext"
5625 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P="no"
5636 PWD_P=$ac_cv_path_PWD_P
5637 if test -n "$PWD_P"; then
5638 { $as_echo "$as_me:$LINENO: result: $PWD_P" >&5
5639 $as_echo "$PWD_P" >&6; }
5641 { $as_echo "$as_me:$LINENO: result: no" >&5
5642 $as_echo "no" >&6; }
5646 if test "$PWD_P" = no; then
5647 { { $as_echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
5648 $as_echo "$as_me: error: *** A pwd binary could not be found." >&2;}
5649 { (exit 1); exit 1; }; }
5652 # These programs are version sensitive.
5654 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
5656 # Extract the first word of "$ac_prog", so it can be a program name with args.
5657 set dummy $ac_prog; ac_word=$2
5658 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5659 $as_echo_n "checking for $ac_word... " >&6; }
5660 if test "${ac_cv_prog_CC+set}" = set; then
5661 $as_echo_n "(cached) " >&6
5663 if test -n "$CC"; then
5664 ac_cv_prog_CC="$CC" # Let the user override the test.
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 test -z "$as_dir" && as_dir=.
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5673 ac_cv_prog_CC="$ac_prog"
5674 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 if test -n "$CC"; then
5685 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5686 $as_echo "$CC" >&6; }
5688 { $as_echo "$as_me:$LINENO: result: no" >&5
5689 $as_echo "no" >&6; }
5693 test -n "$CC" && break
5696 if test -z "$CC"; then
5699 # Found it, now check the version.
5700 { $as_echo "$as_me:$LINENO: checking version of $CC" >&5
5701 $as_echo_n "checking version of $CC... " >&6; }
5702 ac_prog_version=`$CC -v 2>&1 |
sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
5703 case $ac_prog_version in
5704 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5706 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5707 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5710 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5711 $as_echo "$ac_prog_version" >&6; }
5713 if test $ac_verc_fail = yes; then
5714 critic_missing="$critic_missing gcc"
5717 for ac_prog in gnumake gmake make
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy $ac_prog; ac_word=$2
5721 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if test "${ac_cv_prog_MAKE+set}" = set; then
5724 $as_echo_n "(cached) " >&6
5726 if test -n "$MAKE"; then
5727 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5736 ac_cv_prog_MAKE="$ac_prog"
5737 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 MAKE=$ac_cv_prog_MAKE
5747 if test -n "$MAKE"; then
5748 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
5749 $as_echo "$MAKE" >&6; }
5751 { $as_echo "$as_me:$LINENO: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$MAKE" && break
5759 if test -z "$MAKE"; then
5762 # Found it, now check the version.
5763 { $as_echo "$as_me:$LINENO: checking version of $MAKE" >&5
5764 $as_echo_n "checking version of $MAKE... " >&6; }
5765 ac_prog_version=`$MAKE --version 2>&1 |
sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5766 case $ac_prog_version in
5767 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5769 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5770 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5773 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5774 $as_echo "$ac_prog_version" >&6; }
5776 if test $ac_verc_fail = yes; then
5777 critic_missing="$critic_missing make"
5781 for ac_prog in gnumsgfmt gmsgfmt msgfmt
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_MSGFMT+set}" = set; then
5788 $as_echo_n "(cached) " >&6
5790 if test -n "$MSGFMT"; then
5791 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_MSGFMT="$ac_prog"
5801 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 MSGFMT=$ac_cv_prog_MSGFMT
5811 if test -n "$MSGFMT"; then
5812 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5813 $as_echo "$MSGFMT" >&6; }
5815 { $as_echo "$as_me:$LINENO: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$MSGFMT" && break
5823 if test -z "$MSGFMT"; then
5826 # Found it, now check the version.
5827 { $as_echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
5828 $as_echo_n "checking version of $MSGFMT... " >&6; }
5829 ac_prog_version=`$MSGFMT --version 2>&1 |
sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5830 case $ac_prog_version in
5831 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5832 0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
5833 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5834 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5837 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5838 $as_echo "$ac_prog_version" >&6; }
5840 if test $ac_verc_fail = yes; then
5841 MSGFMT=: aux_missing="$aux_missing msgfmt"
5844 for ac_prog in makeinfo
5846 # Extract the first word of "$ac_prog", so it can be a program name with args.
5847 set dummy $ac_prog; ac_word=$2
5848 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5851 $as_echo_n "(cached) " >&6
5853 if test -n "$MAKEINFO"; then
5854 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5863 ac_cv_prog_MAKEINFO="$ac_prog"
5864 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 MAKEINFO=$ac_cv_prog_MAKEINFO
5874 if test -n "$MAKEINFO"; then
5875 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5876 $as_echo "$MAKEINFO" >&6; }
5878 { $as_echo "$as_me:$LINENO: result: no" >&5
5879 $as_echo "no" >&6; }
5883 test -n "$MAKEINFO" && break
5886 if test -z "$MAKEINFO"; then
5889 # Found it, now check the version.
5890 { $as_echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5891 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5892 ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5893 case $ac_prog_version in
5894 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5896 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5897 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5900 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5901 $as_echo "$ac_prog_version" >&6; }
5903 if test $ac_verc_fail = yes; then
5904 MAKEINFO=: aux_missing="$aux_missing makeinfo"
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if test "${ac_cv_prog_SED+set}" = set; then
5914 $as_echo_n "(cached) " >&6
5916 if test -n "$SED"; then
5917 ac_cv_prog_SED="$SED" # Let the user override the test.
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5926 ac_cv_prog_SED="$ac_prog"
5927 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 if test -n "$SED"; then
5938 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5939 $as_echo "$SED" >&6; }
5941 { $as_echo "$as_me:$LINENO: result: no" >&5
5942 $as_echo "no" >&6; }
5946 test -n "$SED" && break
5949 if test -z "$SED"; then
5952 # Found it, now check the version.
5953 { $as_echo "$as_me:$LINENO: checking version of $SED" >&5
5954 $as_echo_n "checking version of $SED... " >&6; }
5955 ac_prog_version=`$SED --version 2>&1 |
sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5956 case $ac_prog_version in
5957 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5958 3.0[2-9]*|3.[1-9]*|[4-9]*)
5959 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5960 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5963 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5964 $as_echo "$ac_prog_version" >&6; }
5966 if test $ac_verc_fail = yes; then
5967 SED=: aux_missing="$aux_missing sed"
5971 for ac_prog in autoconf
5973 # Extract the first word of "$ac_prog", so it can be a program name with args.
5974 set dummy $ac_prog; ac_word=$2
5975 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5976 $as_echo_n "checking for $ac_word... " >&6; }
5977 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5978 $as_echo_n "(cached) " >&6
5980 if test -n "$AUTOCONF"; then
5981 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 test -z "$as_dir" && as_dir=.
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5990 ac_cv_prog_AUTOCONF="$ac_prog"
5991 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 AUTOCONF=$ac_cv_prog_AUTOCONF
6001 if test -n "$AUTOCONF"; then
6002 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
6003 $as_echo "$AUTOCONF" >&6; }
6005 { $as_echo "$as_me:$LINENO: result: no" >&5
6006 $as_echo "no" >&6; }
6010 test -n "$AUTOCONF" && break
6012 test -n "$AUTOCONF" || AUTOCONF="no"
6014 case "x$AUTOCONF" in
6015 xno|x|x:) AUTOCONF=no ;;
6017 { $as_echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
6018 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
6019 if test "${libc_cv_autoconf_works+set}" = set; then
6020 $as_echo_n "(cached) " >&6
6022 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
6023 libc_cv_autoconf_works=yes
6025 libc_cv_autoconf_works=no
6028 { $as_echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
6029 $as_echo "$libc_cv_autoconf_works" >&6; }
6030 test $libc_cv_autoconf_works = yes || AUTOCONF=no
6033 if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
6034 # If --without-cvs they probably won't change configure.in, so no complaints.
6035 aux_missing="$aux_missing autoconf"
6038 test -n "$critic_missing" && { { $as_echo "$as_me:$LINENO: error:
6039 *** These critical programs are missing or too old:$critic_missing
6040 *** Check the INSTALL file for required versions." >&5
6041 $as_echo "$as_me: error:
6042 *** These critical programs are missing or too old:$critic_missing
6043 *** Check the INSTALL file for required versions." >&2;}
6044 { (exit 1); exit 1; }; }
6046 test -n "$aux_missing" && { $as_echo "$as_me:$LINENO: WARNING:
6047 *** These auxiliary programs are missing or incompatible versions:$aux_missing
6048 *** some features will be disabled.
6049 *** Check the INSTALL file for required versions." >&5
6050 $as_echo "$as_me: WARNING:
6051 *** These auxiliary programs are missing or incompatible versions:$aux_missing
6052 *** some features will be disabled.
6053 *** Check the INSTALL file for required versions." >&2;}
6055 # if using special system headers, find out the compiler's sekrit
6056 # header directory and add that to the list. NOTE: Only does the right
6057 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
6058 if test -n "$sysheaders"; then
6059 SYSINCLUDES=-nostdinc
6060 for d in include include-fixed; do
6061 i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
6062 SYSINCLUDES="$SYSINCLUDES -isystem $i"
6064 SYSINCLUDES="$SYSINCLUDES \
6065 -isystem `echo $sysheaders |
sed 's/:/ -isystem /g'`"
6066 if test -n "$CXX"; then
6067 cxxversion=`$CXX -dumpversion 2>&5` &&
6068 cxxmachine=`$CXX -dumpmachine 2>&5` &&
6069 cxxheaders=`$CXX -print-file-name=..
/..
/..
/..
/include
/c
++/`"$cxxversion" &&
6070 CXX_SYSINCLUDES="-isystem $cxxheaders \
6071 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
6077 # check if ranlib is necessary
6078 { $as_echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
6079 $as_echo_n "checking whether ranlib is necessary... " >&6; }
6080 if test "${libc_cv_ranlib_necessary+set}" = set; then
6081 $as_echo_n "(cached) " >&6
6083 cat > conftest.c <<EOF
6088 $CC $CFLAGS $CPPFLAGS -c conftest.c
6089 $AR cr conftest.a conftest.o
6090 cp conftest.a conftest2.a
6092 if cmp -s conftest.a conftest2.a; then
6093 libc_cv_ranlib_necessary=no
6095 libc_cv_ranlib_necessary=yes
6099 { $as_echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
6100 $as_echo "$libc_cv_ranlib_necessary" >&6; }
6101 if test "$libc_cv_ranlib_necessary" = no; then
6105 # Test if LD_LIBRARY_PATH contains the notation for the current directory
6106 # since this would lead to problems installing/building glibc.
6107 # LD_LIBRARY_PATH contains the current directory if one of the following
6109 # - one of the terminals (":" and ";") is the first or last sign
6110 # - two terminals occur directly after each other
6111 # - the path contains an element with a dot in it
6112 { $as_echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
6113 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
6114 case ${LD_LIBRARY_PATH} in
6115 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
6116 ld_library_path_setting="contains current directory"
6119 ld_library_path_setting="ok"
6122 { $as_echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
6123 $as_echo "$ld_library_path_setting" >&6; }
6124 if test "$ld_library_path_setting" != "ok"; then
6125 { { $as_echo "$as_me:$LINENO: error:
6126 *** LD_LIBRARY_PATH shouldn't contain the current directory when
6127 *** building glibc. Please change the environment variable
6128 *** and run configure again." >&5
6129 $as_echo "$as_me: error:
6130 *** LD_LIBRARY_PATH shouldn't contain the current directory when
6131 *** building glibc. Please change the environment variable
6132 *** and run configure again." >&2;}
6133 { (exit 1); exit 1; }; }
6136 { $as_echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
6137 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
6138 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
6139 $as_echo_n "(cached) " >&6
6141 if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then
6142 libc_cv_gcc_static_libgcc=
6144 libc_cv_gcc_static_libgcc=-static-libgcc
6147 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
6148 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
6151 # Extract the first word of "bash", so it can be a program name with args.
6152 set dummy bash; ac_word=$2
6153 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6154 $as_echo_n "checking for $ac_word... " >&6; }
6155 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
6156 $as_echo_n "(cached) " >&6
6160 ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167 test -z "$as_dir" && as_dir=.
6168 for ac_exec_ext in '' $ac_executable_extensions; do
6169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6170 ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
6171 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
6182 BASH_SHELL=$ac_cv_path_BASH_SHELL
6183 if test -n "$BASH_SHELL"; then
6184 { $as_echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
6185 $as_echo "$BASH_SHELL" >&6; }
6187 { $as_echo "$as_me:$LINENO: result: no" >&5
6188 $as_echo "no" >&6; }
6192 if test "$BASH_SHELL" != no &&
6193 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
6194 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
6195 libc_cv_have_bash2=yes
6197 libc_cv_have_bash2=no
6201 if test "$BASH_SHELL" = no; then
6202 # Extract the first word of "ksh", so it can be a program name with args.
6203 set dummy ksh; ac_word=$2
6204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6205 $as_echo_n "checking for $ac_word... " >&6; }
6206 if test "${ac_cv_path_KSH+set}" = set; then
6207 $as_echo_n "(cached) " >&6
6211 ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221 ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
6222 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
6234 if test -n "$KSH"; then
6235 { $as_echo "$as_me:$LINENO: result: $KSH" >&5
6236 $as_echo "$KSH" >&6; }
6238 { $as_echo "$as_me:$LINENO: result: no" >&5
6239 $as_echo "no" >&6; }
6243 if test "$KSH" = no; then
6246 libc_cv_have_ksh=yes
6251 libc_cv_have_ksh=yes
6255 for ac_prog in gawk mawk nawk awk
6257 # Extract the first word of "$ac_prog", so it can be a program name with args.
6258 set dummy $ac_prog; ac_word=$2
6259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if test "${ac_cv_prog_AWK+set}" = set; then
6262 $as_echo_n "(cached) " >&6
6264 if test -n "$AWK"; then
6265 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6274 ac_cv_prog_AWK="$ac_prog"
6275 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6285 if test -n "$AWK"; then
6286 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
6287 $as_echo "$AWK" >&6; }
6289 { $as_echo "$as_me:$LINENO: result: no" >&5
6290 $as_echo "no" >&6; }
6294 test -n "$AWK" && break
6297 # Extract the first word of "perl", so it can be a program name with args.
6298 set dummy perl; ac_word=$2
6299 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if test "${ac_cv_path_PERL+set}" = set; then
6302 $as_echo_n "(cached) " >&6
6306 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6316 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
6317 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
6328 PERL=$ac_cv_path_PERL
6329 if test -n "$PERL"; then
6330 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
6331 $as_echo "$PERL" >&6; }
6333 { $as_echo "$as_me:$LINENO: result: no" >&5
6334 $as_echo "no" >&6; }
6338 if test "$PERL" != no &&
6339 (eval `$PERL -V:apiversion
`; test `expr "$apiversion" \
< 5` -ne 0); then
6342 # Extract the first word of "install-info", so it can be a program name with args.
6343 set dummy install-info; ac_word=$2
6344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6345 $as_echo_n "checking for $ac_word... " >&6; }
6346 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
6347 $as_echo_n "(cached) " >&6
6349 case $INSTALL_INFO in
6351 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
6356 for as_dir in $as_dummy
6359 test -z "$as_dir" && as_dir=.
6360 for ac_exec_ext in '' $ac_executable_extensions; do
6361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6362 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
6363 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
6374 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
6375 if test -n "$INSTALL_INFO"; then
6376 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
6377 $as_echo "$INSTALL_INFO" >&6; }
6379 { $as_echo "$as_me:$LINENO: result: no" >&5
6380 $as_echo "no" >&6; }
6384 # Extract the first word of "bison", so it can be a program name with args.
6385 set dummy bison; ac_word=$2
6386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; }
6388 if test "${ac_cv_path_BISON+set}" = set; then
6389 $as_echo_n "(cached) " >&6
6393 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6397 as_dummy="$PATH:/usr/local/bin:/usr/bin:/bin"
6398 for as_dir in $as_dummy
6401 test -z "$as_dir" && as_dir=.
6402 for ac_exec_ext in '' $ac_executable_extensions; do
6403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6404 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
6405 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no"
6416 BISON=$ac_cv_path_BISON
6417 if test -n "$BISON"; then
6418 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
6419 $as_echo "$BISON" >&6; }
6421 { $as_echo "$as_me:$LINENO: result: no" >&5
6422 $as_echo "no" >&6; }
6427 { $as_echo "$as_me:$LINENO: checking for signed size_t type" >&5
6428 $as_echo_n "checking for signed size_t type... " >&6; }
6429 if test "${libc_cv_signed_size_t+set}" = set; then
6430 $as_echo_n "(cached) " >&6
6432 echo '#include <stddef.h>
6433 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
6434 if eval "$ac_cpp conftest.c 2>/dev/null" \
6435 | grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev/null; then
6436 libc_cv_signed_size_t=no
6438 libc_cv_signed_size_t=yes
6442 { $as_echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
6443 $as_echo "$libc_cv_signed_size_t" >&6; }
6444 if test $libc_cv_signed_size_t = yes; then
6445 cat >> confdefs.h <<\EOF
6446 #undef __SIZE_TYPE__
6447 #define __SIZE_TYPE__ unsigned
6451 { $as_echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
6452 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
6453 if test "${libc_cv_friendly_stddef+set}" = set; then
6454 $as_echo_n "(cached) " >&6
6456 cat >conftest.$ac_ext <<_ACEOF
6459 cat confdefs.h >>conftest.$ac_ext
6460 cat >>conftest.$ac_ext <<_ACEOF
6461 /* end confdefs.h. */
6462 #define __need_size_t
6463 #define __need_wchar_t
6470 size_t size; wchar_t wchar;
6472 #error stddef.h ignored __need_*
6474 if (&size == NULL || &wchar == NULL) abort ();
6479 rm -f conftest.$ac_objext
6480 if { (ac_try="$ac_compile"
6482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6483 *) ac_try_echo
=$ac_try;;
6485 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6486 $as_echo "$ac_try_echo") >&5
6487 (eval "$ac_compile") 2>conftest.er1
6489 grep -v '^ *+' conftest.er1
>conftest.err
6491 cat conftest.err
>&5
6492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } && {
6494 test -z "$ac_c_werror_flag" ||
6495 test ! -s conftest.err
6496 } && test -s conftest.
$ac_objext; then
6497 libc_cv_friendly_stddef
=yes
6499 $as_echo "$as_me: failed program was:" >&5
6500 sed 's/^/| /' conftest.
$ac_ext >&5
6502 libc_cv_friendly_stddef
=no
6505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6507 { $as_echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
6508 $as_echo "$libc_cv_friendly_stddef" >&6; }
6509 if test $libc_cv_friendly_stddef = yes; then
6510 config_vars
="$config_vars
6511 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
6514 { $as_echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
6515 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
6516 if test "${libc_cv_need_minus_P+set}" = set; then
6517 $as_echo_n "(cached) " >&6
6519 cat > conftest.S
<<EOF
6520 #include "confdefs.h"
6521 /* Nothing whatsoever. */
6523 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
6524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); }; }; then
6529 libc_cv_need_minus_P
=no
6531 libc_cv_need_minus_P
=yes
6535 { $as_echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
6536 $as_echo "$libc_cv_need_minus_P" >&6; }
6537 if test $libc_cv_need_minus_P = yes; then
6538 config_vars
="$config_vars
6539 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
6542 { $as_echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
6543 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
6544 if test "${libc_cv_dot_text+set}" = set; then
6545 $as_echo_n "(cached) " >&6
6547 cat > conftest.s
<<EOF
6551 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6556 (exit $ac_status); }; }; then
6557 libc_cv_dot_text
=.text
6562 if test -z "$libc_cv_dot_text"; then
6563 { $as_echo "$as_me:$LINENO: result: no" >&5
6564 $as_echo "no" >&6; }
6566 { $as_echo "$as_me:$LINENO: result: yes" >&5
6567 $as_echo "yes" >&6; }
6570 { $as_echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
6571 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
6572 if test "${libc_cv_asm_global_directive+set}" = set; then
6573 $as_echo_n "(cached) " >&6
6575 libc_cv_asm_global_directive
=UNKNOWN
6576 for ac_globl
in .globl .global .EXPORT
; do
6577 cat > conftest.s
<<EOF
6582 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }; }; then
6588 libc_cv_asm_global_directive
=${ac_globl}
6591 test $libc_cv_asm_global_directive != UNKNOWN
&& break
6594 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
6595 $as_echo "$libc_cv_asm_global_directive" >&6; }
6596 if test $libc_cv_asm_global_directive = UNKNOWN
; then
6597 { { $as_echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
6598 $as_echo "$as_me: error: cannot determine asm global directive" >&2;}
6599 { (exit 1); exit 1; }; }
6601 cat >>confdefs.h
<<_ACEOF
6602 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
6607 { $as_echo "$as_me:$LINENO: checking for .set assembler directive" >&5
6608 $as_echo_n "checking for .set assembler directive... " >&6; }
6609 if test "${libc_cv_asm_set_directive+set}" = set; then
6610 $as_echo_n "(cached) " >&6
6612 cat > conftest.s
<<EOF
6615 .set glibc_conftest_frobozz,foo
6616 $libc_cv_asm_global_directive glibc_conftest_frobozz
6618 # The alpha-dec-osf1 assembler gives only a warning for `.set'
6619 # (but it doesn't work), so we must do a linking check to be sure.
6620 cat > conftest1.c
<<\EOF
6621 extern int glibc_conftest_frobozz
;
6622 void _start
() { glibc_conftest_frobozz
= 1; }
6624 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6625 -nostartfiles -nostdlib \
6626 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
6627 libc_cv_asm_set_directive
=yes
6629 libc_cv_asm_set_directive
=no
6633 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
6634 $as_echo "$libc_cv_asm_set_directive" >&6; }
6635 if test $libc_cv_asm_set_directive = yes; then
6636 cat >>confdefs.h
<<\_ACEOF
6637 #define HAVE_ASM_SET_DIRECTIVE 1
6642 { $as_echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
6643 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
6644 if test "${libc_cv_asm_type_prefix+set}" = set; then
6645 $as_echo_n "(cached) " >&6
6647 libc_cv_asm_type_prefix
=no
6648 for ac_try_prefix
in '@' '%' '#'; do
6649 cat > conftest.s
<<EOF
6651 ${libc_cv_asm_global_directive} foo
6652 .type foo, ${ac_try_prefix}object
6657 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); }; }; then
6663 libc_cv_asm_type_prefix
=${ac_try_prefix}
6666 test "x$libc_cv_asm_type_prefix" != xno
&& break
6669 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
6670 $as_echo "$libc_cv_asm_type_prefix" >&6; }
6671 if test "x$libc_cv_asm_type_prefix" != xno
; then
6672 cat >>confdefs.h
<<_ACEOF
6673 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
6678 # For the multi-arch option we need support in the assembler.
6679 if test "$multi_arch" = yes; then
6680 if test "x$libc_cv_asm_type_prefix" != xno
; then
6681 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
6682 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
6683 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
6684 $as_echo_n "(cached) " >&6
6686 cat > conftest.s
<<EOF
6687 .type foo,%gnu_indirect_function
6689 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
6691 libc_cv_asm_gnu_indirect_function
=yes
6693 libc_cv_asm_gnu_indirect_function
=no
6697 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
6698 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
6700 libc_cv_asm_gnu_indirect_function
=no
6702 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
; then
6703 { { $as_echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
6704 $as_echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
6705 { (exit 1); exit 1; }; }
6709 { $as_echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
6710 $as_echo_n "checking for .symver assembler directive... " >&6; }
6711 if test "${libc_cv_asm_symver_directive+set}" = set; then
6712 $as_echo_n "(cached) " >&6
6714 cat > conftest.s
<<EOF
6717 .symver _sym,sym@VERS
6719 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6720 libc_cv_asm_symver_directive
=yes
6722 libc_cv_asm_symver_directive
=no
6726 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
6727 $as_echo "$libc_cv_asm_symver_directive" >&6; }
6728 { $as_echo "$as_me:$LINENO: checking for ld --version-script" >&5
6729 $as_echo_n "checking for ld --version-script... " >&6; }
6730 if test "${libc_cv_ld_version_script_option+set}" = set; then
6731 $as_echo_n "(cached) " >&6
6733 if test $libc_cv_asm_symver_directive = yes; then
6734 cat > conftest.s
<<EOF
6737 .symver _sym,sym@VERS
6739 cat > conftest.map
<<EOF
6748 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6749 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
6750 -o conftest.so conftest.o
6751 -nostartfiles -nostdlib
6752 -Wl,--version-script,conftest.map
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; };
6760 libc_cv_ld_version_script_option
=yes
6762 libc_cv_ld_version_script_option
=no
6765 libc_cv_ld_version_script_option
=no
6768 libc_cv_ld_version_script_option
=no
6772 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
6773 $as_echo "$libc_cv_ld_version_script_option" >&6; }
6774 if test $shared != no
&&
6775 test $libc_cv_asm_symver_directive = yes &&
6776 test $libc_cv_ld_version_script_option = yes &&
6777 test $enable_versioning = yes; then
6779 cat >>confdefs.h
<<\_ACEOF
6780 #define DO_VERSIONING 1
6788 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
6790 *** WARNING: You should not compile GNU libc without versioning. Not using
6791 *** versioning will introduce incompatibilities so that old binaries
6792 *** will not run anymore.
6793 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
6795 if test $elf = yes; then
6796 { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
6797 $as_echo_n "checking for .previous assembler directive... " >&6; }
6798 if test "${libc_cv_asm_previous_directive+set}" = set; then
6799 $as_echo_n "(cached) " >&6
6801 cat > conftest.s
<<EOF
6802 .section foo_section
6805 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); }; }; then
6811 libc_cv_asm_previous_directive
=yes
6813 libc_cv_asm_previous_directive
=no
6817 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
6818 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6819 if test $libc_cv_asm_previous_directive = yes; then
6820 cat >>confdefs.h
<<\_ACEOF
6821 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
6825 { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
6826 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6827 if test "${libc_cv_asm_popsection_directive+set}" = set; then
6828 $as_echo_n "(cached) " >&6
6830 cat > conftest.s
<<EOF
6831 .pushsection foo_section
6834 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); }; }; then
6840 libc_cv_asm_popsection_directive
=yes
6842 libc_cv_asm_popsection_directive
=no
6846 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
6847 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6848 if test $libc_cv_asm_popsection_directive = yes; then
6849 cat >>confdefs.h
<<\_ACEOF
6850 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6855 { $as_echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6856 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6857 if test "${libc_cv_asm_protected_directive+set}" = set; then
6858 $as_echo_n "(cached) " >&6
6860 cat > conftest.s
<<EOF
6866 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; }; then
6872 libc_cv_asm_protected_directive
=yes
6874 { { $as_echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6875 $as_echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6876 { (exit 1); exit 1; }; }
6880 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6881 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6883 if test $libc_cv_asm_protected_directive = yes; then
6884 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6885 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6886 if test "${libc_cv_visibility_attribute+set}" = set; then
6887 $as_echo_n "(cached) " >&6
6889 cat > conftest.c
<<EOF
6890 int foo __attribute__ ((visibility ("hidden"))) = 1;
6891 int bar __attribute__ ((visibility ("protected"))) = 1;
6893 libc_cv_visibility_attribute
=no
6894 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); }; }; then
6900 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
6901 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
6902 libc_cv_visibility_attribute
=yes
6909 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6910 $as_echo "$libc_cv_visibility_attribute" >&6; }
6911 if test $libc_cv_visibility_attribute != yes; then
6912 { { $as_echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6913 $as_echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6914 { (exit 1); exit 1; }; }
6918 if test $libc_cv_visibility_attribute = yes; then
6919 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6920 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6921 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6922 $as_echo_n "(cached) " >&6
6924 cat > conftest.c
<<EOF
6926 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6927 int bar (int x) { return x; }
6929 libc_cv_broken_visibility_attribute
=yes
6930 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); }; }; then
6936 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
6937 libc_cv_broken_visibility_attribute
=no
6940 rm -f conftest.c conftest.s
6943 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6944 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6945 if test $libc_cv_broken_visibility_attribute = yes; then
6946 { { $as_echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6947 $as_echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6948 { (exit 1); exit 1; }; }
6952 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6953 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6954 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6955 $as_echo_n "(cached) " >&6
6957 cat > conftest.c
<<EOF
6958 extern int foo (int x) __asm ("xyzzy");
6959 int bar (int x) { return x; }
6960 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6962 extern __typeof (dfoo) dfoo __asm ("abccb");
6965 libc_cv_broken_alias_attribute
=yes
6966 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); }; }; then
6972 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6973 grep 'abccb' conftest.s
>/dev
/null
; then
6974 libc_cv_broken_alias_attribute
=no
6977 rm -f conftest.c conftest.s
6980 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6981 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6982 if test $libc_cv_broken_alias_attribute = yes; then
6983 { { $as_echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6984 $as_echo "$as_me: error: working alias attribute support required" >&2;}
6985 { (exit 1); exit 1; }; }
6988 if test $libc_cv_visibility_attribute = yes; then
6989 { $as_echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6990 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6991 if test "${libc_cv_have_sdata_section+set}" = set; then
6992 $as_echo_n "(cached) " >&6
6994 echo "int i;" > conftest.c
6995 libc_cv_have_sdata_section
=no
6996 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6997 |
grep '\.sdata' >/dev
/null
; then
6998 libc_cv_have_sdata_section
=yes
7000 rm -f conftest.c conftest.so
7003 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
7004 $as_echo "$libc_cv_have_sdata_section" >&6; }
7005 if test $libc_cv_have_sdata_section = yes; then
7006 cat >>confdefs.h
<<\_ACEOF
7007 #define HAVE_SDATA_SECTION 1
7013 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
7014 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
7015 if test "${libc_cv_initfini_array+set}" = set; then
7016 $as_echo_n "(cached) " >&6
7018 cat > conftest.c
<<EOF
7019 int _start (void) { return 0; }
7020 int __start (void) { return 0; }
7021 int foo (void) { return 1; }
7022 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
7024 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
7025 -static -nostartfiles -nostdlib 1>&5'
7026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); }; }
7032 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
7033 libc_cv_initfini_array
=yes
7035 libc_cv_initfini_array
=no
7038 libc_cv_initfini_array
=no
7042 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
7043 $as_echo "$libc_cv_initfini_array" >&6; }
7044 if test $libc_cv_initfini_array != yes; then
7045 { { $as_echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
7046 $as_echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
7047 { (exit 1); exit 1; }; }
7050 { $as_echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
7051 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
7052 if test "${libc_cv_cc_with_libunwind+set}" = set; then
7053 $as_echo_n "(cached) " >&6
7056 cat > conftest.c
<<EOF
7057 int main (void) { return 0; }
7059 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
7060 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
7061 libc_cv_cc_with_libunwind
=yes
7063 libc_cv_cc_with_libunwind
=no
7067 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
7068 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
7070 if test $libc_cv_cc_with_libunwind = yes; then
7071 cat >>confdefs.h
<<\_ACEOF
7072 #define HAVE_CC_WITH_LIBUNWIND 1
7077 { $as_echo "$as_me:$LINENO: checking for -z nodelete option" >&5
7078 $as_echo_n "checking for -z nodelete option... " >&6; }
7079 if test "${libc_cv_z_nodelete+set}" = set; then
7080 $as_echo_n "(cached) " >&6
7082 cat > conftest.c
<<EOF
7083 int _start (void) { return 42; }
7085 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7086 -fPIC -shared -o conftest.so conftest.c
7087 -nostartfiles -nostdlib
7088 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; }
7095 libc_cv_z_nodelete
=yes
7097 { { $as_echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
7098 $as_echo "$as_me: error: linker with -z nodelete support required" >&2;}
7099 { (exit 1); exit 1; }; }
7103 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
7104 $as_echo "$libc_cv_z_nodelete" >&6; }
7106 { $as_echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
7107 $as_echo_n "checking for -z nodlopen option... " >&6; }
7108 if test "${libc_cv_z_nodlopen+set}" = set; then
7109 $as_echo_n "(cached) " >&6
7111 cat > conftest.c
<<EOF
7112 int _start (void) { return 42; }
7114 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7115 -fPIC -shared -o conftest.so conftest.c
7116 -nostartfiles -nostdlib
7117 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); }; }
7124 libc_cv_z_nodlopen
=yes
7126 { { $as_echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
7127 $as_echo "$as_me: error: linker with -z nodlopen support required" >&2;}
7128 { (exit 1); exit 1; }; }
7132 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
7133 $as_echo "$libc_cv_z_nodlopen" >&6; }
7135 { $as_echo "$as_me:$LINENO: checking for -z initfirst option" >&5
7136 $as_echo_n "checking for -z initfirst option... " >&6; }
7137 if test "${libc_cv_z_initfirst+set}" = set; then
7138 $as_echo_n "(cached) " >&6
7140 cat > conftest.c
<<EOF
7141 int _start (void) { return 42; }
7143 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7144 -fPIC -shared -o conftest.so conftest.c
7145 -nostartfiles -nostdlib
7146 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
7147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; }
7153 libc_cv_z_initfirst
=yes
7155 { { $as_echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
7156 $as_echo "$as_me: error: linker with -z initfirst support required" >&2;}
7157 { (exit 1); exit 1; }; }
7161 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
7162 $as_echo "$libc_cv_z_initfirst" >&6; }
7164 case "$base_machine" in
7165 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
7166 { $as_echo "$as_me:$LINENO: checking for -z relro option" >&5
7167 $as_echo_n "checking for -z relro option... " >&6; }
7168 if test "${libc_cv_z_relro+set}" = set; then
7169 $as_echo_n "(cached) " >&6
7172 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; }
7179 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
7180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); }; }
7190 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
7191 $as_echo "$libc_cv_z_relro" >&6; }
7192 if test "$libc_cv_z_relro" = no
; then
7193 { { $as_echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
7194 $as_echo "$as_me: error: linker with -z relro support required" >&2;}
7195 { (exit 1); exit 1; }; }
7201 { $as_echo "$as_me:$LINENO: checking for -Bgroup option" >&5
7202 $as_echo_n "checking for -Bgroup option... " >&6; }
7203 if test "${libc_cv_Bgroup+set}" = set; then
7204 $as_echo_n "(cached) " >&6
7206 cat > conftest.c
<<EOF
7207 int _start (void) { return 42; }
7209 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7210 -fPIC -shared -o conftest.so conftest.c
7211 -Wl,-Bgroup -nostdlib 1>&5'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; }
7224 { $as_echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
7225 $as_echo "$libc_cv_Bgroup" >&6; }
7228 { $as_echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
7229 $as_echo_n "checking for libgcc_s suffix... " >&6; }
7230 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
7231 $as_echo_n "(cached) " >&6
7233 cat > conftest.c
<<EOF
7234 int main (void) { return 0; }
7236 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
7237 -fPIC -shared -shared-libgcc -o conftest.so \
7238 conftest.c -v 2>&1 >/dev/null \
7239 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
7242 { $as_echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
7243 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
7246 { $as_echo "$as_me:$LINENO: checking for --as-needed option" >&5
7247 $as_echo_n "checking for --as-needed option... " >&6; }
7248 if test "${libc_cv_as_needed+set}" = set; then
7249 $as_echo_n "(cached) " >&6
7251 cat > conftest.c
<<EOF
7252 int main (void) { return 0; }
7254 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7255 -fPIC -shared -o conftest.so conftest.c
7256 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
7258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); }; }
7264 libc_cv_as_needed
=yes
7266 libc_cv_as_needed
=no
7270 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
7271 $as_echo "$libc_cv_as_needed" >&6; }
7275 { $as_echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
7276 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
7277 if test "${libc_cv_as_noexecstack+set}" = set; then
7278 $as_echo_n "(cached) " >&6
7280 cat > conftest.c
<<EOF
7283 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
7284 -S -o conftest.s conftest.c 1>&5'
7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 (exit $ac_status); }; } \
7290 && grep -q .note.GNU-stack conftest.s \
7291 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
7292 -c -o conftest.o conftest.s 1>&5'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; }
7299 libc_cv_as_noexecstack
=yes
7301 libc_cv_as_noexecstack
=no
7305 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
7306 $as_echo "$libc_cv_as_noexecstack" >&6; }
7307 if test $libc_cv_as_noexecstack = yes; then
7308 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
7312 { $as_echo "$as_me:$LINENO: checking for -z combreloc" >&5
7313 $as_echo_n "checking for -z combreloc... " >&6; }
7314 if test "${libc_cv_z_combreloc+set}" = set; then
7315 $as_echo_n "(cached) " >&6
7317 cat > conftest.c
<<EOF
7318 extern int bar (int);
7320 int foo (void) { return bar (mumble); }
7322 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7323 -fPIC -shared -o conftest.so conftest.c
7324 -nostdlib -nostartfiles
7325 -Wl,-z,combreloc 1>&5'
7326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; }
7332 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
7333 libc_cv_z_combreloc
=yes
7335 libc_cv_z_combreloc
=no
7338 libc_cv_z_combreloc
=no
7342 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
7343 $as_echo "$libc_cv_z_combreloc" >&6; }
7344 if test "$libc_cv_z_combreloc" = yes; then
7345 cat >>confdefs.h
<<\_ACEOF
7346 #define HAVE_Z_COMBRELOC 1
7352 { $as_echo "$as_me:$LINENO: checking for -z execstack" >&5
7353 $as_echo_n "checking for -z execstack... " >&6; }
7354 if test "${libc_cv_z_execstack+set}" = set; then
7355 $as_echo_n "(cached) " >&6
7357 cat > conftest.c
<<EOF
7358 int _start (void) { return 42; }
7360 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7361 -fPIC -shared -o conftest.so conftest.c
7362 -Wl,-z,execstack -nostdlib
7364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); }; }
7370 libc_cv_z_execstack
=yes
7372 libc_cv_z_execstack
=no
7376 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
7377 $as_echo "$libc_cv_z_execstack" >&6; }
7380 { $as_echo "$as_me:$LINENO: checking for -fpie" >&5
7381 $as_echo_n "checking for -fpie... " >&6; }
7382 if test "${libc_cv_fpie+set}" = set; then
7383 $as_echo_n "(cached) " >&6
7385 cat > conftest.c
<<EOF
7387 main () { return 0;}
7389 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
7390 -o conftest conftest.c 1>&5'
7391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); }; }
7403 { $as_echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
7404 $as_echo "$libc_cv_fpie" >&6; }
7408 { $as_echo "$as_me:$LINENO: checking for --hash-style option" >&5
7409 $as_echo_n "checking for --hash-style option... " >&6; }
7410 if test "${libc_cv_hashstyle+set}" = set; then
7411 $as_echo_n "(cached) " >&6
7413 cat > conftest.c
<<EOF
7414 int _start (void) { return 42; }
7416 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7417 -fPIC -shared -o conftest.so conftest.c
7418 -Wl,--hash-style=both -nostdlib 1>&5'
7419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); }; }
7425 libc_cv_hashstyle
=yes
7427 libc_cv_hashstyle
=no
7431 { $as_echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
7432 $as_echo "$libc_cv_hashstyle" >&6; }
7436 { $as_echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
7437 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
7438 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
7439 $as_echo_n "(cached) " >&6
7441 cat > conftest.c
<<EOF
7444 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; }
7452 libc_cv_fno_toplevel_reorder
=yes
7454 libc_cv_fno_toplevel_reorder
=no
7458 { $as_echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
7459 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
7460 if test $libc_cv_fno_toplevel_reorder = yes; then
7461 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
7463 fno_unit_at_a_time
=-fno-unit-at-a-time
7467 { $as_echo "$as_me:$LINENO: checking for -fstack-protector" >&5
7468 $as_echo_n "checking for -fstack-protector... " >&6; }
7469 if test "${libc_cv_ssp+set}" = set; then
7470 $as_echo_n "(cached) " >&6
7472 cat > conftest.c
<<EOF
7474 main () { return 0;}
7476 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
7477 -o conftest conftest.c 1>&5'
7478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); }; }
7490 { $as_echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
7491 $as_echo "$libc_cv_ssp" >&6; }
7494 { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
7495 $as_echo_n "checking for -fgnu89-inline... " >&6; }
7496 if test "${libc_cv_gnu89_inline+set}" = set; then
7497 $as_echo_n "(cached) " >&6
7499 cat > conftest.c
<<EOF
7501 #ifdef __GNUC_GNU_INLINE__
7502 main () { return 0;}
7507 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
7508 -o conftest.s conftest.c 1>&5'
7509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); }; }
7515 libc_cv_gnu89_inline
=yes
7517 libc_cv_gnu89_inline
=no
7521 { $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
7522 $as_echo "$libc_cv_gnu89_inline" >&6; }
7523 if test $libc_cv_gnu89_inline = yes; then
7524 libc_cv_gnu89_inline
=-fgnu89-inline
7526 libc_cv_gnu89_inline
=
7530 if test $elf != yes; then
7531 { $as_echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
7532 $as_echo_n "checking for .init and .fini sections... " >&6; }
7533 if test "${libc_cv_have_initfini+set}" = set; then
7534 $as_echo_n "(cached) " >&6
7536 cat >conftest.
$ac_ext <<_ACEOF
7539 cat confdefs.h
>>conftest.
$ac_ext
7540 cat >>conftest.
$ac_ext <<_ACEOF
7541 /* end confdefs.h. */
7546 asm (".section .init");
7547 asm (".section .fini");
7548 asm ("${libc_cv_dot_text}");
7553 rm -f conftest.
$ac_objext
7554 if { (ac_try
="$ac_compile"
7556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7557 *) ac_try_echo=$ac_try;;
7559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7560 $as_echo "$ac_try_echo") >&5
7561 (eval "$ac_compile") 2>conftest.er1
7563 grep -v '^ *+' conftest.er1 >conftest.err
7565 cat conftest.err >&5
7566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); } && {
7568 test -z "$ac_c_werror_flag" ||
7569 test ! -s conftest.err
7570 } && test -s conftest.$ac_objext; then
7571 libc_cv_have_initfini=yes
7573 $as_echo "$as_me: failed program was:" >&5
7574 sed 's/^/| /' conftest.$ac_ext >&5
7576 libc_cv_have_initfini=no
7579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7581 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
7582 $as_echo "$libc_cv_have_initfini" >&6; }
7583 if test $libc_cv_have_initfini = yes; then
7584 cat >>confdefs.h <<\_ACEOF
7585 #define HAVE_INITFINI 1
7591 if test $elf = yes; then
7592 { $as_echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
7593 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
7594 if test "${libc_cv_have_section_quotes+set}" = set; then
7595 $as_echo_n "(cached) " >&6
7597 cat > conftest.c <<EOF
7598 static const int foo
7599 __attribute__ ((section ("bar"))) = 1;
7601 if ${CC-cc} -S conftest.c -o conftest.s; then
7602 if grep '\.section.*"bar"' conftest.s >/dev/null; then
7603 libc_cv_have_section_quotes=yes
7605 libc_cv_have_section_quotes=no
7608 libc_cv_have_section_quotes=unknown
7613 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
7614 $as_echo "$libc_cv_have_section_quotes" >&6; }
7615 if test $libc_cv_have_section_quotes = yes; then
7616 cat >>confdefs.h <<\_ACEOF
7617 #define HAVE_SECTION_QUOTES 1
7625 if test $elf = yes; then
7626 libc_cv_asm_underscores=no
7628 if test $ac_cv_prog_cc_works = yes; then
7629 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7630 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7631 if test "${libc_cv_asm_underscores+set}" = set; then
7632 $as_echo_n "(cached) " >&6
7634 cat >conftest.$ac_ext <<_ACEOF
7637 cat confdefs.h >>conftest.$ac_ext
7638 cat >>conftest.$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7640 asm ("_glibc_foobar:");
7649 rm -f conftest.$ac_objext conftest$ac_exeext
7650 if { (ac_try="$ac_link"
7652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7653 *) ac_try_echo
=$ac_try;;
7655 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7656 $as_echo "$ac_try_echo") >&5
7657 (eval "$ac_link") 2>conftest.er1
7659 grep -v '^ *+' conftest.er1
>conftest.err
7661 cat conftest.err
>&5
7662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } && {
7664 test -z "$ac_c_werror_flag" ||
7665 test ! -s conftest.err
7666 } && test -s conftest
$ac_exeext && {
7667 test "$cross_compiling" = yes ||
7668 $as_test_x conftest
$ac_exeext
7670 libc_cv_asm_underscores
=yes
7672 $as_echo "$as_me: failed program was:" >&5
7673 sed 's/^/| /' conftest.
$ac_ext >&5
7675 libc_cv_asm_underscores
=no
7678 rm -rf conftest.dSYM
7679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7680 conftest
$ac_exeext conftest.
$ac_ext
7682 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7683 $as_echo "$libc_cv_asm_underscores" >&6; }
7685 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7686 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7687 if test "${libc_cv_asm_underscores+set}" = set; then
7688 $as_echo_n "(cached) " >&6
7690 cat > conftest.
$ac_ext <<EOF
7691 #line $LINENO "configure"
7692 #include "confdefs.h"
7693 void underscore_test(void) {
7696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7697 (eval $ac_compile) 2>&5
7699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); }; then
7701 if grep _underscore_test conftest
* >/dev
/null
; then
7703 libc_cv_asm_underscores
=yes
7706 libc_cv_asm_underscores
=no
7709 echo "configure: failed program was:" >&5
7710 cat conftest.
$ac_ext >&5
7712 libc_cv_asm_underscores
=no
7716 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7717 $as_echo "$libc_cv_asm_underscores" >&6; }
7720 if test $libc_cv_asm_underscores = no
; then
7721 cat >>confdefs.h
<<\_ACEOF
7722 #define NO_UNDERSCORES 1
7727 if test $elf = yes; then
7728 libc_cv_weak_symbols
=yes
7731 { $as_echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
7732 $as_echo_n "checking for assembler .weak directive... " >&6; }
7733 if test "${libc_cv_asm_weak_directive+set}" = set; then
7734 $as_echo_n "(cached) " >&6
7736 cat > conftest.s
<<EOF
7738 ${libc_cv_asm_global_directive} foo
7741 .weak bar; bar = foo
7743 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); }; }; then
7749 libc_cv_asm_weak_directive
=yes
7751 libc_cv_asm_weak_directive
=no
7755 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
7756 $as_echo "$libc_cv_asm_weak_directive" >&6; }
7758 if test $libc_cv_asm_weak_directive = no
; then
7759 { $as_echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
7760 $as_echo_n "checking for assembler .weakext directive... " >&6; }
7761 if test "${libc_cv_asm_weakext_directive+set}" = set; then
7762 $as_echo_n "(cached) " >&6
7764 cat > conftest.s
<<EOF
7766 ${libc_cv_asm_global_directive} foo
7770 ${libc_cv_asm_global_directive} baz
7773 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7778 (exit $ac_status); }; }; then
7779 libc_cv_asm_weakext_directive
=yes
7781 libc_cv_asm_weakext_directive
=no
7785 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
7786 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
7790 if test $libc_cv_asm_weak_directive = yes; then
7791 cat >>confdefs.h
<<\_ACEOF
7792 #define HAVE_ASM_WEAK_DIRECTIVE 1
7795 elif test $libc_cv_asm_weakext_directive = yes; then
7796 cat >>confdefs.h
<<\_ACEOF
7797 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
7802 { $as_echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
7803 $as_echo_n "checking whether CFI directives are supported... " >&6; }
7804 if test "${libc_cv_asm_cfi_directives+set}" = set; then
7805 $as_echo_n "(cached) " >&6
7808 sparc
/sparc64
*) cfi_offset
=2047;;
7811 cat > conftest.s
<<EOF
7813 .type func,%function
7817 .cfi_rel_offset 1, $cfi_offset
7820 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); }; }; then
7826 libc_cv_asm_cfi_directives
=yes
7828 libc_cv_asm_cfi_directives
=no
7832 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
7833 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
7834 if test $libc_cv_asm_cfi_directives = yes; then
7835 cat >>confdefs.h
<<\_ACEOF
7836 #define HAVE_ASM_CFI_DIRECTIVES 1
7841 { $as_echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
7842 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
7843 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
7844 $as_echo_n "(cached) " >&6
7846 cat > conftest.c
<<\EOF
7851 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7852 -nostdlib -nostartfiles -Wl,--no-whole-archive
7853 -o conftest conftest.c 1>&5'
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); }; }; then
7859 libc_cv_ld_no_whole_archive
=yes
7861 libc_cv_ld_no_whole_archive
=no
7865 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7866 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
7867 if test $libc_cv_ld_no_whole_archive = yes; then
7868 no_whole_archive
=-Wl,--no-whole-archive
7871 { $as_echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7872 $as_echo_n "checking for gcc -fexceptions... " >&6; }
7873 if test "${libc_cv_gcc_exceptions+set}" = set; then
7874 $as_echo_n "(cached) " >&6
7876 cat > conftest.c
<<\EOF
7881 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7882 -nostdlib -nostartfiles -fexceptions
7883 -o conftest conftest.c 1>&5'
7884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); }; }; then
7889 libc_cv_gcc_exceptions
=yes
7891 libc_cv_gcc_exceptions
=no
7895 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7896 $as_echo "$libc_cv_gcc_exceptions" >&6; }
7897 if test $libc_cv_gcc_exceptions = yes; then
7898 exceptions
=-fexceptions
7901 if test "$host_cpu" = powerpc
; then
7902 # Check for a bug present in at least versions 2.8.x of GCC
7903 # and versions 1.0.x of EGCS.
7904 { $as_echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7905 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7906 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7907 $as_echo_n "(cached) " >&6
7909 cat >conftest.
$ac_ext <<_ACEOF
7912 cat confdefs.h
>>conftest.
$ac_ext
7913 cat >>conftest.
$ac_ext <<_ACEOF
7914 /* end confdefs.h. */
7915 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7924 rm -f conftest.
$ac_objext
7925 if { (ac_try
="$ac_compile"
7927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7931 $as_echo "$ac_try_echo") >&5
7932 (eval "$ac_compile") 2>conftest.er1
7934 grep -v '^ *+' conftest.er1 >conftest.err
7936 cat conftest.err >&5
7937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); } && {
7939 test -z "$ac_c_werror_flag" ||
7940 test ! -s conftest.err
7941 } && test -s conftest.$ac_objext; then
7942 libc_cv_c_asmcr0_bug='no'
7944 $as_echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7947 libc_cv_c_asmcr0_bug='yes'
7950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7952 { $as_echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7953 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7954 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7955 cat >>confdefs.h <<\_ACEOF
7956 #define BROKEN_PPC_ASM_CR0 1
7962 { $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7963 $as_echo_n "checking for __builtin_expect... " >&6; }
7964 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7965 $as_echo_n "(cached) " >&6
7967 cat > conftest.c <<EOF
7968 #line $LINENO "configure"
7971 a = __builtin_expect (a, 10);
7972 return a == 10 ? 0 : 1;
7975 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7976 -o conftest conftest.c -lgcc >&5'
7977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); }; }; then
7982 libc_cv_gcc_builtin_expect=yes
7984 libc_cv_gcc_builtin_expect=no
7988 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7989 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7990 if test "$libc_cv_gcc_builtin_expect" = yes; then
7991 cat >>confdefs.h <<\_ACEOF
7992 #define HAVE_BUILTIN_EXPECT 1
7997 { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7998 $as_echo_n "checking for __builtin_memset... " >&6; }
7999 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
8000 $as_echo_n "(cached) " >&6
8002 cat > conftest.c <<\EOF
8005 __builtin_memset (x, 0, 1000);
8008 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; };
8015 libc_cv_gcc_builtin_memset=no
8017 libc_cv_gcc_builtin_memset=yes
8021 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
8022 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
8023 if test "$libc_cv_gcc_builtin_memset" = yes ; then
8024 cat >>confdefs.h <<\_ACEOF
8025 #define HAVE_BUILTIN_MEMSET 1
8030 { $as_echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
8031 $as_echo_n "checking for redirection of built-in functions... " >&6; }
8032 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
8033 $as_echo_n "(cached) " >&6
8035 cat > conftest.c <<\EOF
8036 extern char *strstr (const char *, const char *) __asm ("my_strstr");
8037 char *foo (const char *a, const char *b)
8039 return __builtin_strstr (a, b);
8042 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
8043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); }; };
8049 libc_cv_gcc_builtin_redirection=yes
8051 libc_cv_gcc_builtin_redirection=no
8055 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
8056 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
8057 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
8058 cat >>confdefs.h <<\_ACEOF
8059 #define HAVE_BUILTIN_REDIRECTION 1
8064 if test "x$use__thread" != xno; then
8065 { $as_echo "$as_me:$LINENO: checking for __thread" >&5
8066 $as_echo_n "checking for __thread... " >&6; }
8067 if test "${libc_cv_gcc___thread+set}" = set; then
8068 $as_echo_n "(cached) " >&6
8070 cat > conftest.c <<\EOF
8071 __thread int a = 42;
8073 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
8074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); }; }; then
8079 libc_cv_gcc___thread=yes
8081 libc_cv_gcc___thread=no
8085 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
8086 $as_echo "$libc_cv_gcc___thread" >&6; }
8087 if test "$libc_cv_gcc___thread" = yes; then
8088 cat >>confdefs.h <<\_ACEOF
8089 #define HAVE___THREAD 1
8094 libc_cv_gcc___thread=no
8097 if test "$libc_cv_gcc___thread" = yes; then
8098 { $as_echo "$as_me:$LINENO: checking for tls_model attribute" >&5
8099 $as_echo_n "checking for tls_model attribute... " >&6; }
8100 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
8101 $as_echo_n "(cached) " >&6
8103 cat > conftest.c <<\EOF
8104 extern __thread int a __attribute__((tls_model ("initial-exec")));
8106 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
8107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 (exit $ac_status); }; }; then
8112 libc_cv_gcc_tls_model_attr=yes
8114 libc_cv_gcc_tls_model_attr=no
8118 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
8119 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
8120 if test "$libc_cv_gcc_tls_model_attr" = yes; then
8121 cat >>confdefs.h <<\_ACEOF
8122 #define HAVE_TLS_MODEL_ATTRIBUTE 1
8128 if test -n "$submachine"; then
8129 { $as_echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
8130 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
8131 if test "${libc_cv_cc_submachine+set}" = set; then
8132 $as_echo_n "(cached) " >&6
8134 libc_cv_cc_submachine=no
8135 for opt in "-march=$submachine" "-mcpu=$submachine"; do
8136 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; }; then
8142 libc_cv_cc_submachine="$opt"
8147 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
8148 $as_echo "$libc_cv_cc_submachine" >&6; }
8149 if test "x$libc_cv_cc_submachine" = xno; then
8150 { { $as_echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
8151 $as_echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
8152 { (exit 1); exit 1; }; }
8157 { $as_echo "$as_me:$LINENO: checking for libgd" >&5
8158 $as_echo_n "checking for libgd... " >&6; }
8159 if test "$with_gd" != "no"; then
8160 old_CFLAGS="$CFLAGS"
8161 CFLAGS="$CFLAGS $libgd_include"
8162 old_LDFLAGS="$LDFLAGS"
8163 LDFLAGS="$LDFLAGS $libgd_ldflags"
8165 LIBS="$LIBS -lgd -lpng -lz -lm"
8166 cat >conftest.$ac_ext <<_ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8181 rm -f conftest.$ac_objext conftest$ac_exeext
8182 if { (ac_try="$ac_link"
8184 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8185 *) ac_try_echo
=$ac_try;;
8187 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8188 $as_echo "$ac_try_echo") >&5
8189 (eval "$ac_link") 2>conftest.er1
8191 grep -v '^ *+' conftest.er1
>conftest.err
8193 cat conftest.err
>&5
8194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } && {
8196 test -z "$ac_c_werror_flag" ||
8197 test ! -s conftest.err
8198 } && test -s conftest
$ac_exeext && {
8199 test "$cross_compiling" = yes ||
8200 $as_test_x conftest
$ac_exeext
8204 $as_echo "$as_me: failed program was:" >&5
8205 sed 's/^/| /' conftest.
$ac_ext >&5
8210 rm -rf conftest.dSYM
8211 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8212 conftest
$ac_exeext conftest.
$ac_ext
8213 CFLAGS
="$old_CFLAGS"
8214 LDFLAGS
="$old_LDFLAGS"
8219 { $as_echo "$as_me:$LINENO: result: $LIBGD" >&5
8220 $as_echo "$LIBGD" >&6; }
8224 if test x
$with_selinux = xno
; then
8227 # See if we have the SELinux library
8228 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
8229 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
8230 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
8231 $as_echo_n "(cached) " >&6
8233 ac_check_lib_save_LIBS
=$LIBS
8234 LIBS
="-lselinux $LIBS"
8235 cat >conftest.
$ac_ext <<_ACEOF
8238 cat confdefs.h
>>conftest.
$ac_ext
8239 cat >>conftest.
$ac_ext <<_ACEOF
8240 /* end confdefs.h. */
8242 /* Override any GCC internal prototype to avoid an error.
8243 Use char because int might match the return type of a GCC
8244 builtin and then its argument prototype would still apply. */
8248 char is_selinux_enabled ();
8252 return is_selinux_enabled ();
8257 rm -f conftest.
$ac_objext conftest
$ac_exeext
8258 if { (ac_try
="$ac_link"
8260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8261 *) ac_try_echo=$ac_try;;
8263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8264 $as_echo "$ac_try_echo") >&5
8265 (eval "$ac_link") 2>conftest.er1
8267 grep -v '^ *+' conftest.er1 >conftest.err
8269 cat conftest.err >&5
8270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } && {
8272 test -z "$ac_c_werror_flag" ||
8273 test ! -s conftest.err
8274 } && test -s conftest$ac_exeext && {
8275 test "$cross_compiling" = yes ||
8276 $as_test_x conftest$ac_exeext
8278 ac_cv_lib_selinux_is_selinux_enabled=yes
8280 $as_echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.$ac_ext >&5
8283 ac_cv_lib_selinux_is_selinux_enabled=no
8286 rm -rf conftest.dSYM
8287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8288 conftest$ac_exeext conftest.$ac_ext
8289 LIBS=$ac_check_lib_save_LIBS
8291 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
8292 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
8293 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
8299 # See if we have the SELinux header with the NSCD permissions in it.
8300 if test x$have_selinux = xyes ; then
8301 { $as_echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
8302 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
8303 cat >conftest.$ac_ext <<_ACEOF
8306 cat confdefs.h >>conftest.$ac_ext
8307 cat >>conftest.$ac_ext <<_ACEOF
8308 /* end confdefs.h. */
8309 #include <selinux/av_permissions.h>
8313 #ifdef NSCD__SHMEMHOST
8316 #error NSCD__SHMEMHOST not defined
8322 rm -f conftest.$ac_objext
8323 if { (ac_try="$ac_compile"
8325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8326 *) ac_try_echo
=$ac_try;;
8328 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8329 $as_echo "$ac_try_echo") >&5
8330 (eval "$ac_compile") 2>conftest.er1
8332 grep -v '^ *+' conftest.er1
>conftest.err
8334 cat conftest.err
>&5
8335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); } && {
8337 test -z "$ac_c_werror_flag" ||
8338 test ! -s conftest.err
8339 } && test -s conftest.
$ac_objext; then
8342 $as_echo "$as_me: failed program was:" >&5
8343 sed 's/^/| /' conftest.
$ac_ext >&5
8348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8349 { $as_echo "$as_me:$LINENO: result: $have_selinux" >&5
8350 $as_echo "$have_selinux" >&6; }
8353 if test x
$with_selinux = xyes
; then
8354 if test x
$have_selinux = xno
; then
8355 { { $as_echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
8356 $as_echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
8357 { (exit 1); exit 1; }; }
8361 # Check if we're building with SELinux support.
8362 if test "x$have_selinux" = xyes
; then
8364 cat >>confdefs.h
<<\_ACEOF
8365 #define HAVE_SELINUX 1
8369 # See if we have the libaudit library
8370 { $as_echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
8371 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
8372 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
8373 $as_echo_n "(cached) " >&6
8375 ac_check_lib_save_LIBS
=$LIBS
8376 LIBS
="-laudit $LIBS"
8377 cat >conftest.
$ac_ext <<_ACEOF
8380 cat confdefs.h
>>conftest.
$ac_ext
8381 cat >>conftest.
$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8384 /* Override any GCC internal prototype to avoid an error.
8385 Use char because int might match the return type of a GCC
8386 builtin and then its argument prototype would still apply. */
8390 char audit_log_user_avc_message ();
8394 return audit_log_user_avc_message ();
8399 rm -f conftest.
$ac_objext conftest
$ac_exeext
8400 if { (ac_try
="$ac_link"
8402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8403 *) ac_try_echo=$ac_try;;
8405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8406 $as_echo "$ac_try_echo") >&5
8407 (eval "$ac_link") 2>conftest.er1
8409 grep -v '^ *+' conftest.er1 >conftest.err
8411 cat conftest.err >&5
8412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); } && {
8414 test -z "$ac_c_werror_flag" ||
8415 test ! -s conftest.err
8416 } && test -s conftest$ac_exeext && {
8417 test "$cross_compiling" = yes ||
8418 $as_test_x conftest$ac_exeext
8420 ac_cv_lib_audit_audit_log_user_avc_message=yes
8422 $as_echo "$as_me: failed program was:" >&5
8423 sed 's/^/| /' conftest.$ac_ext >&5
8425 ac_cv_lib_audit_audit_log_user_avc_message=no
8428 rm -rf conftest.dSYM
8429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8430 conftest$ac_exeext conftest.$ac_ext
8431 LIBS=$ac_check_lib_save_LIBS
8433 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
8434 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
8435 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then
8441 if test "x$have_libaudit" = xyes; then
8443 cat >>confdefs.h <<\_ACEOF
8444 #define HAVE_LIBAUDIT 1
8450 # See if we have the libcap library
8451 { $as_echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
8452 $as_echo_n "checking for cap_init in -lcap... " >&6; }
8453 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
8454 $as_echo_n "(cached) " >&6
8456 ac_check_lib_save_LIBS=$LIBS
8458 cat >conftest.$ac_ext <<_ACEOF
8461 cat confdefs.h >>conftest.$ac_ext
8462 cat >>conftest.$ac_ext <<_ACEOF
8463 /* end confdefs.h. */
8465 /* Override any GCC internal prototype to avoid an error.
8466 Use char because int might match the return type of a GCC
8467 builtin and then its argument prototype would still apply. */
8480 rm -f conftest.$ac_objext conftest$ac_exeext
8481 if { (ac_try="$ac_link"
8483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8484 *) ac_try_echo
=$ac_try;;
8486 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8487 $as_echo "$ac_try_echo") >&5
8488 (eval "$ac_link") 2>conftest.er1
8490 grep -v '^ *+' conftest.er1
>conftest.err
8492 cat conftest.err
>&5
8493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } && {
8495 test -z "$ac_c_werror_flag" ||
8496 test ! -s conftest.err
8497 } && test -s conftest
$ac_exeext && {
8498 test "$cross_compiling" = yes ||
8499 $as_test_x conftest
$ac_exeext
8501 ac_cv_lib_cap_cap_init
=yes
8503 $as_echo "$as_me: failed program was:" >&5
8504 sed 's/^/| /' conftest.
$ac_ext >&5
8506 ac_cv_lib_cap_cap_init
=no
8509 rm -rf conftest.dSYM
8510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8511 conftest
$ac_exeext conftest.
$ac_ext
8512 LIBS
=$ac_check_lib_save_LIBS
8514 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
8515 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
8516 if test "x$ac_cv_lib_cap_cap_init" = x
""yes; then
8522 if test "x$have_libcap" = xyes
; then
8524 cat >>confdefs.h
<<\_ACEOF
8525 #define HAVE_LIBCAP 1
8534 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
8535 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
8536 if test "${ac_cv_path_GREP+set}" = set; then
8537 $as_echo_n "(cached) " >&6
8539 if test -z "$GREP"; then
8540 ac_path_GREP_found
=false
8541 # Loop through the user's path and test for each of PROGNAME-LIST
8542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8543 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
8546 test -z "$as_dir" && as_dir
=.
8547 for ac_prog
in grep ggrep
; do
8548 for ac_exec_ext
in '' $ac_executable_extensions; do
8549 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
8550 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
8551 # Check for GNU ac_path_GREP and select it if it is found.
8552 # Check for GNU $ac_path_GREP
8553 case `"$ac_path_GREP" --version 2>&1` in
8555 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
8558 $as_echo_n 0123456789 >"conftest.in"
8561 cat "conftest.in" "conftest.in" >"conftest.tmp"
8562 mv "conftest.tmp" "conftest.in"
8563 cp "conftest.in" "conftest.nl"
8564 $as_echo 'GREP' >> "conftest.nl"
8565 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8566 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8567 ac_count
=`expr $ac_count + 1`
8568 if test $ac_count -gt ${ac_path_GREP_max-0}; then
8569 # Best one so far, save it but keep looking for a better one
8570 ac_cv_path_GREP
="$ac_path_GREP"
8571 ac_path_GREP_max
=$ac_count
8573 # 10*(2^10) chars as input seems more than enough
8574 test $ac_count -gt 10 && break
8576 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8579 $ac_path_GREP_found && break 3
8584 if test -z "$ac_cv_path_GREP"; then
8585 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8586 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8587 { (exit 1); exit 1; }; }
8590 ac_cv_path_GREP
=$GREP
8594 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
8595 $as_echo "$ac_cv_path_GREP" >&6; }
8596 GREP
="$ac_cv_path_GREP"
8599 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
8600 $as_echo_n "checking for egrep... " >&6; }
8601 if test "${ac_cv_path_EGREP+set}" = set; then
8602 $as_echo_n "(cached) " >&6
8604 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
8605 then ac_cv_path_EGREP
="$GREP -E"
8607 if test -z "$EGREP"; then
8608 ac_path_EGREP_found
=false
8609 # Loop through the user's path and test for each of PROGNAME-LIST
8610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8611 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
8614 test -z "$as_dir" && as_dir
=.
8615 for ac_prog
in egrep; do
8616 for ac_exec_ext
in '' $ac_executable_extensions; do
8617 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
8618 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
8619 # Check for GNU ac_path_EGREP and select it if it is found.
8620 # Check for GNU $ac_path_EGREP
8621 case `"$ac_path_EGREP" --version 2>&1` in
8623 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
8626 $as_echo_n 0123456789 >"conftest.in"
8629 cat "conftest.in" "conftest.in" >"conftest.tmp"
8630 mv "conftest.tmp" "conftest.in"
8631 cp "conftest.in" "conftest.nl"
8632 $as_echo 'EGREP' >> "conftest.nl"
8633 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8634 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8635 ac_count
=`expr $ac_count + 1`
8636 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8637 # Best one so far, save it but keep looking for a better one
8638 ac_cv_path_EGREP
="$ac_path_EGREP"
8639 ac_path_EGREP_max
=$ac_count
8641 # 10*(2^10) chars as input seems more than enough
8642 test $ac_count -gt 10 && break
8644 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8647 $ac_path_EGREP_found && break 3
8652 if test -z "$ac_cv_path_EGREP"; then
8653 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8654 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8655 { (exit 1); exit 1; }; }
8658 ac_cv_path_EGREP
=$EGREP
8663 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8664 $as_echo "$ac_cv_path_EGREP" >&6; }
8665 EGREP
="$ac_cv_path_EGREP"
8668 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8669 $as_echo_n "checking for ANSI C header files... " >&6; }
8670 if test "${ac_cv_header_stdc+set}" = set; then
8671 $as_echo_n "(cached) " >&6
8673 cat >conftest.
$ac_ext <<_ACEOF
8676 cat confdefs.h
>>conftest.
$ac_ext
8677 cat >>conftest.
$ac_ext <<_ACEOF
8678 /* end confdefs.h. */
8692 rm -f conftest.
$ac_objext
8693 if { (ac_try
="$ac_compile"
8695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8696 *) ac_try_echo=$ac_try;;
8698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8699 $as_echo "$ac_try_echo") >&5
8700 (eval "$ac_compile") 2>conftest.er1
8702 grep -v '^ *+' conftest.er1 >conftest.err
8704 cat conftest.err >&5
8705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } && {
8707 test -z "$ac_c_werror_flag" ||
8708 test ! -s conftest.err
8709 } && test -s conftest.$ac_objext; then
8710 ac_cv_header_stdc=yes
8712 $as_echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8715 ac_cv_header_stdc=no
8718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8720 if test $ac_cv_header_stdc = yes; then
8721 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8722 cat >conftest.$ac_ext <<_ACEOF
8725 cat confdefs.h >>conftest.$ac_ext
8726 cat >>conftest.$ac_ext <<_ACEOF
8727 /* end confdefs.h. */
8731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8732 $EGREP "memchr" >/dev/null 2>&1; then
8735 ac_cv_header_stdc=no
8741 if test $ac_cv_header_stdc = yes; then
8742 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8743 cat >conftest.$ac_ext <<_ACEOF
8746 cat confdefs.h >>conftest.$ac_ext
8747 cat >>conftest.$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8753 $EGREP "free" >/dev/null 2>&1; then
8756 ac_cv_header_stdc=no
8762 if test $ac_cv_header_stdc = yes; then
8763 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8764 if test "$cross_compiling" = yes; then
8767 cat >conftest.$ac_ext <<_ACEOF
8770 cat confdefs.h >>conftest.$ac_ext
8771 cat >>conftest.$ac_ext <<_ACEOF
8772 /* end confdefs.h. */
8775 #if ((' ' & 0x0FF) == 0x020)
8776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8779 # define ISLOWER(c) \
8780 (('a' <= (c) && (c) <= 'i') \
8781 || ('j' <= (c) && (c) <= 'r') \
8782 || ('s' <= (c) && (c) <= 'z'))
8783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8791 for (i = 0; i < 256; i++)
8792 if (XOR (islower (i), ISLOWER (i))
8793 || toupper (i) != TOUPPER (i))
8798 rm -f conftest$ac_exeext
8799 if { (ac_try="$ac_link"
8801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8802 *) ac_try_echo
=$ac_try;;
8804 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8805 $as_echo "$ac_try_echo") >&5
8806 (eval "$ac_link") 2>&5
8808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8810 { (case "(($ac_try" in
8811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8812 *) ac_try_echo=$ac_try;;
8814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8815 $as_echo "$ac_try_echo") >&5
8816 (eval "$ac_try") 2>&5
8818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); }; }; then
8822 $as_echo "$as_me: program exited with status $ac_status" >&5
8823 $as_echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.$ac_ext >&5
8827 ac_cv_header_stdc=no
8829 rm -rf conftest.dSYM
8830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8836 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8837 $as_echo "$ac_cv_header_stdc" >&6; }
8838 if test $ac_cv_header_stdc = yes; then
8840 cat >>confdefs.h <<\_ACEOF
8841 #define STDC_HEADERS 1
8846 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8856 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8857 inttypes.h stdint.h unistd.h
8859 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8860 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8861 $as_echo_n "checking for $ac_header... " >&6; }
8862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8863 $as_echo_n "(cached) " >&6
8865 cat >conftest.$ac_ext <<_ACEOF
8868 cat confdefs.h >>conftest.$ac_ext
8869 cat >>conftest.$ac_ext <<_ACEOF
8870 /* end confdefs.h. */
8871 $ac_includes_default
8873 #include <$ac_header>
8875 rm -f conftest.$ac_objext
8876 if { (ac_try="$ac_compile"
8878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8879 *) ac_try_echo
=$ac_try;;
8881 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8882 $as_echo "$ac_try_echo") >&5
8883 (eval "$ac_compile") 2>conftest.er1
8885 grep -v '^ *+' conftest.er1
>conftest.err
8887 cat conftest.err
>&5
8888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } && {
8890 test -z "$ac_c_werror_flag" ||
8891 test ! -s conftest.err
8892 } && test -s conftest.
$ac_objext; then
8893 eval "$as_ac_Header=yes"
8895 $as_echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.
$ac_ext >&5
8898 eval "$as_ac_Header=no"
8901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8903 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8904 $as_echo "$as_val"'`
8905 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8906 $as_echo "$ac_res" >&6; }
8907 as_val
=`eval 'as_val=${'$as_ac_Header'}
8908 $as_echo "$as_val"'`
8909 if test "x$as_val" = x
""yes; then
8910 cat >>confdefs.h
<<_ACEOF
8911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8919 # The cast to long int works around a bug in the HP C Compiler
8920 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8921 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8922 # This bug is HP SR number 8606223364.
8923 { $as_echo "$as_me:$LINENO: checking size of long double" >&5
8924 $as_echo_n "checking size of long double... " >&6; }
8925 if test "${ac_cv_sizeof_long_double+set}" = set; then
8926 $as_echo_n "(cached) " >&6
8928 if test "$cross_compiling" = yes; then
8929 # Depending upon the size, compute the lo and hi bounds.
8930 cat >conftest.
$ac_ext <<_ACEOF
8933 cat confdefs.h
>>conftest.
$ac_ext
8934 cat >>conftest.
$ac_ext <<_ACEOF
8935 /* end confdefs.h. */
8936 $ac_includes_default
8940 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= 0)];
8947 rm -f conftest.
$ac_objext
8948 if { (ac_try
="$ac_compile"
8950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8951 *) ac_try_echo=$ac_try;;
8953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8954 $as_echo "$ac_try_echo") >&5
8955 (eval "$ac_compile") 2>conftest.er1
8957 grep -v '^ *+' conftest.er1 >conftest.err
8959 cat conftest.err >&5
8960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } && {
8962 test -z "$ac_c_werror_flag" ||
8963 test ! -s conftest.err
8964 } && test -s conftest.$ac_objext; then
8967 cat >conftest.$ac_ext <<_ACEOF
8970 cat confdefs.h >>conftest.$ac_ext
8971 cat >>conftest.$ac_ext <<_ACEOF
8972 /* end confdefs.h. */
8973 $ac_includes_default
8977 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8984 rm -f conftest.$ac_objext
8985 if { (ac_try="$ac_compile"
8987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8988 *) ac_try_echo
=$ac_try;;
8990 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8991 $as_echo "$ac_try_echo") >&5
8992 (eval "$ac_compile") 2>conftest.er1
8994 grep -v '^ *+' conftest.er1
>conftest.err
8996 cat conftest.err
>&5
8997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); } && {
8999 test -z "$ac_c_werror_flag" ||
9000 test ! -s conftest.err
9001 } && test -s conftest.
$ac_objext; then
9002 ac_hi
=$ac_mid; break
9004 $as_echo "$as_me: failed program was:" >&5
9005 sed 's/^/| /' conftest.
$ac_ext >&5
9007 ac_lo
=`expr $ac_mid + 1`
9008 if test $ac_lo -le $ac_mid; then
9012 ac_mid
=`expr 2 '*' $ac_mid + 1`
9015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9018 $as_echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.
$ac_ext >&5
9021 cat >conftest.
$ac_ext <<_ACEOF
9024 cat confdefs.h
>>conftest.
$ac_ext
9025 cat >>conftest.
$ac_ext <<_ACEOF
9026 /* end confdefs.h. */
9027 $ac_includes_default
9031 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) < 0)];
9038 rm -f conftest.
$ac_objext
9039 if { (ac_try
="$ac_compile"
9041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9042 *) ac_try_echo=$ac_try;;
9044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9045 $as_echo "$ac_try_echo") >&5
9046 (eval "$ac_compile") 2>conftest.er1
9048 grep -v '^ *+' conftest.er1 >conftest.err
9050 cat conftest.err >&5
9051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); } && {
9053 test -z "$ac_c_werror_flag" ||
9054 test ! -s conftest.err
9055 } && test -s conftest.$ac_objext; then
9058 cat >conftest.$ac_ext <<_ACEOF
9061 cat confdefs.h >>conftest.$ac_ext
9062 cat >>conftest.$ac_ext <<_ACEOF
9063 /* end confdefs.h. */
9064 $ac_includes_default
9068 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= $ac_mid)];
9075 rm -f conftest.$ac_objext
9076 if { (ac_try="$ac_compile"
9078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9079 *) ac_try_echo
=$ac_try;;
9081 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9082 $as_echo "$ac_try_echo") >&5
9083 (eval "$ac_compile") 2>conftest.er1
9085 grep -v '^ *+' conftest.er1
>conftest.err
9087 cat conftest.err
>&5
9088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); } && {
9090 test -z "$ac_c_werror_flag" ||
9091 test ! -s conftest.err
9092 } && test -s conftest.
$ac_objext; then
9093 ac_lo
=$ac_mid; break
9095 $as_echo "$as_me: failed program was:" >&5
9096 sed 's/^/| /' conftest.
$ac_ext >&5
9098 ac_hi
=`expr '(' $ac_mid ')' - 1`
9099 if test $ac_mid -le $ac_hi; then
9103 ac_mid
=`expr 2 '*' $ac_mid`
9106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9109 $as_echo "$as_me: failed program was:" >&5
9110 sed 's/^/| /' conftest.
$ac_ext >&5
9115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9119 # Binary search between lo and hi bounds.
9120 while test "x$ac_lo" != "x$ac_hi"; do
9121 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9122 cat >conftest.
$ac_ext <<_ACEOF
9125 cat confdefs.h
>>conftest.
$ac_ext
9126 cat >>conftest.
$ac_ext <<_ACEOF
9127 /* end confdefs.h. */
9128 $ac_includes_default
9132 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
9139 rm -f conftest.
$ac_objext
9140 if { (ac_try
="$ac_compile"
9142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9143 *) ac_try_echo=$ac_try;;
9145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9146 $as_echo "$ac_try_echo") >&5
9147 (eval "$ac_compile") 2>conftest.er1
9149 grep -v '^ *+' conftest.er1 >conftest.err
9151 cat conftest.err >&5
9152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); } && {
9154 test -z "$ac_c_werror_flag" ||
9155 test ! -s conftest.err
9156 } && test -s conftest.$ac_objext; then
9159 $as_echo "$as_me: failed program was:" >&5
9160 sed 's/^/| /' conftest.$ac_ext >&5
9162 ac_lo=`expr '(' $ac_mid ')' + 1`
9165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9168 ?*) ac_cv_sizeof_long_double=$ac_lo;;
9169 '') if test "$ac_cv_type_long_double" = yes; then
9170 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9172 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long double
)
9173 See \
`config.log' for more details." >&5
9174 $as_echo "$as_me: error: cannot compute sizeof (long double)
9175 See \`config.log
' for more details." >&2;}
9176 { (exit 77); exit 77; }; }; }
9178 ac_cv_sizeof_long_double=0
9182 cat >conftest.$ac_ext <<_ACEOF
9185 cat confdefs.h >>conftest.$ac_ext
9186 cat >>conftest.$ac_ext <<_ACEOF
9187 /* end confdefs.h. */
9188 $ac_includes_default
9189 static long int longval () { return (long int) (sizeof (long double)); }
9190 static unsigned long int ulongval () { return (long int) (sizeof (long double)); }
9197 FILE *f = fopen ("conftest.val", "w");
9200 if (((long int) (sizeof (long double))) < 0)
9202 long int i = longval ();
9203 if (i != ((long int) (sizeof (long double))))
9205 fprintf (f, "%ld", i);
9209 unsigned long int i = ulongval ();
9210 if (i != ((long int) (sizeof (long double))))
9212 fprintf (f, "%lu", i);
9214 /* Do not output a trailing newline, as this causes \r\n confusion
9215 on some platforms. */
9216 return ferror (f) || fclose (f) != 0;
9222 rm -f conftest$ac_exeext
9223 if { (ac_try="$ac_link"
9225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9226 *) ac_try_echo=$ac_try;;
9228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9229 $as_echo "$ac_try_echo") >&5
9230 (eval "$ac_link") 2>&5
9232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
9234 { (case "(($ac_try" in
9235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9236 *) ac_try_echo=$ac_try;;
9238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9239 $as_echo "$ac_try_echo") >&5
9240 (eval "$ac_try") 2>&5
9242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 (exit $ac_status); }; }; then
9244 ac_cv_sizeof_long_double=`cat conftest.val`
9246 $as_echo "$as_me: program exited with status $ac_status" >&5
9247 $as_echo "$as_me: failed program was:" >&5
9248 sed 's
/^
/|
/' conftest.$ac_ext >&5
9251 if test "$ac_cv_type_long_double" = yes; then
9252 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9253 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
9254 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
9255 See \`config.log
' for more details." >&5
9256 $as_echo "$as_me: error: cannot compute sizeof (long double)
9257 See \`config.log' for more details.
" >&2;}
9258 { (exit 77); exit 77; }; }; }
9260 ac_cv_sizeof_long_double=0
9263 rm -rf conftest.dSYM
9264 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9268 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
9269 $as_echo "$ac_cv_sizeof_long_double" >&6; }
9273 cat >>confdefs.h <<_ACEOF
9274 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
9278 sizeof_long_double=$ac_cv_sizeof_long_double
9281 ### End of automated tests.
9282 ### Now run sysdeps configure fragments.
9284 # They also can set these variables.
9286 ldd_rewrite_script=no
9287 libc_cv_sysconfdir=$sysconfdir
9288 libc_cv_gcc_unwind_find_fde=no
9291 # Iterate over all the sysdep directories we will use, running their
9292 # configure fragments, and looking for a uname implementation.
9294 for dir in $sysnames; do
9297 *) dest=$srcdir/$dir ;;
9299 if test -r $dest/configure; then
9300 { $as_echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
9301 $as_echo "running configure fragment
for $dir" >&6; }
9305 if test -z "$uname"; then
9306 if test -r $dest/uname.c ||
9307 test -r $dest/uname.S ||
9308 { test -r $dest/syscalls.list &&
9309 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
9315 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
9316 cat >>confdefs.h <<\_ACEOF
9317 #define EXPORT_UNWIND_FIND_FDE 1
9323 # If we will use the generic uname implementation, we must figure out what
9324 # it will say by examining the system, and write the results in config-name.h.
9325 if test "$uname" = "sysdeps
/generic
"; then
9327 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
9328 if test $uname_sysname != $config_os; then
9329 config_release=`echo $config_os | sed s/$uname_sysname//`
9332 { $as_echo "$as_me:$LINENO: checking OS release
for uname
" >&5
9333 $as_echo_n "checking OS release
for uname...
" >&6; }
9334 if test "${libc_cv_uname_release+set}" = set; then
9335 $as_echo_n "(cached
) " >&6
9337 if test -r /vmunix; then
9338 kernel_id=`strings /vmunix | grep UNIX`
9339 elif test -r /dynix; then
9340 kernel_id=`strings /dynix | grep DYNIX`
9345 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
9346 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
9347 != x$config_release; then
9348 # The configuration release is a substring of the kernel release.
9349 libc_cv_uname_release=$kernel_release
9350 elif test x$config_release != x; then
9351 libc_cv_uname_release=$config_release
9352 elif test x$kernel_release != x; then
9353 libc_cv_uname_release=$kernel_release
9355 libc_cv_uname_release=unknown
9358 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
9359 $as_echo "$libc_cv_uname_release" >&6; }
9360 uname_release="$libc_cv_uname_release"
9362 { $as_echo "$as_me:$LINENO: checking OS version
for uname
" >&5
9363 $as_echo_n "checking OS version
for uname...
" >&6; }
9364 if test "${libc_cv_uname_version+set}" = set; then
9365 $as_echo_n "(cached
) " >&6
9367 if test -r /vmunix; then
9368 kernel_id=`strings /vmunix | grep UNIX`
9369 elif test -r /dynix; then
9370 kernel_id=`strings /dynix | grep DYNIX`
9375 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
9376 if test -n "$kernel_version"; then
9377 libc_cv_uname_version="$kernel_version"
9379 libc_cv_uname_version=unknown
9382 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
9383 $as_echo "$libc_cv_uname_version" >&6; }
9384 uname_version="$libc_cv_uname_version"
9386 config_uname=config-name.h:config-name.in
9388 # For non-generic uname, we don't need to create config-name.h at all.
9392 cat >>confdefs.h <<\_ACEOF
9393 #define USE_IN_LIBIO 1
9397 # Test for old glibc 2.0.x headers so that they can be removed properly
9398 # Search only in includedir.
9399 { $as_echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
9400 $as_echo_n "checking
for old glibc
2.0.x headers...
" >&6; }
9401 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
9403 old_glibc_headers=yes
9405 old_glibc_headers=no
9407 { $as_echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
9408 $as_echo "$old_glibc_headers" >&6; }
9409 if test ${old_glibc_headers} = yes; then
9410 { $as_echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
9411 $as_echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
9412 { $as_echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
9413 $as_echo "$as_me: WARNING
: *** be removed.
" >&2;}
9429 if test $elf = yes; then
9430 cat >>confdefs.h <<\_ACEOF
9435 if test $xcoff = yes; then
9436 cat >>confdefs.h <<\_ACEOF
9437 #define HAVE_XCOFF 1
9444 if test $shared = default; then
9448 { $as_echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
9449 $as_echo_n "checking whether
-fPIC is default...
" >&6; }
9450 if test "${libc_cv_pic_default+set}" = set; then
9451 $as_echo_n "(cached
) " >&6
9453 libc_cv_pic_default=yes
9454 cat > conftest.c <<EOF
9455 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
9456 # error PIC is default.
9459 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
9460 libc_cv_pic_default=no
9464 { $as_echo "$as_me:$LINENO: result
: $libc_cv_pic_default" >&5
9465 $as_echo "$libc_cv_pic_default" >&6; }
9478 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
9481 config_makefile=Makefile
9484 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
9485 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
9489 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
9491 ac_config_commands
="$ac_config_commands default"
9493 cat >confcache
<<\_ACEOF
9494 # This file is a shell script that caches the results of configure
9495 # tests run on this system so they can be shared between configure
9496 # scripts and configure runs, see configure's option --config-cache.
9497 # It is not useful on other systems. If it contains results you don't
9498 # want to keep, you may remove or edit it.
9500 # config.status only pays attention to the cache file if you give it
9501 # the --recheck option to rerun configure.
9503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9509 # The following way of writing the cache mishandles newlines in values,
9510 # but we know of no workaround that is simple, portable, and efficient.
9511 # So, we kill variables containing newlines.
9512 # Ultrix sh set writes to stderr and can't be redirected directly,
9513 # and sets the high bit in the cache file unless we assign to the vars.
9515 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9516 eval ac_val
=\$
$ac_var
9520 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
9521 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9524 _ | IFS | as_nl
) ;; #(
9525 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
9526 *) $as_unset $ac_var ;;
9532 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9533 *${as_nl}ac_space
=\
*)
9534 # `set' does not quote correctly, so add quotes (double-quote
9535 # substitution turns \\\\ into \\, and sed turns \\ into \).
9538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9541 # `set' quotes correctly as required by POSIX, so do not add quotes.
9542 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9551 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9553 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9555 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9556 if test -w "$cache_file"; then
9557 test "x$cache_file" != "x/dev/null" &&
9558 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
9559 $as_echo "$as_me: updating cache $cache_file" >&6;}
9560 cat confcache
>$cache_file
9562 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9568 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9569 # Let make expand exec_prefix.
9570 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9572 DEFS
=-DHAVE_CONFIG_H
9576 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9577 # 1. Remove the extension, and $U if already installed.
9578 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9579 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
9580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9581 # will be set to the directory where LIBOBJS objects are built.
9582 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9583 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9587 LTLIBOBJS
=$ac_ltlibobjs
9591 : ${CONFIG_STATUS=./config.status}
9593 ac_clean_files_save
=$ac_clean_files
9594 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9595 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9596 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9597 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9599 # Generated by $as_me.
9600 # Run this file to recreate the current configuration.
9601 # Compiler output produced by configure, useful for debugging
9602 # configure, is in config.log if it exists.
9607 SHELL=\${CONFIG_SHELL-$SHELL}
9610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9611 ## --------------------- ##
9612 ## M4sh Initialization. ##
9613 ## --------------------- ##
9615 # Be more Bourne compatible
9616 DUALCASE
=1; export DUALCASE
# for MKS sh
9617 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9620 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9621 # is contrary to our usage. Disable this feature.
9622 alias -g '${1+"$@"}'='"$@"'
9623 setopt NO_GLOB_SUBST
9625 case `(set -o) 2>/dev/null` in
9626 *posix
*) set -o posix
;;
9635 # Avoid depending upon Character Ranges.
9636 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9637 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9638 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9639 as_cr_digits
='0123456789'
9640 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9645 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9646 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9647 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9649 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9650 as_echo='printf %s
\n'
9651 as_echo_n='printf %s
'
9653 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9654 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9655 as_echo_n='/usr
/ucb
/echo -n'
9657 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9658 as_echo_n_body='eval
9662 expr "X$arg" : "X\\(.*\\)$as_nl";
9663 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9665 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9667 export as_echo_n_body
9668 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9671 as_echo='sh
-c $as_echo_body as_echo
'
9674 # The user is always right.
9675 if test "${PATH_SEPARATOR+set}" != set; then
9677 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9678 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9683 # Support unset when possible.
9684 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9692 # We need space, tab and new line, in precisely that order. Quoting is
9693 # there to prevent editors from complaining about space-tab.
9694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9695 # splitting by setting IFS to empty value.)
9698 # Find who we are. Look in the path if we contain no directory separator.
9700 *[\\/]* ) as_myself=$0 ;;
9701 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9705 test -z "$as_dir" && as_dir=.
9706 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9712 # We did not find ourselves, most probably we were run as `sh COMMAND'
9713 # in which case we are not to be found in the path.
9714 if test "x$as_myself" = x
; then
9717 if test ! -f "$as_myself"; then
9718 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9719 { (exit 1); exit 1; }
9722 # Work around bugs in pre-3.0 UWIN ksh.
9723 for as_var
in ENV MAIL MAILPATH
9724 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9736 # Required to use basename.
9737 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9738 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9744 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9745 as_basename
=basename
9751 # Name of the executable.
9752 as_me
=`$as_basename -- "$0" ||
9753 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9754 X"$0" : 'X\(//\)$' \| \
9755 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9757 sed '/^.*\/\([^/][^/]*\)\/*$/{
9778 test "x$as_lineno_1" != "x$as_lineno_2" &&
9779 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9781 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9782 # uniformly replaced by the line number. The first 'sed' inserts a
9783 # line-number line after each line using $LINENO; the second 'sed'
9784 # does the real work. The second script uses 'N' to pair each
9785 # line-number line with the line containing $LINENO, and appends
9786 # trailing '-' during substitution so that $LINENO is not a special
9788 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9789 # scripts with optimization help from Paolo Bonzini. Blame Lee
9790 # E. McMahon (1931-1989) for sed's syntax. :-)
9802 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9806 chmod +x
"$as_me.lineno" ||
9807 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9808 { (exit 1); exit 1; }; }
9810 # Don't try to exec as it changes $[0], causing all sort of problems
9811 # (the dirname of $[0] is not the place where we might find the
9812 # original and so on. Autoconf is especially sensitive to this).
9814 # Exit status is that of the last command.
9819 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9825 ECHO_C
= ECHO_N
= ECHO_T
=
9828 case `echo 'x\c'` in
9829 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9835 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9836 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9842 rm -f conf$$ conf$$.exe conf$$.
file
9843 if test -d conf$$.dir
; then
9844 rm -f conf$$.dir
/conf$$.
file
9847 mkdir conf$$.dir
2>/dev
/null
9849 if (echo >conf$$.
file) 2>/dev
/null
; then
9850 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9852 # ... but there are two gotchas:
9853 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9854 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9855 # In both cases, we have to default to `cp -p'.
9856 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9858 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9866 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9867 rmdir conf$$.dir
2>/dev
/null
9869 if mkdir
-p .
2>/dev
/null
; then
9872 test -d .
/-p && rmdir .
/-p
9876 if test -x / >/dev
/null
2>&1; then
9879 if ls -dL / >/dev
/null
2>&1; then
9886 if test -d "$1"; then
9892 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9893 ???[sx]*):;;*)false;;esac;fi
9897 as_executable_p
=$as_test_x
9899 # Sed expression to map a string onto a valid CPP name.
9900 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9902 # Sed expression to map a string onto a valid variable name.
9903 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9908 # Save the log message, to keep $[0] and so on meaningful, and to
9909 # report actual input values of CONFIG_FILES etc. instead of their
9910 # values after options handling.
9912 This file was extended by GNU C Library $as_me (see version.h), which was
9913 generated by GNU Autoconf 2.63. Invocation command line was
9915 CONFIG_FILES = $CONFIG_FILES
9916 CONFIG_HEADERS = $CONFIG_HEADERS
9917 CONFIG_LINKS = $CONFIG_LINKS
9918 CONFIG_COMMANDS = $CONFIG_COMMANDS
9921 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9926 case $ac_config_files in *"
9927 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9930 case $ac_config_headers in *"
9931 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9936 # Files that config.status was made for.
9937 config_files="$ac_config_files"
9938 config_headers="$ac_config_headers"
9939 config_commands="$ac_config_commands"
9943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9945 \`$as_me' instantiates files from templates according to the
9946 current configuration.
9948 Usage: $0 [OPTION]... [FILE]...
9950 -h, --help print this help, then exit
9951 -V, --version print version number and configuration settings, then exit
9952 -q, --quiet, --silent
9953 do not print progress messages
9954 -d, --debug don't remove temporary files
9955 --recheck update $as_me by reconfiguring in the same conditions
9956 --file=FILE[:TEMPLATE]
9957 instantiate the configuration file FILE
9958 --header=FILE[:TEMPLATE]
9959 instantiate the configuration header FILE
9961 Configuration files:
9964 Configuration headers:
9967 Configuration commands:
9970 Report bugs to <bug-autoconf@gnu.org>."
9973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9975 GNU C Library config.status (see version.h)
9976 configured by $0, generated by GNU Autoconf 2.63,
9977 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9979 Copyright (C) 2008 Free Software Foundation, Inc.
9980 This config.status script is free software; the Free Software Foundation
9981 gives unlimited permission to copy, distribute and modify it."
9987 test -n "\$AWK" || AWK=awk
9990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9991 # The default lists apply if the user does not specify any file.
9997 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9998 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10009 # Handling of the options.
10010 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10012 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10013 $as_echo "$ac_cs_version"; exit ;;
10014 --debug |
--debu |
--deb |
--de |
--d |
-d )
10016 --file |
--fil |
--fi |
--f )
10019 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10021 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
10022 ac_need_defaults
=false
;;
10023 --header |
--heade |
--head |
--hea )
10026 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10028 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
10029 ac_need_defaults
=false
;;
10031 # Conflict between --help and --header
10032 { $as_echo "$as_me: error: ambiguous option: $1
10033 Try \`$0 --help' for more information." >&2
10034 { (exit 1); exit 1; }; };;
10035 --help |
--hel |
-h )
10036 $as_echo "$ac_cs_usage"; exit ;;
10037 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10038 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10041 # This is an error.
10042 -*) { $as_echo "$as_me: error: unrecognized option: $1
10043 Try \`$0 --help' for more information." >&2
10044 { (exit 1); exit 1; }; } ;;
10046 *) ac_config_targets
="$ac_config_targets $1"
10047 ac_need_defaults
=false
;;
10053 ac_configure_extra_args
=
10055 if $ac_cs_silent; then
10057 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10062 if \$ac_cs_recheck; then
10063 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10065 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10066 CONFIG_SHELL='$SHELL'
10067 export CONFIG_SHELL
10072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10077 ## Running $as_me. ##
10083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10087 config_vars='$config_vars'
10091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10093 # Handling of arguments.
10094 for ac_config_target
in $ac_config_targets
10096 case $ac_config_target in
10097 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
10098 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
10099 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
10100 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
10101 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
10103 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10104 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10105 { (exit 1); exit 1; }; };;
10110 # If the user did not use the arguments to specify the items to instantiate,
10111 # then the envvar interface is used. Set only those that are not.
10112 # We use the long form for the default assignment because of an extremely
10113 # bizarre bug on SunOS 4.1.3.
10114 if $ac_need_defaults; then
10115 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10116 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10117 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10120 # Have a temporary directory for convenience. Make it in the build tree
10121 # simply because there is no reason against having it here, and in addition,
10122 # creating and moving files from /tmp can sometimes cause problems.
10123 # Hook for its removal unless debugging.
10124 # Note that there is a small window in which the directory will not be cleaned:
10125 # after its creation but before its name has been assigned to `$tmp'.
10129 trap 'exit_status=$?
10130 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10132 trap '{ (exit 1); exit 1; }' 1 2 13 15
10134 # Create a (secure) tmp directory for tmp files.
10137 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10138 test -n "$tmp" && test -d "$tmp"
10141 tmp
=.
/conf$$
-$RANDOM
10142 (umask 077 && mkdir
"$tmp")
10145 $as_echo "$as_me: cannot create a temporary directory in ." >&2
10146 { (exit 1); exit 1; }
10149 # Set up the scripts for CONFIG_FILES section.
10150 # No need to generate them if there are no CONFIG_FILES.
10151 # This happens for instance with `./config.status config.h'.
10152 if test -n "$CONFIG_FILES"; then
10156 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10157 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10160 ac_cs_awk_cr
=$ac_cr
10163 echo 'BEGIN {' >"$tmp/subs1.awk" &&
10168 echo "cat >conf$$subs.awk <<_ACEOF" &&
10169 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10171 } >conf$$subs.sh ||
10172 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10173 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10174 { (exit 1); exit 1; }; }
10175 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
10177 for ac_last_try in false false false false false :; do
10178 . ./conf$$subs.sh ||
10179 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10180 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10181 { (exit 1); exit 1; }; }
10183 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
10184 if test $ac_delim_n = $ac_delim_num; then
10186 elif $ac_last_try; then
10187 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10188 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10189 { (exit 1); exit 1; }; }
10191 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10194 rm -f conf$$subs.sh
10196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10197 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
10201 s/^/S["/; s
/!.
*/"]=/
10211 s/\(.\{148\}\).*/\1/
10213 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
10218 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10225 s/\(.\{148\}\).*/\1/
10227 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
10231 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10236 ' <conf$$subs.awk | sed '
10241 ' >>$CONFIG_STATUS || ac_write_fail=1
10242 rm -f conf$$subs.awk
10243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10245 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
10246 for (key in S) S_is_set[key] = 1
10252 nfields = split(line, field, "@
")
10254 len = length(field[1])
10255 for (i = 2; i < nfields; i++) {
10257 keylen = length(key)
10258 if (S_is_set[key]) {
10260 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10261 len += length(value) + length(field[++i])
10272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10273 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10274 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
10277 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
10278 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
10279 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
10280 { (exit 1); exit 1; }; }
10283 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10284 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
10285 # trailing colons and then remove the whole line if VPATH becomes empty
10286 # (actually we leave an empty line to preserve line numbers).
10287 if test "x
$srcdir" = x.; then
10288 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10289 s/:*\$(srcdir):*/:/
10290 s/:*\${srcdir}:*/:/
10292 s/^\([^=]*=[ ]*\):*/\1/
10298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10299 fi # test -n "$CONFIG_FILES"
10301 # Set up the scripts for CONFIG_HEADERS section.
10302 # No need to generate them if there are no CONFIG_HEADERS.
10303 # This happens for instance with `./config.status Makefile'.
10304 if test -n "$CONFIG_HEADERS"; then
10305 cat >"$tmp/defines.
awk" <<\_ACAWK ||
10309 # Transform confdefs.h into an awk script `defines.awk', embedded as
10310 # here-document in config.status, that substitutes the proper values into
10311 # config.h.in to produce config.h.
10313 # Create a delimiter string that does not exist in confdefs.h, to ease
10314 # handling of long lines.
10316 for ac_last_try in false false :; do
10317 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
10318 if test -z "$ac_t"; then
10320 elif $ac_last_try; then
10321 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
10322 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
10323 { (exit 1); exit 1; }; }
10325 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10329 # For the awk script, D is an array of macro values keyed by name,
10330 # likewise P contains macro parameters if any. Preserve backslash
10331 # newline sequences.
10333 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10335 s/.\{148\}/&'"$ac_delim"'/g
10338 s/^[ ]*#[ ]*define[ ][ ]*/ /
10345 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
10347 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
10351 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
10352 D["\
1"]=" \
3\\\\\\n
"\\/p
10354 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
10359 s/.\{148\}/&'"$ac_delim"'/g
10364 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
10367 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
10369 ' <confdefs.h | sed '
10370 s/'"$ac_delim"'/"\\\
10371 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10374 for (key in D) D_is_set[key] = 1
10377 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10379 split(line, arg, " ")
10380 if (arg[1] == "#") {
10384 defundef
= substr
(arg
[1], 2)
10387 split(mac1
, mac2
, "(") #)
10389 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
10390 if (D_is_set
[macro
]) {
10391 # Preserve the white space surrounding the "#".
10392 print prefix
"define", macro P
[macro
] D
[macro
]
10395 # Replace #undef with comments. This is necessary, for example,
10396 # in the case of _POSIX_SOURCE, which is predefined and required
10397 # on some systems where configure will not decide to define it.
10398 if (defundef
== "undef") {
10399 print
"/*", prefix defundef
, macro
, "*/"
10407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10408 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
10409 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
10410 { (exit 1); exit 1; }; }
10411 fi # test -n "$CONFIG_HEADERS"
10414 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10419 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10421 case $ac_mode$ac_tag in
10423 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
10424 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
10425 { (exit 1); exit 1; }; };;
10426 :[FH
]-) ac_tag
=-:-;;
10427 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10444 -) ac_f
="$tmp/stdin";;
10445 *) # Look for the file first in the build tree, then in the source tree
10446 # (if the path is not absolute). The absolute path cannot be DOS-style,
10447 # because $ac_f cannot contain `:'.
10451 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10453 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10454 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10455 { (exit 1); exit 1; }; };;
10457 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10458 ac_file_inputs
="$ac_file_inputs '$ac_f'"
10461 # Let's still pretend it is `configure' which instantiates (i.e., don't
10462 # use $as_me), people would be surprised to read:
10463 # /* config.h. Generated by config.status. */
10464 configure_input
='Generated from '`
10465 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10467 if test x
"$ac_file" != x-
; then
10468 configure_input
="$ac_file. $configure_input"
10469 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
10470 $as_echo "$as_me: creating $ac_file" >&6;}
10472 # Neutralize special characters interpreted by sed in replacement strings.
10473 case $configure_input in #(
10474 *\
&* |
*\|
* |
*\\* )
10475 ac_sed_conf_input
=`$as_echo "$configure_input" |
10476 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10477 *) ac_sed_conf_input
=$configure_input;;
10481 *:-:* |
*:-) cat >"$tmp/stdin" \
10482 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10483 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10484 { (exit 1); exit 1; }; } ;;
10489 ac_dir
=`$as_dirname -- "$ac_file" ||
10490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10491 X"$ac_file" : 'X\(//\)[^/]' \| \
10492 X"$ac_file" : 'X\(//\)$' \| \
10493 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10494 $as_echo X"$ac_file" |
10495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10499 /^X\(\/\/\)[^/].*/{
10514 -*) as_dir
=.
/$as_dir;;
10516 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10520 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10521 *) as_qdir
=$as_dir;;
10523 as_dirs
="'$as_qdir' $as_dirs"
10524 as_dir
=`$as_dirname -- "$as_dir" ||
10525 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10526 X"$as_dir" : 'X\(//\)[^/]' \| \
10527 X"$as_dir" : 'X\(//\)$' \| \
10528 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10529 $as_echo X"$as_dir" |
10530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10534 /^X\(\/\/\)[^/].*/{
10547 test -d "$as_dir" && break
10549 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10550 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10551 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10552 { (exit 1); exit 1; }; }; }
10556 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10558 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10559 # A ".." for each directory in $ac_dir_suffix.
10560 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10561 case $ac_top_builddir_sub in
10562 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10563 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10566 ac_abs_top_builddir
=$ac_pwd
10567 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10568 # for backward compatibility:
10569 ac_top_builddir
=$ac_top_build_prefix
10572 .
) # We are building in place.
10574 ac_top_srcdir
=$ac_top_builddir_sub
10575 ac_abs_top_srcdir
=$ac_pwd ;;
10576 [\\/]* | ?
:[\\/]* ) # Absolute name.
10577 ac_srcdir
=$srcdir$ac_dir_suffix;
10578 ac_top_srcdir
=$srcdir
10579 ac_abs_top_srcdir
=$srcdir ;;
10580 *) # Relative name.
10581 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10582 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10583 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10585 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10595 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10596 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10601 # If the template does not know about datarootdir, expand it.
10602 # FIXME: This hack should be removed a few years after 2.60.
10603 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10616 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10617 *datarootdir
*) ac_datarootdir_seen
=yes;;
10618 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10619 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10620 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10623 ac_datarootdir_hack='
10624 s&@datadir@&$datadir&g
10625 s&@docdir@&$docdir&g
10626 s&@infodir@&$infodir&g
10627 s&@localedir@&$localedir&g
10628 s&@mandir@&$mandir&g
10629 s&\\\${datarootdir}&$datarootdir&g' ;;
10633 # Neutralize VPATH when `$srcdir' = `.'.
10634 # Shell code in configure.ac might set extrasub.
10635 # FIXME: do we really want to maintain this feature?
10636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10637 ac_sed_extra="$ac_vpsub
10640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10642 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10643 s|@configure_input@|
$ac_sed_conf_input|
;t t
10644 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10645 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10646 s
&@srcdir@
&$ac_srcdir&;t t
10647 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10648 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10649 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10650 s
&@builddir@
&$ac_builddir&;t t
10651 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10652 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10653 s
&@INSTALL@
&$ac_INSTALL&;t t
10654 $ac_datarootdir_hack
10656 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
10657 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
10658 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
10659 { (exit 1); exit 1; }; }
10661 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10662 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10663 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10664 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10665 which seems to be undefined. Please make sure it is defined." >&5
10666 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10667 which seems to be undefined. Please make sure it is defined." >&2;}
10671 -) cat "$tmp/out" && rm -f "$tmp/out";;
10672 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10674 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10675 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10676 { (exit 1); exit 1; }; }
10682 if test x"$ac_file" != x-; then
10684 $as_echo "/* $configure_input */" \
10685 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10686 } >"$tmp/config.h" \
10687 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10688 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10689 { (exit 1); exit 1; }; }
10690 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10691 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10692 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10695 mv "$tmp/config.h" "$ac_file" \
10696 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10697 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10698 { (exit 1); exit 1; }; }
10701 $as_echo "/* $configure_input */" \
10702 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10703 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10704 $as_echo "$as_me: error: could not create -" >&2;}
10705 { (exit 1); exit 1; }; }
10709 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10710 $as_echo "$as_me: executing $ac_file commands" >&6;}
10715 case $ac_file$ac_mode in
10717 case $CONFIG_FILES in *config.make*)
10718 echo "$config_vars" >> config.make;;
10720 test -d bits || mkdir bits ;;
10726 { (exit 0); exit 0; }
10728 chmod +x $CONFIG_STATUS
10729 ac_clean_files=$ac_clean_files_save
10731 test $ac_write_fail = 0 ||
10732 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10733 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10734 { (exit 1); exit 1; }; }
10737 # configure is writing to config.log, and then calls config.status.
10738 # config.status does its own redirection, appending to config.log.
10739 # Unfortunately, on DOS this fails, as config.log is still kept open
10740 # by configure, so config.status won't be able to
write to it
; its
10741 # output is simply discarded. So we exec the FD to /dev/null,
10742 # effectively closing config.log, so it can be properly (re)opened and
10743 # appended to by config.status. When coming back to configure, we
10744 # need to make the FD available again.
10745 if test "$no_create" != yes; then
10747 ac_config_status_args
=
10748 test "$silent" = yes &&
10749 ac_config_status_args
="$ac_config_status_args --quiet"
10751 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10753 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10754 # would make configure fail if this is the last instruction.
10755 $ac_cs_success ||
{ (exit 1); exit 1; }
10759 # CONFIG_SUBDIRS section.
10761 if test "$no_recursion" != yes; then
10763 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10764 # so they do not pile up.
10765 ac_sub_configure_args
=
10767 eval "set x $ac_configure_args"
10771 if test -n "$ac_prev"; then
10776 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
10777 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
10778 ac_prev
=cache_file
;;
10779 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
10780 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
10783 --config-cache |
-C)
10785 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
10787 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
10789 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
10791 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
10793 --disable-option-checking)
10797 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10799 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
10803 # Always prepend --prefix to ensure using the same prefix
10804 # in subdir configurations.
10805 ac_arg
="--prefix=$prefix"
10807 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10809 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
10812 if test "$silent" = yes; then
10813 ac_sub_configure_args
="--silent $ac_sub_configure_args"
10816 # Always prepend --disable-option-checking to silence warnings, since
10817 # different subdirs can have different --enable and --with options.
10818 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
10821 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
10823 # Do not complain, so a configure script can configure whichever
10824 # parts of a large source tree are present.
10825 test -d "$srcdir/$ac_dir" ||
continue
10827 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10828 $as_echo "$as_me:$LINENO: $ac_msg" >&5
10829 $as_echo "$ac_msg" >&6
10832 -*) as_dir
=.
/$as_dir;;
10834 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10838 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10839 *) as_qdir
=$as_dir;;
10841 as_dirs
="'$as_qdir' $as_dirs"
10842 as_dir
=`$as_dirname -- "$as_dir" ||
10843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10844 X"$as_dir" : 'X\(//\)[^/]' \| \
10845 X"$as_dir" : 'X\(//\)$' \| \
10846 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10847 $as_echo X"$as_dir" |
10848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10852 /^X\(\/\/\)[^/].*/{
10865 test -d "$as_dir" && break
10867 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10868 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10869 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10870 { (exit 1); exit 1; }; }; }
10874 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10876 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10877 # A ".." for each directory in $ac_dir_suffix.
10878 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10879 case $ac_top_builddir_sub in
10880 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10881 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10884 ac_abs_top_builddir
=$ac_pwd
10885 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10886 # for backward compatibility:
10887 ac_top_builddir
=$ac_top_build_prefix
10890 .
) # We are building in place.
10892 ac_top_srcdir
=$ac_top_builddir_sub
10893 ac_abs_top_srcdir
=$ac_pwd ;;
10894 [\\/]* | ?
:[\\/]* ) # Absolute name.
10895 ac_srcdir
=$srcdir$ac_dir_suffix;
10896 ac_top_srcdir
=$srcdir
10897 ac_abs_top_srcdir
=$srcdir ;;
10898 *) # Relative name.
10899 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10900 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10901 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10903 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10908 # Check for guested configure; otherwise get Cygnus style configure.
10909 if test -f "$ac_srcdir/configure.gnu"; then
10910 ac_sub_configure
=$ac_srcdir/configure.gnu
10911 elif test -f "$ac_srcdir/configure"; then
10912 ac_sub_configure
=$ac_srcdir/configure
10913 elif test -f "$ac_srcdir/configure.in"; then
10914 # This should be Cygnus configure.
10915 ac_sub_configure
=$ac_aux_dir/configure
10917 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10918 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10922 # The recursion is here.
10923 if test -n "$ac_sub_configure"; then
10924 # Make the cache file name correct relative to the subdirectory.
10925 case $cache_file in
10926 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
10927 *) # Relative name.
10928 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
10931 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10932 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10933 # The eval makes quoting arguments work.
10934 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10935 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10936 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10937 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10938 { (exit 1); exit 1; }; }
10944 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10945 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10946 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}