2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x
; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var
in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
145 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me
=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x
; then
177 if (eval ":") 2>/dev
/null
; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev
/null
; then
243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
244 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir
=.
250 for as_base
in sh bash ksh sh5
; do
251 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
258 for as_shell
in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix
*) set -o posix
;;
280 CONFIG_SHELL
=$as_shell
282 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix
*) set -o posix
;;
308 as_func_ret_success
() {
311 as_func_ret_failure
() {
316 if as_func_success
; then
320 echo as_func_success failed.
323 if as_func_failure
; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success
; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure
; then
337 echo as_func_ret_failure succeeded.
340 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) ||
{ (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x
; then
365 for as_var
in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no
; then
374 echo This
script requires a shell
more modern than all the
375 echo shells that I found on your system. Please
install a
376 echo modern shell
, or manually run the
script under such a
377 echo shell
if you
do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") ||
{
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system
,
439 echo including any error possibly output before this message.
440 echo This can
help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x
"$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
495 ECHO_C
= ECHO_N
= ECHO_T
=
499 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
542 test -d .
/-p && rmdir .
/-p
546 if test -x / >/dev
/null
2>&1; then
549 if ls -dL / >/dev
/null
2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p
=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 exec 7<&0 </dev
/null
6>&1
580 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
581 # so uname gets run too.
582 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
587 ac_default_prefix
=/usr
/local
589 ac_config_libobj_dir
=.
595 SHELL
=${CONFIG_SHELL-/bin/sh}
597 # Identity of this package.
598 PACKAGE_NAME
='GNU C Library'
599 PACKAGE_TARNAME
='c-library'
600 PACKAGE_VERSION
='(see version.h)'
601 PACKAGE_STRING
='GNU C Library (see version.h)'
602 PACKAGE_BUGREPORT
='glibc'
604 ac_unique_file
="include/features.h"
605 enable_option_checking
=no
606 # Factoring default headers for most tests.
607 ac_includes_default
="\
609 #ifdef HAVE_SYS_TYPES_H
610 # include <sys/types.h>
612 #ifdef HAVE_SYS_STAT_H
613 # include <sys/stat.h>
619 # ifdef HAVE_STDLIB_H
624 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
642 ac_subst_vars
='LTLIBOBJS
662 libc_cv_cpp_asm_debuginfo
663 libc_cv_forced_unwind
672 libc_cv_gcc_unwind_find_fde
680 libc_cv_cc_submachine
683 libc_cv_have_initfini
693 libc_cv_libgcc_s_suffix
695 libc_cv_cc_with_libunwind
705 libc_cv_gcc_static_libgcc
788 program_transform_name
800 enable_option_checking
819 enable_stackguard_randomization
830 enable_experimental_malloc
834 ac_precious_vars
='build_alias
848 # Initialize some variables set by options.
850 ac_init_version
=false
851 ac_unrecognized_opts
=
853 # The variables have the same names as the options, with
854 # dashes changed to underlines.
862 program_transform_name
=s
,x
,x
,
870 # Installation directory options.
871 # These are left unexpanded so users can "make install exec_prefix=/foo"
872 # and all the variables that are supposed to be based on exec_prefix
873 # by default will actually change.
874 # Use braces instead of parens because sh, perl, etc. also accept them.
875 # (The list follows the same order as the GNU Coding Standards.)
876 bindir
='${exec_prefix}/bin'
877 sbindir
='${exec_prefix}/sbin'
878 libexecdir
='${exec_prefix}/libexec'
879 datarootdir
='${prefix}/share'
880 datadir
='${datarootdir}'
881 sysconfdir
='${prefix}/etc'
882 sharedstatedir
='${prefix}/com'
883 localstatedir
='${prefix}/var'
884 includedir
='${prefix}/include'
885 oldincludedir
='/usr/include'
886 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
887 infodir
='${datarootdir}/info'
892 libdir
='${exec_prefix}/lib'
893 localedir
='${datarootdir}/locale'
894 mandir
='${datarootdir}/man'
900 # If the previous option needs an argument, assign it.
901 if test -n "$ac_prev"; then
902 eval $ac_prev=\
$ac_option
908 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 # Accept the important Cygnus configure options, so we can diagnose typos.
914 case $ac_dashdash$ac_option in
918 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
920 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
923 -build |
--build |
--buil |
--bui |
--bu)
924 ac_prev
=build_alias
;;
925 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
926 build_alias
=$ac_optarg ;;
928 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
929 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
930 ac_prev
=cache_file
;;
931 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
932 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
933 cache_file
=$ac_optarg ;;
936 cache_file
=config.cache
;;
938 -datadir |
--datadir |
--datadi |
--datad)
940 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
941 datadir
=$ac_optarg ;;
943 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
944 |
--dataroo |
--dataro |
--datar)
945 ac_prev
=datarootdir
;;
946 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
947 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
948 datarootdir
=$ac_optarg ;;
950 -disable-* |
--disable-*)
951 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
954 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
955 { (exit 1); exit 1; }; }
956 ac_useropt_orig
=$ac_useropt
957 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963 ac_unrecognized_sep
=', ';;
965 eval enable_
$ac_useropt=no
;;
967 -docdir |
--docdir |
--docdi |
--doc |
--do)
969 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
972 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
974 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
977 -enable-* |
--enable-*)
978 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
981 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
982 { (exit 1); exit 1; }; }
983 ac_useropt_orig
=$ac_useropt
984 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
985 case $ac_user_opts in
989 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
990 ac_unrecognized_sep
=', ';;
992 eval enable_
$ac_useropt=\
$ac_optarg ;;
994 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
995 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
996 |
--exec |
--exe |
--ex)
997 ac_prev
=exec_prefix
;;
998 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
999 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1000 |
--exec=* |
--exe=* |
--ex=*)
1001 exec_prefix
=$ac_optarg ;;
1003 -gas |
--gas |
--ga |
--g)
1004 # Obsolete; use --with-gas.
1007 -help |
--help |
--hel |
--he |
-h)
1008 ac_init_help
=long
;;
1009 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1010 ac_init_help
=recursive
;;
1011 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1012 ac_init_help
=short
;;
1014 -host |
--host |
--hos |
--ho)
1015 ac_prev
=host_alias
;;
1016 -host=* |
--host=* |
--hos=* |
--ho=*)
1017 host_alias
=$ac_optarg ;;
1019 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1021 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1023 htmldir
=$ac_optarg ;;
1025 -includedir |
--includedir |
--includedi |
--included |
--include \
1026 |
--includ |
--inclu |
--incl |
--inc)
1027 ac_prev
=includedir
;;
1028 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1029 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1030 includedir
=$ac_optarg ;;
1032 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1034 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1035 infodir
=$ac_optarg ;;
1037 -libdir |
--libdir |
--libdi |
--libd)
1039 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1040 libdir
=$ac_optarg ;;
1042 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1043 |
--libexe |
--libex |
--libe)
1044 ac_prev
=libexecdir
;;
1045 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1046 |
--libexe=* |
--libex=* |
--libe=*)
1047 libexecdir
=$ac_optarg ;;
1049 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1050 ac_prev
=localedir
;;
1051 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1052 localedir
=$ac_optarg ;;
1054 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1055 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1056 ac_prev
=localstatedir
;;
1057 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1058 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1059 localstatedir
=$ac_optarg ;;
1061 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1063 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1064 mandir
=$ac_optarg ;;
1066 -nfp |
--nfp |
--nf)
1067 # Obsolete; use --without-fp.
1070 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1071 |
--no-cr |
--no-c |
-n)
1074 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1075 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1078 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1079 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1080 |
--oldin |
--oldi |
--old |
--ol |
--o)
1081 ac_prev
=oldincludedir
;;
1082 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1083 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1084 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1085 oldincludedir
=$ac_optarg ;;
1087 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1089 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1090 prefix
=$ac_optarg ;;
1092 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1093 |
--program-pre |
--program-pr |
--program-p)
1094 ac_prev
=program_prefix
;;
1095 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1096 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1097 program_prefix
=$ac_optarg ;;
1099 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1100 |
--program-suf |
--program-su |
--program-s)
1101 ac_prev
=program_suffix
;;
1102 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1103 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1104 program_suffix
=$ac_optarg ;;
1106 -program-transform-name |
--program-transform-name \
1107 |
--program-transform-nam |
--program-transform-na \
1108 |
--program-transform-n |
--program-transform- \
1109 |
--program-transform |
--program-transfor \
1110 |
--program-transfo |
--program-transf \
1111 |
--program-trans |
--program-tran \
1112 |
--progr-tra |
--program-tr |
--program-t)
1113 ac_prev
=program_transform_name
;;
1114 -program-transform-name=* |
--program-transform-name=* \
1115 |
--program-transform-nam=* |
--program-transform-na=* \
1116 |
--program-transform-n=* |
--program-transform-=* \
1117 |
--program-transform=* |
--program-transfor=* \
1118 |
--program-transfo=* |
--program-transf=* \
1119 |
--program-trans=* |
--program-tran=* \
1120 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1121 program_transform_name
=$ac_optarg ;;
1123 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1125 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1126 pdfdir
=$ac_optarg ;;
1128 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1130 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1133 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1134 |
-silent |
--silent |
--silen |
--sile |
--sil)
1137 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1139 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1141 sbindir
=$ac_optarg ;;
1143 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1144 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1145 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1147 ac_prev
=sharedstatedir
;;
1148 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1149 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1150 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1152 sharedstatedir
=$ac_optarg ;;
1154 -site |
--site |
--sit)
1156 -site=* |
--site=* |
--sit=*)
1159 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1161 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1162 srcdir
=$ac_optarg ;;
1164 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1165 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1166 ac_prev
=sysconfdir
;;
1167 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1168 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1169 sysconfdir
=$ac_optarg ;;
1171 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1172 ac_prev
=target_alias
;;
1173 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1174 target_alias
=$ac_optarg ;;
1176 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1179 -version |
--version |
--versio |
--versi |
--vers |
-V)
1180 ac_init_version
=: ;;
1183 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1186 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1187 { (exit 1); exit 1; }; }
1188 ac_useropt_orig
=$ac_useropt
1189 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 case $ac_user_opts in
1194 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1195 ac_unrecognized_sep
=', ';;
1197 eval with_
$ac_useropt=\
$ac_optarg ;;
1199 -without-* |
--without-*)
1200 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1203 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_useropt_orig
=$ac_useropt
1206 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1212 ac_unrecognized_sep
=', ';;
1214 eval with_
$ac_useropt=no
;;
1217 # Obsolete; use --with-x.
1220 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1221 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1222 ac_prev
=x_includes
;;
1223 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1224 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1225 x_includes
=$ac_optarg ;;
1227 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1228 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1229 ac_prev
=x_libraries
;;
1230 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1231 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1232 x_libraries
=$ac_optarg ;;
1234 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1235 Try \`$0 --help' for more information." >&2
1236 { (exit 1); exit 1; }; }
1240 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1243 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1244 { (exit 1); exit 1; }; }
1245 eval $ac_envvar=\
$ac_optarg
1246 export $ac_envvar ;;
1249 # FIXME: should be removed in autoconf 3.0.
1250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1253 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1259 if test -n "$ac_prev"; then
1260 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1261 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1262 { (exit 1); exit 1; }; }
1265 if test -n "$ac_unrecognized_opts"; then
1266 case $enable_option_checking in
1268 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1269 { (exit 1); exit 1; }; } ;;
1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274 # Check all directory arguments for consistency.
1275 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276 datadir sysconfdir sharedstatedir localstatedir includedir \
1277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278 libdir localedir mandir
1280 eval ac_val
=\$
$ac_var
1281 # Remove trailing slashes.
1284 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285 eval $ac_var=\
$ac_val;;
1287 # Be sure to have absolute directory names.
1289 [\\/$
]* | ?
:[\\/]* ) continue;;
1290 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1292 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1293 { (exit 1); exit 1; }; }
1296 # There might be people who depend on the old broken behavior: `$host'
1297 # used to hold the argument of --host etc.
1298 # FIXME: To remove some day.
1301 target
=$target_alias
1303 # FIXME: To remove some day.
1304 if test "x$host_alias" != x
; then
1305 if test "x$build_alias" = x
; then
1306 cross_compiling
=maybe
1307 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1308 If a cross compiler is detected then cross compile mode will be used." >&2
1309 elif test "x$build_alias" != "x$host_alias"; then
1315 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1317 test "$silent" = yes && exec 6>/dev
/null
1320 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1321 ac_ls_di
=`ls -di .` &&
1322 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1323 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1324 { (exit 1); exit 1; }; }
1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1326 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1327 { (exit 1); exit 1; }; }
1330 # Find the source files, if location was not specified.
1331 if test -z "$srcdir"; then
1332 ac_srcdir_defaulted
=yes
1333 # Try the directory containing this script, then the parent directory.
1334 ac_confdir
=`$as_dirname -- "$as_myself" ||
1335 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1336 X"$as_myself" : 'X\(//\)[^/]' \| \
1337 X"$as_myself" : 'X\(//\)$' \| \
1338 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1339 $as_echo X"$as_myself" |
1340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1362 ac_srcdir_defaulted
=no
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1366 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1367 { (exit 1); exit 1; }; }
1369 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1372 { (exit 1); exit 1; }; }
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1382 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 for ac_var
in $ac_precious_vars; do
1385 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1387 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1388 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --libdir=DIR object code libraries [EPREFIX/lib]
1439 --includedir=DIR C header files [PREFIX/include]
1440 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1441 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1442 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1443 --infodir=DIR info documentation [DATAROOTDIR/info]
1444 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1445 --mandir=DIR man documentation [DATAROOTDIR/man]
1446 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1447 --htmldir=DIR html documentation [DOCDIR]
1448 --dvidir=DIR dvi documentation [DOCDIR]
1449 --pdfdir=DIR pdf documentation [DOCDIR]
1450 --psdir=DIR ps documentation [DOCDIR]
1456 --build=BUILD configure
for building on BUILD
[guessed
]
1457 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1461 if test -n "$ac_init_help"; then
1462 case $ac_init_help in
1463 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1468 --disable-option-checking ignore unrecognized
--enable/--with options
1469 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1470 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1471 --disable-sanity-checks really
do not use threads
(should not be used except
1472 in special situations
) [default
=yes]
1473 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1475 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1476 --enable-profile build profiled library
[default
=no
]
1477 --enable-omitfp build undebuggable optimized library
[default
=no
]
1478 --enable-bounded build with runtime bounds checking
[default
=no
]
1479 --disable-versioning do not include versioning information
in the library
1480 objects
[default
=yes if supported
]
1481 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1482 [default
=glibc default
]
1483 --enable-stackguard-randomization
1484 initialize __stack_chk_guard canary with a random
1485 number
at program start
1486 --enable-add-ons[=DIRS...
]
1487 configure and build add-ons
in DIR1
,DIR2
,... search
1488 for add-ons
if no parameter given
1489 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1490 --enable-bind-now disable lazy relocations
in DSOs
1491 --enable-static-nss build static NSS modules
[default
=no
]
1492 --disable-force-install don
't force installation of files from this package,
1493 even if they are older than the installed files
1494 --enable-kernel=VERSION compile for compatibility with kernel not older than
1496 --enable-all-warnings enable all useful warnings gcc can issue
1497 --enable-multi-arch enable single DSO with optimizations for multiple
1499 --enable-experimental-malloc
1500 enable experimental malloc features
1501 --enable-nss-crypt enable libcrypt to use nss
1504 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1505 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1506 --with-gd=DIR find libgd include dir and library with prefix DIR
1507 --with-gd-include=DIR find libgd include files in DIR
1508 --with-gd-lib=DIR find libgd library files in DIR
1509 --with-fp if using floating-point hardware [default=yes]
1510 --with-binutils=PATH specify location of binutils (as and ld)
1511 --with-elf if using the ELF object format
1512 --with-selinux if building with SELinux support
1513 --with-xcoff if using the XCOFF object format
1514 --without-cvs if CVS should not be used
1515 --with-headers=PATH location of system headers to use (for example
1516 /usr/src/linux/include) [default=compiler default]
1517 --with-tls enable support for TLS
1518 --without-__thread do not use TLS features even when supporting them
1519 --with-cpu=CPU select code for CPU variant
1521 Some influential environment variables:
1522 CC C compiler command
1523 CFLAGS C compiler flags
1524 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1525 nonstandard directory <lib dir>
1526 LIBS libraries to pass to the linker, e.g. -l<library>
1527 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1528 you have headers in a nonstandard directory <include dir>
1530 CXX C++ compiler command
1531 CXXFLAGS C++ compiler flags
1533 Use these variables to override the choices made by `configure' or to
help
1534 it to
find libraries and programs with nonstandard names
/locations.
1536 Report bugs to
<glibc
>.
1541 if test "$ac_init_help" = "recursive"; then
1542 # If there are subdirs, report their specific --help.
1543 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1550 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1552 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1553 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1555 case $ac_top_builddir_sub in
1556 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1557 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1560 ac_abs_top_builddir
=$ac_pwd
1561 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir
=$ac_top_build_prefix
1566 .
) # We are building in place.
1568 ac_top_srcdir
=$ac_top_builddir_sub
1569 ac_abs_top_srcdir
=$ac_pwd ;;
1570 [\\/]* | ?
:[\\/]* ) # Absolute name.
1571 ac_srcdir
=$srcdir$ac_dir_suffix;
1572 ac_top_srcdir
=$srcdir
1573 ac_abs_top_srcdir
=$srcdir ;;
1575 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1577 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1579 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1581 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1582 # Check for guested configure.
1583 if test -f "$ac_srcdir/configure.gnu"; then
1585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586 elif test -f "$ac_srcdir/configure"; then
1588 $SHELL "$ac_srcdir/configure" --help=recursive
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1599 GNU C Library configure
(see version.h
)
1600 generated by GNU Autoconf
2.63
1602 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1603 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1604 This configure
script is free software
; the Free Software Foundation
1605 gives unlimited permission to copy
, distribute and modify it.
1609 cat >config.log
<<_ACEOF
1610 This file contains any messages produced by compilers while
1611 running configure, to aid debugging if configure makes a mistake.
1613 It was created by GNU C Library $as_me (see version.h), which was
1614 generated by GNU Autoconf 2.63. Invocation command line was
1626 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1627 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1628 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1629 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1630 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1632 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1633 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1635 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1636 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1637 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1638 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1639 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1640 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1641 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir
=.
1650 $as_echo "PATH: $as_dir"
1666 # Keep a trace of the command line.
1667 # Strip out --no-create and --no-recursion so they do not pile up.
1668 # Strip out --silent because we don't want to record it for future runs.
1669 # Also quote any args containing shell meta-characters.
1670 # Make two passes to allow for proper duplicate-argument suppression.
1674 ac_must_keep_next
=false
1680 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1681 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1682 |
-silent |
--silent |
--silen |
--sile |
--sil)
1685 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1688 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1690 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1691 if test $ac_must_keep_next = true
; then
1692 ac_must_keep_next
=false
# Got value, back to normal.
1695 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1696 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1697 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1698 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1699 case "$ac_configure_args0 " in
1700 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1703 -* ) ac_must_keep_next
=true
;;
1706 ac_configure_args
="$ac_configure_args '$ac_arg'"
1711 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1712 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1714 # When interrupted or exit'd, cleanup temporary files, and complete
1715 # config.log. We remove comments because anyway the quotes in there
1716 # would cause problems or look ugly.
1717 # WARNING: Use '\'' to represent an apostrophe within the trap.
1718 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1719 trap 'exit_status=$?
1720 # Save into config.log some information that might help in debugging.
1725 ## ---------------- ##
1726 ## Cache variables. ##
1727 ## ---------------- ##
1730 # The following way of writing the cache mishandles newlines in values,
1732 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1733 eval ac_val=\$$ac_var
1737 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1738 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1741 _ | IFS | as_nl) ;; #(
1742 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1743 *) $as_unset $ac_var ;;
1748 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1749 *${as_nl}ac_space=\ *)
1751 "s/'\''/'\''\\\\'\'''\''/g;
1752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1755 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1763 ## ----------------- ##
1764 ## Output variables. ##
1765 ## ----------------- ##
1768 for ac_var in $ac_subst_vars
1770 eval ac_val=\$$ac_var
1772 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1774 $as_echo "$ac_var='\''$ac_val'\''"
1778 if test -n "$ac_subst_files"; then
1780 ## ------------------- ##
1781 ## File substitutions. ##
1782 ## ------------------- ##
1785 for ac_var
in $ac_subst_files
1787 eval ac_val
=\$
$ac_var
1789 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1791 $as_echo "$ac_var='\''$ac_val'\''"
1796 if test -s confdefs.h; then
1806 test "$ac_signal" != 0 &&
1807 $as_echo "$as_me: caught signal $ac_signal"
1808 $as_echo "$as_me: exit $exit_status"
1810 rm -f core *.core core.conftest.* &&
1811 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1814 for ac_signal
in 1 2 13 15; do
1815 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1819 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1820 rm -f -r conftest
* confdefs.h
1822 # Predefined preprocessor variables.
1824 cat >>confdefs.h
<<_ACEOF
1825 #define PACKAGE_NAME "$PACKAGE_NAME"
1829 cat >>confdefs.h
<<_ACEOF
1830 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1834 cat >>confdefs.h
<<_ACEOF
1835 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1839 cat >>confdefs.h
<<_ACEOF
1840 #define PACKAGE_STRING "$PACKAGE_STRING"
1844 cat >>confdefs.h
<<_ACEOF
1845 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1849 # Let the site file select an alternate cache file if it wants to.
1850 # Prefer an explicitly selected file to automatically selected ones.
1853 if test -n "$CONFIG_SITE"; then
1854 ac_site_file1
=$CONFIG_SITE
1855 elif test "x$prefix" != xNONE
; then
1856 ac_site_file1
=$prefix/share
/config.site
1857 ac_site_file2
=$prefix/etc
/config.site
1859 ac_site_file1
=$ac_default_prefix/share
/config.site
1860 ac_site_file2
=$ac_default_prefix/etc
/config.site
1862 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1864 test "x$ac_site_file" = xNONE
&& continue
1865 if test -r "$ac_site_file"; then
1866 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1867 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1868 sed 's/^/| /' "$ac_site_file" >&5
1873 if test -r "$cache_file"; then
1874 # Some versions of bash will fail to source /dev/null (special
1875 # files actually), so we avoid doing that.
1876 if test -f "$cache_file"; then
1877 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1878 $as_echo "$as_me: loading cache $cache_file" >&6;}
1880 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1881 *) .
"./$cache_file";;
1885 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1886 $as_echo "$as_me: creating cache $cache_file" >&6;}
1890 # Check that the precious variables saved in the cache have kept the same
1892 ac_cache_corrupted
=false
1893 for ac_var
in $ac_precious_vars; do
1894 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1895 eval ac_new_set
=\
$ac_env_${ac_var}_set
1896 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1897 eval ac_new_val
=\
$ac_env_${ac_var}_value
1898 case $ac_old_set,$ac_new_set in
1900 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1901 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1902 ac_cache_corrupted
=: ;;
1904 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1905 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1906 ac_cache_corrupted
=: ;;
1909 if test "x$ac_old_val" != "x$ac_new_val"; then
1910 # differences in whitespace do not lead to failure.
1911 ac_old_val_w
=`echo x $ac_old_val`
1912 ac_new_val_w
=`echo x $ac_new_val`
1913 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1914 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1915 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1916 ac_cache_corrupted
=:
1918 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1919 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1920 eval $ac_var=\
$ac_old_val
1922 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1923 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1924 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1925 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1928 # Pass precious variables to config.status.
1929 if test "$ac_new_set" = set; then
1931 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1932 *) ac_arg
=$ac_var=$ac_new_val ;;
1934 case " $ac_configure_args " in
1935 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1936 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1940 if $ac_cache_corrupted; then
1941 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1943 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1944 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1945 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1946 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1947 { (exit 1); exit 1; }; }
1975 ac_cpp
='$CPP $CPPFLAGS'
1976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1982 ac_config_headers
="$ac_config_headers config.h"
1985 for ac_dir
in scripts
"$srcdir"/scripts
; do
1986 if test -f "$ac_dir/install-sh"; then
1988 ac_install_sh
="$ac_aux_dir/install-sh -c"
1990 elif test -f "$ac_dir/install.sh"; then
1992 ac_install_sh
="$ac_aux_dir/install.sh -c"
1994 elif test -f "$ac_dir/shtool"; then
1996 ac_install_sh
="$ac_aux_dir/shtool install -c"
2000 if test -z "$ac_aux_dir"; then
2001 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2002 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2003 { (exit 1); exit 1; }; }
2006 # These three variables are undocumented and unsupported,
2007 # and are intended to be withdrawn in a future Autoconf release.
2008 # They can cause serious problems if a builder's source tree is in a directory
2009 # whose full name contains unusual characters.
2010 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2011 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2012 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2016 # Make sure we can run config.sub.
2017 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2018 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2019 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2020 { (exit 1); exit 1; }; }
2022 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2023 $as_echo_n "checking build system type... " >&6; }
2024 if test "${ac_cv_build+set}" = set; then
2025 $as_echo_n "(cached) " >&6
2027 ac_build_alias
=$build_alias
2028 test "x$ac_build_alias" = x
&&
2029 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2030 test "x$ac_build_alias" = x
&&
2031 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2032 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2033 { (exit 1); exit 1; }; }
2034 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2035 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2036 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2037 { (exit 1); exit 1; }; }
2040 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2041 $as_echo "$ac_cv_build" >&6; }
2042 case $ac_cv_build in
2044 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2045 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2046 { (exit 1); exit 1; }; };;
2049 ac_save_IFS
=$IFS; IFS
='-'
2055 # Remember, the first character of IFS is used to create $*,
2056 # except with old shells:
2059 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2062 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2063 $as_echo_n "checking host system type... " >&6; }
2064 if test "${ac_cv_host+set}" = set; then
2065 $as_echo_n "(cached) " >&6
2067 if test "x$host_alias" = x
; then
2068 ac_cv_host
=$ac_cv_build
2070 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2071 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2072 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2073 { (exit 1); exit 1; }; }
2077 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2078 $as_echo "$ac_cv_host" >&6; }
2081 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2082 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2083 { (exit 1); exit 1; }; };;
2086 ac_save_IFS
=$IFS; IFS
='-'
2092 # Remember, the first character of IFS is used to create $*,
2093 # except with old shells:
2096 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2101 ac_cpp
='$CPP $CPPFLAGS'
2102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2105 if test -n "$ac_tool_prefix"; then
2106 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2107 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2108 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 $as_echo_n "checking for $ac_word... " >&6; }
2110 if test "${ac_cv_prog_CC+set}" = set; then
2111 $as_echo_n "(cached) " >&6
2113 if test -n "$CC"; then
2114 ac_cv_prog_CC
="$CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2124 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 if test -n "$CC"; then
2135 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2136 $as_echo "$CC" >&6; }
2138 { $as_echo "$as_me:$LINENO: result: no" >&5
2139 $as_echo "no" >&6; }
2144 if test -z "$ac_cv_prog_CC"; then
2146 # Extract the first word of "gcc", so it can be a program name with args.
2147 set dummy gcc
; ac_word
=$2
2148 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2151 $as_echo_n "(cached) " >&6
2153 if test -n "$ac_ct_CC"; then
2154 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir
=.
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2163 ac_cv_prog_ac_ct_CC
="gcc"
2164 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2174 if test -n "$ac_ct_CC"; then
2175 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2176 $as_echo "$ac_ct_CC" >&6; }
2178 { $as_echo "$as_me:$LINENO: result: no" >&5
2179 $as_echo "no" >&6; }
2182 if test "x$ac_ct_CC" = x
; then
2185 case $cross_compiling:$ac_tool_warned in
2187 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2189 ac_tool_warned
=yes ;;
2197 if test -z "$CC"; then
2198 if test -n "$ac_tool_prefix"; then
2199 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2200 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2201 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 $as_echo_n "checking for $ac_word... " >&6; }
2203 if test "${ac_cv_prog_CC+set}" = set; then
2204 $as_echo_n "(cached) " >&6
2206 if test -n "$CC"; then
2207 ac_cv_prog_CC
="$CC" # Let the user override the test.
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 for ac_exec_ext
in '' $ac_executable_extensions; do
2215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2216 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2217 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 if test -n "$CC"; then
2228 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2229 $as_echo "$CC" >&6; }
2231 { $as_echo "$as_me:$LINENO: result: no" >&5
2232 $as_echo "no" >&6; }
2238 if test -z "$CC"; then
2239 # Extract the first word of "cc", so it can be a program name with args.
2240 set dummy cc
; ac_word
=$2
2241 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2242 $as_echo_n "checking for $ac_word... " >&6; }
2243 if test "${ac_cv_prog_CC+set}" = set; then
2244 $as_echo_n "(cached) " >&6
2246 if test -n "$CC"; then
2247 ac_cv_prog_CC
="$CC" # Let the user override the test.
2250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir
=.
2255 for ac_exec_ext
in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2258 ac_prog_rejected
=yes
2262 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 if test $ac_prog_rejected = yes; then
2270 # We found a bogon in the path, so make sure we never use it.
2271 set dummy
$ac_cv_prog_CC
2273 if test $# != 0; then
2274 # We chose a different compiler from the bogus one.
2275 # However, it has the same basename, so the bogon will be chosen
2276 # first if we set CC to just the basename; use the full file name.
2278 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2284 if test -n "$CC"; then
2285 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2286 $as_echo "$CC" >&6; }
2288 { $as_echo "$as_me:$LINENO: result: no" >&5
2289 $as_echo "no" >&6; }
2294 if test -z "$CC"; then
2295 if test -n "$ac_tool_prefix"; then
2296 for ac_prog
in cl.exe
2298 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2299 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2300 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 $as_echo_n "checking for $ac_word... " >&6; }
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 $as_echo_n "(cached) " >&6
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC
="$CC" # Let the user override the test.
2308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir
=.
2313 for ac_exec_ext
in '' $ac_executable_extensions; do
2314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2315 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2316 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 if test -n "$CC"; then
2327 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2328 $as_echo "$CC" >&6; }
2330 { $as_echo "$as_me:$LINENO: result: no" >&5
2331 $as_echo "no" >&6; }
2335 test -n "$CC" && break
2338 if test -z "$CC"; then
2340 for ac_prog
in cl.exe
2342 # Extract the first word of "$ac_prog", so it can be a program name with args.
2343 set dummy
$ac_prog; ac_word
=$2
2344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 $as_echo_n "checking for $ac_word... " >&6; }
2346 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2347 $as_echo_n "(cached) " >&6
2349 if test -n "$ac_ct_CC"; then
2350 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir
=.
2357 for ac_exec_ext
in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359 ac_cv_prog_ac_ct_CC
="$ac_prog"
2360 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2370 if test -n "$ac_ct_CC"; then
2371 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2372 $as_echo "$ac_ct_CC" >&6; }
2374 { $as_echo "$as_me:$LINENO: result: no" >&5
2375 $as_echo "no" >&6; }
2379 test -n "$ac_ct_CC" && break
2382 if test "x$ac_ct_CC" = x
; then
2385 case $cross_compiling:$ac_tool_warned in
2387 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2389 ac_tool_warned
=yes ;;
2398 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2400 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2401 See \`config.log' for more details." >&5
2402 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2403 See \`config.log' for more details." >&2;}
2404 { (exit 1); exit 1; }; }; }
2406 # Provide some information about the compiler.
2407 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2410 { (ac_try
="$ac_compiler --version >&5"
2412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2416 $as_echo "$ac_try_echo") >&5
2417 (eval "$ac_compiler --version >&5") 2>&5
2419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }
2421 { (ac_try="$ac_compiler -v >&5"
2423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2424 *) ac_try_echo
=$ac_try;;
2426 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2427 $as_echo "$ac_try_echo") >&5
2428 (eval "$ac_compiler -v >&5") 2>&5
2430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }
2432 { (ac_try
="$ac_compiler -V >&5"
2434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2438 $as_echo "$ac_try_echo") >&5
2439 (eval "$ac_compiler -V >&5") 2>&5
2441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }
2445 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2446 $as_echo_n "checking for suffix of object files... " >&6; }
2447 if test "${ac_cv_objext+set}" = set; then
2448 $as_echo_n "(cached) " >&6
2450 cat >conftest.$ac_ext <<_ACEOF
2453 cat confdefs.h >>conftest.$ac_ext
2454 cat >>conftest.$ac_ext <<_ACEOF
2455 /* end confdefs.h. */
2465 rm -f conftest.o conftest.obj
2466 if { (ac_try="$ac_compile"
2468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2469 *) ac_try_echo
=$ac_try;;
2471 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2472 $as_echo "$ac_try_echo") >&5
2473 (eval "$ac_compile") 2>&5
2475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; then
2477 for ac_file
in conftest.o conftest.obj conftest.
*; do
2478 test -f "$ac_file" ||
continue;
2480 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2481 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2486 $as_echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.
$ac_ext >&5
2489 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2491 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2492 See \`config.log' for more details." >&5
2493 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2494 See \`config.log' for more details." >&2;}
2495 { (exit 1); exit 1; }; }; }
2498 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2500 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2501 $as_echo "$ac_cv_objext" >&6; }
2502 OBJEXT
=$ac_cv_objext
2504 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2505 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2506 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2507 $as_echo_n "(cached) " >&6
2509 cat >conftest.
$ac_ext <<_ACEOF
2512 cat confdefs.h
>>conftest.
$ac_ext
2513 cat >>conftest.
$ac_ext <<_ACEOF
2514 /* end confdefs.h. */
2527 rm -f conftest.
$ac_objext
2528 if { (ac_try
="$ac_compile"
2530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2534 $as_echo "$ac_try_echo") >&5
2535 (eval "$ac_compile") 2>conftest.er1
2537 grep -v '^ *+' conftest.er1 >conftest.err
2539 cat conftest.err >&5
2540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); } && {
2542 test -z "$ac_c_werror_flag" ||
2543 test ! -s conftest.err
2544 } && test -s conftest.$ac_objext; then
2547 $as_echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.$ac_ext >&5
2553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2554 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2557 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2558 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2559 if test $ac_compiler_gnu = yes; then
2564 ac_test_CFLAGS=${CFLAGS+set}
2565 ac_save_CFLAGS=$CFLAGS
2566 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2567 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2568 if test "${ac_cv_prog_cc_g+set}" = set; then
2569 $as_echo_n "(cached) " >&6
2571 ac_save_c_werror_flag=$ac_c_werror_flag
2572 ac_c_werror_flag=yes
2575 cat >conftest.$ac_ext <<_ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2590 rm -f conftest.$ac_objext
2591 if { (ac_try="$ac_compile"
2593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2594 *) ac_try_echo
=$ac_try;;
2596 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2597 $as_echo "$ac_try_echo") >&5
2598 (eval "$ac_compile") 2>conftest.er1
2600 grep -v '^ *+' conftest.er1
>conftest.err
2602 cat conftest.err
>&5
2603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } && {
2605 test -z "$ac_c_werror_flag" ||
2606 test ! -s conftest.err
2607 } && test -s conftest.
$ac_objext; then
2610 $as_echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.
$ac_ext >&5
2614 cat >conftest.
$ac_ext <<_ACEOF
2617 cat confdefs.h
>>conftest.
$ac_ext
2618 cat >>conftest.
$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2629 rm -f conftest.
$ac_objext
2630 if { (ac_try
="$ac_compile"
2632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2636 $as_echo "$ac_try_echo") >&5
2637 (eval "$ac_compile") 2>conftest.er1
2639 grep -v '^ *+' conftest.er1 >conftest.err
2641 cat conftest.err >&5
2642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } && {
2644 test -z "$ac_c_werror_flag" ||
2645 test ! -s conftest.err
2646 } && test -s conftest.$ac_objext; then
2649 $as_echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_c_werror_flag=$ac_save_c_werror_flag
2654 cat >conftest.$ac_ext <<_ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2669 rm -f conftest.$ac_objext
2670 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
2679 grep -v '^ *+' conftest.er1
>conftest.err
2681 cat conftest.err
>&5
2682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); } && {
2684 test -z "$ac_c_werror_flag" ||
2685 test ! -s conftest.err
2686 } && test -s conftest.
$ac_objext; then
2689 $as_echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.
$ac_ext >&5
2695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2702 ac_c_werror_flag
=$ac_save_c_werror_flag
2704 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2705 $as_echo "$ac_cv_prog_cc_g" >&6; }
2706 if test "$ac_test_CFLAGS" = set; then
2707 CFLAGS
=$ac_save_CFLAGS
2708 elif test $ac_cv_prog_cc_g = yes; then
2709 if test "$GCC" = yes; then
2715 if test "$GCC" = yes; then
2721 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2723 if test "${ac_cv_prog_cc_c89+set}" = set; then
2724 $as_echo_n "(cached) " >&6
2726 ac_cv_prog_cc_c89
=no
2728 cat >conftest.
$ac_ext <<_ACEOF
2731 cat confdefs.h
>>conftest.
$ac_ext
2732 cat >>conftest.
$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2736 #include <sys/types.h>
2737 #include <sys/stat.h>
2738 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2739 struct buf { int x; };
2740 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2741 static char *e (p, i)
2747 static char *f (char * (*g) (char **, int), char **p, ...)
2752 s = g (p, va_arg (v,int));
2757 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2758 function prototypes and stuff, but not '\xHH' hex character constants.
2759 These don't provoke an error unfortunately, instead are silently treated
2760 as 'x'. The following induces an error, until -std is added to get
2761 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2762 array size at least. It's necessary to write '\x00'==0 to get something
2763 that's true only with -std. */
2764 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2766 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2767 inside strings and character constants. */
2769 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2771 int test (int i, double x);
2772 struct s1 {int (*f) (int a);};
2773 struct s2 {int (*f) (double a);};
2774 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2780 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2785 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2786 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2788 CC
="$ac_save_CC $ac_arg"
2789 rm -f conftest.
$ac_objext
2790 if { (ac_try
="$ac_compile"
2792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2796 $as_echo "$ac_try_echo") >&5
2797 (eval "$ac_compile") 2>conftest.er1
2799 grep -v '^ *+' conftest.er1 >conftest.err
2801 cat conftest.err >&5
2802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } && {
2804 test -z "$ac_c_werror_flag" ||
2805 test ! -s conftest.err
2806 } && test -s conftest.$ac_objext; then
2807 ac_cv_prog_cc_c89=$ac_arg
2809 $as_echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2815 rm -f core conftest.err conftest.$ac_objext
2816 test "x$ac_cv_prog_cc_c89" != "xno" && break
2818 rm -f conftest.$ac_ext
2823 case "x$ac_cv_prog_cc_c89" in
2825 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2826 $as_echo "none needed" >&6; } ;;
2828 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2829 $as_echo "unsupported" >&6; } ;;
2831 CC="$CC $ac_cv_prog_cc_c89"
2832 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2833 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2838 ac_cpp='$CPP $CPPFLAGS'
2839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 if test $host != $build; then
2844 for ac_prog in gcc cc
2846 # Extract the first word of "$ac_prog", so it can be a program name with args.
2847 set dummy $ac_prog; ac_word=$2
2848 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$BUILD_CC"; then
2854 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir=.
2861 for ac_exec_ext in '' $ac_executable_extensions; do
2862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2863 ac_cv_prog_BUILD_CC="$ac_prog"
2864 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2873 BUILD_CC=$ac_cv_prog_BUILD_CC
2874 if test -n "$BUILD_CC"; then
2875 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2876 $as_echo "$BUILD_CC" >&6; }
2878 { $as_echo "$as_me:$LINENO: result: no" >&5
2879 $as_echo "no" >&6; }
2883 test -n "$BUILD_CC" && break
2889 ac_cpp='$CPP $CPPFLAGS'
2890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2893 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2894 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2895 # On Suns, sometimes $CPP names a directory.
2896 if test -n "$CPP" && test -d "$CPP"; then
2899 if test -z "$CPP"; then
2900 if test "${ac_cv_prog_CPP+set}" = set; then
2901 $as_echo_n "(cached) " >&6
2903 # Double quotes because CPP needs to be expanded
2904 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2907 for ac_c_preproc_warn_flag in '' yes
2909 # Use a header file that comes with gcc, so configuring glibc
2910 # with a fresh cross-compiler works.
2911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2912 # <limits.h> exists even on freestanding compilers.
2913 # On the NeXT, cc -E runs the code through the compiler's parser,
2914 # not just through cpp. "Syntax error" is here to catch this case.
2915 cat >conftest.$ac_ext <<_ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
2920 /* end confdefs.h. */
2922 # include <limits.h>
2924 # include <assert.h>
2928 if { (ac_try="$ac_cpp conftest.$ac_ext"
2930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2931 *) ac_try_echo
=$ac_try;;
2933 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2934 $as_echo "$ac_try_echo") >&5
2935 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2937 grep -v '^ *+' conftest.er1
>conftest.err
2939 cat conftest.err
>&5
2940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } >/dev
/null
&& {
2942 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2943 test ! -s conftest.err
2947 $as_echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.
$ac_ext >&5
2950 # Broken: fails on valid input.
2954 rm -f conftest.err conftest.
$ac_ext
2956 # OK, works on sane cases. Now check whether nonexistent headers
2957 # can be detected and how.
2958 cat >conftest.
$ac_ext <<_ACEOF
2961 cat confdefs.h
>>conftest.
$ac_ext
2962 cat >>conftest.
$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2964 #include <ac_nonexistent.h>
2966 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2972 $as_echo "$ac_try_echo") >&5
2973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2975 grep -v '^ *+' conftest.er1 >conftest.err
2977 cat conftest.err >&5
2978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } >/dev/null && {
2980 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2981 test ! -s conftest.err
2983 # Broken: success on invalid input.
2986 $as_echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2989 # Passes both tests.
2994 rm -f conftest.err conftest.$ac_ext
2997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2998 rm -f conftest.err conftest.
$ac_ext
2999 if $ac_preproc_ok; then
3011 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3012 $as_echo "$CPP" >&6; }
3014 for ac_c_preproc_warn_flag
in '' yes
3016 # Use a header file that comes with gcc, so configuring glibc
3017 # with a fresh cross-compiler works.
3018 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3019 # <limits.h> exists even on freestanding compilers.
3020 # On the NeXT, cc -E runs the code through the compiler's parser,
3021 # not just through cpp. "Syntax error" is here to catch this case.
3022 cat >conftest.
$ac_ext <<_ACEOF
3025 cat confdefs.h
>>conftest.
$ac_ext
3026 cat >>conftest.
$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3029 # include <limits.h>
3031 # include <assert.h>
3035 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3041 $as_echo "$ac_try_echo") >&5
3042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3044 grep -v '^ *+' conftest.er1 >conftest.err
3046 cat conftest.err >&5
3047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); } >/dev/null && {
3049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3050 test ! -s conftest.err
3054 $as_echo "$as_me: failed program was:" >&5
3055 sed 's/^/| /' conftest.$ac_ext >&5
3057 # Broken: fails on valid input.
3061 rm -f conftest.err conftest.$ac_ext
3063 # OK, works on sane cases. Now check whether nonexistent headers
3064 # can be detected and how.
3065 cat >conftest.$ac_ext <<_ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3070 /* end confdefs.h. */
3071 #include <ac_nonexistent.h>
3073 if { (ac_try="$ac_cpp conftest.$ac_ext"
3075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3076 *) ac_try_echo
=$ac_try;;
3078 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3079 $as_echo "$ac_try_echo") >&5
3080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3082 grep -v '^ *+' conftest.er1
>conftest.err
3084 cat conftest.err
>&5
3085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } >/dev
/null
&& {
3087 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3088 test ! -s conftest.err
3090 # Broken: success on invalid input.
3093 $as_echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.
$ac_ext >&5
3096 # Passes both tests.
3101 rm -f conftest.err conftest.
$ac_ext
3104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3105 rm -f conftest.err conftest.
$ac_ext
3106 if $ac_preproc_ok; then
3109 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3112 See \`config.log' for more details." >&5
3113 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3114 See \`config.log' for more details." >&2;}
3115 { (exit 1); exit 1; }; }; }
3119 ac_cpp
='$CPP $CPPFLAGS'
3120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3124 # We need the C++ compiler only for testing.
3126 ac_cpp
='$CXXCPP $CPPFLAGS'
3127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3130 if test -z "$CXX"; then
3131 if test -n "$CCC"; then
3134 if test -n "$ac_tool_prefix"; then
3135 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3138 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if test "${ac_cv_prog_CXX+set}" = set; then
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$CXX"; then
3145 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3155 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test -n "$CXX"; then
3166 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3167 $as_echo "$CXX" >&6; }
3169 { $as_echo "$as_me:$LINENO: result: no" >&5
3170 $as_echo "no" >&6; }
3174 test -n "$CXX" && break
3177 if test -z "$CXX"; then
3179 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3181 # Extract the first word of "$ac_prog", so it can be a program name with args.
3182 set dummy
$ac_prog; ac_word
=$2
3183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3186 $as_echo_n "(cached) " >&6
3188 if test -n "$ac_ct_CXX"; then
3189 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3195 test -z "$as_dir" && as_dir
=.
3196 for ac_exec_ext
in '' $ac_executable_extensions; do
3197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3199 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3209 if test -n "$ac_ct_CXX"; then
3210 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3211 $as_echo "$ac_ct_CXX" >&6; }
3213 { $as_echo "$as_me:$LINENO: result: no" >&5
3214 $as_echo "no" >&6; }
3218 test -n "$ac_ct_CXX" && break
3221 if test "x$ac_ct_CXX" = x
; then
3224 case $cross_compiling:$ac_tool_warned in
3226 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3228 ac_tool_warned
=yes ;;
3236 # Provide some information about the compiler.
3237 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3240 { (ac_try
="$ac_compiler --version >&5"
3242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3243 *) ac_try_echo=$ac_try;;
3245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3246 $as_echo "$ac_try_echo") >&5
3247 (eval "$ac_compiler --version >&5") 2>&5
3249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); }
3251 { (ac_try="$ac_compiler -v >&5"
3253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3254 *) ac_try_echo
=$ac_try;;
3256 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3257 $as_echo "$ac_try_echo") >&5
3258 (eval "$ac_compiler -v >&5") 2>&5
3260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }
3262 { (ac_try
="$ac_compiler -V >&5"
3264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3268 $as_echo "$ac_try_echo") >&5
3269 (eval "$ac_compiler -V >&5") 2>&5
3271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }
3274 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3275 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3276 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3277 $as_echo_n "(cached) " >&6
3279 cat >conftest.$ac_ext <<_ACEOF
3282 cat confdefs.h >>conftest.$ac_ext
3283 cat >>conftest.$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3297 rm -f conftest.$ac_objext
3298 if { (ac_try="$ac_compile"
3300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3301 *) ac_try_echo
=$ac_try;;
3303 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3304 $as_echo "$ac_try_echo") >&5
3305 (eval "$ac_compile") 2>conftest.er1
3307 grep -v '^ *+' conftest.er1
>conftest.err
3309 cat conftest.err
>&5
3310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } && {
3312 test -z "$ac_cxx_werror_flag" ||
3313 test ! -s conftest.err
3314 } && test -s conftest.
$ac_objext; then
3317 $as_echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.
$ac_ext >&5
3323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3324 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3327 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3328 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3329 if test $ac_compiler_gnu = yes; then
3334 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3335 ac_save_CXXFLAGS
=$CXXFLAGS
3336 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3337 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3338 if test "${ac_cv_prog_cxx_g+set}" = set; then
3339 $as_echo_n "(cached) " >&6
3341 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3342 ac_cxx_werror_flag
=yes
3345 cat >conftest.
$ac_ext <<_ACEOF
3348 cat confdefs.h
>>conftest.
$ac_ext
3349 cat >>conftest.
$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3360 rm -f conftest.
$ac_objext
3361 if { (ac_try
="$ac_compile"
3363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3367 $as_echo "$ac_try_echo") >&5
3368 (eval "$ac_compile") 2>conftest.er1
3370 grep -v '^ *+' conftest.er1 >conftest.err
3372 cat conftest.err >&5
3373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } && {
3375 test -z "$ac_cxx_werror_flag" ||
3376 test ! -s conftest.err
3377 } && test -s conftest.$ac_objext; then
3378 ac_cv_prog_cxx_g=yes
3380 $as_echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3384 cat >conftest.$ac_ext <<_ACEOF
3387 cat confdefs.h >>conftest.$ac_ext
3388 cat >>conftest.$ac_ext <<_ACEOF
3389 /* end confdefs.h. */
3399 rm -f conftest.$ac_objext
3400 if { (ac_try="$ac_compile"
3402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3403 *) ac_try_echo
=$ac_try;;
3405 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3406 $as_echo "$ac_try_echo") >&5
3407 (eval "$ac_compile") 2>conftest.er1
3409 grep -v '^ *+' conftest.er1
>conftest.err
3411 cat conftest.err
>&5
3412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } && {
3414 test -z "$ac_cxx_werror_flag" ||
3415 test ! -s conftest.err
3416 } && test -s conftest.
$ac_objext; then
3419 $as_echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.
$ac_ext >&5
3422 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3424 cat >conftest.
$ac_ext <<_ACEOF
3427 cat confdefs.h
>>conftest.
$ac_ext
3428 cat >>conftest.
$ac_ext <<_ACEOF
3429 /* end confdefs.h. */
3439 rm -f conftest.
$ac_objext
3440 if { (ac_try
="$ac_compile"
3442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3446 $as_echo "$ac_try_echo") >&5
3447 (eval "$ac_compile") 2>conftest.er1
3449 grep -v '^ *+' conftest.er1 >conftest.err
3451 cat conftest.err >&5
3452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); } && {
3454 test -z "$ac_cxx_werror_flag" ||
3455 test ! -s conftest.err
3456 } && test -s conftest.$ac_objext; then
3457 ac_cv_prog_cxx_g=yes
3459 $as_echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3474 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3475 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3476 if test "$ac_test_CXXFLAGS" = set; then
3477 CXXFLAGS=$ac_save_CXXFLAGS
3478 elif test $ac_cv_prog_cxx_g = yes; then
3479 if test "$GXX" = yes; then
3485 if test "$GXX" = yes; then
3492 ac_cpp='$CPP $CPPFLAGS'
3493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3498 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3499 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3500 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
3501 { (exit 1); exit 1; }; }
3504 # This will get text that should go into config.make.
3507 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3509 # Check whether --with-gd was given.
3510 if test "${with_gd+set}" = set; then
3511 withval=$with_gd; case "$with_gd" in
3513 *) libgd_include="-I$withval/include"
3514 libgd_ldflags="-L$withval/lib" ;;
3520 # Check whether --with-gd-include was given.
3521 if test "${with_gd_include+set}" = set; then
3522 withval=$with_gd_include; case "$with_gd_include" in
3524 *) libgd_include="-I$withval" ;;
3530 # Check whether --with-gd-lib was given.
3531 if test "${with_gd_lib+set}" = set; then
3532 withval=$with_gd_lib; case "$with_gd_lib" in
3534 *) libgd_ldflags="-L$withval" ;;
3540 if test -n "$libgd_include"; then
3541 config_vars="$config_vars
3542 CFLAGS-memusagestat.c = $libgd_include"
3544 if test -n "$libgd_ldflags"; then
3545 config_vars="$config_vars
3546 libgd-LDFLAGS = $libgd_ldflags"
3550 # Check whether --with-fp was given.
3551 if test "${with_fp+set}" = set; then
3552 withval=$with_fp; with_fp=$withval
3559 # Check whether --with-binutils was given.
3560 if test "${with_binutils+set}" = set; then
3561 withval=$with_binutils; path_binutils=$withval
3567 # Check whether --with-elf was given.
3568 if test "${with_elf+set}" = set; then
3569 withval=$with_elf; elf=$withval
3575 # Check whether --with-selinux was given.
3576 if test "${with_selinux+set}" = set; then
3577 withval=$with_selinux; with_selinux=$withval
3583 # Check whether --with-xcoff was given.
3584 if test "${with_xcoff+set}" = set; then
3585 withval=$with_xcoff; xcoff=$withval
3591 # Check whether --with-cvs was given.
3592 if test "${with_cvs+set}" = set; then
3593 withval=$with_cvs; with_cvs=$withval
3598 if test "$with_cvs" = yes; then
3599 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3607 # Check whether --with-headers was given.
3608 if test "${with_headers+set}" = set; then
3609 withval=$with_headers; sysheaders=$withval
3615 # Check whether --enable-sanity-checks was given.
3616 if test "${enable_sanity_checks+set}" = set; then
3617 enableval=$enable_sanity_checks; enable_sanity=$enableval
3624 # Check whether --enable-check-abi was given.
3625 if test "${enable_check_abi+set}" = set; then
3626 enableval=$enable_check_abi; enable_check_abi=$enableval
3633 # Check whether --enable-shared was given.
3634 if test "${enable_shared+set}" = set; then
3635 enableval=$enable_shared; shared=$enableval
3640 # Check whether --enable-profile was given.
3641 if test "${enable_profile+set}" = set; then
3642 enableval=$enable_profile; profile=$enableval
3647 # Check whether --enable-omitfp was given.
3648 if test "${enable_omitfp+set}" = set; then
3649 enableval=$enable_omitfp; omitfp=$enableval
3654 # Check whether --enable-bounded was given.
3655 if test "${enable_bounded+set}" = set; then
3656 enableval=$enable_bounded; bounded=$enableval
3661 # Check whether --enable-versioning was given.
3662 if test "${enable_versioning+set}" = set; then
3663 enableval=$enable_versioning; enable_versioning=$enableval
3665 enable_versioning=yes
3669 # Check whether --enable-oldest-abi was given.
3670 if test "${enable_oldest_abi+set}" = set; then
3671 enableval=$enable_oldest_abi; oldest_abi=$enableval
3676 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3679 cat >>confdefs.h <<_ACEOF
3680 #define GLIBC_OLDEST_ABI "$oldest_abi"
3686 # Check whether --enable-stackguard-randomization was given.
3687 if test "${enable_stackguard_randomization+set}" = set; then
3688 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3690 enable_stackguard_randomize=no
3693 if test "$enable_stackguard_randomize" = yes; then
3694 cat >>confdefs.h <<\_ACEOF
3695 #define ENABLE_STACKGUARD_RANDOMIZE 1
3700 # Check whether --enable-add-ons was given.
3701 if test "${enable_add_ons+set}" = set; then
3702 enableval=$enable_add_ons;
3709 # Check whether --with-tls was given.
3710 if test "${with_tls+set}" = set; then
3711 withval=$with_tls; usetls=$withval
3718 # Check whether --with-__thread was given.
3719 if test "${with___thread+set}" = set; then
3720 withval=$with___thread; use__thread=$withval
3726 # Check whether --enable-hidden-plt was given.
3727 if test "${enable_hidden_plt+set}" = set; then
3728 enableval=$enable_hidden_plt; hidden=$enableval
3733 if test "x$hidden" = xno; then
3734 cat >>confdefs.h <<\_ACEOF
3740 # Check whether --enable-bind-now was given.
3741 if test "${enable_bind_now+set}" = set; then
3742 enableval=$enable_bind_now; bindnow=$enableval
3749 # Check whether --enable-static-nss was given.
3750 if test "${enable_static_nss+set}" = set; then
3751 enableval=$enable_static_nss; static_nss=$enableval
3756 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3758 cat >>confdefs.h <<\_ACEOF
3759 #define DO_STATIC_NSS 1
3764 # Check whether --enable-force-install was given.
3765 if test "${enable_force_install+set}" = set; then
3766 enableval=$enable_force_install; force_install=$enableval
3773 # Check whether --enable-kernel was given.
3774 if test "${enable_kernel+set}" = set; then
3775 enableval=$enable_kernel; minimum_kernel=$enableval
3778 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3779 # Better nothing than this.
3782 if test "$minimum_kernel" = current; then
3783 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3787 # Check whether --enable-all-warnings was given.
3788 if test "${enable_all_warnings+set}" = set; then
3789 enableval=$enable_all_warnings; all_warnings=$enableval
3794 # Check whether --enable-multi-arch was given.
3795 if test "${enable_multi_arch+set}" = set; then
3796 enableval=$enable_multi_arch; multi_arch=$enableval
3801 if test x"$multi_arch" = xyes; then
3802 cat >>confdefs.h <<\_ACEOF
3803 #define USE_MULTIARCH 1
3806 multi_arch_d=/multiarch
3810 # Check whether --enable-experimental-malloc was given.
3811 if test "${enable_experimental_malloc+set}" = set; then
3812 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3817 # Check whether --enable-nss-crypt was given.
3818 if test "${enable_nss_crypt+set}" = set; then
3819 enableval=$enable_nss_crypt; nss_crypt=$enableval
3824 if test x$nss_crypt = xyes; then
3825 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3826 if test $? -ne 0; then
3827 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3828 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3829 { (exit 1); exit 1; }; }
3831 old_CFLAGS="$CFLAGS"
3832 CFLAGS="$CFLAGS $nss_includes"
3834 cat >conftest.$ac_ext <<_ACEOF
3837 #include <nsslowhash.h>
3838 void f (void) { NSSLOW_Init (); }
3840 rm -f conftest.$ac_objext
3841 if { (ac_try="$ac_compile"
3843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3844 *) ac_try_echo
=$ac_try;;
3846 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3847 $as_echo "$ac_try_echo") >&5
3848 (eval "$ac_compile") 2>conftest.er1
3850 grep -v '^ *+' conftest.er1
>conftest.err
3852 cat conftest.err
>&5
3853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } && {
3855 test -z "$ac_c_werror_flag" ||
3856 test ! -s conftest.err
3857 } && test -s conftest.
$ac_objext; then
3858 libc_cv_nss_crypt
=yes
3860 $as_echo "$as_me: failed program was:" >&5
3861 sed 's/^/| /' conftest.
$ac_ext >&5
3863 { { $as_echo "$as_me:$LINENO: error:
3864 cannot find NSS headers with lowlevel hash function interfaces" >&5
3865 $as_echo "$as_me: error:
3866 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3867 { (exit 1); exit 1; }; }
3870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3872 LIBS
="$LIBS -lfreebl3"
3873 cat >conftest.
$ac_ext <<_ACEOF
3876 cat confdefs.h
>>conftest.
$ac_ext
3877 cat >>conftest.
$ac_ext <<_ACEOF
3878 /* end confdefs.h. */
3881 #include <nsslowhash.h>
3890 rm -f conftest.
$ac_objext conftest
$ac_exeext
3891 if { (ac_try
="$ac_link"
3893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3894 *) ac_try_echo=$ac_try;;
3896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3897 $as_echo "$ac_try_echo") >&5
3898 (eval "$ac_link") 2>conftest.er1
3900 grep -v '^ *+' conftest.er1 >conftest.err
3902 cat conftest.err >&5
3903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); } && {
3905 test -z "$ac_c_werror_flag" ||
3906 test ! -s conftest.err
3907 } && test -s conftest$ac_exeext && {
3908 test "$cross_compiling" = yes ||
3909 $as_test_x conftest$ac_exeext
3911 libc_cv_nss_crypt=yes
3913 $as_echo "$as_me: failed program was:" >&5
3914 sed 's/^/| /' conftest.$ac_ext >&5
3916 { { $as_echo "$as_me:$LINENO: error:
3917 cannot link program using lowlevel NSS hash functions" >&5
3918 $as_echo "$as_me: error:
3919 cannot link program using lowlevel NSS hash functions" >&2;}
3920 { (exit 1); exit 1; }; }
3923 rm -rf conftest.dSYM
3924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3925 conftest$ac_exeext conftest.$ac_ext
3926 CFLAGS="$old_CFLAGS"
3929 libc_cv_nss_crypt=no
3933 # The way shlib-versions is used to generate soversions.mk uses a
3934 # fairly simplistic model for name recognition that can't distinguish
3935 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3936 # of `gnu
*' here to be `gnu-gnu*' just so that shlib-versions can
3937 # tell. This doesn't get used much beyond that, so it's fairly safe.
3942 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3946 # We keep the original values in `$config_*' and never modify them, so we
3947 # can write them unchanged into config.make. Everything else uses
3948 # $machine, $vendor, and $os, and changes them whenever convenient.
3949 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3951 # Don't allow vendor == "unknown"
3952 test "$config_vendor" = unknown
&& config_vendor
=
3953 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3955 # Some configurations imply other options.
3957 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3958 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
3960 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
3961 # These systems (almost) always use the ELF format.
3965 # These systems are always xcoff
3971 # The configure fragment of an add-on port can modify these to supplement
3972 # or override the table in the case statement below. No fragment should
3973 # ever change the config_* variables, however.
3974 machine
=$config_machine
3975 vendor
=$config_vendor
3979 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3981 if test "$machine" = rs6000
; then
3985 # Braindead PowerPC box with absolutely no FPU.
3986 case "$machine-$host_os" in
3994 # Check whether --with-cpu was given.
3995 if test "${with_cpu+set}" = set; then
3996 withval
=$with_cpu; case "$withval" in
3997 yes|
'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
3998 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
3999 { (exit 1); exit 1; }; } ;;
4001 *) submachine
="$withval" ;;
4007 # An add-on can set this when it wants to disable the sanity check below.
4015 case "$enable_add_ons" in
4018 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
4019 sed 's@/[^/]*$@@' | sort | uniq`
4020 add_ons_automatic
=yes
4022 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
4023 add_ons_automatic
=no
;;
4029 if test x
"$add_ons" != x
; then
4030 for f
in $add_ons; do
4031 # Some sanity checks
4034 { { $as_echo "$as_me:$LINENO: error:
4035 *** It seems that you're using an old \`crypt' add-on. crypt is now
4036 *** part of glibc and using the old add-on will not work with this
4037 *** release. Start again with fresh sources and without the old
4038 *** \`crypt' add-on." >&5
4039 $as_echo "$as_me: error:
4040 *** It seems that you're using an old \`crypt' add-on. crypt is now
4041 *** part of glibc and using the old add-on will not work with this
4042 *** release. Start again with fresh sources and without the old
4043 *** \`crypt' add-on." >&2;}
4044 { (exit 1); exit 1; }; }
4047 { { $as_echo "$as_me:$LINENO: error:
4048 *** It seems that you're using an old \`localedata' add-on. localedata
4049 *** is now part of glibc and using the old add-on will not work with
4050 *** this release. Start again with fresh sources and without the old
4051 *** \`localedata' add-on." >&5
4052 $as_echo "$as_me: error:
4053 *** It seems that you're using an old \`localedata' add-on. localedata
4054 *** is now part of glibc and using the old add-on will not work with
4055 *** this release. Start again with fresh sources and without the old
4056 *** \`localedata' add-on." >&2;}
4057 { (exit 1); exit 1; }; }
4062 # Now source each add-on's configure fragment.
4063 # The fragments can use $srcdir/$libc_add_on to find themselves,
4064 # and test $add_ons_automatic to see if they were explicitly requested.
4065 # A fragment can clear (or even change) $libc_add_on to affect
4066 # whether it goes into the list to be actually used in the build.
4068 for libc_add_on
in $add_ons; do
4069 # Test whether such a directory really exists.
4070 # It can be absolute, or relative to $srcdir, or relative to the build dir.
4071 case "$libc_add_on" in
4073 libc_add_on_srcdir
=$libc_add_on
4076 test -d "$srcdir/$libc_add_on" ||
{
4077 if test -d "$libc_add_on"; then
4078 libc_add_on
="`pwd`/$libc_add_on"
4080 { { $as_echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
4081 $as_echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
4082 { (exit 1); exit 1; }; }
4085 libc_add_on_srcdir
=$srcdir/$libc_add_on
4089 libc_add_on_frag
=$libc_add_on_srcdir/configure
4090 libc_add_on_canonical
=
4091 if test -r "$libc_add_on_frag"; then
4092 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
4093 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
4094 libc_add_on_canonical
=unknown
4095 libc_add_on_subdirs
=
4096 .
"$libc_add_on_frag"
4097 test -z "$libc_add_on" ||
{
4098 configured_add_ons
="$configured_add_ons $libc_add_on"
4099 if test "x$libc_add_on_canonical" = xunknown
; then
4100 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
4101 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
4102 { (exit 1); exit 1; }; }
4104 for d
in $libc_add_on_subdirs; do
4105 case "$libc_add_on" in
4106 /*) subdir_srcdir
="$libc_add_on" ;;
4107 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
4111 d
="${libc_add_on_canonical:-$libc_add_on}"
4117 subdir_srcdir
="$subdir_srcdir/$d"
4120 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4121 add_on_subdirs
="$add_on_subdirs $d"
4122 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
4123 $d-srcdir = $subdir_srcdir"
4127 if test -n "$libc_add_on"; then
4128 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4130 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
4131 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4132 for frag
in $frags; do
4133 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4134 echo $ECHO_N "$name $ECHO_C" >&6
4137 { $as_echo "$as_me:$LINENO: result: " >&5
4140 use_add_ons
="$use_add_ons $libc_add_on"
4141 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
4142 test -z "$libc_add_on_canonical" ||
4143 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
4146 # Use echo to strip excess whitespace.
4147 add_ons
="`echo $use_add_ons`"
4154 ### I put this here to prevent those annoying emails from people who cannot
4155 ### read and try to compile glibc on unsupported platforms. --drepper
4157 ### By using the undocumented --enable-hacker-mode option for configure
4158 ### one can skip this test to make the configuration not fail for unsupported
4161 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4162 case "$machine-$host_os" in
4163 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
4166 echo "*** The GNU C library is currently not available for this platform."
4167 echo "*** So far nobody cared to port it and if there is no volunteer it"
4168 echo "*** might never happen. So, if you have interest to see glibc on"
4169 echo "*** this platform visit"
4170 echo "*** http://www.gnu.org/software/libc/porting.html"
4171 echo "*** and join the group of porters"
4177 # Expand the configuration machine name into a subdirectory by architecture
4178 # type and particular chip. If an add-on configure fragment already set
4179 # base_machine, we don't change it.
4180 test -n "$base_machine" ||
case "$machine" in
4181 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
4182 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
4183 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
4184 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
4185 ia64
) base_machine
=ia64 machine
=ia64
;;
4186 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
4187 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
4188 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
4189 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
4190 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
4191 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
4192 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
4193 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
4195 base_machine
=sparc machine
=sparc
/sparc32
;;
4196 sparcv8 | supersparc | hypersparc
)
4197 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
4198 sparcv8plus | sparcv8plusa | sparcv9
)
4199 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
4200 sparcv8plusb | sparcv9b
)
4201 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
4203 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
4205 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
4207 base_machine
=sparc machine
=sparc
/sparc64
;;
4209 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
4211 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
4213 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
4214 *) base_machine
=$machine ;;
4218 if test "$base_machine" = "i386"; then
4219 cat >>confdefs.h
<<\_ACEOF
4220 #define USE_REGPARMS 1
4225 # Compute the list of sysdep directories for this configuration.
4226 # This can take a while to compute.
4227 sysdep_dir
=$srcdir/sysdeps
4228 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
4229 $as_echo_n "checking sysdep dirs... " >&6; }
4230 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4231 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4233 test "x$base_os" != x ||
case "$os" in
4235 base_os
=mach
/hurd
;;
4236 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
4237 base_os
=unix
/bsd
/bsd4.4
;;
4238 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
4240 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
4241 base_os
=unix
/sysv
;;
4243 base_os
=unix
/sysv
/irix
6/$os ;;
4245 base_os
=unix
/sysv
/sysv4
;;
4247 base_os
=unix
/sysv
/hpux
/$os ;;
4249 base_os
=unix
/sysv
/aix
/aix4.3
;;
4251 base_os
=standalone
;;
4254 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4257 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4261 o
=`echo $tail | sed 's/[0-9]*$//'`
4262 if test $o != $tail; then
4265 # For linux-gnu, try linux-gnu, then linux.
4266 o
=`echo $tail | sed 's/-.*$//'`
4267 if test $o != $tail; then
4271 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4274 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4280 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4282 tail=$machine${submachine:+/$submachine}
4283 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4285 # Prepend the machine's FPU directory unless --without-fp.
4286 if test "$with_fp" = yes; then
4287 mach
="$mach /$1/fpu"
4289 mach
="$mach /$1/nofpu"
4296 # Find what sysdep directories exist.
4299 for b
in $base ''; do
4300 for m0
in $mach ''; do
4301 for v
in /$vendor ''; do
4302 test "$v" = / && continue
4303 for o
in /$ostry ''; do
4304 test "$o" = / && continue
4305 for m
in $multi_arch_d $mach ''; do
4306 for d
in $add_ons_pfx ''; do
4307 for a
in $add_ons_sfx ''; do
4308 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4309 try_srcdir
="${srcdir}/"
4313 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4314 test -n "$enable_debug_configure" &&
4315 echo "$0 DEBUG: try $try" >&2
4316 if test -d "$try_srcdir$try"; then
4317 sysnames
="$sysnames $try"
4318 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4319 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4321 x
*/$submachine) submachine_used
=t
;;
4323 if test -n "$d"; then
4324 case "$sysnames_add_ons" in
4326 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4339 if test -z "$os_used" && test "$os" != none
; then
4340 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4341 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
4342 { (exit 1); exit 1; }; }
4344 if test -z "$machine_used" && test "$machine" != none
; then
4345 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4346 $as_echo "$as_me: error: The $machine is not supported." >&2;}
4347 { (exit 1); exit 1; }; }
4349 if test -z "$submachine_used" && test -n "$submachine"; then
4350 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4351 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4352 { (exit 1); exit 1; }; }
4356 # We have now validated the configuration.
4359 # If using ELF, look for an `elf' subdirectory of each machine directory.
4360 # We prepend these rather than inserting them whereever the machine appears
4361 # because things specified by the machine's ELF ABI should override
4362 # OS-specific things, and should always be the same for any OS on the
4363 # machine (otherwise what's the point of an ABI?).
4364 if test "$elf" = yes; then
4366 for d
in $add_ons_pfx ''; do
4368 if test -d $srcdir/${d}sysdeps
$m/elf
; then
4369 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
4373 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4377 # Expand the list of system names into a full list of directories
4378 # from each element's parent name and Implies file (if present).
4381 while test $# -gt 0; do
4385 case " $names " in *" $name "*)
4386 # Already in the list.
4390 # Report each name as we discover it, so there is no long pause in output.
4391 echo $ECHO_N "$name $ECHO_C" >&6
4393 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4397 *) xsrcdir
=$srcdir/ ;;
4399 test -n "$enable_debug_configure" &&
4400 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4402 if test -f $xsrcdir$name/Implies
; then
4403 # Collect more names from the `Implies' file (removing comments).
4404 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4406 for x
in $implied_candidate; do
4408 if test -d $xsrcdir$name_base/$x; then
4409 implied
="$implied $name_base/$x";
4412 for d
in $add_ons_pfx ''; do
4413 try
="${d}sysdeps/$x"
4416 *) try_srcdir
=$srcdir/ ;;
4418 test -n "$enable_debug_configure" &&
4419 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4420 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4422 implied
="$implied $try"
4424 case "$sysnames_add_ons" in
4426 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4430 if test $found = no
; then
4431 { $as_echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
4432 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4439 # Add NAME to the list of names.
4440 names
="$names $name"
4442 # Find the parent of NAME, using the empty string if it has none.
4443 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4445 # Add the names implied by NAME, and NAME's parent (if it has one), to
4446 # the list of names to be processed (the argument list). We prepend the
4447 # implied names to the list and append the parent. We want implied
4448 # directories to come before further directories inferred from the
4449 # configuration components; this ensures that for sysv4, unix/common
4450 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4452 sysnames
="`echo $implied $* $parent`"
4453 test -n "$sysnames" && set $sysnames
4456 # Add the default directories.
4457 default_sysnames
=sysdeps
/generic
4458 if test "$elf" = yes; then
4459 default_sysnames
="sysdeps/generic/elf $default_sysnames"
4461 sysnames
="$names $default_sysnames"
4463 # The other names were emitted during the scan.
4464 { $as_echo "$as_me:$LINENO: result: $default_sysnames" >&5
4465 $as_echo "$default_sysnames" >&6; }
4467 # Collect the list of add-ons that supply partial sysdeps trees.
4469 for add_on
in $add_ons; do
4472 *) xsrcdir
="$srcdir/" ;;
4475 test -d "$xsrcdir$add_on/sysdeps" ||
{
4476 case "$configured_add_ons " in
4479 { { $as_echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
4480 $as_echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
4481 { (exit 1); exit 1; }; }
4487 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4488 case "$sysnames_add_ons" in
4491 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4492 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4497 for d
in $sysnames; do
4499 $add_on/sysdeps
/*) ;;
4502 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4505 for ff
in $f/*.h
; do
4506 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4510 test -d "$f" ||
{ test -e "$f" && exit 88; }
4514 if test $?
-eq 88; then
4519 if test $found = no
; then
4520 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4521 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4529 # Find a good install program. We prefer a C program (faster),
4530 # so one script is as good as another. But avoid the broken or
4531 # incompatible versions:
4532 # SysV /etc/install, /usr/sbin/install
4533 # SunOS /usr/etc/install
4534 # IRIX /sbin/install
4536 # AmigaOS /C/install, which installs bootblocks on floppy discs
4537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4540 # OS/2's system install, which has a completely different semantic
4541 # ./install, which can be erroneously created by make from ./install.sh.
4542 # Reject install programs that cannot install multiple files.
4543 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4544 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4545 if test -z "$INSTALL"; then
4546 if test "${ac_cv_path_install+set}" = set; then
4547 $as_echo_n "(cached) " >&6
4549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4553 test -z "$as_dir" && as_dir
=.
4554 # Account for people who put trailing slashes in PATH elements.
4556 .
/ | .
// |
/cC
/* | \
4557 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4558 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4561 # OSF1 and SCO ODT 3.0 have their own names for install.
4562 # Don't use installbsd from OSF since it installs stuff as root
4564 for ac_prog
in ginstall scoinst
install; do
4565 for ac_exec_ext
in '' $ac_executable_extensions; do
4566 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4567 if test $ac_prog = install &&
4568 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4569 # AIX install. It has an incompatible calling convention.
4571 elif test $ac_prog = install &&
4572 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4573 # program-specific install script used by HP pwplus--don't use.
4576 rm -rf conftest.one conftest.two conftest.dir
4577 echo one
> conftest.one
4578 echo two
> conftest.two
4580 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4581 test -s conftest.one
&& test -s conftest.two
&&
4582 test -s conftest.dir
/conftest.one
&&
4583 test -s conftest.dir
/conftest.two
4585 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4598 rm -rf conftest.one conftest.two conftest.dir
4601 if test "${ac_cv_path_install+set}" = set; then
4602 INSTALL
=$ac_cv_path_install
4604 # As a last resort, use the slow shell script. Don't cache a
4605 # value for INSTALL within a source directory, because that will
4606 # break other packages using the cache if that directory is
4607 # removed, or if the value is a relative name.
4608 INSTALL
=$ac_install_sh
4611 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4612 $as_echo "$INSTALL" >&6; }
4614 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4615 # It thinks the first close brace ends the variable substitution.
4616 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4618 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4620 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4622 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4623 # The makefiles need to use a different form to find it in $srcdir.
4624 INSTALL
='\$(..)./scripts/install-sh -c'
4626 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4627 $as_echo_n "checking whether ln -s works... " >&6; }
4629 if test "$LN_S" = "ln -s"; then
4630 { $as_echo "$as_me:$LINENO: result: yes" >&5
4631 $as_echo "yes" >&6; }
4633 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4634 $as_echo "no, using $LN_S" >&6; }
4638 # Was a --with-binutils option given?
4639 if test -n "$path_binutils"; then
4640 # Make absolute; ensure a single trailing slash.
4641 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4642 CC
="$CC -B$path_binutils"
4644 AS
=`$CC -print-prog-name=as`
4645 LD
=`$CC -print-prog-name=ld`
4646 AR
=`$CC -print-prog-name=ar`
4648 OBJDUMP
=`$CC -print-prog-name=objdump`
4651 # ranlib has to be treated a bit differently since it might not exist at all.
4652 ac_ranlib
=`$CC -print-prog-name=ranlib`
4653 if test "x$ac_ranlib" = xranlib
; then
4654 # This extra check has to happen since gcc simply echos the parameter in
4655 # case it cannot find the value in its own directories.
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4658 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4659 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if test "${ac_cv_prog_RANLIB+set}" = set; then
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$RANLIB"; then
4665 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4675 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 RANLIB
=$ac_cv_prog_RANLIB
4685 if test -n "$RANLIB"; then
4686 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4687 $as_echo "$RANLIB" >&6; }
4689 { $as_echo "$as_me:$LINENO: result: no" >&5
4690 $as_echo "no" >&6; }
4695 if test -z "$ac_cv_prog_RANLIB"; then
4696 ac_ct_RANLIB
=$RANLIB
4697 # Extract the first word of "ranlib", so it can be a program name with args.
4698 set dummy ranlib
; ac_word
=$2
4699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$ac_ct_RANLIB"; then
4705 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir
=.
4712 for ac_exec_ext
in '' $ac_executable_extensions; do
4713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4715 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4725 if test -n "$ac_ct_RANLIB"; then
4726 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4727 $as_echo "$ac_ct_RANLIB" >&6; }
4729 { $as_echo "$as_me:$LINENO: result: no" >&5
4730 $as_echo "no" >&6; }
4733 if test "x$ac_ct_RANLIB" = x
; then
4736 case $cross_compiling:$ac_tool_warned in
4738 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned
=yes ;;
4742 RANLIB
=$ac_ct_RANLIB
4745 RANLIB
="$ac_cv_prog_RANLIB"
4753 # Determine whether we are using GNU binutils.
4754 { $as_echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4755 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4756 if test "${libc_cv_prog_as_gnu+set}" = set; then
4757 $as_echo_n "(cached) " >&6
4759 # Most GNU programs take a -v and spit out some text including
4760 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4761 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4762 libc_cv_prog_as_gnu
=yes
4764 libc_cv_prog_as_gnu
=no
4768 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4769 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4771 gnu_as
=$libc_cv_prog_as_gnu
4773 { $as_echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4774 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4775 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4776 $as_echo_n "(cached) " >&6
4778 # Most GNU programs take a -v and spit out some text including
4779 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4780 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4781 libc_cv_prog_ld_gnu
=yes
4783 libc_cv_prog_ld_gnu
=no
4787 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4788 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4789 gnu_ld
=$libc_cv_prog_ld_gnu
4792 # Accept binutils 2.13 or newer.
4795 # Extract the first word of "$ac_prog", so it can be a program name with args.
4796 set dummy
$ac_prog; ac_word
=$2
4797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if test "${ac_cv_prog_AS+set}" = set; then
4800 $as_echo_n "(cached) " >&6
4802 if test -n "$AS"; then
4803 ac_cv_prog_AS
="$AS" # Let the user override the test.
4805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4809 test -z "$as_dir" && as_dir
=.
4810 for ac_exec_ext
in '' $ac_executable_extensions; do
4811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4812 ac_cv_prog_AS
="$ac_prog"
4813 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4823 if test -n "$AS"; then
4824 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4825 $as_echo "$AS" >&6; }
4827 { $as_echo "$as_me:$LINENO: result: no" >&5
4828 $as_echo "no" >&6; }
4832 test -n "$AS" && break
4835 if test -z "$AS"; then
4838 # Found it, now check the version.
4839 { $as_echo "$as_me:$LINENO: checking version of $AS" >&5
4840 $as_echo_n "checking version of $AS... " >&6; }
4841 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4842 case $ac_prog_version in
4843 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4844 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9]*|
[3-9].
*)
4845 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4846 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4849 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4850 $as_echo "$ac_prog_version" >&6; }
4852 if test $ac_verc_fail = yes; then
4853 AS
=: critic_missing
="$critic_missing as"
4858 # Extract the first word of "$ac_prog", so it can be a program name with args.
4859 set dummy
$ac_prog; ac_word
=$2
4860 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4861 $as_echo_n "checking for $ac_word... " >&6; }
4862 if test "${ac_cv_prog_LD+set}" = set; then
4863 $as_echo_n "(cached) " >&6
4865 if test -n "$LD"; then
4866 ac_cv_prog_LD
="$LD" # Let the user override the test.
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4875 ac_cv_prog_LD
="$ac_prog"
4876 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 if test -n "$LD"; then
4887 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4888 $as_echo "$LD" >&6; }
4890 { $as_echo "$as_me:$LINENO: result: no" >&5
4891 $as_echo "no" >&6; }
4895 test -n "$LD" && break
4898 if test -z "$LD"; then
4901 # Found it, now check the version.
4902 { $as_echo "$as_me:$LINENO: checking version of $LD" >&5
4903 $as_echo_n "checking version of $LD... " >&6; }
4904 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4905 case $ac_prog_version in
4906 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4907 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9]*|
3-9.
*)
4908 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4909 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4912 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4913 $as_echo "$ac_prog_version" >&6; }
4915 if test $ac_verc_fail = yes; then
4916 LD
=: critic_missing
="$critic_missing ld"
4920 # We need the physical current working directory. We cannot use the
4921 # "pwd -P" shell builtin since that's not portable. Instead we try to
4922 # find a pwd binary. Note that assigning to the PWD environment
4923 # variable might have some interesting side effects, so we don't do
4925 # Extract the first word of "pwd", so it can be a program name with args.
4926 set dummy
pwd; ac_word
=$2
4927 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if test "${ac_cv_path_PWD_P+set}" = set; then
4930 $as_echo_n "(cached) " >&6
4934 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir
=.
4942 for ac_exec_ext
in '' $ac_executable_extensions; do
4943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4944 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
4945 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
4956 PWD_P
=$ac_cv_path_PWD_P
4957 if test -n "$PWD_P"; then
4958 { $as_echo "$as_me:$LINENO: result: $PWD_P" >&5
4959 $as_echo "$PWD_P" >&6; }
4961 { $as_echo "$as_me:$LINENO: result: no" >&5
4962 $as_echo "no" >&6; }
4966 if test "$PWD_P" = no
; then
4967 { { $as_echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4968 $as_echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4969 { (exit 1); exit 1; }; }
4972 # These programs are version sensitive.
4974 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
4976 # Extract the first word of "$ac_prog", so it can be a program name with args.
4977 set dummy
$ac_prog; ac_word
=$2
4978 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_CC+set}" = set; then
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$CC"; then
4984 ac_cv_prog_CC
="$CC" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir
=.
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_CC
="$ac_prog"
4994 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 if test -n "$CC"; then
5005 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5006 $as_echo "$CC" >&6; }
5008 { $as_echo "$as_me:$LINENO: result: no" >&5
5009 $as_echo "no" >&6; }
5013 test -n "$CC" && break
5016 if test -z "$CC"; then
5019 # Found it, now check the version.
5020 { $as_echo "$as_me:$LINENO: checking version of $CC" >&5
5021 $as_echo_n "checking version of $CC... " >&6; }
5022 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
5023 case $ac_prog_version in
5024 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5026 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5027 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5030 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5031 $as_echo "$ac_prog_version" >&6; }
5033 if test $ac_verc_fail = yes; then
5034 critic_missing
="$critic_missing gcc"
5037 for ac_prog
in gnumake gmake
make
5039 # Extract the first word of "$ac_prog", so it can be a program name with args.
5040 set dummy
$ac_prog; ac_word
=$2
5041 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if test "${ac_cv_prog_MAKE+set}" = set; then
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$MAKE"; then
5047 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5056 ac_cv_prog_MAKE
="$ac_prog"
5057 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 MAKE
=$ac_cv_prog_MAKE
5067 if test -n "$MAKE"; then
5068 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
5069 $as_echo "$MAKE" >&6; }
5071 { $as_echo "$as_me:$LINENO: result: no" >&5
5072 $as_echo "no" >&6; }
5076 test -n "$MAKE" && break
5079 if test -z "$MAKE"; then
5082 # Found it, now check the version.
5083 { $as_echo "$as_me:$LINENO: checking version of $MAKE" >&5
5084 $as_echo_n "checking version of $MAKE... " >&6; }
5085 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5086 case $ac_prog_version in
5087 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5089 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5090 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5093 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5094 $as_echo "$ac_prog_version" >&6; }
5096 if test $ac_verc_fail = yes; then
5097 critic_missing
="$critic_missing make"
5101 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
5103 # Extract the first word of "$ac_prog", so it can be a program name with args.
5104 set dummy
$ac_prog; ac_word
=$2
5105 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_MSGFMT+set}" = set; then
5108 $as_echo_n "(cached) " >&6
5110 if test -n "$MSGFMT"; then
5111 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir
=.
5118 for ac_exec_ext
in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_MSGFMT
="$ac_prog"
5121 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 MSGFMT
=$ac_cv_prog_MSGFMT
5131 if test -n "$MSGFMT"; then
5132 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5133 $as_echo "$MSGFMT" >&6; }
5135 { $as_echo "$as_me:$LINENO: result: no" >&5
5136 $as_echo "no" >&6; }
5140 test -n "$MSGFMT" && break
5143 if test -z "$MSGFMT"; then
5146 # Found it, now check the version.
5147 { $as_echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
5148 $as_echo_n "checking version of $MSGFMT... " >&6; }
5149 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5150 case $ac_prog_version in
5151 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5152 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
5153 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5154 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5157 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5158 $as_echo "$ac_prog_version" >&6; }
5160 if test $ac_verc_fail = yes; then
5161 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
5164 for ac_prog
in makeinfo
5166 # Extract the first word of "$ac_prog", so it can be a program name with args.
5167 set dummy
$ac_prog; ac_word
=$2
5168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5171 $as_echo_n "(cached) " >&6
5173 if test -n "$MAKEINFO"; then
5174 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir
=.
5181 for ac_exec_ext
in '' $ac_executable_extensions; do
5182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183 ac_cv_prog_MAKEINFO
="$ac_prog"
5184 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 MAKEINFO
=$ac_cv_prog_MAKEINFO
5194 if test -n "$MAKEINFO"; then
5195 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5196 $as_echo "$MAKEINFO" >&6; }
5198 { $as_echo "$as_me:$LINENO: result: no" >&5
5199 $as_echo "no" >&6; }
5203 test -n "$MAKEINFO" && break
5206 if test -z "$MAKEINFO"; then
5209 # Found it, now check the version.
5210 { $as_echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5211 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5212 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5213 case $ac_prog_version in
5214 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5216 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5217 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5220 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5221 $as_echo "$ac_prog_version" >&6; }
5223 if test $ac_verc_fail = yes; then
5224 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
5229 # Extract the first word of "$ac_prog", so it can be a program name with args.
5230 set dummy
$ac_prog; ac_word
=$2
5231 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5232 $as_echo_n "checking for $ac_word... " >&6; }
5233 if test "${ac_cv_prog_SED+set}" = set; then
5234 $as_echo_n "(cached) " >&6
5236 if test -n "$SED"; then
5237 ac_cv_prog_SED
="$SED" # Let the user override the test.
5239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5243 test -z "$as_dir" && as_dir
=.
5244 for ac_exec_ext
in '' $ac_executable_extensions; do
5245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5246 ac_cv_prog_SED
="$ac_prog"
5247 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 if test -n "$SED"; then
5258 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5259 $as_echo "$SED" >&6; }
5261 { $as_echo "$as_me:$LINENO: result: no" >&5
5262 $as_echo "no" >&6; }
5266 test -n "$SED" && break
5269 if test -z "$SED"; then
5272 # Found it, now check the version.
5273 { $as_echo "$as_me:$LINENO: checking version of $SED" >&5
5274 $as_echo_n "checking version of $SED... " >&6; }
5275 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5276 case $ac_prog_version in
5277 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5278 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
5279 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5280 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5283 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5284 $as_echo "$ac_prog_version" >&6; }
5286 if test $ac_verc_fail = yes; then
5287 SED
=: aux_missing
="$aux_missing sed"
5291 for ac_prog
in autoconf
5293 # Extract the first word of "$ac_prog", so it can be a program name with args.
5294 set dummy
$ac_prog; ac_word
=$2
5295 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5298 $as_echo_n "(cached) " >&6
5300 if test -n "$AUTOCONF"; then
5301 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5307 test -z "$as_dir" && as_dir
=.
5308 for ac_exec_ext
in '' $ac_executable_extensions; do
5309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310 ac_cv_prog_AUTOCONF
="$ac_prog"
5311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 AUTOCONF
=$ac_cv_prog_AUTOCONF
5321 if test -n "$AUTOCONF"; then
5322 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5323 $as_echo "$AUTOCONF" >&6; }
5325 { $as_echo "$as_me:$LINENO: result: no" >&5
5326 $as_echo "no" >&6; }
5330 test -n "$AUTOCONF" && break
5332 test -n "$AUTOCONF" || AUTOCONF
="no"
5334 case "x$AUTOCONF" in
5335 xno|x|x
:) AUTOCONF
=no
;;
5337 { $as_echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5338 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5339 if test "${libc_cv_autoconf_works+set}" = set; then
5340 $as_echo_n "(cached) " >&6
5342 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
5343 libc_cv_autoconf_works
=yes
5345 libc_cv_autoconf_works
=no
5348 { $as_echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5349 $as_echo "$libc_cv_autoconf_works" >&6; }
5350 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5353 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
5354 # If --without-cvs they probably won't change configure.in, so no complaints.
5355 aux_missing
="$aux_missing autoconf"
5358 test -n "$critic_missing" && { { $as_echo "$as_me:$LINENO: error:
5359 *** These critical programs are missing or too old:$critic_missing
5360 *** Check the INSTALL file for required versions." >&5
5361 $as_echo "$as_me: error:
5362 *** These critical programs are missing or too old:$critic_missing
5363 *** Check the INSTALL file for required versions." >&2;}
5364 { (exit 1); exit 1; }; }
5366 test -n "$aux_missing" && { $as_echo "$as_me:$LINENO: WARNING:
5367 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5368 *** some features will be disabled.
5369 *** Check the INSTALL file for required versions." >&5
5370 $as_echo "$as_me: WARNING:
5371 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5372 *** some features will be disabled.
5373 *** Check the INSTALL file for required versions." >&2;}
5375 # if using special system headers, find out the compiler's sekrit
5376 # header directory and add that to the list. NOTE: Only does the right
5377 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5378 if test -n "$sysheaders"; then
5379 SYSINCLUDES
=-nostdinc
5380 for d
in include include-fixed
; do
5381 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5382 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5384 SYSINCLUDES
="$SYSINCLUDES \
5385 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5386 if test -n "$CXX"; then
5387 cxxversion
=`$CXX -dumpversion 2>&5` &&
5388 cxxmachine
=`$CXX -dumpmachine 2>&5` &&
5389 cxxheaders
=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5390 CXX_SYSINCLUDES
="-isystem $cxxheaders \
5391 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5397 # check if ranlib is necessary
5398 { $as_echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5399 $as_echo_n "checking whether ranlib is necessary... " >&6; }
5400 if test "${libc_cv_ranlib_necessary+set}" = set; then
5401 $as_echo_n "(cached) " >&6
5403 cat > conftest.c
<<EOF
5408 $CC $CFLAGS $CPPFLAGS -c conftest.c
5409 $AR cr conftest.a conftest.o
5410 cp conftest.a conftest2.a
5412 if cmp -s conftest.a conftest2.a
; then
5413 libc_cv_ranlib_necessary
=no
5415 libc_cv_ranlib_necessary
=yes
5419 { $as_echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5420 $as_echo "$libc_cv_ranlib_necessary" >&6; }
5421 if test "$libc_cv_ranlib_necessary" = no
; then
5425 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5426 # since this would lead to problems installing/building glibc.
5427 # LD_LIBRARY_PATH contains the current directory if one of the following
5429 # - one of the terminals (":" and ";") is the first or last sign
5430 # - two terminals occur directly after each other
5431 # - the path contains an element with a dot in it
5432 { $as_echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5433 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5434 case ${LD_LIBRARY_PATH} in
5435 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5436 ld_library_path_setting
="contains current directory"
5439 ld_library_path_setting
="ok"
5442 { $as_echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5443 $as_echo "$ld_library_path_setting" >&6; }
5444 if test "$ld_library_path_setting" != "ok"; then
5445 { { $as_echo "$as_me:$LINENO: error:
5446 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5447 *** building glibc. Please change the environment variable
5448 *** and run configure again." >&5
5449 $as_echo "$as_me: error:
5450 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5451 *** building glibc. Please change the environment variable
5452 *** and run configure again." >&2;}
5453 { (exit 1); exit 1; }; }
5456 { $as_echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5457 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5458 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5459 $as_echo_n "(cached) " >&6
5461 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
5462 libc_cv_gcc_static_libgcc
=
5464 libc_cv_gcc_static_libgcc
=-static-libgcc
5467 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5468 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5471 # Extract the first word of "bash", so it can be a program name with args.
5472 set dummy bash
; ac_word
=$2
5473 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5476 $as_echo_n "(cached) " >&6
5480 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir
=.
5488 for ac_exec_ext
in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5491 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5502 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5503 if test -n "$BASH_SHELL"; then
5504 { $as_echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5505 $as_echo "$BASH_SHELL" >&6; }
5507 { $as_echo "$as_me:$LINENO: result: no" >&5
5508 $as_echo "no" >&6; }
5512 if test "$BASH_SHELL" != no
&&
5513 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5514 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5515 libc_cv_have_bash2
=yes
5517 libc_cv_have_bash2
=no
5521 if test "$BASH_SHELL" = no
; then
5522 # Extract the first word of "ksh", so it can be a program name with args.
5523 set dummy ksh
; ac_word
=$2
5524 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if test "${ac_cv_path_KSH+set}" = set; then
5527 $as_echo_n "(cached) " >&6
5531 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
5534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5538 test -z "$as_dir" && as_dir
=.
5539 for ac_exec_ext
in '' $ac_executable_extensions; do
5540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
5542 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
5554 if test -n "$KSH"; then
5555 { $as_echo "$as_me:$LINENO: result: $KSH" >&5
5556 $as_echo "$KSH" >&6; }
5558 { $as_echo "$as_me:$LINENO: result: no" >&5
5559 $as_echo "no" >&6; }
5563 if test "$KSH" = no
; then
5566 libc_cv_have_ksh
=yes
5571 libc_cv_have_ksh
=yes
5575 for ac_prog
in gawk mawk nawk
awk
5577 # Extract the first word of "$ac_prog", so it can be a program name with args.
5578 set dummy
$ac_prog; ac_word
=$2
5579 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5580 $as_echo_n "checking for $ac_word... " >&6; }
5581 if test "${ac_cv_prog_AWK+set}" = set; then
5582 $as_echo_n "(cached) " >&6
5584 if test -n "$AWK"; then
5585 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5591 test -z "$as_dir" && as_dir
=.
5592 for ac_exec_ext
in '' $ac_executable_extensions; do
5593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5594 ac_cv_prog_AWK
="$ac_prog"
5595 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 if test -n "$AWK"; then
5606 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
5607 $as_echo "$AWK" >&6; }
5609 { $as_echo "$as_me:$LINENO: result: no" >&5
5610 $as_echo "no" >&6; }
5614 test -n "$AWK" && break
5617 # Extract the first word of "perl", so it can be a program name with args.
5618 set dummy perl
; ac_word
=$2
5619 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if test "${ac_cv_path_PERL+set}" = set; then
5622 $as_echo_n "(cached) " >&6
5626 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5633 test -z "$as_dir" && as_dir
=.
5634 for ac_exec_ext
in '' $ac_executable_extensions; do
5635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5636 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5637 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5648 PERL
=$ac_cv_path_PERL
5649 if test -n "$PERL"; then
5650 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
5651 $as_echo "$PERL" >&6; }
5653 { $as_echo "$as_me:$LINENO: result: no" >&5
5654 $as_echo "no" >&6; }
5658 if test "$PERL" != no
&&
5659 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5662 # Extract the first word of "install-info", so it can be a program name with args.
5663 set dummy install-info
; ac_word
=$2
5664 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5667 $as_echo_n "(cached) " >&6
5669 case $INSTALL_INFO in
5671 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5675 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5676 for as_dir
in $as_dummy
5679 test -z "$as_dir" && as_dir
=.
5680 for ac_exec_ext
in '' $ac_executable_extensions; do
5681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5683 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5694 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5695 if test -n "$INSTALL_INFO"; then
5696 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5697 $as_echo "$INSTALL_INFO" >&6; }
5699 { $as_echo "$as_me:$LINENO: result: no" >&5
5700 $as_echo "no" >&6; }
5704 # Extract the first word of "bison", so it can be a program name with args.
5705 set dummy bison
; ac_word
=$2
5706 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if test "${ac_cv_path_BISON+set}" = set; then
5709 $as_echo_n "(cached) " >&6
5713 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5717 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5718 for as_dir
in $as_dummy
5721 test -z "$as_dir" && as_dir
=.
5722 for ac_exec_ext
in '' $ac_executable_extensions; do
5723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5724 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5736 BISON
=$ac_cv_path_BISON
5737 if test -n "$BISON"; then
5738 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
5739 $as_echo "$BISON" >&6; }
5741 { $as_echo "$as_me:$LINENO: result: no" >&5
5742 $as_echo "no" >&6; }
5747 { $as_echo "$as_me:$LINENO: checking for signed size_t type" >&5
5748 $as_echo_n "checking for signed size_t type... " >&6; }
5749 if test "${libc_cv_signed_size_t+set}" = set; then
5750 $as_echo_n "(cached) " >&6
5752 echo '#include <stddef.h>
5753 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5754 if eval "$ac_cpp conftest.c 2>/dev/null" \
5755 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
5756 libc_cv_signed_size_t
=no
5758 libc_cv_signed_size_t
=yes
5762 { $as_echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5763 $as_echo "$libc_cv_signed_size_t" >&6; }
5764 if test $libc_cv_signed_size_t = yes; then
5765 cat >> confdefs.h
<<\EOF
5766 #undef __SIZE_TYPE__
5767 #define __SIZE_TYPE__ unsigned
5771 { $as_echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5772 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5773 if test "${libc_cv_friendly_stddef+set}" = set; then
5774 $as_echo_n "(cached) " >&6
5776 cat >conftest.
$ac_ext <<_ACEOF
5779 cat confdefs.h
>>conftest.
$ac_ext
5780 cat >>conftest.
$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 #define __need_size_t
5783 #define __need_wchar_t
5790 size_t size; wchar_t wchar;
5792 #error stddef.h ignored __need_*
5794 if (&size == NULL || &wchar == NULL) abort ();
5799 rm -f conftest.
$ac_objext
5800 if { (ac_try
="$ac_compile"
5802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5803 *) ac_try_echo=$ac_try;;
5805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5806 $as_echo "$ac_try_echo") >&5
5807 (eval "$ac_compile") 2>conftest.er1
5809 grep -v '^ *+' conftest.er1 >conftest.err
5811 cat conftest.err >&5
5812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); } && {
5814 test -z "$ac_c_werror_flag" ||
5815 test ! -s conftest.err
5816 } && test -s conftest.$ac_objext; then
5817 libc_cv_friendly_stddef=yes
5819 $as_echo "$as_me: failed program was:" >&5
5820 sed 's/^/| /' conftest.$ac_ext >&5
5822 libc_cv_friendly_stddef=no
5825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5827 { $as_echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5828 $as_echo "$libc_cv_friendly_stddef" >&6; }
5829 if test $libc_cv_friendly_stddef = yes; then
5830 config_vars="$config_vars
5831 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5834 { $as_echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5835 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5836 if test "${libc_cv_need_minus_P+set}" = set; then
5837 $as_echo_n "(cached) " >&6
5839 cat > conftest.S <<EOF
5840 #include "confdefs.h"
5841 /* Nothing whatsoever. */
5843 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; }; then
5849 libc_cv_need_minus_P=no
5851 libc_cv_need_minus_P=yes
5855 { $as_echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5856 $as_echo "$libc_cv_need_minus_P" >&6; }
5857 if test $libc_cv_need_minus_P = yes; then
5858 config_vars="$config_vars
5859 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5862 { $as_echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5863 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
5864 if test "${libc_cv_dot_text+set}" = set; then
5865 $as_echo_n "(cached) " >&6
5867 cat > conftest.s <<EOF
5871 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; }; then
5877 libc_cv_dot_text=.text
5882 if test -z "$libc_cv_dot_text"; then
5883 { $as_echo "$as_me:$LINENO: result: no" >&5
5884 $as_echo "no" >&6; }
5886 { $as_echo "$as_me:$LINENO: result: yes" >&5
5887 $as_echo "yes" >&6; }
5890 { $as_echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5891 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
5892 if test "${libc_cv_asm_global_directive+set}" = set; then
5893 $as_echo_n "(cached) " >&6
5895 libc_cv_asm_global_directive=UNKNOWN
5896 for ac_globl in .globl .global .EXPORT; do
5897 cat > conftest.s <<EOF
5902 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); }; }; then
5908 libc_cv_asm_global_directive=${ac_globl}
5911 test $libc_cv_asm_global_directive != UNKNOWN && break
5914 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5915 $as_echo "$libc_cv_asm_global_directive" >&6; }
5916 if test $libc_cv_asm_global_directive = UNKNOWN; then
5917 { { $as_echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5918 $as_echo "$as_me: error: cannot determine asm global directive" >&2;}
5919 { (exit 1); exit 1; }; }
5921 cat >>confdefs.h <<_ACEOF
5922 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5927 { $as_echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5928 $as_echo_n "checking for .set assembler directive... " >&6; }
5929 if test "${libc_cv_asm_set_directive+set}" = set; then
5930 $as_echo_n "(cached) " >&6
5932 cat > conftest.s <<EOF
5935 .set glibc_conftest_frobozz,foo
5936 $libc_cv_asm_global_directive glibc_conftest_frobozz
5938 # The alpha-dec-osf1 assembler gives only a warning for `.
set'
5939 # (but it doesn't work
), so we must
do a linking check to be sure.
5940 cat > conftest1.c
<<\EOF
5941 extern int glibc_conftest_frobozz
;
5942 void _start
() { glibc_conftest_frobozz
= 1; }
5944 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5945 -nostartfiles -nostdlib \
5946 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5947 libc_cv_asm_set_directive
=yes
5949 libc_cv_asm_set_directive
=no
5953 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5954 $as_echo "$libc_cv_asm_set_directive" >&6; }
5955 if test $libc_cv_asm_set_directive = yes; then
5956 cat >>confdefs.h
<<\_ACEOF
5957 #define HAVE_ASM_SET_DIRECTIVE 1
5962 { $as_echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5963 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
5964 if test "${libc_cv_asm_type_prefix+set}" = set; then
5965 $as_echo_n "(cached) " >&6
5967 libc_cv_asm_type_prefix
=no
5968 for ac_try_prefix
in '@' '%' '#'; do
5969 cat > conftest.s
<<EOF
5971 ${libc_cv_asm_global_directive} foo
5972 .type foo, ${ac_try_prefix}object
5977 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; }; then
5983 libc_cv_asm_type_prefix
=${ac_try_prefix}
5986 test "x$libc_cv_asm_type_prefix" != xno
&& break
5989 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
5990 $as_echo "$libc_cv_asm_type_prefix" >&6; }
5991 if test "x$libc_cv_asm_type_prefix" != xno
; then
5992 cat >>confdefs.h
<<_ACEOF
5993 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
5998 { $as_echo "$as_me:$LINENO: checking for assembler gnu_unique_object symbol type" >&5
5999 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
6000 if test "${libc_cv_asm_unique_object+set}" = set; then
6001 $as_echo_n "(cached) " >&6
6003 cat > conftest.s
<<EOF
6006 .type _sym, ${libc_cv_asm_type_prefix}gnu_unique_object
6008 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6009 libc_cv_asm_unique_object
=yes
6011 libc_cv_asm_unique_object
=no
6015 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_unique_object" >&5
6016 $as_echo "$libc_cv_asm_unique_object" >&6; }
6017 if test $libc_cv_asm_unique_object = yes; then
6018 cat >>confdefs.h
<<\_ACEOF
6019 #define HAVE_ASM_UNIQUE_OBJECT 1
6024 # For the multi-arch option we need support in the assembler.
6025 if test "$multi_arch" = yes; then
6026 if test "x$libc_cv_asm_type_prefix" != xno
; then
6027 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
6028 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
6029 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
6030 $as_echo_n "(cached) " >&6
6032 cat > conftest.s
<<EOF
6033 .type foo,%gnu_indirect_function
6035 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
6037 libc_cv_asm_gnu_indirect_function
=yes
6039 libc_cv_asm_gnu_indirect_function
=no
6043 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
6044 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
6046 libc_cv_asm_gnu_indirect_function
=no
6048 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
; then
6049 { { $as_echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
6050 $as_echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
6051 { (exit 1); exit 1; }; }
6055 { $as_echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
6056 $as_echo_n "checking for .symver assembler directive... " >&6; }
6057 if test "${libc_cv_asm_symver_directive+set}" = set; then
6058 $as_echo_n "(cached) " >&6
6060 cat > conftest.s
<<EOF
6063 .symver _sym,sym@VERS
6065 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6066 libc_cv_asm_symver_directive
=yes
6068 libc_cv_asm_symver_directive
=no
6072 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
6073 $as_echo "$libc_cv_asm_symver_directive" >&6; }
6074 { $as_echo "$as_me:$LINENO: checking for ld --version-script" >&5
6075 $as_echo_n "checking for ld --version-script... " >&6; }
6076 if test "${libc_cv_ld_version_script_option+set}" = set; then
6077 $as_echo_n "(cached) " >&6
6079 if test $libc_cv_asm_symver_directive = yes; then
6080 cat > conftest.s
<<EOF
6083 .symver _sym,sym@VERS
6085 cat > conftest.map
<<EOF
6094 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6095 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
6096 -o conftest.so conftest.o
6097 -nostartfiles -nostdlib
6098 -Wl,--version-script,conftest.map
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; };
6106 libc_cv_ld_version_script_option
=yes
6108 libc_cv_ld_version_script_option
=no
6111 libc_cv_ld_version_script_option
=no
6114 libc_cv_ld_version_script_option
=no
6118 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
6119 $as_echo "$libc_cv_ld_version_script_option" >&6; }
6120 if test $shared != no
&&
6121 test $libc_cv_asm_symver_directive = yes &&
6122 test $libc_cv_ld_version_script_option = yes &&
6123 test $enable_versioning = yes; then
6125 cat >>confdefs.h
<<\_ACEOF
6126 #define DO_VERSIONING 1
6134 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
6136 *** WARNING: You should not compile GNU libc without versioning. Not using
6137 *** versioning will introduce incompatibilities so that old binaries
6138 *** will not run anymore.
6139 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
6141 if test $elf = yes; then
6142 { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
6143 $as_echo_n "checking for .previous assembler directive... " >&6; }
6144 if test "${libc_cv_asm_previous_directive+set}" = set; then
6145 $as_echo_n "(cached) " >&6
6147 cat > conftest.s
<<EOF
6148 .section foo_section
6151 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; }; then
6157 libc_cv_asm_previous_directive
=yes
6159 libc_cv_asm_previous_directive
=no
6163 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
6164 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6165 if test $libc_cv_asm_previous_directive = yes; then
6166 cat >>confdefs.h
<<\_ACEOF
6167 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
6171 { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
6172 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6173 if test "${libc_cv_asm_popsection_directive+set}" = set; then
6174 $as_echo_n "(cached) " >&6
6176 cat > conftest.s
<<EOF
6177 .pushsection foo_section
6180 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; }; then
6186 libc_cv_asm_popsection_directive
=yes
6188 libc_cv_asm_popsection_directive
=no
6192 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
6193 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6194 if test $libc_cv_asm_popsection_directive = yes; then
6195 cat >>confdefs.h
<<\_ACEOF
6196 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6201 { $as_echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6202 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6203 if test "${libc_cv_asm_protected_directive+set}" = set; then
6204 $as_echo_n "(cached) " >&6
6206 cat > conftest.s
<<EOF
6212 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6218 libc_cv_asm_protected_directive
=yes
6220 { { $as_echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6221 $as_echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6222 { (exit 1); exit 1; }; }
6226 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6227 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6229 if test $libc_cv_asm_protected_directive = yes; then
6230 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6231 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6232 if test "${libc_cv_visibility_attribute+set}" = set; then
6233 $as_echo_n "(cached) " >&6
6235 cat > conftest.c
<<EOF
6236 int foo __attribute__ ((visibility ("hidden"))) = 1;
6237 int bar __attribute__ ((visibility ("protected"))) = 1;
6239 libc_cv_visibility_attribute
=no
6240 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); }; }; then
6246 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
6247 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
6248 libc_cv_visibility_attribute
=yes
6255 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6256 $as_echo "$libc_cv_visibility_attribute" >&6; }
6257 if test $libc_cv_visibility_attribute != yes; then
6258 { { $as_echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6259 $as_echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6260 { (exit 1); exit 1; }; }
6264 if test $libc_cv_visibility_attribute = yes; then
6265 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6266 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6267 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6268 $as_echo_n "(cached) " >&6
6270 cat > conftest.c
<<EOF
6272 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6273 int bar (int x) { return x; }
6275 libc_cv_broken_visibility_attribute
=yes
6276 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; }; then
6282 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
6283 libc_cv_broken_visibility_attribute
=no
6286 rm -f conftest.c conftest.s
6289 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6290 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6291 if test $libc_cv_broken_visibility_attribute = yes; then
6292 { { $as_echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6293 $as_echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6294 { (exit 1); exit 1; }; }
6298 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6299 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6300 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6301 $as_echo_n "(cached) " >&6
6303 cat > conftest.c
<<EOF
6304 extern int foo (int x) __asm ("xyzzy");
6305 int bar (int x) { return x; }
6306 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6308 extern __typeof (dfoo) dfoo __asm ("abccb");
6311 libc_cv_broken_alias_attribute
=yes
6312 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); }; }; then
6318 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6319 grep 'abccb' conftest.s
>/dev
/null
; then
6320 libc_cv_broken_alias_attribute
=no
6323 rm -f conftest.c conftest.s
6326 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6327 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6328 if test $libc_cv_broken_alias_attribute = yes; then
6329 { { $as_echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6330 $as_echo "$as_me: error: working alias attribute support required" >&2;}
6331 { (exit 1); exit 1; }; }
6334 if test $libc_cv_visibility_attribute = yes; then
6335 { $as_echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6336 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6337 if test "${libc_cv_have_sdata_section+set}" = set; then
6338 $as_echo_n "(cached) " >&6
6340 echo "int i;" > conftest.c
6341 libc_cv_have_sdata_section
=no
6342 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6343 |
grep '\.sdata' >/dev
/null
; then
6344 libc_cv_have_sdata_section
=yes
6346 rm -f conftest.c conftest.so
6349 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6350 $as_echo "$libc_cv_have_sdata_section" >&6; }
6351 if test $libc_cv_have_sdata_section = yes; then
6352 cat >>confdefs.h
<<\_ACEOF
6353 #define HAVE_SDATA_SECTION 1
6359 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6360 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6361 if test "${libc_cv_initfini_array+set}" = set; then
6362 $as_echo_n "(cached) " >&6
6364 cat > conftest.c
<<EOF
6365 int _start (void) { return 0; }
6366 int __start (void) { return 0; }
6367 int foo (void) { return 1; }
6368 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6370 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6371 -static -nostartfiles -nostdlib 1>&5'
6372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); }; }
6378 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6379 libc_cv_initfini_array
=yes
6381 libc_cv_initfini_array
=no
6384 libc_cv_initfini_array
=no
6388 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6389 $as_echo "$libc_cv_initfini_array" >&6; }
6390 if test $libc_cv_initfini_array != yes; then
6391 { { $as_echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6392 $as_echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6393 { (exit 1); exit 1; }; }
6396 { $as_echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6397 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6398 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6399 $as_echo_n "(cached) " >&6
6402 cat > conftest.c
<<EOF
6403 int main (void) { return 0; }
6405 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6406 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6407 libc_cv_cc_with_libunwind
=yes
6409 libc_cv_cc_with_libunwind
=no
6413 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6414 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6416 if test $libc_cv_cc_with_libunwind = yes; then
6417 cat >>confdefs.h
<<\_ACEOF
6418 #define HAVE_CC_WITH_LIBUNWIND 1
6423 { $as_echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6424 $as_echo_n "checking for -z nodelete option... " >&6; }
6425 if test "${libc_cv_z_nodelete+set}" = set; then
6426 $as_echo_n "(cached) " >&6
6428 cat > conftest.c
<<EOF
6429 int _start (void) { return 42; }
6431 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6432 -fPIC -shared -o conftest.so conftest.c
6433 -nostartfiles -nostdlib
6434 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6439 (exit $ac_status); }; }
6441 libc_cv_z_nodelete
=yes
6443 { { $as_echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6444 $as_echo "$as_me: error: linker with -z nodelete support required" >&2;}
6445 { (exit 1); exit 1; }; }
6449 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6450 $as_echo "$libc_cv_z_nodelete" >&6; }
6452 { $as_echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6453 $as_echo_n "checking for -z nodlopen option... " >&6; }
6454 if test "${libc_cv_z_nodlopen+set}" = set; then
6455 $as_echo_n "(cached) " >&6
6457 cat > conftest.c
<<EOF
6458 int _start (void) { return 42; }
6460 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6461 -fPIC -shared -o conftest.so conftest.c
6462 -nostartfiles -nostdlib
6463 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); }; }
6470 libc_cv_z_nodlopen
=yes
6472 { { $as_echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6473 $as_echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6474 { (exit 1); exit 1; }; }
6478 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6479 $as_echo "$libc_cv_z_nodlopen" >&6; }
6481 { $as_echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6482 $as_echo_n "checking for -z initfirst option... " >&6; }
6483 if test "${libc_cv_z_initfirst+set}" = set; then
6484 $as_echo_n "(cached) " >&6
6486 cat > conftest.c
<<EOF
6487 int _start (void) { return 42; }
6489 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6490 -fPIC -shared -o conftest.so conftest.c
6491 -nostartfiles -nostdlib
6492 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; }
6499 libc_cv_z_initfirst
=yes
6501 { { $as_echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6502 $as_echo "$as_me: error: linker with -z initfirst support required" >&2;}
6503 { (exit 1); exit 1; }; }
6507 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6508 $as_echo "$libc_cv_z_initfirst" >&6; }
6510 case "$base_machine" in
6511 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6512 { $as_echo "$as_me:$LINENO: checking for -z relro option" >&5
6513 $as_echo_n "checking for -z relro option... " >&6; }
6514 if test "${libc_cv_z_relro+set}" = set; then
6515 $as_echo_n "(cached) " >&6
6518 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); }; }
6525 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); }; }
6536 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6537 $as_echo "$libc_cv_z_relro" >&6; }
6538 if test "$libc_cv_z_relro" = no
; then
6539 { { $as_echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6540 $as_echo "$as_me: error: linker with -z relro support required" >&2;}
6541 { (exit 1); exit 1; }; }
6547 { $as_echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6548 $as_echo_n "checking for -Bgroup option... " >&6; }
6549 if test "${libc_cv_Bgroup+set}" = set; then
6550 $as_echo_n "(cached) " >&6
6552 cat > conftest.c
<<EOF
6553 int _start (void) { return 42; }
6555 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6556 -fPIC -shared -o conftest.so conftest.c
6557 -Wl,-Bgroup -nostdlib 1>&5'
6558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); }; }
6570 { $as_echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6571 $as_echo "$libc_cv_Bgroup" >&6; }
6574 { $as_echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6575 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6576 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6577 $as_echo_n "(cached) " >&6
6579 cat > conftest.c
<<EOF
6580 int main (void) { return 0; }
6582 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6583 -fPIC -shared -shared-libgcc -o conftest.so \
6584 conftest.c -v 2>&1 >/dev/null \
6585 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6588 { $as_echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6589 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6592 { $as_echo "$as_me:$LINENO: checking for --as-needed option" >&5
6593 $as_echo_n "checking for --as-needed option... " >&6; }
6594 if test "${libc_cv_as_needed+set}" = set; then
6595 $as_echo_n "(cached) " >&6
6597 cat > conftest.c
<<EOF
6598 int main (void) { return 0; }
6600 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6601 -fPIC -shared -o conftest.so conftest.c
6602 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }; }
6610 libc_cv_as_needed
=yes
6612 libc_cv_as_needed
=no
6616 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6617 $as_echo "$libc_cv_as_needed" >&6; }
6621 { $as_echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6622 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6623 if test "${libc_cv_as_noexecstack+set}" = set; then
6624 $as_echo_n "(cached) " >&6
6626 cat > conftest.c
<<EOF
6629 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6630 -S -o conftest.s conftest.c 1>&5'
6631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); }; } \
6636 && grep -q .note.GNU-stack conftest.s \
6637 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6638 -c -o conftest.o conftest.s 1>&5'
6639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); }; }
6645 libc_cv_as_noexecstack
=yes
6647 libc_cv_as_noexecstack
=no
6651 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6652 $as_echo "$libc_cv_as_noexecstack" >&6; }
6653 if test $libc_cv_as_noexecstack = yes; then
6654 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6658 { $as_echo "$as_me:$LINENO: checking for -z combreloc" >&5
6659 $as_echo_n "checking for -z combreloc... " >&6; }
6660 if test "${libc_cv_z_combreloc+set}" = set; then
6661 $as_echo_n "(cached) " >&6
6663 cat > conftest.c
<<EOF
6664 extern int bar (int);
6666 int foo (void) { return bar (mumble); }
6668 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6669 -fPIC -shared -o conftest.so conftest.c
6670 -nostdlib -nostartfiles
6671 -Wl,-z,combreloc 1>&5'
6672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); }; }
6678 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6679 libc_cv_z_combreloc
=yes
6681 libc_cv_z_combreloc
=no
6684 libc_cv_z_combreloc
=no
6688 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6689 $as_echo "$libc_cv_z_combreloc" >&6; }
6690 if test "$libc_cv_z_combreloc" = yes; then
6691 cat >>confdefs.h
<<\_ACEOF
6692 #define HAVE_Z_COMBRELOC 1
6698 { $as_echo "$as_me:$LINENO: checking for -z execstack" >&5
6699 $as_echo_n "checking for -z execstack... " >&6; }
6700 if test "${libc_cv_z_execstack+set}" = set; then
6701 $as_echo_n "(cached) " >&6
6703 cat > conftest.c
<<EOF
6704 int _start (void) { return 42; }
6706 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6707 -fPIC -shared -o conftest.so conftest.c
6708 -Wl,-z,execstack -nostdlib
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; }
6716 libc_cv_z_execstack
=yes
6718 libc_cv_z_execstack
=no
6722 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6723 $as_echo "$libc_cv_z_execstack" >&6; }
6726 { $as_echo "$as_me:$LINENO: checking for -fpie" >&5
6727 $as_echo_n "checking for -fpie... " >&6; }
6728 if test "${libc_cv_fpie+set}" = set; then
6729 $as_echo_n "(cached) " >&6
6731 cat > conftest.c
<<EOF
6733 main () { return 0;}
6735 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6736 -o conftest conftest.c 1>&5'
6737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); }; }
6749 { $as_echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6750 $as_echo "$libc_cv_fpie" >&6; }
6754 { $as_echo "$as_me:$LINENO: checking for --hash-style option" >&5
6755 $as_echo_n "checking for --hash-style option... " >&6; }
6756 if test "${libc_cv_hashstyle+set}" = set; then
6757 $as_echo_n "(cached) " >&6
6759 cat > conftest.c
<<EOF
6760 int _start (void) { return 42; }
6762 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6763 -fPIC -shared -o conftest.so conftest.c
6764 -Wl,--hash-style=both -nostdlib 1>&5'
6765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; }
6771 libc_cv_hashstyle
=yes
6773 libc_cv_hashstyle
=no
6777 { $as_echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6778 $as_echo "$libc_cv_hashstyle" >&6; }
6782 { $as_echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6783 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6784 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6785 $as_echo_n "(cached) " >&6
6787 cat > conftest.c
<<EOF
6790 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); }; }
6798 libc_cv_fno_toplevel_reorder
=yes
6800 libc_cv_fno_toplevel_reorder
=no
6804 { $as_echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6805 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6806 if test $libc_cv_fno_toplevel_reorder = yes; then
6807 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6809 fno_unit_at_a_time
=-fno-unit-at-a-time
6813 { $as_echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6814 $as_echo_n "checking for -fstack-protector... " >&6; }
6815 if test "${libc_cv_ssp+set}" = set; then
6816 $as_echo_n "(cached) " >&6
6818 cat > conftest.c
<<EOF
6820 main () { return 0;}
6822 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6823 -o conftest conftest.c 1>&5'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; }
6836 { $as_echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6837 $as_echo "$libc_cv_ssp" >&6; }
6840 { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6841 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6842 if test "${libc_cv_gnu89_inline+set}" = set; then
6843 $as_echo_n "(cached) " >&6
6845 cat > conftest.c
<<EOF
6847 #ifdef __GNUC_GNU_INLINE__
6848 main () { return 0;}
6853 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6854 -o conftest.s conftest.c 1>&5'
6855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); }; }
6861 libc_cv_gnu89_inline
=yes
6863 libc_cv_gnu89_inline
=no
6867 { $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6868 $as_echo "$libc_cv_gnu89_inline" >&6; }
6869 if test $libc_cv_gnu89_inline = yes; then
6870 libc_cv_gnu89_inline
=-fgnu89-inline
6872 libc_cv_gnu89_inline
=
6876 if test $elf != yes; then
6877 { $as_echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6878 $as_echo_n "checking for .init and .fini sections... " >&6; }
6879 if test "${libc_cv_have_initfini+set}" = set; then
6880 $as_echo_n "(cached) " >&6
6882 cat >conftest.
$ac_ext <<_ACEOF
6885 cat confdefs.h
>>conftest.
$ac_ext
6886 cat >>conftest.
$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6892 asm (".section .init");
6893 asm (".section .fini");
6894 asm ("${libc_cv_dot_text}");
6899 rm -f conftest.
$ac_objext
6900 if { (ac_try
="$ac_compile"
6902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6903 *) ac_try_echo=$ac_try;;
6905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6906 $as_echo "$ac_try_echo") >&5
6907 (eval "$ac_compile") 2>conftest.er1
6909 grep -v '^ *+' conftest.er1 >conftest.err
6911 cat conftest.err >&5
6912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } && {
6914 test -z "$ac_c_werror_flag" ||
6915 test ! -s conftest.err
6916 } && test -s conftest.$ac_objext; then
6917 libc_cv_have_initfini=yes
6919 $as_echo "$as_me: failed program was:" >&5
6920 sed 's/^/| /' conftest.$ac_ext >&5
6922 libc_cv_have_initfini=no
6925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6927 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6928 $as_echo "$libc_cv_have_initfini" >&6; }
6929 if test $libc_cv_have_initfini = yes; then
6930 cat >>confdefs.h <<\_ACEOF
6931 #define HAVE_INITFINI 1
6937 if test $elf = yes; then
6938 { $as_echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6939 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6940 if test "${libc_cv_have_section_quotes+set}" = set; then
6941 $as_echo_n "(cached) " >&6
6943 cat > conftest.c <<EOF
6944 static const int foo
6945 __attribute__ ((section ("bar"))) = 1;
6947 if ${CC-cc} -S conftest.c -o conftest.s; then
6948 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6949 libc_cv_have_section_quotes=yes
6951 libc_cv_have_section_quotes=no
6954 libc_cv_have_section_quotes=unknown
6959 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6960 $as_echo "$libc_cv_have_section_quotes" >&6; }
6961 if test $libc_cv_have_section_quotes = yes; then
6962 cat >>confdefs.h <<\_ACEOF
6963 #define HAVE_SECTION_QUOTES 1
6971 if test $elf = yes; then
6972 libc_cv_asm_underscores=no
6974 if test $ac_cv_prog_cc_works = yes; then
6975 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6976 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
6977 if test "${libc_cv_asm_underscores+set}" = set; then
6978 $as_echo_n "(cached) " >&6
6980 cat >conftest.$ac_ext <<_ACEOF
6983 cat confdefs.h >>conftest.$ac_ext
6984 cat >>conftest.$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6986 asm ("_glibc_foobar:");
6995 rm -f conftest.$ac_objext conftest$ac_exeext
6996 if { (ac_try="$ac_link"
6998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6999 *) ac_try_echo
=$ac_try;;
7001 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7002 $as_echo "$ac_try_echo") >&5
7003 (eval "$ac_link") 2>conftest.er1
7005 grep -v '^ *+' conftest.er1
>conftest.err
7007 cat conftest.err
>&5
7008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } && {
7010 test -z "$ac_c_werror_flag" ||
7011 test ! -s conftest.err
7012 } && test -s conftest
$ac_exeext && {
7013 test "$cross_compiling" = yes ||
7014 $as_test_x conftest
$ac_exeext
7016 libc_cv_asm_underscores
=yes
7018 $as_echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.
$ac_ext >&5
7021 libc_cv_asm_underscores
=no
7024 rm -rf conftest.dSYM
7025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7026 conftest
$ac_exeext conftest.
$ac_ext
7028 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7029 $as_echo "$libc_cv_asm_underscores" >&6; }
7031 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7032 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7033 if test "${libc_cv_asm_underscores+set}" = set; then
7034 $as_echo_n "(cached) " >&6
7036 cat > conftest.
$ac_ext <<EOF
7037 #line $LINENO "configure"
7038 #include "confdefs.h"
7039 void underscore_test(void) {
7042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7043 (eval $ac_compile) 2>&5
7045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; then
7047 if grep _underscore_test conftest
* >/dev
/null
; then
7049 libc_cv_asm_underscores
=yes
7052 libc_cv_asm_underscores
=no
7055 echo "configure: failed program was:" >&5
7056 cat conftest.
$ac_ext >&5
7058 libc_cv_asm_underscores
=no
7062 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7063 $as_echo "$libc_cv_asm_underscores" >&6; }
7066 if test $libc_cv_asm_underscores = no
; then
7067 cat >>confdefs.h
<<\_ACEOF
7068 #define NO_UNDERSCORES 1
7073 if test $elf = yes; then
7074 libc_cv_weak_symbols
=yes
7077 { $as_echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
7078 $as_echo_n "checking for assembler .weak directive... " >&6; }
7079 if test "${libc_cv_asm_weak_directive+set}" = set; then
7080 $as_echo_n "(cached) " >&6
7082 cat > conftest.s
<<EOF
7084 ${libc_cv_asm_global_directive} foo
7087 .weak bar; bar = foo
7089 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); }; }; then
7095 libc_cv_asm_weak_directive
=yes
7097 libc_cv_asm_weak_directive
=no
7101 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
7102 $as_echo "$libc_cv_asm_weak_directive" >&6; }
7104 if test $libc_cv_asm_weak_directive = no
; then
7105 { $as_echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
7106 $as_echo_n "checking for assembler .weakext directive... " >&6; }
7107 if test "${libc_cv_asm_weakext_directive+set}" = set; then
7108 $as_echo_n "(cached) " >&6
7110 cat > conftest.s
<<EOF
7112 ${libc_cv_asm_global_directive} foo
7116 ${libc_cv_asm_global_directive} baz
7119 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); }; }; then
7125 libc_cv_asm_weakext_directive
=yes
7127 libc_cv_asm_weakext_directive
=no
7131 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
7132 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
7136 if test $libc_cv_asm_weak_directive = yes; then
7137 cat >>confdefs.h
<<\_ACEOF
7138 #define HAVE_ASM_WEAK_DIRECTIVE 1
7141 elif test $libc_cv_asm_weakext_directive = yes; then
7142 cat >>confdefs.h
<<\_ACEOF
7143 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
7148 { $as_echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
7149 $as_echo_n "checking whether CFI directives are supported... " >&6; }
7150 if test "${libc_cv_asm_cfi_directives+set}" = set; then
7151 $as_echo_n "(cached) " >&6
7154 sparc
/sparc64
*) cfi_offset
=2047;;
7157 cat > conftest.s
<<EOF
7159 .type func,%function
7163 .cfi_rel_offset 1, $cfi_offset
7166 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); }; }; then
7172 libc_cv_asm_cfi_directives
=yes
7174 libc_cv_asm_cfi_directives
=no
7178 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
7179 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
7180 if test $libc_cv_asm_cfi_directives = yes; then
7181 cat >>confdefs.h
<<\_ACEOF
7182 #define HAVE_ASM_CFI_DIRECTIVES 1
7187 { $as_echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
7188 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
7189 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
7190 $as_echo_n "(cached) " >&6
7192 cat > conftest.c
<<\EOF
7197 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7198 -nostdlib -nostartfiles -Wl,--no-whole-archive
7199 -o conftest conftest.c 1>&5'
7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); }; }; then
7205 libc_cv_ld_no_whole_archive
=yes
7207 libc_cv_ld_no_whole_archive
=no
7211 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7212 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
7213 if test $libc_cv_ld_no_whole_archive = yes; then
7214 no_whole_archive
=-Wl,--no-whole-archive
7217 { $as_echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7218 $as_echo_n "checking for gcc -fexceptions... " >&6; }
7219 if test "${libc_cv_gcc_exceptions+set}" = set; then
7220 $as_echo_n "(cached) " >&6
7222 cat > conftest.c
<<\EOF
7227 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7228 -nostdlib -nostartfiles -fexceptions
7229 -o conftest conftest.c 1>&5'
7230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); }; }; then
7235 libc_cv_gcc_exceptions
=yes
7237 libc_cv_gcc_exceptions
=no
7241 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7242 $as_echo "$libc_cv_gcc_exceptions" >&6; }
7243 if test $libc_cv_gcc_exceptions = yes; then
7244 exceptions
=-fexceptions
7247 if test "$host_cpu" = powerpc
; then
7248 # Check for a bug present in at least versions 2.8.x of GCC
7249 # and versions 1.0.x of EGCS.
7250 { $as_echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7251 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7252 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7253 $as_echo_n "(cached) " >&6
7255 cat >conftest.
$ac_ext <<_ACEOF
7258 cat confdefs.h
>>conftest.
$ac_ext
7259 cat >>conftest.
$ac_ext <<_ACEOF
7260 /* end confdefs.h. */
7261 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7270 rm -f conftest.
$ac_objext
7271 if { (ac_try
="$ac_compile"
7273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7274 *) ac_try_echo=$ac_try;;
7276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7277 $as_echo "$ac_try_echo") >&5
7278 (eval "$ac_compile") 2>conftest.er1
7280 grep -v '^ *+' conftest.er1 >conftest.err
7282 cat conftest.err >&5
7283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } && {
7285 test -z "$ac_c_werror_flag" ||
7286 test ! -s conftest.err
7287 } && test -s conftest.$ac_objext; then
7288 libc_cv_c_asmcr0_bug='no'
7290 $as_echo "$as_me: failed program was:" >&5
7291 sed 's/^/| /' conftest.$ac_ext >&5
7293 libc_cv_c_asmcr0_bug='yes'
7296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7298 { $as_echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7299 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7300 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7301 cat >>confdefs.h <<\_ACEOF
7302 #define BROKEN_PPC_ASM_CR0 1
7308 { $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7309 $as_echo_n "checking for __builtin_expect... " >&6; }
7310 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7311 $as_echo_n "(cached) " >&6
7313 cat > conftest.c <<EOF
7314 #line $LINENO "configure"
7317 a = __builtin_expect (a, 10);
7318 return a == 10 ? 0 : 1;
7321 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7322 -o conftest conftest.c -lgcc >&5'
7323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); }; }; then
7328 libc_cv_gcc_builtin_expect=yes
7330 libc_cv_gcc_builtin_expect=no
7334 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7335 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7336 if test "$libc_cv_gcc_builtin_expect" = yes; then
7337 cat >>confdefs.h <<\_ACEOF
7338 #define HAVE_BUILTIN_EXPECT 1
7343 { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7344 $as_echo_n "checking for __builtin_memset... " >&6; }
7345 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7346 $as_echo_n "(cached) " >&6
7348 cat > conftest.c <<\EOF
7351 __builtin_memset (x, 0, 1000);
7354 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); }; };
7361 libc_cv_gcc_builtin_memset=no
7363 libc_cv_gcc_builtin_memset=yes
7367 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7368 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
7369 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7370 cat >>confdefs.h <<\_ACEOF
7371 #define HAVE_BUILTIN_MEMSET 1
7376 { $as_echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7377 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7378 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7379 $as_echo_n "(cached) " >&6
7381 cat > conftest.c <<\EOF
7382 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7383 char *foo (const char *a, const char *b)
7385 return __builtin_strstr (a, b);
7388 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); }; };
7395 libc_cv_gcc_builtin_redirection=yes
7397 libc_cv_gcc_builtin_redirection=no
7401 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7402 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7403 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7404 cat >>confdefs.h <<\_ACEOF
7405 #define HAVE_BUILTIN_REDIRECTION 1
7410 if test "x$use__thread" != xno; then
7411 { $as_echo "$as_me:$LINENO: checking for __thread" >&5
7412 $as_echo_n "checking for __thread... " >&6; }
7413 if test "${libc_cv_gcc___thread+set}" = set; then
7414 $as_echo_n "(cached) " >&6
7416 cat > conftest.c <<\EOF
7417 __thread int a = 42;
7419 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); }; }; then
7425 libc_cv_gcc___thread=yes
7427 libc_cv_gcc___thread=no
7431 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7432 $as_echo "$libc_cv_gcc___thread" >&6; }
7433 if test "$libc_cv_gcc___thread" = yes; then
7434 cat >>confdefs.h <<\_ACEOF
7435 #define HAVE___THREAD 1
7440 libc_cv_gcc___thread=no
7443 if test "$libc_cv_gcc___thread" = yes; then
7444 { $as_echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7445 $as_echo_n "checking for tls_model attribute... " >&6; }
7446 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7447 $as_echo_n "(cached) " >&6
7449 cat > conftest.c <<\EOF
7450 extern __thread int a __attribute__((tls_model ("initial-exec")));
7452 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); }; }; then
7458 libc_cv_gcc_tls_model_attr=yes
7460 libc_cv_gcc_tls_model_attr=no
7464 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7465 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7466 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7467 cat >>confdefs.h <<\_ACEOF
7468 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7474 if test -n "$submachine"; then
7475 { $as_echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7476 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7477 if test "${libc_cv_cc_submachine+set}" = set; then
7478 $as_echo_n "(cached) " >&6
7480 libc_cv_cc_submachine=no
7481 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7482 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; }; then
7488 libc_cv_cc_submachine="$opt"
7493 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7494 $as_echo "$libc_cv_cc_submachine" >&6; }
7495 if test "x$libc_cv_cc_submachine" = xno; then
7496 { { $as_echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7497 $as_echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7498 { (exit 1); exit 1; }; }
7503 { $as_echo "$as_me:$LINENO: checking for libgd" >&5
7504 $as_echo_n "checking for libgd... " >&6; }
7505 if test "$with_gd" != "no"; then
7506 old_CFLAGS="$CFLAGS"
7507 CFLAGS="$CFLAGS $libgd_include"
7508 old_LDFLAGS="$LDFLAGS"
7509 LDFLAGS="$LDFLAGS $libgd_ldflags"
7511 LIBS="$LIBS -lgd -lpng -lz -lm"
7512 cat >conftest.$ac_ext <<_ACEOF
7515 cat confdefs.h >>conftest.$ac_ext
7516 cat >>conftest.$ac_ext <<_ACEOF
7517 /* end confdefs.h. */
7527 rm -f conftest.$ac_objext conftest$ac_exeext
7528 if { (ac_try="$ac_link"
7530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7531 *) ac_try_echo
=$ac_try;;
7533 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7534 $as_echo "$ac_try_echo") >&5
7535 (eval "$ac_link") 2>conftest.er1
7537 grep -v '^ *+' conftest.er1
>conftest.err
7539 cat conftest.err
>&5
7540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541 (exit $ac_status); } && {
7542 test -z "$ac_c_werror_flag" ||
7543 test ! -s conftest.err
7544 } && test -s conftest
$ac_exeext && {
7545 test "$cross_compiling" = yes ||
7546 $as_test_x conftest
$ac_exeext
7550 $as_echo "$as_me: failed program was:" >&5
7551 sed 's/^/| /' conftest.
$ac_ext >&5
7556 rm -rf conftest.dSYM
7557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7558 conftest
$ac_exeext conftest.
$ac_ext
7559 CFLAGS
="$old_CFLAGS"
7560 LDFLAGS
="$old_LDFLAGS"
7565 { $as_echo "$as_me:$LINENO: result: $LIBGD" >&5
7566 $as_echo "$LIBGD" >&6; }
7570 if test x
$with_selinux = xno
; then
7573 # See if we have the SELinux library
7574 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7575 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7576 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7577 $as_echo_n "(cached) " >&6
7579 ac_check_lib_save_LIBS
=$LIBS
7580 LIBS
="-lselinux $LIBS"
7581 cat >conftest.
$ac_ext <<_ACEOF
7584 cat confdefs.h
>>conftest.
$ac_ext
7585 cat >>conftest.
$ac_ext <<_ACEOF
7586 /* end confdefs.h. */
7588 /* Override any GCC internal prototype to avoid an error.
7589 Use char because int might match the return type of a GCC
7590 builtin and then its argument prototype would still apply. */
7594 char is_selinux_enabled ();
7598 return is_selinux_enabled ();
7603 rm -f conftest.
$ac_objext conftest
$ac_exeext
7604 if { (ac_try
="$ac_link"
7606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7607 *) ac_try_echo=$ac_try;;
7609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7610 $as_echo "$ac_try_echo") >&5
7611 (eval "$ac_link") 2>conftest.er1
7613 grep -v '^ *+' conftest.er1 >conftest.err
7615 cat conftest.err >&5
7616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); } && {
7618 test -z "$ac_c_werror_flag" ||
7619 test ! -s conftest.err
7620 } && test -s conftest$ac_exeext && {
7621 test "$cross_compiling" = yes ||
7622 $as_test_x conftest$ac_exeext
7624 ac_cv_lib_selinux_is_selinux_enabled=yes
7626 $as_echo "$as_me: failed program was:" >&5
7627 sed 's/^/| /' conftest.$ac_ext >&5
7629 ac_cv_lib_selinux_is_selinux_enabled=no
7632 rm -rf conftest.dSYM
7633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7634 conftest$ac_exeext conftest.$ac_ext
7635 LIBS=$ac_check_lib_save_LIBS
7637 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7638 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7639 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
7645 # See if we have the SELinux header with the NSCD permissions in it.
7646 if test x$have_selinux = xyes ; then
7647 { $as_echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7648 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7649 cat >conftest.$ac_ext <<_ACEOF
7652 cat confdefs.h >>conftest.$ac_ext
7653 cat >>conftest.$ac_ext <<_ACEOF
7654 /* end confdefs.h. */
7655 #include <selinux/av_permissions.h>
7659 #ifdef NSCD__SHMEMHOST
7662 #error NSCD__SHMEMHOST not defined
7668 rm -f conftest.$ac_objext
7669 if { (ac_try="$ac_compile"
7671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7672 *) ac_try_echo
=$ac_try;;
7674 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7675 $as_echo "$ac_try_echo") >&5
7676 (eval "$ac_compile") 2>conftest.er1
7678 grep -v '^ *+' conftest.er1
>conftest.err
7680 cat conftest.err
>&5
7681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } && {
7683 test -z "$ac_c_werror_flag" ||
7684 test ! -s conftest.err
7685 } && test -s conftest.
$ac_objext; then
7688 $as_echo "$as_me: failed program was:" >&5
7689 sed 's/^/| /' conftest.
$ac_ext >&5
7694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7695 { $as_echo "$as_me:$LINENO: result: $have_selinux" >&5
7696 $as_echo "$have_selinux" >&6; }
7699 if test x
$with_selinux = xyes
; then
7700 if test x
$have_selinux = xno
; then
7701 { { $as_echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7702 $as_echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7703 { (exit 1); exit 1; }; }
7707 # Check if we're building with SELinux support.
7708 if test "x$have_selinux" = xyes
; then
7710 cat >>confdefs.h
<<\_ACEOF
7711 #define HAVE_SELINUX 1
7715 # See if we have the libaudit library
7716 { $as_echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7717 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7718 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7719 $as_echo_n "(cached) " >&6
7721 ac_check_lib_save_LIBS
=$LIBS
7722 LIBS
="-laudit $LIBS"
7723 cat >conftest.
$ac_ext <<_ACEOF
7726 cat confdefs.h
>>conftest.
$ac_ext
7727 cat >>conftest.
$ac_ext <<_ACEOF
7728 /* end confdefs.h. */
7730 /* Override any GCC internal prototype to avoid an error.
7731 Use char because int might match the return type of a GCC
7732 builtin and then its argument prototype would still apply. */
7736 char audit_log_user_avc_message ();
7740 return audit_log_user_avc_message ();
7745 rm -f conftest.
$ac_objext conftest
$ac_exeext
7746 if { (ac_try
="$ac_link"
7748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7749 *) ac_try_echo=$ac_try;;
7751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7752 $as_echo "$ac_try_echo") >&5
7753 (eval "$ac_link") 2>conftest.er1
7755 grep -v '^ *+' conftest.er1 >conftest.err
7757 cat conftest.err >&5
7758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); } && {
7760 test -z "$ac_c_werror_flag" ||
7761 test ! -s conftest.err
7762 } && test -s conftest$ac_exeext && {
7763 test "$cross_compiling" = yes ||
7764 $as_test_x conftest$ac_exeext
7766 ac_cv_lib_audit_audit_log_user_avc_message=yes
7768 $as_echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.$ac_ext >&5
7771 ac_cv_lib_audit_audit_log_user_avc_message=no
7774 rm -rf conftest.dSYM
7775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7776 conftest$ac_exeext conftest.$ac_ext
7777 LIBS=$ac_check_lib_save_LIBS
7779 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7780 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7781 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then
7787 if test "x$have_libaudit" = xyes; then
7789 cat >>confdefs.h <<\_ACEOF
7790 #define HAVE_LIBAUDIT 1
7796 # See if we have the libcap library
7797 { $as_echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7798 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7799 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7800 $as_echo_n "(cached) " >&6
7802 ac_check_lib_save_LIBS=$LIBS
7804 cat >conftest.$ac_ext <<_ACEOF
7807 cat confdefs.h >>conftest.$ac_ext
7808 cat >>conftest.$ac_ext <<_ACEOF
7809 /* end confdefs.h. */
7811 /* Override any GCC internal prototype to avoid an error.
7812 Use char because int might match the return type of a GCC
7813 builtin and then its argument prototype would still apply. */
7826 rm -f conftest.$ac_objext conftest$ac_exeext
7827 if { (ac_try="$ac_link"
7829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7830 *) ac_try_echo
=$ac_try;;
7832 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7833 $as_echo "$ac_try_echo") >&5
7834 (eval "$ac_link") 2>conftest.er1
7836 grep -v '^ *+' conftest.er1
>conftest.err
7838 cat conftest.err
>&5
7839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); } && {
7841 test -z "$ac_c_werror_flag" ||
7842 test ! -s conftest.err
7843 } && test -s conftest
$ac_exeext && {
7844 test "$cross_compiling" = yes ||
7845 $as_test_x conftest
$ac_exeext
7847 ac_cv_lib_cap_cap_init
=yes
7849 $as_echo "$as_me: failed program was:" >&5
7850 sed 's/^/| /' conftest.
$ac_ext >&5
7852 ac_cv_lib_cap_cap_init
=no
7855 rm -rf conftest.dSYM
7856 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7857 conftest
$ac_exeext conftest.
$ac_ext
7858 LIBS
=$ac_check_lib_save_LIBS
7860 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7861 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7862 if test "x$ac_cv_lib_cap_cap_init" = x
""yes; then
7868 if test "x$have_libcap" = xyes
; then
7870 cat >>confdefs.h
<<\_ACEOF
7871 #define HAVE_LIBCAP 1
7880 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7881 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7882 if test "${ac_cv_path_GREP+set}" = set; then
7883 $as_echo_n "(cached) " >&6
7885 if test -z "$GREP"; then
7886 ac_path_GREP_found
=false
7887 # Loop through the user's path and test for each of PROGNAME-LIST
7888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7889 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7892 test -z "$as_dir" && as_dir
=.
7893 for ac_prog
in grep ggrep
; do
7894 for ac_exec_ext
in '' $ac_executable_extensions; do
7895 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7896 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7897 # Check for GNU ac_path_GREP and select it if it is found.
7898 # Check for GNU $ac_path_GREP
7899 case `"$ac_path_GREP" --version 2>&1` in
7901 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7904 $as_echo_n 0123456789 >"conftest.in"
7907 cat "conftest.in" "conftest.in" >"conftest.tmp"
7908 mv "conftest.tmp" "conftest.in"
7909 cp "conftest.in" "conftest.nl"
7910 $as_echo 'GREP' >> "conftest.nl"
7911 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7912 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7913 ac_count
=`expr $ac_count + 1`
7914 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7915 # Best one so far, save it but keep looking for a better one
7916 ac_cv_path_GREP
="$ac_path_GREP"
7917 ac_path_GREP_max
=$ac_count
7919 # 10*(2^10) chars as input seems more than enough
7920 test $ac_count -gt 10 && break
7922 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7925 $ac_path_GREP_found && break 3
7930 if test -z "$ac_cv_path_GREP"; then
7931 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7932 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7933 { (exit 1); exit 1; }; }
7936 ac_cv_path_GREP
=$GREP
7940 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7941 $as_echo "$ac_cv_path_GREP" >&6; }
7942 GREP
="$ac_cv_path_GREP"
7945 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
7946 $as_echo_n "checking for egrep... " >&6; }
7947 if test "${ac_cv_path_EGREP+set}" = set; then
7948 $as_echo_n "(cached) " >&6
7950 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7951 then ac_cv_path_EGREP
="$GREP -E"
7953 if test -z "$EGREP"; then
7954 ac_path_EGREP_found
=false
7955 # Loop through the user's path and test for each of PROGNAME-LIST
7956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7957 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7960 test -z "$as_dir" && as_dir
=.
7961 for ac_prog
in egrep; do
7962 for ac_exec_ext
in '' $ac_executable_extensions; do
7963 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7964 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7965 # Check for GNU ac_path_EGREP and select it if it is found.
7966 # Check for GNU $ac_path_EGREP
7967 case `"$ac_path_EGREP" --version 2>&1` in
7969 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7972 $as_echo_n 0123456789 >"conftest.in"
7975 cat "conftest.in" "conftest.in" >"conftest.tmp"
7976 mv "conftest.tmp" "conftest.in"
7977 cp "conftest.in" "conftest.nl"
7978 $as_echo 'EGREP' >> "conftest.nl"
7979 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7980 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7981 ac_count
=`expr $ac_count + 1`
7982 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7983 # Best one so far, save it but keep looking for a better one
7984 ac_cv_path_EGREP
="$ac_path_EGREP"
7985 ac_path_EGREP_max
=$ac_count
7987 # 10*(2^10) chars as input seems more than enough
7988 test $ac_count -gt 10 && break
7990 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7993 $ac_path_EGREP_found && break 3
7998 if test -z "$ac_cv_path_EGREP"; then
7999 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8000 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8001 { (exit 1); exit 1; }; }
8004 ac_cv_path_EGREP
=$EGREP
8009 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8010 $as_echo "$ac_cv_path_EGREP" >&6; }
8011 EGREP
="$ac_cv_path_EGREP"
8014 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8015 $as_echo_n "checking for ANSI C header files... " >&6; }
8016 if test "${ac_cv_header_stdc+set}" = set; then
8017 $as_echo_n "(cached) " >&6
8019 cat >conftest.
$ac_ext <<_ACEOF
8022 cat confdefs.h
>>conftest.
$ac_ext
8023 cat >>conftest.
$ac_ext <<_ACEOF
8024 /* end confdefs.h. */
8038 rm -f conftest.
$ac_objext
8039 if { (ac_try
="$ac_compile"
8041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8042 *) ac_try_echo=$ac_try;;
8044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8045 $as_echo "$ac_try_echo") >&5
8046 (eval "$ac_compile") 2>conftest.er1
8048 grep -v '^ *+' conftest.er1 >conftest.err
8050 cat conftest.err >&5
8051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); } && {
8053 test -z "$ac_c_werror_flag" ||
8054 test ! -s conftest.err
8055 } && test -s conftest.$ac_objext; then
8056 ac_cv_header_stdc=yes
8058 $as_echo "$as_me: failed program was:" >&5
8059 sed 's/^/| /' conftest.$ac_ext >&5
8061 ac_cv_header_stdc=no
8064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8066 if test $ac_cv_header_stdc = yes; then
8067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8068 cat >conftest.$ac_ext <<_ACEOF
8071 cat confdefs.h >>conftest.$ac_ext
8072 cat >>conftest.$ac_ext <<_ACEOF
8073 /* end confdefs.h. */
8077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8078 $EGREP "memchr" >/dev/null 2>&1; then
8081 ac_cv_header_stdc=no
8087 if test $ac_cv_header_stdc = yes; then
8088 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8089 cat >conftest.$ac_ext <<_ACEOF
8092 cat confdefs.h >>conftest.$ac_ext
8093 cat >>conftest.$ac_ext <<_ACEOF
8094 /* end confdefs.h. */
8098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8099 $EGREP "free" >/dev/null 2>&1; then
8102 ac_cv_header_stdc=no
8108 if test $ac_cv_header_stdc = yes; then
8109 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8110 if test "$cross_compiling" = yes; then
8113 cat >conftest.$ac_ext <<_ACEOF
8116 cat confdefs.h >>conftest.$ac_ext
8117 cat >>conftest.$ac_ext <<_ACEOF
8118 /* end confdefs.h. */
8121 #if ((' ' & 0x0FF) == 0x020)
8122 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8123 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8125 # define ISLOWER(c) \
8126 (('a' <= (c) && (c) <= 'i') \
8127 || ('j' <= (c) && (c) <= 'r') \
8128 || ('s' <= (c) && (c) <= 'z'))
8129 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8132 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8137 for (i = 0; i < 256; i++)
8138 if (XOR (islower (i), ISLOWER (i))
8139 || toupper (i) != TOUPPER (i))
8144 rm -f conftest$ac_exeext
8145 if { (ac_try="$ac_link"
8147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8148 *) ac_try_echo
=$ac_try;;
8150 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8151 $as_echo "$ac_try_echo") >&5
8152 (eval "$ac_link") 2>&5
8154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8156 { (case "(($ac_try" in
8157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8158 *) ac_try_echo=$ac_try;;
8160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8161 $as_echo "$ac_try_echo") >&5
8162 (eval "$ac_try") 2>&5
8164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8168 $as_echo "$as_me: program exited with status $ac_status" >&5
8169 $as_echo "$as_me: failed program was:" >&5
8170 sed 's/^/| /' conftest.$ac_ext >&5
8173 ac_cv_header_stdc=no
8175 rm -rf conftest.dSYM
8176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8182 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8183 $as_echo "$ac_cv_header_stdc" >&6; }
8184 if test $ac_cv_header_stdc = yes; then
8186 cat >>confdefs.h <<\_ACEOF
8187 #define STDC_HEADERS 1
8192 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8202 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8203 inttypes.h stdint.h unistd.h
8205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8206 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8207 $as_echo_n "checking for $ac_header... " >&6; }
8208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8209 $as_echo_n "(cached) " >&6
8211 cat >conftest.$ac_ext <<_ACEOF
8214 cat confdefs.h >>conftest.$ac_ext
8215 cat >>conftest.$ac_ext <<_ACEOF
8216 /* end confdefs.h. */
8217 $ac_includes_default
8219 #include <$ac_header>
8221 rm -f conftest.$ac_objext
8222 if { (ac_try="$ac_compile"
8224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8225 *) ac_try_echo
=$ac_try;;
8227 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8228 $as_echo "$ac_try_echo") >&5
8229 (eval "$ac_compile") 2>conftest.er1
8231 grep -v '^ *+' conftest.er1
>conftest.err
8233 cat conftest.err
>&5
8234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } && {
8236 test -z "$ac_c_werror_flag" ||
8237 test ! -s conftest.err
8238 } && test -s conftest.
$ac_objext; then
8239 eval "$as_ac_Header=yes"
8241 $as_echo "$as_me: failed program was:" >&5
8242 sed 's/^/| /' conftest.
$ac_ext >&5
8244 eval "$as_ac_Header=no"
8247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8249 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8250 $as_echo "$as_val"'`
8251 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8252 $as_echo "$ac_res" >&6; }
8253 as_val
=`eval 'as_val=${'$as_ac_Header'}
8254 $as_echo "$as_val"'`
8255 if test "x$as_val" = x
""yes; then
8256 cat >>confdefs.h
<<_ACEOF
8257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8265 # The cast to long int works around a bug in the HP C Compiler
8266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8268 # This bug is HP SR number 8606223364.
8269 { $as_echo "$as_me:$LINENO: checking size of long double" >&5
8270 $as_echo_n "checking size of long double... " >&6; }
8271 if test "${ac_cv_sizeof_long_double+set}" = set; then
8272 $as_echo_n "(cached) " >&6
8274 if test "$cross_compiling" = yes; then
8275 # Depending upon the size, compute the lo and hi bounds.
8276 cat >conftest.
$ac_ext <<_ACEOF
8279 cat confdefs.h
>>conftest.
$ac_ext
8280 cat >>conftest.
$ac_ext <<_ACEOF
8281 /* end confdefs.h. */
8282 $ac_includes_default
8286 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= 0)];
8293 rm -f conftest.
$ac_objext
8294 if { (ac_try
="$ac_compile"
8296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8297 *) ac_try_echo=$ac_try;;
8299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8300 $as_echo "$ac_try_echo") >&5
8301 (eval "$ac_compile") 2>conftest.er1
8303 grep -v '^ *+' conftest.er1 >conftest.err
8305 cat conftest.err >&5
8306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 (exit $ac_status); } && {
8308 test -z "$ac_c_werror_flag" ||
8309 test ! -s conftest.err
8310 } && test -s conftest.$ac_objext; then
8313 cat >conftest.$ac_ext <<_ACEOF
8316 cat confdefs.h >>conftest.$ac_ext
8317 cat >>conftest.$ac_ext <<_ACEOF
8318 /* end confdefs.h. */
8319 $ac_includes_default
8323 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8330 rm -f conftest.$ac_objext
8331 if { (ac_try="$ac_compile"
8333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8334 *) ac_try_echo
=$ac_try;;
8336 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8337 $as_echo "$ac_try_echo") >&5
8338 (eval "$ac_compile") 2>conftest.er1
8340 grep -v '^ *+' conftest.er1
>conftest.err
8342 cat conftest.err
>&5
8343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); } && {
8345 test -z "$ac_c_werror_flag" ||
8346 test ! -s conftest.err
8347 } && test -s conftest.
$ac_objext; then
8348 ac_hi
=$ac_mid; break
8350 $as_echo "$as_me: failed program was:" >&5
8351 sed 's/^/| /' conftest.
$ac_ext >&5
8353 ac_lo
=`expr $ac_mid + 1`
8354 if test $ac_lo -le $ac_mid; then
8358 ac_mid
=`expr 2 '*' $ac_mid + 1`
8361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8364 $as_echo "$as_me: failed program was:" >&5
8365 sed 's/^/| /' conftest.
$ac_ext >&5
8367 cat >conftest.
$ac_ext <<_ACEOF
8370 cat confdefs.h
>>conftest.
$ac_ext
8371 cat >>conftest.
$ac_ext <<_ACEOF
8372 /* end confdefs.h. */
8373 $ac_includes_default
8377 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) < 0)];
8384 rm -f conftest.
$ac_objext
8385 if { (ac_try
="$ac_compile"
8387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8388 *) ac_try_echo=$ac_try;;
8390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8391 $as_echo "$ac_try_echo") >&5
8392 (eval "$ac_compile") 2>conftest.er1
8394 grep -v '^ *+' conftest.er1 >conftest.err
8396 cat conftest.err >&5
8397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } && {
8399 test -z "$ac_c_werror_flag" ||
8400 test ! -s conftest.err
8401 } && test -s conftest.$ac_objext; then
8404 cat >conftest.$ac_ext <<_ACEOF
8407 cat confdefs.h >>conftest.$ac_ext
8408 cat >>conftest.$ac_ext <<_ACEOF
8409 /* end confdefs.h. */
8410 $ac_includes_default
8414 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= $ac_mid)];
8421 rm -f conftest.$ac_objext
8422 if { (ac_try="$ac_compile"
8424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8425 *) ac_try_echo
=$ac_try;;
8427 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8428 $as_echo "$ac_try_echo") >&5
8429 (eval "$ac_compile") 2>conftest.er1
8431 grep -v '^ *+' conftest.er1
>conftest.err
8433 cat conftest.err
>&5
8434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); } && {
8436 test -z "$ac_c_werror_flag" ||
8437 test ! -s conftest.err
8438 } && test -s conftest.
$ac_objext; then
8439 ac_lo
=$ac_mid; break
8441 $as_echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.
$ac_ext >&5
8444 ac_hi
=`expr '(' $ac_mid ')' - 1`
8445 if test $ac_mid -le $ac_hi; then
8449 ac_mid
=`expr 2 '*' $ac_mid`
8452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8455 $as_echo "$as_me: failed program was:" >&5
8456 sed 's/^/| /' conftest.
$ac_ext >&5
8461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8465 # Binary search between lo and hi bounds.
8466 while test "x$ac_lo" != "x$ac_hi"; do
8467 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8468 cat >conftest.
$ac_ext <<_ACEOF
8471 cat confdefs.h
>>conftest.
$ac_ext
8472 cat >>conftest.
$ac_ext <<_ACEOF
8473 /* end confdefs.h. */
8474 $ac_includes_default
8478 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8485 rm -f conftest.
$ac_objext
8486 if { (ac_try
="$ac_compile"
8488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8489 *) ac_try_echo=$ac_try;;
8491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8492 $as_echo "$ac_try_echo") >&5
8493 (eval "$ac_compile") 2>conftest.er1
8495 grep -v '^ *+' conftest.er1 >conftest.err
8497 cat conftest.err >&5
8498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); } && {
8500 test -z "$ac_c_werror_flag" ||
8501 test ! -s conftest.err
8502 } && test -s conftest.$ac_objext; then
8505 $as_echo "$as_me: failed program was:" >&5
8506 sed 's/^/| /' conftest.$ac_ext >&5
8508 ac_lo=`expr '(' $ac_mid ')' + 1`
8511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8514 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8515 '') if test "$ac_cv_type_long_double" = yes; then
8516 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8518 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long double
)
8519 See \
`config.log' for more details." >&5
8520 $as_echo "$as_me: error: cannot compute sizeof (long double)
8521 See \`config.log
' for more details." >&2;}
8522 { (exit 77); exit 77; }; }; }
8524 ac_cv_sizeof_long_double=0
8528 cat >conftest.$ac_ext <<_ACEOF
8531 cat confdefs.h >>conftest.$ac_ext
8532 cat >>conftest.$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8534 $ac_includes_default
8535 static long int longval () { return (long int) (sizeof (long double)); }
8536 static unsigned long int ulongval () { return (long int) (sizeof (long double)); }
8543 FILE *f = fopen ("conftest.val", "w");
8546 if (((long int) (sizeof (long double))) < 0)
8548 long int i = longval ();
8549 if (i != ((long int) (sizeof (long double))))
8551 fprintf (f, "%ld", i);
8555 unsigned long int i = ulongval ();
8556 if (i != ((long int) (sizeof (long double))))
8558 fprintf (f, "%lu", i);
8560 /* Do not output a trailing newline, as this causes \r\n confusion
8561 on some platforms. */
8562 return ferror (f) || fclose (f) != 0;
8568 rm -f conftest$ac_exeext
8569 if { (ac_try="$ac_link"
8571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8572 *) ac_try_echo=$ac_try;;
8574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8575 $as_echo "$ac_try_echo") >&5
8576 (eval "$ac_link") 2>&5
8578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
8580 { (case "(($ac_try" in
8581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8582 *) ac_try_echo=$ac_try;;
8584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8585 $as_echo "$ac_try_echo") >&5
8586 (eval "$ac_try") 2>&5
8588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); }; }; then
8590 ac_cv_sizeof_long_double=`cat conftest.val`
8592 $as_echo "$as_me: program exited with status $ac_status" >&5
8593 $as_echo "$as_me: failed program was:" >&5
8594 sed 's
/^
/|
/' conftest.$ac_ext >&5
8597 if test "$ac_cv_type_long_double" = yes; then
8598 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8599 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
8600 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8601 See \`config.log
' for more details." >&5
8602 $as_echo "$as_me: error: cannot compute sizeof (long double)
8603 See \`config.log' for more details.
" >&2;}
8604 { (exit 77); exit 77; }; }; }
8606 ac_cv_sizeof_long_double=0
8609 rm -rf conftest.dSYM
8610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8614 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8615 $as_echo "$ac_cv_sizeof_long_double" >&6; }
8619 cat >>confdefs.h <<_ACEOF
8620 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8624 sizeof_long_double=$ac_cv_sizeof_long_double
8627 ### End of automated tests.
8628 ### Now run sysdeps configure fragments.
8630 # They also can set these variables.
8632 ldd_rewrite_script=no
8633 libc_cv_sysconfdir=$sysconfdir
8634 libc_cv_gcc_unwind_find_fde=no
8637 # Iterate over all the sysdep directories we will use, running their
8638 # configure fragments, and looking for a uname implementation.
8640 for dir in $sysnames; do
8643 *) dest=$srcdir/$dir ;;
8645 if test -r $dest/configure; then
8646 { $as_echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8647 $as_echo "running configure fragment
for $dir" >&6; }
8651 if test -z "$uname"; then
8652 if test -r $dest/uname.c ||
8653 test -r $dest/uname.S ||
8654 { test -r $dest/syscalls.list &&
8655 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8661 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8662 cat >>confdefs.h <<\_ACEOF
8663 #define EXPORT_UNWIND_FIND_FDE 1
8669 # If we will use the generic uname implementation, we must figure out what
8670 # it will say by examining the system, and write the results in config-name.h.
8671 if test "$uname" = "sysdeps
/generic
"; then
8673 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8674 if test $uname_sysname != $config_os; then
8675 config_release=`echo $config_os | sed s/$uname_sysname//`
8678 { $as_echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8679 $as_echo_n "checking OS release
for uname...
" >&6; }
8680 if test "${libc_cv_uname_release+set}" = set; then
8681 $as_echo_n "(cached
) " >&6
8683 if test -r /vmunix; then
8684 kernel_id=`strings /vmunix | grep UNIX`
8685 elif test -r /dynix; then
8686 kernel_id=`strings /dynix | grep DYNIX`
8691 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8692 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8693 != x$config_release; then
8694 # The configuration release is a substring of the kernel release.
8695 libc_cv_uname_release=$kernel_release
8696 elif test x$config_release != x; then
8697 libc_cv_uname_release=$config_release
8698 elif test x$kernel_release != x; then
8699 libc_cv_uname_release=$kernel_release
8701 libc_cv_uname_release=unknown
8704 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8705 $as_echo "$libc_cv_uname_release" >&6; }
8706 uname_release="$libc_cv_uname_release"
8708 { $as_echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8709 $as_echo_n "checking OS version
for uname...
" >&6; }
8710 if test "${libc_cv_uname_version+set}" = set; then
8711 $as_echo_n "(cached
) " >&6
8713 if test -r /vmunix; then
8714 kernel_id=`strings /vmunix | grep UNIX`
8715 elif test -r /dynix; then
8716 kernel_id=`strings /dynix | grep DYNIX`
8721 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8722 if test -n "$kernel_version"; then
8723 libc_cv_uname_version="$kernel_version"
8725 libc_cv_uname_version=unknown
8728 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8729 $as_echo "$libc_cv_uname_version" >&6; }
8730 uname_version="$libc_cv_uname_version"
8732 config_uname=config-name.h:config-name.in
8734 # For non-generic uname, we don't need to create config-name.h at all.
8738 cat >>confdefs.h <<\_ACEOF
8739 #define USE_IN_LIBIO 1
8743 # Test for old glibc 2.0.x headers so that they can be removed properly
8744 # Search only in includedir.
8745 { $as_echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8746 $as_echo_n "checking
for old glibc
2.0.x headers...
" >&6; }
8747 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8749 old_glibc_headers=yes
8751 old_glibc_headers=no
8753 { $as_echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8754 $as_echo "$old_glibc_headers" >&6; }
8755 if test ${old_glibc_headers} = yes; then
8756 { $as_echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8757 $as_echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8758 { $as_echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8759 $as_echo "$as_me: WARNING
: *** be removed.
" >&2;}
8777 if test $elf = yes; then
8778 cat >>confdefs.h <<\_ACEOF
8783 if test $xcoff = yes; then
8784 cat >>confdefs.h <<\_ACEOF
8785 #define HAVE_XCOFF 1
8792 if test $shared = default; then
8796 { $as_echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8797 $as_echo_n "checking whether
-fPIC is default...
" >&6; }
8798 if test "${libc_cv_pic_default+set}" = set; then
8799 $as_echo_n "(cached
) " >&6
8801 libc_cv_pic_default=yes
8802 cat > conftest.c <<EOF
8803 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8804 # error PIC is default.
8807 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8808 libc_cv_pic_default=no
8812 { $as_echo "$as_me:$LINENO: result
: $libc_cv_pic_default" >&5
8813 $as_echo "$libc_cv_pic_default" >&6; }
8826 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8829 config_makefile=Makefile
8832 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8833 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8837 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8839 ac_config_commands
="$ac_config_commands default"
8841 cat >confcache
<<\_ACEOF
8842 # This file is a shell script that caches the results of configure
8843 # tests run on this system so they can be shared between configure
8844 # scripts and configure runs, see configure's option --config-cache.
8845 # It is not useful on other systems. If it contains results you don't
8846 # want to keep, you may remove or edit it.
8848 # config.status only pays attention to the cache file if you give it
8849 # the --recheck option to rerun configure.
8851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8857 # The following way of writing the cache mishandles newlines in values,
8858 # but we know of no workaround that is simple, portable, and efficient.
8859 # So, we kill variables containing newlines.
8860 # Ultrix sh set writes to stderr and can't be redirected directly,
8861 # and sets the high bit in the cache file unless we assign to the vars.
8863 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8864 eval ac_val
=\$
$ac_var
8868 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8869 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8872 _ | IFS | as_nl
) ;; #(
8873 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8874 *) $as_unset $ac_var ;;
8880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8881 *${as_nl}ac_space
=\
*)
8882 # `set' does not quote correctly, so add quotes (double-quote
8883 # substitution turns \\\\ into \\, and sed turns \\ into \).
8886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8889 # `set' quotes correctly as required by POSIX, so do not add quotes.
8890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8903 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8904 if test -w "$cache_file"; then
8905 test "x$cache_file" != "x/dev/null" &&
8906 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8907 $as_echo "$as_me: updating cache $cache_file" >&6;}
8908 cat confcache
>$cache_file
8910 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8911 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8916 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8917 # Let make expand exec_prefix.
8918 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8920 DEFS
=-DHAVE_CONFIG_H
8924 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8925 # 1. Remove the extension, and $U if already installed.
8926 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8927 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8928 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8929 # will be set to the directory where LIBOBJS objects are built.
8930 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8931 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8935 LTLIBOBJS
=$ac_ltlibobjs
8939 : ${CONFIG_STATUS=./config.status}
8941 ac_clean_files_save
=$ac_clean_files
8942 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8943 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8944 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8945 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8947 # Generated by $as_me.
8948 # Run this file to recreate the current configuration.
8949 # Compiler output produced by configure, useful for debugging
8950 # configure, is in config.log if it exists.
8955 SHELL=\${CONFIG_SHELL-$SHELL}
8958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8959 ## --------------------- ##
8960 ## M4sh Initialization. ##
8961 ## --------------------- ##
8963 # Be more Bourne compatible
8964 DUALCASE
=1; export DUALCASE
# for MKS sh
8965 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8968 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8969 # is contrary to our usage. Disable this feature.
8970 alias -g '${1+"$@"}'='"$@"'
8971 setopt NO_GLOB_SUBST
8973 case `(set -o) 2>/dev/null` in
8974 *posix
*) set -o posix
;;
8983 # Avoid depending upon Character Ranges.
8984 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8985 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8986 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8987 as_cr_digits
='0123456789'
8988 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8993 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8994 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8995 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8996 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8997 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8998 as_echo='printf %s
\n'
8999 as_echo_n='printf %s
'
9001 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9002 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9003 as_echo_n='/usr
/ucb
/echo -n'
9005 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9006 as_echo_n_body='eval
9010 expr "X$arg" : "X\\(.*\\)$as_nl";
9011 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9013 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9015 export as_echo_n_body
9016 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9019 as_echo='sh
-c $as_echo_body as_echo
'
9022 # The user is always right.
9023 if test "${PATH_SEPARATOR+set}" != set; then
9025 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9026 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9031 # Support unset when possible.
9032 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9040 # We need space, tab and new line, in precisely that order. Quoting is
9041 # there to prevent editors from complaining about space-tab.
9042 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9043 # splitting by setting IFS to empty value.)
9046 # Find who we are. Look in the path if we contain no directory separator.
9048 *[\\/]* ) as_myself=$0 ;;
9049 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9053 test -z "$as_dir" && as_dir=.
9054 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9060 # We did not find ourselves, most probably we were run as `sh COMMAND'
9061 # in which case we are not to be found in the path.
9062 if test "x$as_myself" = x
; then
9065 if test ! -f "$as_myself"; then
9066 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9067 { (exit 1); exit 1; }
9070 # Work around bugs in pre-3.0 UWIN ksh.
9071 for as_var
in ENV MAIL MAILPATH
9072 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9084 # Required to use basename.
9085 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9086 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9092 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9093 as_basename
=basename
9099 # Name of the executable.
9100 as_me
=`$as_basename -- "$0" ||
9101 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9102 X"$0" : 'X\(//\)$' \| \
9103 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9105 sed '/^.*\/\([^/][^/]*\)\/*$/{
9126 test "x$as_lineno_1" != "x$as_lineno_2" &&
9127 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9129 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9130 # uniformly replaced by the line number. The first 'sed' inserts a
9131 # line-number line after each line using $LINENO; the second 'sed'
9132 # does the real work. The second script uses 'N' to pair each
9133 # line-number line with the line containing $LINENO, and appends
9134 # trailing '-' during substitution so that $LINENO is not a special
9136 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9137 # scripts with optimization help from Paolo Bonzini. Blame Lee
9138 # E. McMahon (1931-1989) for sed's syntax. :-)
9150 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9154 chmod +x
"$as_me.lineno" ||
9155 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9156 { (exit 1); exit 1; }; }
9158 # Don't try to exec as it changes $[0], causing all sort of problems
9159 # (the dirname of $[0] is not the place where we might find the
9160 # original and so on. Autoconf is especially sensitive to this).
9162 # Exit status is that of the last command.
9167 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9173 ECHO_C
= ECHO_N
= ECHO_T
=
9176 case `echo 'x\c'` in
9177 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9183 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9184 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9190 rm -f conf$$ conf$$.exe conf$$.
file
9191 if test -d conf$$.dir
; then
9192 rm -f conf$$.dir
/conf$$.
file
9195 mkdir conf$$.dir
2>/dev
/null
9197 if (echo >conf$$.
file) 2>/dev
/null
; then
9198 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9200 # ... but there are two gotchas:
9201 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9202 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9203 # In both cases, we have to default to `cp -p'.
9204 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9214 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9215 rmdir conf$$.dir
2>/dev
/null
9217 if mkdir
-p .
2>/dev
/null
; then
9220 test -d .
/-p && rmdir .
/-p
9224 if test -x / >/dev
/null
2>&1; then
9227 if ls -dL / >/dev
/null
2>&1; then
9234 if test -d "$1"; then
9240 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9241 ???[sx]*):;;*)false;;esac;fi
9245 as_executable_p
=$as_test_x
9247 # Sed expression to map a string onto a valid CPP name.
9248 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9250 # Sed expression to map a string onto a valid variable name.
9251 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9256 # Save the log message, to keep $[0] and so on meaningful, and to
9257 # report actual input values of CONFIG_FILES etc. instead of their
9258 # values after options handling.
9260 This file was extended by GNU C Library $as_me (see version.h), which was
9261 generated by GNU Autoconf 2.63. Invocation command line was
9263 CONFIG_FILES = $CONFIG_FILES
9264 CONFIG_HEADERS = $CONFIG_HEADERS
9265 CONFIG_LINKS = $CONFIG_LINKS
9266 CONFIG_COMMANDS = $CONFIG_COMMANDS
9269 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9274 case $ac_config_files in *"
9275 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9278 case $ac_config_headers in *"
9279 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9284 # Files that config.status was made for.
9285 config_files="$ac_config_files"
9286 config_headers="$ac_config_headers"
9287 config_commands="$ac_config_commands"
9291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9293 \`$as_me' instantiates files from templates according to the
9294 current configuration.
9296 Usage: $0 [OPTION]... [FILE]...
9298 -h, --help print this help, then exit
9299 -V, --version print version number and configuration settings, then exit
9300 -q, --quiet, --silent
9301 do not print progress messages
9302 -d, --debug don't remove temporary files
9303 --recheck update $as_me by reconfiguring in the same conditions
9304 --file=FILE[:TEMPLATE]
9305 instantiate the configuration file FILE
9306 --header=FILE[:TEMPLATE]
9307 instantiate the configuration header FILE
9309 Configuration files:
9312 Configuration headers:
9315 Configuration commands:
9318 Report bugs to <bug-autoconf@gnu.org>."
9321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9323 GNU C Library config.status (see version.h)
9324 configured by $0, generated by GNU Autoconf 2.63,
9325 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9327 Copyright (C) 2008 Free Software Foundation, Inc.
9328 This config.status script is free software; the Free Software Foundation
9329 gives unlimited permission to copy, distribute and modify it."
9335 test -n "\$AWK" || AWK=awk
9338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9339 # The default lists apply if the user does not specify any file.
9345 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9346 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9357 # Handling of the options.
9358 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9360 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9361 $as_echo "$ac_cs_version"; exit ;;
9362 --debug |
--debu |
--deb |
--de |
--d |
-d )
9364 --file |
--fil |
--fi |
--f )
9367 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9369 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
9370 ac_need_defaults
=false
;;
9371 --header |
--heade |
--head |
--hea )
9374 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9376 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
9377 ac_need_defaults
=false
;;
9379 # Conflict between --help and --header
9380 { $as_echo "$as_me: error: ambiguous option: $1
9381 Try \`$0 --help' for more information." >&2
9382 { (exit 1); exit 1; }; };;
9383 --help |
--hel |
-h )
9384 $as_echo "$ac_cs_usage"; exit ;;
9385 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9386 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9390 -*) { $as_echo "$as_me: error: unrecognized option: $1
9391 Try \`$0 --help' for more information." >&2
9392 { (exit 1); exit 1; }; } ;;
9394 *) ac_config_targets
="$ac_config_targets $1"
9395 ac_need_defaults
=false
;;
9401 ac_configure_extra_args
=
9403 if $ac_cs_silent; then
9405 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9410 if \$ac_cs_recheck; then
9411 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9413 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9414 CONFIG_SHELL='$SHELL'
9420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9424 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9425 ## Running $as_me. ##
9431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9435 config_vars='$config_vars'
9439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9441 # Handling of arguments.
9442 for ac_config_target
in $ac_config_targets
9444 case $ac_config_target in
9445 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9446 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9447 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9448 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9449 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9451 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9452 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9453 { (exit 1); exit 1; }; };;
9458 # If the user did not use the arguments to specify the items to instantiate,
9459 # then the envvar interface is used. Set only those that are not.
9460 # We use the long form for the default assignment because of an extremely
9461 # bizarre bug on SunOS 4.1.3.
9462 if $ac_need_defaults; then
9463 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9464 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9465 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9468 # Have a temporary directory for convenience. Make it in the build tree
9469 # simply because there is no reason against having it here, and in addition,
9470 # creating and moving files from /tmp can sometimes cause problems.
9471 # Hook for its removal unless debugging.
9472 # Note that there is a small window in which the directory will not be cleaned:
9473 # after its creation but before its name has been assigned to `$tmp'.
9477 trap 'exit_status=$?
9478 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9480 trap '{ (exit 1); exit 1; }' 1 2 13 15
9482 # Create a (secure) tmp directory for tmp files.
9485 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9486 test -n "$tmp" && test -d "$tmp"
9489 tmp
=.
/conf$$
-$RANDOM
9490 (umask 077 && mkdir
"$tmp")
9493 $as_echo "$as_me: cannot create a temporary directory in ." >&2
9494 { (exit 1); exit 1; }
9497 # Set up the scripts for CONFIG_FILES section.
9498 # No need to generate them if there are no CONFIG_FILES.
9499 # This happens for instance with `./config.status config.h'.
9500 if test -n "$CONFIG_FILES"; then
9504 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9505 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9511 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9516 echo "cat >conf$$subs.awk <<_ACEOF" &&
9517 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9520 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9521 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9522 { (exit 1); exit 1; }; }
9523 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9525 for ac_last_try in false false false false false :; do
9526 . ./conf$$subs.sh ||
9527 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9528 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9529 { (exit 1); exit 1; }; }
9531 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9532 if test $ac_delim_n = $ac_delim_num; then
9534 elif $ac_last_try; then
9535 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9536 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9537 { (exit 1); exit 1; }; }
9539 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9545 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9549 s/^/S["/; s
/!.
*/"]=/
9559 s/\(.\{148\}\).*/\1/
9561 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9566 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9573 s/\(.\{148\}\).*/\1/
9575 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9579 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9584 ' <conf$$subs.awk | sed '
9589 ' >>$CONFIG_STATUS || ac_write_fail=1
9590 rm -f conf$$subs.awk
9591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9593 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9594 for (key in S) S_is_set[key] = 1
9600 nfields = split(line, field, "@
")
9602 len = length(field[1])
9603 for (i = 2; i < nfields; i++) {
9605 keylen = length(key)
9606 if (S_is_set[key]) {
9608 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9609 len += length(value) + length(field[++i])
9620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9621 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9622 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9625 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9626 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
9627 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
9628 { (exit 1); exit 1; }; }
9631 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9632 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9633 # trailing colons and then remove the whole line if VPATH becomes empty
9634 # (actually we leave an empty line to preserve line numbers).
9635 if test "x
$srcdir" = x.; then
9636 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9640 s/^\([^=]*=[ ]*\):*/\1/
9646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9647 fi # test -n "$CONFIG_FILES"
9649 # Set up the scripts for CONFIG_HEADERS section.
9650 # No need to generate them if there are no CONFIG_HEADERS.
9651 # This happens for instance with `./config.status Makefile'.
9652 if test -n "$CONFIG_HEADERS"; then
9653 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9657 # Transform confdefs.h into an awk script `defines.awk', embedded as
9658 # here-document in config.status, that substitutes the proper values into
9659 # config.h.in to produce config.h.
9661 # Create a delimiter string that does not exist in confdefs.h, to ease
9662 # handling of long lines.
9664 for ac_last_try in false false :; do
9665 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9666 if test -z "$ac_t"; then
9668 elif $ac_last_try; then
9669 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
9670 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
9671 { (exit 1); exit 1; }; }
9673 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9677 # For the awk script, D is an array of macro values keyed by name,
9678 # likewise P contains macro parameters if any. Preserve backslash
9679 # newline sequences.
9681 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9683 s/.\{148\}/&'"$ac_delim"'/g
9686 s/^[ ]*#[ ]*define[ ][ ]*/ /
9693 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9695 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9699 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9700 D["\
1"]=" \
3\\\\\\n
"\\/p
9702 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9707 s/.\{148\}/&'"$ac_delim"'/g
9712 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9715 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9717 ' <confdefs.h | sed '
9718 s/'"$ac_delim"'/"\\\
9719 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9722 for (key in D) D_is_set[key] = 1
9725 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9727 split(line, arg, " ")
9728 if (arg[1] == "#") {
9732 defundef
= substr
(arg
[1], 2)
9735 split(mac1
, mac2
, "(") #)
9737 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9738 if (D_is_set
[macro
]) {
9739 # Preserve the white space surrounding the "#".
9740 print prefix
"define", macro P
[macro
] D
[macro
]
9743 # Replace #undef with comments. This is necessary, for example,
9744 # in the case of _POSIX_SOURCE, which is predefined and required
9745 # on some systems where configure will not decide to define it.
9746 if (defundef
== "undef") {
9747 print
"/*", prefix defundef
, macro
, "*/"
9755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9756 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9757 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9758 { (exit 1); exit 1; }; }
9759 fi # test -n "$CONFIG_HEADERS"
9762 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9767 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9769 case $ac_mode$ac_tag in
9771 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9772 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9773 { (exit 1); exit 1; }; };;
9774 :[FH
]-) ac_tag
=-:-;;
9775 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9792 -) ac_f
="$tmp/stdin";;
9793 *) # Look for the file first in the build tree, then in the source tree
9794 # (if the path is not absolute). The absolute path cannot be DOS-style,
9795 # because $ac_f cannot contain `:'.
9799 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9801 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9802 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9803 { (exit 1); exit 1; }; };;
9805 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9806 ac_file_inputs
="$ac_file_inputs '$ac_f'"
9809 # Let's still pretend it is `configure' which instantiates (i.e., don't
9810 # use $as_me), people would be surprised to read:
9811 # /* config.h. Generated by config.status. */
9812 configure_input
='Generated from '`
9813 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9815 if test x
"$ac_file" != x-
; then
9816 configure_input
="$ac_file. $configure_input"
9817 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9818 $as_echo "$as_me: creating $ac_file" >&6;}
9820 # Neutralize special characters interpreted by sed in replacement strings.
9821 case $configure_input in #(
9822 *\
&* |
*\|
* |
*\\* )
9823 ac_sed_conf_input
=`$as_echo "$configure_input" |
9824 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9825 *) ac_sed_conf_input
=$configure_input;;
9829 *:-:* |
*:-) cat >"$tmp/stdin" \
9830 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9831 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9832 { (exit 1); exit 1; }; } ;;
9837 ac_dir
=`$as_dirname -- "$ac_file" ||
9838 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9839 X"$ac_file" : 'X\(//\)[^/]' \| \
9840 X"$ac_file" : 'X\(//\)$' \| \
9841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9842 $as_echo X"$ac_file" |
9843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9862 -*) as_dir
=.
/$as_dir;;
9864 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9868 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9869 *) as_qdir
=$as_dir;;
9871 as_dirs
="'$as_qdir' $as_dirs"
9872 as_dir
=`$as_dirname -- "$as_dir" ||
9873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9874 X"$as_dir" : 'X\(//\)[^/]' \| \
9875 X"$as_dir" : 'X\(//\)$' \| \
9876 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9877 $as_echo X"$as_dir" |
9878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9895 test -d "$as_dir" && break
9897 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9898 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9899 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9900 { (exit 1); exit 1; }; }; }
9904 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9906 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9907 # A ".." for each directory in $ac_dir_suffix.
9908 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9909 case $ac_top_builddir_sub in
9910 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9911 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9914 ac_abs_top_builddir
=$ac_pwd
9915 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9916 # for backward compatibility:
9917 ac_top_builddir
=$ac_top_build_prefix
9920 .
) # We are building in place.
9922 ac_top_srcdir
=$ac_top_builddir_sub
9923 ac_abs_top_srcdir
=$ac_pwd ;;
9924 [\\/]* | ?
:[\\/]* ) # Absolute name.
9925 ac_srcdir
=$srcdir$ac_dir_suffix;
9926 ac_top_srcdir
=$srcdir
9927 ac_abs_top_srcdir
=$srcdir ;;
9929 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9930 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9931 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9933 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9943 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9944 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9949 # If the template does not know about datarootdir, expand it.
9950 # FIXME: This hack should be removed a few years after 2.60.
9951 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9964 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9965 *datarootdir
*) ac_datarootdir_seen
=yes;;
9966 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9967 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9968 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9971 ac_datarootdir_hack='
9972 s&@datadir@&$datadir&g
9973 s&@docdir@&$docdir&g
9974 s&@infodir@&$infodir&g
9975 s&@localedir@&$localedir&g
9976 s&@mandir@&$mandir&g
9977 s&\\\${datarootdir}&$datarootdir&g' ;;
9981 # Neutralize VPATH when `$srcdir' = `.'.
9982 # Shell code in configure.ac might set extrasub.
9983 # FIXME: do we really want to maintain this feature?
9984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9985 ac_sed_extra="$ac_vpsub
9988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9990 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9991 s|@configure_input@|
$ac_sed_conf_input|
;t t
9992 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9993 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9994 s
&@srcdir@
&$ac_srcdir&;t t
9995 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9996 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9997 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9998 s
&@builddir@
&$ac_builddir&;t t
9999 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10000 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10001 s
&@INSTALL@
&$ac_INSTALL&;t t
10002 $ac_datarootdir_hack
10004 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
10005 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
10006 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
10007 { (exit 1); exit 1; }; }
10009 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10010 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10011 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10012 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10013 which seems to be undefined. Please make sure it is defined." >&5
10014 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10015 which seems to be undefined. Please make sure it is defined." >&2;}
10019 -) cat "$tmp/out" && rm -f "$tmp/out";;
10020 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10022 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10023 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10024 { (exit 1); exit 1; }; }
10030 if test x"$ac_file" != x-; then
10032 $as_echo "/* $configure_input */" \
10033 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10034 } >"$tmp/config.h" \
10035 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10036 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10037 { (exit 1); exit 1; }; }
10038 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10039 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10040 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10043 mv "$tmp/config.h" "$ac_file" \
10044 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10045 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10046 { (exit 1); exit 1; }; }
10049 $as_echo "/* $configure_input */" \
10050 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10051 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10052 $as_echo "$as_me: error: could not create -" >&2;}
10053 { (exit 1); exit 1; }; }
10057 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10058 $as_echo "$as_me: executing $ac_file commands" >&6;}
10063 case $ac_file$ac_mode in
10065 case $CONFIG_FILES in *config.make*)
10066 echo "$config_vars" >> config.make;;
10068 test -d bits || mkdir bits ;;
10074 { (exit 0); exit 0; }
10076 chmod +x $CONFIG_STATUS
10077 ac_clean_files=$ac_clean_files_save
10079 test $ac_write_fail = 0 ||
10080 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10081 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10082 { (exit 1); exit 1; }; }
10085 # configure is writing to config.log, and then calls config.status.
10086 # config.status does its own redirection, appending to config.log.
10087 # Unfortunately, on DOS this fails, as config.log is still kept open
10088 # by configure, so config.status won't be able to
write to it
; its
10089 # output is simply discarded. So we exec the FD to /dev/null,
10090 # effectively closing config.log, so it can be properly (re)opened and
10091 # appended to by config.status. When coming back to configure, we
10092 # need to make the FD available again.
10093 if test "$no_create" != yes; then
10095 ac_config_status_args
=
10096 test "$silent" = yes &&
10097 ac_config_status_args
="$ac_config_status_args --quiet"
10099 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10101 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10102 # would make configure fail if this is the last instruction.
10103 $ac_cs_success ||
{ (exit 1); exit 1; }
10107 # CONFIG_SUBDIRS section.
10109 if test "$no_recursion" != yes; then
10111 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10112 # so they do not pile up.
10113 ac_sub_configure_args
=
10115 eval "set x $ac_configure_args"
10119 if test -n "$ac_prev"; then
10124 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
10125 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
10126 ac_prev
=cache_file
;;
10127 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
10128 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
10131 --config-cache |
-C)
10133 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
10135 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
10137 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
10139 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
10141 --disable-option-checking)
10145 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10147 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
10151 # Always prepend --prefix to ensure using the same prefix
10152 # in subdir configurations.
10153 ac_arg
="--prefix=$prefix"
10155 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10157 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
10160 if test "$silent" = yes; then
10161 ac_sub_configure_args
="--silent $ac_sub_configure_args"
10164 # Always prepend --disable-option-checking to silence warnings, since
10165 # different subdirs can have different --enable and --with options.
10166 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
10169 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
10171 # Do not complain, so a configure script can configure whichever
10172 # parts of a large source tree are present.
10173 test -d "$srcdir/$ac_dir" ||
continue
10175 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10176 $as_echo "$as_me:$LINENO: $ac_msg" >&5
10177 $as_echo "$ac_msg" >&6
10180 -*) as_dir
=.
/$as_dir;;
10182 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10186 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10187 *) as_qdir
=$as_dir;;
10189 as_dirs
="'$as_qdir' $as_dirs"
10190 as_dir
=`$as_dirname -- "$as_dir" ||
10191 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10192 X"$as_dir" : 'X\(//\)[^/]' \| \
10193 X"$as_dir" : 'X\(//\)$' \| \
10194 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10195 $as_echo X"$as_dir" |
10196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10200 /^X\(\/\/\)[^/].*/{
10213 test -d "$as_dir" && break
10215 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10216 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10217 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10218 { (exit 1); exit 1; }; }; }
10222 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10224 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10225 # A ".." for each directory in $ac_dir_suffix.
10226 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10227 case $ac_top_builddir_sub in
10228 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10229 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10232 ac_abs_top_builddir
=$ac_pwd
10233 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10234 # for backward compatibility:
10235 ac_top_builddir
=$ac_top_build_prefix
10238 .
) # We are building in place.
10240 ac_top_srcdir
=$ac_top_builddir_sub
10241 ac_abs_top_srcdir
=$ac_pwd ;;
10242 [\\/]* | ?
:[\\/]* ) # Absolute name.
10243 ac_srcdir
=$srcdir$ac_dir_suffix;
10244 ac_top_srcdir
=$srcdir
10245 ac_abs_top_srcdir
=$srcdir ;;
10246 *) # Relative name.
10247 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10248 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10249 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10251 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10256 # Check for guested configure; otherwise get Cygnus style configure.
10257 if test -f "$ac_srcdir/configure.gnu"; then
10258 ac_sub_configure
=$ac_srcdir/configure.gnu
10259 elif test -f "$ac_srcdir/configure"; then
10260 ac_sub_configure
=$ac_srcdir/configure
10261 elif test -f "$ac_srcdir/configure.in"; then
10262 # This should be Cygnus configure.
10263 ac_sub_configure
=$ac_aux_dir/configure
10265 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10266 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10270 # The recursion is here.
10271 if test -n "$ac_sub_configure"; then
10272 # Make the cache file name correct relative to the subdirectory.
10273 case $cache_file in
10274 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
10275 *) # Relative name.
10276 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
10279 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10280 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10281 # The eval makes quoting arguments work.
10282 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10283 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10284 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10285 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10286 { (exit 1); exit 1; }; }
10292 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10293 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10294 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}