2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x
; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var
in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
145 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me
=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x
; then
177 if (eval ":") 2>/dev
/null
; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev
/null
; then
243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
244 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir
=.
250 for as_base
in sh bash ksh sh5
; do
251 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
258 for as_shell
in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix
*) set -o posix
;;
280 CONFIG_SHELL
=$as_shell
282 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix
*) set -o posix
;;
308 as_func_ret_success
() {
311 as_func_ret_failure
() {
316 if as_func_success
; then
320 echo as_func_success failed.
323 if as_func_failure
; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success
; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure
; then
337 echo as_func_ret_failure succeeded.
340 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) ||
{ (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x
; then
365 for as_var
in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no
; then
374 echo This
script requires a shell
more modern than all the
375 echo shells that I found on your system. Please
install a
376 echo modern shell
, or manually run the
script under such a
377 echo shell
if you
do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") ||
{
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system
,
439 echo including any error possibly output before this message.
440 echo This can
help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x
"$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
495 ECHO_C
= ECHO_N
= ECHO_T
=
499 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
542 test -d .
/-p && rmdir .
/-p
546 if test -x / >/dev
/null
2>&1; then
549 if ls -dL / >/dev
/null
2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p
=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 exec 7<&0 </dev
/null
6>&1
580 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
581 # so uname gets run too.
582 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
587 ac_default_prefix
=/usr
/local
589 ac_config_libobj_dir
=.
595 SHELL
=${CONFIG_SHELL-/bin/sh}
597 # Identity of this package.
598 PACKAGE_NAME
='GNU C Library'
599 PACKAGE_TARNAME
='c-library'
600 PACKAGE_VERSION
='(see version.h)'
601 PACKAGE_STRING
='GNU C Library (see version.h)'
602 PACKAGE_BUGREPORT
='glibc'
604 ac_unique_file
="include/features.h"
605 enable_option_checking
=no
606 # Factoring default headers for most tests.
607 ac_includes_default
="\
609 #ifdef HAVE_SYS_TYPES_H
610 # include <sys/types.h>
612 #ifdef HAVE_SYS_STAT_H
613 # include <sys/stat.h>
619 # ifdef HAVE_STDLIB_H
624 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
642 ac_subst_vars
='LTLIBOBJS
661 libc_cv_cpp_asm_debuginfo
662 libc_cv_forced_unwind
671 libc_cv_gcc_unwind_find_fde
679 libc_cv_cc_submachine
682 libc_cv_have_initfini
692 libc_cv_libgcc_s_suffix
694 libc_cv_cc_with_libunwind
704 libc_cv_gcc_static_libgcc
787 program_transform_name
799 enable_option_checking
818 enable_stackguard_randomization
829 enable_experimental_malloc
833 ac_precious_vars
='build_alias
847 # Initialize some variables set by options.
849 ac_init_version
=false
850 ac_unrecognized_opts
=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 includedir
='${prefix}/include'
884 oldincludedir
='/usr/include'
885 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
886 infodir
='${datarootdir}/info'
891 libdir
='${exec_prefix}/lib'
892 localedir
='${datarootdir}/locale'
893 mandir
='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\
$ac_option
907 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
954 { (exit 1); exit 1; }; }
955 ac_useropt_orig
=$ac_useropt
956 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
962 ac_unrecognized_sep
=', ';;
964 eval enable_
$ac_useropt=no
;;
966 -docdir |
--docdir |
--docdi |
--doc |
--do)
968 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
971 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
973 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
976 -enable-* |
--enable-*)
977 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
980 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
981 { (exit 1); exit 1; }; }
982 ac_useropt_orig
=$ac_useropt
983 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
988 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989 ac_unrecognized_sep
=', ';;
991 eval enable_
$ac_useropt=\
$ac_optarg ;;
993 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
994 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
995 |
--exec |
--exe |
--ex)
996 ac_prev
=exec_prefix
;;
997 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
998 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
999 |
--exec=* |
--exe=* |
--ex=*)
1000 exec_prefix
=$ac_optarg ;;
1002 -gas |
--gas |
--ga |
--g)
1003 # Obsolete; use --with-gas.
1006 -help |
--help |
--hel |
--he |
-h)
1007 ac_init_help
=long
;;
1008 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1009 ac_init_help
=recursive
;;
1010 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1011 ac_init_help
=short
;;
1013 -host |
--host |
--hos |
--ho)
1014 ac_prev
=host_alias
;;
1015 -host=* |
--host=* |
--hos=* |
--ho=*)
1016 host_alias
=$ac_optarg ;;
1018 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1020 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1022 htmldir
=$ac_optarg ;;
1024 -includedir |
--includedir |
--includedi |
--included |
--include \
1025 |
--includ |
--inclu |
--incl |
--inc)
1026 ac_prev
=includedir
;;
1027 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1028 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1029 includedir
=$ac_optarg ;;
1031 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1033 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1034 infodir
=$ac_optarg ;;
1036 -libdir |
--libdir |
--libdi |
--libd)
1038 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1039 libdir
=$ac_optarg ;;
1041 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1042 |
--libexe |
--libex |
--libe)
1043 ac_prev
=libexecdir
;;
1044 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1045 |
--libexe=* |
--libex=* |
--libe=*)
1046 libexecdir
=$ac_optarg ;;
1048 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1049 ac_prev
=localedir
;;
1050 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1051 localedir
=$ac_optarg ;;
1053 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1054 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1055 ac_prev
=localstatedir
;;
1056 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1057 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1058 localstatedir
=$ac_optarg ;;
1060 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1062 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1063 mandir
=$ac_optarg ;;
1065 -nfp |
--nfp |
--nf)
1066 # Obsolete; use --without-fp.
1069 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1070 |
--no-cr |
--no-c |
-n)
1073 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1074 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1077 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1078 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1079 |
--oldin |
--oldi |
--old |
--ol |
--o)
1080 ac_prev
=oldincludedir
;;
1081 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1082 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1083 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1084 oldincludedir
=$ac_optarg ;;
1086 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1088 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1089 prefix
=$ac_optarg ;;
1091 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1092 |
--program-pre |
--program-pr |
--program-p)
1093 ac_prev
=program_prefix
;;
1094 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1095 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1096 program_prefix
=$ac_optarg ;;
1098 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1099 |
--program-suf |
--program-su |
--program-s)
1100 ac_prev
=program_suffix
;;
1101 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1102 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1103 program_suffix
=$ac_optarg ;;
1105 -program-transform-name |
--program-transform-name \
1106 |
--program-transform-nam |
--program-transform-na \
1107 |
--program-transform-n |
--program-transform- \
1108 |
--program-transform |
--program-transfor \
1109 |
--program-transfo |
--program-transf \
1110 |
--program-trans |
--program-tran \
1111 |
--progr-tra |
--program-tr |
--program-t)
1112 ac_prev
=program_transform_name
;;
1113 -program-transform-name=* |
--program-transform-name=* \
1114 |
--program-transform-nam=* |
--program-transform-na=* \
1115 |
--program-transform-n=* |
--program-transform-=* \
1116 |
--program-transform=* |
--program-transfor=* \
1117 |
--program-transfo=* |
--program-transf=* \
1118 |
--program-trans=* |
--program-tran=* \
1119 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1120 program_transform_name
=$ac_optarg ;;
1122 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1124 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1125 pdfdir
=$ac_optarg ;;
1127 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1129 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1132 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1133 |
-silent |
--silent |
--silen |
--sile |
--sil)
1136 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1138 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1140 sbindir
=$ac_optarg ;;
1142 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1143 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1144 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1146 ac_prev
=sharedstatedir
;;
1147 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1148 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1149 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1151 sharedstatedir
=$ac_optarg ;;
1153 -site |
--site |
--sit)
1155 -site=* |
--site=* |
--sit=*)
1158 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1160 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1161 srcdir
=$ac_optarg ;;
1163 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1164 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1165 ac_prev
=sysconfdir
;;
1166 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1167 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1168 sysconfdir
=$ac_optarg ;;
1170 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1171 ac_prev
=target_alias
;;
1172 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1173 target_alias
=$ac_optarg ;;
1175 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1178 -version |
--version |
--versio |
--versi |
--vers |
-V)
1179 ac_init_version
=: ;;
1182 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_useropt_orig
=$ac_useropt
1188 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1194 ac_unrecognized_sep
=', ';;
1196 eval with_
$ac_useropt=\
$ac_optarg ;;
1198 -without-* |
--without-*)
1199 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1202 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1203 { (exit 1); exit 1; }; }
1204 ac_useropt_orig
=$ac_useropt
1205 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1210 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1211 ac_unrecognized_sep
=', ';;
1213 eval with_
$ac_useropt=no
;;
1216 # Obsolete; use --with-x.
1219 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1220 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1221 ac_prev
=x_includes
;;
1222 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1223 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1224 x_includes
=$ac_optarg ;;
1226 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1227 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1228 ac_prev
=x_libraries
;;
1229 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1230 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1231 x_libraries
=$ac_optarg ;;
1233 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1234 Try \`$0 --help' for more information." >&2
1235 { (exit 1); exit 1; }; }
1239 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1242 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1243 { (exit 1); exit 1; }; }
1244 eval $ac_envvar=\
$ac_optarg
1245 export $ac_envvar ;;
1248 # FIXME: should be removed in autoconf 3.0.
1249 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1250 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1251 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1252 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1258 if test -n "$ac_prev"; then
1259 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1260 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1261 { (exit 1); exit 1; }; }
1264 if test -n "$ac_unrecognized_opts"; then
1265 case $enable_option_checking in
1267 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1268 { (exit 1); exit 1; }; } ;;
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1273 # Check all directory arguments for consistency.
1274 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1275 datadir sysconfdir sharedstatedir localstatedir includedir \
1276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1277 libdir localedir mandir
1279 eval ac_val
=\$
$ac_var
1280 # Remove trailing slashes.
1283 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1284 eval $ac_var=\
$ac_val;;
1286 # Be sure to have absolute directory names.
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1291 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1292 { (exit 1); exit 1; }; }
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target
=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x
; then
1304 if test "x$build_alias" = x
; then
1305 cross_compiling
=maybe
1306 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1307 If a cross compiler is detected then cross compile mode will be used." >&2
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1316 test "$silent" = yes && exec 6>/dev
/null
1319 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di
=`ls -di .` &&
1321 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1322 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1323 { (exit 1); exit 1; }; }
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1326 { (exit 1); exit 1; }; }
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted
=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir
=`$as_dirname -- "$as_myself" ||
1334 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$as_myself" : 'X\(//\)[^/]' \| \
1336 X"$as_myself" : 'X\(//\)$' \| \
1337 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1338 $as_echo X"$as_myself" |
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1361 ac_srcdir_defaulted
=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1365 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1366 { (exit 1); exit 1; }; }
1368 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1371 { (exit 1); exit 1; }; }
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --build=BUILD configure
for building on BUILD
[guessed
]
1456 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1460 if test -n "$ac_init_help"; then
1461 case $ac_init_help in
1462 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1467 --disable-option-checking ignore unrecognized
--enable/--with options
1468 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1469 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1470 --disable-sanity-checks really
do not use threads
(should not be used except
1471 in special situations
) [default
=yes]
1472 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1474 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1475 --enable-profile build profiled library
[default
=no
]
1476 --enable-omitfp build undebuggable optimized library
[default
=no
]
1477 --enable-bounded build with runtime bounds checking
[default
=no
]
1478 --disable-versioning do not include versioning information
in the library
1479 objects
[default
=yes if supported
]
1480 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1481 [default
=glibc default
]
1482 --enable-stackguard-randomization
1483 initialize __stack_chk_guard canary with a random
1484 number
at program start
1485 --enable-add-ons[=DIRS...
]
1486 configure and build add-ons
in DIR1
,DIR2
,... search
1487 for add-ons
if no parameter given
1488 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1489 --enable-bind-now disable lazy relocations
in DSOs
1490 --enable-static-nss build static NSS modules
[default
=no
]
1491 --disable-force-install don
't force installation of files from this package,
1492 even if they are older than the installed files
1493 --enable-kernel=VERSION compile for compatibility with kernel not older than
1495 --enable-all-warnings enable all useful warnings gcc can issue
1496 --enable-multi-arch enable single DSO with optimizations for multiple
1498 --enable-experimental-malloc
1499 enable experimental malloc features
1500 --enable-nss-crypt enable libcrypt to use nss
1503 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1504 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1505 --with-gd=DIR find libgd include dir and library with prefix DIR
1506 --with-gd-include=DIR find libgd include files in DIR
1507 --with-gd-lib=DIR find libgd library files in DIR
1508 --with-fp if using floating-point hardware [default=yes]
1509 --with-binutils=PATH specify location of binutils (as and ld)
1510 --with-elf if using the ELF object format
1511 --with-selinux if building with SELinux support
1512 --with-xcoff if using the XCOFF object format
1513 --without-cvs if CVS should not be used
1514 --with-headers=PATH location of system headers to use (for example
1515 /usr/src/linux/include) [default=compiler default]
1516 --with-tls enable support for TLS
1517 --without-__thread do not use TLS features even when supporting them
1518 --with-cpu=CPU select code for CPU variant
1520 Some influential environment variables:
1521 CC C compiler command
1522 CFLAGS C compiler flags
1523 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1524 nonstandard directory <lib dir>
1525 LIBS libraries to pass to the linker, e.g. -l<library>
1526 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1527 you have headers in a nonstandard directory <include dir>
1529 CXX C++ compiler command
1530 CXXFLAGS C++ compiler flags
1532 Use these variables to override the choices made by `configure' or to
help
1533 it to
find libraries and programs with nonstandard names
/locations.
1535 Report bugs to
<glibc
>.
1540 if test "$ac_init_help" = "recursive"; then
1541 # If there are subdirs, report their specific --help.
1542 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1543 test -d "$ac_dir" ||
1544 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1549 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1551 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1552 # A ".." for each directory in $ac_dir_suffix.
1553 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1554 case $ac_top_builddir_sub in
1555 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1556 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1559 ac_abs_top_builddir
=$ac_pwd
1560 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1561 # for backward compatibility:
1562 ac_top_builddir
=$ac_top_build_prefix
1565 .
) # We are building in place.
1567 ac_top_srcdir
=$ac_top_builddir_sub
1568 ac_abs_top_srcdir
=$ac_pwd ;;
1569 [\\/]* | ?
:[\\/]* ) # Absolute name.
1570 ac_srcdir
=$srcdir$ac_dir_suffix;
1571 ac_top_srcdir
=$srcdir
1572 ac_abs_top_srcdir
=$srcdir ;;
1574 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1575 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1576 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1578 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1580 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1581 # Check for guested configure.
1582 if test -f "$ac_srcdir/configure.gnu"; then
1584 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1585 elif test -f "$ac_srcdir/configure"; then
1587 $SHELL "$ac_srcdir/configure" --help=recursive
1589 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1591 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1595 test -n "$ac_init_help" && exit $ac_status
1596 if $ac_init_version; then
1598 GNU C Library configure
(see version.h
)
1599 generated by GNU Autoconf
2.63
1601 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1602 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1603 This configure
script is free software
; the Free Software Foundation
1604 gives unlimited permission to copy
, distribute and modify it.
1608 cat >config.log
<<_ACEOF
1609 This file contains any messages produced by compilers while
1610 running configure, to aid debugging if configure makes a mistake.
1612 It was created by GNU C Library $as_me (see version.h), which was
1613 generated by GNU Autoconf 2.63. Invocation command line was
1625 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1626 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1627 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1628 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1629 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1631 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1632 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1634 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1635 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1636 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1637 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1638 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1639 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1640 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir
=.
1649 $as_echo "PATH: $as_dir"
1665 # Keep a trace of the command line.
1666 # Strip out --no-create and --no-recursion so they do not pile up.
1667 # Strip out --silent because we don't want to record it for future runs.
1668 # Also quote any args containing shell meta-characters.
1669 # Make two passes to allow for proper duplicate-argument suppression.
1673 ac_must_keep_next
=false
1679 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1680 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1681 |
-silent |
--silent |
--silen |
--sile |
--sil)
1684 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1687 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1689 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1690 if test $ac_must_keep_next = true
; then
1691 ac_must_keep_next
=false
# Got value, back to normal.
1694 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1695 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1696 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1697 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1698 case "$ac_configure_args0 " in
1699 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1702 -* ) ac_must_keep_next
=true
;;
1705 ac_configure_args
="$ac_configure_args '$ac_arg'"
1710 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1711 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1713 # When interrupted or exit'd, cleanup temporary files, and complete
1714 # config.log. We remove comments because anyway the quotes in there
1715 # would cause problems or look ugly.
1716 # WARNING: Use '\'' to represent an apostrophe within the trap.
1717 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1718 trap 'exit_status=$?
1719 # Save into config.log some information that might help in debugging.
1724 ## ---------------- ##
1725 ## Cache variables. ##
1726 ## ---------------- ##
1729 # The following way of writing the cache mishandles newlines in values,
1731 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1732 eval ac_val=\$$ac_var
1736 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1737 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1740 _ | IFS | as_nl) ;; #(
1741 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1742 *) $as_unset $ac_var ;;
1747 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1748 *${as_nl}ac_space=\ *)
1750 "s/'\''/'\''\\\\'\'''\''/g;
1751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1762 ## ----------------- ##
1763 ## Output variables. ##
1764 ## ----------------- ##
1767 for ac_var in $ac_subst_vars
1769 eval ac_val=\$$ac_var
1771 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1773 $as_echo "$ac_var='\''$ac_val'\''"
1777 if test -n "$ac_subst_files"; then
1779 ## ------------------- ##
1780 ## File substitutions. ##
1781 ## ------------------- ##
1784 for ac_var
in $ac_subst_files
1786 eval ac_val
=\$
$ac_var
1788 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1790 $as_echo "$ac_var='\''$ac_val'\''"
1795 if test -s confdefs.h; then
1805 test "$ac_signal" != 0 &&
1806 $as_echo "$as_me: caught signal $ac_signal"
1807 $as_echo "$as_me: exit $exit_status"
1809 rm -f core *.core core.conftest.* &&
1810 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1813 for ac_signal
in 1 2 13 15; do
1814 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1818 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1819 rm -f -r conftest
* confdefs.h
1821 # Predefined preprocessor variables.
1823 cat >>confdefs.h
<<_ACEOF
1824 #define PACKAGE_NAME "$PACKAGE_NAME"
1828 cat >>confdefs.h
<<_ACEOF
1829 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1833 cat >>confdefs.h
<<_ACEOF
1834 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1838 cat >>confdefs.h
<<_ACEOF
1839 #define PACKAGE_STRING "$PACKAGE_STRING"
1843 cat >>confdefs.h
<<_ACEOF
1844 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1848 # Let the site file select an alternate cache file if it wants to.
1849 # Prefer an explicitly selected file to automatically selected ones.
1852 if test -n "$CONFIG_SITE"; then
1853 ac_site_file1
=$CONFIG_SITE
1854 elif test "x$prefix" != xNONE
; then
1855 ac_site_file1
=$prefix/share
/config.site
1856 ac_site_file2
=$prefix/etc
/config.site
1858 ac_site_file1
=$ac_default_prefix/share
/config.site
1859 ac_site_file2
=$ac_default_prefix/etc
/config.site
1861 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1863 test "x$ac_site_file" = xNONE
&& continue
1864 if test -r "$ac_site_file"; then
1865 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1866 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1867 sed 's/^/| /' "$ac_site_file" >&5
1872 if test -r "$cache_file"; then
1873 # Some versions of bash will fail to source /dev/null (special
1874 # files actually), so we avoid doing that.
1875 if test -f "$cache_file"; then
1876 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1877 $as_echo "$as_me: loading cache $cache_file" >&6;}
1879 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1880 *) .
"./$cache_file";;
1884 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1885 $as_echo "$as_me: creating cache $cache_file" >&6;}
1889 # Check that the precious variables saved in the cache have kept the same
1891 ac_cache_corrupted
=false
1892 for ac_var
in $ac_precious_vars; do
1893 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1894 eval ac_new_set
=\
$ac_env_${ac_var}_set
1895 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1896 eval ac_new_val
=\
$ac_env_${ac_var}_value
1897 case $ac_old_set,$ac_new_set in
1899 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1900 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1901 ac_cache_corrupted
=: ;;
1903 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1904 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1905 ac_cache_corrupted
=: ;;
1908 if test "x$ac_old_val" != "x$ac_new_val"; then
1909 # differences in whitespace do not lead to failure.
1910 ac_old_val_w
=`echo x $ac_old_val`
1911 ac_new_val_w
=`echo x $ac_new_val`
1912 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1913 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1914 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1915 ac_cache_corrupted
=:
1917 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1918 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1919 eval $ac_var=\
$ac_old_val
1921 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1922 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1923 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1924 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1927 # Pass precious variables to config.status.
1928 if test "$ac_new_set" = set; then
1930 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1931 *) ac_arg
=$ac_var=$ac_new_val ;;
1933 case " $ac_configure_args " in
1934 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1935 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1939 if $ac_cache_corrupted; then
1940 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1942 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1943 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1944 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1945 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1946 { (exit 1); exit 1; }; }
1974 ac_cpp
='$CPP $CPPFLAGS'
1975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1981 ac_config_headers
="$ac_config_headers config.h"
1984 for ac_dir
in scripts
"$srcdir"/scripts
; do
1985 if test -f "$ac_dir/install-sh"; then
1987 ac_install_sh
="$ac_aux_dir/install-sh -c"
1989 elif test -f "$ac_dir/install.sh"; then
1991 ac_install_sh
="$ac_aux_dir/install.sh -c"
1993 elif test -f "$ac_dir/shtool"; then
1995 ac_install_sh
="$ac_aux_dir/shtool install -c"
1999 if test -z "$ac_aux_dir"; then
2000 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2001 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2002 { (exit 1); exit 1; }; }
2005 # These three variables are undocumented and unsupported,
2006 # and are intended to be withdrawn in a future Autoconf release.
2007 # They can cause serious problems if a builder's source tree is in a directory
2008 # whose full name contains unusual characters.
2009 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2010 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2011 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2015 # Make sure we can run config.sub.
2016 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2017 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2018 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2019 { (exit 1); exit 1; }; }
2021 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2022 $as_echo_n "checking build system type... " >&6; }
2023 if test "${ac_cv_build+set}" = set; then
2024 $as_echo_n "(cached) " >&6
2026 ac_build_alias
=$build_alias
2027 test "x$ac_build_alias" = x
&&
2028 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2029 test "x$ac_build_alias" = x
&&
2030 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2031 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2032 { (exit 1); exit 1; }; }
2033 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2034 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2035 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2036 { (exit 1); exit 1; }; }
2039 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2040 $as_echo "$ac_cv_build" >&6; }
2041 case $ac_cv_build in
2043 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2044 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2045 { (exit 1); exit 1; }; };;
2048 ac_save_IFS
=$IFS; IFS
='-'
2054 # Remember, the first character of IFS is used to create $*,
2055 # except with old shells:
2058 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2061 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2062 $as_echo_n "checking host system type... " >&6; }
2063 if test "${ac_cv_host+set}" = set; then
2064 $as_echo_n "(cached) " >&6
2066 if test "x$host_alias" = x
; then
2067 ac_cv_host
=$ac_cv_build
2069 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2070 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2071 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2072 { (exit 1); exit 1; }; }
2076 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2077 $as_echo "$ac_cv_host" >&6; }
2080 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2081 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2082 { (exit 1); exit 1; }; };;
2085 ac_save_IFS
=$IFS; IFS
='-'
2091 # Remember, the first character of IFS is used to create $*,
2092 # except with old shells:
2095 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2100 ac_cpp
='$CPP $CPPFLAGS'
2101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2104 if test -n "$ac_tool_prefix"; then
2105 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2106 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2107 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 $as_echo_n "checking for $ac_word... " >&6; }
2109 if test "${ac_cv_prog_CC+set}" = set; then
2110 $as_echo_n "(cached) " >&6
2112 if test -n "$CC"; then
2113 ac_cv_prog_CC
="$CC" # Let the user override the test.
2115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir
=.
2120 for ac_exec_ext
in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2123 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 if test -n "$CC"; then
2134 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2135 $as_echo "$CC" >&6; }
2137 { $as_echo "$as_me:$LINENO: result: no" >&5
2138 $as_echo "no" >&6; }
2143 if test -z "$ac_cv_prog_CC"; then
2145 # Extract the first word of "gcc", so it can be a program name with args.
2146 set dummy gcc
; ac_word
=$2
2147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 $as_echo_n "checking for $ac_word... " >&6; }
2149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2150 $as_echo_n "(cached) " >&6
2152 if test -n "$ac_ct_CC"; then
2153 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2159 test -z "$as_dir" && as_dir
=.
2160 for ac_exec_ext
in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2162 ac_cv_prog_ac_ct_CC
="gcc"
2163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2173 if test -n "$ac_ct_CC"; then
2174 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2175 $as_echo "$ac_ct_CC" >&6; }
2177 { $as_echo "$as_me:$LINENO: result: no" >&5
2178 $as_echo "no" >&6; }
2181 if test "x$ac_ct_CC" = x
; then
2184 case $cross_compiling:$ac_tool_warned in
2186 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2188 ac_tool_warned
=yes ;;
2196 if test -z "$CC"; then
2197 if test -n "$ac_tool_prefix"; then
2198 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2199 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2200 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 $as_echo_n "checking for $ac_word... " >&6; }
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 $as_echo_n "(cached) " >&6
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC
="$CC" # Let the user override the test.
2208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir
=.
2213 for ac_exec_ext
in '' $ac_executable_extensions; do
2214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2215 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2216 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CC"; then
2227 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2228 $as_echo "$CC" >&6; }
2230 { $as_echo "$as_me:$LINENO: result: no" >&5
2231 $as_echo "no" >&6; }
2237 if test -z "$CC"; then
2238 # Extract the first word of "cc", so it can be a program name with args.
2239 set dummy cc
; ac_word
=$2
2240 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2241 $as_echo_n "checking for $ac_word... " >&6; }
2242 if test "${ac_cv_prog_CC+set}" = set; then
2243 $as_echo_n "(cached) " >&6
2245 if test -n "$CC"; then
2246 ac_cv_prog_CC
="$CC" # Let the user override the test.
2249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2253 test -z "$as_dir" && as_dir
=.
2254 for ac_exec_ext
in '' $ac_executable_extensions; do
2255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2256 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2257 ac_prog_rejected
=yes
2261 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 if test $ac_prog_rejected = yes; then
2269 # We found a bogon in the path, so make sure we never use it.
2270 set dummy
$ac_cv_prog_CC
2272 if test $# != 0; then
2273 # We chose a different compiler from the bogus one.
2274 # However, it has the same basename, so the bogon will be chosen
2275 # first if we set CC to just the basename; use the full file name.
2277 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2283 if test -n "$CC"; then
2284 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2285 $as_echo "$CC" >&6; }
2287 { $as_echo "$as_me:$LINENO: result: no" >&5
2288 $as_echo "no" >&6; }
2293 if test -z "$CC"; then
2294 if test -n "$ac_tool_prefix"; then
2295 for ac_prog
in cl.exe
2297 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2298 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2299 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if test "${ac_cv_prog_CC+set}" = set; then
2302 $as_echo_n "(cached) " >&6
2304 if test -n "$CC"; then
2305 ac_cv_prog_CC
="$CC" # Let the user override the test.
2307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir
=.
2312 for ac_exec_ext
in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2315 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 if test -n "$CC"; then
2326 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2327 $as_echo "$CC" >&6; }
2329 { $as_echo "$as_me:$LINENO: result: no" >&5
2330 $as_echo "no" >&6; }
2334 test -n "$CC" && break
2337 if test -z "$CC"; then
2339 for ac_prog
in cl.exe
2341 # Extract the first word of "$ac_prog", so it can be a program name with args.
2342 set dummy
$ac_prog; ac_word
=$2
2343 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2346 $as_echo_n "(cached) " >&6
2348 if test -n "$ac_ct_CC"; then
2349 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir
=.
2356 for ac_exec_ext
in '' $ac_executable_extensions; do
2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2358 ac_cv_prog_ac_ct_CC
="$ac_prog"
2359 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2369 if test -n "$ac_ct_CC"; then
2370 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2371 $as_echo "$ac_ct_CC" >&6; }
2373 { $as_echo "$as_me:$LINENO: result: no" >&5
2374 $as_echo "no" >&6; }
2378 test -n "$ac_ct_CC" && break
2381 if test "x$ac_ct_CC" = x
; then
2384 case $cross_compiling:$ac_tool_warned in
2386 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2388 ac_tool_warned
=yes ;;
2397 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2399 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2400 See \`config.log' for more details." >&5
2401 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2402 See \`config.log' for more details." >&2;}
2403 { (exit 1); exit 1; }; }; }
2405 # Provide some information about the compiler.
2406 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2409 { (ac_try
="$ac_compiler --version >&5"
2411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2412 *) ac_try_echo=$ac_try;;
2414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2415 $as_echo "$ac_try_echo") >&5
2416 (eval "$ac_compiler --version >&5") 2>&5
2418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }
2420 { (ac_try="$ac_compiler -v >&5"
2422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2423 *) ac_try_echo
=$ac_try;;
2425 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2426 $as_echo "$ac_try_echo") >&5
2427 (eval "$ac_compiler -v >&5") 2>&5
2429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }
2431 { (ac_try
="$ac_compiler -V >&5"
2433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2434 *) ac_try_echo=$ac_try;;
2436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2437 $as_echo "$ac_try_echo") >&5
2438 (eval "$ac_compiler -V >&5") 2>&5
2440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }
2444 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2445 $as_echo_n "checking for suffix of object files... " >&6; }
2446 if test "${ac_cv_objext+set}" = set; then
2447 $as_echo_n "(cached) " >&6
2449 cat >conftest.$ac_ext <<_ACEOF
2452 cat confdefs.h >>conftest.$ac_ext
2453 cat >>conftest.$ac_ext <<_ACEOF
2454 /* end confdefs.h. */
2464 rm -f conftest.o conftest.obj
2465 if { (ac_try="$ac_compile"
2467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2468 *) ac_try_echo
=$ac_try;;
2470 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2471 $as_echo "$ac_try_echo") >&5
2472 (eval "$ac_compile") 2>&5
2474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; then
2476 for ac_file
in conftest.o conftest.obj conftest.
*; do
2477 test -f "$ac_file" ||
continue;
2479 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2480 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2485 $as_echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.
$ac_ext >&5
2488 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2491 See \`config.log' for more details." >&5
2492 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2493 See \`config.log' for more details." >&2;}
2494 { (exit 1); exit 1; }; }; }
2497 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2499 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2500 $as_echo "$ac_cv_objext" >&6; }
2501 OBJEXT
=$ac_cv_objext
2503 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2504 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2505 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2506 $as_echo_n "(cached) " >&6
2508 cat >conftest.
$ac_ext <<_ACEOF
2511 cat confdefs.h
>>conftest.
$ac_ext
2512 cat >>conftest.
$ac_ext <<_ACEOF
2513 /* end confdefs.h. */
2526 rm -f conftest.
$ac_objext
2527 if { (ac_try
="$ac_compile"
2529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2533 $as_echo "$ac_try_echo") >&5
2534 (eval "$ac_compile") 2>conftest.er1
2536 grep -v '^ *+' conftest.er1 >conftest.err
2538 cat conftest.err >&5
2539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } && {
2541 test -z "$ac_c_werror_flag" ||
2542 test ! -s conftest.err
2543 } && test -s conftest.$ac_objext; then
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2556 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2557 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2558 if test $ac_compiler_gnu = yes; then
2563 ac_test_CFLAGS=${CFLAGS+set}
2564 ac_save_CFLAGS=$CFLAGS
2565 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2566 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2567 if test "${ac_cv_prog_cc_g+set}" = set; then
2568 $as_echo_n "(cached) " >&6
2570 ac_save_c_werror_flag=$ac_c_werror_flag
2571 ac_c_werror_flag=yes
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 rm -f conftest.$ac_objext
2590 if { (ac_try="$ac_compile"
2592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2593 *) ac_try_echo
=$ac_try;;
2595 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2596 $as_echo "$ac_try_echo") >&5
2597 (eval "$ac_compile") 2>conftest.er1
2599 grep -v '^ *+' conftest.er1
>conftest.err
2601 cat conftest.err
>&5
2602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } && {
2604 test -z "$ac_c_werror_flag" ||
2605 test ! -s conftest.err
2606 } && test -s conftest.
$ac_objext; then
2609 $as_echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.
$ac_ext >&5
2613 cat >conftest.
$ac_ext <<_ACEOF
2616 cat confdefs.h
>>conftest.
$ac_ext
2617 cat >>conftest.
$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2628 rm -f conftest.
$ac_objext
2629 if { (ac_try
="$ac_compile"
2631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2635 $as_echo "$ac_try_echo") >&5
2636 (eval "$ac_compile") 2>conftest.er1
2638 grep -v '^ *+' conftest.er1 >conftest.err
2640 cat conftest.err >&5
2641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } && {
2643 test -z "$ac_c_werror_flag" ||
2644 test ! -s conftest.err
2645 } && test -s conftest.$ac_objext; then
2648 $as_echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.$ac_ext >&5
2651 ac_c_werror_flag=$ac_save_c_werror_flag
2653 cat >conftest.$ac_ext <<_ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2668 rm -f conftest.$ac_objext
2669 if { (ac_try="$ac_compile"
2671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2672 *) ac_try_echo
=$ac_try;;
2674 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2675 $as_echo "$ac_try_echo") >&5
2676 (eval "$ac_compile") 2>conftest.er1
2678 grep -v '^ *+' conftest.er1
>conftest.err
2680 cat conftest.err
>&5
2681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); } && {
2683 test -z "$ac_c_werror_flag" ||
2684 test ! -s conftest.err
2685 } && test -s conftest.
$ac_objext; then
2688 $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.
$ac_ext >&5
2694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2701 ac_c_werror_flag
=$ac_save_c_werror_flag
2703 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2704 $as_echo "$ac_cv_prog_cc_g" >&6; }
2705 if test "$ac_test_CFLAGS" = set; then
2706 CFLAGS
=$ac_save_CFLAGS
2707 elif test $ac_cv_prog_cc_g = yes; then
2708 if test "$GCC" = yes; then
2714 if test "$GCC" = yes; then
2720 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2721 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2722 if test "${ac_cv_prog_cc_c89+set}" = set; then
2723 $as_echo_n "(cached) " >&6
2725 ac_cv_prog_cc_c89
=no
2727 cat >conftest.
$ac_ext <<_ACEOF
2730 cat confdefs.h
>>conftest.
$ac_ext
2731 cat >>conftest.
$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2735 #include <sys/types.h>
2736 #include <sys/stat.h>
2737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2738 struct buf { int x; };
2739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2740 static char *e (p, i)
2746 static char *f (char * (*g) (char **, int), char **p, ...)
2751 s = g (p, va_arg (v,int));
2756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2757 function prototypes and stuff, but not '\xHH' hex character constants.
2758 These don't provoke an error unfortunately, instead are silently treated
2759 as 'x'. The following induces an error, until -std is added to get
2760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2761 array size at least. It's necessary to write '\x00'==0 to get something
2762 that's true only with -std. */
2763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2765 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2766 inside strings and character constants. */
2768 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2770 int test (int i, double x);
2771 struct s1 {int (*f) (int a);};
2772 struct s2 {int (*f) (double a);};
2773 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2779 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2784 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2785 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2787 CC
="$ac_save_CC $ac_arg"
2788 rm -f conftest.
$ac_objext
2789 if { (ac_try
="$ac_compile"
2791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2795 $as_echo "$ac_try_echo") >&5
2796 (eval "$ac_compile") 2>conftest.er1
2798 grep -v '^ *+' conftest.er1 >conftest.err
2800 cat conftest.err >&5
2801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); } && {
2803 test -z "$ac_c_werror_flag" ||
2804 test ! -s conftest.err
2805 } && test -s conftest.$ac_objext; then
2806 ac_cv_prog_cc_c89=$ac_arg
2808 $as_echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2814 rm -f core conftest.err conftest.$ac_objext
2815 test "x$ac_cv_prog_cc_c89" != "xno" && break
2817 rm -f conftest.$ac_ext
2822 case "x$ac_cv_prog_cc_c89" in
2824 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2825 $as_echo "none needed" >&6; } ;;
2827 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2828 $as_echo "unsupported" >&6; } ;;
2830 CC="$CC $ac_cv_prog_cc_c89"
2831 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2832 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2837 ac_cpp='$CPP $CPPFLAGS'
2838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842 if test $host != $build; then
2843 for ac_prog in gcc cc
2845 # Extract the first word of "$ac_prog", so it can be a program name with args.
2846 set dummy $ac_prog; ac_word=$2
2847 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2848 $as_echo_n "checking for $ac_word... " >&6; }
2849 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2850 $as_echo_n "(cached) " >&6
2852 if test -n "$BUILD_CC"; then
2853 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir=.
2860 for ac_exec_ext in '' $ac_executable_extensions; do
2861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2862 ac_cv_prog_BUILD_CC="$ac_prog"
2863 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 BUILD_CC=$ac_cv_prog_BUILD_CC
2873 if test -n "$BUILD_CC"; then
2874 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2875 $as_echo "$BUILD_CC" >&6; }
2877 { $as_echo "$as_me:$LINENO: result: no" >&5
2878 $as_echo "no" >&6; }
2882 test -n "$BUILD_CC" && break
2888 ac_cpp='$CPP $CPPFLAGS'
2889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2893 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2894 # On Suns, sometimes $CPP names a directory.
2895 if test -n "$CPP" && test -d "$CPP"; then
2898 if test -z "$CPP"; then
2899 if test "${ac_cv_prog_CPP+set}" = set; then
2900 $as_echo_n "(cached) " >&6
2902 # Double quotes because CPP needs to be expanded
2903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2906 for ac_c_preproc_warn_flag in '' yes
2908 # Use a header file that comes with gcc, so configuring glibc
2909 # with a fresh cross-compiler works.
2910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2911 # <limits.h> exists even on freestanding compilers.
2912 # On the NeXT, cc -E runs the code through the compiler's parser,
2913 # not just through cpp. "Syntax error" is here to catch this case.
2914 cat >conftest.$ac_ext <<_ACEOF
2917 cat confdefs.h >>conftest.$ac_ext
2918 cat >>conftest.$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2921 # include <limits.h>
2923 # include <assert.h>
2927 if { (ac_try="$ac_cpp conftest.$ac_ext"
2929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2930 *) ac_try_echo
=$ac_try;;
2932 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2933 $as_echo "$ac_try_echo") >&5
2934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2936 grep -v '^ *+' conftest.er1
>conftest.err
2938 cat conftest.err
>&5
2939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } >/dev
/null
&& {
2941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2946 $as_echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.
$ac_ext >&5
2949 # Broken: fails on valid input.
2953 rm -f conftest.err conftest.
$ac_ext
2955 # OK, works on sane cases. Now check whether nonexistent headers
2956 # can be detected and how.
2957 cat >conftest.
$ac_ext <<_ACEOF
2960 cat confdefs.h
>>conftest.
$ac_ext
2961 cat >>conftest.
$ac_ext <<_ACEOF
2962 /* end confdefs.h. */
2963 #include <ac_nonexistent.h>
2965 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2971 $as_echo "$ac_try_echo") >&5
2972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2974 grep -v '^ *+' conftest.er1 >conftest.err
2976 cat conftest.err >&5
2977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } >/dev/null && {
2979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2980 test ! -s conftest.err
2982 # Broken: success on invalid input.
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2988 # Passes both tests.
2993 rm -f conftest.err conftest.$ac_ext
2996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2997 rm -f conftest.err conftest.
$ac_ext
2998 if $ac_preproc_ok; then
3010 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3011 $as_echo "$CPP" >&6; }
3013 for ac_c_preproc_warn_flag
in '' yes
3015 # Use a header file that comes with gcc, so configuring glibc
3016 # with a fresh cross-compiler works.
3017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3018 # <limits.h> exists even on freestanding compilers.
3019 # On the NeXT, cc -E runs the code through the compiler's parser,
3020 # not just through cpp. "Syntax error" is here to catch this case.
3021 cat >conftest.
$ac_ext <<_ACEOF
3024 cat confdefs.h
>>conftest.
$ac_ext
3025 cat >>conftest.
$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3028 # include <limits.h>
3030 # include <assert.h>
3034 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3040 $as_echo "$ac_try_echo") >&5
3041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3043 grep -v '^ *+' conftest.er1 >conftest.err
3045 cat conftest.err >&5
3046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); } >/dev/null && {
3048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3049 test ! -s conftest.err
3053 $as_echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.$ac_ext >&5
3056 # Broken: fails on valid input.
3060 rm -f conftest.err conftest.$ac_ext
3062 # OK, works on sane cases. Now check whether nonexistent headers
3063 # can be detected and how.
3064 cat >conftest.$ac_ext <<_ACEOF
3067 cat confdefs.h >>conftest.$ac_ext
3068 cat >>conftest.$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3070 #include <ac_nonexistent.h>
3072 if { (ac_try="$ac_cpp conftest.$ac_ext"
3074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3075 *) ac_try_echo
=$ac_try;;
3077 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3078 $as_echo "$ac_try_echo") >&5
3079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3081 grep -v '^ *+' conftest.er1
>conftest.err
3083 cat conftest.err
>&5
3084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } >/dev
/null
&& {
3086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3087 test ! -s conftest.err
3089 # Broken: success on invalid input.
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.
$ac_ext >&5
3095 # Passes both tests.
3100 rm -f conftest.err conftest.
$ac_ext
3103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3104 rm -f conftest.err conftest.
$ac_ext
3105 if $ac_preproc_ok; then
3108 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3110 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3111 See \`config.log' for more details." >&5
3112 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3113 See \`config.log' for more details." >&2;}
3114 { (exit 1); exit 1; }; }; }
3118 ac_cpp
='$CPP $CPPFLAGS'
3119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3123 # We need the C++ compiler only for testing.
3125 ac_cpp
='$CXXCPP $CPPFLAGS'
3126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3129 if test -z "$CXX"; then
3130 if test -n "$CCC"; then
3133 if test -n "$ac_tool_prefix"; then
3134 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3136 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3137 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3138 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3139 $as_echo_n "checking for $ac_word... " >&6; }
3140 if test "${ac_cv_prog_CXX+set}" = set; then
3141 $as_echo_n "(cached) " >&6
3143 if test -n "$CXX"; then
3144 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir
=.
3151 for ac_exec_ext
in '' $ac_executable_extensions; do
3152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3153 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3154 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 if test -n "$CXX"; then
3165 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3166 $as_echo "$CXX" >&6; }
3168 { $as_echo "$as_me:$LINENO: result: no" >&5
3169 $as_echo "no" >&6; }
3173 test -n "$CXX" && break
3176 if test -z "$CXX"; then
3178 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3180 # Extract the first word of "$ac_prog", so it can be a program name with args.
3181 set dummy
$ac_prog; ac_word
=$2
3182 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$ac_ct_CXX"; then
3188 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3198 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3208 if test -n "$ac_ct_CXX"; then
3209 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3210 $as_echo "$ac_ct_CXX" >&6; }
3212 { $as_echo "$as_me:$LINENO: result: no" >&5
3213 $as_echo "no" >&6; }
3217 test -n "$ac_ct_CXX" && break
3220 if test "x$ac_ct_CXX" = x
; then
3223 case $cross_compiling:$ac_tool_warned in
3225 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3227 ac_tool_warned
=yes ;;
3235 # Provide some information about the compiler.
3236 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3239 { (ac_try
="$ac_compiler --version >&5"
3241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3245 $as_echo "$ac_try_echo") >&5
3246 (eval "$ac_compiler --version >&5") 2>&5
3248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }
3250 { (ac_try="$ac_compiler -v >&5"
3252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3253 *) ac_try_echo
=$ac_try;;
3255 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3256 $as_echo "$ac_try_echo") >&5
3257 (eval "$ac_compiler -v >&5") 2>&5
3259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); }
3261 { (ac_try
="$ac_compiler -V >&5"
3263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3267 $as_echo "$ac_try_echo") >&5
3268 (eval "$ac_compiler -V >&5") 2>&5
3270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); }
3273 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3274 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3275 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3276 $as_echo_n "(cached) " >&6
3278 cat >conftest.$ac_ext <<_ACEOF
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3296 rm -f conftest.$ac_objext
3297 if { (ac_try="$ac_compile"
3299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3300 *) ac_try_echo
=$ac_try;;
3302 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3303 $as_echo "$ac_try_echo") >&5
3304 (eval "$ac_compile") 2>conftest.er1
3306 grep -v '^ *+' conftest.er1
>conftest.err
3308 cat conftest.err
>&5
3309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); } && {
3311 test -z "$ac_cxx_werror_flag" ||
3312 test ! -s conftest.err
3313 } && test -s conftest.
$ac_objext; then
3316 $as_echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.
$ac_ext >&5
3322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3323 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3326 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3327 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3328 if test $ac_compiler_gnu = yes; then
3333 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3334 ac_save_CXXFLAGS
=$CXXFLAGS
3335 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3336 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3337 if test "${ac_cv_prog_cxx_g+set}" = set; then
3338 $as_echo_n "(cached) " >&6
3340 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3341 ac_cxx_werror_flag
=yes
3344 cat >conftest.
$ac_ext <<_ACEOF
3347 cat confdefs.h
>>conftest.
$ac_ext
3348 cat >>conftest.
$ac_ext <<_ACEOF
3349 /* end confdefs.h. */
3359 rm -f conftest.
$ac_objext
3360 if { (ac_try
="$ac_compile"
3362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3366 $as_echo "$ac_try_echo") >&5
3367 (eval "$ac_compile") 2>conftest.er1
3369 grep -v '^ *+' conftest.er1 >conftest.err
3371 cat conftest.err >&5
3372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } && {
3374 test -z "$ac_cxx_werror_flag" ||
3375 test ! -s conftest.err
3376 } && test -s conftest.$ac_objext; then
3377 ac_cv_prog_cxx_g=yes
3379 $as_echo "$as_me: failed program was:" >&5
3380 sed 's/^/| /' conftest.$ac_ext >&5
3383 cat >conftest.$ac_ext <<_ACEOF
3386 cat confdefs.h >>conftest.$ac_ext
3387 cat >>conftest.$ac_ext <<_ACEOF
3388 /* end confdefs.h. */
3398 rm -f conftest.$ac_objext
3399 if { (ac_try="$ac_compile"
3401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3402 *) ac_try_echo
=$ac_try;;
3404 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3405 $as_echo "$ac_try_echo") >&5
3406 (eval "$ac_compile") 2>conftest.er1
3408 grep -v '^ *+' conftest.er1
>conftest.err
3410 cat conftest.err
>&5
3411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } && {
3413 test -z "$ac_cxx_werror_flag" ||
3414 test ! -s conftest.err
3415 } && test -s conftest.
$ac_objext; then
3418 $as_echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.
$ac_ext >&5
3421 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3423 cat >conftest.
$ac_ext <<_ACEOF
3426 cat confdefs.h
>>conftest.
$ac_ext
3427 cat >>conftest.
$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3438 rm -f conftest.
$ac_objext
3439 if { (ac_try
="$ac_compile"
3441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445 $as_echo "$ac_try_echo") >&5
3446 (eval "$ac_compile") 2>conftest.er1
3448 grep -v '^ *+' conftest.er1 >conftest.err
3450 cat conftest.err >&5
3451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } && {
3453 test -z "$ac_cxx_werror_flag" ||
3454 test ! -s conftest.err
3455 } && test -s conftest.$ac_objext; then
3456 ac_cv_prog_cxx_g=yes
3458 $as_echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3473 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3474 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3475 if test "$ac_test_CXXFLAGS" = set; then
3476 CXXFLAGS=$ac_save_CXXFLAGS
3477 elif test $ac_cv_prog_cxx_g = yes; then
3478 if test "$GXX" = yes; then
3484 if test "$GXX" = yes; then
3491 ac_cpp='$CPP $CPPFLAGS'
3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3497 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3498 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3499 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
3500 { (exit 1); exit 1; }; }
3503 # This will get text that should go into config.make.
3506 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3508 # Check whether --with-gd was given.
3509 if test "${with_gd+set}" = set; then
3510 withval=$with_gd; case "$with_gd" in
3512 *) libgd_include="-I$withval/include"
3513 libgd_ldflags="-L$withval/lib" ;;
3519 # Check whether --with-gd-include was given.
3520 if test "${with_gd_include+set}" = set; then
3521 withval=$with_gd_include; case "$with_gd_include" in
3523 *) libgd_include="-I$withval" ;;
3529 # Check whether --with-gd-lib was given.
3530 if test "${with_gd_lib+set}" = set; then
3531 withval=$with_gd_lib; case "$with_gd_lib" in
3533 *) libgd_ldflags="-L$withval" ;;
3539 if test -n "$libgd_include"; then
3540 config_vars="$config_vars
3541 CFLAGS-memusagestat.c = $libgd_include"
3543 if test -n "$libgd_ldflags"; then
3544 config_vars="$config_vars
3545 libgd-LDFLAGS = $libgd_ldflags"
3549 # Check whether --with-fp was given.
3550 if test "${with_fp+set}" = set; then
3551 withval=$with_fp; with_fp=$withval
3558 # Check whether --with-binutils was given.
3559 if test "${with_binutils+set}" = set; then
3560 withval=$with_binutils; path_binutils=$withval
3566 # Check whether --with-elf was given.
3567 if test "${with_elf+set}" = set; then
3568 withval=$with_elf; elf=$withval
3574 # Check whether --with-selinux was given.
3575 if test "${with_selinux+set}" = set; then
3576 withval=$with_selinux; with_selinux=$withval
3582 # Check whether --with-xcoff was given.
3583 if test "${with_xcoff+set}" = set; then
3584 withval=$with_xcoff; xcoff=$withval
3590 # Check whether --with-cvs was given.
3591 if test "${with_cvs+set}" = set; then
3592 withval=$with_cvs; with_cvs=$withval
3597 if test "$with_cvs" = yes; then
3598 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3606 # Check whether --with-headers was given.
3607 if test "${with_headers+set}" = set; then
3608 withval=$with_headers; sysheaders=$withval
3614 # Check whether --enable-sanity-checks was given.
3615 if test "${enable_sanity_checks+set}" = set; then
3616 enableval=$enable_sanity_checks; enable_sanity=$enableval
3623 # Check whether --enable-check-abi was given.
3624 if test "${enable_check_abi+set}" = set; then
3625 enableval=$enable_check_abi; enable_check_abi=$enableval
3632 # Check whether --enable-shared was given.
3633 if test "${enable_shared+set}" = set; then
3634 enableval=$enable_shared; shared=$enableval
3639 # Check whether --enable-profile was given.
3640 if test "${enable_profile+set}" = set; then
3641 enableval=$enable_profile; profile=$enableval
3646 # Check whether --enable-omitfp was given.
3647 if test "${enable_omitfp+set}" = set; then
3648 enableval=$enable_omitfp; omitfp=$enableval
3653 # Check whether --enable-bounded was given.
3654 if test "${enable_bounded+set}" = set; then
3655 enableval=$enable_bounded; bounded=$enableval
3660 # Check whether --enable-versioning was given.
3661 if test "${enable_versioning+set}" = set; then
3662 enableval=$enable_versioning; enable_versioning=$enableval
3664 enable_versioning=yes
3668 # Check whether --enable-oldest-abi was given.
3669 if test "${enable_oldest_abi+set}" = set; then
3670 enableval=$enable_oldest_abi; oldest_abi=$enableval
3675 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3678 cat >>confdefs.h <<_ACEOF
3679 #define GLIBC_OLDEST_ABI "$oldest_abi"
3685 # Check whether --enable-stackguard-randomization was given.
3686 if test "${enable_stackguard_randomization+set}" = set; then
3687 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3689 enable_stackguard_randomize=no
3692 if test "$enable_stackguard_randomize" = yes; then
3693 cat >>confdefs.h <<\_ACEOF
3694 #define ENABLE_STACKGUARD_RANDOMIZE 1
3699 # Check whether --enable-add-ons was given.
3700 if test "${enable_add_ons+set}" = set; then
3701 enableval=$enable_add_ons;
3708 # Check whether --with-tls was given.
3709 if test "${with_tls+set}" = set; then
3710 withval=$with_tls; usetls=$withval
3717 # Check whether --with-__thread was given.
3718 if test "${with___thread+set}" = set; then
3719 withval=$with___thread; use__thread=$withval
3725 # Check whether --enable-hidden-plt was given.
3726 if test "${enable_hidden_plt+set}" = set; then
3727 enableval=$enable_hidden_plt; hidden=$enableval
3732 if test "x$hidden" = xno; then
3733 cat >>confdefs.h <<\_ACEOF
3739 # Check whether --enable-bind-now was given.
3740 if test "${enable_bind_now+set}" = set; then
3741 enableval=$enable_bind_now; bindnow=$enableval
3748 # Check whether --enable-static-nss was given.
3749 if test "${enable_static_nss+set}" = set; then
3750 enableval=$enable_static_nss; static_nss=$enableval
3755 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3757 cat >>confdefs.h <<\_ACEOF
3758 #define DO_STATIC_NSS 1
3763 # Check whether --enable-force-install was given.
3764 if test "${enable_force_install+set}" = set; then
3765 enableval=$enable_force_install; force_install=$enableval
3772 # Check whether --enable-kernel was given.
3773 if test "${enable_kernel+set}" = set; then
3774 enableval=$enable_kernel; minimum_kernel=$enableval
3777 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3778 # Better nothing than this.
3781 if test "$minimum_kernel" = current; then
3782 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3786 # Check whether --enable-all-warnings was given.
3787 if test "${enable_all_warnings+set}" = set; then
3788 enableval=$enable_all_warnings; all_warnings=$enableval
3793 # Check whether --enable-multi-arch was given.
3794 if test "${enable_multi_arch+set}" = set; then
3795 enableval=$enable_multi_arch; multi_arch=$enableval
3800 if test x"$multi_arch" = xyes; then
3801 cat >>confdefs.h <<\_ACEOF
3802 #define USE_MULTIARCH 1
3805 multi_arch_d=/multiarch
3809 # Check whether --enable-experimental-malloc was given.
3810 if test "${enable_experimental_malloc+set}" = set; then
3811 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3816 # Check whether --enable-nss-crypt was given.
3817 if test "${enable_nss_crypt+set}" = set; then
3818 enableval=$enable_nss_crypt; nss_crypt=$enableval
3823 if test x$nss_crypt = xyes; then
3824 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3825 if test $? -ne 0; then
3826 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3827 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3828 { (exit 1); exit 1; }; }
3830 old_CFLAGS="$CFLAGS"
3831 CFLAGS="$CFLAGS $nss_includes"
3833 cat >conftest.$ac_ext <<_ACEOF
3836 #include <nsslowhash.h>
3837 void f (void) { NSSLOW_Init (); }
3839 rm -f conftest.$ac_objext
3840 if { (ac_try="$ac_compile"
3842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3843 *) ac_try_echo
=$ac_try;;
3845 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3846 $as_echo "$ac_try_echo") >&5
3847 (eval "$ac_compile") 2>conftest.er1
3849 grep -v '^ *+' conftest.er1
>conftest.err
3851 cat conftest.err
>&5
3852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } && {
3854 test -z "$ac_c_werror_flag" ||
3855 test ! -s conftest.err
3856 } && test -s conftest.
$ac_objext; then
3857 libc_cv_nss_crypt
=yes
3859 $as_echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.
$ac_ext >&5
3862 { { $as_echo "$as_me:$LINENO: error:
3863 cannot find NSS headers with lowlevel hash function interfaces" >&5
3864 $as_echo "$as_me: error:
3865 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3866 { (exit 1); exit 1; }; }
3869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3871 LIBS
="$LIBS -lfreebl3"
3872 cat >conftest.
$ac_ext <<_ACEOF
3875 cat confdefs.h
>>conftest.
$ac_ext
3876 cat >>conftest.
$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3880 #include <nsslowhash.h>
3889 rm -f conftest.
$ac_objext conftest
$ac_exeext
3890 if { (ac_try
="$ac_link"
3892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3896 $as_echo "$ac_try_echo") >&5
3897 (eval "$ac_link") 2>conftest.er1
3899 grep -v '^ *+' conftest.er1 >conftest.err
3901 cat conftest.err >&5
3902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); } && {
3904 test -z "$ac_c_werror_flag" ||
3905 test ! -s conftest.err
3906 } && test -s conftest$ac_exeext && {
3907 test "$cross_compiling" = yes ||
3908 $as_test_x conftest$ac_exeext
3910 libc_cv_nss_crypt=yes
3912 $as_echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 { { $as_echo "$as_me:$LINENO: error:
3916 cannot link program using lowlevel NSS hash functions" >&5
3917 $as_echo "$as_me: error:
3918 cannot link program using lowlevel NSS hash functions" >&2;}
3919 { (exit 1); exit 1; }; }
3922 rm -rf conftest.dSYM
3923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3924 conftest$ac_exeext conftest.$ac_ext
3925 CFLAGS="$old_CFLAGS"
3928 libc_cv_nss_crypt=no
3932 # The way shlib-versions is used to generate soversions.mk uses a
3933 # fairly simplistic model for name recognition that can't distinguish
3934 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3935 # of `gnu
*' here to be `gnu-gnu*' just so that shlib-versions can
3936 # tell. This doesn't get used much beyond that, so it's fairly safe.
3941 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3945 # We keep the original values in `$config_*' and never modify them, so we
3946 # can write them unchanged into config.make. Everything else uses
3947 # $machine, $vendor, and $os, and changes them whenever convenient.
3948 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3950 # Don't allow vendor == "unknown"
3951 test "$config_vendor" = unknown
&& config_vendor
=
3952 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3954 # Some configurations imply other options.
3956 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3957 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
3959 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
3960 # These systems (almost) always use the ELF format.
3964 # These systems are always xcoff
3970 # The configure fragment of an add-on port can modify these to supplement
3971 # or override the table in the case statement below. No fragment should
3972 # ever change the config_* variables, however.
3973 machine
=$config_machine
3974 vendor
=$config_vendor
3978 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3980 if test "$machine" = rs6000
; then
3984 # Braindead PowerPC box with absolutely no FPU.
3985 case "$machine-$host_os" in
3993 # Check whether --with-cpu was given.
3994 if test "${with_cpu+set}" = set; then
3995 withval
=$with_cpu; case "$withval" in
3996 yes|
'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
3997 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
3998 { (exit 1); exit 1; }; } ;;
4000 *) submachine
="$withval" ;;
4006 # An add-on can set this when it wants to disable the sanity check below.
4014 case "$enable_add_ons" in
4017 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
4018 sed 's@/[^/]*$@@' | sort | uniq`
4019 add_ons_automatic
=yes
4021 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
4022 add_ons_automatic
=no
;;
4028 if test x
"$add_ons" != x
; then
4029 for f
in $add_ons; do
4030 # Some sanity checks
4033 { { $as_echo "$as_me:$LINENO: error:
4034 *** It seems that you're using an old \`crypt' add-on. crypt is now
4035 *** part of glibc and using the old add-on will not work with this
4036 *** release. Start again with fresh sources and without the old
4037 *** \`crypt' add-on." >&5
4038 $as_echo "$as_me: error:
4039 *** It seems that you're using an old \`crypt' add-on. crypt is now
4040 *** part of glibc and using the old add-on will not work with this
4041 *** release. Start again with fresh sources and without the old
4042 *** \`crypt' add-on." >&2;}
4043 { (exit 1); exit 1; }; }
4046 { { $as_echo "$as_me:$LINENO: error:
4047 *** It seems that you're using an old \`localedata' add-on. localedata
4048 *** is now part of glibc and using the old add-on will not work with
4049 *** this release. Start again with fresh sources and without the old
4050 *** \`localedata' add-on." >&5
4051 $as_echo "$as_me: error:
4052 *** It seems that you're using an old \`localedata' add-on. localedata
4053 *** is now part of glibc and using the old add-on will not work with
4054 *** this release. Start again with fresh sources and without the old
4055 *** \`localedata' add-on." >&2;}
4056 { (exit 1); exit 1; }; }
4061 # Now source each add-on's configure fragment.
4062 # The fragments can use $srcdir/$libc_add_on to find themselves,
4063 # and test $add_ons_automatic to see if they were explicitly requested.
4064 # A fragment can clear (or even change) $libc_add_on to affect
4065 # whether it goes into the list to be actually used in the build.
4067 for libc_add_on
in $add_ons; do
4068 # Test whether such a directory really exists.
4069 # It can be absolute, or relative to $srcdir, or relative to the build dir.
4070 case "$libc_add_on" in
4072 libc_add_on_srcdir
=$libc_add_on
4075 test -d "$srcdir/$libc_add_on" ||
{
4076 if test -d "$libc_add_on"; then
4077 libc_add_on
="`pwd`/$libc_add_on"
4079 { { $as_echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
4080 $as_echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
4081 { (exit 1); exit 1; }; }
4084 libc_add_on_srcdir
=$srcdir/$libc_add_on
4088 libc_add_on_frag
=$libc_add_on_srcdir/configure
4089 libc_add_on_canonical
=
4090 if test -r "$libc_add_on_frag"; then
4091 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
4092 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
4093 libc_add_on_canonical
=unknown
4094 libc_add_on_subdirs
=
4095 .
"$libc_add_on_frag"
4096 test -z "$libc_add_on" ||
{
4097 configured_add_ons
="$configured_add_ons $libc_add_on"
4098 if test "x$libc_add_on_canonical" = xunknown
; then
4099 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
4100 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
4101 { (exit 1); exit 1; }; }
4103 for d
in $libc_add_on_subdirs; do
4104 case "$libc_add_on" in
4105 /*) subdir_srcdir
="$libc_add_on" ;;
4106 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
4110 d
="${libc_add_on_canonical:-$libc_add_on}"
4116 subdir_srcdir
="$subdir_srcdir/$d"
4119 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4120 add_on_subdirs
="$add_on_subdirs $d"
4121 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
4122 $d-srcdir = $subdir_srcdir"
4126 if test -n "$libc_add_on"; then
4127 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4129 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
4130 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4131 for frag
in $frags; do
4132 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4133 echo $ECHO_N "$name $ECHO_C" >&6
4136 { $as_echo "$as_me:$LINENO: result: " >&5
4139 use_add_ons
="$use_add_ons $libc_add_on"
4140 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
4141 test -z "$libc_add_on_canonical" ||
4142 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
4145 # Use echo to strip excess whitespace.
4146 add_ons
="`echo $use_add_ons`"
4153 ### I put this here to prevent those annoying emails from people who cannot
4154 ### read and try to compile glibc on unsupported platforms. --drepper
4156 ### By using the undocumented --enable-hacker-mode option for configure
4157 ### one can skip this test to make the configuration not fail for unsupported
4160 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4161 case "$machine-$host_os" in
4162 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
4165 echo "*** The GNU C library is currently not available for this platform."
4166 echo "*** So far nobody cared to port it and if there is no volunteer it"
4167 echo "*** might never happen. So, if you have interest to see glibc on"
4168 echo "*** this platform visit"
4169 echo "*** http://www.gnu.org/software/libc/porting.html"
4170 echo "*** and join the group of porters"
4176 # Expand the configuration machine name into a subdirectory by architecture
4177 # type and particular chip. If an add-on configure fragment already set
4178 # base_machine, we don't change it.
4179 test -n "$base_machine" ||
case "$machine" in
4180 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
4181 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
4182 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
4183 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
4184 ia64
) base_machine
=ia64 machine
=ia64
;;
4185 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
4186 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
4187 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
4188 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
4189 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
4190 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
4191 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
4192 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
4194 base_machine
=sparc machine
=sparc
/sparc32
;;
4195 sparcv8 | supersparc | hypersparc
)
4196 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
4197 sparcv8plus | sparcv8plusa | sparcv9
)
4198 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
4199 sparcv8plusb | sparcv9b
)
4200 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
4202 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
4204 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
4206 base_machine
=sparc machine
=sparc
/sparc64
;;
4208 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
4210 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
4212 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
4213 *) base_machine
=$machine ;;
4217 if test "$base_machine" = "i386"; then
4218 cat >>confdefs.h
<<\_ACEOF
4219 #define USE_REGPARMS 1
4224 # Compute the list of sysdep directories for this configuration.
4225 # This can take a while to compute.
4226 sysdep_dir
=$srcdir/sysdeps
4227 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
4228 $as_echo_n "checking sysdep dirs... " >&6; }
4229 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4230 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4232 test "x$base_os" != x ||
case "$os" in
4234 base_os
=mach
/hurd
;;
4235 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
4236 base_os
=unix
/bsd
/bsd4.4
;;
4237 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
4239 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
4240 base_os
=unix
/sysv
;;
4242 base_os
=unix
/sysv
/irix
6/$os ;;
4244 base_os
=unix
/sysv
/sysv4
;;
4246 base_os
=unix
/sysv
/hpux
/$os ;;
4248 base_os
=unix
/sysv
/aix
/aix4.3
;;
4250 base_os
=standalone
;;
4253 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4256 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4260 o
=`echo $tail | sed 's/[0-9]*$//'`
4261 if test $o != $tail; then
4264 # For linux-gnu, try linux-gnu, then linux.
4265 o
=`echo $tail | sed 's/-.*$//'`
4266 if test $o != $tail; then
4270 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4273 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4279 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4281 tail=$machine${submachine:+/$submachine}
4282 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4284 # Prepend the machine's FPU directory unless --without-fp.
4285 if test "$with_fp" = yes; then
4286 mach
="$mach /$1/fpu"
4288 mach
="$mach /$1/nofpu"
4295 # Find what sysdep directories exist.
4298 for b
in $base ''; do
4299 for m0
in $mach ''; do
4300 for v
in /$vendor ''; do
4301 test "$v" = / && continue
4302 for o
in /$ostry ''; do
4303 test "$o" = / && continue
4304 for m
in $multi_arch_d $mach ''; do
4305 for d
in $add_ons_pfx ''; do
4306 for a
in $add_ons_sfx ''; do
4307 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4308 try_srcdir
="${srcdir}/"
4312 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4313 test -n "$enable_debug_configure" &&
4314 echo "$0 DEBUG: try $try" >&2
4315 if test -d "$try_srcdir$try"; then
4316 sysnames
="$sysnames $try"
4317 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4318 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4320 x
*/$submachine) submachine_used
=t
;;
4322 if test -n "$d"; then
4323 case "$sysnames_add_ons" in
4325 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4338 if test -z "$os_used" && test "$os" != none
; then
4339 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4340 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
4341 { (exit 1); exit 1; }; }
4343 if test -z "$machine_used" && test "$machine" != none
; then
4344 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4345 $as_echo "$as_me: error: The $machine is not supported." >&2;}
4346 { (exit 1); exit 1; }; }
4348 if test -z "$submachine_used" && test -n "$submachine"; then
4349 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4350 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4351 { (exit 1); exit 1; }; }
4355 # We have now validated the configuration.
4358 # If using ELF, look for an `elf' subdirectory of each machine directory.
4359 # We prepend these rather than inserting them whereever the machine appears
4360 # because things specified by the machine's ELF ABI should override
4361 # OS-specific things, and should always be the same for any OS on the
4362 # machine (otherwise what's the point of an ABI?).
4363 if test "$elf" = yes; then
4365 for d
in $add_ons_pfx ''; do
4367 if test -d $srcdir/${d}sysdeps
$m/elf
; then
4368 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
4372 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4376 # Expand the list of system names into a full list of directories
4377 # from each element's parent name and Implies file (if present).
4380 while test $# -gt 0; do
4384 case " $names " in *" $name "*)
4385 # Already in the list.
4389 # Report each name as we discover it, so there is no long pause in output.
4390 echo $ECHO_N "$name $ECHO_C" >&6
4392 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4396 *) xsrcdir
=$srcdir/ ;;
4398 test -n "$enable_debug_configure" &&
4399 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4401 if test -f $xsrcdir$name/Implies
; then
4402 # Collect more names from the `Implies' file (removing comments).
4403 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4405 for x
in $implied_candidate; do
4407 if test -d $xsrcdir$name_base/$x; then
4408 implied
="$implied $name_base/$x";
4411 for d
in $add_ons_pfx ''; do
4412 try
="${d}sysdeps/$x"
4415 *) try_srcdir
=$srcdir/ ;;
4417 test -n "$enable_debug_configure" &&
4418 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4419 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4421 implied
="$implied $try"
4423 case "$sysnames_add_ons" in
4425 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4429 if test $found = no
; then
4430 { $as_echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
4431 $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4438 # Add NAME to the list of names.
4439 names
="$names $name"
4441 # Find the parent of NAME, using the empty string if it has none.
4442 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4444 # Add the names implied by NAME, and NAME's parent (if it has one), to
4445 # the list of names to be processed (the argument list). We prepend the
4446 # implied names to the list and append the parent. We want implied
4447 # directories to come before further directories inferred from the
4448 # configuration components; this ensures that for sysv4, unix/common
4449 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4451 sysnames
="`echo $implied $* $parent`"
4452 test -n "$sysnames" && set $sysnames
4455 # Add the default directories.
4456 default_sysnames
=sysdeps
/generic
4457 if test "$elf" = yes; then
4458 default_sysnames
="sysdeps/generic/elf $default_sysnames"
4460 sysnames
="$names $default_sysnames"
4462 # The other names were emitted during the scan.
4463 { $as_echo "$as_me:$LINENO: result: $default_sysnames" >&5
4464 $as_echo "$default_sysnames" >&6; }
4466 # Collect the list of add-ons that supply partial sysdeps trees.
4468 for add_on
in $add_ons; do
4471 *) xsrcdir
="$srcdir/" ;;
4474 test -d "$xsrcdir$add_on/sysdeps" ||
{
4475 case "$configured_add_ons " in
4478 { { $as_echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
4479 $as_echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
4480 { (exit 1); exit 1; }; }
4486 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4487 case "$sysnames_add_ons" in
4490 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4491 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4496 for d
in $sysnames; do
4498 $add_on/sysdeps
/*) ;;
4501 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4504 for ff
in $f/*.h
; do
4505 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4509 test -d "$f" ||
{ test -e "$f" && exit 88; }
4513 if test $?
-eq 88; then
4518 if test $found = no
; then
4519 { $as_echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4520 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4528 # Find a good install program. We prefer a C program (faster),
4529 # so one script is as good as another. But avoid the broken or
4530 # incompatible versions:
4531 # SysV /etc/install, /usr/sbin/install
4532 # SunOS /usr/etc/install
4533 # IRIX /sbin/install
4535 # AmigaOS /C/install, which installs bootblocks on floppy discs
4536 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4537 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4538 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4539 # OS/2's system install, which has a completely different semantic
4540 # ./install, which can be erroneously created by make from ./install.sh.
4541 # Reject install programs that cannot install multiple files.
4542 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4543 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4544 if test -z "$INSTALL"; then
4545 if test "${ac_cv_path_install+set}" = set; then
4546 $as_echo_n "(cached) " >&6
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 # Account for people who put trailing slashes in PATH elements.
4555 .
/ | .
// |
/cC
/* | \
4556 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4557 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4560 # OSF1 and SCO ODT 3.0 have their own names for install.
4561 # Don't use installbsd from OSF since it installs stuff as root
4563 for ac_prog
in ginstall scoinst
install; do
4564 for ac_exec_ext
in '' $ac_executable_extensions; do
4565 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4566 if test $ac_prog = install &&
4567 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4568 # AIX install. It has an incompatible calling convention.
4570 elif test $ac_prog = install &&
4571 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4572 # program-specific install script used by HP pwplus--don't use.
4575 rm -rf conftest.one conftest.two conftest.dir
4576 echo one
> conftest.one
4577 echo two
> conftest.two
4579 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4580 test -s conftest.one
&& test -s conftest.two
&&
4581 test -s conftest.dir
/conftest.one
&&
4582 test -s conftest.dir
/conftest.two
4584 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4597 rm -rf conftest.one conftest.two conftest.dir
4600 if test "${ac_cv_path_install+set}" = set; then
4601 INSTALL
=$ac_cv_path_install
4603 # As a last resort, use the slow shell script. Don't cache a
4604 # value for INSTALL within a source directory, because that will
4605 # break other packages using the cache if that directory is
4606 # removed, or if the value is a relative name.
4607 INSTALL
=$ac_install_sh
4610 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4611 $as_echo "$INSTALL" >&6; }
4613 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4614 # It thinks the first close brace ends the variable substitution.
4615 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4617 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4619 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4621 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4622 # The makefiles need to use a different form to find it in $srcdir.
4623 INSTALL
='\$(..)./scripts/install-sh -c'
4625 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4626 $as_echo_n "checking whether ln -s works... " >&6; }
4628 if test "$LN_S" = "ln -s"; then
4629 { $as_echo "$as_me:$LINENO: result: yes" >&5
4630 $as_echo "yes" >&6; }
4632 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4633 $as_echo "no, using $LN_S" >&6; }
4637 # Was a --with-binutils option given?
4638 if test -n "$path_binutils"; then
4639 # Make absolute; ensure a single trailing slash.
4640 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4641 CC
="$CC -B$path_binutils"
4643 AS
=`$CC -print-prog-name=as`
4644 LD
=`$CC -print-prog-name=ld`
4645 AR
=`$CC -print-prog-name=ar`
4647 OBJDUMP
=`$CC -print-prog-name=objdump`
4650 # ranlib has to be treated a bit differently since it might not exist at all.
4651 ac_ranlib
=`$CC -print-prog-name=ranlib`
4652 if test "x$ac_ranlib" = xranlib
; then
4653 # This extra check has to happen since gcc simply echos the parameter in
4654 # case it cannot find the value in its own directories.
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4657 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4658 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_RANLIB+set}" = set; then
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$RANLIB"; then
4664 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4674 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 RANLIB
=$ac_cv_prog_RANLIB
4684 if test -n "$RANLIB"; then
4685 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4686 $as_echo "$RANLIB" >&6; }
4688 { $as_echo "$as_me:$LINENO: result: no" >&5
4689 $as_echo "no" >&6; }
4694 if test -z "$ac_cv_prog_RANLIB"; then
4695 ac_ct_RANLIB
=$RANLIB
4696 # Extract the first word of "ranlib", so it can be a program name with args.
4697 set dummy ranlib
; ac_word
=$2
4698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ac_ct_RANLIB"; then
4704 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir
=.
4711 for ac_exec_ext
in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4714 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4724 if test -n "$ac_ct_RANLIB"; then
4725 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4726 $as_echo "$ac_ct_RANLIB" >&6; }
4728 { $as_echo "$as_me:$LINENO: result: no" >&5
4729 $as_echo "no" >&6; }
4732 if test "x$ac_ct_RANLIB" = x
; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned
=yes ;;
4741 RANLIB
=$ac_ct_RANLIB
4744 RANLIB
="$ac_cv_prog_RANLIB"
4752 # Determine whether we are using GNU binutils.
4753 { $as_echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4754 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4755 if test "${libc_cv_prog_as_gnu+set}" = set; then
4756 $as_echo_n "(cached) " >&6
4758 # Most GNU programs take a -v and spit out some text including
4759 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4760 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4761 libc_cv_prog_as_gnu
=yes
4763 libc_cv_prog_as_gnu
=no
4767 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4768 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4770 gnu_as
=$libc_cv_prog_as_gnu
4772 { $as_echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4773 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4774 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4775 $as_echo_n "(cached) " >&6
4777 # Most GNU programs take a -v and spit out some text including
4778 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4779 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4780 libc_cv_prog_ld_gnu
=yes
4782 libc_cv_prog_ld_gnu
=no
4786 { $as_echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4787 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4788 gnu_ld
=$libc_cv_prog_ld_gnu
4791 # Accept binutils 2.13 or newer.
4794 # Extract the first word of "$ac_prog", so it can be a program name with args.
4795 set dummy
$ac_prog; ac_word
=$2
4796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if test "${ac_cv_prog_AS+set}" = set; then
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$AS"; then
4802 ac_cv_prog_AS
="$AS" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811 ac_cv_prog_AS
="$ac_prog"
4812 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4822 if test -n "$AS"; then
4823 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4824 $as_echo "$AS" >&6; }
4826 { $as_echo "$as_me:$LINENO: result: no" >&5
4827 $as_echo "no" >&6; }
4831 test -n "$AS" && break
4834 if test -z "$AS"; then
4837 # Found it, now check the version.
4838 { $as_echo "$as_me:$LINENO: checking version of $AS" >&5
4839 $as_echo_n "checking version of $AS... " >&6; }
4840 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4841 case $ac_prog_version in
4842 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4844 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4845 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4848 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4849 $as_echo "$ac_prog_version" >&6; }
4851 if test $ac_verc_fail = yes; then
4852 AS
=: critic_missing
="$critic_missing as"
4857 # Extract the first word of "$ac_prog", so it can be a program name with args.
4858 set dummy
$ac_prog; ac_word
=$2
4859 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if test "${ac_cv_prog_LD+set}" = set; then
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$LD"; then
4865 ac_cv_prog_LD
="$LD" # Let the user override the test.
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir
=.
4872 for ac_exec_ext
in '' $ac_executable_extensions; do
4873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4874 ac_cv_prog_LD
="$ac_prog"
4875 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 if test -n "$LD"; then
4886 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4887 $as_echo "$LD" >&6; }
4889 { $as_echo "$as_me:$LINENO: result: no" >&5
4890 $as_echo "no" >&6; }
4894 test -n "$LD" && break
4897 if test -z "$LD"; then
4900 # Found it, now check the version.
4901 { $as_echo "$as_me:$LINENO: checking version of $LD" >&5
4902 $as_echo_n "checking version of $LD... " >&6; }
4903 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4904 case $ac_prog_version in
4905 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4907 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4908 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4911 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4912 $as_echo "$ac_prog_version" >&6; }
4914 if test $ac_verc_fail = yes; then
4915 LD
=: critic_missing
="$critic_missing ld"
4919 # We need the physical current working directory. We cannot use the
4920 # "pwd -P" shell builtin since that's not portable. Instead we try to
4921 # find a pwd binary. Note that assigning to the PWD environment
4922 # variable might have some interesting side effects, so we don't do
4924 # Extract the first word of "pwd", so it can be a program name with args.
4925 set dummy
pwd; ac_word
=$2
4926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_path_PWD_P+set}" = set; then
4929 $as_echo_n "(cached) " >&6
4933 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir
=.
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
4944 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
4955 PWD_P
=$ac_cv_path_PWD_P
4956 if test -n "$PWD_P"; then
4957 { $as_echo "$as_me:$LINENO: result: $PWD_P" >&5
4958 $as_echo "$PWD_P" >&6; }
4960 { $as_echo "$as_me:$LINENO: result: no" >&5
4961 $as_echo "no" >&6; }
4965 if test "$PWD_P" = no
; then
4966 { { $as_echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4967 $as_echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4968 { (exit 1); exit 1; }; }
4971 # These programs are version sensitive.
4973 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
4975 # Extract the first word of "$ac_prog", so it can be a program name with args.
4976 set dummy
$ac_prog; ac_word
=$2
4977 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if test "${ac_cv_prog_CC+set}" = set; then
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$CC"; then
4983 ac_cv_prog_CC
="$CC" # Let the user override the test.
4985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir
=.
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_CC
="$ac_prog"
4993 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 if test -n "$CC"; then
5004 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5005 $as_echo "$CC" >&6; }
5007 { $as_echo "$as_me:$LINENO: result: no" >&5
5008 $as_echo "no" >&6; }
5012 test -n "$CC" && break
5015 if test -z "$CC"; then
5018 # Found it, now check the version.
5019 { $as_echo "$as_me:$LINENO: checking version of $CC" >&5
5020 $as_echo_n "checking version of $CC... " >&6; }
5021 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
5022 case $ac_prog_version in
5023 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5025 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5026 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5029 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5030 $as_echo "$ac_prog_version" >&6; }
5032 if test $ac_verc_fail = yes; then
5033 critic_missing
="$critic_missing gcc"
5036 for ac_prog
in gnumake gmake
make
5038 # Extract the first word of "$ac_prog", so it can be a program name with args.
5039 set dummy
$ac_prog; ac_word
=$2
5040 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if test "${ac_cv_prog_MAKE+set}" = set; then
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$MAKE"; then
5046 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055 ac_cv_prog_MAKE
="$ac_prog"
5056 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 MAKE
=$ac_cv_prog_MAKE
5066 if test -n "$MAKE"; then
5067 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
5068 $as_echo "$MAKE" >&6; }
5070 { $as_echo "$as_me:$LINENO: result: no" >&5
5071 $as_echo "no" >&6; }
5075 test -n "$MAKE" && break
5078 if test -z "$MAKE"; then
5081 # Found it, now check the version.
5082 { $as_echo "$as_me:$LINENO: checking version of $MAKE" >&5
5083 $as_echo_n "checking version of $MAKE... " >&6; }
5084 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5085 case $ac_prog_version in
5086 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5088 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5089 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5092 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5093 $as_echo "$ac_prog_version" >&6; }
5095 if test $ac_verc_fail = yes; then
5096 critic_missing
="$critic_missing make"
5100 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
5102 # Extract the first word of "$ac_prog", so it can be a program name with args.
5103 set dummy
$ac_prog; ac_word
=$2
5104 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if test "${ac_cv_prog_MSGFMT+set}" = set; then
5107 $as_echo_n "(cached) " >&6
5109 if test -n "$MSGFMT"; then
5110 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir
=.
5117 for ac_exec_ext
in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 ac_cv_prog_MSGFMT
="$ac_prog"
5120 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 MSGFMT
=$ac_cv_prog_MSGFMT
5130 if test -n "$MSGFMT"; then
5131 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5132 $as_echo "$MSGFMT" >&6; }
5134 { $as_echo "$as_me:$LINENO: result: no" >&5
5135 $as_echo "no" >&6; }
5139 test -n "$MSGFMT" && break
5142 if test -z "$MSGFMT"; then
5145 # Found it, now check the version.
5146 { $as_echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
5147 $as_echo_n "checking version of $MSGFMT... " >&6; }
5148 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5149 case $ac_prog_version in
5150 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5151 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
5152 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5153 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5156 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5157 $as_echo "$ac_prog_version" >&6; }
5159 if test $ac_verc_fail = yes; then
5160 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
5163 for ac_prog
in makeinfo
5165 # Extract the first word of "$ac_prog", so it can be a program name with args.
5166 set dummy
$ac_prog; ac_word
=$2
5167 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$MAKEINFO"; then
5173 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_MAKEINFO
="$ac_prog"
5183 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 MAKEINFO
=$ac_cv_prog_MAKEINFO
5193 if test -n "$MAKEINFO"; then
5194 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5195 $as_echo "$MAKEINFO" >&6; }
5197 { $as_echo "$as_me:$LINENO: result: no" >&5
5198 $as_echo "no" >&6; }
5202 test -n "$MAKEINFO" && break
5205 if test -z "$MAKEINFO"; then
5208 # Found it, now check the version.
5209 { $as_echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5210 $as_echo_n "checking version of $MAKEINFO... " >&6; }
5211 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5212 case $ac_prog_version in
5213 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5215 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5216 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5219 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5220 $as_echo "$ac_prog_version" >&6; }
5222 if test $ac_verc_fail = yes; then
5223 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
5228 # Extract the first word of "$ac_prog", so it can be a program name with args.
5229 set dummy
$ac_prog; ac_word
=$2
5230 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if test "${ac_cv_prog_SED+set}" = set; then
5233 $as_echo_n "(cached) " >&6
5235 if test -n "$SED"; then
5236 ac_cv_prog_SED
="$SED" # Let the user override the test.
5238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5242 test -z "$as_dir" && as_dir
=.
5243 for ac_exec_ext
in '' $ac_executable_extensions; do
5244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5245 ac_cv_prog_SED
="$ac_prog"
5246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 if test -n "$SED"; then
5257 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5258 $as_echo "$SED" >&6; }
5260 { $as_echo "$as_me:$LINENO: result: no" >&5
5261 $as_echo "no" >&6; }
5265 test -n "$SED" && break
5268 if test -z "$SED"; then
5271 # Found it, now check the version.
5272 { $as_echo "$as_me:$LINENO: checking version of $SED" >&5
5273 $as_echo_n "checking version of $SED... " >&6; }
5274 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5275 case $ac_prog_version in
5276 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5277 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
5278 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5279 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5282 { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5283 $as_echo "$ac_prog_version" >&6; }
5285 if test $ac_verc_fail = yes; then
5286 SED
=: aux_missing
="$aux_missing sed"
5290 for ac_prog
in autoconf
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy
$ac_prog; ac_word
=$2
5294 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$AUTOCONF"; then
5300 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_AUTOCONF
="$ac_prog"
5310 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 AUTOCONF
=$ac_cv_prog_AUTOCONF
5320 if test -n "$AUTOCONF"; then
5321 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5322 $as_echo "$AUTOCONF" >&6; }
5324 { $as_echo "$as_me:$LINENO: result: no" >&5
5325 $as_echo "no" >&6; }
5329 test -n "$AUTOCONF" && break
5331 test -n "$AUTOCONF" || AUTOCONF
="no"
5333 case "x$AUTOCONF" in
5334 xno|x|x
:) AUTOCONF
=no
;;
5336 { $as_echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5337 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5338 if test "${libc_cv_autoconf_works+set}" = set; then
5339 $as_echo_n "(cached) " >&6
5341 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
5342 libc_cv_autoconf_works
=yes
5344 libc_cv_autoconf_works
=no
5347 { $as_echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5348 $as_echo "$libc_cv_autoconf_works" >&6; }
5349 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5352 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
5353 # If --without-cvs they probably won't change configure.in, so no complaints.
5354 aux_missing
="$aux_missing autoconf"
5357 test -n "$critic_missing" && { { $as_echo "$as_me:$LINENO: error:
5358 *** These critical programs are missing or too old:$critic_missing
5359 *** Check the INSTALL file for required versions." >&5
5360 $as_echo "$as_me: error:
5361 *** These critical programs are missing or too old:$critic_missing
5362 *** Check the INSTALL file for required versions." >&2;}
5363 { (exit 1); exit 1; }; }
5365 test -n "$aux_missing" && { $as_echo "$as_me:$LINENO: WARNING:
5366 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5367 *** some features will be disabled.
5368 *** Check the INSTALL file for required versions." >&5
5369 $as_echo "$as_me: WARNING:
5370 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5371 *** some features will be disabled.
5372 *** Check the INSTALL file for required versions." >&2;}
5374 # if using special system headers, find out the compiler's sekrit
5375 # header directory and add that to the list. NOTE: Only does the right
5376 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5377 if test -n "$sysheaders"; then
5378 SYSINCLUDES
=-nostdinc
5379 for d
in include include-fixed
; do
5380 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5381 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5383 SYSINCLUDES
="$SYSINCLUDES \
5384 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5385 if test -n "$CXX"; then
5386 cxxversion
=`$CXX -dumpversion 2>&5` &&
5387 cxxmachine
=`$CXX -dumpmachine 2>&5` &&
5388 cxxheaders
=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5389 CXX_SYSINCLUDES
="-isystem $cxxheaders \
5390 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5396 # check if ranlib is necessary
5397 { $as_echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5398 $as_echo_n "checking whether ranlib is necessary... " >&6; }
5399 if test "${libc_cv_ranlib_necessary+set}" = set; then
5400 $as_echo_n "(cached) " >&6
5402 cat > conftest.c
<<EOF
5407 $CC $CFLAGS $CPPFLAGS -c conftest.c
5408 $AR cr conftest.a conftest.o
5409 cp conftest.a conftest2.a
5411 if cmp -s conftest.a conftest2.a
; then
5412 libc_cv_ranlib_necessary
=no
5414 libc_cv_ranlib_necessary
=yes
5418 { $as_echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5419 $as_echo "$libc_cv_ranlib_necessary" >&6; }
5420 if test "$libc_cv_ranlib_necessary" = no
; then
5424 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5425 # since this would lead to problems installing/building glibc.
5426 # LD_LIBRARY_PATH contains the current directory if one of the following
5428 # - one of the terminals (":" and ";") is the first or last sign
5429 # - two terminals occur directly after each other
5430 # - the path contains an element with a dot in it
5431 { $as_echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5432 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5433 case ${LD_LIBRARY_PATH} in
5434 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5435 ld_library_path_setting
="contains current directory"
5438 ld_library_path_setting
="ok"
5441 { $as_echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5442 $as_echo "$ld_library_path_setting" >&6; }
5443 if test "$ld_library_path_setting" != "ok"; then
5444 { { $as_echo "$as_me:$LINENO: error:
5445 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5446 *** building glibc. Please change the environment variable
5447 *** and run configure again." >&5
5448 $as_echo "$as_me: error:
5449 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5450 *** building glibc. Please change the environment variable
5451 *** and run configure again." >&2;}
5452 { (exit 1); exit 1; }; }
5455 { $as_echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5456 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5457 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5458 $as_echo_n "(cached) " >&6
5460 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
5461 libc_cv_gcc_static_libgcc
=
5463 libc_cv_gcc_static_libgcc
=-static-libgcc
5466 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5467 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5470 # Extract the first word of "bash", so it can be a program name with args.
5471 set dummy bash
; ac_word
=$2
5472 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5475 $as_echo_n "(cached) " >&6
5479 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5486 test -z "$as_dir" && as_dir
=.
5487 for ac_exec_ext
in '' $ac_executable_extensions; do
5488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5489 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5490 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5501 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5502 if test -n "$BASH_SHELL"; then
5503 { $as_echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5504 $as_echo "$BASH_SHELL" >&6; }
5506 { $as_echo "$as_me:$LINENO: result: no" >&5
5507 $as_echo "no" >&6; }
5511 if test "$BASH_SHELL" != no
&&
5512 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5513 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5514 libc_cv_have_bash2
=yes
5516 libc_cv_have_bash2
=no
5520 if test "$BASH_SHELL" = no
; then
5521 # Extract the first word of "ksh", so it can be a program name with args.
5522 set dummy ksh
; ac_word
=$2
5523 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if test "${ac_cv_path_KSH+set}" = set; then
5526 $as_echo_n "(cached) " >&6
5530 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
5533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir
=.
5538 for ac_exec_ext
in '' $ac_executable_extensions; do
5539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
5541 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
5553 if test -n "$KSH"; then
5554 { $as_echo "$as_me:$LINENO: result: $KSH" >&5
5555 $as_echo "$KSH" >&6; }
5557 { $as_echo "$as_me:$LINENO: result: no" >&5
5558 $as_echo "no" >&6; }
5562 if test "$KSH" = no
; then
5565 libc_cv_have_ksh
=yes
5570 libc_cv_have_ksh
=yes
5574 for ac_prog
in gawk mawk nawk
awk
5576 # Extract the first word of "$ac_prog", so it can be a program name with args.
5577 set dummy
$ac_prog; ac_word
=$2
5578 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 $as_echo_n "checking for $ac_word... " >&6; }
5580 if test "${ac_cv_prog_AWK+set}" = set; then
5581 $as_echo_n "(cached) " >&6
5583 if test -n "$AWK"; then
5584 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir
=.
5591 for ac_exec_ext
in '' $ac_executable_extensions; do
5592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 ac_cv_prog_AWK
="$ac_prog"
5594 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 if test -n "$AWK"; then
5605 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
5606 $as_echo "$AWK" >&6; }
5608 { $as_echo "$as_me:$LINENO: result: no" >&5
5609 $as_echo "no" >&6; }
5613 test -n "$AWK" && break
5616 # Extract the first word of "perl", so it can be a program name with args.
5617 set dummy perl
; ac_word
=$2
5618 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if test "${ac_cv_path_PERL+set}" = set; then
5621 $as_echo_n "(cached) " >&6
5625 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir
=.
5633 for ac_exec_ext
in '' $ac_executable_extensions; do
5634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5636 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5647 PERL
=$ac_cv_path_PERL
5648 if test -n "$PERL"; then
5649 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
5650 $as_echo "$PERL" >&6; }
5652 { $as_echo "$as_me:$LINENO: result: no" >&5
5653 $as_echo "no" >&6; }
5657 if test "$PERL" != no
&&
5658 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5661 # Extract the first word of "install-info", so it can be a program name with args.
5662 set dummy install-info
; ac_word
=$2
5663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5666 $as_echo_n "(cached) " >&6
5668 case $INSTALL_INFO in
5670 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5675 for as_dir
in $as_dummy
5678 test -z "$as_dir" && as_dir
=.
5679 for ac_exec_ext
in '' $ac_executable_extensions; do
5680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5681 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5682 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5693 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5694 if test -n "$INSTALL_INFO"; then
5695 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5696 $as_echo "$INSTALL_INFO" >&6; }
5698 { $as_echo "$as_me:$LINENO: result: no" >&5
5699 $as_echo "no" >&6; }
5703 # Extract the first word of "bison", so it can be a program name with args.
5704 set dummy bison
; ac_word
=$2
5705 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if test "${ac_cv_path_BISON+set}" = set; then
5708 $as_echo_n "(cached) " >&6
5712 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5716 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5717 for as_dir
in $as_dummy
5720 test -z "$as_dir" && as_dir
=.
5721 for ac_exec_ext
in '' $ac_executable_extensions; do
5722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5723 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5724 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5735 BISON
=$ac_cv_path_BISON
5736 if test -n "$BISON"; then
5737 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
5738 $as_echo "$BISON" >&6; }
5740 { $as_echo "$as_me:$LINENO: result: no" >&5
5741 $as_echo "no" >&6; }
5746 { $as_echo "$as_me:$LINENO: checking for signed size_t type" >&5
5747 $as_echo_n "checking for signed size_t type... " >&6; }
5748 if test "${libc_cv_signed_size_t+set}" = set; then
5749 $as_echo_n "(cached) " >&6
5751 echo '#include <stddef.h>
5752 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5753 if eval "$ac_cpp conftest.c 2>/dev/null" \
5754 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
5755 libc_cv_signed_size_t
=no
5757 libc_cv_signed_size_t
=yes
5761 { $as_echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5762 $as_echo "$libc_cv_signed_size_t" >&6; }
5763 if test $libc_cv_signed_size_t = yes; then
5764 cat >> confdefs.h
<<\EOF
5765 #undef __SIZE_TYPE__
5766 #define __SIZE_TYPE__ unsigned
5770 { $as_echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5771 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5772 if test "${libc_cv_friendly_stddef+set}" = set; then
5773 $as_echo_n "(cached) " >&6
5775 cat >conftest.
$ac_ext <<_ACEOF
5778 cat confdefs.h
>>conftest.
$ac_ext
5779 cat >>conftest.
$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5781 #define __need_size_t
5782 #define __need_wchar_t
5789 size_t size; wchar_t wchar;
5791 #error stddef.h ignored __need_*
5793 if (&size == NULL || &wchar == NULL) abort ();
5798 rm -f conftest.
$ac_objext
5799 if { (ac_try
="$ac_compile"
5801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5802 *) ac_try_echo=$ac_try;;
5804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5805 $as_echo "$ac_try_echo") >&5
5806 (eval "$ac_compile") 2>conftest.er1
5808 grep -v '^ *+' conftest.er1 >conftest.err
5810 cat conftest.err >&5
5811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } && {
5813 test -z "$ac_c_werror_flag" ||
5814 test ! -s conftest.err
5815 } && test -s conftest.$ac_objext; then
5816 libc_cv_friendly_stddef=yes
5818 $as_echo "$as_me: failed program was:" >&5
5819 sed 's/^/| /' conftest.$ac_ext >&5
5821 libc_cv_friendly_stddef=no
5824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5826 { $as_echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5827 $as_echo "$libc_cv_friendly_stddef" >&6; }
5828 if test $libc_cv_friendly_stddef = yes; then
5829 config_vars="$config_vars
5830 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5833 { $as_echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5834 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5835 if test "${libc_cv_need_minus_P+set}" = set; then
5836 $as_echo_n "(cached) " >&6
5838 cat > conftest.S <<EOF
5839 #include "confdefs.h"
5840 /* Nothing whatsoever. */
5842 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; }; then
5848 libc_cv_need_minus_P=no
5850 libc_cv_need_minus_P=yes
5854 { $as_echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5855 $as_echo "$libc_cv_need_minus_P" >&6; }
5856 if test $libc_cv_need_minus_P = yes; then
5857 config_vars="$config_vars
5858 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5861 { $as_echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5862 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
5863 if test "${libc_cv_dot_text+set}" = set; then
5864 $as_echo_n "(cached) " >&6
5866 cat > conftest.s <<EOF
5870 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); }; }; then
5876 libc_cv_dot_text=.text
5881 if test -z "$libc_cv_dot_text"; then
5882 { $as_echo "$as_me:$LINENO: result: no" >&5
5883 $as_echo "no" >&6; }
5885 { $as_echo "$as_me:$LINENO: result: yes" >&5
5886 $as_echo "yes" >&6; }
5889 { $as_echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5890 $as_echo_n "checking for assembler global-symbol directive... " >&6; }
5891 if test "${libc_cv_asm_global_directive+set}" = set; then
5892 $as_echo_n "(cached) " >&6
5894 libc_cv_asm_global_directive=UNKNOWN
5895 for ac_globl in .globl .global .EXPORT; do
5896 cat > conftest.s <<EOF
5901 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; }; then
5907 libc_cv_asm_global_directive=${ac_globl}
5910 test $libc_cv_asm_global_directive != UNKNOWN && break
5913 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5914 $as_echo "$libc_cv_asm_global_directive" >&6; }
5915 if test $libc_cv_asm_global_directive = UNKNOWN; then
5916 { { $as_echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5917 $as_echo "$as_me: error: cannot determine asm global directive" >&2;}
5918 { (exit 1); exit 1; }; }
5920 cat >>confdefs.h <<_ACEOF
5921 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5926 { $as_echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5927 $as_echo_n "checking for .set assembler directive... " >&6; }
5928 if test "${libc_cv_asm_set_directive+set}" = set; then
5929 $as_echo_n "(cached) " >&6
5931 cat > conftest.s <<EOF
5934 .set glibc_conftest_frobozz,foo
5935 $libc_cv_asm_global_directive glibc_conftest_frobozz
5937 # The alpha-dec-osf1 assembler gives only a warning for `.
set'
5938 # (but it doesn't work
), so we must
do a linking check to be sure.
5939 cat > conftest1.c
<<\EOF
5940 extern int glibc_conftest_frobozz
;
5941 void _start
() { glibc_conftest_frobozz
= 1; }
5943 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5944 -nostartfiles -nostdlib \
5945 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5946 libc_cv_asm_set_directive
=yes
5948 libc_cv_asm_set_directive
=no
5952 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5953 $as_echo "$libc_cv_asm_set_directive" >&6; }
5954 if test $libc_cv_asm_set_directive = yes; then
5955 cat >>confdefs.h
<<\_ACEOF
5956 #define HAVE_ASM_SET_DIRECTIVE 1
5961 { $as_echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5962 $as_echo_n "checking for assembler .type directive prefix... " >&6; }
5963 if test "${libc_cv_asm_type_prefix+set}" = set; then
5964 $as_echo_n "(cached) " >&6
5966 libc_cv_asm_type_prefix
=no
5967 for ac_try_prefix
in '@' '%' '#'; do
5968 cat > conftest.s
<<EOF
5970 ${libc_cv_asm_global_directive} foo
5971 .type foo, ${ac_try_prefix}object
5976 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; }; then
5982 libc_cv_asm_type_prefix
=${ac_try_prefix}
5985 test "x$libc_cv_asm_type_prefix" != xno
&& break
5988 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
5989 $as_echo "$libc_cv_asm_type_prefix" >&6; }
5990 if test "x$libc_cv_asm_type_prefix" != xno
; then
5991 cat >>confdefs.h
<<_ACEOF
5992 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
5997 { $as_echo "$as_me:$LINENO: checking for assembler gnu_unique_object symbol type" >&5
5998 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
5999 if test "${libc_cv_asm_unique_object+set}" = set; then
6000 $as_echo_n "(cached) " >&6
6002 cat > conftest.s
<<EOF
6005 .type _sym, ${libc_cv_asm_type_prefix}gnu_unique_object
6007 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6008 libc_cv_asm_unique_object
=yes
6010 libc_cv_asm_unique_object
=no
6014 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_unique_object" >&5
6015 $as_echo "$libc_cv_asm_unique_object" >&6; }
6016 if test $libc_cv_asm_unique_object = yes; then
6017 cat >>confdefs.h
<<\_ACEOF
6018 #define HAVE_ASM_UNIQUE_OBJECT 1
6023 # For the multi-arch option we need support in the assembler.
6024 if test "$multi_arch" = yes; then
6025 if test "x$libc_cv_asm_type_prefix" != xno
; then
6026 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
6027 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
6028 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
6029 $as_echo_n "(cached) " >&6
6031 cat > conftest.s
<<EOF
6032 .type foo,%gnu_indirect_function
6034 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
6036 libc_cv_asm_gnu_indirect_function
=yes
6038 libc_cv_asm_gnu_indirect_function
=no
6042 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
6043 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
6045 libc_cv_asm_gnu_indirect_function
=no
6047 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
; then
6048 { { $as_echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
6049 $as_echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
6050 { (exit 1); exit 1; }; }
6054 { $as_echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
6055 $as_echo_n "checking for .symver assembler directive... " >&6; }
6056 if test "${libc_cv_asm_symver_directive+set}" = set; then
6057 $as_echo_n "(cached) " >&6
6059 cat > conftest.s
<<EOF
6062 .symver _sym,sym@VERS
6064 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6065 libc_cv_asm_symver_directive
=yes
6067 libc_cv_asm_symver_directive
=no
6071 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
6072 $as_echo "$libc_cv_asm_symver_directive" >&6; }
6073 { $as_echo "$as_me:$LINENO: checking for ld --version-script" >&5
6074 $as_echo_n "checking for ld --version-script... " >&6; }
6075 if test "${libc_cv_ld_version_script_option+set}" = set; then
6076 $as_echo_n "(cached) " >&6
6078 if test $libc_cv_asm_symver_directive = yes; then
6079 cat > conftest.s
<<EOF
6082 .symver _sym,sym@VERS
6084 cat > conftest.map
<<EOF
6093 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
6094 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
6095 -o conftest.so conftest.o
6096 -nostartfiles -nostdlib
6097 -Wl,--version-script,conftest.map
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; };
6105 libc_cv_ld_version_script_option
=yes
6107 libc_cv_ld_version_script_option
=no
6110 libc_cv_ld_version_script_option
=no
6113 libc_cv_ld_version_script_option
=no
6117 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
6118 $as_echo "$libc_cv_ld_version_script_option" >&6; }
6119 if test $shared != no
&&
6120 test $libc_cv_asm_symver_directive = yes &&
6121 test $libc_cv_ld_version_script_option = yes &&
6122 test $enable_versioning = yes; then
6124 cat >>confdefs.h
<<\_ACEOF
6125 #define DO_VERSIONING 1
6133 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
6135 *** WARNING: You should not compile GNU libc without versioning. Not using
6136 *** versioning will introduce incompatibilities so that old binaries
6137 *** will not run anymore.
6138 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
6140 if test $elf = yes; then
6141 { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
6142 $as_echo_n "checking for .previous assembler directive... " >&6; }
6143 if test "${libc_cv_asm_previous_directive+set}" = set; then
6144 $as_echo_n "(cached) " >&6
6146 cat > conftest.s
<<EOF
6147 .section foo_section
6150 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); }; }; then
6156 libc_cv_asm_previous_directive
=yes
6158 libc_cv_asm_previous_directive
=no
6162 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
6163 $as_echo "$libc_cv_asm_previous_directive" >&6; }
6164 if test $libc_cv_asm_previous_directive = yes; then
6165 cat >>confdefs.h
<<\_ACEOF
6166 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
6170 { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
6171 $as_echo_n "checking for .popsection assembler directive... " >&6; }
6172 if test "${libc_cv_asm_popsection_directive+set}" = set; then
6173 $as_echo_n "(cached) " >&6
6175 cat > conftest.s
<<EOF
6176 .pushsection foo_section
6179 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; }; then
6185 libc_cv_asm_popsection_directive
=yes
6187 libc_cv_asm_popsection_directive
=no
6191 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
6192 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
6193 if test $libc_cv_asm_popsection_directive = yes; then
6194 cat >>confdefs.h
<<\_ACEOF
6195 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6200 { $as_echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6201 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
6202 if test "${libc_cv_asm_protected_directive+set}" = set; then
6203 $as_echo_n "(cached) " >&6
6205 cat > conftest.s
<<EOF
6211 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); }; }; then
6217 libc_cv_asm_protected_directive
=yes
6219 { { $as_echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6220 $as_echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6221 { (exit 1); exit 1; }; }
6225 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6226 $as_echo "$libc_cv_asm_protected_directive" >&6; }
6228 if test $libc_cv_asm_protected_directive = yes; then
6229 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6230 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
6231 if test "${libc_cv_visibility_attribute+set}" = set; then
6232 $as_echo_n "(cached) " >&6
6234 cat > conftest.c
<<EOF
6235 int foo __attribute__ ((visibility ("hidden"))) = 1;
6236 int bar __attribute__ ((visibility ("protected"))) = 1;
6238 libc_cv_visibility_attribute
=no
6239 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); }; }; then
6245 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
6246 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
6247 libc_cv_visibility_attribute
=yes
6254 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6255 $as_echo "$libc_cv_visibility_attribute" >&6; }
6256 if test $libc_cv_visibility_attribute != yes; then
6257 { { $as_echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6258 $as_echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6259 { (exit 1); exit 1; }; }
6263 if test $libc_cv_visibility_attribute = yes; then
6264 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6265 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
6266 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6267 $as_echo_n "(cached) " >&6
6269 cat > conftest.c
<<EOF
6271 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6272 int bar (int x) { return x; }
6274 libc_cv_broken_visibility_attribute
=yes
6275 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); }; }; then
6281 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
6282 libc_cv_broken_visibility_attribute
=no
6285 rm -f conftest.c conftest.s
6288 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6289 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
6290 if test $libc_cv_broken_visibility_attribute = yes; then
6291 { { $as_echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6292 $as_echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6293 { (exit 1); exit 1; }; }
6297 { $as_echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6298 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
6299 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6300 $as_echo_n "(cached) " >&6
6302 cat > conftest.c
<<EOF
6303 extern int foo (int x) __asm ("xyzzy");
6304 int bar (int x) { return x; }
6305 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6307 extern __typeof (dfoo) dfoo __asm ("abccb");
6310 libc_cv_broken_alias_attribute
=yes
6311 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); }; }; then
6317 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6318 grep 'abccb' conftest.s
>/dev
/null
; then
6319 libc_cv_broken_alias_attribute
=no
6322 rm -f conftest.c conftest.s
6325 { $as_echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6326 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
6327 if test $libc_cv_broken_alias_attribute = yes; then
6328 { { $as_echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6329 $as_echo "$as_me: error: working alias attribute support required" >&2;}
6330 { (exit 1); exit 1; }; }
6333 if test $libc_cv_visibility_attribute = yes; then
6334 { $as_echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6335 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
6336 if test "${libc_cv_have_sdata_section+set}" = set; then
6337 $as_echo_n "(cached) " >&6
6339 echo "int i;" > conftest.c
6340 libc_cv_have_sdata_section
=no
6341 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6342 |
grep '\.sdata' >/dev
/null
; then
6343 libc_cv_have_sdata_section
=yes
6345 rm -f conftest.c conftest.so
6348 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6349 $as_echo "$libc_cv_have_sdata_section" >&6; }
6350 if test $libc_cv_have_sdata_section = yes; then
6351 cat >>confdefs.h
<<\_ACEOF
6352 #define HAVE_SDATA_SECTION 1
6358 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6359 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6360 if test "${libc_cv_initfini_array+set}" = set; then
6361 $as_echo_n "(cached) " >&6
6363 cat > conftest.c
<<EOF
6364 int _start (void) { return 0; }
6365 int __start (void) { return 0; }
6366 int foo (void) { return 1; }
6367 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6369 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6370 -static -nostartfiles -nostdlib 1>&5'
6371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; }
6377 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6378 libc_cv_initfini_array
=yes
6380 libc_cv_initfini_array
=no
6383 libc_cv_initfini_array
=no
6387 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6388 $as_echo "$libc_cv_initfini_array" >&6; }
6389 if test $libc_cv_initfini_array != yes; then
6390 { { $as_echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6391 $as_echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6392 { (exit 1); exit 1; }; }
6395 { $as_echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6396 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6397 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6398 $as_echo_n "(cached) " >&6
6401 cat > conftest.c
<<EOF
6402 int main (void) { return 0; }
6404 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6405 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6406 libc_cv_cc_with_libunwind
=yes
6408 libc_cv_cc_with_libunwind
=no
6412 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6413 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6415 if test $libc_cv_cc_with_libunwind = yes; then
6416 cat >>confdefs.h
<<\_ACEOF
6417 #define HAVE_CC_WITH_LIBUNWIND 1
6422 { $as_echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6423 $as_echo_n "checking for -z nodelete option... " >&6; }
6424 if test "${libc_cv_z_nodelete+set}" = set; then
6425 $as_echo_n "(cached) " >&6
6427 cat > conftest.c
<<EOF
6428 int _start (void) { return 42; }
6430 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6431 -fPIC -shared -o conftest.so conftest.c
6432 -nostartfiles -nostdlib
6433 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; }
6440 libc_cv_z_nodelete
=yes
6442 { { $as_echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6443 $as_echo "$as_me: error: linker with -z nodelete support required" >&2;}
6444 { (exit 1); exit 1; }; }
6448 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6449 $as_echo "$libc_cv_z_nodelete" >&6; }
6451 { $as_echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6452 $as_echo_n "checking for -z nodlopen option... " >&6; }
6453 if test "${libc_cv_z_nodlopen+set}" = set; then
6454 $as_echo_n "(cached) " >&6
6456 cat > conftest.c
<<EOF
6457 int _start (void) { return 42; }
6459 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6460 -fPIC -shared -o conftest.so conftest.c
6461 -nostartfiles -nostdlib
6462 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); }; }
6469 libc_cv_z_nodlopen
=yes
6471 { { $as_echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6472 $as_echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6473 { (exit 1); exit 1; }; }
6477 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6478 $as_echo "$libc_cv_z_nodlopen" >&6; }
6480 { $as_echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6481 $as_echo_n "checking for -z initfirst option... " >&6; }
6482 if test "${libc_cv_z_initfirst+set}" = set; then
6483 $as_echo_n "(cached) " >&6
6485 cat > conftest.c
<<EOF
6486 int _start (void) { return 42; }
6488 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6489 -fPIC -shared -o conftest.so conftest.c
6490 -nostartfiles -nostdlib
6491 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); }; }
6498 libc_cv_z_initfirst
=yes
6500 { { $as_echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6501 $as_echo "$as_me: error: linker with -z initfirst support required" >&2;}
6502 { (exit 1); exit 1; }; }
6506 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6507 $as_echo "$libc_cv_z_initfirst" >&6; }
6509 case "$base_machine" in
6510 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6511 { $as_echo "$as_me:$LINENO: checking for -z relro option" >&5
6512 $as_echo_n "checking for -z relro option... " >&6; }
6513 if test "${libc_cv_z_relro+set}" = set; then
6514 $as_echo_n "(cached) " >&6
6517 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); }; }
6524 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); }; }
6535 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6536 $as_echo "$libc_cv_z_relro" >&6; }
6537 if test "$libc_cv_z_relro" = no
; then
6538 { { $as_echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6539 $as_echo "$as_me: error: linker with -z relro support required" >&2;}
6540 { (exit 1); exit 1; }; }
6546 { $as_echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6547 $as_echo_n "checking for -Bgroup option... " >&6; }
6548 if test "${libc_cv_Bgroup+set}" = set; then
6549 $as_echo_n "(cached) " >&6
6551 cat > conftest.c
<<EOF
6552 int _start (void) { return 42; }
6554 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6555 -fPIC -shared -o conftest.so conftest.c
6556 -Wl,-Bgroup -nostdlib 1>&5'
6557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); }; }
6569 { $as_echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6570 $as_echo "$libc_cv_Bgroup" >&6; }
6573 { $as_echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6574 $as_echo_n "checking for libgcc_s suffix... " >&6; }
6575 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6576 $as_echo_n "(cached) " >&6
6578 cat > conftest.c
<<EOF
6579 int main (void) { return 0; }
6581 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6582 -fPIC -shared -shared-libgcc -o conftest.so \
6583 conftest.c -v 2>&1 >/dev/null \
6584 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6587 { $as_echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6588 $as_echo "$libc_cv_libgcc_s_suffix" >&6; }
6591 { $as_echo "$as_me:$LINENO: checking for --as-needed option" >&5
6592 $as_echo_n "checking for --as-needed option... " >&6; }
6593 if test "${libc_cv_as_needed+set}" = set; then
6594 $as_echo_n "(cached) " >&6
6596 cat > conftest.c
<<EOF
6597 int main (void) { return 0; }
6599 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6600 -fPIC -shared -o conftest.so conftest.c
6601 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); }; }
6609 libc_cv_as_needed
=yes
6611 libc_cv_as_needed
=no
6615 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6616 $as_echo "$libc_cv_as_needed" >&6; }
6620 { $as_echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6621 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6622 if test "${libc_cv_as_noexecstack+set}" = set; then
6623 $as_echo_n "(cached) " >&6
6625 cat > conftest.c
<<EOF
6628 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6629 -S -o conftest.s conftest.c 1>&5'
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; } \
6635 && grep -q .note.GNU-stack conftest.s \
6636 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6637 -c -o conftest.o conftest.s 1>&5'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; }
6644 libc_cv_as_noexecstack
=yes
6646 libc_cv_as_noexecstack
=no
6650 { $as_echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6651 $as_echo "$libc_cv_as_noexecstack" >&6; }
6652 if test $libc_cv_as_noexecstack = yes; then
6653 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6657 { $as_echo "$as_me:$LINENO: checking for -z combreloc" >&5
6658 $as_echo_n "checking for -z combreloc... " >&6; }
6659 if test "${libc_cv_z_combreloc+set}" = set; then
6660 $as_echo_n "(cached) " >&6
6662 cat > conftest.c
<<EOF
6663 extern int bar (int);
6665 int foo (void) { return bar (mumble); }
6667 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6668 -fPIC -shared -o conftest.so conftest.c
6669 -nostdlib -nostartfiles
6670 -Wl,-z,combreloc 1>&5'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; }
6677 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6678 libc_cv_z_combreloc
=yes
6680 libc_cv_z_combreloc
=no
6683 libc_cv_z_combreloc
=no
6687 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6688 $as_echo "$libc_cv_z_combreloc" >&6; }
6689 if test "$libc_cv_z_combreloc" = yes; then
6690 cat >>confdefs.h
<<\_ACEOF
6691 #define HAVE_Z_COMBRELOC 1
6697 { $as_echo "$as_me:$LINENO: checking for -z execstack" >&5
6698 $as_echo_n "checking for -z execstack... " >&6; }
6699 if test "${libc_cv_z_execstack+set}" = set; then
6700 $as_echo_n "(cached) " >&6
6702 cat > conftest.c
<<EOF
6703 int _start (void) { return 42; }
6705 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6706 -fPIC -shared -o conftest.so conftest.c
6707 -Wl,-z,execstack -nostdlib
6709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); }; }
6715 libc_cv_z_execstack
=yes
6717 libc_cv_z_execstack
=no
6721 { $as_echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6722 $as_echo "$libc_cv_z_execstack" >&6; }
6725 { $as_echo "$as_me:$LINENO: checking for -fpie" >&5
6726 $as_echo_n "checking for -fpie... " >&6; }
6727 if test "${libc_cv_fpie+set}" = set; then
6728 $as_echo_n "(cached) " >&6
6730 cat > conftest.c
<<EOF
6732 main () { return 0;}
6734 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6735 -o conftest conftest.c 1>&5'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; }
6748 { $as_echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6749 $as_echo "$libc_cv_fpie" >&6; }
6753 { $as_echo "$as_me:$LINENO: checking for --hash-style option" >&5
6754 $as_echo_n "checking for --hash-style option... " >&6; }
6755 if test "${libc_cv_hashstyle+set}" = set; then
6756 $as_echo_n "(cached) " >&6
6758 cat > conftest.c
<<EOF
6759 int _start (void) { return 42; }
6761 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6762 -fPIC -shared -o conftest.so conftest.c
6763 -Wl,--hash-style=both -nostdlib 1>&5'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }
6770 libc_cv_hashstyle
=yes
6772 libc_cv_hashstyle
=no
6776 { $as_echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6777 $as_echo "$libc_cv_hashstyle" >&6; }
6781 { $as_echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6782 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6783 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6784 $as_echo_n "(cached) " >&6
6786 cat > conftest.c
<<EOF
6789 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; }
6797 libc_cv_fno_toplevel_reorder
=yes
6799 libc_cv_fno_toplevel_reorder
=no
6803 { $as_echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6804 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6805 if test $libc_cv_fno_toplevel_reorder = yes; then
6806 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6808 fno_unit_at_a_time
=-fno-unit-at-a-time
6812 { $as_echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6813 $as_echo_n "checking for -fstack-protector... " >&6; }
6814 if test "${libc_cv_ssp+set}" = set; then
6815 $as_echo_n "(cached) " >&6
6817 cat > conftest.c
<<EOF
6819 main () { return 0;}
6821 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6822 -o conftest conftest.c 1>&5'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; }
6835 { $as_echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6836 $as_echo "$libc_cv_ssp" >&6; }
6839 { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6840 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6841 if test "${libc_cv_gnu89_inline+set}" = set; then
6842 $as_echo_n "(cached) " >&6
6844 cat > conftest.c
<<EOF
6846 #ifdef __GNUC_GNU_INLINE__
6847 main () { return 0;}
6852 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6853 -o conftest.s conftest.c 1>&5'
6854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); }; }
6860 libc_cv_gnu89_inline
=yes
6862 libc_cv_gnu89_inline
=no
6866 { $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6867 $as_echo "$libc_cv_gnu89_inline" >&6; }
6868 if test $libc_cv_gnu89_inline = yes; then
6869 libc_cv_gnu89_inline
=-fgnu89-inline
6871 libc_cv_gnu89_inline
=
6875 if test $elf != yes; then
6876 { $as_echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6877 $as_echo_n "checking for .init and .fini sections... " >&6; }
6878 if test "${libc_cv_have_initfini+set}" = set; then
6879 $as_echo_n "(cached) " >&6
6881 cat >conftest.
$ac_ext <<_ACEOF
6884 cat confdefs.h
>>conftest.
$ac_ext
6885 cat >>conftest.
$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6891 asm (".section .init");
6892 asm (".section .fini");
6893 asm ("${libc_cv_dot_text}");
6898 rm -f conftest.
$ac_objext
6899 if { (ac_try
="$ac_compile"
6901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6902 *) ac_try_echo=$ac_try;;
6904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6905 $as_echo "$ac_try_echo") >&5
6906 (eval "$ac_compile") 2>conftest.er1
6908 grep -v '^ *+' conftest.er1 >conftest.err
6910 cat conftest.err >&5
6911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); } && {
6913 test -z "$ac_c_werror_flag" ||
6914 test ! -s conftest.err
6915 } && test -s conftest.$ac_objext; then
6916 libc_cv_have_initfini=yes
6918 $as_echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.$ac_ext >&5
6921 libc_cv_have_initfini=no
6924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6926 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6927 $as_echo "$libc_cv_have_initfini" >&6; }
6928 if test $libc_cv_have_initfini = yes; then
6929 cat >>confdefs.h <<\_ACEOF
6930 #define HAVE_INITFINI 1
6936 if test $elf = yes; then
6937 { $as_echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6938 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6939 if test "${libc_cv_have_section_quotes+set}" = set; then
6940 $as_echo_n "(cached) " >&6
6942 cat > conftest.c <<EOF
6943 static const int foo
6944 __attribute__ ((section ("bar"))) = 1;
6946 if ${CC-cc} -S conftest.c -o conftest.s; then
6947 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6948 libc_cv_have_section_quotes=yes
6950 libc_cv_have_section_quotes=no
6953 libc_cv_have_section_quotes=unknown
6958 { $as_echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6959 $as_echo "$libc_cv_have_section_quotes" >&6; }
6960 if test $libc_cv_have_section_quotes = yes; then
6961 cat >>confdefs.h <<\_ACEOF
6962 #define HAVE_SECTION_QUOTES 1
6970 if test $elf = yes; then
6971 libc_cv_asm_underscores=no
6973 if test $ac_cv_prog_cc_works = yes; then
6974 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6975 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
6976 if test "${libc_cv_asm_underscores+set}" = set; then
6977 $as_echo_n "(cached) " >&6
6979 cat >conftest.$ac_ext <<_ACEOF
6982 cat confdefs.h >>conftest.$ac_ext
6983 cat >>conftest.$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6985 asm ("_glibc_foobar:");
6994 rm -f conftest.$ac_objext conftest$ac_exeext
6995 if { (ac_try="$ac_link"
6997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6998 *) ac_try_echo
=$ac_try;;
7000 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7001 $as_echo "$ac_try_echo") >&5
7002 (eval "$ac_link") 2>conftest.er1
7004 grep -v '^ *+' conftest.er1
>conftest.err
7006 cat conftest.err
>&5
7007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); } && {
7009 test -z "$ac_c_werror_flag" ||
7010 test ! -s conftest.err
7011 } && test -s conftest
$ac_exeext && {
7012 test "$cross_compiling" = yes ||
7013 $as_test_x conftest
$ac_exeext
7015 libc_cv_asm_underscores
=yes
7017 $as_echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.
$ac_ext >&5
7020 libc_cv_asm_underscores
=no
7023 rm -rf conftest.dSYM
7024 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7025 conftest
$ac_exeext conftest.
$ac_ext
7027 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7028 $as_echo "$libc_cv_asm_underscores" >&6; }
7030 { $as_echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
7031 $as_echo_n "checking for _ prefix on C symbol names... " >&6; }
7032 if test "${libc_cv_asm_underscores+set}" = set; then
7033 $as_echo_n "(cached) " >&6
7035 cat > conftest.
$ac_ext <<EOF
7036 #line $LINENO "configure"
7037 #include "confdefs.h"
7038 void underscore_test(void) {
7041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7042 (eval $ac_compile) 2>&5
7044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); }; then
7046 if grep _underscore_test conftest
* >/dev
/null
; then
7048 libc_cv_asm_underscores
=yes
7051 libc_cv_asm_underscores
=no
7054 echo "configure: failed program was:" >&5
7055 cat conftest.
$ac_ext >&5
7057 libc_cv_asm_underscores
=no
7061 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
7062 $as_echo "$libc_cv_asm_underscores" >&6; }
7065 if test $libc_cv_asm_underscores = no
; then
7066 cat >>confdefs.h
<<\_ACEOF
7067 #define NO_UNDERSCORES 1
7072 if test $elf = yes; then
7073 libc_cv_weak_symbols
=yes
7076 { $as_echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
7077 $as_echo_n "checking for assembler .weak directive... " >&6; }
7078 if test "${libc_cv_asm_weak_directive+set}" = set; then
7079 $as_echo_n "(cached) " >&6
7081 cat > conftest.s
<<EOF
7083 ${libc_cv_asm_global_directive} foo
7086 .weak bar; bar = foo
7088 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; }; then
7094 libc_cv_asm_weak_directive
=yes
7096 libc_cv_asm_weak_directive
=no
7100 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
7101 $as_echo "$libc_cv_asm_weak_directive" >&6; }
7103 if test $libc_cv_asm_weak_directive = no
; then
7104 { $as_echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
7105 $as_echo_n "checking for assembler .weakext directive... " >&6; }
7106 if test "${libc_cv_asm_weakext_directive+set}" = set; then
7107 $as_echo_n "(cached) " >&6
7109 cat > conftest.s
<<EOF
7111 ${libc_cv_asm_global_directive} foo
7115 ${libc_cv_asm_global_directive} baz
7118 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); }; }; then
7124 libc_cv_asm_weakext_directive
=yes
7126 libc_cv_asm_weakext_directive
=no
7130 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
7131 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
7135 if test $libc_cv_asm_weak_directive = yes; then
7136 cat >>confdefs.h
<<\_ACEOF
7137 #define HAVE_ASM_WEAK_DIRECTIVE 1
7140 elif test $libc_cv_asm_weakext_directive = yes; then
7141 cat >>confdefs.h
<<\_ACEOF
7142 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
7147 { $as_echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
7148 $as_echo_n "checking whether CFI directives are supported... " >&6; }
7149 if test "${libc_cv_asm_cfi_directives+set}" = set; then
7150 $as_echo_n "(cached) " >&6
7153 sparc
/sparc64
*) cfi_offset
=2047;;
7156 cat > conftest.s
<<EOF
7158 .type func,%function
7162 .cfi_rel_offset 1, $cfi_offset
7165 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; }; then
7171 libc_cv_asm_cfi_directives
=yes
7173 libc_cv_asm_cfi_directives
=no
7177 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
7178 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
7179 if test $libc_cv_asm_cfi_directives = yes; then
7180 cat >>confdefs.h
<<\_ACEOF
7181 #define HAVE_ASM_CFI_DIRECTIVES 1
7186 { $as_echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
7187 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
7188 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
7189 $as_echo_n "(cached) " >&6
7191 cat > conftest.c
<<\EOF
7196 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7197 -nostdlib -nostartfiles -Wl,--no-whole-archive
7198 -o conftest conftest.c 1>&5'
7199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); }; }; then
7204 libc_cv_ld_no_whole_archive
=yes
7206 libc_cv_ld_no_whole_archive
=no
7210 { $as_echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7211 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
7212 if test $libc_cv_ld_no_whole_archive = yes; then
7213 no_whole_archive
=-Wl,--no-whole-archive
7216 { $as_echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7217 $as_echo_n "checking for gcc -fexceptions... " >&6; }
7218 if test "${libc_cv_gcc_exceptions+set}" = set; then
7219 $as_echo_n "(cached) " >&6
7221 cat > conftest.c
<<\EOF
7226 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7227 -nostdlib -nostartfiles -fexceptions
7228 -o conftest conftest.c 1>&5'
7229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); }; }; then
7234 libc_cv_gcc_exceptions
=yes
7236 libc_cv_gcc_exceptions
=no
7240 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7241 $as_echo "$libc_cv_gcc_exceptions" >&6; }
7242 if test $libc_cv_gcc_exceptions = yes; then
7243 exceptions
=-fexceptions
7246 if test "$host_cpu" = powerpc
; then
7247 # Check for a bug present in at least versions 2.8.x of GCC
7248 # and versions 1.0.x of EGCS.
7249 { $as_echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7250 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
7251 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7252 $as_echo_n "(cached) " >&6
7254 cat >conftest.
$ac_ext <<_ACEOF
7257 cat confdefs.h
>>conftest.
$ac_ext
7258 cat >>conftest.
$ac_ext <<_ACEOF
7259 /* end confdefs.h. */
7260 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7269 rm -f conftest.
$ac_objext
7270 if { (ac_try
="$ac_compile"
7272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7273 *) ac_try_echo=$ac_try;;
7275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7276 $as_echo "$ac_try_echo") >&5
7277 (eval "$ac_compile") 2>conftest.er1
7279 grep -v '^ *+' conftest.er1 >conftest.err
7281 cat conftest.err >&5
7282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } && {
7284 test -z "$ac_c_werror_flag" ||
7285 test ! -s conftest.err
7286 } && test -s conftest.$ac_objext; then
7287 libc_cv_c_asmcr0_bug='no'
7289 $as_echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.$ac_ext >&5
7292 libc_cv_c_asmcr0_bug='yes'
7295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7297 { $as_echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7298 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
7299 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7300 cat >>confdefs.h <<\_ACEOF
7301 #define BROKEN_PPC_ASM_CR0 1
7307 { $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7308 $as_echo_n "checking for __builtin_expect... " >&6; }
7309 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7310 $as_echo_n "(cached) " >&6
7312 cat > conftest.c <<EOF
7313 #line $LINENO "configure"
7316 a = __builtin_expect (a, 10);
7317 return a == 10 ? 0 : 1;
7320 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7321 -o conftest conftest.c -lgcc >&5'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 libc_cv_gcc_builtin_expect=yes
7329 libc_cv_gcc_builtin_expect=no
7333 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7334 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
7335 if test "$libc_cv_gcc_builtin_expect" = yes; then
7336 cat >>confdefs.h <<\_ACEOF
7337 #define HAVE_BUILTIN_EXPECT 1
7342 { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7343 $as_echo_n "checking for __builtin_memset... " >&6; }
7344 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7345 $as_echo_n "(cached) " >&6
7347 cat > conftest.c <<\EOF
7350 __builtin_memset (x, 0, 1000);
7353 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 (exit $ac_status); }; };
7360 libc_cv_gcc_builtin_memset=no
7362 libc_cv_gcc_builtin_memset=yes
7366 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7367 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
7368 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7369 cat >>confdefs.h <<\_ACEOF
7370 #define HAVE_BUILTIN_MEMSET 1
7375 { $as_echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7376 $as_echo_n "checking for redirection of built-in functions... " >&6; }
7377 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7378 $as_echo_n "(cached) " >&6
7380 cat > conftest.c <<\EOF
7381 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7382 char *foo (const char *a, const char *b)
7384 return __builtin_strstr (a, b);
7387 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); }; };
7394 libc_cv_gcc_builtin_redirection=yes
7396 libc_cv_gcc_builtin_redirection=no
7400 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7401 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
7402 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7403 cat >>confdefs.h <<\_ACEOF
7404 #define HAVE_BUILTIN_REDIRECTION 1
7409 if test "x$use__thread" != xno; then
7410 { $as_echo "$as_me:$LINENO: checking for __thread" >&5
7411 $as_echo_n "checking for __thread... " >&6; }
7412 if test "${libc_cv_gcc___thread+set}" = set; then
7413 $as_echo_n "(cached) " >&6
7415 cat > conftest.c <<\EOF
7416 __thread int a = 42;
7418 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); }; }; then
7424 libc_cv_gcc___thread=yes
7426 libc_cv_gcc___thread=no
7430 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7431 $as_echo "$libc_cv_gcc___thread" >&6; }
7432 if test "$libc_cv_gcc___thread" = yes; then
7433 cat >>confdefs.h <<\_ACEOF
7434 #define HAVE___THREAD 1
7439 libc_cv_gcc___thread=no
7442 if test "$libc_cv_gcc___thread" = yes; then
7443 { $as_echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7444 $as_echo_n "checking for tls_model attribute... " >&6; }
7445 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7446 $as_echo_n "(cached) " >&6
7448 cat > conftest.c <<\EOF
7449 extern __thread int a __attribute__((tls_model ("initial-exec")));
7451 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; }; then
7457 libc_cv_gcc_tls_model_attr=yes
7459 libc_cv_gcc_tls_model_attr=no
7463 { $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7464 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
7465 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7466 cat >>confdefs.h <<\_ACEOF
7467 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7473 if test -n "$submachine"; then
7474 { $as_echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7475 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7476 if test "${libc_cv_cc_submachine+set}" = set; then
7477 $as_echo_n "(cached) " >&6
7479 libc_cv_cc_submachine=no
7480 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7481 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; }; then
7487 libc_cv_cc_submachine="$opt"
7492 { $as_echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7493 $as_echo "$libc_cv_cc_submachine" >&6; }
7494 if test "x$libc_cv_cc_submachine" = xno; then
7495 { { $as_echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7496 $as_echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7497 { (exit 1); exit 1; }; }
7502 { $as_echo "$as_me:$LINENO: checking for libgd" >&5
7503 $as_echo_n "checking for libgd... " >&6; }
7504 if test "$with_gd" != "no"; then
7505 old_CFLAGS="$CFLAGS"
7506 CFLAGS="$CFLAGS $libgd_include"
7507 old_LDFLAGS="$LDFLAGS"
7508 LDFLAGS="$LDFLAGS $libgd_ldflags"
7510 LIBS="$LIBS -lgd -lpng -lz -lm"
7511 cat >conftest.$ac_ext <<_ACEOF
7514 cat confdefs.h >>conftest.$ac_ext
7515 cat >>conftest.$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7526 rm -f conftest.$ac_objext conftest$ac_exeext
7527 if { (ac_try="$ac_link"
7529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7530 *) ac_try_echo
=$ac_try;;
7532 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7533 $as_echo "$ac_try_echo") >&5
7534 (eval "$ac_link") 2>conftest.er1
7536 grep -v '^ *+' conftest.er1
>conftest.err
7538 cat conftest.err
>&5
7539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); } && {
7541 test -z "$ac_c_werror_flag" ||
7542 test ! -s conftest.err
7543 } && test -s conftest
$ac_exeext && {
7544 test "$cross_compiling" = yes ||
7545 $as_test_x conftest
$ac_exeext
7549 $as_echo "$as_me: failed program was:" >&5
7550 sed 's/^/| /' conftest.
$ac_ext >&5
7555 rm -rf conftest.dSYM
7556 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7557 conftest
$ac_exeext conftest.
$ac_ext
7558 CFLAGS
="$old_CFLAGS"
7559 LDFLAGS
="$old_LDFLAGS"
7564 { $as_echo "$as_me:$LINENO: result: $LIBGD" >&5
7565 $as_echo "$LIBGD" >&6; }
7569 if test x
$with_selinux = xno
; then
7572 # See if we have the SELinux library
7573 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7574 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7575 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7576 $as_echo_n "(cached) " >&6
7578 ac_check_lib_save_LIBS
=$LIBS
7579 LIBS
="-lselinux $LIBS"
7580 cat >conftest.
$ac_ext <<_ACEOF
7583 cat confdefs.h
>>conftest.
$ac_ext
7584 cat >>conftest.
$ac_ext <<_ACEOF
7585 /* end confdefs.h. */
7587 /* Override any GCC internal prototype to avoid an error.
7588 Use char because int might match the return type of a GCC
7589 builtin and then its argument prototype would still apply. */
7593 char is_selinux_enabled ();
7597 return is_selinux_enabled ();
7602 rm -f conftest.
$ac_objext conftest
$ac_exeext
7603 if { (ac_try
="$ac_link"
7605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7606 *) ac_try_echo=$ac_try;;
7608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7609 $as_echo "$ac_try_echo") >&5
7610 (eval "$ac_link") 2>conftest.er1
7612 grep -v '^ *+' conftest.er1 >conftest.err
7614 cat conftest.err >&5
7615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); } && {
7617 test -z "$ac_c_werror_flag" ||
7618 test ! -s conftest.err
7619 } && test -s conftest$ac_exeext && {
7620 test "$cross_compiling" = yes ||
7621 $as_test_x conftest$ac_exeext
7623 ac_cv_lib_selinux_is_selinux_enabled=yes
7625 $as_echo "$as_me: failed program was:" >&5
7626 sed 's/^/| /' conftest.$ac_ext >&5
7628 ac_cv_lib_selinux_is_selinux_enabled=no
7631 rm -rf conftest.dSYM
7632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7633 conftest$ac_exeext conftest.$ac_ext
7634 LIBS=$ac_check_lib_save_LIBS
7636 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7637 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7638 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
7644 # See if we have the SELinux header with the NSCD permissions in it.
7645 if test x$have_selinux = xyes ; then
7646 { $as_echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7647 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7648 cat >conftest.$ac_ext <<_ACEOF
7651 cat confdefs.h >>conftest.$ac_ext
7652 cat >>conftest.$ac_ext <<_ACEOF
7653 /* end confdefs.h. */
7654 #include <selinux/av_permissions.h>
7658 #ifdef NSCD__SHMEMHOST
7661 #error NSCD__SHMEMHOST not defined
7667 rm -f conftest.$ac_objext
7668 if { (ac_try="$ac_compile"
7670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7671 *) ac_try_echo
=$ac_try;;
7673 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7674 $as_echo "$ac_try_echo") >&5
7675 (eval "$ac_compile") 2>conftest.er1
7677 grep -v '^ *+' conftest.er1
>conftest.err
7679 cat conftest.err
>&5
7680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); } && {
7682 test -z "$ac_c_werror_flag" ||
7683 test ! -s conftest.err
7684 } && test -s conftest.
$ac_objext; then
7687 $as_echo "$as_me: failed program was:" >&5
7688 sed 's/^/| /' conftest.
$ac_ext >&5
7693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7694 { $as_echo "$as_me:$LINENO: result: $have_selinux" >&5
7695 $as_echo "$have_selinux" >&6; }
7698 if test x
$with_selinux = xyes
; then
7699 if test x
$have_selinux = xno
; then
7700 { { $as_echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7701 $as_echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7702 { (exit 1); exit 1; }; }
7706 # Check if we're building with SELinux support.
7707 if test "x$have_selinux" = xyes
; then
7709 cat >>confdefs.h
<<\_ACEOF
7710 #define HAVE_SELINUX 1
7714 # See if we have the libaudit library
7715 { $as_echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7716 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7717 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7718 $as_echo_n "(cached) " >&6
7720 ac_check_lib_save_LIBS
=$LIBS
7721 LIBS
="-laudit $LIBS"
7722 cat >conftest.
$ac_ext <<_ACEOF
7725 cat confdefs.h
>>conftest.
$ac_ext
7726 cat >>conftest.
$ac_ext <<_ACEOF
7727 /* end confdefs.h. */
7729 /* Override any GCC internal prototype to avoid an error.
7730 Use char because int might match the return type of a GCC
7731 builtin and then its argument prototype would still apply. */
7735 char audit_log_user_avc_message ();
7739 return audit_log_user_avc_message ();
7744 rm -f conftest.
$ac_objext conftest
$ac_exeext
7745 if { (ac_try
="$ac_link"
7747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7748 *) ac_try_echo=$ac_try;;
7750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7751 $as_echo "$ac_try_echo") >&5
7752 (eval "$ac_link") 2>conftest.er1
7754 grep -v '^ *+' conftest.er1 >conftest.err
7756 cat conftest.err >&5
7757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); } && {
7759 test -z "$ac_c_werror_flag" ||
7760 test ! -s conftest.err
7761 } && test -s conftest$ac_exeext && {
7762 test "$cross_compiling" = yes ||
7763 $as_test_x conftest$ac_exeext
7765 ac_cv_lib_audit_audit_log_user_avc_message=yes
7767 $as_echo "$as_me: failed program was:" >&5
7768 sed 's/^/| /' conftest.$ac_ext >&5
7770 ac_cv_lib_audit_audit_log_user_avc_message=no
7773 rm -rf conftest.dSYM
7774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7775 conftest$ac_exeext conftest.$ac_ext
7776 LIBS=$ac_check_lib_save_LIBS
7778 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7779 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7780 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then
7786 if test "x$have_libaudit" = xyes; then
7788 cat >>confdefs.h <<\_ACEOF
7789 #define HAVE_LIBAUDIT 1
7795 # See if we have the libcap library
7796 { $as_echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7797 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7798 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7799 $as_echo_n "(cached) " >&6
7801 ac_check_lib_save_LIBS=$LIBS
7803 cat >conftest.$ac_ext <<_ACEOF
7806 cat confdefs.h >>conftest.$ac_ext
7807 cat >>conftest.$ac_ext <<_ACEOF
7808 /* end confdefs.h. */
7810 /* Override any GCC internal prototype to avoid an error.
7811 Use char because int might match the return type of a GCC
7812 builtin and then its argument prototype would still apply. */
7825 rm -f conftest.$ac_objext conftest$ac_exeext
7826 if { (ac_try="$ac_link"
7828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7829 *) ac_try_echo
=$ac_try;;
7831 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7832 $as_echo "$ac_try_echo") >&5
7833 (eval "$ac_link") 2>conftest.er1
7835 grep -v '^ *+' conftest.er1
>conftest.err
7837 cat conftest.err
>&5
7838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); } && {
7840 test -z "$ac_c_werror_flag" ||
7841 test ! -s conftest.err
7842 } && test -s conftest
$ac_exeext && {
7843 test "$cross_compiling" = yes ||
7844 $as_test_x conftest
$ac_exeext
7846 ac_cv_lib_cap_cap_init
=yes
7848 $as_echo "$as_me: failed program was:" >&5
7849 sed 's/^/| /' conftest.
$ac_ext >&5
7851 ac_cv_lib_cap_cap_init
=no
7854 rm -rf conftest.dSYM
7855 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7856 conftest
$ac_exeext conftest.
$ac_ext
7857 LIBS
=$ac_check_lib_save_LIBS
7859 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7860 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7861 if test "x$ac_cv_lib_cap_cap_init" = x
""yes; then
7867 if test "x$have_libcap" = xyes
; then
7869 cat >>confdefs.h
<<\_ACEOF
7870 #define HAVE_LIBCAP 1
7879 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7880 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7881 if test "${ac_cv_path_GREP+set}" = set; then
7882 $as_echo_n "(cached) " >&6
7884 if test -z "$GREP"; then
7885 ac_path_GREP_found
=false
7886 # Loop through the user's path and test for each of PROGNAME-LIST
7887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7888 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7891 test -z "$as_dir" && as_dir
=.
7892 for ac_prog
in grep ggrep
; do
7893 for ac_exec_ext
in '' $ac_executable_extensions; do
7894 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7895 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7896 # Check for GNU ac_path_GREP and select it if it is found.
7897 # Check for GNU $ac_path_GREP
7898 case `"$ac_path_GREP" --version 2>&1` in
7900 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7903 $as_echo_n 0123456789 >"conftest.in"
7906 cat "conftest.in" "conftest.in" >"conftest.tmp"
7907 mv "conftest.tmp" "conftest.in"
7908 cp "conftest.in" "conftest.nl"
7909 $as_echo 'GREP' >> "conftest.nl"
7910 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7911 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7912 ac_count
=`expr $ac_count + 1`
7913 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7914 # Best one so far, save it but keep looking for a better one
7915 ac_cv_path_GREP
="$ac_path_GREP"
7916 ac_path_GREP_max
=$ac_count
7918 # 10*(2^10) chars as input seems more than enough
7919 test $ac_count -gt 10 && break
7921 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7924 $ac_path_GREP_found && break 3
7929 if test -z "$ac_cv_path_GREP"; then
7930 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7931 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7932 { (exit 1); exit 1; }; }
7935 ac_cv_path_GREP
=$GREP
7939 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7940 $as_echo "$ac_cv_path_GREP" >&6; }
7941 GREP
="$ac_cv_path_GREP"
7944 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
7945 $as_echo_n "checking for egrep... " >&6; }
7946 if test "${ac_cv_path_EGREP+set}" = set; then
7947 $as_echo_n "(cached) " >&6
7949 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7950 then ac_cv_path_EGREP
="$GREP -E"
7952 if test -z "$EGREP"; then
7953 ac_path_EGREP_found
=false
7954 # Loop through the user's path and test for each of PROGNAME-LIST
7955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7956 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7959 test -z "$as_dir" && as_dir
=.
7960 for ac_prog
in egrep; do
7961 for ac_exec_ext
in '' $ac_executable_extensions; do
7962 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7963 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7964 # Check for GNU ac_path_EGREP and select it if it is found.
7965 # Check for GNU $ac_path_EGREP
7966 case `"$ac_path_EGREP" --version 2>&1` in
7968 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7971 $as_echo_n 0123456789 >"conftest.in"
7974 cat "conftest.in" "conftest.in" >"conftest.tmp"
7975 mv "conftest.tmp" "conftest.in"
7976 cp "conftest.in" "conftest.nl"
7977 $as_echo 'EGREP' >> "conftest.nl"
7978 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7979 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7980 ac_count
=`expr $ac_count + 1`
7981 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7982 # Best one so far, save it but keep looking for a better one
7983 ac_cv_path_EGREP
="$ac_path_EGREP"
7984 ac_path_EGREP_max
=$ac_count
7986 # 10*(2^10) chars as input seems more than enough
7987 test $ac_count -gt 10 && break
7989 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7992 $ac_path_EGREP_found && break 3
7997 if test -z "$ac_cv_path_EGREP"; then
7998 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7999 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8000 { (exit 1); exit 1; }; }
8003 ac_cv_path_EGREP
=$EGREP
8008 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8009 $as_echo "$ac_cv_path_EGREP" >&6; }
8010 EGREP
="$ac_cv_path_EGREP"
8013 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8014 $as_echo_n "checking for ANSI C header files... " >&6; }
8015 if test "${ac_cv_header_stdc+set}" = set; then
8016 $as_echo_n "(cached) " >&6
8018 cat >conftest.
$ac_ext <<_ACEOF
8021 cat confdefs.h
>>conftest.
$ac_ext
8022 cat >>conftest.
$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8037 rm -f conftest.
$ac_objext
8038 if { (ac_try
="$ac_compile"
8040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8041 *) ac_try_echo=$ac_try;;
8043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8044 $as_echo "$ac_try_echo") >&5
8045 (eval "$ac_compile") 2>conftest.er1
8047 grep -v '^ *+' conftest.er1 >conftest.err
8049 cat conftest.err >&5
8050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } && {
8052 test -z "$ac_c_werror_flag" ||
8053 test ! -s conftest.err
8054 } && test -s conftest.$ac_objext; then
8055 ac_cv_header_stdc=yes
8057 $as_echo "$as_me: failed program was:" >&5
8058 sed 's/^/| /' conftest.$ac_ext >&5
8060 ac_cv_header_stdc=no
8063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8065 if test $ac_cv_header_stdc = yes; then
8066 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8067 cat >conftest.$ac_ext <<_ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8077 $EGREP "memchr" >/dev/null 2>&1; then
8080 ac_cv_header_stdc=no
8086 if test $ac_cv_header_stdc = yes; then
8087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8088 cat >conftest.$ac_ext <<_ACEOF
8091 cat confdefs.h >>conftest.$ac_ext
8092 cat >>conftest.$ac_ext <<_ACEOF
8093 /* end confdefs.h. */
8097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8098 $EGREP "free" >/dev/null 2>&1; then
8101 ac_cv_header_stdc=no
8107 if test $ac_cv_header_stdc = yes; then
8108 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8109 if test "$cross_compiling" = yes; then
8112 cat >conftest.$ac_ext <<_ACEOF
8115 cat confdefs.h >>conftest.$ac_ext
8116 cat >>conftest.$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8120 #if ((' ' & 0x0FF) == 0x020)
8121 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8122 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8124 # define ISLOWER(c) \
8125 (('a' <= (c) && (c) <= 'i') \
8126 || ('j' <= (c) && (c) <= 'r') \
8127 || ('s' <= (c) && (c) <= 'z'))
8128 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8131 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8136 for (i = 0; i < 256; i++)
8137 if (XOR (islower (i), ISLOWER (i))
8138 || toupper (i) != TOUPPER (i))
8143 rm -f conftest$ac_exeext
8144 if { (ac_try="$ac_link"
8146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8147 *) ac_try_echo
=$ac_try;;
8149 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8150 $as_echo "$ac_try_echo") >&5
8151 (eval "$ac_link") 2>&5
8153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8155 { (case "(($ac_try" in
8156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8157 *) ac_try_echo=$ac_try;;
8159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8160 $as_echo "$ac_try_echo") >&5
8161 (eval "$ac_try") 2>&5
8163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); }; }; then
8167 $as_echo "$as_me: program exited with status $ac_status" >&5
8168 $as_echo "$as_me: failed program was:" >&5
8169 sed 's/^/| /' conftest.$ac_ext >&5
8172 ac_cv_header_stdc=no
8174 rm -rf conftest.dSYM
8175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8181 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8182 $as_echo "$ac_cv_header_stdc" >&6; }
8183 if test $ac_cv_header_stdc = yes; then
8185 cat >>confdefs.h <<\_ACEOF
8186 #define STDC_HEADERS 1
8191 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8201 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8202 inttypes.h stdint.h unistd.h
8204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8205 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8206 $as_echo_n "checking for $ac_header... " >&6; }
8207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8208 $as_echo_n "(cached) " >&6
8210 cat >conftest.$ac_ext <<_ACEOF
8213 cat confdefs.h >>conftest.$ac_ext
8214 cat >>conftest.$ac_ext <<_ACEOF
8215 /* end confdefs.h. */
8216 $ac_includes_default
8218 #include <$ac_header>
8220 rm -f conftest.$ac_objext
8221 if { (ac_try="$ac_compile"
8223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8224 *) ac_try_echo
=$ac_try;;
8226 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8227 $as_echo "$ac_try_echo") >&5
8228 (eval "$ac_compile") 2>conftest.er1
8230 grep -v '^ *+' conftest.er1
>conftest.err
8232 cat conftest.err
>&5
8233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); } && {
8235 test -z "$ac_c_werror_flag" ||
8236 test ! -s conftest.err
8237 } && test -s conftest.
$ac_objext; then
8238 eval "$as_ac_Header=yes"
8240 $as_echo "$as_me: failed program was:" >&5
8241 sed 's/^/| /' conftest.
$ac_ext >&5
8243 eval "$as_ac_Header=no"
8246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8248 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8249 $as_echo "$as_val"'`
8250 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8251 $as_echo "$ac_res" >&6; }
8252 as_val
=`eval 'as_val=${'$as_ac_Header'}
8253 $as_echo "$as_val"'`
8254 if test "x$as_val" = x
""yes; then
8255 cat >>confdefs.h
<<_ACEOF
8256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8264 # The cast to long int works around a bug in the HP C Compiler
8265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8267 # This bug is HP SR number 8606223364.
8268 { $as_echo "$as_me:$LINENO: checking size of long double" >&5
8269 $as_echo_n "checking size of long double... " >&6; }
8270 if test "${ac_cv_sizeof_long_double+set}" = set; then
8271 $as_echo_n "(cached) " >&6
8273 if test "$cross_compiling" = yes; then
8274 # Depending upon the size, compute the lo and hi bounds.
8275 cat >conftest.
$ac_ext <<_ACEOF
8278 cat confdefs.h
>>conftest.
$ac_ext
8279 cat >>conftest.
$ac_ext <<_ACEOF
8280 /* end confdefs.h. */
8281 $ac_includes_default
8285 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= 0)];
8292 rm -f conftest.
$ac_objext
8293 if { (ac_try
="$ac_compile"
8295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8296 *) ac_try_echo=$ac_try;;
8298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8299 $as_echo "$ac_try_echo") >&5
8300 (eval "$ac_compile") 2>conftest.er1
8302 grep -v '^ *+' conftest.er1 >conftest.err
8304 cat conftest.err >&5
8305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); } && {
8307 test -z "$ac_c_werror_flag" ||
8308 test ! -s conftest.err
8309 } && test -s conftest.$ac_objext; then
8312 cat >conftest.$ac_ext <<_ACEOF
8315 cat confdefs.h >>conftest.$ac_ext
8316 cat >>conftest.$ac_ext <<_ACEOF
8317 /* end confdefs.h. */
8318 $ac_includes_default
8322 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8329 rm -f conftest.$ac_objext
8330 if { (ac_try="$ac_compile"
8332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8333 *) ac_try_echo
=$ac_try;;
8335 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8336 $as_echo "$ac_try_echo") >&5
8337 (eval "$ac_compile") 2>conftest.er1
8339 grep -v '^ *+' conftest.er1
>conftest.err
8341 cat conftest.err
>&5
8342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); } && {
8344 test -z "$ac_c_werror_flag" ||
8345 test ! -s conftest.err
8346 } && test -s conftest.
$ac_objext; then
8347 ac_hi
=$ac_mid; break
8349 $as_echo "$as_me: failed program was:" >&5
8350 sed 's/^/| /' conftest.
$ac_ext >&5
8352 ac_lo
=`expr $ac_mid + 1`
8353 if test $ac_lo -le $ac_mid; then
8357 ac_mid
=`expr 2 '*' $ac_mid + 1`
8360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8363 $as_echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.
$ac_ext >&5
8366 cat >conftest.
$ac_ext <<_ACEOF
8369 cat confdefs.h
>>conftest.
$ac_ext
8370 cat >>conftest.
$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8372 $ac_includes_default
8376 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) < 0)];
8383 rm -f conftest.
$ac_objext
8384 if { (ac_try
="$ac_compile"
8386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8387 *) ac_try_echo=$ac_try;;
8389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8390 $as_echo "$ac_try_echo") >&5
8391 (eval "$ac_compile") 2>conftest.er1
8393 grep -v '^ *+' conftest.er1 >conftest.err
8395 cat conftest.err >&5
8396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); } && {
8398 test -z "$ac_c_werror_flag" ||
8399 test ! -s conftest.err
8400 } && test -s conftest.$ac_objext; then
8403 cat >conftest.$ac_ext <<_ACEOF
8406 cat confdefs.h >>conftest.$ac_ext
8407 cat >>conftest.$ac_ext <<_ACEOF
8408 /* end confdefs.h. */
8409 $ac_includes_default
8413 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) >= $ac_mid)];
8420 rm -f conftest.$ac_objext
8421 if { (ac_try="$ac_compile"
8423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8424 *) ac_try_echo
=$ac_try;;
8426 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8427 $as_echo "$ac_try_echo") >&5
8428 (eval "$ac_compile") 2>conftest.er1
8430 grep -v '^ *+' conftest.er1
>conftest.err
8432 cat conftest.err
>&5
8433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && {
8435 test -z "$ac_c_werror_flag" ||
8436 test ! -s conftest.err
8437 } && test -s conftest.
$ac_objext; then
8438 ac_lo
=$ac_mid; break
8440 $as_echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.
$ac_ext >&5
8443 ac_hi
=`expr '(' $ac_mid ')' - 1`
8444 if test $ac_mid -le $ac_hi; then
8448 ac_mid
=`expr 2 '*' $ac_mid`
8451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8454 $as_echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.
$ac_ext >&5
8460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8464 # Binary search between lo and hi bounds.
8465 while test "x$ac_lo" != "x$ac_hi"; do
8466 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8467 cat >conftest.
$ac_ext <<_ACEOF
8470 cat confdefs.h
>>conftest.
$ac_ext
8471 cat >>conftest.
$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8473 $ac_includes_default
8477 static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= $ac_mid)];
8484 rm -f conftest.
$ac_objext
8485 if { (ac_try
="$ac_compile"
8487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8488 *) ac_try_echo=$ac_try;;
8490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8491 $as_echo "$ac_try_echo") >&5
8492 (eval "$ac_compile") 2>conftest.er1
8494 grep -v '^ *+' conftest.er1 >conftest.err
8496 cat conftest.err >&5
8497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } && {
8499 test -z "$ac_c_werror_flag" ||
8500 test ! -s conftest.err
8501 } && test -s conftest.$ac_objext; then
8504 $as_echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.$ac_ext >&5
8507 ac_lo=`expr '(' $ac_mid ')' + 1`
8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8513 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8514 '') if test "$ac_cv_type_long_double" = yes; then
8515 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8517 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long double
)
8518 See \
`config.log' for more details." >&5
8519 $as_echo "$as_me: error: cannot compute sizeof (long double)
8520 See \`config.log
' for more details." >&2;}
8521 { (exit 77); exit 77; }; }; }
8523 ac_cv_sizeof_long_double=0
8527 cat >conftest.$ac_ext <<_ACEOF
8530 cat confdefs.h >>conftest.$ac_ext
8531 cat >>conftest.$ac_ext <<_ACEOF
8532 /* end confdefs.h. */
8533 $ac_includes_default
8534 static long int longval () { return (long int) (sizeof (long double)); }
8535 static unsigned long int ulongval () { return (long int) (sizeof (long double)); }
8542 FILE *f = fopen ("conftest.val", "w");
8545 if (((long int) (sizeof (long double))) < 0)
8547 long int i = longval ();
8548 if (i != ((long int) (sizeof (long double))))
8550 fprintf (f, "%ld", i);
8554 unsigned long int i = ulongval ();
8555 if (i != ((long int) (sizeof (long double))))
8557 fprintf (f, "%lu", i);
8559 /* Do not output a trailing newline, as this causes \r\n confusion
8560 on some platforms. */
8561 return ferror (f) || fclose (f) != 0;
8567 rm -f conftest$ac_exeext
8568 if { (ac_try="$ac_link"
8570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8571 *) ac_try_echo=$ac_try;;
8573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8574 $as_echo "$ac_try_echo") >&5
8575 (eval "$ac_link") 2>&5
8577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
8579 { (case "(($ac_try" in
8580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8581 *) ac_try_echo=$ac_try;;
8583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8584 $as_echo "$ac_try_echo") >&5
8585 (eval "$ac_try") 2>&5
8587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588 (exit $ac_status); }; }; then
8589 ac_cv_sizeof_long_double=`cat conftest.val`
8591 $as_echo "$as_me: program exited with status $ac_status" >&5
8592 $as_echo "$as_me: failed program was:" >&5
8593 sed 's
/^
/|
/' conftest.$ac_ext >&5
8596 if test "$ac_cv_type_long_double" = yes; then
8597 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8598 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
8599 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8600 See \`config.log
' for more details." >&5
8601 $as_echo "$as_me: error: cannot compute sizeof (long double)
8602 See \`config.log' for more details.
" >&2;}
8603 { (exit 77); exit 77; }; }; }
8605 ac_cv_sizeof_long_double=0
8608 rm -rf conftest.dSYM
8609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8613 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8614 $as_echo "$ac_cv_sizeof_long_double" >&6; }
8618 cat >>confdefs.h <<_ACEOF
8619 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8623 sizeof_long_double=$ac_cv_sizeof_long_double
8626 ### End of automated tests.
8627 ### Now run sysdeps configure fragments.
8629 # They also can set these variables.
8631 ldd_rewrite_script=no
8632 libc_cv_sysconfdir=$sysconfdir
8633 libc_cv_gcc_unwind_find_fde=no
8636 # Iterate over all the sysdep directories we will use, running their
8637 # configure fragments, and looking for a uname implementation.
8639 for dir in $sysnames; do
8642 *) dest=$srcdir/$dir ;;
8644 if test -r $dest/configure; then
8645 { $as_echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8646 $as_echo "running configure fragment
for $dir" >&6; }
8650 if test -z "$uname"; then
8651 if test -r $dest/uname.c ||
8652 test -r $dest/uname.S ||
8653 { test -r $dest/syscalls.list &&
8654 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8660 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8661 cat >>confdefs.h <<\_ACEOF
8662 #define EXPORT_UNWIND_FIND_FDE 1
8668 # If we will use the generic uname implementation, we must figure out what
8669 # it will say by examining the system, and write the results in config-name.h.
8670 if test "$uname" = "sysdeps
/generic
"; then
8672 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8673 if test $uname_sysname != $config_os; then
8674 config_release=`echo $config_os | sed s/$uname_sysname//`
8677 { $as_echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8678 $as_echo_n "checking OS release
for uname...
" >&6; }
8679 if test "${libc_cv_uname_release+set}" = set; then
8680 $as_echo_n "(cached
) " >&6
8682 if test -r /vmunix; then
8683 kernel_id=`strings /vmunix | grep UNIX`
8684 elif test -r /dynix; then
8685 kernel_id=`strings /dynix | grep DYNIX`
8690 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8691 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8692 != x$config_release; then
8693 # The configuration release is a substring of the kernel release.
8694 libc_cv_uname_release=$kernel_release
8695 elif test x$config_release != x; then
8696 libc_cv_uname_release=$config_release
8697 elif test x$kernel_release != x; then
8698 libc_cv_uname_release=$kernel_release
8700 libc_cv_uname_release=unknown
8703 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8704 $as_echo "$libc_cv_uname_release" >&6; }
8705 uname_release="$libc_cv_uname_release"
8707 { $as_echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8708 $as_echo_n "checking OS version
for uname...
" >&6; }
8709 if test "${libc_cv_uname_version+set}" = set; then
8710 $as_echo_n "(cached
) " >&6
8712 if test -r /vmunix; then
8713 kernel_id=`strings /vmunix | grep UNIX`
8714 elif test -r /dynix; then
8715 kernel_id=`strings /dynix | grep DYNIX`
8720 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8721 if test -n "$kernel_version"; then
8722 libc_cv_uname_version="$kernel_version"
8724 libc_cv_uname_version=unknown
8727 { $as_echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8728 $as_echo "$libc_cv_uname_version" >&6; }
8729 uname_version="$libc_cv_uname_version"
8731 config_uname=config-name.h:config-name.in
8733 # For non-generic uname, we don't need to create config-name.h at all.
8737 cat >>confdefs.h <<\_ACEOF
8738 #define USE_IN_LIBIO 1
8742 # Test for old glibc 2.0.x headers so that they can be removed properly
8743 # Search only in includedir.
8744 { $as_echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8745 $as_echo_n "checking
for old glibc
2.0.x headers...
" >&6; }
8746 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8748 old_glibc_headers=yes
8750 old_glibc_headers=no
8752 { $as_echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8753 $as_echo "$old_glibc_headers" >&6; }
8754 if test ${old_glibc_headers} = yes; then
8755 { $as_echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8756 $as_echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8757 { $as_echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8758 $as_echo "$as_me: WARNING
: *** be removed.
" >&2;}
8775 if test $elf = yes; then
8776 cat >>confdefs.h <<\_ACEOF
8781 if test $xcoff = yes; then
8782 cat >>confdefs.h <<\_ACEOF
8783 #define HAVE_XCOFF 1
8790 if test $shared = default; then
8794 { $as_echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8795 $as_echo_n "checking whether
-fPIC is default...
" >&6; }
8796 if test "${libc_cv_pic_default+set}" = set; then
8797 $as_echo_n "(cached
) " >&6
8799 libc_cv_pic_default=yes
8800 cat > conftest.c <<EOF
8801 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8802 # error PIC is default.
8805 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8806 libc_cv_pic_default=no
8810 { $as_echo "$as_me:$LINENO: result
: $libc_cv_pic_default" >&5
8811 $as_echo "$libc_cv_pic_default" >&6; }
8824 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8827 config_makefile=Makefile
8830 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8831 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8835 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8837 ac_config_commands
="$ac_config_commands default"
8839 cat >confcache
<<\_ACEOF
8840 # This file is a shell script that caches the results of configure
8841 # tests run on this system so they can be shared between configure
8842 # scripts and configure runs, see configure's option --config-cache.
8843 # It is not useful on other systems. If it contains results you don't
8844 # want to keep, you may remove or edit it.
8846 # config.status only pays attention to the cache file if you give it
8847 # the --recheck option to rerun configure.
8849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8855 # The following way of writing the cache mishandles newlines in values,
8856 # but we know of no workaround that is simple, portable, and efficient.
8857 # So, we kill variables containing newlines.
8858 # Ultrix sh set writes to stderr and can't be redirected directly,
8859 # and sets the high bit in the cache file unless we assign to the vars.
8861 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8862 eval ac_val
=\$
$ac_var
8866 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8870 _ | IFS | as_nl
) ;; #(
8871 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8872 *) $as_unset $ac_var ;;
8878 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8879 *${as_nl}ac_space
=\
*)
8880 # `set' does not quote correctly, so add quotes (double-quote
8881 # substitution turns \\\\ into \\, and sed turns \\ into \).
8884 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8887 # `set' quotes correctly as required by POSIX, so do not add quotes.
8888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8899 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8901 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8902 if test -w "$cache_file"; then
8903 test "x$cache_file" != "x/dev/null" &&
8904 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8905 $as_echo "$as_me: updating cache $cache_file" >&6;}
8906 cat confcache
>$cache_file
8908 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8909 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8914 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8915 # Let make expand exec_prefix.
8916 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8918 DEFS
=-DHAVE_CONFIG_H
8922 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8923 # 1. Remove the extension, and $U if already installed.
8924 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8925 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8926 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8927 # will be set to the directory where LIBOBJS objects are built.
8928 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8929 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8933 LTLIBOBJS
=$ac_ltlibobjs
8937 : ${CONFIG_STATUS=./config.status}
8939 ac_clean_files_save
=$ac_clean_files
8940 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8941 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8942 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8943 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8945 # Generated by $as_me.
8946 # Run this file to recreate the current configuration.
8947 # Compiler output produced by configure, useful for debugging
8948 # configure, is in config.log if it exists.
8953 SHELL=\${CONFIG_SHELL-$SHELL}
8956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8957 ## --------------------- ##
8958 ## M4sh Initialization. ##
8959 ## --------------------- ##
8961 # Be more Bourne compatible
8962 DUALCASE
=1; export DUALCASE
# for MKS sh
8963 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8966 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8967 # is contrary to our usage. Disable this feature.
8968 alias -g '${1+"$@"}'='"$@"'
8969 setopt NO_GLOB_SUBST
8971 case `(set -o) 2>/dev/null` in
8972 *posix
*) set -o posix
;;
8981 # Avoid depending upon Character Ranges.
8982 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8983 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8984 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8985 as_cr_digits
='0123456789'
8986 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8991 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8992 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8993 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8994 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8995 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8996 as_echo='printf %s
\n'
8997 as_echo_n='printf %s
'
8999 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9000 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9001 as_echo_n='/usr
/ucb
/echo -n'
9003 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9004 as_echo_n_body='eval
9008 expr "X$arg" : "X\\(.*\\)$as_nl";
9009 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9011 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9013 export as_echo_n_body
9014 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9017 as_echo='sh
-c $as_echo_body as_echo
'
9020 # The user is always right.
9021 if test "${PATH_SEPARATOR+set}" != set; then
9023 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9024 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9029 # Support unset when possible.
9030 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9038 # We need space, tab and new line, in precisely that order. Quoting is
9039 # there to prevent editors from complaining about space-tab.
9040 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9041 # splitting by setting IFS to empty value.)
9044 # Find who we are. Look in the path if we contain no directory separator.
9046 *[\\/]* ) as_myself=$0 ;;
9047 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9051 test -z "$as_dir" && as_dir=.
9052 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9058 # We did not find ourselves, most probably we were run as `sh COMMAND'
9059 # in which case we are not to be found in the path.
9060 if test "x$as_myself" = x
; then
9063 if test ! -f "$as_myself"; then
9064 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9065 { (exit 1); exit 1; }
9068 # Work around bugs in pre-3.0 UWIN ksh.
9069 for as_var
in ENV MAIL MAILPATH
9070 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9082 # Required to use basename.
9083 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9084 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9090 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9091 as_basename
=basename
9097 # Name of the executable.
9098 as_me
=`$as_basename -- "$0" ||
9099 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9100 X"$0" : 'X\(//\)$' \| \
9101 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9103 sed '/^.*\/\([^/][^/]*\)\/*$/{
9124 test "x$as_lineno_1" != "x$as_lineno_2" &&
9125 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9127 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9128 # uniformly replaced by the line number. The first 'sed' inserts a
9129 # line-number line after each line using $LINENO; the second 'sed'
9130 # does the real work. The second script uses 'N' to pair each
9131 # line-number line with the line containing $LINENO, and appends
9132 # trailing '-' during substitution so that $LINENO is not a special
9134 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9135 # scripts with optimization help from Paolo Bonzini. Blame Lee
9136 # E. McMahon (1931-1989) for sed's syntax. :-)
9148 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9152 chmod +x
"$as_me.lineno" ||
9153 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9154 { (exit 1); exit 1; }; }
9156 # Don't try to exec as it changes $[0], causing all sort of problems
9157 # (the dirname of $[0] is not the place where we might find the
9158 # original and so on. Autoconf is especially sensitive to this).
9160 # Exit status is that of the last command.
9165 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9171 ECHO_C
= ECHO_N
= ECHO_T
=
9174 case `echo 'x\c'` in
9175 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9181 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9182 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9188 rm -f conf$$ conf$$.exe conf$$.
file
9189 if test -d conf$$.dir
; then
9190 rm -f conf$$.dir
/conf$$.
file
9193 mkdir conf$$.dir
2>/dev
/null
9195 if (echo >conf$$.
file) 2>/dev
/null
; then
9196 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9198 # ... but there are two gotchas:
9199 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9200 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9201 # In both cases, we have to default to `cp -p'.
9202 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9204 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9212 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9213 rmdir conf$$.dir
2>/dev
/null
9215 if mkdir
-p .
2>/dev
/null
; then
9218 test -d .
/-p && rmdir .
/-p
9222 if test -x / >/dev
/null
2>&1; then
9225 if ls -dL / >/dev
/null
2>&1; then
9232 if test -d "$1"; then
9238 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9239 ???[sx]*):;;*)false;;esac;fi
9243 as_executable_p
=$as_test_x
9245 # Sed expression to map a string onto a valid CPP name.
9246 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9248 # Sed expression to map a string onto a valid variable name.
9249 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9254 # Save the log message, to keep $[0] and so on meaningful, and to
9255 # report actual input values of CONFIG_FILES etc. instead of their
9256 # values after options handling.
9258 This file was extended by GNU C Library $as_me (see version.h), which was
9259 generated by GNU Autoconf 2.63. Invocation command line was
9261 CONFIG_FILES = $CONFIG_FILES
9262 CONFIG_HEADERS = $CONFIG_HEADERS
9263 CONFIG_LINKS = $CONFIG_LINKS
9264 CONFIG_COMMANDS = $CONFIG_COMMANDS
9267 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9272 case $ac_config_files in *"
9273 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9276 case $ac_config_headers in *"
9277 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9282 # Files that config.status was made for.
9283 config_files="$ac_config_files"
9284 config_headers="$ac_config_headers"
9285 config_commands="$ac_config_commands"
9289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9291 \`$as_me' instantiates files from templates according to the
9292 current configuration.
9294 Usage: $0 [OPTION]... [FILE]...
9296 -h, --help print this help, then exit
9297 -V, --version print version number and configuration settings, then exit
9298 -q, --quiet, --silent
9299 do not print progress messages
9300 -d, --debug don't remove temporary files
9301 --recheck update $as_me by reconfiguring in the same conditions
9302 --file=FILE[:TEMPLATE]
9303 instantiate the configuration file FILE
9304 --header=FILE[:TEMPLATE]
9305 instantiate the configuration header FILE
9307 Configuration files:
9310 Configuration headers:
9313 Configuration commands:
9316 Report bugs to <bug-autoconf@gnu.org>."
9319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9321 GNU C Library config.status (see version.h)
9322 configured by $0, generated by GNU Autoconf 2.63,
9323 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9325 Copyright (C) 2008 Free Software Foundation, Inc.
9326 This config.status script is free software; the Free Software Foundation
9327 gives unlimited permission to copy, distribute and modify it."
9333 test -n "\$AWK" || AWK=awk
9336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9337 # The default lists apply if the user does not specify any file.
9343 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9344 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9355 # Handling of the options.
9356 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9358 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9359 $as_echo "$ac_cs_version"; exit ;;
9360 --debug |
--debu |
--deb |
--de |
--d |
-d )
9362 --file |
--fil |
--fi |
--f )
9365 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9367 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
9368 ac_need_defaults
=false
;;
9369 --header |
--heade |
--head |
--hea )
9372 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9374 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
9375 ac_need_defaults
=false
;;
9377 # Conflict between --help and --header
9378 { $as_echo "$as_me: error: ambiguous option: $1
9379 Try \`$0 --help' for more information." >&2
9380 { (exit 1); exit 1; }; };;
9381 --help |
--hel |
-h )
9382 $as_echo "$ac_cs_usage"; exit ;;
9383 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9384 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9388 -*) { $as_echo "$as_me: error: unrecognized option: $1
9389 Try \`$0 --help' for more information." >&2
9390 { (exit 1); exit 1; }; } ;;
9392 *) ac_config_targets
="$ac_config_targets $1"
9393 ac_need_defaults
=false
;;
9399 ac_configure_extra_args
=
9401 if $ac_cs_silent; then
9403 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9408 if \$ac_cs_recheck; then
9409 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9411 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9412 CONFIG_SHELL='$SHELL'
9418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9422 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9423 ## Running $as_me. ##
9429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9433 config_vars='$config_vars'
9437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9439 # Handling of arguments.
9440 for ac_config_target
in $ac_config_targets
9442 case $ac_config_target in
9443 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9444 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9445 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9446 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9447 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9449 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9450 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9451 { (exit 1); exit 1; }; };;
9456 # If the user did not use the arguments to specify the items to instantiate,
9457 # then the envvar interface is used. Set only those that are not.
9458 # We use the long form for the default assignment because of an extremely
9459 # bizarre bug on SunOS 4.1.3.
9460 if $ac_need_defaults; then
9461 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9462 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9463 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9466 # Have a temporary directory for convenience. Make it in the build tree
9467 # simply because there is no reason against having it here, and in addition,
9468 # creating and moving files from /tmp can sometimes cause problems.
9469 # Hook for its removal unless debugging.
9470 # Note that there is a small window in which the directory will not be cleaned:
9471 # after its creation but before its name has been assigned to `$tmp'.
9475 trap 'exit_status=$?
9476 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9478 trap '{ (exit 1); exit 1; }' 1 2 13 15
9480 # Create a (secure) tmp directory for tmp files.
9483 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9484 test -n "$tmp" && test -d "$tmp"
9487 tmp
=.
/conf$$
-$RANDOM
9488 (umask 077 && mkdir
"$tmp")
9491 $as_echo "$as_me: cannot create a temporary directory in ." >&2
9492 { (exit 1); exit 1; }
9495 # Set up the scripts for CONFIG_FILES section.
9496 # No need to generate them if there are no CONFIG_FILES.
9497 # This happens for instance with `./config.status config.h'.
9498 if test -n "$CONFIG_FILES"; then
9502 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9503 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9509 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9514 echo "cat >conf$$subs.awk <<_ACEOF" &&
9515 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9518 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9519 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9520 { (exit 1); exit 1; }; }
9521 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9523 for ac_last_try in false false false false false :; do
9524 . ./conf$$subs.sh ||
9525 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9526 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9527 { (exit 1); exit 1; }; }
9529 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9530 if test $ac_delim_n = $ac_delim_num; then
9532 elif $ac_last_try; then
9533 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9534 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9535 { (exit 1); exit 1; }; }
9537 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9543 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9547 s/^/S["/; s
/!.
*/"]=/
9557 s/\(.\{148\}\).*/\1/
9559 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9564 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9571 s/\(.\{148\}\).*/\1/
9573 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9577 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9582 ' <conf$$subs.awk | sed '
9587 ' >>$CONFIG_STATUS || ac_write_fail=1
9588 rm -f conf$$subs.awk
9589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9591 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9592 for (key in S) S_is_set[key] = 1
9598 nfields = split(line, field, "@
")
9600 len = length(field[1])
9601 for (i = 2; i < nfields; i++) {
9603 keylen = length(key)
9604 if (S_is_set[key]) {
9606 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9607 len += length(value) + length(field[++i])
9618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9619 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9620 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9623 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9624 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
9625 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
9626 { (exit 1); exit 1; }; }
9629 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9630 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9631 # trailing colons and then remove the whole line if VPATH becomes empty
9632 # (actually we leave an empty line to preserve line numbers).
9633 if test "x
$srcdir" = x.; then
9634 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9638 s/^\([^=]*=[ ]*\):*/\1/
9644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9645 fi # test -n "$CONFIG_FILES"
9647 # Set up the scripts for CONFIG_HEADERS section.
9648 # No need to generate them if there are no CONFIG_HEADERS.
9649 # This happens for instance with `./config.status Makefile'.
9650 if test -n "$CONFIG_HEADERS"; then
9651 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9655 # Transform confdefs.h into an awk script `defines.awk', embedded as
9656 # here-document in config.status, that substitutes the proper values into
9657 # config.h.in to produce config.h.
9659 # Create a delimiter string that does not exist in confdefs.h, to ease
9660 # handling of long lines.
9662 for ac_last_try in false false :; do
9663 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9664 if test -z "$ac_t"; then
9666 elif $ac_last_try; then
9667 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
9668 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
9669 { (exit 1); exit 1; }; }
9671 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9675 # For the awk script, D is an array of macro values keyed by name,
9676 # likewise P contains macro parameters if any. Preserve backslash
9677 # newline sequences.
9679 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9681 s/.\{148\}/&'"$ac_delim"'/g
9684 s/^[ ]*#[ ]*define[ ][ ]*/ /
9691 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9693 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9697 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9698 D["\
1"]=" \
3\\\\\\n
"\\/p
9700 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9705 s/.\{148\}/&'"$ac_delim"'/g
9710 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9713 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9715 ' <confdefs.h | sed '
9716 s/'"$ac_delim"'/"\\\
9717 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9720 for (key in D) D_is_set[key] = 1
9723 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9725 split(line, arg, " ")
9726 if (arg[1] == "#") {
9730 defundef
= substr
(arg
[1], 2)
9733 split(mac1
, mac2
, "(") #)
9735 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9736 if (D_is_set
[macro
]) {
9737 # Preserve the white space surrounding the "#".
9738 print prefix
"define", macro P
[macro
] D
[macro
]
9741 # Replace #undef with comments. This is necessary, for example,
9742 # in the case of _POSIX_SOURCE, which is predefined and required
9743 # on some systems where configure will not decide to define it.
9744 if (defundef
== "undef") {
9745 print
"/*", prefix defundef
, macro
, "*/"
9753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9754 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9755 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9756 { (exit 1); exit 1; }; }
9757 fi # test -n "$CONFIG_HEADERS"
9760 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9765 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9767 case $ac_mode$ac_tag in
9769 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9770 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9771 { (exit 1); exit 1; }; };;
9772 :[FH
]-) ac_tag
=-:-;;
9773 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9790 -) ac_f
="$tmp/stdin";;
9791 *) # Look for the file first in the build tree, then in the source tree
9792 # (if the path is not absolute). The absolute path cannot be DOS-style,
9793 # because $ac_f cannot contain `:'.
9797 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9799 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9800 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9801 { (exit 1); exit 1; }; };;
9803 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9804 ac_file_inputs
="$ac_file_inputs '$ac_f'"
9807 # Let's still pretend it is `configure' which instantiates (i.e., don't
9808 # use $as_me), people would be surprised to read:
9809 # /* config.h. Generated by config.status. */
9810 configure_input
='Generated from '`
9811 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9813 if test x
"$ac_file" != x-
; then
9814 configure_input
="$ac_file. $configure_input"
9815 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9816 $as_echo "$as_me: creating $ac_file" >&6;}
9818 # Neutralize special characters interpreted by sed in replacement strings.
9819 case $configure_input in #(
9820 *\
&* |
*\|
* |
*\\* )
9821 ac_sed_conf_input
=`$as_echo "$configure_input" |
9822 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9823 *) ac_sed_conf_input
=$configure_input;;
9827 *:-:* |
*:-) cat >"$tmp/stdin" \
9828 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9829 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9830 { (exit 1); exit 1; }; } ;;
9835 ac_dir
=`$as_dirname -- "$ac_file" ||
9836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9837 X"$ac_file" : 'X\(//\)[^/]' \| \
9838 X"$ac_file" : 'X\(//\)$' \| \
9839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9840 $as_echo X"$ac_file" |
9841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9860 -*) as_dir
=.
/$as_dir;;
9862 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9866 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9867 *) as_qdir
=$as_dir;;
9869 as_dirs
="'$as_qdir' $as_dirs"
9870 as_dir
=`$as_dirname -- "$as_dir" ||
9871 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9872 X"$as_dir" : 'X\(//\)[^/]' \| \
9873 X"$as_dir" : 'X\(//\)$' \| \
9874 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9875 $as_echo X"$as_dir" |
9876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9893 test -d "$as_dir" && break
9895 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9896 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9897 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9898 { (exit 1); exit 1; }; }; }
9902 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9904 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9905 # A ".." for each directory in $ac_dir_suffix.
9906 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9907 case $ac_top_builddir_sub in
9908 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9909 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9912 ac_abs_top_builddir
=$ac_pwd
9913 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9914 # for backward compatibility:
9915 ac_top_builddir
=$ac_top_build_prefix
9918 .
) # We are building in place.
9920 ac_top_srcdir
=$ac_top_builddir_sub
9921 ac_abs_top_srcdir
=$ac_pwd ;;
9922 [\\/]* | ?
:[\\/]* ) # Absolute name.
9923 ac_srcdir
=$srcdir$ac_dir_suffix;
9924 ac_top_srcdir
=$srcdir
9925 ac_abs_top_srcdir
=$srcdir ;;
9927 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9928 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9929 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9931 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9941 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9942 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9947 # If the template does not know about datarootdir, expand it.
9948 # FIXME: This hack should be removed a few years after 2.60.
9949 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9962 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9963 *datarootdir
*) ac_datarootdir_seen
=yes;;
9964 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9965 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9966 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9969 ac_datarootdir_hack='
9970 s&@datadir@&$datadir&g
9971 s&@docdir@&$docdir&g
9972 s&@infodir@&$infodir&g
9973 s&@localedir@&$localedir&g
9974 s&@mandir@&$mandir&g
9975 s&\\\${datarootdir}&$datarootdir&g' ;;
9979 # Neutralize VPATH when `$srcdir' = `.'.
9980 # Shell code in configure.ac might set extrasub.
9981 # FIXME: do we really want to maintain this feature?
9982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9983 ac_sed_extra="$ac_vpsub
9986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9988 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9989 s|@configure_input@|
$ac_sed_conf_input|
;t t
9990 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9991 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9992 s
&@srcdir@
&$ac_srcdir&;t t
9993 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9994 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9995 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9996 s
&@builddir@
&$ac_builddir&;t t
9997 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9998 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9999 s
&@INSTALL@
&$ac_INSTALL&;t t
10000 $ac_datarootdir_hack
10002 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
10003 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
10004 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
10005 { (exit 1); exit 1; }; }
10007 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10008 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10009 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10010 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10011 which seems to be undefined. Please make sure it is defined." >&5
10012 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10013 which seems to be undefined. Please make sure it is defined." >&2;}
10017 -) cat "$tmp/out" && rm -f "$tmp/out";;
10018 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10020 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10021 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10022 { (exit 1); exit 1; }; }
10028 if test x"$ac_file" != x-; then
10030 $as_echo "/* $configure_input */" \
10031 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10032 } >"$tmp/config.h" \
10033 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10034 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10035 { (exit 1); exit 1; }; }
10036 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10037 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10038 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10041 mv "$tmp/config.h" "$ac_file" \
10042 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10043 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10044 { (exit 1); exit 1; }; }
10047 $as_echo "/* $configure_input */" \
10048 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10049 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10050 $as_echo "$as_me: error: could not create -" >&2;}
10051 { (exit 1); exit 1; }; }
10055 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10056 $as_echo "$as_me: executing $ac_file commands" >&6;}
10061 case $ac_file$ac_mode in
10063 case $CONFIG_FILES in *config.make*)
10064 echo "$config_vars" >> config.make;;
10066 test -d bits || mkdir bits ;;
10072 { (exit 0); exit 0; }
10074 chmod +x $CONFIG_STATUS
10075 ac_clean_files=$ac_clean_files_save
10077 test $ac_write_fail = 0 ||
10078 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10079 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10080 { (exit 1); exit 1; }; }
10083 # configure is writing to config.log, and then calls config.status.
10084 # config.status does its own redirection, appending to config.log.
10085 # Unfortunately, on DOS this fails, as config.log is still kept open
10086 # by configure, so config.status won't be able to
write to it
; its
10087 # output is simply discarded. So we exec the FD to /dev/null,
10088 # effectively closing config.log, so it can be properly (re)opened and
10089 # appended to by config.status. When coming back to configure, we
10090 # need to make the FD available again.
10091 if test "$no_create" != yes; then
10093 ac_config_status_args
=
10094 test "$silent" = yes &&
10095 ac_config_status_args
="$ac_config_status_args --quiet"
10097 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10099 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10100 # would make configure fail if this is the last instruction.
10101 $ac_cs_success ||
{ (exit 1); exit 1; }
10105 # CONFIG_SUBDIRS section.
10107 if test "$no_recursion" != yes; then
10109 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10110 # so they do not pile up.
10111 ac_sub_configure_args
=
10113 eval "set x $ac_configure_args"
10117 if test -n "$ac_prev"; then
10122 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
10123 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
10124 ac_prev
=cache_file
;;
10125 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
10126 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
10129 --config-cache |
-C)
10131 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
10133 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
10135 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
10137 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
10139 --disable-option-checking)
10143 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10145 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
10149 # Always prepend --prefix to ensure using the same prefix
10150 # in subdir configurations.
10151 ac_arg
="--prefix=$prefix"
10153 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10155 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
10158 if test "$silent" = yes; then
10159 ac_sub_configure_args
="--silent $ac_sub_configure_args"
10162 # Always prepend --disable-option-checking to silence warnings, since
10163 # different subdirs can have different --enable and --with options.
10164 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
10167 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
10169 # Do not complain, so a configure script can configure whichever
10170 # parts of a large source tree are present.
10171 test -d "$srcdir/$ac_dir" ||
continue
10173 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10174 $as_echo "$as_me:$LINENO: $ac_msg" >&5
10175 $as_echo "$ac_msg" >&6
10178 -*) as_dir
=.
/$as_dir;;
10180 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10184 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10185 *) as_qdir
=$as_dir;;
10187 as_dirs
="'$as_qdir' $as_dirs"
10188 as_dir
=`$as_dirname -- "$as_dir" ||
10189 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10190 X"$as_dir" : 'X\(//\)[^/]' \| \
10191 X"$as_dir" : 'X\(//\)$' \| \
10192 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10193 $as_echo X"$as_dir" |
10194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10198 /^X\(\/\/\)[^/].*/{
10211 test -d "$as_dir" && break
10213 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10214 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10215 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10216 { (exit 1); exit 1; }; }; }
10220 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10222 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10223 # A ".." for each directory in $ac_dir_suffix.
10224 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10225 case $ac_top_builddir_sub in
10226 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10227 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10230 ac_abs_top_builddir
=$ac_pwd
10231 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10232 # for backward compatibility:
10233 ac_top_builddir
=$ac_top_build_prefix
10236 .
) # We are building in place.
10238 ac_top_srcdir
=$ac_top_builddir_sub
10239 ac_abs_top_srcdir
=$ac_pwd ;;
10240 [\\/]* | ?
:[\\/]* ) # Absolute name.
10241 ac_srcdir
=$srcdir$ac_dir_suffix;
10242 ac_top_srcdir
=$srcdir
10243 ac_abs_top_srcdir
=$srcdir ;;
10244 *) # Relative name.
10245 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10246 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10247 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10249 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10254 # Check for guested configure; otherwise get Cygnus style configure.
10255 if test -f "$ac_srcdir/configure.gnu"; then
10256 ac_sub_configure
=$ac_srcdir/configure.gnu
10257 elif test -f "$ac_srcdir/configure"; then
10258 ac_sub_configure
=$ac_srcdir/configure
10259 elif test -f "$ac_srcdir/configure.in"; then
10260 # This should be Cygnus configure.
10261 ac_sub_configure
=$ac_aux_dir/configure
10263 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10264 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10268 # The recursion is here.
10269 if test -n "$ac_sub_configure"; then
10270 # Make the cache file name correct relative to the subdirectory.
10271 case $cache_file in
10272 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
10273 *) # Relative name.
10274 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
10277 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10278 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10279 # The eval makes quoting arguments work.
10280 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10281 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10282 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10283 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10284 { (exit 1); exit 1; }; }
10290 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10291 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10292 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}