2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x
; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var
in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
145 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me
=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x
; then
177 if (eval ":") 2>/dev
/null
; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev
/null
; then
243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
244 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir
=.
250 for as_base
in sh bash ksh sh5
; do
251 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
258 for as_shell
in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix
*) set -o posix
;;
280 CONFIG_SHELL
=$as_shell
282 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix
*) set -o posix
;;
308 as_func_ret_success
() {
311 as_func_ret_failure
() {
316 if as_func_success
; then
320 echo as_func_success failed.
323 if as_func_failure
; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success
; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure
; then
337 echo as_func_ret_failure succeeded.
340 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) ||
{ (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x
; then
365 for as_var
in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no
; then
374 echo This
script requires a shell
more modern than all the
375 echo shells that I found on your system. Please
install a
376 echo modern shell
, or manually run the
script under such a
377 echo shell
if you
do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") ||
{
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system
,
439 echo including any error possibly output before this message.
440 echo This can
help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x
"$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
495 ECHO_C
= ECHO_N
= ECHO_T
=
499 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
542 test -d .
/-p && rmdir .
/-p
546 if test -x / >/dev
/null
2>&1; then
549 if ls -dL / >/dev
/null
2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p
=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 exec 7<&0 </dev
/null
6>&1
580 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
581 # so uname gets run too.
582 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
587 ac_default_prefix
=/usr
/local
589 ac_config_libobj_dir
=.
595 SHELL
=${CONFIG_SHELL-/bin/sh}
597 # Identity of this package.
598 PACKAGE_NAME
='GNU C Library'
599 PACKAGE_TARNAME
='c-library'
600 PACKAGE_VERSION
='(see version.h)'
601 PACKAGE_STRING
='GNU C Library (see version.h)'
602 PACKAGE_BUGREPORT
='glibc'
604 ac_unique_file
="include/features.h"
605 enable_option_checking
=no
606 # Factoring default headers for most tests.
607 ac_includes_default
="\
609 #ifdef HAVE_SYS_TYPES_H
610 # include <sys/types.h>
612 #ifdef HAVE_SYS_STAT_H
613 # include <sys/stat.h>
619 # ifdef HAVE_STDLIB_H
624 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
642 ac_subst_vars
='LTLIBOBJS
662 libc_cv_cpp_asm_debuginfo
663 libc_cv_forced_unwind
672 libc_cv_gcc_unwind_find_fde
680 libc_cv_cc_submachine
683 libc_cv_have_initfini
693 libc_cv_libgcc_s_suffix
695 libc_cv_cc_with_libunwind
705 libc_cv_gcc_static_libgcc
788 program_transform_name
800 enable_option_checking
819 enable_stackguard_randomization
830 enable_experimental_malloc
834 ac_precious_vars
='build_alias
849 # Initialize some variables set by options.
851 ac_init_version
=false
852 ac_unrecognized_opts
=
854 # The variables have the same names as the options, with
855 # dashes changed to underlines.
863 program_transform_name
=s
,x
,x
,
871 # Installation directory options.
872 # These are left unexpanded so users can "make install exec_prefix=/foo"
873 # and all the variables that are supposed to be based on exec_prefix
874 # by default will actually change.
875 # Use braces instead of parens because sh, perl, etc. also accept them.
876 # (The list follows the same order as the GNU Coding Standards.)
877 bindir
='${exec_prefix}/bin'
878 sbindir
='${exec_prefix}/sbin'
879 libexecdir
='${exec_prefix}/libexec'
880 datarootdir
='${prefix}/share'
881 datadir
='${datarootdir}'
882 sysconfdir
='${prefix}/etc'
883 sharedstatedir
='${prefix}/com'
884 localstatedir
='${prefix}/var'
885 includedir
='${prefix}/include'
886 oldincludedir
='/usr/include'
887 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
888 infodir
='${datarootdir}/info'
893 libdir
='${exec_prefix}/lib'
894 localedir
='${datarootdir}/locale'
895 mandir
='${datarootdir}/man'
901 # If the previous option needs an argument, assign it.
902 if test -n "$ac_prev"; then
903 eval $ac_prev=\
$ac_option
909 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
913 # Accept the important Cygnus configure options, so we can diagnose typos.
915 case $ac_dashdash$ac_option in
919 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
921 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
924 -build |
--build |
--buil |
--bui |
--bu)
925 ac_prev
=build_alias
;;
926 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
927 build_alias
=$ac_optarg ;;
929 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
930 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
931 ac_prev
=cache_file
;;
932 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
933 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
934 cache_file
=$ac_optarg ;;
937 cache_file
=config.cache
;;
939 -datadir |
--datadir |
--datadi |
--datad)
941 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
942 datadir
=$ac_optarg ;;
944 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
945 |
--dataroo |
--dataro |
--datar)
946 ac_prev
=datarootdir
;;
947 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
948 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
949 datarootdir
=$ac_optarg ;;
951 -disable-* |
--disable-*)
952 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
955 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
956 { (exit 1); exit 1; }; }
957 ac_useropt_orig
=$ac_useropt
958 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959 case $ac_user_opts in
963 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
964 ac_unrecognized_sep
=', ';;
966 eval enable_
$ac_useropt=no
;;
968 -docdir |
--docdir |
--docdi |
--doc |
--do)
970 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
973 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
975 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
978 -enable-* |
--enable-*)
979 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
982 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
983 { (exit 1); exit 1; }; }
984 ac_useropt_orig
=$ac_useropt
985 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986 case $ac_user_opts in
990 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
991 ac_unrecognized_sep
=', ';;
993 eval enable_
$ac_useropt=\
$ac_optarg ;;
995 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
996 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
997 |
--exec |
--exe |
--ex)
998 ac_prev
=exec_prefix
;;
999 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1000 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1001 |
--exec=* |
--exe=* |
--ex=*)
1002 exec_prefix
=$ac_optarg ;;
1004 -gas |
--gas |
--ga |
--g)
1005 # Obsolete; use --with-gas.
1008 -help |
--help |
--hel |
--he |
-h)
1009 ac_init_help
=long
;;
1010 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1011 ac_init_help
=recursive
;;
1012 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1013 ac_init_help
=short
;;
1015 -host |
--host |
--hos |
--ho)
1016 ac_prev
=host_alias
;;
1017 -host=* |
--host=* |
--hos=* |
--ho=*)
1018 host_alias
=$ac_optarg ;;
1020 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1022 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1024 htmldir
=$ac_optarg ;;
1026 -includedir |
--includedir |
--includedi |
--included |
--include \
1027 |
--includ |
--inclu |
--incl |
--inc)
1028 ac_prev
=includedir
;;
1029 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1030 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1031 includedir
=$ac_optarg ;;
1033 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1035 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1036 infodir
=$ac_optarg ;;
1038 -libdir |
--libdir |
--libdi |
--libd)
1040 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1041 libdir
=$ac_optarg ;;
1043 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1044 |
--libexe |
--libex |
--libe)
1045 ac_prev
=libexecdir
;;
1046 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1047 |
--libexe=* |
--libex=* |
--libe=*)
1048 libexecdir
=$ac_optarg ;;
1050 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1051 ac_prev
=localedir
;;
1052 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1053 localedir
=$ac_optarg ;;
1055 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1056 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1057 ac_prev
=localstatedir
;;
1058 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1059 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1060 localstatedir
=$ac_optarg ;;
1062 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1064 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1065 mandir
=$ac_optarg ;;
1067 -nfp |
--nfp |
--nf)
1068 # Obsolete; use --without-fp.
1071 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1072 |
--no-cr |
--no-c |
-n)
1075 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1076 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1079 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1080 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1081 |
--oldin |
--oldi |
--old |
--ol |
--o)
1082 ac_prev
=oldincludedir
;;
1083 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1084 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1085 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1086 oldincludedir
=$ac_optarg ;;
1088 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1090 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1091 prefix
=$ac_optarg ;;
1093 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1094 |
--program-pre |
--program-pr |
--program-p)
1095 ac_prev
=program_prefix
;;
1096 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1097 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1098 program_prefix
=$ac_optarg ;;
1100 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1101 |
--program-suf |
--program-su |
--program-s)
1102 ac_prev
=program_suffix
;;
1103 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1104 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1105 program_suffix
=$ac_optarg ;;
1107 -program-transform-name |
--program-transform-name \
1108 |
--program-transform-nam |
--program-transform-na \
1109 |
--program-transform-n |
--program-transform- \
1110 |
--program-transform |
--program-transfor \
1111 |
--program-transfo |
--program-transf \
1112 |
--program-trans |
--program-tran \
1113 |
--progr-tra |
--program-tr |
--program-t)
1114 ac_prev
=program_transform_name
;;
1115 -program-transform-name=* |
--program-transform-name=* \
1116 |
--program-transform-nam=* |
--program-transform-na=* \
1117 |
--program-transform-n=* |
--program-transform-=* \
1118 |
--program-transform=* |
--program-transfor=* \
1119 |
--program-transfo=* |
--program-transf=* \
1120 |
--program-trans=* |
--program-tran=* \
1121 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1122 program_transform_name
=$ac_optarg ;;
1124 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1126 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1127 pdfdir
=$ac_optarg ;;
1129 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1131 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1134 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1135 |
-silent |
--silent |
--silen |
--sile |
--sil)
1138 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1140 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1142 sbindir
=$ac_optarg ;;
1144 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1145 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1146 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1148 ac_prev
=sharedstatedir
;;
1149 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1150 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1151 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1153 sharedstatedir
=$ac_optarg ;;
1155 -site |
--site |
--sit)
1157 -site=* |
--site=* |
--sit=*)
1160 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1162 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1163 srcdir
=$ac_optarg ;;
1165 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1166 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1167 ac_prev
=sysconfdir
;;
1168 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1169 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1170 sysconfdir
=$ac_optarg ;;
1172 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1173 ac_prev
=target_alias
;;
1174 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1175 target_alias
=$ac_optarg ;;
1177 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1180 -version |
--version |
--versio |
--versi |
--vers |
-V)
1181 ac_init_version
=: ;;
1184 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1187 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_useropt_orig
=$ac_useropt
1190 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep
=', ';;
1198 eval with_
$ac_useropt=\
$ac_optarg ;;
1200 -without-* |
--without-*)
1201 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1204 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_useropt_orig
=$ac_useropt
1207 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1212 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213 ac_unrecognized_sep
=', ';;
1215 eval with_
$ac_useropt=no
;;
1218 # Obsolete; use --with-x.
1221 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1222 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1223 ac_prev
=x_includes
;;
1224 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1225 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1226 x_includes
=$ac_optarg ;;
1228 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1229 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1230 ac_prev
=x_libraries
;;
1231 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1232 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1233 x_libraries
=$ac_optarg ;;
1235 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1236 Try \`$0 --help' for more information." >&2
1237 { (exit 1); exit 1; }; }
1241 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1244 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1245 { (exit 1); exit 1; }; }
1246 eval $ac_envvar=\
$ac_optarg
1247 export $ac_envvar ;;
1250 # FIXME: should be removed in autoconf 3.0.
1251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1260 if test -n "$ac_prev"; then
1261 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1262 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1263 { (exit 1); exit 1; }; }
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1269 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1270 { (exit 1); exit 1; }; } ;;
1271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275 # Check all directory arguments for consistency.
1276 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1277 datadir sysconfdir sharedstatedir localstatedir includedir \
1278 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1279 libdir localedir mandir
1281 eval ac_val
=\$
$ac_var
1282 # Remove trailing slashes.
1285 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1286 eval $ac_var=\
$ac_val;;
1288 # Be sure to have absolute directory names.
1290 [\\/$
]* | ?
:[\\/]* ) continue;;
1291 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1293 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1294 { (exit 1); exit 1; }; }
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1302 target
=$target_alias
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x
; then
1306 if test "x$build_alias" = x
; then
1307 cross_compiling
=maybe
1308 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1309 If a cross compiler is detected then cross compile mode will be used." >&2
1310 elif test "x$build_alias" != "x$host_alias"; then
1316 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1318 test "$silent" = yes && exec 6>/dev
/null
1321 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1322 ac_ls_di
=`ls -di .` &&
1323 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1324 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1325 { (exit 1); exit 1; }; }
1326 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1328 { (exit 1); exit 1; }; }
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted
=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir
=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted
=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1367 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1368 { (exit 1); exit 1; }; }
1370 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1372 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1373 { (exit 1); exit 1; }; }
1375 # When building in place, set srcdir=.
1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
1379 # Remove unnecessary trailing slashes from srcdir.
1380 # Double slashes in file names in object file debugging info
1381 # mess up M-x gdb in Emacs.
1383 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1385 for ac_var
in $ac_precious_vars; do
1386 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1388 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1393 # Report the --help message.
1395 if test "$ac_init_help" = "long"; then
1396 # Omit some internal or obsolete options to make the list less imposing.
1397 # This message is too long to be a string in the A/UX 3.1 sh.
1399 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1401 Usage: $0 [OPTION]... [VAR=VALUE]...
1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1404 VAR=VALUE. See below for descriptions of some of the useful variables.
1406 Defaults for the options are specified in brackets.
1409 -h, --help display this help and exit
1410 --help=short display options specific to this package
1411 --help=recursive display the short help of all the included packages
1412 -V, --version display version information and exit
1413 -q, --quiet, --silent do not print \`checking...' messages
1414 --cache-file=FILE cache test results in FILE [disabled]
1415 -C, --config-cache alias for \`--cache-file=config.cache'
1416 -n, --no-create do not create output files
1417 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1419 Installation directories:
1420 --prefix=PREFIX install architecture-independent files in PREFIX
1421 [$ac_default_prefix]
1422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1425 By default, \`make install' will install all the files in
1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1428 for instance \`--prefix=\$HOME'.
1430 For better control, use the options below.
1432 Fine tuning of the installation directories:
1433 --bindir=DIR user executables [EPREFIX/bin]
1434 --sbindir=DIR system admin executables [EPREFIX/sbin]
1435 --libexecdir=DIR program executables [EPREFIX/libexec]
1436 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1437 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1438 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1457 --build=BUILD configure
for building on BUILD
[guessed
]
1458 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1469 --disable-option-checking ignore unrecognized
--enable/--with options
1470 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1471 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1472 --disable-sanity-checks really
do not use threads
(should not be used except
1473 in special situations
) [default
=yes]
1474 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1476 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1477 --enable-profile build profiled library
[default
=no
]
1478 --enable-omitfp build undebuggable optimized library
[default
=no
]
1479 --enable-bounded build with runtime bounds checking
[default
=no
]
1480 --disable-versioning do not include versioning information
in the library
1481 objects
[default
=yes if supported
]
1482 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1483 [default
=glibc default
]
1484 --enable-stackguard-randomization
1485 initialize __stack_chk_guard canary with a random
1486 number
at program start
1487 --enable-add-ons[=DIRS...
]
1488 configure and build add-ons
in DIR1
,DIR2
,... search
1489 for add-ons
if no parameter given
1490 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1491 --enable-bind-now disable lazy relocations
in DSOs
1492 --enable-static-nss build static NSS modules
[default
=no
]
1493 --disable-force-install don
't force installation of files from this package,
1494 even if they are older than the installed files
1495 --enable-kernel=VERSION compile for compatibility with kernel not older than
1497 --enable-all-warnings enable all useful warnings gcc can issue
1498 --enable-multi-arch enable single DSO with optimizations for multiple
1500 --enable-experimental-malloc
1501 enable experimental malloc features
1502 --enable-nss-crypt enable libcrypt to use nss
1505 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1506 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1507 --with-gd=DIR find libgd include dir and library with prefix DIR
1508 --with-gd-include=DIR find libgd include files in DIR
1509 --with-gd-lib=DIR find libgd library files in DIR
1510 --with-fp if using floating-point hardware [default=yes]
1511 --with-binutils=PATH specify location of binutils (as and ld)
1512 --with-elf if using the ELF object format
1513 --with-selinux if building with SELinux support
1514 --with-xcoff if using the XCOFF object format
1515 --without-cvs if CVS should not be used
1516 --with-headers=PATH location of system headers to use (for example
1517 /usr/src/linux/include) [default=compiler default]
1518 --with-tls enable support for TLS
1519 --without-__thread do not use TLS features even when supporting them
1520 --with-cpu=CPU select code for CPU variant
1522 Some influential environment variables:
1523 CC C compiler command
1524 CFLAGS C compiler flags
1525 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1526 nonstandard directory <lib dir>
1527 LIBS libraries to pass to the linker, e.g. -l<library>
1528 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1529 you have headers in a nonstandard directory <include dir>
1531 CXX C++ compiler command
1532 CXXFLAGS C++ compiler flags
1534 Use these variables to override the choices made by `configure' or to
help
1535 it to
find libraries and programs with nonstandard names
/locations.
1537 Report bugs to
<glibc
>.
1542 if test "$ac_init_help" = "recursive"; then
1543 # If there are subdirs, report their specific --help.
1544 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1545 test -d "$ac_dir" ||
1546 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1551 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1553 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554 # A ".." for each directory in $ac_dir_suffix.
1555 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556 case $ac_top_builddir_sub in
1557 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1558 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1561 ac_abs_top_builddir
=$ac_pwd
1562 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1563 # for backward compatibility:
1564 ac_top_builddir
=$ac_top_build_prefix
1567 .
) # We are building in place.
1569 ac_top_srcdir
=$ac_top_builddir_sub
1570 ac_abs_top_srcdir
=$ac_pwd ;;
1571 [\\/]* | ?
:[\\/]* ) # Absolute name.
1572 ac_srcdir
=$srcdir$ac_dir_suffix;
1573 ac_top_srcdir
=$srcdir
1574 ac_abs_top_srcdir
=$srcdir ;;
1576 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1578 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1580 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1582 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1583 # Check for guested configure.
1584 if test -f "$ac_srcdir/configure.gnu"; then
1586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587 elif test -f "$ac_srcdir/configure"; then
1589 $SHELL "$ac_srcdir/configure" --help=recursive
1591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1593 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1597 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then
1600 GNU C Library configure
(see version.h
)
1601 generated by GNU Autoconf
2.63
1603 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1604 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1605 This configure
script is free software
; the Free Software Foundation
1606 gives unlimited permission to copy
, distribute and modify it.
1610 cat >config.log
<<_ACEOF
1611 This file contains any messages produced by compilers while
1612 running configure, to aid debugging if configure makes a mistake.
1614 It was created by GNU C Library $as_me (see version.h), which was
1615 generated by GNU Autoconf 2.63. Invocation command line was
1627 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1628 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1629 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1630 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1631 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1633 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1634 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1636 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1637 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1638 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1639 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1640 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1641 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1642 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir
=.
1651 $as_echo "PATH: $as_dir"
1667 # Keep a trace of the command line.
1668 # Strip out --no-create and --no-recursion so they do not pile up.
1669 # Strip out --silent because we don't want to record it for future runs.
1670 # Also quote any args containing shell meta-characters.
1671 # Make two passes to allow for proper duplicate-argument suppression.
1675 ac_must_keep_next
=false
1681 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1682 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1683 |
-silent |
--silent |
--silen |
--sile |
--sil)
1686 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1689 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1691 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1692 if test $ac_must_keep_next = true
; then
1693 ac_must_keep_next
=false
# Got value, back to normal.
1696 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1697 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1698 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1699 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1700 case "$ac_configure_args0 " in
1701 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1704 -* ) ac_must_keep_next
=true
;;
1707 ac_configure_args
="$ac_configure_args '$ac_arg'"
1712 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1713 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1715 # When interrupted or exit'd, cleanup temporary files, and complete
1716 # config.log. We remove comments because anyway the quotes in there
1717 # would cause problems or look ugly.
1718 # WARNING: Use '\'' to represent an apostrophe within the trap.
1719 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1720 trap 'exit_status=$?
1721 # Save into config.log some information that might help in debugging.
1726 ## ---------------- ##
1727 ## Cache variables. ##
1728 ## ---------------- ##
1731 # The following way of writing the cache mishandles newlines in values,
1733 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1734 eval ac_val=\$$ac_var
1738 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1739 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1742 _ | IFS | as_nl) ;; #(
1743 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1744 *) $as_unset $ac_var ;;
1749 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1750 *${as_nl}ac_space=\ *)
1752 "s/'\''/'\''\\\\'\'''\''/g;
1753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1764 ## ----------------- ##
1765 ## Output variables. ##
1766 ## ----------------- ##
1769 for ac_var in $ac_subst_vars
1771 eval ac_val=\$$ac_var
1773 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1775 $as_echo "$ac_var='\''$ac_val'\''"
1779 if test -n "$ac_subst_files"; then
1781 ## ------------------- ##
1782 ## File substitutions. ##
1783 ## ------------------- ##
1786 for ac_var
in $ac_subst_files
1788 eval ac_val
=\$
$ac_var
1790 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1792 $as_echo "$ac_var='\''$ac_val'\''"
1797 if test -s confdefs.h; then
1807 test "$ac_signal" != 0 &&
1808 $as_echo "$as_me: caught signal $ac_signal"
1809 $as_echo "$as_me: exit $exit_status"
1811 rm -f core *.core core.conftest.* &&
1812 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1815 for ac_signal
in 1 2 13 15; do
1816 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1820 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1821 rm -f -r conftest
* confdefs.h
1823 # Predefined preprocessor variables.
1825 cat >>confdefs.h
<<_ACEOF
1826 #define PACKAGE_NAME "$PACKAGE_NAME"
1830 cat >>confdefs.h
<<_ACEOF
1831 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1835 cat >>confdefs.h
<<_ACEOF
1836 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1840 cat >>confdefs.h
<<_ACEOF
1841 #define PACKAGE_STRING "$PACKAGE_STRING"
1845 cat >>confdefs.h
<<_ACEOF
1846 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1850 # Let the site file select an alternate cache file if it wants to.
1851 # Prefer an explicitly selected file to automatically selected ones.
1854 if test -n "$CONFIG_SITE"; then
1855 ac_site_file1
=$CONFIG_SITE
1856 elif test "x$prefix" != xNONE
; then
1857 ac_site_file1
=$prefix/share
/config.site
1858 ac_site_file2
=$prefix/etc
/config.site
1860 ac_site_file1
=$ac_default_prefix/share
/config.site
1861 ac_site_file2
=$ac_default_prefix/etc
/config.site
1863 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1865 test "x$ac_site_file" = xNONE
&& continue
1866 if test -r "$ac_site_file"; then
1867 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1868 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1869 sed 's/^/| /' "$ac_site_file" >&5
1874 if test -r "$cache_file"; then
1875 # Some versions of bash will fail to source /dev/null (special
1876 # files actually), so we avoid doing that.
1877 if test -f "$cache_file"; then
1878 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1879 $as_echo "$as_me: loading cache $cache_file" >&6;}
1881 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1882 *) .
"./$cache_file";;
1886 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1887 $as_echo "$as_me: creating cache $cache_file" >&6;}
1891 # Check that the precious variables saved in the cache have kept the same
1893 ac_cache_corrupted
=false
1894 for ac_var
in $ac_precious_vars; do
1895 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1896 eval ac_new_set
=\
$ac_env_${ac_var}_set
1897 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1898 eval ac_new_val
=\
$ac_env_${ac_var}_value
1899 case $ac_old_set,$ac_new_set in
1901 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1902 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1903 ac_cache_corrupted
=: ;;
1905 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1906 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1907 ac_cache_corrupted
=: ;;
1910 if test "x$ac_old_val" != "x$ac_new_val"; then
1911 # differences in whitespace do not lead to failure.
1912 ac_old_val_w
=`echo x $ac_old_val`
1913 ac_new_val_w
=`echo x $ac_new_val`
1914 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1915 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1916 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1917 ac_cache_corrupted
=:
1919 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1920 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1921 eval $ac_var=\
$ac_old_val
1923 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1924 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1925 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1926 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1929 # Pass precious variables to config.status.
1930 if test "$ac_new_set" = set; then
1932 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1933 *) ac_arg
=$ac_var=$ac_new_val ;;
1935 case " $ac_configure_args " in
1936 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1937 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1941 if $ac_cache_corrupted; then
1942 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1944 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1945 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1946 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1947 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1948 { (exit 1); exit 1; }; }
1976 ac_cpp
='$CPP $CPPFLAGS'
1977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1983 ac_config_headers
="$ac_config_headers config.h"
1986 for ac_dir
in scripts
"$srcdir"/scripts
; do
1987 if test -f "$ac_dir/install-sh"; then
1989 ac_install_sh
="$ac_aux_dir/install-sh -c"
1991 elif test -f "$ac_dir/install.sh"; then
1993 ac_install_sh
="$ac_aux_dir/install.sh -c"
1995 elif test -f "$ac_dir/shtool"; then
1997 ac_install_sh
="$ac_aux_dir/shtool install -c"
2001 if test -z "$ac_aux_dir"; then
2002 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2003 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2004 { (exit 1); exit 1; }; }
2007 # These three variables are undocumented and unsupported,
2008 # and are intended to be withdrawn in a future Autoconf release.
2009 # They can cause serious problems if a builder's source tree is in a directory
2010 # whose full name contains unusual characters.
2011 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2012 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2013 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2022 # Make sure we can run config.sub.
2023 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2024 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2025 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2026 { (exit 1); exit 1; }; }
2028 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2029 $as_echo_n "checking build system type... " >&6; }
2030 if test "${ac_cv_build+set}" = set; then
2031 $as_echo_n "(cached) " >&6
2033 ac_build_alias
=$build_alias
2034 test "x$ac_build_alias" = x
&&
2035 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2036 test "x$ac_build_alias" = x
&&
2037 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2038 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2039 { (exit 1); exit 1; }; }
2040 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2041 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2042 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2043 { (exit 1); exit 1; }; }
2046 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2047 $as_echo "$ac_cv_build" >&6; }
2048 case $ac_cv_build in
2050 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2051 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2052 { (exit 1); exit 1; }; };;
2055 ac_save_IFS
=$IFS; IFS
='-'
2061 # Remember, the first character of IFS is used to create $*,
2062 # except with old shells:
2065 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2068 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2069 $as_echo_n "checking host system type... " >&6; }
2070 if test "${ac_cv_host+set}" = set; then
2071 $as_echo_n "(cached) " >&6
2073 if test "x$host_alias" = x
; then
2074 ac_cv_host
=$ac_cv_build
2076 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2077 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2078 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2079 { (exit 1); exit 1; }; }
2083 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2084 $as_echo "$ac_cv_host" >&6; }
2087 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2088 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2089 { (exit 1); exit 1; }; };;
2092 ac_save_IFS
=$IFS; IFS
='-'
2098 # Remember, the first character of IFS is used to create $*,
2099 # except with old shells:
2102 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2107 ac_cpp
='$CPP $CPPFLAGS'
2108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2111 if test -n "$ac_tool_prefix"; then
2112 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2113 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2114 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 $as_echo_n "checking for $ac_word... " >&6; }
2116 if test "${ac_cv_prog_CC+set}" = set; then
2117 $as_echo_n "(cached) " >&6
2119 if test -n "$CC"; then
2120 ac_cv_prog_CC
="$CC" # Let the user override the test.
2122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir
=.
2127 for ac_exec_ext
in '' $ac_executable_extensions; do
2128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2130 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 if test -n "$CC"; then
2141 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2142 $as_echo "$CC" >&6; }
2144 { $as_echo "$as_me:$LINENO: result: no" >&5
2145 $as_echo "no" >&6; }
2150 if test -z "$ac_cv_prog_CC"; then
2152 # Extract the first word of "gcc", so it can be a program name with args.
2153 set dummy gcc
; ac_word
=$2
2154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 $as_echo_n "checking for $ac_word... " >&6; }
2156 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2157 $as_echo_n "(cached) " >&6
2159 if test -n "$ac_ct_CC"; then
2160 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir
=.
2167 for ac_exec_ext
in '' $ac_executable_extensions; do
2168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169 ac_cv_prog_ac_ct_CC
="gcc"
2170 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 $as_echo "$ac_ct_CC" >&6; }
2184 { $as_echo "$as_me:$LINENO: result: no" >&5
2185 $as_echo "no" >&6; }
2188 if test "x$ac_ct_CC" = x
; then
2191 case $cross_compiling:$ac_tool_warned in
2193 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2195 ac_tool_warned
=yes ;;
2203 if test -z "$CC"; then
2204 if test -n "$ac_tool_prefix"; then
2205 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2206 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 $as_echo_n "checking for $ac_word... " >&6; }
2209 if test "${ac_cv_prog_CC+set}" = set; then
2210 $as_echo_n "(cached) " >&6
2212 if test -n "$CC"; then
2213 ac_cv_prog_CC
="$CC" # Let the user override the test.
2215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir
=.
2220 for ac_exec_ext
in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2223 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test -n "$CC"; then
2234 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2235 $as_echo "$CC" >&6; }
2237 { $as_echo "$as_me:$LINENO: result: no" >&5
2238 $as_echo "no" >&6; }
2244 if test -z "$CC"; then
2245 # Extract the first word of "cc", so it can be a program name with args.
2246 set dummy cc
; ac_word
=$2
2247 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2248 $as_echo_n "checking for $ac_word... " >&6; }
2249 if test "${ac_cv_prog_CC+set}" = set; then
2250 $as_echo_n "(cached) " >&6
2252 if test -n "$CC"; then
2253 ac_cv_prog_CC
="$CC" # Let the user override the test.
2256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2260 test -z "$as_dir" && as_dir
=.
2261 for ac_exec_ext
in '' $ac_executable_extensions; do
2262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2264 ac_prog_rejected
=yes
2268 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 if test $ac_prog_rejected = yes; then
2276 # We found a bogon in the path, so make sure we never use it.
2277 set dummy
$ac_cv_prog_CC
2279 if test $# != 0; then
2280 # We chose a different compiler from the bogus one.
2281 # However, it has the same basename, so the bogon will be chosen
2282 # first if we set CC to just the basename; use the full file name.
2284 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2290 if test -n "$CC"; then
2291 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2292 $as_echo "$CC" >&6; }
2294 { $as_echo "$as_me:$LINENO: result: no" >&5
2295 $as_echo "no" >&6; }
2300 if test -z "$CC"; then
2301 if test -n "$ac_tool_prefix"; then
2302 for ac_prog
in cl.exe
2304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2305 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2306 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_CC+set}" = set; then
2309 $as_echo_n "(cached) " >&6
2311 if test -n "$CC"; then
2312 ac_cv_prog_CC
="$CC" # Let the user override the test.
2314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir
=.
2319 for ac_exec_ext
in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2322 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 if test -n "$CC"; then
2333 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2334 $as_echo "$CC" >&6; }
2336 { $as_echo "$as_me:$LINENO: result: no" >&5
2337 $as_echo "no" >&6; }
2341 test -n "$CC" && break
2344 if test -z "$CC"; then
2346 for ac_prog
in cl.exe
2348 # Extract the first word of "$ac_prog", so it can be a program name with args.
2349 set dummy
$ac_prog; ac_word
=$2
2350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2353 $as_echo_n "(cached) " >&6
2355 if test -n "$ac_ct_CC"; then
2356 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir
=.
2363 for ac_exec_ext
in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_ac_ct_CC
="$ac_prog"
2366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2376 if test -n "$ac_ct_CC"; then
2377 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2378 $as_echo "$ac_ct_CC" >&6; }
2380 { $as_echo "$as_me:$LINENO: result: no" >&5
2381 $as_echo "no" >&6; }
2385 test -n "$ac_ct_CC" && break
2388 if test "x$ac_ct_CC" = x
; then
2391 case $cross_compiling:$ac_tool_warned in
2393 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2395 ac_tool_warned
=yes ;;
2404 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2406 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2407 See \`config.log' for more details." >&5
2408 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2409 See \`config.log' for more details." >&2;}
2410 { (exit 1); exit 1; }; }; }
2412 # Provide some information about the compiler.
2413 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2416 { (ac_try
="$ac_compiler --version >&5"
2418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2419 *) ac_try_echo=$ac_try;;
2421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2422 $as_echo "$ac_try_echo") >&5
2423 (eval "$ac_compiler --version >&5") 2>&5
2425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }
2427 { (ac_try="$ac_compiler -v >&5"
2429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2430 *) ac_try_echo
=$ac_try;;
2432 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2433 $as_echo "$ac_try_echo") >&5
2434 (eval "$ac_compiler -v >&5") 2>&5
2436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }
2438 { (ac_try
="$ac_compiler -V >&5"
2440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2441 *) ac_try_echo=$ac_try;;
2443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2444 $as_echo "$ac_try_echo") >&5
2445 (eval "$ac_compiler -V >&5") 2>&5
2447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }
2451 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2452 $as_echo_n "checking for suffix of object files... " >&6; }
2453 if test "${ac_cv_objext+set}" = set; then
2454 $as_echo_n "(cached) " >&6
2456 cat >conftest.$ac_ext <<_ACEOF
2459 cat confdefs.h >>conftest.$ac_ext
2460 cat >>conftest.$ac_ext <<_ACEOF
2461 /* end confdefs.h. */
2471 rm -f conftest.o conftest.obj
2472 if { (ac_try="$ac_compile"
2474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2475 *) ac_try_echo
=$ac_try;;
2477 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2478 $as_echo "$ac_try_echo") >&5
2479 (eval "$ac_compile") 2>&5
2481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; then
2483 for ac_file
in conftest.o conftest.obj conftest.
*; do
2484 test -f "$ac_file" ||
continue;
2486 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2487 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2492 $as_echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.
$ac_ext >&5
2495 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2497 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2498 See \`config.log' for more details." >&5
2499 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2500 See \`config.log' for more details." >&2;}
2501 { (exit 1); exit 1; }; }; }
2504 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2506 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2507 $as_echo "$ac_cv_objext" >&6; }
2508 OBJEXT
=$ac_cv_objext
2510 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2511 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2512 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2513 $as_echo_n "(cached) " >&6
2515 cat >conftest.
$ac_ext <<_ACEOF
2518 cat confdefs.h
>>conftest.
$ac_ext
2519 cat >>conftest.
$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2533 rm -f conftest.
$ac_objext
2534 if { (ac_try
="$ac_compile"
2536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2540 $as_echo "$ac_try_echo") >&5
2541 (eval "$ac_compile") 2>conftest.er1
2543 grep -v '^ *+' conftest.er1 >conftest.err
2545 cat conftest.err >&5
2546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); } && {
2548 test -z "$ac_c_werror_flag" ||
2549 test ! -s conftest.err
2550 } && test -s conftest.$ac_objext; then
2553 $as_echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2563 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2564 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2565 if test $ac_compiler_gnu = yes; then
2570 ac_test_CFLAGS=${CFLAGS+set}
2571 ac_save_CFLAGS=$CFLAGS
2572 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2573 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2574 if test "${ac_cv_prog_cc_g+set}" = set; then
2575 $as_echo_n "(cached) " >&6
2577 ac_save_c_werror_flag=$ac_c_werror_flag
2578 ac_c_werror_flag=yes
2581 cat >conftest.$ac_ext <<_ACEOF
2584 cat confdefs.h >>conftest.$ac_ext
2585 cat >>conftest.$ac_ext <<_ACEOF
2586 /* end confdefs.h. */
2596 rm -f conftest.$ac_objext
2597 if { (ac_try="$ac_compile"
2599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2600 *) ac_try_echo
=$ac_try;;
2602 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2603 $as_echo "$ac_try_echo") >&5
2604 (eval "$ac_compile") 2>conftest.er1
2606 grep -v '^ *+' conftest.er1
>conftest.err
2608 cat conftest.err
>&5
2609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } && {
2611 test -z "$ac_c_werror_flag" ||
2612 test ! -s conftest.err
2613 } && test -s conftest.
$ac_objext; then
2616 $as_echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.
$ac_ext >&5
2620 cat >conftest.
$ac_ext <<_ACEOF
2623 cat confdefs.h
>>conftest.
$ac_ext
2624 cat >>conftest.
$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2635 rm -f conftest.
$ac_objext
2636 if { (ac_try
="$ac_compile"
2638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642 $as_echo "$ac_try_echo") >&5
2643 (eval "$ac_compile") 2>conftest.er1
2645 grep -v '^ *+' conftest.er1 >conftest.err
2647 cat conftest.err >&5
2648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } && {
2650 test -z "$ac_c_werror_flag" ||
2651 test ! -s conftest.err
2652 } && test -s conftest.$ac_objext; then
2655 $as_echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.$ac_ext >&5
2658 ac_c_werror_flag=$ac_save_c_werror_flag
2660 cat >conftest.$ac_ext <<_ACEOF
2663 cat confdefs.h >>conftest.$ac_ext
2664 cat >>conftest.$ac_ext <<_ACEOF
2665 /* end confdefs.h. */
2675 rm -f conftest.$ac_objext
2676 if { (ac_try="$ac_compile"
2678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2679 *) ac_try_echo
=$ac_try;;
2681 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2682 $as_echo "$ac_try_echo") >&5
2683 (eval "$ac_compile") 2>conftest.er1
2685 grep -v '^ *+' conftest.er1
>conftest.err
2687 cat conftest.err
>&5
2688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } && {
2690 test -z "$ac_c_werror_flag" ||
2691 test ! -s conftest.err
2692 } && test -s conftest.
$ac_objext; then
2695 $as_echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2708 ac_c_werror_flag
=$ac_save_c_werror_flag
2710 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2711 $as_echo "$ac_cv_prog_cc_g" >&6; }
2712 if test "$ac_test_CFLAGS" = set; then
2713 CFLAGS
=$ac_save_CFLAGS
2714 elif test $ac_cv_prog_cc_g = yes; then
2715 if test "$GCC" = yes; then
2721 if test "$GCC" = yes; then
2727 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2728 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2729 if test "${ac_cv_prog_cc_c89+set}" = set; then
2730 $as_echo_n "(cached) " >&6
2732 ac_cv_prog_cc_c89
=no
2734 cat >conftest.
$ac_ext <<_ACEOF
2737 cat confdefs.h
>>conftest.
$ac_ext
2738 cat >>conftest.
$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 #include <sys/types.h>
2743 #include <sys/stat.h>
2744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2745 struct buf { int x; };
2746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2747 static char *e (p, i)
2753 static char *f (char * (*g) (char **, int), char **p, ...)
2758 s = g (p, va_arg (v,int));
2763 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2764 function prototypes and stuff, but not '\xHH' hex character constants.
2765 These don't provoke an error unfortunately, instead are silently treated
2766 as 'x'. The following induces an error, until -std is added to get
2767 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2768 array size at least. It's necessary to write '\x00'==0 to get something
2769 that's true only with -std. */
2770 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2772 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2773 inside strings and character constants. */
2775 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2791 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2792 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2794 CC
="$ac_save_CC $ac_arg"
2795 rm -f conftest.
$ac_objext
2796 if { (ac_try
="$ac_compile"
2798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2802 $as_echo "$ac_try_echo") >&5
2803 (eval "$ac_compile") 2>conftest.er1
2805 grep -v '^ *+' conftest.er1 >conftest.err
2807 cat conftest.err >&5
2808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } && {
2810 test -z "$ac_c_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.$ac_objext; then
2813 ac_cv_prog_cc_c89=$ac_arg
2815 $as_echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2821 rm -f core conftest.err conftest.$ac_objext
2822 test "x$ac_cv_prog_cc_c89" != "xno" && break
2824 rm -f conftest.$ac_ext
2829 case "x$ac_cv_prog_cc_c89" in
2831 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2832 $as_echo "none needed" >&6; } ;;
2834 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2835 $as_echo "unsupported" >&6; } ;;
2837 CC="$CC $ac_cv_prog_cc_c89"
2838 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2839 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2844 ac_cpp='$CPP $CPPFLAGS'
2845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2849 if test $host != $build; then
2850 for ac_prog in gcc cc
2852 # Extract the first word of "$ac_prog", so it can be a program name with args.
2853 set dummy $ac_prog; ac_word=$2
2854 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2857 $as_echo_n "(cached) " >&6
2859 if test -n "$BUILD_CC"; then
2860 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir=.
2867 for ac_exec_ext in '' $ac_executable_extensions; do
2868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2869 ac_cv_prog_BUILD_CC="$ac_prog"
2870 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2879 BUILD_CC=$ac_cv_prog_BUILD_CC
2880 if test -n "$BUILD_CC"; then
2881 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2882 $as_echo "$BUILD_CC" >&6; }
2884 { $as_echo "$as_me:$LINENO: result: no" >&5
2885 $as_echo "no" >&6; }
2889 test -n "$BUILD_CC" && break
2895 ac_cpp='$CPP $CPPFLAGS'
2896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2899 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2900 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2901 # On Suns, sometimes $CPP names a directory.
2902 if test -n "$CPP" && test -d "$CPP"; then
2905 if test -z "$CPP"; then
2906 if test "${ac_cv_prog_CPP+set}" = set; then
2907 $as_echo_n "(cached) " >&6
2909 # Double quotes because CPP needs to be expanded
2910 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2913 for ac_c_preproc_warn_flag in '' yes
2915 # Use a header file that comes with gcc, so configuring glibc
2916 # with a fresh cross-compiler works.
2917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2918 # <limits.h> exists even on freestanding compilers.
2919 # On the NeXT, cc -E runs the code through the compiler's parser,
2920 # not just through cpp. "Syntax error" is here to catch this case.
2921 cat >conftest.$ac_ext <<_ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2928 # include <limits.h>
2930 # include <assert.h>
2934 if { (ac_try="$ac_cpp conftest.$ac_ext"
2936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2937 *) ac_try_echo
=$ac_try;;
2939 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2940 $as_echo "$ac_try_echo") >&5
2941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2943 grep -v '^ *+' conftest.er1
>conftest.err
2945 cat conftest.err
>&5
2946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } >/dev
/null
&& {
2948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2949 test ! -s conftest.err
2953 $as_echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.
$ac_ext >&5
2956 # Broken: fails on valid input.
2960 rm -f conftest.err conftest.
$ac_ext
2962 # OK, works on sane cases. Now check whether nonexistent headers
2963 # can be detected and how.
2964 cat >conftest.
$ac_ext <<_ACEOF
2967 cat confdefs.h
>>conftest.
$ac_ext
2968 cat >>conftest.
$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2970 #include <ac_nonexistent.h>
2972 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2978 $as_echo "$ac_try_echo") >&5
2979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2981 grep -v '^ *+' conftest.er1 >conftest.err
2983 cat conftest.err >&5
2984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); } >/dev/null && {
2986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2987 test ! -s conftest.err
2989 # Broken: success on invalid input.
2992 $as_echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 # Passes both tests.
3000 rm -f conftest.err conftest.$ac_ext
3003 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3004 rm -f conftest.err conftest.
$ac_ext
3005 if $ac_preproc_ok; then
3017 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3018 $as_echo "$CPP" >&6; }
3020 for ac_c_preproc_warn_flag
in '' yes
3022 # Use a header file that comes with gcc, so configuring glibc
3023 # with a fresh cross-compiler works.
3024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3025 # <limits.h> exists even on freestanding compilers.
3026 # On the NeXT, cc -E runs the code through the compiler's parser,
3027 # not just through cpp. "Syntax error" is here to catch this case.
3028 cat >conftest.
$ac_ext <<_ACEOF
3031 cat confdefs.h
>>conftest.
$ac_ext
3032 cat >>conftest.
$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3035 # include <limits.h>
3037 # include <assert.h>
3041 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3047 $as_echo "$ac_try_echo") >&5
3048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3050 grep -v '^ *+' conftest.er1 >conftest.err
3052 cat conftest.err >&5
3053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } >/dev/null && {
3055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3056 test ! -s conftest.err
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 # Broken: fails on valid input.
3067 rm -f conftest.err conftest.$ac_ext
3069 # OK, works on sane cases. Now check whether nonexistent headers
3070 # can be detected and how.
3071 cat >conftest.$ac_ext <<_ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3077 #include <ac_nonexistent.h>
3079 if { (ac_try="$ac_cpp conftest.$ac_ext"
3081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3082 *) ac_try_echo
=$ac_try;;
3084 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3085 $as_echo "$ac_try_echo") >&5
3086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3088 grep -v '^ *+' conftest.er1
>conftest.err
3090 cat conftest.err
>&5
3091 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } >/dev
/null
&& {
3093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3094 test ! -s conftest.err
3096 # Broken: success on invalid input.
3099 $as_echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.
$ac_ext >&5
3102 # Passes both tests.
3107 rm -f conftest.err conftest.
$ac_ext
3110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3111 rm -f conftest.err conftest.
$ac_ext
3112 if $ac_preproc_ok; then
3115 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&5
3119 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3120 See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }; }
3125 ac_cpp
='$CPP $CPPFLAGS'
3126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3130 # We need the C++ compiler only for testing.
3132 ac_cpp
='$CXXCPP $CPPFLAGS'
3133 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3136 if test -z "$CXX"; then
3137 if test -n "$CCC"; then
3140 if test -n "$ac_tool_prefix"; then
3141 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3144 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3145 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if test "${ac_cv_prog_CXX+set}" = set; then
3148 $as_echo_n "(cached) " >&6
3150 if test -n "$CXX"; then
3151 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir
=.
3158 for ac_exec_ext
in '' $ac_executable_extensions; do
3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3160 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3161 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 if test -n "$CXX"; then
3172 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3173 $as_echo "$CXX" >&6; }
3175 { $as_echo "$as_me:$LINENO: result: no" >&5
3176 $as_echo "no" >&6; }
3180 test -n "$CXX" && break
3183 if test -z "$CXX"; then
3185 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3187 # Extract the first word of "$ac_prog", so it can be a program name with args.
3188 set dummy
$ac_prog; ac_word
=$2
3189 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3192 $as_echo_n "(cached) " >&6
3194 if test -n "$ac_ct_CXX"; then
3195 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_exec_ext
in '' $ac_executable_extensions; do
3203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3205 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3215 if test -n "$ac_ct_CXX"; then
3216 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3217 $as_echo "$ac_ct_CXX" >&6; }
3219 { $as_echo "$as_me:$LINENO: result: no" >&5
3220 $as_echo "no" >&6; }
3224 test -n "$ac_ct_CXX" && break
3227 if test "x$ac_ct_CXX" = x
; then
3230 case $cross_compiling:$ac_tool_warned in
3232 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned
=yes ;;
3242 # Provide some information about the compiler.
3243 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3246 { (ac_try
="$ac_compiler --version >&5"
3248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3252 $as_echo "$ac_try_echo") >&5
3253 (eval "$ac_compiler --version >&5") 2>&5
3255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }
3257 { (ac_try="$ac_compiler -v >&5"
3259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3260 *) ac_try_echo
=$ac_try;;
3262 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3263 $as_echo "$ac_try_echo") >&5
3264 (eval "$ac_compiler -v >&5") 2>&5
3266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }
3268 { (ac_try
="$ac_compiler -V >&5"
3270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3274 $as_echo "$ac_try_echo") >&5
3275 (eval "$ac_compiler -V >&5") 2>&5
3277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }
3280 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3281 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3282 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3283 $as_echo_n "(cached) " >&6
3285 cat >conftest.$ac_ext <<_ACEOF
3288 cat confdefs.h >>conftest.$ac_ext
3289 cat >>conftest.$ac_ext <<_ACEOF
3290 /* end confdefs.h. */
3303 rm -f conftest.$ac_objext
3304 if { (ac_try="$ac_compile"
3306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3307 *) ac_try_echo
=$ac_try;;
3309 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3310 $as_echo "$ac_try_echo") >&5
3311 (eval "$ac_compile") 2>conftest.er1
3313 grep -v '^ *+' conftest.er1
>conftest.err
3315 cat conftest.err
>&5
3316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } && {
3318 test -z "$ac_cxx_werror_flag" ||
3319 test ! -s conftest.err
3320 } && test -s conftest.
$ac_objext; then
3323 $as_echo "$as_me: failed program was:" >&5
3324 sed 's/^/| /' conftest.
$ac_ext >&5
3329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3330 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3333 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3334 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3335 if test $ac_compiler_gnu = yes; then
3340 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3341 ac_save_CXXFLAGS
=$CXXFLAGS
3342 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3343 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3344 if test "${ac_cv_prog_cxx_g+set}" = set; then
3345 $as_echo_n "(cached) " >&6
3347 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3348 ac_cxx_werror_flag
=yes
3351 cat >conftest.
$ac_ext <<_ACEOF
3354 cat confdefs.h
>>conftest.
$ac_ext
3355 cat >>conftest.
$ac_ext <<_ACEOF
3356 /* end confdefs.h. */
3366 rm -f conftest.
$ac_objext
3367 if { (ac_try
="$ac_compile"
3369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3370 *) ac_try_echo=$ac_try;;
3372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3373 $as_echo "$ac_try_echo") >&5
3374 (eval "$ac_compile") 2>conftest.er1
3376 grep -v '^ *+' conftest.er1 >conftest.err
3378 cat conftest.err >&5
3379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } && {
3381 test -z "$ac_cxx_werror_flag" ||
3382 test ! -s conftest.err
3383 } && test -s conftest.$ac_objext; then
3384 ac_cv_prog_cxx_g=yes
3386 $as_echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3390 cat >conftest.$ac_ext <<_ACEOF
3393 cat confdefs.h >>conftest.$ac_ext
3394 cat >>conftest.$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3405 rm -f conftest.$ac_objext
3406 if { (ac_try="$ac_compile"
3408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3409 *) ac_try_echo
=$ac_try;;
3411 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3412 $as_echo "$ac_try_echo") >&5
3413 (eval "$ac_compile") 2>conftest.er1
3415 grep -v '^ *+' conftest.er1
>conftest.err
3417 cat conftest.err
>&5
3418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); } && {
3420 test -z "$ac_cxx_werror_flag" ||
3421 test ! -s conftest.err
3422 } && test -s conftest.
$ac_objext; then
3425 $as_echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.
$ac_ext >&5
3428 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3430 cat >conftest.
$ac_ext <<_ACEOF
3433 cat confdefs.h
>>conftest.
$ac_ext
3434 cat >>conftest.
$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3445 rm -f conftest.
$ac_objext
3446 if { (ac_try
="$ac_compile"
3448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3452 $as_echo "$ac_try_echo") >&5
3453 (eval "$ac_compile") 2>conftest.er1
3455 grep -v '^ *+' conftest.er1 >conftest.err
3457 cat conftest.err >&5
3458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } && {
3460 test -z "$ac_cxx_werror_flag" ||
3461 test ! -s conftest.err
3462 } && test -s conftest.$ac_objext; then
3463 ac_cv_prog_cxx_g=yes
3465 $as_echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3480 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3481 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3482 if test "$ac_test_CXXFLAGS" = set; then
3483 CXXFLAGS=$ac_save_CXXFLAGS
3484 elif test $ac_cv_prog_cxx_g = yes; then
3485 if test "$GXX" = yes; then
3491 if test "$GXX" = yes; then
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3504 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3505 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3506 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
3507 { (exit 1); exit 1; }; }
3510 # This will get text that should go into config.make.
3513 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3515 # Check whether --with-gd was given.
3516 if test "${with_gd+set}" = set; then
3517 withval=$with_gd; case "$with_gd" in
3519 *) libgd_include="-I$withval/include"
3520 libgd_ldflags="-L$withval/lib" ;;
3526 # Check whether --with-gd-include was given.
3527 if test "${with_gd_include+set}" = set; then
3528 withval=$with_gd_include; case "$with_gd_include" in
3530 *) libgd_include="-I$withval" ;;
3536 # Check whether --with-gd-lib was given.
3537 if test "${with_gd_lib+set}" = set; then
3538 withval=$with_gd_lib; case "$with_gd_lib" in
3540 *) libgd_ldflags="-L$withval" ;;
3546 if test -n "$libgd_include"; then
3547 config_vars="$config_vars
3548 CFLAGS-memusagestat.c = $libgd_include"
3550 if test -n "$libgd_ldflags"; then
3551 config_vars="$config_vars
3552 libgd-LDFLAGS = $libgd_ldflags"
3556 # Check whether --with-fp was given.
3557 if test "${with_fp+set}" = set; then
3558 withval=$with_fp; with_fp=$withval
3565 # Check whether --with-binutils was given.
3566 if test "${with_binutils+set}" = set; then
3567 withval=$with_binutils; path_binutils=$withval
3573 # Check whether --with-elf was given.
3574 if test "${with_elf+set}" = set; then
3575 withval=$with_elf; elf=$withval
3581 # Check whether --with-selinux was given.
3582 if test "${with_selinux+set}" = set; then
3583 withval=$with_selinux; with_selinux=$withval
3589 # Check whether --with-xcoff was given.
3590 if test "${with_xcoff+set}" = set; then
3591 withval=$with_xcoff; xcoff=$withval
3597 # Check whether --with-cvs was given.
3598 if test "${with_cvs+set}" = set; then
3599 withval=$with_cvs; with_cvs=$withval
3604 if test "$with_cvs" = yes; then
3605 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3613 # Check whether --with-headers was given.
3614 if test "${with_headers+set}" = set; then
3615 withval=$with_headers; sysheaders=$withval
3621 # Check whether --enable-sanity-checks was given.
3622 if test "${enable_sanity_checks+set}" = set; then
3623 enableval=$enable_sanity_checks; enable_sanity=$enableval
3630 # Check whether --enable-check-abi was given.
3631 if test "${enable_check_abi+set}" = set; then
3632 enableval=$enable_check_abi; enable_check_abi=$enableval
3639 # Check whether --enable-shared was given.
3640 if test "${enable_shared+set}" = set; then
3641 enableval=$enable_shared; shared=$enableval
3646 # Check whether --enable-profile was given.
3647 if test "${enable_profile+set}" = set; then
3648 enableval=$enable_profile; profile=$enableval
3653 # Check whether --enable-omitfp was given.
3654 if test "${enable_omitfp+set}" = set; then
3655 enableval=$enable_omitfp; omitfp=$enableval
3660 # Check whether --enable-bounded was given.
3661 if test "${enable_bounded+set}" = set; then
3662 enableval=$enable_bounded; bounded=$enableval
3667 # Check whether --enable-versioning was given.
3668 if test "${enable_versioning+set}" = set; then
3669 enableval=$enable_versioning; enable_versioning=$enableval
3671 enable_versioning=yes
3675 # Check whether --enable-oldest-abi was given.
3676 if test "${enable_oldest_abi+set}" = set; then
3677 enableval=$enable_oldest_abi; oldest_abi=$enableval
3682 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3685 cat >>confdefs.h <<_ACEOF
3686 #define GLIBC_OLDEST_ABI "$oldest_abi"
3692 # Check whether --enable-stackguard-randomization was given.
3693 if test "${enable_stackguard_randomization+set}" = set; then
3694 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3696 enable_stackguard_randomize=no
3699 if test "$enable_stackguard_randomize" = yes; then
3700 cat >>confdefs.h <<\_ACEOF
3701 #define ENABLE_STACKGUARD_RANDOMIZE 1
3706 # Check whether --enable-add-ons was given.
3707 if test "${enable_add_ons+set}" = set; then
3708 enableval=$enable_add_ons;
3715 # Check whether --with-tls was given.
3716 if test "${with_tls+set}" = set; then
3717 withval=$with_tls; usetls=$withval
3724 # Check whether --with-__thread was given.
3725 if test "${with___thread+set}" = set; then
3726 withval=$with___thread; use__thread=$withval
3732 # Check whether --enable-hidden-plt was given.
3733 if test "${enable_hidden_plt+set}" = set; then
3734 enableval=$enable_hidden_plt; hidden=$enableval
3739 if test "x$hidden" = xno; then
3740 cat >>confdefs.h <<\_ACEOF
3746 # Check whether --enable-bind-now was given.
3747 if test "${enable_bind_now+set}" = set; then
3748 enableval=$enable_bind_now; bindnow=$enableval
3755 # Check whether --enable-static-nss was given.
3756 if test "${enable_static_nss+set}" = set; then
3757 enableval=$enable_static_nss; static_nss=$enableval
3762 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3764 cat >>confdefs.h <<\_ACEOF
3765 #define DO_STATIC_NSS 1
3770 # Check whether --enable-force-install was given.
3771 if test "${enable_force_install+set}" = set; then
3772 enableval=$enable_force_install; force_install=$enableval
3779 # Check whether --enable-kernel was given.
3780 if test "${enable_kernel+set}" = set; then
3781 enableval=$enable_kernel; minimum_kernel=$enableval
3784 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3785 # Better nothing than this.
3788 if test "$minimum_kernel" = current; then
3789 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3793 # Check whether --enable-all-warnings was given.
3794 if test "${enable_all_warnings+set}" = set; then
3795 enableval=$enable_all_warnings; all_warnings=$enableval
3800 # Check whether --enable-multi-arch was given.
3801 if test "${enable_multi_arch+set}" = set; then
3802 enableval=$enable_multi_arch; multi_arch=$enableval
3807 if test x"$multi_arch" = xyes; then
3808 cat >>confdefs.h <<\_ACEOF
3809 #define USE_MULTIARCH 1
3812 multi_arch_d=/multiarch
3816 # Check whether --enable-experimental-malloc was given.
3817 if test "${enable_experimental_malloc+set}" = set; then
3818 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3823 # Check whether --enable-nss-crypt was given.
3824 if test "${enable_nss_crypt+set}" = set; then
3825 enableval=$enable_nss_crypt; nss_crypt=$enableval
3830 if test x$nss_crypt = xyes; then
3831 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3832 if test $? -ne 0; then
3833 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3834 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3835 { (exit 1); exit 1; }; }
3837 old_CFLAGS="$CFLAGS"
3838 CFLAGS="$CFLAGS $nss_includes"
3840 cat >conftest.$ac_ext <<_ACEOF
3843 #include <nsslowhash.h>
3844 void f (void) { NSSLOW_Init (); }
3846 rm -f conftest.$ac_objext
3847 if { (ac_try="$ac_compile"
3849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3850 *) ac_try_echo
=$ac_try;;
3852 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3853 $as_echo "$ac_try_echo") >&5
3854 (eval "$ac_compile") 2>conftest.er1
3856 grep -v '^ *+' conftest.er1
>conftest.err
3858 cat conftest.err
>&5
3859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } && {
3861 test -z "$ac_c_werror_flag" ||
3862 test ! -s conftest.err
3863 } && test -s conftest.
$ac_objext; then
3864 libc_cv_nss_crypt
=yes
3866 $as_echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.
$ac_ext >&5
3869 { { $as_echo "$as_me:$LINENO: error:
3870 cannot find NSS headers with lowlevel hash function interfaces" >&5
3871 $as_echo "$as_me: error:
3872 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3873 { (exit 1); exit 1; }; }
3876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3878 LIBS
="$LIBS -lfreebl3"
3879 cat >conftest.
$ac_ext <<_ACEOF
3882 cat confdefs.h
>>conftest.
$ac_ext
3883 cat >>conftest.
$ac_ext <<_ACEOF
3884 /* end confdefs.h. */
3887 #include <nsslowhash.h>
3896 rm -f conftest.
$ac_objext conftest
$ac_exeext
3897 if { (ac_try
="$ac_link"
3899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3903 $as_echo "$ac_try_echo") >&5
3904 (eval "$ac_link") 2>conftest.er1
3906 grep -v '^ *+' conftest.er1 >conftest.err
3908 cat conftest.err >&5
3909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } && {
3911 test -z "$ac_c_werror_flag" ||
3912 test ! -s conftest.err
3913 } && test -s conftest$ac_exeext && {
3914 test "$cross_compiling" = yes ||
3915 $as_test_x conftest$ac_exeext
3917 libc_cv_nss_crypt=yes
3919 $as_echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.$ac_ext >&5
3922 { { $as_echo "$as_me:$LINENO: error:
3923 cannot link program using lowlevel NSS hash functions" >&5
3924 $as_echo "$as_me: error:
3925 cannot link program using lowlevel NSS hash functions" >&2;}
3926 { (exit 1); exit 1; }; }
3929 rm -rf conftest.dSYM
3930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3931 conftest$ac_exeext conftest.$ac_ext
3932 CFLAGS="$old_CFLAGS"
3935 libc_cv_nss_crypt=no
3939 # The way shlib-versions is used to generate soversions.mk uses a
3940 # fairly simplistic model for name recognition that can't distinguish
3941 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3942 # of `gnu
*' here to be `gnu-gnu*' just so that shlib-versions can
3943 # tell. This doesn't get used much beyond that, so it's fairly safe.
3948 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3952 # We keep the original values in `$config_*' and never modify them, so we
3953 # can write them unchanged into config.make. Everything else uses
3954 # $machine, $vendor, and $os, and changes them whenever convenient.
3955 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3957 # Don't allow vendor == "unknown"
3958 test "$config_vendor" = unknown
&& config_vendor
=
3959 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3961 # Some configurations imply other options.
3963 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3964 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
3966 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
3967 # These systems (almost) always use the ELF format.
3971 # These systems are always xcoff
3977 # The configure fragment of an add-on port can modify these to supplement
3978 # or override the table in the case statement below. No fragment should
3979 # ever change the config_* variables, however.
3980 machine
=$config_machine
3981 vendor
=$config_vendor
3985 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3987 if test "$machine" = rs6000
; then
3991 # Braindead PowerPC box with absolutely no FPU.
3992 case "$machine-$host_os" in
4000 # Check whether --with-cpu was given.
4001 if test "${with_cpu+set}" = set; then
4002 withval
=$with_cpu; case "$withval" in
4003 yes|
'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
4004 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
4005 { (exit 1); exit 1; }; } ;;
4007 *) submachine
="$withval" ;;
4013 # An add-on can set this when it wants to disable the sanity check below.
4019 case "$enable_add_ons" in
4022 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
4023 sed 's@/[^/]*$@@' | sort | uniq`
4024 add_ons_automatic
=yes
4026 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
4027 add_ons_automatic
=no
;;
4033 if test x
"$add_ons" != x
; then
4034 for f
in $add_ons; do
4035 # Some sanity checks
4038 { { $as_echo "$as_me:$LINENO: error:
4039 *** It seems that you're using an old \`crypt' add-on. crypt is now
4040 *** part of glibc and using the old add-on will not work with this
4041 *** release. Start again with fresh sources and without the old
4042 *** \`crypt' add-on." >&5
4043 $as_echo "$as_me: error:
4044 *** It seems that you're using an old \`crypt' add-on. crypt is now
4045 *** part of glibc and using the old add-on will not work with this
4046 *** release. Start again with fresh sources and without the old
4047 *** \`crypt' add-on." >&2;}
4048 { (exit 1); exit 1; }; }
4051 { { $as_echo "$as_me:$LINENO: error:
4052 *** It seems that you're using an old \`localedata' add-on. localedata
4053 *** is now part of glibc and using the old add-on will not work with
4054 *** this release. Start again with fresh sources and without the old
4055 *** \`localedata' add-on." >&5
4056 $as_echo "$as_me: error:
4057 *** It seems that you're using an old \`localedata' add-on. localedata
4058 *** is now part of glibc and using the old add-on will not work with
4059 *** this release. Start again with fresh sources and without the old
4060 *** \`localedata' add-on." >&2;}
4061 { (exit 1); exit 1; }; }
4066 # Now source each add-on's configure fragment.
4067 # The fragments can use $srcdir/$libc_add_on to find themselves,
4068 # and test $add_ons_automatic to see if they were explicitly requested.
4069 # A fragment can clear (or even change) $libc_add_on to affect
4070 # whether it goes into the list to be actually used in the build.
4072 for libc_add_on
in $add_ons; do
4073 # Test whether such a directory really exists.
4074 # It can be absolute, or relative to $srcdir, or relative to the build dir.
4075 case "$libc_add_on" in
4077 libc_add_on_srcdir
=$libc_add_on
4080 test -d "$srcdir/$libc_add_on" ||
{
4081 if test -d "$libc_add_on"; then
4082 libc_add_on
="`pwd`/$libc_add_on"
4084 { { $as_echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
4085 $as_echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
4086 { (exit 1); exit 1; }; }
4089 libc_add_on_srcdir
=$srcdir/$libc_add_on
4093 libc_add_on_frag
=$libc_add_on_srcdir/configure
4094 libc_add_on_canonical
=
4095 libc_add_on_config_subdirs
=
4096 if test -r "$libc_add_on_frag"; then
4097 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
4098 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
4099 libc_add_on_canonical
=unknown
4100 libc_add_on_subdirs
=
4101 .
"$libc_add_on_frag"
4102 test -z "$libc_add_on" ||
{
4103 configured_add_ons
="$configured_add_ons $libc_add_on"
4104 if test "x$libc_add_on_canonical" = xunknown
; then
4105 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
4106 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
4107 { (exit 1); exit 1; }; }
4109 for d
in $libc_add_on_subdirs; do
4110 case "$libc_add_on" in
4111 /*) subdir_srcdir
="$libc_add_on" ;;
4112 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
4116 d
="${libc_add_on_canonical:-$libc_add_on}"
4122 subdir_srcdir
="$subdir_srcdir/$d"
4125 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4126 add_on_subdirs
="$add_on_subdirs $d"
4127 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
4128 $d-srcdir = $subdir_srcdir"
4130 for d
in $libc_add_on_config_subdirs; do
4132 /*) { { $as_echo "$as_me:$LINENO: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&5
4133 $as_echo "$as_me: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&2;}
4134 { (exit 1); exit 1; }; } ;;
4136 if test ! -d "$libc_add_on_srcdir/$d"; then
4137 { { $as_echo "$as_me:$LINENO: error: fragment wants to configure missing directory $d" >&5
4138 $as_echo "$as_me: error: fragment wants to configure missing directory $d" >&2;}
4139 { (exit 1); exit 1; }; }
4141 case "$libc_add_on" in
4142 /*) { { $as_echo "$as_me:$LINENO: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&5
4143 $as_echo "$as_me: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&2;}
4144 { (exit 1); exit 1; }; } ;;
4146 subdirs
="$subdirs $libc_add_on/$d"
4150 if test -n "$libc_add_on"; then
4151 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4153 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
4154 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4155 for frag
in $frags; do
4156 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4157 echo $ECHO_N "$name $ECHO_C" >&6
4160 { $as_echo "$as_me:$LINENO: result: " >&5
4163 use_add_ons
="$use_add_ons $libc_add_on"
4164 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
4165 test -z "$libc_add_on_canonical" ||
4166 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
4169 # Use echo to strip excess whitespace.
4170 add_ons
="`echo $use_add_ons`"
4177 ### I put this here to prevent those annoying emails from people who cannot
4178 ### read and try to compile glibc on unsupported platforms. --drepper
4180 ### By using the undocumented --enable-hacker-mode option for configure
4181 ### one can skip this test to make the configuration not fail for unsupported
4184 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4185 case "$machine-$host_os" in
4186 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
4189 echo "*** The GNU C library is currently not available for this platform."
4190 echo "*** So far nobody cared to port it and if there is no volunteer it"
4191 echo "*** might never happen. So, if you have interest to see glibc on"
4192 echo "*** this platform visit"
4193 echo "*** http://www.gnu.org/software/libc/porting.html"
4194 echo "*** and join the group of porters"
4200 # Expand the configuration machine name into a subdirectory by architecture
4201 # type and particular chip. If an add-on configure fragment already set
4202 # base_machine, we don't change it.
4203 test -n "$base_machine" ||
case "$machine" in
4204 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
4205 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
4206 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
4207 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
4208 ia64
) base_machine
=ia64 machine
=ia64
;;
4209 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
4210 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
4211 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
4212 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
4213 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
4214 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
4215 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
4216 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
4218 base_machine
=sparc machine
=sparc
/sparc32
;;
4219 sparcv8 | supersparc | hypersparc
)
4220 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
4221 sparcv8plus | sparcv8plusa | sparcv9
)
4222 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
4223 sparcv8plusb | sparcv9b
)
4224 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
4226 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
4228 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
4230 base_machine
=sparc machine
=sparc
/sparc64
;;
4232 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
4234 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
4236 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
4237 *) base_machine
=$machine ;;
4241 if test "$base_machine" = "i386"; then
4242 cat >>confdefs.h
<<\_ACEOF
4243 #define USE_REGPARMS 1
4248 # Compute the list of sysdep directories for this configuration.
4249 # This can take a while to compute.
4250 sysdep_dir
=$srcdir/sysdeps
4251 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
4252 $as_echo_n "checking sysdep dirs... " >&6; }
4253 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4254 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4256 test "x$base_os" != x ||
case "$os" in
4258 base_os
=mach
/hurd
;;
4259 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
4260 base_os
=unix
/bsd
/bsd4.4
;;
4261 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
4263 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
4264 base_os
=unix
/sysv
;;
4266 base_os
=unix
/sysv
/irix
6/$os ;;
4268 base_os
=unix
/sysv
/sysv4
;;
4270 base_os
=unix
/sysv
/hpux
/$os ;;
4272 base_os
=unix
/sysv
/aix
/aix4.3
;;
4274 base_os
=standalone
;;
4277 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4280 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4284 o
=`echo $tail | sed 's/[0-9]*$//'`
4285 if test $o != $tail; then
4288 # For linux-gnu, try linux-gnu, then linux.
4289 o
=`echo $tail | sed 's/-.*$//'`
4290 if test $o != $tail; then
4294 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4297 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4303 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4305 tail=$machine${submachine:+/$submachine}
4306 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4308 # Prepend the machine's FPU directory unless --without-fp.
4309 if test "$with_fp" = yes; then
4310 mach
="$mach /$1/fpu"
4312 mach
="$mach /$1/nofpu"
4319 # Find what sysdep directories exist.
4322 for b
in $base ''; do
4323 for m0
in $mach ''; do
4324 for v
in /$vendor ''; do
4325 test "$v" = / && continue
4326 for o
in /$ostry ''; do
4327 test "$o" = / && continue
4328 for m
in $multi_arch_d $mach ''; do
4329 for d
in $add_ons_pfx ''; do
4330 for a
in $add_ons_sfx ''; do
4331 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4332 try_srcdir
="${srcdir}/"
4336 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4337 test -n "$enable_debug_configure" &&
4338 echo "$0 DEBUG: try $try" >&2
4339 if test -d "$try_srcdir$try"; then
4340 sysnames
="$sysnames $try"
4341 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4342 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4344 x
*/$submachine) submachine_used
=t
;;
4346 if test -n "$d"; then
4347 case "$sysnames_add_ons" in
4349 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4362 if test -z "$os_used" && test "$os" != none
; then
4363 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4364 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
4365 { (exit 1); exit 1; }; }
4367 if test -z "$machine_used" && test "$machine" != none
; then
4368 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4369 $as_echo "$as_me: error: The $machine is not supported." >&2;}
4370 { (exit 1); exit 1; }; }
4372 if test -z "$submachine_used" && test -n "$submachine"; then
4373 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4374 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4375 { (exit 1); exit 1; }; }
4379 # We have now validated the configuration.
4382 # If using ELF, look for an `elf' subdirectory of each machine directory.
4383 # We prepend these rather than inserting them whereever the machine appears
4384 # because things specified by the machine's ELF ABI should override
4385 # OS-specific things, and should always be the same for any OS on the
4386 # machine (otherwise what's the point of an ABI?).
4387 if test "$elf" = yes; then
4389 for d
in $add_ons_pfx ''; do
4391 if test -d $srcdir/${d}sysdeps
$m/elf
; then
4392 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
4396 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4400 # Expand the list of system names into a full list of directories
4401 # from each element's parent name and Implies file (if present).
4404 while test $# -gt 0; do
4408 case " $names " in *" $name "*)
4409 # Already in the list.
4413 # Report each name as we discover it, so there is no long pause in output.
4414 echo $ECHO_N "$name $ECHO_C" >&6
4416 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4420 *) xsrcdir
=$srcdir/ ;;
4422 test -n "$enable_debug_configure" &&
4423 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4425 if test -f $xsrcdir$name/Implies
; then
4426 # Collect more names from the `Implies' file (removing comments).
4427 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4429 for x
in $implied_candidate; do
4431 if test -d $xsrcdir$name_base/$x; then
4432 implied
="$implied $name_base/$x";
4435 for d
in $add_ons_pfx ''; do
4436 try
="${d}sysdeps/$x"
4439 *) try_srcdir
=$srcdir/ ;;
4441 test -n "$enable_debug_configure" &&
4442 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4443 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4445 implied
="$implied $try"
4447 case "$sysnames_add_ons" in
4449 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4453 if test $found = no
; then
4454 { $as_echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
4455 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4462 # Add NAME to the list of names.
4463 names
="$names $name"
4465 # Find the parent of NAME, using the empty string if it has none.
4466 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4468 # Add the names implied by NAME, and NAME's parent (if it has one), to
4469 # the list of names to be processed (the argument list). We prepend the
4470 # implied names to the list and append the parent. We want implied
4471 # directories to come before further directories inferred from the
4472 # configuration components; this ensures that for sysv4, unix/common
4473 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4475 sysnames
="`echo $implied $* $parent`"
4476 test -n "$sysnames" && set $sysnames
4479 # Add the default directories.
4480 default_sysnames
=sysdeps
/generic
4481 if test "$elf" = yes; then
4482 default_sysnames
="sysdeps/generic/elf $default_sysnames"
4484 sysnames
="$names $default_sysnames"
4486 # The other names were emitted during the scan.
4487 { $as_echo "$as_me:$LINENO: result: $default_sysnames" >&5
4488 $as_echo "$default_sysnames" >&6; }
4490 # Collect the list of add-ons that supply partial sysdeps trees.
4492 for add_on
in $add_ons; do
4495 *) xsrcdir
="$srcdir/" ;;
4498 test -d "$xsrcdir$add_on/sysdeps" ||
{
4499 case "$configured_add_ons " in
4502 { { $as_echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
4503 $as_echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
4504 { (exit 1); exit 1; }; }
4510 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4511 case "$sysnames_add_ons" in
4514 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4515 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4520 for d
in $sysnames; do
4522 $add_on/sysdeps
/*) ;;
4525 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4528 for ff
in $f/*.h
; do
4529 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4533 test -d "$f" ||
{ test -e "$f" && exit 88; }
4537 if test $?
-eq 88; then
4542 if test $found = no
; then
4543 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4544 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4552 # Find a good install program. We prefer a C program (faster),
4553 # so one script is as good as another. But avoid the broken or
4554 # incompatible versions:
4555 # SysV /etc/install, /usr/sbin/install
4556 # SunOS /usr/etc/install
4557 # IRIX /sbin/install
4559 # AmigaOS /C/install, which installs bootblocks on floppy discs
4560 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4561 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4562 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4563 # OS/2's system install, which has a completely different semantic
4564 # ./install, which can be erroneously created by make from ./install.sh.
4565 # Reject install programs that cannot install multiple files.
4566 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4567 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4568 if test -z "$INSTALL"; then
4569 if test "${ac_cv_path_install+set}" = set; then
4570 $as_echo_n "(cached) " >&6
4572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir
=.
4577 # Account for people who put trailing slashes in PATH elements.
4579 .
/ | .
// |
/cC
/* | \
4580 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4581 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4584 # OSF1 and SCO ODT 3.0 have their own names for install.
4585 # Don't use installbsd from OSF since it installs stuff as root
4587 for ac_prog
in ginstall scoinst
install; do
4588 for ac_exec_ext
in '' $ac_executable_extensions; do
4589 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4590 if test $ac_prog = install &&
4591 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4592 # AIX install. It has an incompatible calling convention.
4594 elif test $ac_prog = install &&
4595 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4596 # program-specific install script used by HP pwplus--don't use.
4599 rm -rf conftest.one conftest.two conftest.dir
4600 echo one
> conftest.one
4601 echo two
> conftest.two
4603 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4604 test -s conftest.one
&& test -s conftest.two
&&
4605 test -s conftest.dir
/conftest.one
&&
4606 test -s conftest.dir
/conftest.two
4608 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4621 rm -rf conftest.one conftest.two conftest.dir
4624 if test "${ac_cv_path_install+set}" = set; then
4625 INSTALL
=$ac_cv_path_install
4627 # As a last resort, use the slow shell script. Don't cache a
4628 # value for INSTALL within a source directory, because that will
4629 # break other packages using the cache if that directory is
4630 # removed, or if the value is a relative name.
4631 INSTALL
=$ac_install_sh
4634 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4635 $as_echo "$INSTALL" >&6; }
4637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4638 # It thinks the first close brace ends the variable substitution.
4639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4643 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4645 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4646 # The makefiles need to use a different form to find it in $srcdir.
4647 INSTALL
='\$(..)./scripts/install-sh -c'
4649 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4650 $as_echo_n "checking whether ln -s works... " >&6; }
4652 if test "$LN_S" = "ln -s"; then
4653 { $as_echo "$as_me:$LINENO: result: yes" >&5
4654 $as_echo "yes" >&6; }
4656 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4657 $as_echo "no, using $LN_S" >&6; }
4661 # Was a --with-binutils option given?
4662 if test -n "$path_binutils"; then
4663 # Make absolute; ensure a single trailing slash.
4664 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4665 CC
="$CC -B$path_binutils"
4667 AS
=`$CC -print-prog-name=as`
4668 LD
=`$CC -print-prog-name=ld`
4669 AR
=`$CC -print-prog-name=ar`
4671 OBJDUMP
=`$CC -print-prog-name=objdump`
4674 # ranlib has to be treated a bit differently since it might not exist at all.
4675 ac_ranlib
=`$CC -print-prog-name=ranlib`
4676 if test "x$ac_ranlib" = xranlib
; then
4677 # This extra check has to happen since gcc simply echos the parameter in
4678 # case it cannot find the value in its own directories.
4679 if test -n "$ac_tool_prefix"; then
4680 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4681 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4682 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4683 $as_echo_n "checking for $ac_word... " >&6; }
4684 if test "${ac_cv_prog_RANLIB+set}" = set; then
4685 $as_echo_n "(cached) " >&6
4687 if test -n "$RANLIB"; then
4688 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir
=.
4695 for ac_exec_ext
in '' $ac_executable_extensions; do
4696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4697 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4698 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4707 RANLIB
=$ac_cv_prog_RANLIB
4708 if test -n "$RANLIB"; then
4709 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4710 $as_echo "$RANLIB" >&6; }
4712 { $as_echo "$as_me:$LINENO: result: no" >&5
4713 $as_echo "no" >&6; }
4718 if test -z "$ac_cv_prog_RANLIB"; then
4719 ac_ct_RANLIB
=$RANLIB
4720 # Extract the first word of "ranlib", so it can be a program name with args.
4721 set dummy ranlib
; ac_word
=$2
4722 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4723 $as_echo_n "checking for $ac_word... " >&6; }
4724 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4725 $as_echo_n "(cached) " >&6
4727 if test -n "$ac_ct_RANLIB"; then
4728 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4734 test -z "$as_dir" && as_dir
=.
4735 for ac_exec_ext
in '' $ac_executable_extensions; do
4736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4737 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4738 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4748 if test -n "$ac_ct_RANLIB"; then
4749 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4750 $as_echo "$ac_ct_RANLIB" >&6; }
4752 { $as_echo "$as_me:$LINENO: result: no" >&5
4753 $as_echo "no" >&6; }
4756 if test "x$ac_ct_RANLIB" = x
; then
4759 case $cross_compiling:$ac_tool_warned in
4761 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4763 ac_tool_warned
=yes ;;
4765 RANLIB
=$ac_ct_RANLIB
4768 RANLIB
="$ac_cv_prog_RANLIB"
4776 # Determine whether we are using GNU binutils.
4777 { $as_echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4778 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4779 if test "${libc_cv_prog_as_gnu+set}" = set; then
4780 $as_echo_n "(cached) " >&6
4782 # Most GNU programs take a -v and spit out some text including
4783 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4784 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4785 libc_cv_prog_as_gnu
=yes
4787 libc_cv_prog_as_gnu
=no
4791 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4792 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4794 gnu_as
=$libc_cv_prog_as_gnu
4796 { $as_echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4797 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4798 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4799 $as_echo_n "(cached) " >&6
4801 # Most GNU programs take a -v and spit out some text including
4802 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4803 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4804 libc_cv_prog_ld_gnu
=yes
4806 libc_cv_prog_ld_gnu
=no
4810 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4811 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4812 gnu_ld
=$libc_cv_prog_ld_gnu
4815 # Accept binutils 2.13 or newer.
4818 # Extract the first word of "$ac_prog", so it can be a program name with args.
4819 set dummy
$ac_prog; ac_word
=$2
4820 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if test "${ac_cv_prog_AS+set}" = set; then
4823 $as_echo_n "(cached) " >&6
4825 if test -n "$AS"; then
4826 ac_cv_prog_AS
="$AS" # Let the user override the test.
4828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir
=.
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 ac_cv_prog_AS
="$ac_prog"
4836 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 if test -n "$AS"; then
4847 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4848 $as_echo "$AS" >&6; }
4850 { $as_echo "$as_me:$LINENO: result: no" >&5
4851 $as_echo "no" >&6; }
4855 test -n "$AS" && break
4858 if test -z "$AS"; then
4861 # Found it, now check the version.
4862 { $as_echo "$as_me:$LINENO: checking version of $AS" >&5
4863 $as_echo_n "checking version of $AS... " >&6; }
4864 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4865 case $ac_prog_version in
4866 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4867 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4868 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4869 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4872 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4873 $as_echo "$ac_prog_version" >&6; }
4875 if test $ac_verc_fail = yes; then
4876 AS
=: critic_missing
="$critic_missing as"
4881 # Extract the first word of "$ac_prog", so it can be a program name with args.
4882 set dummy
$ac_prog; ac_word
=$2
4883 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if test "${ac_cv_prog_LD+set}" = set; then
4886 $as_echo_n "(cached) " >&6
4888 if test -n "$LD"; then
4889 ac_cv_prog_LD
="$LD" # Let the user override the test.
4891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir
=.
4896 for ac_exec_ext
in '' $ac_executable_extensions; do
4897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4898 ac_cv_prog_LD
="$ac_prog"
4899 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 if test -n "$LD"; then
4910 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4911 $as_echo "$LD" >&6; }
4913 { $as_echo "$as_me:$LINENO: result: no" >&5
4914 $as_echo "no" >&6; }
4918 test -n "$LD" && break
4921 if test -z "$LD"; then
4924 # Found it, now check the version.
4925 { $as_echo "$as_me:$LINENO: checking version of $LD" >&5
4926 $as_echo_n "checking version of $LD... " >&6; }
4927 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4928 case $ac_prog_version in
4929 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4930 2.1[3-9]*|
2.1[0-9][0-9]*|
2.
[2-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4931 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4932 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4935 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4936 $as_echo "$ac_prog_version" >&6; }
4938 if test $ac_verc_fail = yes; then
4939 LD
=: critic_missing
="$critic_missing ld"
4943 # We need the physical current working directory. We cannot use the
4944 # "pwd -P" shell builtin since that's not portable. Instead we try to
4945 # find a pwd binary. Note that assigning to the PWD environment
4946 # variable might have some interesting side effects, so we don't do
4948 # Extract the first word of "pwd", so it can be a program name with args.
4949 set dummy
pwd; ac_word
=$2
4950 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if test "${ac_cv_path_PWD_P+set}" = set; then
4953 $as_echo_n "(cached) " >&6
4957 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
4960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir
=.
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
4968 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
4979 PWD_P
=$ac_cv_path_PWD_P
4980 if test -n "$PWD_P"; then
4981 { $as_echo "$as_me:$LINENO: result: $PWD_P" >&5
4982 $as_echo "$PWD_P" >&6; }
4984 { $as_echo "$as_me:$LINENO: result: no" >&5
4985 $as_echo "no" >&6; }
4989 if test "$PWD_P" = no
; then
4990 { { $as_echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4991 $as_echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4992 { (exit 1); exit 1; }; }
4995 # These programs are version sensitive.
4997 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy
$ac_prog; ac_word
=$2
5001 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5002 $as_echo_n "checking for $ac_word... " >&6; }
5003 if test "${ac_cv_prog_CC+set}" = set; then
5004 $as_echo_n "(cached) " >&6
5006 if test -n "$CC"; then
5007 ac_cv_prog_CC
="$CC" # Let the user override the test.
5009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir
=.
5014 for ac_exec_ext
in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_CC
="$ac_prog"
5017 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 if test -n "$CC"; then
5028 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5029 $as_echo "$CC" >&6; }
5031 { $as_echo "$as_me:$LINENO: result: no" >&5
5032 $as_echo "no" >&6; }
5036 test -n "$CC" && break
5039 if test -z "$CC"; then
5042 # Found it, now check the version.
5043 { $as_echo "$as_me:$LINENO: checking version of $CC" >&5
5044 $as_echo_n "checking version of $CC... " >&6; }
5045 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
5046 case $ac_prog_version in
5047 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5049 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5050 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5053 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5054 $as_echo "$ac_prog_version" >&6; }
5056 if test $ac_verc_fail = yes; then
5057 critic_missing
="$critic_missing gcc"
5060 for ac_prog
in gnumake gmake
make
5062 # Extract the first word of "$ac_prog", so it can be a program name with args.
5063 set dummy
$ac_prog; ac_word
=$2
5064 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if test "${ac_cv_prog_MAKE+set}" = set; then
5067 $as_echo_n "(cached) " >&6
5069 if test -n "$MAKE"; then
5070 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
5072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5076 test -z "$as_dir" && as_dir
=.
5077 for ac_exec_ext
in '' $ac_executable_extensions; do
5078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079 ac_cv_prog_MAKE
="$ac_prog"
5080 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 MAKE
=$ac_cv_prog_MAKE
5090 if test -n "$MAKE"; then
5091 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
5092 $as_echo "$MAKE" >&6; }
5094 { $as_echo "$as_me:$LINENO: result: no" >&5
5095 $as_echo "no" >&6; }
5099 test -n "$MAKE" && break
5102 if test -z "$MAKE"; then
5105 # Found it, now check the version.
5106 { $as_echo "$as_me:$LINENO: checking version of $MAKE" >&5
5107 $as_echo_n "checking version of $MAKE... " >&6; }
5108 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5109 case $ac_prog_version in
5110 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5112 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5113 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5116 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5117 $as_echo "$ac_prog_version" >&6; }
5119 if test $ac_verc_fail = yes; then
5120 critic_missing
="$critic_missing make"
5124 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
5126 # Extract the first word of "$ac_prog", so it can be a program name with args.
5127 set dummy
$ac_prog; ac_word
=$2
5128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if test "${ac_cv_prog_MSGFMT+set}" = set; then
5131 $as_echo_n "(cached) " >&6
5133 if test -n "$MSGFMT"; then
5134 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5143 ac_cv_prog_MSGFMT
="$ac_prog"
5144 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 MSGFMT
=$ac_cv_prog_MSGFMT
5154 if test -n "$MSGFMT"; then
5155 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5156 $as_echo "$MSGFMT" >&6; }
5158 { $as_echo "$as_me:$LINENO: result: no" >&5
5159 $as_echo "no" >&6; }
5163 test -n "$MSGFMT" && break
5166 if test -z "$MSGFMT"; then
5169 # Found it, now check the version.
5170 { $as_echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
5171 $as_echo_n "checking version of $MSGFMT... " >&6; }
5172 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5173 case $ac_prog_version in
5174 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5175 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
5176 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5177 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5180 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5181 $as_echo "$ac_prog_version" >&6; }
5183 if test $ac_verc_fail = yes; then
5184 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
5187 for ac_prog
in makeinfo
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy
$ac_prog; ac_word
=$2
5191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5194 $as_echo_n "(cached) " >&6
5196 if test -n "$MAKEINFO"; then
5197 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5206 ac_cv_prog_MAKEINFO
="$ac_prog"
5207 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 MAKEINFO
=$ac_cv_prog_MAKEINFO
5217 if test -n "$MAKEINFO"; then
5218 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5219 $as_echo "$MAKEINFO" >&6; }
5221 { $as_echo "$as_me:$LINENO: result: no" >&5
5222 $as_echo "no" >&6; }
5226 test -n "$MAKEINFO" && break
5229 if test -z "$MAKEINFO"; then
5232 # Found it, now check the version.
5233 { $as_echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5234 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5235 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5236 case $ac_prog_version in
5237 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5239 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5240 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5243 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5244 $as_echo "$ac_prog_version" >&6; }
5246 if test $ac_verc_fail = yes; then
5247 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
5252 # Extract the first word of "$ac_prog", so it can be a program name with args.
5253 set dummy
$ac_prog; ac_word
=$2
5254 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if test "${ac_cv_prog_SED+set}" = set; then
5257 $as_echo_n "(cached) " >&6
5259 if test -n "$SED"; then
5260 ac_cv_prog_SED
="$SED" # Let the user override the test.
5262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5266 test -z "$as_dir" && as_dir
=.
5267 for ac_exec_ext
in '' $ac_executable_extensions; do
5268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5269 ac_cv_prog_SED
="$ac_prog"
5270 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 if test -n "$SED"; then
5281 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5282 $as_echo "$SED" >&6; }
5284 { $as_echo "$as_me:$LINENO: result: no" >&5
5285 $as_echo "no" >&6; }
5289 test -n "$SED" && break
5292 if test -z "$SED"; then
5295 # Found it, now check the version.
5296 { $as_echo "$as_me:$LINENO: checking version of $SED" >&5
5297 $as_echo_n "checking version of $SED... " >&6; }
5298 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5299 case $ac_prog_version in
5300 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5301 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
5302 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5303 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5306 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5307 $as_echo "$ac_prog_version" >&6; }
5309 if test $ac_verc_fail = yes; then
5310 SED
=: aux_missing
="$aux_missing sed"
5314 for ac_prog
in autoconf
5316 # Extract the first word of "$ac_prog", so it can be a program name with args.
5317 set dummy
$ac_prog; ac_word
=$2
5318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5321 $as_echo_n "(cached) " >&6
5323 if test -n "$AUTOCONF"; then
5324 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_AUTOCONF
="$ac_prog"
5334 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 AUTOCONF
=$ac_cv_prog_AUTOCONF
5344 if test -n "$AUTOCONF"; then
5345 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5346 $as_echo "$AUTOCONF" >&6; }
5348 { $as_echo "$as_me:$LINENO: result: no" >&5
5349 $as_echo "no" >&6; }
5353 test -n "$AUTOCONF" && break
5355 test -n "$AUTOCONF" || AUTOCONF
="no"
5357 case "x$AUTOCONF" in
5358 xno|x|x
:) AUTOCONF
=no
;;
5360 { $as_echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5361 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5362 if test "${libc_cv_autoconf_works+set}" = set; then
5363 $as_echo_n "(cached) " >&6
5365 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
5366 libc_cv_autoconf_works
=yes
5368 libc_cv_autoconf_works
=no
5371 { $as_echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5372 $as_echo "$libc_cv_autoconf_works" >&6; }
5373 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5376 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
5377 # If --without-cvs they probably won't change configure.in, so no complaints.
5378 aux_missing
="$aux_missing autoconf"
5381 test -n "$critic_missing" && { { $as_echo "$as_me:$LINENO: error:
5382 *** These critical programs are missing or too old:$critic_missing
5383 *** Check the INSTALL file for required versions." >&5
5384 $as_echo "$as_me: error:
5385 *** These critical programs are missing or too old:$critic_missing
5386 *** Check the INSTALL file for required versions." >&2;}
5387 { (exit 1); exit 1; }; }
5389 test -n "$aux_missing" && { $as_echo "$as_me:$LINENO: WARNING:
5390 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5391 *** some features will be disabled.
5392 *** Check the INSTALL file for required versions." >&5
5393 $as_echo "$as_me: WARNING:
5394 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5395 *** some features will be disabled.
5396 *** Check the INSTALL file for required versions." >&2;}
5398 # if using special system headers, find out the compiler's sekrit
5399 # header directory and add that to the list. NOTE: Only does the right
5400 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5401 if test -n "$sysheaders"; then
5402 SYSINCLUDES
=-nostdinc
5403 for d
in include include-fixed
; do
5404 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5405 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5407 SYSINCLUDES
="$SYSINCLUDES \
5408 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5409 if test -n "$CXX"; then
5410 cxxversion
=`$CXX -dumpversion 2>&5` &&
5411 cxxmachine
=`$CXX -dumpmachine 2>&5` &&
5412 cxxheaders
=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5413 CXX_SYSINCLUDES
="-isystem $cxxheaders \
5414 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5420 # check if ranlib is necessary
5421 { $as_echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5422 $as_echo_n "checking whether ranlib is necessary... " >&6; }
5423 if test "${libc_cv_ranlib_necessary+set}" = set; then
5424 $as_echo_n "(cached) " >&6
5426 cat > conftest.c
<<EOF
5431 $CC $CFLAGS $CPPFLAGS -c conftest.c
5432 $AR cr conftest.a conftest.o
5433 cp conftest.a conftest2.a
5435 if cmp -s conftest.a conftest2.a
; then
5436 libc_cv_ranlib_necessary
=no
5438 libc_cv_ranlib_necessary
=yes
5442 { $as_echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5443 $as_echo "$libc_cv_ranlib_necessary" >&6; }
5444 if test "$libc_cv_ranlib_necessary" = no
; then
5448 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5449 # since this would lead to problems installing/building glibc.
5450 # LD_LIBRARY_PATH contains the current directory if one of the following
5452 # - one of the terminals (":" and ";") is the first or last sign
5453 # - two terminals occur directly after each other
5454 # - the path contains an element with a dot in it
5455 { $as_echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5456 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5457 case ${LD_LIBRARY_PATH} in
5458 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5459 ld_library_path_setting
="contains current directory"
5462 ld_library_path_setting
="ok"
5465 { $as_echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5466 $as_echo "$ld_library_path_setting" >&6; }
5467 if test "$ld_library_path_setting" != "ok"; then
5468 { { $as_echo "$as_me:$LINENO: error:
5469 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5470 *** building glibc. Please change the environment variable
5471 *** and run configure again." >&5
5472 $as_echo "$as_me: error:
5473 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5474 *** building glibc. Please change the environment variable
5475 *** and run configure again." >&2;}
5476 { (exit 1); exit 1; }; }
5479 { $as_echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5480 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5481 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5482 $as_echo_n "(cached) " >&6
5484 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
5485 libc_cv_gcc_static_libgcc
=
5487 libc_cv_gcc_static_libgcc
=-static-libgcc
5490 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5491 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5494 # Extract the first word of "bash", so it can be a program name with args.
5495 set dummy bash
; ac_word
=$2
5496 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5499 $as_echo_n "(cached) " >&6
5503 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir
=.
5511 for ac_exec_ext
in '' $ac_executable_extensions; do
5512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5513 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5514 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5525 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5526 if test -n "$BASH_SHELL"; then
5527 { $as_echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5528 $as_echo "$BASH_SHELL" >&6; }
5530 { $as_echo "$as_me:$LINENO: result: no" >&5
5531 $as_echo "no" >&6; }
5535 if test "$BASH_SHELL" != no
&&
5536 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5537 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5538 libc_cv_have_bash2
=yes
5540 libc_cv_have_bash2
=no
5544 if test "$BASH_SHELL" = no
; then
5545 # Extract the first word of "ksh", so it can be a program name with args.
5546 set dummy ksh
; ac_word
=$2
5547 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if test "${ac_cv_path_KSH+set}" = set; then
5550 $as_echo_n "(cached) " >&6
5554 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
5557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir
=.
5562 for ac_exec_ext
in '' $ac_executable_extensions; do
5563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5564 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
5565 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
5577 if test -n "$KSH"; then
5578 { $as_echo "$as_me:$LINENO: result: $KSH" >&5
5579 $as_echo "$KSH" >&6; }
5581 { $as_echo "$as_me:$LINENO: result: no" >&5
5582 $as_echo "no" >&6; }
5586 if test "$KSH" = no
; then
5589 libc_cv_have_ksh
=yes
5594 libc_cv_have_ksh
=yes
5598 for ac_prog
in gawk mawk nawk
awk
5600 # Extract the first word of "$ac_prog", so it can be a program name with args.
5601 set dummy
$ac_prog; ac_word
=$2
5602 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if test "${ac_cv_prog_AWK+set}" = set; then
5605 $as_echo_n "(cached) " >&6
5607 if test -n "$AWK"; then
5608 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir
=.
5615 for ac_exec_ext
in '' $ac_executable_extensions; do
5616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5617 ac_cv_prog_AWK
="$ac_prog"
5618 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 if test -n "$AWK"; then
5629 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
5630 $as_echo "$AWK" >&6; }
5632 { $as_echo "$as_me:$LINENO: result: no" >&5
5633 $as_echo "no" >&6; }
5637 test -n "$AWK" && break
5640 # Extract the first word of "perl", so it can be a program name with args.
5641 set dummy perl
; ac_word
=$2
5642 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5643 $as_echo_n "checking for $ac_word... " >&6; }
5644 if test "${ac_cv_path_PERL+set}" = set; then
5645 $as_echo_n "(cached) " >&6
5649 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir
=.
5657 for ac_exec_ext
in '' $ac_executable_extensions; do
5658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5659 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5660 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5671 PERL
=$ac_cv_path_PERL
5672 if test -n "$PERL"; then
5673 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
5674 $as_echo "$PERL" >&6; }
5676 { $as_echo "$as_me:$LINENO: result: no" >&5
5677 $as_echo "no" >&6; }
5681 if test "$PERL" != no
&&
5682 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5685 # Extract the first word of "install-info", so it can be a program name with args.
5686 set dummy install-info
; ac_word
=$2
5687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5690 $as_echo_n "(cached) " >&6
5692 case $INSTALL_INFO in
5694 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5699 for as_dir
in $as_dummy
5702 test -z "$as_dir" && as_dir
=.
5703 for ac_exec_ext
in '' $ac_executable_extensions; do
5704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5705 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5706 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5717 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5718 if test -n "$INSTALL_INFO"; then
5719 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5720 $as_echo "$INSTALL_INFO" >&6; }
5722 { $as_echo "$as_me:$LINENO: result: no" >&5
5723 $as_echo "no" >&6; }
5727 # Extract the first word of "bison", so it can be a program name with args.
5728 set dummy bison
; ac_word
=$2
5729 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if test "${ac_cv_path_BISON+set}" = set; then
5732 $as_echo_n "(cached) " >&6
5736 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5740 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5741 for as_dir
in $as_dummy
5744 test -z "$as_dir" && as_dir
=.
5745 for ac_exec_ext
in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5748 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5759 BISON
=$ac_cv_path_BISON
5760 if test -n "$BISON"; then
5761 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
5762 $as_echo "$BISON" >&6; }
5764 { $as_echo "$as_me:$LINENO: result: no" >&5
5765 $as_echo "no" >&6; }
5770 { $as_echo "$as_me:$LINENO: checking for signed size_t type" >&5
5771 $as_echo_n "checking for signed size_t type... " >&6; }
5772 if test "${libc_cv_signed_size_t+set}" = set; then
5773 $as_echo_n "(cached) " >&6
5775 echo '#include <stddef.h>
5776 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5777 if eval "$ac_cpp conftest.c 2>/dev/null" \
5778 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
5779 libc_cv_signed_size_t
=no
5781 libc_cv_signed_size_t
=yes
5785 { $as_echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5786 $as_echo "$libc_cv_signed_size_t" >&6; }
5787 if test $libc_cv_signed_size_t = yes; then
5788 cat >> confdefs.h
<<\EOF
5789 #undef __SIZE_TYPE__
5790 #define __SIZE_TYPE__ unsigned
5794 { $as_echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5795 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5796 if test "${libc_cv_friendly_stddef+set}" = set; then
5797 $as_echo_n "(cached) " >&6
5799 cat >conftest.
$ac_ext <<_ACEOF
5802 cat confdefs.h
>>conftest.
$ac_ext
5803 cat >>conftest.
$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5805 #define __need_size_t
5806 #define __need_wchar_t
5813 size_t size; wchar_t wchar;
5815 #error stddef.h ignored __need_*
5817 if (&size == NULL || &wchar == NULL) abort ();
5822 rm -f conftest.
$ac_objext
5823 if { (ac_try
="$ac_compile"
5825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5826 *) ac_try_echo=$ac_try;;
5828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5829 $as_echo "$ac_try_echo") >&5
5830 (eval "$ac_compile") 2>conftest.er1
5832 grep -v '^ *+' conftest.er1 >conftest.err
5834 cat conftest.err >&5
5835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); } && {
5837 test -z "$ac_c_werror_flag" ||
5838 test ! -s conftest.err
5839 } && test -s conftest.$ac_objext; then
5840 libc_cv_friendly_stddef=yes
5842 $as_echo "$as_me: failed program was:" >&5
5843 sed 's/^/| /' conftest.$ac_ext >&5
5845 libc_cv_friendly_stddef=no
5848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5850 { $as_echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5851 $as_echo "$libc_cv_friendly_stddef" >&6; }
5852 if test $libc_cv_friendly_stddef = yes; then
5853 config_vars="$config_vars
5854 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5857 { $as_echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5858 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5859 if test "${libc_cv_need_minus_P+set}" = set; then
5860 $as_echo_n "(cached) " >&6
5862 cat > conftest.S <<EOF
5863 #include "confdefs.h"
5864 /* Nothing whatsoever. */
5866 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5872 libc_cv_need_minus_P=no
5874 libc_cv_need_minus_P=yes
5878 { $as_echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5879 $as_echo "$libc_cv_need_minus_P" >&6; }
5880 if test $libc_cv_need_minus_P = yes; then
5881 config_vars="$config_vars
5882 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5885 { $as_echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5886 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
5887 if test "${libc_cv_dot_text+set}" = set; then
5888 $as_echo_n "(cached) " >&6
5890 cat > conftest.s <<EOF
5894 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); }; }; then
5900 libc_cv_dot_text=.text
5905 if test -z "$libc_cv_dot_text"; then
5906 { $as_echo "$as_me:$LINENO: result: no" >&5
5907 $as_echo "no" >&6; }
5909 { $as_echo "$as_me:$LINENO: result: yes" >&5
5910 $as_echo "yes" >&6; }
5913 { $as_echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5914 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
5915 if test "${libc_cv_asm_global_directive+set}" = set; then
5916 $as_echo_n "(cached) " >&6
5918 libc_cv_asm_global_directive=UNKNOWN
5919 for ac_globl in .globl .global .EXPORT; do
5920 cat > conftest.s <<EOF
5925 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 (exit $ac_status); }; }; then
5931 libc_cv_asm_global_directive=${ac_globl}
5934 test $libc_cv_asm_global_directive != UNKNOWN && break
5937 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5938 $as_echo "$libc_cv_asm_global_directive" >&6; }
5939 if test $libc_cv_asm_global_directive = UNKNOWN; then
5940 { { $as_echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5941 $as_echo "$as_me: error: cannot determine asm global directive" >&2;}
5942 { (exit 1); exit 1; }; }
5944 cat >>confdefs.h <<_ACEOF
5945 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5950 { $as_echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5951 $as_echo_n "checking for .set assembler directive... " >&6; }
5952 if test "${libc_cv_asm_set_directive+set}" = set; then
5953 $as_echo_n "(cached) " >&6
5955 cat > conftest.s <<EOF
5958 .set glibc_conftest_frobozz,foo
5959 $libc_cv_asm_global_directive glibc_conftest_frobozz
5961 # The alpha-dec-osf1 assembler gives only a warning for `.
set'
5962 # (but it doesn't work
), so we must
do a linking check to be sure.
5963 cat > conftest1.c
<<\EOF
5964 extern int glibc_conftest_frobozz
;
5965 void _start
() { glibc_conftest_frobozz
= 1; }
5967 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5968 -nostartfiles -nostdlib \
5969 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5970 libc_cv_asm_set_directive
=yes
5972 libc_cv_asm_set_directive
=no
5976 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5977 $as_echo "$libc_cv_asm_set_directive" >&6; }
5978 if test $libc_cv_asm_set_directive = yes; then
5979 cat >>confdefs.h
<<\_ACEOF
5980 #define HAVE_ASM_SET_DIRECTIVE 1
5985 { $as_echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5986 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
5987 if test "${libc_cv_asm_type_prefix+set}" = set; then
5988 $as_echo_n "(cached) " >&6
5990 libc_cv_asm_type_prefix
=no
5991 for ac_try_prefix
in '@' '%' '#'; do
5992 cat > conftest.s
<<EOF
5994 ${libc_cv_asm_global_directive} foo
5995 .type foo, ${ac_try_prefix}object
6000 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; }; then
6006 libc_cv_asm_type_prefix
=${ac_try_prefix}
6009 test "x$libc_cv_asm_type_prefix" != xno
&& break
6012 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
6013 $as_echo "$libc_cv_asm_type_prefix" >&6; }
6014 if test "x$libc_cv_asm_type_prefix" != xno
; then
6015 cat >>confdefs.h
<<_ACEOF
6016 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
6021 { $as_echo "$as_me:$LINENO: checking for assembler gnu_unique_object symbol type" >&5
6022 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
6023 if test "${libc_cv_asm_unique_object+set}" = set; then
6024 $as_echo_n "(cached) " >&6
6026 cat > conftest.s
<<EOF
6029 .type _sym, ${libc_cv_asm_type_prefix}gnu_unique_object
6031 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6032 libc_cv_asm_unique_object
=yes
6034 libc_cv_asm_unique_object
=no
6038 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_unique_object" >&5
6039 $as_echo "$libc_cv_asm_unique_object" >&6; }
6040 if test $libc_cv_asm_unique_object = yes; then
6041 cat >>confdefs.h
<<\_ACEOF
6042 #define HAVE_ASM_UNIQUE_OBJECT 1
6047 # For the multi-arch option we need support in the assembler.
6048 if test "$multi_arch" = yes; then
6049 if test "x$libc_cv_asm_type_prefix" != xno
; then
6050 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
6051 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
6052 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
6053 $as_echo_n "(cached) " >&6
6055 cat > conftest.s
<<EOF
6056 .type foo,%gnu_indirect_function
6058 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
6060 libc_cv_asm_gnu_indirect_function
=yes
6062 libc_cv_asm_gnu_indirect_function
=no
6066 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
6067 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
6069 libc_cv_asm_gnu_indirect_function
=no
6071 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
; then
6072 { { $as_echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
6073 $as_echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
6074 { (exit 1); exit 1; }; }
6078 { $as_echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
6079 $as_echo_n "checking for .symver assembler directive... " >&6; }
6080 if test "${libc_cv_asm_symver_directive+set}" = set; then
6081 $as_echo_n "(cached) " >&6
6083 cat > conftest.s
<<EOF
6086 .symver _sym,sym@VERS
6088 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6089 libc_cv_asm_symver_directive
=yes
6091 libc_cv_asm_symver_directive
=no
6095 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
6096 $as_echo "$libc_cv_asm_symver_directive" >&6; }
6097 { $as_echo "$as_me:$LINENO: checking for ld --version-script" >&5
6098 $as_echo_n "checking for ld --version-script... " >&6; }
6099 if test "${libc_cv_ld_version_script_option+set}" = set; then
6100 $as_echo_n "(cached) " >&6
6102 if test $libc_cv_asm_symver_directive = yes; then
6103 cat > conftest.s
<<EOF
6106 .symver _sym,sym@VERS
6108 cat > conftest.map
<<EOF
6117 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6118 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
6119 -o conftest.so conftest.o
6120 -nostartfiles -nostdlib
6121 -Wl,--version-script,conftest.map
6123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); }; };
6129 libc_cv_ld_version_script_option
=yes
6131 libc_cv_ld_version_script_option
=no
6134 libc_cv_ld_version_script_option
=no
6137 libc_cv_ld_version_script_option
=no
6141 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
6142 $as_echo "$libc_cv_ld_version_script_option" >&6; }
6143 if test $shared != no
&&
6144 test $libc_cv_asm_symver_directive = yes &&
6145 test $libc_cv_ld_version_script_option = yes &&
6146 test $enable_versioning = yes; then
6148 cat >>confdefs.h
<<\_ACEOF
6149 #define DO_VERSIONING 1
6157 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
6159 *** WARNING: You should not compile GNU libc without versioning. Not using
6160 *** versioning will introduce incompatibilities so that old binaries
6161 *** will not run anymore.
6162 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
6164 if test $elf = yes; then
6165 { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
6166 $as_echo_n "checking for .previous assembler directive... " >&6; }
6167 if test "${libc_cv_asm_previous_directive+set}" = set; then
6168 $as_echo_n "(cached) " >&6
6170 cat > conftest.s
<<EOF
6171 .section foo_section
6174 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 libc_cv_asm_previous_directive
=yes
6182 libc_cv_asm_previous_directive
=no
6186 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
6187 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6188 if test $libc_cv_asm_previous_directive = yes; then
6189 cat >>confdefs.h
<<\_ACEOF
6190 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
6194 { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
6195 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6196 if test "${libc_cv_asm_popsection_directive+set}" = set; then
6197 $as_echo_n "(cached) " >&6
6199 cat > conftest.s
<<EOF
6200 .pushsection foo_section
6203 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; }; then
6209 libc_cv_asm_popsection_directive
=yes
6211 libc_cv_asm_popsection_directive
=no
6215 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
6216 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6217 if test $libc_cv_asm_popsection_directive = yes; then
6218 cat >>confdefs.h
<<\_ACEOF
6219 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6224 { $as_echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6225 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6226 if test "${libc_cv_asm_protected_directive+set}" = set; then
6227 $as_echo_n "(cached) " >&6
6229 cat > conftest.s
<<EOF
6235 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); }; }; then
6241 libc_cv_asm_protected_directive
=yes
6243 { { $as_echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6244 $as_echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6245 { (exit 1); exit 1; }; }
6249 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6250 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6252 if test $libc_cv_asm_protected_directive = yes; then
6253 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6254 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6255 if test "${libc_cv_visibility_attribute+set}" = set; then
6256 $as_echo_n "(cached) " >&6
6258 cat > conftest.c
<<EOF
6259 int foo __attribute__ ((visibility ("hidden"))) = 1;
6260 int bar __attribute__ ((visibility ("protected"))) = 1;
6262 libc_cv_visibility_attribute
=no
6263 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; }; then
6269 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
6270 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
6271 libc_cv_visibility_attribute
=yes
6278 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6279 $as_echo "$libc_cv_visibility_attribute" >&6; }
6280 if test $libc_cv_visibility_attribute != yes; then
6281 { { $as_echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6282 $as_echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6283 { (exit 1); exit 1; }; }
6287 if test $libc_cv_visibility_attribute = yes; then
6288 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6289 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6290 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6291 $as_echo_n "(cached) " >&6
6293 cat > conftest.c
<<EOF
6295 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6296 int bar (int x) { return x; }
6298 libc_cv_broken_visibility_attribute
=yes
6299 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); }; }; then
6305 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
6306 libc_cv_broken_visibility_attribute
=no
6309 rm -f conftest.c conftest.s
6312 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6313 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6314 if test $libc_cv_broken_visibility_attribute = yes; then
6315 { { $as_echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6316 $as_echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6317 { (exit 1); exit 1; }; }
6321 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6322 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6323 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6324 $as_echo_n "(cached) " >&6
6326 cat > conftest.c
<<EOF
6327 extern int foo (int x) __asm ("xyzzy");
6328 int bar (int x) { return x; }
6329 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6331 extern __typeof (dfoo) dfoo __asm ("abccb");
6334 libc_cv_broken_alias_attribute
=yes
6335 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); }; }; then
6341 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6342 grep 'abccb' conftest.s
>/dev
/null
; then
6343 libc_cv_broken_alias_attribute
=no
6346 rm -f conftest.c conftest.s
6349 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6350 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6351 if test $libc_cv_broken_alias_attribute = yes; then
6352 { { $as_echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6353 $as_echo "$as_me: error: working alias attribute support required" >&2;}
6354 { (exit 1); exit 1; }; }
6357 if test $libc_cv_visibility_attribute = yes; then
6358 { $as_echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6359 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6360 if test "${libc_cv_have_sdata_section+set}" = set; then
6361 $as_echo_n "(cached) " >&6
6363 echo "int i;" > conftest.c
6364 libc_cv_have_sdata_section
=no
6365 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6366 |
grep '\.sdata' >/dev
/null
; then
6367 libc_cv_have_sdata_section
=yes
6369 rm -f conftest.c conftest.so
6372 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6373 $as_echo "$libc_cv_have_sdata_section" >&6; }
6374 if test $libc_cv_have_sdata_section = yes; then
6375 cat >>confdefs.h
<<\_ACEOF
6376 #define HAVE_SDATA_SECTION 1
6382 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6383 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6384 if test "${libc_cv_initfini_array+set}" = set; then
6385 $as_echo_n "(cached) " >&6
6387 cat > conftest.c
<<EOF
6388 int _start (void) { return 0; }
6389 int __start (void) { return 0; }
6390 int foo (void) { return 1; }
6391 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6393 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6394 -static -nostartfiles -nostdlib 1>&5'
6395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); }; }
6401 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6402 libc_cv_initfini_array
=yes
6404 libc_cv_initfini_array
=no
6407 libc_cv_initfini_array
=no
6411 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6412 $as_echo "$libc_cv_initfini_array" >&6; }
6413 if test $libc_cv_initfini_array != yes; then
6414 { { $as_echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6415 $as_echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6416 { (exit 1); exit 1; }; }
6419 { $as_echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6420 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6421 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6422 $as_echo_n "(cached) " >&6
6425 cat > conftest.c
<<EOF
6426 int main (void) { return 0; }
6428 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6429 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6430 libc_cv_cc_with_libunwind
=yes
6432 libc_cv_cc_with_libunwind
=no
6436 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6437 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6439 if test $libc_cv_cc_with_libunwind = yes; then
6440 cat >>confdefs.h
<<\_ACEOF
6441 #define HAVE_CC_WITH_LIBUNWIND 1
6446 { $as_echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6447 $as_echo_n "checking for -z nodelete option... " >&6; }
6448 if test "${libc_cv_z_nodelete+set}" = set; then
6449 $as_echo_n "(cached) " >&6
6451 cat > conftest.c
<<EOF
6452 int _start (void) { return 42; }
6454 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6455 -fPIC -shared -o conftest.so conftest.c
6456 -nostartfiles -nostdlib
6457 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; }
6464 libc_cv_z_nodelete
=yes
6466 { { $as_echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6467 $as_echo "$as_me: error: linker with -z nodelete support required" >&2;}
6468 { (exit 1); exit 1; }; }
6472 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6473 $as_echo "$libc_cv_z_nodelete" >&6; }
6475 { $as_echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6476 $as_echo_n "checking for -z nodlopen option... " >&6; }
6477 if test "${libc_cv_z_nodlopen+set}" = set; then
6478 $as_echo_n "(cached) " >&6
6480 cat > conftest.c
<<EOF
6481 int _start (void) { return 42; }
6483 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6484 -fPIC -shared -o conftest.so conftest.c
6485 -nostartfiles -nostdlib
6486 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); }; }
6493 libc_cv_z_nodlopen
=yes
6495 { { $as_echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6496 $as_echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6497 { (exit 1); exit 1; }; }
6501 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6502 $as_echo "$libc_cv_z_nodlopen" >&6; }
6504 { $as_echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6505 $as_echo_n "checking for -z initfirst option... " >&6; }
6506 if test "${libc_cv_z_initfirst+set}" = set; then
6507 $as_echo_n "(cached) " >&6
6509 cat > conftest.c
<<EOF
6510 int _start (void) { return 42; }
6512 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6513 -fPIC -shared -o conftest.so conftest.c
6514 -nostartfiles -nostdlib
6515 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); }; }
6522 libc_cv_z_initfirst
=yes
6524 { { $as_echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6525 $as_echo "$as_me: error: linker with -z initfirst support required" >&2;}
6526 { (exit 1); exit 1; }; }
6530 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6531 $as_echo "$libc_cv_z_initfirst" >&6; }
6533 case "$base_machine" in
6534 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6535 { $as_echo "$as_me:$LINENO: checking for -z relro option" >&5
6536 $as_echo_n "checking for -z relro option... " >&6; }
6537 if test "${libc_cv_z_relro+set}" = set; then
6538 $as_echo_n "(cached) " >&6
6541 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); }; }
6548 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; }
6559 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6560 $as_echo "$libc_cv_z_relro" >&6; }
6561 if test "$libc_cv_z_relro" = no
; then
6562 { { $as_echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6563 $as_echo "$as_me: error: linker with -z relro support required" >&2;}
6564 { (exit 1); exit 1; }; }
6570 { $as_echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6571 $as_echo_n "checking for -Bgroup option... " >&6; }
6572 if test "${libc_cv_Bgroup+set}" = set; then
6573 $as_echo_n "(cached) " >&6
6575 cat > conftest.c
<<EOF
6576 int _start (void) { return 42; }
6578 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6579 -fPIC -shared -o conftest.so conftest.c
6580 -Wl,-Bgroup -nostdlib 1>&5'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }
6593 { $as_echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6594 $as_echo "$libc_cv_Bgroup" >&6; }
6597 { $as_echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6598 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6599 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6600 $as_echo_n "(cached) " >&6
6602 cat > conftest.c
<<EOF
6603 int main (void) { return 0; }
6605 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6606 -fPIC -shared -shared-libgcc -o conftest.so \
6607 conftest.c -v 2>&1 >/dev/null \
6608 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6611 { $as_echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6612 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6615 { $as_echo "$as_me:$LINENO: checking for --as-needed option" >&5
6616 $as_echo_n "checking for --as-needed option... " >&6; }
6617 if test "${libc_cv_as_needed+set}" = set; then
6618 $as_echo_n "(cached) " >&6
6620 cat > conftest.c
<<EOF
6621 int main (void) { return 0; }
6623 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6624 -fPIC -shared -o conftest.so conftest.c
6625 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }
6633 libc_cv_as_needed
=yes
6635 libc_cv_as_needed
=no
6639 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6640 $as_echo "$libc_cv_as_needed" >&6; }
6644 { $as_echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6645 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6646 if test "${libc_cv_as_noexecstack+set}" = set; then
6647 $as_echo_n "(cached) " >&6
6649 cat > conftest.c
<<EOF
6652 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6653 -S -o conftest.s conftest.c 1>&5'
6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658 (exit $ac_status); }; } \
6659 && grep -q .note.GNU-stack conftest.s \
6660 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6661 -c -o conftest.o conftest.s 1>&5'
6662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); }; }
6668 libc_cv_as_noexecstack
=yes
6670 libc_cv_as_noexecstack
=no
6674 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6675 $as_echo "$libc_cv_as_noexecstack" >&6; }
6676 if test $libc_cv_as_noexecstack = yes; then
6677 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6681 { $as_echo "$as_me:$LINENO: checking for -z combreloc" >&5
6682 $as_echo_n "checking for -z combreloc... " >&6; }
6683 if test "${libc_cv_z_combreloc+set}" = set; then
6684 $as_echo_n "(cached) " >&6
6686 cat > conftest.c
<<EOF
6687 extern int bar (int);
6689 int foo (void) { return bar (mumble); }
6691 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6692 -fPIC -shared -o conftest.so conftest.c
6693 -nostdlib -nostartfiles
6694 -Wl,-z,combreloc 1>&5'
6695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); }; }
6701 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6702 libc_cv_z_combreloc
=yes
6704 libc_cv_z_combreloc
=no
6707 libc_cv_z_combreloc
=no
6711 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6712 $as_echo "$libc_cv_z_combreloc" >&6; }
6713 if test "$libc_cv_z_combreloc" = yes; then
6714 cat >>confdefs.h
<<\_ACEOF
6715 #define HAVE_Z_COMBRELOC 1
6721 { $as_echo "$as_me:$LINENO: checking for -z execstack" >&5
6722 $as_echo_n "checking for -z execstack... " >&6; }
6723 if test "${libc_cv_z_execstack+set}" = set; then
6724 $as_echo_n "(cached) " >&6
6726 cat > conftest.c
<<EOF
6727 int _start (void) { return 42; }
6729 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6730 -fPIC -shared -o conftest.so conftest.c
6731 -Wl,-z,execstack -nostdlib
6733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); }; }
6739 libc_cv_z_execstack
=yes
6741 libc_cv_z_execstack
=no
6745 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6746 $as_echo "$libc_cv_z_execstack" >&6; }
6749 { $as_echo "$as_me:$LINENO: checking for -fpie" >&5
6750 $as_echo_n "checking for -fpie... " >&6; }
6751 if test "${libc_cv_fpie+set}" = set; then
6752 $as_echo_n "(cached) " >&6
6754 cat > conftest.c
<<EOF
6756 main () { return 0;}
6758 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6759 -o conftest conftest.c 1>&5'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; }
6772 { $as_echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6773 $as_echo "$libc_cv_fpie" >&6; }
6777 { $as_echo "$as_me:$LINENO: checking for --hash-style option" >&5
6778 $as_echo_n "checking for --hash-style option... " >&6; }
6779 if test "${libc_cv_hashstyle+set}" = set; then
6780 $as_echo_n "(cached) " >&6
6782 cat > conftest.c
<<EOF
6783 int _start (void) { return 42; }
6785 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6786 -fPIC -shared -o conftest.so conftest.c
6787 -Wl,--hash-style=both -nostdlib 1>&5'
6788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 (exit $ac_status); }; }
6794 libc_cv_hashstyle
=yes
6796 libc_cv_hashstyle
=no
6800 { $as_echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6801 $as_echo "$libc_cv_hashstyle" >&6; }
6805 { $as_echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6806 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6807 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6808 $as_echo_n "(cached) " >&6
6810 cat > conftest.c
<<EOF
6813 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; }
6821 libc_cv_fno_toplevel_reorder
=yes
6823 libc_cv_fno_toplevel_reorder
=no
6827 { $as_echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6828 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6829 if test $libc_cv_fno_toplevel_reorder = yes; then
6830 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6832 fno_unit_at_a_time
=-fno-unit-at-a-time
6836 { $as_echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6837 $as_echo_n "checking for -fstack-protector... " >&6; }
6838 if test "${libc_cv_ssp+set}" = set; then
6839 $as_echo_n "(cached) " >&6
6841 cat > conftest.c
<<EOF
6843 main () { return 0;}
6845 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6846 -o conftest conftest.c 1>&5'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }
6859 { $as_echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6860 $as_echo "$libc_cv_ssp" >&6; }
6863 { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6864 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6865 if test "${libc_cv_gnu89_inline+set}" = set; then
6866 $as_echo_n "(cached) " >&6
6868 cat > conftest.c
<<EOF
6870 #ifdef __GNUC_GNU_INLINE__
6871 main () { return 0;}
6876 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6877 -o conftest.s conftest.c 1>&5'
6878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); }; }
6884 libc_cv_gnu89_inline
=yes
6886 libc_cv_gnu89_inline
=no
6890 { $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6891 $as_echo "$libc_cv_gnu89_inline" >&6; }
6892 if test $libc_cv_gnu89_inline = yes; then
6893 libc_cv_gnu89_inline
=-fgnu89-inline
6895 libc_cv_gnu89_inline
=
6899 if test $elf != yes; then
6900 { $as_echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6901 $as_echo_n "checking for .init and .fini sections... " >&6; }
6902 if test "${libc_cv_have_initfini+set}" = set; then
6903 $as_echo_n "(cached) " >&6
6905 cat >conftest.
$ac_ext <<_ACEOF
6908 cat confdefs.h
>>conftest.
$ac_ext
6909 cat >>conftest.
$ac_ext <<_ACEOF
6910 /* end confdefs.h. */
6915 asm (".section .init");
6916 asm (".section .fini");
6917 asm ("${libc_cv_dot_text}");
6922 rm -f conftest.
$ac_objext
6923 if { (ac_try
="$ac_compile"
6925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6926 *) ac_try_echo=$ac_try;;
6928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6929 $as_echo "$ac_try_echo") >&5
6930 (eval "$ac_compile") 2>conftest.er1
6932 grep -v '^ *+' conftest.er1 >conftest.err
6934 cat conftest.err >&5
6935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); } && {
6937 test -z "$ac_c_werror_flag" ||
6938 test ! -s conftest.err
6939 } && test -s conftest.$ac_objext; then
6940 libc_cv_have_initfini=yes
6942 $as_echo "$as_me: failed program was:" >&5
6943 sed 's/^/| /' conftest.$ac_ext >&5
6945 libc_cv_have_initfini=no
6948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6950 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6951 $as_echo "$libc_cv_have_initfini" >&6; }
6952 if test $libc_cv_have_initfini = yes; then
6953 cat >>confdefs.h <<\_ACEOF
6954 #define HAVE_INITFINI 1
6960 if test $elf = yes; then
6961 { $as_echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6962 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6963 if test "${libc_cv_have_section_quotes+set}" = set; then
6964 $as_echo_n "(cached) " >&6
6966 cat > conftest.c <<EOF
6967 static const int foo
6968 __attribute__ ((section ("bar"))) = 1;
6970 if ${CC-cc} -S conftest.c -o conftest.s; then
6971 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6972 libc_cv_have_section_quotes=yes
6974 libc_cv_have_section_quotes=no
6977 libc_cv_have_section_quotes=unknown
6982 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6983 $as_echo "$libc_cv_have_section_quotes" >&6; }
6984 if test $libc_cv_have_section_quotes = yes; then
6985 cat >>confdefs.h <<\_ACEOF
6986 #define HAVE_SECTION_QUOTES 1
6994 if test $elf = yes; then
6995 libc_cv_asm_underscores=no
6997 if test $ac_cv_prog_cc_works = yes; then
6998 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6999 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7000 if test "${libc_cv_asm_underscores+set}" = set; then
7001 $as_echo_n "(cached) " >&6
7003 cat >conftest.$ac_ext <<_ACEOF
7006 cat confdefs.h >>conftest.$ac_ext
7007 cat >>conftest.$ac_ext <<_ACEOF
7008 /* end confdefs.h. */
7009 asm ("_glibc_foobar:");
7018 rm -f conftest.$ac_objext conftest$ac_exeext
7019 if { (ac_try="$ac_link"
7021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7022 *) ac_try_echo
=$ac_try;;
7024 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7025 $as_echo "$ac_try_echo") >&5
7026 (eval "$ac_link") 2>conftest.er1
7028 grep -v '^ *+' conftest.er1
>conftest.err
7030 cat conftest.err
>&5
7031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } && {
7033 test -z "$ac_c_werror_flag" ||
7034 test ! -s conftest.err
7035 } && test -s conftest
$ac_exeext && {
7036 test "$cross_compiling" = yes ||
7037 $as_test_x conftest
$ac_exeext
7039 libc_cv_asm_underscores
=yes
7041 $as_echo "$as_me: failed program was:" >&5
7042 sed 's/^/| /' conftest.
$ac_ext >&5
7044 libc_cv_asm_underscores
=no
7047 rm -rf conftest.dSYM
7048 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7049 conftest
$ac_exeext conftest.
$ac_ext
7051 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7052 $as_echo "$libc_cv_asm_underscores" >&6; }
7054 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7055 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7056 if test "${libc_cv_asm_underscores+set}" = set; then
7057 $as_echo_n "(cached) " >&6
7059 cat > conftest.
$ac_ext <<EOF
7060 #line $LINENO "configure"
7061 #include "confdefs.h"
7062 void underscore_test(void) {
7065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7066 (eval $ac_compile) 2>&5
7068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; then
7070 if grep _underscore_test conftest
* >/dev
/null
; then
7072 libc_cv_asm_underscores
=yes
7075 libc_cv_asm_underscores
=no
7078 echo "configure: failed program was:" >&5
7079 cat conftest.
$ac_ext >&5
7081 libc_cv_asm_underscores
=no
7085 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7086 $as_echo "$libc_cv_asm_underscores" >&6; }
7089 if test $libc_cv_asm_underscores = no
; then
7090 cat >>confdefs.h
<<\_ACEOF
7091 #define NO_UNDERSCORES 1
7096 if test $elf = yes; then
7097 libc_cv_weak_symbols
=yes
7100 { $as_echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
7101 $as_echo_n "checking for assembler .weak directive... " >&6; }
7102 if test "${libc_cv_asm_weak_directive+set}" = set; then
7103 $as_echo_n "(cached) " >&6
7105 cat > conftest.s
<<EOF
7107 ${libc_cv_asm_global_directive} foo
7110 .weak bar; bar = foo
7112 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); }; }; then
7118 libc_cv_asm_weak_directive
=yes
7120 libc_cv_asm_weak_directive
=no
7124 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
7125 $as_echo "$libc_cv_asm_weak_directive" >&6; }
7127 if test $libc_cv_asm_weak_directive = no
; then
7128 { $as_echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
7129 $as_echo_n "checking for assembler .weakext directive... " >&6; }
7130 if test "${libc_cv_asm_weakext_directive+set}" = set; then
7131 $as_echo_n "(cached) " >&6
7133 cat > conftest.s
<<EOF
7135 ${libc_cv_asm_global_directive} foo
7139 ${libc_cv_asm_global_directive} baz
7142 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); }; }; then
7148 libc_cv_asm_weakext_directive
=yes
7150 libc_cv_asm_weakext_directive
=no
7154 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
7155 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
7159 if test $libc_cv_asm_weak_directive = yes; then
7160 cat >>confdefs.h
<<\_ACEOF
7161 #define HAVE_ASM_WEAK_DIRECTIVE 1
7164 elif test $libc_cv_asm_weakext_directive = yes; then
7165 cat >>confdefs.h
<<\_ACEOF
7166 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
7171 { $as_echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
7172 $as_echo_n "checking whether CFI directives are supported... " >&6; }
7173 if test "${libc_cv_asm_cfi_directives+set}" = set; then
7174 $as_echo_n "(cached) " >&6
7177 sparc
/sparc64
*) cfi_offset
=2047;;
7180 cat > conftest.s
<<EOF
7182 .type func,%function
7186 .cfi_rel_offset 1, $cfi_offset
7189 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); }; }; then
7195 libc_cv_asm_cfi_directives
=yes
7197 libc_cv_asm_cfi_directives
=no
7201 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
7202 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
7203 if test $libc_cv_asm_cfi_directives = yes; then
7204 cat >>confdefs.h
<<\_ACEOF
7205 #define HAVE_ASM_CFI_DIRECTIVES 1
7210 { $as_echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
7211 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
7212 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
7213 $as_echo_n "(cached) " >&6
7215 cat > conftest.c
<<\EOF
7220 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7221 -nostdlib -nostartfiles -Wl,--no-whole-archive
7222 -o conftest conftest.c 1>&5'
7223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); }; }; then
7228 libc_cv_ld_no_whole_archive
=yes
7230 libc_cv_ld_no_whole_archive
=no
7234 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7235 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
7236 if test $libc_cv_ld_no_whole_archive = yes; then
7237 no_whole_archive
=-Wl,--no-whole-archive
7240 { $as_echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7241 $as_echo_n "checking for gcc -fexceptions... " >&6; }
7242 if test "${libc_cv_gcc_exceptions+set}" = set; then
7243 $as_echo_n "(cached) " >&6
7245 cat > conftest.c
<<\EOF
7250 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7251 -nostdlib -nostartfiles -fexceptions
7252 -o conftest conftest.c 1>&5'
7253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); }; }; then
7258 libc_cv_gcc_exceptions
=yes
7260 libc_cv_gcc_exceptions
=no
7264 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7265 $as_echo "$libc_cv_gcc_exceptions" >&6; }
7266 if test $libc_cv_gcc_exceptions = yes; then
7267 exceptions
=-fexceptions
7270 if test "$host_cpu" = powerpc
; then
7271 # Check for a bug present in at least versions 2.8.x of GCC
7272 # and versions 1.0.x of EGCS.
7273 { $as_echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7274 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7275 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7276 $as_echo_n "(cached) " >&6
7278 cat >conftest.
$ac_ext <<_ACEOF
7281 cat confdefs.h
>>conftest.
$ac_ext
7282 cat >>conftest.
$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7284 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7293 rm -f conftest.
$ac_objext
7294 if { (ac_try
="$ac_compile"
7296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7297 *) ac_try_echo=$ac_try;;
7299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7300 $as_echo "$ac_try_echo") >&5
7301 (eval "$ac_compile") 2>conftest.er1
7303 grep -v '^ *+' conftest.er1 >conftest.err
7305 cat conftest.err >&5
7306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); } && {
7308 test -z "$ac_c_werror_flag" ||
7309 test ! -s conftest.err
7310 } && test -s conftest.$ac_objext; then
7311 libc_cv_c_asmcr0_bug='no'
7313 $as_echo "$as_me: failed program was:" >&5
7314 sed 's/^/| /' conftest.$ac_ext >&5
7316 libc_cv_c_asmcr0_bug='yes'
7319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7321 { $as_echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7322 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7323 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7324 cat >>confdefs.h <<\_ACEOF
7325 #define BROKEN_PPC_ASM_CR0 1
7331 { $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7332 $as_echo_n "checking for __builtin_expect... " >&6; }
7333 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7334 $as_echo_n "(cached) " >&6
7336 cat > conftest.c <<EOF
7337 #line $LINENO "configure"
7340 a = __builtin_expect (a, 10);
7341 return a == 10 ? 0 : 1;
7344 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7345 -o conftest conftest.c -lgcc >&5'
7346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); }; }; then
7351 libc_cv_gcc_builtin_expect=yes
7353 libc_cv_gcc_builtin_expect=no
7357 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7358 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7359 if test "$libc_cv_gcc_builtin_expect" = yes; then
7360 cat >>confdefs.h <<\_ACEOF
7361 #define HAVE_BUILTIN_EXPECT 1
7366 { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7367 $as_echo_n "checking for __builtin_memset... " >&6; }
7368 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7369 $as_echo_n "(cached) " >&6
7371 cat > conftest.c <<\EOF
7374 __builtin_memset (x, 0, 1000);
7377 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); }; };
7384 libc_cv_gcc_builtin_memset=no
7386 libc_cv_gcc_builtin_memset=yes
7390 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7391 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
7392 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7393 cat >>confdefs.h <<\_ACEOF
7394 #define HAVE_BUILTIN_MEMSET 1
7399 { $as_echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7400 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7401 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7402 $as_echo_n "(cached) " >&6
7404 cat > conftest.c <<\EOF
7405 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7406 char *foo (const char *a, const char *b)
7408 return __builtin_strstr (a, b);
7411 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; };
7418 libc_cv_gcc_builtin_redirection=yes
7420 libc_cv_gcc_builtin_redirection=no
7424 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7425 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7426 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7427 cat >>confdefs.h <<\_ACEOF
7428 #define HAVE_BUILTIN_REDIRECTION 1
7433 if test "x$use__thread" != xno; then
7434 { $as_echo "$as_me:$LINENO: checking for __thread" >&5
7435 $as_echo_n "checking for __thread... " >&6; }
7436 if test "${libc_cv_gcc___thread+set}" = set; then
7437 $as_echo_n "(cached) " >&6
7439 cat > conftest.c <<\EOF
7440 __thread int a = 42;
7442 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; }; then
7448 libc_cv_gcc___thread=yes
7450 libc_cv_gcc___thread=no
7454 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7455 $as_echo "$libc_cv_gcc___thread" >&6; }
7456 if test "$libc_cv_gcc___thread" = yes; then
7457 cat >>confdefs.h <<\_ACEOF
7458 #define HAVE___THREAD 1
7463 libc_cv_gcc___thread=no
7466 if test "$libc_cv_gcc___thread" = yes; then
7467 { $as_echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7468 $as_echo_n "checking for tls_model attribute... " >&6; }
7469 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7470 $as_echo_n "(cached) " >&6
7472 cat > conftest.c <<\EOF
7473 extern __thread int a __attribute__((tls_model ("initial-exec")));
7475 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); }; }; then
7481 libc_cv_gcc_tls_model_attr=yes
7483 libc_cv_gcc_tls_model_attr=no
7487 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7488 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7489 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7490 cat >>confdefs.h <<\_ACEOF
7491 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7497 if test -n "$submachine"; then
7498 { $as_echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7499 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7500 if test "${libc_cv_cc_submachine+set}" = set; then
7501 $as_echo_n "(cached) " >&6
7503 libc_cv_cc_submachine=no
7504 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7505 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; }; then
7511 libc_cv_cc_submachine="$opt"
7516 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7517 $as_echo "$libc_cv_cc_submachine" >&6; }
7518 if test "x$libc_cv_cc_submachine" = xno; then
7519 { { $as_echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7520 $as_echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7521 { (exit 1); exit 1; }; }
7526 { $as_echo "$as_me:$LINENO: checking for libgd" >&5
7527 $as_echo_n "checking for libgd... " >&6; }
7528 if test "$with_gd" != "no"; then
7529 old_CFLAGS="$CFLAGS"
7530 CFLAGS="$CFLAGS $libgd_include"
7531 old_LDFLAGS="$LDFLAGS"
7532 LDFLAGS="$LDFLAGS $libgd_ldflags"
7534 LIBS="$LIBS -lgd -lpng -lz -lm"
7535 cat >conftest.$ac_ext <<_ACEOF
7538 cat confdefs.h >>conftest.$ac_ext
7539 cat >>conftest.$ac_ext <<_ACEOF
7540 /* end confdefs.h. */
7550 rm -f conftest.$ac_objext conftest$ac_exeext
7551 if { (ac_try="$ac_link"
7553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7554 *) ac_try_echo
=$ac_try;;
7556 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7557 $as_echo "$ac_try_echo") >&5
7558 (eval "$ac_link") 2>conftest.er1
7560 grep -v '^ *+' conftest.er1
>conftest.err
7562 cat conftest.err
>&5
7563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); } && {
7565 test -z "$ac_c_werror_flag" ||
7566 test ! -s conftest.err
7567 } && test -s conftest
$ac_exeext && {
7568 test "$cross_compiling" = yes ||
7569 $as_test_x conftest
$ac_exeext
7573 $as_echo "$as_me: failed program was:" >&5
7574 sed 's/^/| /' conftest.
$ac_ext >&5
7579 rm -rf conftest.dSYM
7580 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7581 conftest
$ac_exeext conftest.
$ac_ext
7582 CFLAGS
="$old_CFLAGS"
7583 LDFLAGS
="$old_LDFLAGS"
7588 { $as_echo "$as_me:$LINENO: result: $LIBGD" >&5
7589 $as_echo "$LIBGD" >&6; }
7593 if test x
$with_selinux = xno
; then
7596 # See if we have the SELinux library
7597 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7598 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7599 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7600 $as_echo_n "(cached) " >&6
7602 ac_check_lib_save_LIBS
=$LIBS
7603 LIBS
="-lselinux $LIBS"
7604 cat >conftest.
$ac_ext <<_ACEOF
7607 cat confdefs.h
>>conftest.
$ac_ext
7608 cat >>conftest.
$ac_ext <<_ACEOF
7609 /* end confdefs.h. */
7611 /* Override any GCC internal prototype to avoid an error.
7612 Use char because int might match the return type of a GCC
7613 builtin and then its argument prototype would still apply. */
7617 char is_selinux_enabled ();
7621 return is_selinux_enabled ();
7626 rm -f conftest.
$ac_objext conftest
$ac_exeext
7627 if { (ac_try
="$ac_link"
7629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7630 *) ac_try_echo=$ac_try;;
7632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7633 $as_echo "$ac_try_echo") >&5
7634 (eval "$ac_link") 2>conftest.er1
7636 grep -v '^ *+' conftest.er1 >conftest.err
7638 cat conftest.err >&5
7639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } && {
7641 test -z "$ac_c_werror_flag" ||
7642 test ! -s conftest.err
7643 } && test -s conftest$ac_exeext && {
7644 test "$cross_compiling" = yes ||
7645 $as_test_x conftest$ac_exeext
7647 ac_cv_lib_selinux_is_selinux_enabled=yes
7649 $as_echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7652 ac_cv_lib_selinux_is_selinux_enabled=no
7655 rm -rf conftest.dSYM
7656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7657 conftest$ac_exeext conftest.$ac_ext
7658 LIBS=$ac_check_lib_save_LIBS
7660 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7661 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7662 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
7668 # See if we have the SELinux header with the NSCD permissions in it.
7669 if test x$have_selinux = xyes ; then
7670 { $as_echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7671 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7672 cat >conftest.$ac_ext <<_ACEOF
7675 cat confdefs.h >>conftest.$ac_ext
7676 cat >>conftest.$ac_ext <<_ACEOF
7677 /* end confdefs.h. */
7678 #include <selinux/av_permissions.h>
7682 #ifdef NSCD__SHMEMHOST
7685 #error NSCD__SHMEMHOST not defined
7691 rm -f conftest.$ac_objext
7692 if { (ac_try="$ac_compile"
7694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7695 *) ac_try_echo
=$ac_try;;
7697 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7698 $as_echo "$ac_try_echo") >&5
7699 (eval "$ac_compile") 2>conftest.er1
7701 grep -v '^ *+' conftest.er1
>conftest.err
7703 cat conftest.err
>&5
7704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); } && {
7706 test -z "$ac_c_werror_flag" ||
7707 test ! -s conftest.err
7708 } && test -s conftest.
$ac_objext; then
7711 $as_echo "$as_me: failed program was:" >&5
7712 sed 's/^/| /' conftest.
$ac_ext >&5
7717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7718 { $as_echo "$as_me:$LINENO: result: $have_selinux" >&5
7719 $as_echo "$have_selinux" >&6; }
7722 if test x
$with_selinux = xyes
; then
7723 if test x
$have_selinux = xno
; then
7724 { { $as_echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7725 $as_echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7726 { (exit 1); exit 1; }; }
7730 # Check if we're building with SELinux support.
7731 if test "x$have_selinux" = xyes
; then
7733 cat >>confdefs.h
<<\_ACEOF
7734 #define HAVE_SELINUX 1
7738 # See if we have the libaudit library
7739 { $as_echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7740 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7741 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7742 $as_echo_n "(cached) " >&6
7744 ac_check_lib_save_LIBS
=$LIBS
7745 LIBS
="-laudit $LIBS"
7746 cat >conftest.
$ac_ext <<_ACEOF
7749 cat confdefs.h
>>conftest.
$ac_ext
7750 cat >>conftest.
$ac_ext <<_ACEOF
7751 /* end confdefs.h. */
7753 /* Override any GCC internal prototype to avoid an error.
7754 Use char because int might match the return type of a GCC
7755 builtin and then its argument prototype would still apply. */
7759 char audit_log_user_avc_message ();
7763 return audit_log_user_avc_message ();
7768 rm -f conftest.
$ac_objext conftest
$ac_exeext
7769 if { (ac_try
="$ac_link"
7771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7772 *) ac_try_echo=$ac_try;;
7774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7775 $as_echo "$ac_try_echo") >&5
7776 (eval "$ac_link") 2>conftest.er1
7778 grep -v '^ *+' conftest.er1 >conftest.err
7780 cat conftest.err >&5
7781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } && {
7783 test -z "$ac_c_werror_flag" ||
7784 test ! -s conftest.err
7785 } && test -s conftest$ac_exeext && {
7786 test "$cross_compiling" = yes ||
7787 $as_test_x conftest$ac_exeext
7789 ac_cv_lib_audit_audit_log_user_avc_message=yes
7791 $as_echo "$as_me: failed program was:" >&5
7792 sed 's/^/| /' conftest.$ac_ext >&5
7794 ac_cv_lib_audit_audit_log_user_avc_message=no
7797 rm -rf conftest.dSYM
7798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7799 conftest$ac_exeext conftest.$ac_ext
7800 LIBS=$ac_check_lib_save_LIBS
7802 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7803 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7804 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then
7810 if test "x$have_libaudit" = xyes; then
7812 cat >>confdefs.h <<\_ACEOF
7813 #define HAVE_LIBAUDIT 1
7819 # See if we have the libcap library
7820 { $as_echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7821 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7822 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7823 $as_echo_n "(cached) " >&6
7825 ac_check_lib_save_LIBS=$LIBS
7827 cat >conftest.$ac_ext <<_ACEOF
7830 cat confdefs.h >>conftest.$ac_ext
7831 cat >>conftest.$ac_ext <<_ACEOF
7832 /* end confdefs.h. */
7834 /* Override any GCC internal prototype to avoid an error.
7835 Use char because int might match the return type of a GCC
7836 builtin and then its argument prototype would still apply. */
7849 rm -f conftest.$ac_objext conftest$ac_exeext
7850 if { (ac_try="$ac_link"
7852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7853 *) ac_try_echo
=$ac_try;;
7855 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7856 $as_echo "$ac_try_echo") >&5
7857 (eval "$ac_link") 2>conftest.er1
7859 grep -v '^ *+' conftest.er1
>conftest.err
7861 cat conftest.err
>&5
7862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); } && {
7864 test -z "$ac_c_werror_flag" ||
7865 test ! -s conftest.err
7866 } && test -s conftest
$ac_exeext && {
7867 test "$cross_compiling" = yes ||
7868 $as_test_x conftest
$ac_exeext
7870 ac_cv_lib_cap_cap_init
=yes
7872 $as_echo "$as_me: failed program was:" >&5
7873 sed 's/^/| /' conftest.
$ac_ext >&5
7875 ac_cv_lib_cap_cap_init
=no
7878 rm -rf conftest.dSYM
7879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7880 conftest
$ac_exeext conftest.
$ac_ext
7881 LIBS
=$ac_check_lib_save_LIBS
7883 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7884 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7885 if test "x$ac_cv_lib_cap_cap_init" = x
""yes; then
7891 if test "x$have_libcap" = xyes
; then
7893 cat >>confdefs.h
<<\_ACEOF
7894 #define HAVE_LIBCAP 1
7903 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7904 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7905 if test "${ac_cv_path_GREP+set}" = set; then
7906 $as_echo_n "(cached) " >&6
7908 if test -z "$GREP"; then
7909 ac_path_GREP_found
=false
7910 # Loop through the user's path and test for each of PROGNAME-LIST
7911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7912 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7915 test -z "$as_dir" && as_dir
=.
7916 for ac_prog
in grep ggrep
; do
7917 for ac_exec_ext
in '' $ac_executable_extensions; do
7918 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7919 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7920 # Check for GNU ac_path_GREP and select it if it is found.
7921 # Check for GNU $ac_path_GREP
7922 case `"$ac_path_GREP" --version 2>&1` in
7924 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7927 $as_echo_n 0123456789 >"conftest.in"
7930 cat "conftest.in" "conftest.in" >"conftest.tmp"
7931 mv "conftest.tmp" "conftest.in"
7932 cp "conftest.in" "conftest.nl"
7933 $as_echo 'GREP' >> "conftest.nl"
7934 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7935 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7936 ac_count
=`expr $ac_count + 1`
7937 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7938 # Best one so far, save it but keep looking for a better one
7939 ac_cv_path_GREP
="$ac_path_GREP"
7940 ac_path_GREP_max
=$ac_count
7942 # 10*(2^10) chars as input seems more than enough
7943 test $ac_count -gt 10 && break
7945 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7948 $ac_path_GREP_found && break 3
7953 if test -z "$ac_cv_path_GREP"; then
7954 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7955 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7956 { (exit 1); exit 1; }; }
7959 ac_cv_path_GREP
=$GREP
7963 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7964 $as_echo "$ac_cv_path_GREP" >&6; }
7965 GREP
="$ac_cv_path_GREP"
7968 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
7969 $as_echo_n "checking for egrep... " >&6; }
7970 if test "${ac_cv_path_EGREP+set}" = set; then
7971 $as_echo_n "(cached) " >&6
7973 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7974 then ac_cv_path_EGREP
="$GREP -E"
7976 if test -z "$EGREP"; then
7977 ac_path_EGREP_found
=false
7978 # Loop through the user's path and test for each of PROGNAME-LIST
7979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7980 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7983 test -z "$as_dir" && as_dir
=.
7984 for ac_prog
in egrep; do
7985 for ac_exec_ext
in '' $ac_executable_extensions; do
7986 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7987 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7988 # Check for GNU ac_path_EGREP and select it if it is found.
7989 # Check for GNU $ac_path_EGREP
7990 case `"$ac_path_EGREP" --version 2>&1` in
7992 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7995 $as_echo_n 0123456789 >"conftest.in"
7998 cat "conftest.in" "conftest.in" >"conftest.tmp"
7999 mv "conftest.tmp" "conftest.in"
8000 cp "conftest.in" "conftest.nl"
8001 $as_echo 'EGREP' >> "conftest.nl"
8002 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8003 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8004 ac_count
=`expr $ac_count + 1`
8005 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8006 # Best one so far, save it but keep looking for a better one
8007 ac_cv_path_EGREP
="$ac_path_EGREP"
8008 ac_path_EGREP_max
=$ac_count
8010 # 10*(2^10) chars as input seems more than enough
8011 test $ac_count -gt 10 && break
8013 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8016 $ac_path_EGREP_found && break 3
8021 if test -z "$ac_cv_path_EGREP"; then
8022 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8023 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8024 { (exit 1); exit 1; }; }
8027 ac_cv_path_EGREP
=$EGREP
8032 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8033 $as_echo "$ac_cv_path_EGREP" >&6; }
8034 EGREP
="$ac_cv_path_EGREP"
8037 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8038 $as_echo_n "checking for ANSI C header files... " >&6; }
8039 if test "${ac_cv_header_stdc+set}" = set; then
8040 $as_echo_n "(cached) " >&6
8042 cat >conftest.
$ac_ext <<_ACEOF
8045 cat confdefs.h
>>conftest.
$ac_ext
8046 cat >>conftest.
$ac_ext <<_ACEOF
8047 /* end confdefs.h. */
8061 rm -f conftest.
$ac_objext
8062 if { (ac_try
="$ac_compile"
8064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8065 *) ac_try_echo=$ac_try;;
8067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8068 $as_echo "$ac_try_echo") >&5
8069 (eval "$ac_compile") 2>conftest.er1
8071 grep -v '^ *+' conftest.er1 >conftest.err
8073 cat conftest.err >&5
8074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); } && {
8076 test -z "$ac_c_werror_flag" ||
8077 test ! -s conftest.err
8078 } && test -s conftest.$ac_objext; then
8079 ac_cv_header_stdc=yes
8081 $as_echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.$ac_ext >&5
8084 ac_cv_header_stdc=no
8087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8089 if test $ac_cv_header_stdc = yes; then
8090 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8091 cat >conftest.$ac_ext <<_ACEOF
8094 cat confdefs.h >>conftest.$ac_ext
8095 cat >>conftest.$ac_ext <<_ACEOF
8096 /* end confdefs.h. */
8100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8101 $EGREP "memchr" >/dev/null 2>&1; then
8104 ac_cv_header_stdc=no
8110 if test $ac_cv_header_stdc = yes; then
8111 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8112 cat >conftest.$ac_ext <<_ACEOF
8115 cat confdefs.h >>conftest.$ac_ext
8116 cat >>conftest.$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8122 $EGREP "free" >/dev/null 2>&1; then
8125 ac_cv_header_stdc=no
8131 if test $ac_cv_header_stdc = yes; then
8132 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8133 if test "$cross_compiling" = yes; then
8136 cat >conftest.$ac_ext <<_ACEOF
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8144 #if ((' ' & 0x0FF) == 0x020)
8145 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8146 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8148 # define ISLOWER(c) \
8149 (('a' <= (c) && (c) <= 'i') \
8150 || ('j' <= (c) && (c) <= 'r') \
8151 || ('s' <= (c) && (c) <= 'z'))
8152 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8155 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8160 for (i = 0; i < 256; i++)
8161 if (XOR (islower (i), ISLOWER (i))
8162 || toupper (i) != TOUPPER (i))
8167 rm -f conftest$ac_exeext
8168 if { (ac_try="$ac_link"
8170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8171 *) ac_try_echo
=$ac_try;;
8173 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8174 $as_echo "$ac_try_echo") >&5
8175 (eval "$ac_link") 2>&5
8177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8179 { (case "(($ac_try" in
8180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8181 *) ac_try_echo=$ac_try;;
8183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8184 $as_echo "$ac_try_echo") >&5
8185 (eval "$ac_try") 2>&5
8187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 (exit $ac_status); }; }; then
8191 $as_echo "$as_me: program exited with status $ac_status" >&5
8192 $as_echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.$ac_ext >&5
8196 ac_cv_header_stdc=no
8198 rm -rf conftest.dSYM
8199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8205 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8206 $as_echo "$ac_cv_header_stdc" >&6; }
8207 if test $ac_cv_header_stdc = yes; then
8209 cat >>confdefs.h <<\_ACEOF
8210 #define STDC_HEADERS 1
8215 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8225 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8226 inttypes.h stdint.h unistd.h
8228 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8229 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8230 $as_echo_n "checking for $ac_header... " >&6; }
8231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8232 $as_echo_n "(cached) " >&6
8234 cat >conftest.$ac_ext <<_ACEOF
8237 cat confdefs.h >>conftest.$ac_ext
8238 cat >>conftest.$ac_ext <<_ACEOF
8239 /* end confdefs.h. */
8240 $ac_includes_default
8242 #include <$ac_header>
8244 rm -f conftest.$ac_objext
8245 if { (ac_try="$ac_compile"
8247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8248 *) ac_try_echo
=$ac_try;;
8250 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8251 $as_echo "$ac_try_echo") >&5
8252 (eval "$ac_compile") 2>conftest.er1
8254 grep -v '^ *+' conftest.er1
>conftest.err
8256 cat conftest.err
>&5
8257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); } && {
8259 test -z "$ac_c_werror_flag" ||
8260 test ! -s conftest.err
8261 } && test -s conftest.
$ac_objext; then
8262 eval "$as_ac_Header=yes"
8264 $as_echo "$as_me: failed program was:" >&5
8265 sed 's/^/| /' conftest.
$ac_ext >&5
8267 eval "$as_ac_Header=no"
8270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8272 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8273 $as_echo "$as_val"'`
8274 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8275 $as_echo "$ac_res" >&6; }
8276 as_val
=`eval 'as_val=${'$as_ac_Header'}
8277 $as_echo "$as_val"'`
8278 if test "x$as_val" = x
""yes; then
8279 cat >>confdefs.h
<<_ACEOF
8280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8288 # The cast to long int works around a bug in the HP C Compiler
8289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8291 # This bug is HP SR number 8606223364.
8292 { $as_echo "$as_me:$LINENO: checking size of long double" >&5
8293 $as_echo_n "checking size of long double... " >&6; }
8294 if test "${ac_cv_sizeof_long_double+set}" = set; then
8295 $as_echo_n "(cached) " >&6
8297 if test "$cross_compiling" = yes; then
8298 # Depending upon the size, compute the lo and hi bounds.
8299 cat >conftest.
$ac_ext <<_ACEOF
8302 cat confdefs.h
>>conftest.
$ac_ext
8303 cat >>conftest.
$ac_ext <<_ACEOF
8304 /* end confdefs.h. */
8305 $ac_includes_default
8309 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= 0)];
8316 rm -f conftest.
$ac_objext
8317 if { (ac_try
="$ac_compile"
8319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8320 *) ac_try_echo=$ac_try;;
8322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8323 $as_echo "$ac_try_echo") >&5
8324 (eval "$ac_compile") 2>conftest.er1
8326 grep -v '^ *+' conftest.er1 >conftest.err
8328 cat conftest.err >&5
8329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8330 (exit $ac_status); } && {
8331 test -z "$ac_c_werror_flag" ||
8332 test ! -s conftest.err
8333 } && test -s conftest.$ac_objext; then
8336 cat >conftest.$ac_ext <<_ACEOF
8339 cat confdefs.h >>conftest.$ac_ext
8340 cat >>conftest.$ac_ext <<_ACEOF
8341 /* end confdefs.h. */
8342 $ac_includes_default
8346 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8353 rm -f conftest.$ac_objext
8354 if { (ac_try="$ac_compile"
8356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8357 *) ac_try_echo
=$ac_try;;
8359 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8360 $as_echo "$ac_try_echo") >&5
8361 (eval "$ac_compile") 2>conftest.er1
8363 grep -v '^ *+' conftest.er1
>conftest.err
8365 cat conftest.err
>&5
8366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); } && {
8368 test -z "$ac_c_werror_flag" ||
8369 test ! -s conftest.err
8370 } && test -s conftest.
$ac_objext; then
8371 ac_hi
=$ac_mid; break
8373 $as_echo "$as_me: failed program was:" >&5
8374 sed 's/^/| /' conftest.
$ac_ext >&5
8376 ac_lo
=`expr $ac_mid + 1`
8377 if test $ac_lo -le $ac_mid; then
8381 ac_mid
=`expr 2 '*' $ac_mid + 1`
8384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8387 $as_echo "$as_me: failed program was:" >&5
8388 sed 's/^/| /' conftest.
$ac_ext >&5
8390 cat >conftest.
$ac_ext <<_ACEOF
8393 cat confdefs.h
>>conftest.
$ac_ext
8394 cat >>conftest.
$ac_ext <<_ACEOF
8395 /* end confdefs.h. */
8396 $ac_includes_default
8400 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) < 0)];
8407 rm -f conftest.
$ac_objext
8408 if { (ac_try
="$ac_compile"
8410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8411 *) ac_try_echo=$ac_try;;
8413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8414 $as_echo "$ac_try_echo") >&5
8415 (eval "$ac_compile") 2>conftest.er1
8417 grep -v '^ *+' conftest.er1 >conftest.err
8419 cat conftest.err >&5
8420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); } && {
8422 test -z "$ac_c_werror_flag" ||
8423 test ! -s conftest.err
8424 } && test -s conftest.$ac_objext; then
8427 cat >conftest.$ac_ext <<_ACEOF
8430 cat confdefs.h >>conftest.$ac_ext
8431 cat >>conftest.$ac_ext <<_ACEOF
8432 /* end confdefs.h. */
8433 $ac_includes_default
8437 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= $ac_mid)];
8444 rm -f conftest.$ac_objext
8445 if { (ac_try="$ac_compile"
8447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8448 *) ac_try_echo
=$ac_try;;
8450 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8451 $as_echo "$ac_try_echo") >&5
8452 (eval "$ac_compile") 2>conftest.er1
8454 grep -v '^ *+' conftest.er1
>conftest.err
8456 cat conftest.err
>&5
8457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); } && {
8459 test -z "$ac_c_werror_flag" ||
8460 test ! -s conftest.err
8461 } && test -s conftest.
$ac_objext; then
8462 ac_lo
=$ac_mid; break
8464 $as_echo "$as_me: failed program was:" >&5
8465 sed 's/^/| /' conftest.
$ac_ext >&5
8467 ac_hi
=`expr '(' $ac_mid ')' - 1`
8468 if test $ac_mid -le $ac_hi; then
8472 ac_mid
=`expr 2 '*' $ac_mid`
8475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8478 $as_echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.
$ac_ext >&5
8484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8488 # Binary search between lo and hi bounds.
8489 while test "x$ac_lo" != "x$ac_hi"; do
8490 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8491 cat >conftest.
$ac_ext <<_ACEOF
8494 cat confdefs.h
>>conftest.
$ac_ext
8495 cat >>conftest.
$ac_ext <<_ACEOF
8496 /* end confdefs.h. */
8497 $ac_includes_default
8501 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8508 rm -f conftest.
$ac_objext
8509 if { (ac_try
="$ac_compile"
8511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8512 *) ac_try_echo=$ac_try;;
8514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8515 $as_echo "$ac_try_echo") >&5
8516 (eval "$ac_compile") 2>conftest.er1
8518 grep -v '^ *+' conftest.er1 >conftest.err
8520 cat conftest.err >&5
8521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } && {
8523 test -z "$ac_c_werror_flag" ||
8524 test ! -s conftest.err
8525 } && test -s conftest.$ac_objext; then
8528 $as_echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8531 ac_lo=`expr '(' $ac_mid ')' + 1`
8534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8537 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8538 '') if test "$ac_cv_type_long_double" = yes; then
8539 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8541 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long double
)
8542 See \
`config.log' for more details." >&5
8543 $as_echo "$as_me: error: cannot compute sizeof (long double)
8544 See \`config.log
' for more details." >&2;}
8545 { (exit 77); exit 77; }; }; }
8547 ac_cv_sizeof_long_double=0
8551 cat >conftest.$ac_ext <<_ACEOF
8554 cat confdefs.h >>conftest.$ac_ext
8555 cat >>conftest.$ac_ext <<_ACEOF
8556 /* end confdefs.h. */
8557 $ac_includes_default
8558 static long int longval () { return (long int) (sizeof (long double)); }
8559 static unsigned long int ulongval () { return (long int) (sizeof (long double)); }
8566 FILE *f = fopen ("conftest.val", "w");
8569 if (((long int) (sizeof (long double))) < 0)
8571 long int i = longval ();
8572 if (i != ((long int) (sizeof (long double))))
8574 fprintf (f, "%ld", i);
8578 unsigned long int i = ulongval ();
8579 if (i != ((long int) (sizeof (long double))))
8581 fprintf (f, "%lu", i);
8583 /* Do not output a trailing newline, as this causes \r\n confusion
8584 on some platforms. */
8585 return ferror (f) || fclose (f) != 0;
8591 rm -f conftest$ac_exeext
8592 if { (ac_try="$ac_link"
8594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8595 *) ac_try_echo=$ac_try;;
8597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8598 $as_echo "$ac_try_echo") >&5
8599 (eval "$ac_link") 2>&5
8601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
8603 { (case "(($ac_try" in
8604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8605 *) ac_try_echo=$ac_try;;
8607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8608 $as_echo "$ac_try_echo") >&5
8609 (eval "$ac_try") 2>&5
8611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; }; then
8613 ac_cv_sizeof_long_double=`cat conftest.val`
8615 $as_echo "$as_me: program exited with status $ac_status" >&5
8616 $as_echo "$as_me: failed program was:" >&5
8617 sed 's
/^
/|
/' conftest.$ac_ext >&5
8620 if test "$ac_cv_type_long_double" = yes; then
8621 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8622 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
8623 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8624 See \`config.log
' for more details." >&5
8625 $as_echo "$as_me: error: cannot compute sizeof (long double)
8626 See \`config.log' for more details.
" >&2;}
8627 { (exit 77); exit 77; }; }; }
8629 ac_cv_sizeof_long_double=0
8632 rm -rf conftest.dSYM
8633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8637 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8638 $as_echo "$ac_cv_sizeof_long_double" >&6; }
8642 cat >>confdefs.h <<_ACEOF
8643 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8647 sizeof_long_double=$ac_cv_sizeof_long_double
8650 ### End of automated tests.
8651 ### Now run sysdeps configure fragments.
8653 # They also can set these variables.
8655 ldd_rewrite_script=no
8656 libc_cv_sysconfdir=$sysconfdir
8657 libc_cv_gcc_unwind_find_fde=no
8660 # Iterate over all the sysdep directories we will use, running their
8661 # configure fragments, and looking for a uname implementation.
8663 for dir in $sysnames; do
8666 *) dest=$srcdir/$dir ;;
8668 if test -r $dest/configure; then
8669 { $as_echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8670 $as_echo "running configure fragment
for $dir" >&6; }
8674 if test -z "$uname"; then
8675 if test -r $dest/uname.c ||
8676 test -r $dest/uname.S ||
8677 { test -r $dest/syscalls.list &&
8678 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8684 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8685 cat >>confdefs.h <<\_ACEOF
8686 #define EXPORT_UNWIND_FIND_FDE 1
8692 # If we will use the generic uname implementation, we must figure out what
8693 # it will say by examining the system, and write the results in config-name.h.
8694 if test "$uname" = "sysdeps
/generic
"; then
8696 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8697 if test $uname_sysname != $config_os; then
8698 config_release=`echo $config_os | sed s/$uname_sysname//`
8701 { $as_echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8702 $as_echo_n "checking OS release
for uname...
" >&6; }
8703 if test "${libc_cv_uname_release+set}" = set; then
8704 $as_echo_n "(cached
) " >&6
8706 if test -r /vmunix; then
8707 kernel_id=`strings /vmunix | grep UNIX`
8708 elif test -r /dynix; then
8709 kernel_id=`strings /dynix | grep DYNIX`
8714 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8715 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8716 != x$config_release; then
8717 # The configuration release is a substring of the kernel release.
8718 libc_cv_uname_release=$kernel_release
8719 elif test x$config_release != x; then
8720 libc_cv_uname_release=$config_release
8721 elif test x$kernel_release != x; then
8722 libc_cv_uname_release=$kernel_release
8724 libc_cv_uname_release=unknown
8727 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8728 $as_echo "$libc_cv_uname_release" >&6; }
8729 uname_release="$libc_cv_uname_release"
8731 { $as_echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8732 $as_echo_n "checking OS version
for uname...
" >&6; }
8733 if test "${libc_cv_uname_version+set}" = set; then
8734 $as_echo_n "(cached
) " >&6
8736 if test -r /vmunix; then
8737 kernel_id=`strings /vmunix | grep UNIX`
8738 elif test -r /dynix; then
8739 kernel_id=`strings /dynix | grep DYNIX`
8744 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8745 if test -n "$kernel_version"; then
8746 libc_cv_uname_version="$kernel_version"
8748 libc_cv_uname_version=unknown
8751 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8752 $as_echo "$libc_cv_uname_version" >&6; }
8753 uname_version="$libc_cv_uname_version"
8755 config_uname=config-name.h:config-name.in
8757 # For non-generic uname, we don't need to create config-name.h at all.
8761 cat >>confdefs.h <<\_ACEOF
8762 #define USE_IN_LIBIO 1
8766 # Test for old glibc 2.0.x headers so that they can be removed properly
8767 # Search only in includedir.
8768 { $as_echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8769 $as_echo_n "checking
for old glibc
2.0.x headers...
" >&6; }
8770 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8772 old_glibc_headers=yes
8774 old_glibc_headers=no
8776 { $as_echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8777 $as_echo "$old_glibc_headers" >&6; }
8778 if test ${old_glibc_headers} = yes; then
8779 { $as_echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8780 $as_echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8781 { $as_echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8782 $as_echo "$as_me: WARNING
: *** be removed.
" >&2;}
8800 if test $elf = yes; then
8801 cat >>confdefs.h <<\_ACEOF
8806 if test $xcoff = yes; then
8807 cat >>confdefs.h <<\_ACEOF
8808 #define HAVE_XCOFF 1
8815 if test $shared = default; then
8819 { $as_echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8820 $as_echo_n "checking whether
-fPIC is default...
" >&6; }
8821 if test "${libc_cv_pic_default+set}" = set; then
8822 $as_echo_n "(cached
) " >&6
8824 libc_cv_pic_default=yes
8825 cat > conftest.c <<EOF
8826 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8827 # error PIC is default.
8830 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8831 libc_cv_pic_default=no
8835 { $as_echo "$as_me:$LINENO: result
: $libc_cv_pic_default" >&5
8836 $as_echo "$libc_cv_pic_default" >&6; }
8849 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8852 config_makefile=Makefile
8855 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8856 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8860 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8862 ac_config_commands
="$ac_config_commands default"
8864 cat >confcache
<<\_ACEOF
8865 # This file is a shell script that caches the results of configure
8866 # tests run on this system so they can be shared between configure
8867 # scripts and configure runs, see configure's option --config-cache.
8868 # It is not useful on other systems. If it contains results you don't
8869 # want to keep, you may remove or edit it.
8871 # config.status only pays attention to the cache file if you give it
8872 # the --recheck option to rerun configure.
8874 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8875 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8880 # The following way of writing the cache mishandles newlines in values,
8881 # but we know of no workaround that is simple, portable, and efficient.
8882 # So, we kill variables containing newlines.
8883 # Ultrix sh set writes to stderr and can't be redirected directly,
8884 # and sets the high bit in the cache file unless we assign to the vars.
8886 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8887 eval ac_val
=\$
$ac_var
8891 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8892 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8895 _ | IFS | as_nl
) ;; #(
8896 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8897 *) $as_unset $ac_var ;;
8903 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8904 *${as_nl}ac_space
=\
*)
8905 # `set' does not quote correctly, so add quotes (double-quote
8906 # substitution turns \\\\ into \\, and sed turns \\ into \).
8909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8912 # `set' quotes correctly as required by POSIX, so do not add quotes.
8913 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8922 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8924 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8926 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8927 if test -w "$cache_file"; then
8928 test "x$cache_file" != "x/dev/null" &&
8929 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8930 $as_echo "$as_me: updating cache $cache_file" >&6;}
8931 cat confcache
>$cache_file
8933 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8934 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8939 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8940 # Let make expand exec_prefix.
8941 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8943 DEFS
=-DHAVE_CONFIG_H
8947 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8948 # 1. Remove the extension, and $U if already installed.
8949 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8950 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8951 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8952 # will be set to the directory where LIBOBJS objects are built.
8953 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8954 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8958 LTLIBOBJS
=$ac_ltlibobjs
8962 : ${CONFIG_STATUS=./config.status}
8964 ac_clean_files_save
=$ac_clean_files
8965 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8966 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8967 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8968 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8970 # Generated by $as_me.
8971 # Run this file to recreate the current configuration.
8972 # Compiler output produced by configure, useful for debugging
8973 # configure, is in config.log if it exists.
8978 SHELL=\${CONFIG_SHELL-$SHELL}
8981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8982 ## --------------------- ##
8983 ## M4sh Initialization. ##
8984 ## --------------------- ##
8986 # Be more Bourne compatible
8987 DUALCASE
=1; export DUALCASE
# for MKS sh
8988 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8991 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8992 # is contrary to our usage. Disable this feature.
8993 alias -g '${1+"$@"}'='"$@"'
8994 setopt NO_GLOB_SUBST
8996 case `(set -o) 2>/dev/null` in
8997 *posix
*) set -o posix
;;
9006 # Avoid depending upon Character Ranges.
9007 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9008 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9009 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9010 as_cr_digits
='0123456789'
9011 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9016 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9017 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9018 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9019 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9020 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9021 as_echo='printf %s
\n'
9022 as_echo_n='printf %s
'
9024 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9025 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9026 as_echo_n='/usr
/ucb
/echo -n'
9028 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9029 as_echo_n_body='eval
9033 expr "X$arg" : "X\\(.*\\)$as_nl";
9034 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9036 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9038 export as_echo_n_body
9039 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9042 as_echo='sh
-c $as_echo_body as_echo
'
9045 # The user is always right.
9046 if test "${PATH_SEPARATOR+set}" != set; then
9048 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9049 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9054 # Support unset when possible.
9055 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9063 # We need space, tab and new line, in precisely that order. Quoting is
9064 # there to prevent editors from complaining about space-tab.
9065 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9066 # splitting by setting IFS to empty value.)
9069 # Find who we are. Look in the path if we contain no directory separator.
9071 *[\\/]* ) as_myself=$0 ;;
9072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9076 test -z "$as_dir" && as_dir=.
9077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9083 # We did not find ourselves, most probably we were run as `sh COMMAND'
9084 # in which case we are not to be found in the path.
9085 if test "x$as_myself" = x
; then
9088 if test ! -f "$as_myself"; then
9089 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9090 { (exit 1); exit 1; }
9093 # Work around bugs in pre-3.0 UWIN ksh.
9094 for as_var
in ENV MAIL MAILPATH
9095 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9107 # Required to use basename.
9108 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9109 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9115 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9116 as_basename
=basename
9122 # Name of the executable.
9123 as_me
=`$as_basename -- "$0" ||
9124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9125 X"$0" : 'X\(//\)$' \| \
9126 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9128 sed '/^.*\/\([^/][^/]*\)\/*$/{
9149 test "x$as_lineno_1" != "x$as_lineno_2" &&
9150 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9153 # uniformly replaced by the line number. The first 'sed' inserts a
9154 # line-number line after each line using $LINENO; the second 'sed'
9155 # does the real work. The second script uses 'N' to pair each
9156 # line-number line with the line containing $LINENO, and appends
9157 # trailing '-' during substitution so that $LINENO is not a special
9159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9160 # scripts with optimization help from Paolo Bonzini. Blame Lee
9161 # E. McMahon (1931-1989) for sed's syntax. :-)
9173 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9177 chmod +x
"$as_me.lineno" ||
9178 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9179 { (exit 1); exit 1; }; }
9181 # Don't try to exec as it changes $[0], causing all sort of problems
9182 # (the dirname of $[0] is not the place where we might find the
9183 # original and so on. Autoconf is especially sensitive to this).
9185 # Exit status is that of the last command.
9190 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9196 ECHO_C
= ECHO_N
= ECHO_T
=
9199 case `echo 'x\c'` in
9200 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9206 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9207 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9213 rm -f conf$$ conf$$.exe conf$$.
file
9214 if test -d conf$$.dir
; then
9215 rm -f conf$$.dir
/conf$$.
file
9218 mkdir conf$$.dir
2>/dev
/null
9220 if (echo >conf$$.
file) 2>/dev
/null
; then
9221 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9223 # ... but there are two gotchas:
9224 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9225 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9226 # In both cases, we have to default to `cp -p'.
9227 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9229 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9237 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9238 rmdir conf$$.dir
2>/dev
/null
9240 if mkdir
-p .
2>/dev
/null
; then
9243 test -d .
/-p && rmdir .
/-p
9247 if test -x / >/dev
/null
2>&1; then
9250 if ls -dL / >/dev
/null
2>&1; then
9257 if test -d "$1"; then
9263 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9264 ???[sx]*):;;*)false;;esac;fi
9268 as_executable_p
=$as_test_x
9270 # Sed expression to map a string onto a valid CPP name.
9271 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9273 # Sed expression to map a string onto a valid variable name.
9274 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9279 # Save the log message, to keep $[0] and so on meaningful, and to
9280 # report actual input values of CONFIG_FILES etc. instead of their
9281 # values after options handling.
9283 This file was extended by GNU C Library $as_me (see version.h), which was
9284 generated by GNU Autoconf 2.63. Invocation command line was
9286 CONFIG_FILES = $CONFIG_FILES
9287 CONFIG_HEADERS = $CONFIG_HEADERS
9288 CONFIG_LINKS = $CONFIG_LINKS
9289 CONFIG_COMMANDS = $CONFIG_COMMANDS
9292 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9297 case $ac_config_files in *"
9298 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9301 case $ac_config_headers in *"
9302 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9307 # Files that config.status was made for.
9308 config_files="$ac_config_files"
9309 config_headers="$ac_config_headers"
9310 config_commands="$ac_config_commands"
9314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9316 \`$as_me' instantiates files from templates according to the
9317 current configuration.
9319 Usage: $0 [OPTION]... [FILE]...
9321 -h, --help print this help, then exit
9322 -V, --version print version number and configuration settings, then exit
9323 -q, --quiet, --silent
9324 do not print progress messages
9325 -d, --debug don't remove temporary files
9326 --recheck update $as_me by reconfiguring in the same conditions
9327 --file=FILE[:TEMPLATE]
9328 instantiate the configuration file FILE
9329 --header=FILE[:TEMPLATE]
9330 instantiate the configuration header FILE
9332 Configuration files:
9335 Configuration headers:
9338 Configuration commands:
9341 Report bugs to <bug-autoconf@gnu.org>."
9344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9346 GNU C Library config.status (see version.h)
9347 configured by $0, generated by GNU Autoconf 2.63,
9348 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9350 Copyright (C) 2008 Free Software Foundation, Inc.
9351 This config.status script is free software; the Free Software Foundation
9352 gives unlimited permission to copy, distribute and modify it."
9358 test -n "\$AWK" || AWK=awk
9361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9362 # The default lists apply if the user does not specify any file.
9368 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9369 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9380 # Handling of the options.
9381 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9383 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9384 $as_echo "$ac_cs_version"; exit ;;
9385 --debug |
--debu |
--deb |
--de |
--d |
-d )
9387 --file |
--fil |
--fi |
--f )
9390 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9392 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
9393 ac_need_defaults
=false
;;
9394 --header |
--heade |
--head |
--hea )
9397 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9399 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
9400 ac_need_defaults
=false
;;
9402 # Conflict between --help and --header
9403 { $as_echo "$as_me: error: ambiguous option: $1
9404 Try \`$0 --help' for more information." >&2
9405 { (exit 1); exit 1; }; };;
9406 --help |
--hel |
-h )
9407 $as_echo "$ac_cs_usage"; exit ;;
9408 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9409 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9413 -*) { $as_echo "$as_me: error: unrecognized option: $1
9414 Try \`$0 --help' for more information." >&2
9415 { (exit 1); exit 1; }; } ;;
9417 *) ac_config_targets
="$ac_config_targets $1"
9418 ac_need_defaults
=false
;;
9424 ac_configure_extra_args
=
9426 if $ac_cs_silent; then
9428 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9433 if \$ac_cs_recheck; then
9434 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9436 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9437 CONFIG_SHELL='$SHELL'
9443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9448 ## Running $as_me. ##
9454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9458 config_vars='$config_vars'
9462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9464 # Handling of arguments.
9465 for ac_config_target
in $ac_config_targets
9467 case $ac_config_target in
9468 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9469 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9470 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9471 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9472 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9474 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9475 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9476 { (exit 1); exit 1; }; };;
9481 # If the user did not use the arguments to specify the items to instantiate,
9482 # then the envvar interface is used. Set only those that are not.
9483 # We use the long form for the default assignment because of an extremely
9484 # bizarre bug on SunOS 4.1.3.
9485 if $ac_need_defaults; then
9486 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9487 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9488 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9491 # Have a temporary directory for convenience. Make it in the build tree
9492 # simply because there is no reason against having it here, and in addition,
9493 # creating and moving files from /tmp can sometimes cause problems.
9494 # Hook for its removal unless debugging.
9495 # Note that there is a small window in which the directory will not be cleaned:
9496 # after its creation but before its name has been assigned to `$tmp'.
9500 trap 'exit_status=$?
9501 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9503 trap '{ (exit 1); exit 1; }' 1 2 13 15
9505 # Create a (secure) tmp directory for tmp files.
9508 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9509 test -n "$tmp" && test -d "$tmp"
9512 tmp
=.
/conf$$
-$RANDOM
9513 (umask 077 && mkdir
"$tmp")
9516 $as_echo "$as_me: cannot create a temporary directory in ." >&2
9517 { (exit 1); exit 1; }
9520 # Set up the scripts for CONFIG_FILES section.
9521 # No need to generate them if there are no CONFIG_FILES.
9522 # This happens for instance with `./config.status config.h'.
9523 if test -n "$CONFIG_FILES"; then
9527 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9528 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9534 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9539 echo "cat >conf$$subs.awk <<_ACEOF" &&
9540 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9543 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9544 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9545 { (exit 1); exit 1; }; }
9546 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9548 for ac_last_try in false false false false false :; do
9549 . ./conf$$subs.sh ||
9550 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9551 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9552 { (exit 1); exit 1; }; }
9554 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9555 if test $ac_delim_n = $ac_delim_num; then
9557 elif $ac_last_try; then
9558 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9559 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9560 { (exit 1); exit 1; }; }
9562 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9568 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9572 s/^/S["/; s
/!.
*/"]=/
9582 s/\(.\{148\}\).*/\1/
9584 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9589 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9596 s/\(.\{148\}\).*/\1/
9598 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9602 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9607 ' <conf$$subs.awk | sed '
9612 ' >>$CONFIG_STATUS || ac_write_fail=1
9613 rm -f conf$$subs.awk
9614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9616 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9617 for (key in S) S_is_set[key] = 1
9623 nfields = split(line, field, "@
")
9625 len = length(field[1])
9626 for (i = 2; i < nfields; i++) {
9628 keylen = length(key)
9629 if (S_is_set[key]) {
9631 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9632 len += length(value) + length(field[++i])
9643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9644 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9645 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9648 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9649 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
9650 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
9651 { (exit 1); exit 1; }; }
9654 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9655 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9656 # trailing colons and then remove the whole line if VPATH becomes empty
9657 # (actually we leave an empty line to preserve line numbers).
9658 if test "x
$srcdir" = x.; then
9659 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9663 s/^\([^=]*=[ ]*\):*/\1/
9669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9670 fi # test -n "$CONFIG_FILES"
9672 # Set up the scripts for CONFIG_HEADERS section.
9673 # No need to generate them if there are no CONFIG_HEADERS.
9674 # This happens for instance with `./config.status Makefile'.
9675 if test -n "$CONFIG_HEADERS"; then
9676 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9680 # Transform confdefs.h into an awk script `defines.awk', embedded as
9681 # here-document in config.status, that substitutes the proper values into
9682 # config.h.in to produce config.h.
9684 # Create a delimiter string that does not exist in confdefs.h, to ease
9685 # handling of long lines.
9687 for ac_last_try in false false :; do
9688 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9689 if test -z "$ac_t"; then
9691 elif $ac_last_try; then
9692 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
9693 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
9694 { (exit 1); exit 1; }; }
9696 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9700 # For the awk script, D is an array of macro values keyed by name,
9701 # likewise P contains macro parameters if any. Preserve backslash
9702 # newline sequences.
9704 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9706 s/.\{148\}/&'"$ac_delim"'/g
9709 s/^[ ]*#[ ]*define[ ][ ]*/ /
9716 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9718 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9722 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9723 D["\
1"]=" \
3\\\\\\n
"\\/p
9725 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9730 s/.\{148\}/&'"$ac_delim"'/g
9735 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9738 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9740 ' <confdefs.h | sed '
9741 s/'"$ac_delim"'/"\\\
9742 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9745 for (key in D) D_is_set[key] = 1
9748 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9750 split(line, arg, " ")
9751 if (arg[1] == "#") {
9755 defundef
= substr
(arg
[1], 2)
9758 split(mac1
, mac2
, "(") #)
9760 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9761 if (D_is_set
[macro
]) {
9762 # Preserve the white space surrounding the "#".
9763 print prefix
"define", macro P
[macro
] D
[macro
]
9766 # Replace #undef with comments. This is necessary, for example,
9767 # in the case of _POSIX_SOURCE, which is predefined and required
9768 # on some systems where configure will not decide to define it.
9769 if (defundef
== "undef") {
9770 print
"/*", prefix defundef
, macro
, "*/"
9778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9779 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9780 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9781 { (exit 1); exit 1; }; }
9782 fi # test -n "$CONFIG_HEADERS"
9785 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9790 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9792 case $ac_mode$ac_tag in
9794 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9795 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9796 { (exit 1); exit 1; }; };;
9797 :[FH
]-) ac_tag
=-:-;;
9798 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9815 -) ac_f
="$tmp/stdin";;
9816 *) # Look for the file first in the build tree, then in the source tree
9817 # (if the path is not absolute). The absolute path cannot be DOS-style,
9818 # because $ac_f cannot contain `:'.
9822 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9824 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9825 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9826 { (exit 1); exit 1; }; };;
9828 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9829 ac_file_inputs
="$ac_file_inputs '$ac_f'"
9832 # Let's still pretend it is `configure' which instantiates (i.e., don't
9833 # use $as_me), people would be surprised to read:
9834 # /* config.h. Generated by config.status. */
9835 configure_input
='Generated from '`
9836 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9838 if test x
"$ac_file" != x-
; then
9839 configure_input
="$ac_file. $configure_input"
9840 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9841 $as_echo "$as_me: creating $ac_file" >&6;}
9843 # Neutralize special characters interpreted by sed in replacement strings.
9844 case $configure_input in #(
9845 *\
&* |
*\|
* |
*\\* )
9846 ac_sed_conf_input
=`$as_echo "$configure_input" |
9847 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9848 *) ac_sed_conf_input
=$configure_input;;
9852 *:-:* |
*:-) cat >"$tmp/stdin" \
9853 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9854 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9855 { (exit 1); exit 1; }; } ;;
9860 ac_dir
=`$as_dirname -- "$ac_file" ||
9861 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9862 X"$ac_file" : 'X\(//\)[^/]' \| \
9863 X"$ac_file" : 'X\(//\)$' \| \
9864 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9865 $as_echo X"$ac_file" |
9866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9885 -*) as_dir
=.
/$as_dir;;
9887 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9891 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9892 *) as_qdir
=$as_dir;;
9894 as_dirs
="'$as_qdir' $as_dirs"
9895 as_dir
=`$as_dirname -- "$as_dir" ||
9896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9897 X"$as_dir" : 'X\(//\)[^/]' \| \
9898 X"$as_dir" : 'X\(//\)$' \| \
9899 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9900 $as_echo X"$as_dir" |
9901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9918 test -d "$as_dir" && break
9920 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9921 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9922 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9923 { (exit 1); exit 1; }; }; }
9927 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9929 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9930 # A ".." for each directory in $ac_dir_suffix.
9931 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9932 case $ac_top_builddir_sub in
9933 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9934 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9937 ac_abs_top_builddir
=$ac_pwd
9938 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9939 # for backward compatibility:
9940 ac_top_builddir
=$ac_top_build_prefix
9943 .
) # We are building in place.
9945 ac_top_srcdir
=$ac_top_builddir_sub
9946 ac_abs_top_srcdir
=$ac_pwd ;;
9947 [\\/]* | ?
:[\\/]* ) # Absolute name.
9948 ac_srcdir
=$srcdir$ac_dir_suffix;
9949 ac_top_srcdir
=$srcdir
9950 ac_abs_top_srcdir
=$srcdir ;;
9952 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9953 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9954 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9956 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9966 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9967 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9972 # If the template does not know about datarootdir, expand it.
9973 # FIXME: This hack should be removed a few years after 2.60.
9974 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9987 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9988 *datarootdir
*) ac_datarootdir_seen
=yes;;
9989 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9990 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9991 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9994 ac_datarootdir_hack='
9995 s&@datadir@&$datadir&g
9996 s&@docdir@&$docdir&g
9997 s&@infodir@&$infodir&g
9998 s&@localedir@&$localedir&g
9999 s&@mandir@&$mandir&g
10000 s&\\\${datarootdir}&$datarootdir&g' ;;
10004 # Neutralize VPATH when `$srcdir' = `.'.
10005 # Shell code in configure.ac might set extrasub.
10006 # FIXME: do we really want to maintain this feature?
10007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10008 ac_sed_extra="$ac_vpsub
10011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10013 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10014 s|@configure_input@|
$ac_sed_conf_input|
;t t
10015 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10016 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10017 s
&@srcdir@
&$ac_srcdir&;t t
10018 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10019 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10020 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10021 s
&@builddir@
&$ac_builddir&;t t
10022 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10023 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10024 s
&@INSTALL@
&$ac_INSTALL&;t t
10025 $ac_datarootdir_hack
10027 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
10028 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
10029 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
10030 { (exit 1); exit 1; }; }
10032 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10033 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10034 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10035 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10036 which seems to be undefined. Please make sure it is defined." >&5
10037 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10038 which seems to be undefined. Please make sure it is defined." >&2;}
10042 -) cat "$tmp/out" && rm -f "$tmp/out";;
10043 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10045 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10046 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10047 { (exit 1); exit 1; }; }
10053 if test x"$ac_file" != x-; then
10055 $as_echo "/* $configure_input */" \
10056 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10057 } >"$tmp/config.h" \
10058 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10059 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10060 { (exit 1); exit 1; }; }
10061 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10062 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10063 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10066 mv "$tmp/config.h" "$ac_file" \
10067 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10068 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10069 { (exit 1); exit 1; }; }
10072 $as_echo "/* $configure_input */" \
10073 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10074 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10075 $as_echo "$as_me: error: could not create -" >&2;}
10076 { (exit 1); exit 1; }; }
10080 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10081 $as_echo "$as_me: executing $ac_file commands" >&6;}
10086 case $ac_file$ac_mode in
10088 case $CONFIG_FILES in *config.make*)
10089 echo "$config_vars" >> config.make;;
10091 test -d bits || mkdir bits ;;
10097 { (exit 0); exit 0; }
10099 chmod +x $CONFIG_STATUS
10100 ac_clean_files=$ac_clean_files_save
10102 test $ac_write_fail = 0 ||
10103 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10104 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10105 { (exit 1); exit 1; }; }
10108 # configure is writing to config.log, and then calls config.status.
10109 # config.status does its own redirection, appending to config.log.
10110 # Unfortunately, on DOS this fails, as config.log is still kept open
10111 # by configure, so config.status won't be able to
write to it
; its
10112 # output is simply discarded. So we exec the FD to /dev/null,
10113 # effectively closing config.log, so it can be properly (re)opened and
10114 # appended to by config.status. When coming back to configure, we
10115 # need to make the FD available again.
10116 if test "$no_create" != yes; then
10118 ac_config_status_args
=
10119 test "$silent" = yes &&
10120 ac_config_status_args
="$ac_config_status_args --quiet"
10122 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10124 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10125 # would make configure fail if this is the last instruction.
10126 $ac_cs_success ||
{ (exit 1); exit 1; }
10130 # CONFIG_SUBDIRS section.
10132 if test "$no_recursion" != yes; then
10134 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10135 # so they do not pile up.
10136 ac_sub_configure_args
=
10138 eval "set x $ac_configure_args"
10142 if test -n "$ac_prev"; then
10147 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
10148 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
10149 ac_prev
=cache_file
;;
10150 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
10151 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
10154 --config-cache |
-C)
10156 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
10158 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
10160 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
10162 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
10164 --disable-option-checking)
10168 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10170 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
10174 # Always prepend --prefix to ensure using the same prefix
10175 # in subdir configurations.
10176 ac_arg
="--prefix=$prefix"
10178 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10180 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
10183 if test "$silent" = yes; then
10184 ac_sub_configure_args
="--silent $ac_sub_configure_args"
10187 # Always prepend --disable-option-checking to silence warnings, since
10188 # different subdirs can have different --enable and --with options.
10189 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
10192 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
10194 # Do not complain, so a configure script can configure whichever
10195 # parts of a large source tree are present.
10196 test -d "$srcdir/$ac_dir" ||
continue
10198 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10199 $as_echo "$as_me:$LINENO: $ac_msg" >&5
10200 $as_echo "$ac_msg" >&6
10203 -*) as_dir
=.
/$as_dir;;
10205 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10209 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10210 *) as_qdir
=$as_dir;;
10212 as_dirs
="'$as_qdir' $as_dirs"
10213 as_dir
=`$as_dirname -- "$as_dir" ||
10214 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10215 X"$as_dir" : 'X\(//\)[^/]' \| \
10216 X"$as_dir" : 'X\(//\)$' \| \
10217 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10218 $as_echo X"$as_dir" |
10219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10223 /^X\(\/\/\)[^/].*/{
10236 test -d "$as_dir" && break
10238 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10239 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10240 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10241 { (exit 1); exit 1; }; }; }
10245 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10247 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10248 # A ".." for each directory in $ac_dir_suffix.
10249 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10250 case $ac_top_builddir_sub in
10251 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10252 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10255 ac_abs_top_builddir
=$ac_pwd
10256 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10257 # for backward compatibility:
10258 ac_top_builddir
=$ac_top_build_prefix
10261 .
) # We are building in place.
10263 ac_top_srcdir
=$ac_top_builddir_sub
10264 ac_abs_top_srcdir
=$ac_pwd ;;
10265 [\\/]* | ?
:[\\/]* ) # Absolute name.
10266 ac_srcdir
=$srcdir$ac_dir_suffix;
10267 ac_top_srcdir
=$srcdir
10268 ac_abs_top_srcdir
=$srcdir ;;
10269 *) # Relative name.
10270 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10271 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10272 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10274 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10279 # Check for guested configure; otherwise get Cygnus style configure.
10280 if test -f "$ac_srcdir/configure.gnu"; then
10281 ac_sub_configure
=$ac_srcdir/configure.gnu
10282 elif test -f "$ac_srcdir/configure"; then
10283 ac_sub_configure
=$ac_srcdir/configure
10284 elif test -f "$ac_srcdir/configure.in"; then
10285 # This should be Cygnus configure.
10286 ac_sub_configure
=$ac_aux_dir/configure
10288 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10289 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10293 # The recursion is here.
10294 if test -n "$ac_sub_configure"; then
10295 # Make the cache file name correct relative to the subdirectory.
10296 case $cache_file in
10297 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
10298 *) # Relative name.
10299 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
10302 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10303 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10304 # The eval makes quoting arguments work.
10305 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10306 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10307 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10308 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10309 { (exit 1); exit 1; }; }
10315 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10316 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10317 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}