2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 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 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 # Zsh 3.x and 4.x performs 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
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) ||
{ (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") ||
{
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir
-p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='GNU C Library'
577 PACKAGE_TARNAME
='c-library'
578 PACKAGE_VERSION
='(see version.h)'
579 PACKAGE_STRING
='GNU C Library (see version.h)'
580 PACKAGE_BUGREPORT
='glibc'
582 ac_unique_file
="include/features.h"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
711 libc_cv_gcc_static_libgcc
721 libc_cv_cc_with_libunwind
723 libc_cv_libgcc_s_suffix
733 libc_cv_have_initfini
736 libc_cv_cc_submachine
744 libc_cv_gcc_unwind_find_fde
753 libc_cv_forced_unwind
754 libc_cv_cpp_asm_debuginfo
774 ac_precious_vars
='build_alias
788 # Initialize some variables set by options.
790 ac_init_version
=false
791 # The variables have the same names as the options, with
792 # dashes changed to underlines.
800 program_transform_name
=s
,x
,x
,
808 # Installation directory options.
809 # These are left unexpanded so users can "make install exec_prefix=/foo"
810 # and all the variables that are supposed to be based on exec_prefix
811 # by default will actually change.
812 # Use braces instead of parens because sh, perl, etc. also accept them.
813 # (The list follows the same order as the GNU Coding Standards.)
814 bindir
='${exec_prefix}/bin'
815 sbindir
='${exec_prefix}/sbin'
816 libexecdir
='${exec_prefix}/libexec'
817 datarootdir
='${prefix}/share'
818 datadir
='${datarootdir}'
819 sysconfdir
='${prefix}/etc'
820 sharedstatedir
='${prefix}/com'
821 localstatedir
='${prefix}/var'
822 includedir
='${prefix}/include'
823 oldincludedir
='/usr/include'
824 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
825 infodir
='${datarootdir}/info'
830 libdir
='${exec_prefix}/lib'
831 localedir
='${datarootdir}/locale'
832 mandir
='${datarootdir}/man'
838 # If the previous option needs an argument, assign it.
839 if test -n "$ac_prev"; then
840 eval $ac_prev=\
$ac_option
846 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 # Accept the important Cygnus configure options, so we can diagnose typos.
852 case $ac_dashdash$ac_option in
856 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
858 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
861 -build |
--build |
--buil |
--bui |
--bu)
862 ac_prev
=build_alias
;;
863 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
864 build_alias
=$ac_optarg ;;
866 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
867 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
868 ac_prev
=cache_file
;;
869 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
870 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
871 cache_file
=$ac_optarg ;;
874 cache_file
=config.cache
;;
876 -datadir |
--datadir |
--datadi |
--datad)
878 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
879 datadir
=$ac_optarg ;;
881 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
882 |
--dataroo |
--dataro |
--datar)
883 ac_prev
=datarootdir
;;
884 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
885 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
886 datarootdir
=$ac_optarg ;;
888 -disable-* |
--disable-*)
889 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
892 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
893 { (exit 1); exit 1; }; }
894 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
895 eval enable_
$ac_feature=no
;;
897 -docdir |
--docdir |
--docdi |
--doc |
--do)
899 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
902 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
904 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
907 -enable-* |
--enable-*)
908 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
909 # Reject names that are not valid shell variable names.
910 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
911 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
912 { (exit 1); exit 1; }; }
913 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
914 eval enable_
$ac_feature=\
$ac_optarg ;;
916 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
917 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
918 |
--exec |
--exe |
--ex)
919 ac_prev
=exec_prefix
;;
920 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
921 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
922 |
--exec=* |
--exe=* |
--ex=*)
923 exec_prefix
=$ac_optarg ;;
925 -gas |
--gas |
--ga |
--g)
926 # Obsolete; use --with-gas.
929 -help |
--help |
--hel |
--he |
-h)
931 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
932 ac_init_help
=recursive
;;
933 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
934 ac_init_help
=short
;;
936 -host |
--host |
--hos |
--ho)
937 ac_prev
=host_alias
;;
938 -host=* |
--host=* |
--hos=* |
--ho=*)
939 host_alias
=$ac_optarg ;;
941 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
943 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
945 htmldir
=$ac_optarg ;;
947 -includedir |
--includedir |
--includedi |
--included |
--include \
948 |
--includ |
--inclu |
--incl |
--inc)
949 ac_prev
=includedir
;;
950 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
951 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
952 includedir
=$ac_optarg ;;
954 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
956 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
957 infodir
=$ac_optarg ;;
959 -libdir |
--libdir |
--libdi |
--libd)
961 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
964 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
965 |
--libexe |
--libex |
--libe)
966 ac_prev
=libexecdir
;;
967 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
968 |
--libexe=* |
--libex=* |
--libe=*)
969 libexecdir
=$ac_optarg ;;
971 -localedir |
--localedir |
--localedi |
--localed |
--locale)
973 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
974 localedir
=$ac_optarg ;;
976 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
977 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
978 ac_prev
=localstatedir
;;
979 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
980 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
981 localstatedir
=$ac_optarg ;;
983 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
985 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
989 # Obsolete; use --without-fp.
992 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
993 |
--no-cr |
--no-c |
-n)
996 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
997 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1000 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1001 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1002 |
--oldin |
--oldi |
--old |
--ol |
--o)
1003 ac_prev
=oldincludedir
;;
1004 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1005 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1006 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1007 oldincludedir
=$ac_optarg ;;
1009 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1011 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1012 prefix
=$ac_optarg ;;
1014 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1015 |
--program-pre |
--program-pr |
--program-p)
1016 ac_prev
=program_prefix
;;
1017 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1018 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1019 program_prefix
=$ac_optarg ;;
1021 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1022 |
--program-suf |
--program-su |
--program-s)
1023 ac_prev
=program_suffix
;;
1024 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1025 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1026 program_suffix
=$ac_optarg ;;
1028 -program-transform-name |
--program-transform-name \
1029 |
--program-transform-nam |
--program-transform-na \
1030 |
--program-transform-n |
--program-transform- \
1031 |
--program-transform |
--program-transfor \
1032 |
--program-transfo |
--program-transf \
1033 |
--program-trans |
--program-tran \
1034 |
--progr-tra |
--program-tr |
--program-t)
1035 ac_prev
=program_transform_name
;;
1036 -program-transform-name=* |
--program-transform-name=* \
1037 |
--program-transform-nam=* |
--program-transform-na=* \
1038 |
--program-transform-n=* |
--program-transform-=* \
1039 |
--program-transform=* |
--program-transfor=* \
1040 |
--program-transfo=* |
--program-transf=* \
1041 |
--program-trans=* |
--program-tran=* \
1042 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1043 program_transform_name
=$ac_optarg ;;
1045 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1047 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1048 pdfdir
=$ac_optarg ;;
1050 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1052 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1055 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1056 |
-silent |
--silent |
--silen |
--sile |
--sil)
1059 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1061 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1063 sbindir
=$ac_optarg ;;
1065 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1066 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1067 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1069 ac_prev
=sharedstatedir
;;
1070 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1071 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1072 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1074 sharedstatedir
=$ac_optarg ;;
1076 -site |
--site |
--sit)
1078 -site=* |
--site=* |
--sit=*)
1081 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1083 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1084 srcdir
=$ac_optarg ;;
1086 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1087 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1088 ac_prev
=sysconfdir
;;
1089 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1090 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1091 sysconfdir
=$ac_optarg ;;
1093 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1094 ac_prev
=target_alias
;;
1095 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1096 target_alias
=$ac_optarg ;;
1098 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1101 -version |
--version |
--versio |
--versi |
--vers |
-V)
1102 ac_init_version
=: ;;
1105 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1108 { echo "$as_me: error: invalid package name: $ac_package" >&2
1109 { (exit 1); exit 1; }; }
1110 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1111 eval with_
$ac_package=\
$ac_optarg ;;
1113 -without-* |
--without-*)
1114 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1117 { echo "$as_me: error: invalid package name: $ac_package" >&2
1118 { (exit 1); exit 1; }; }
1119 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1120 eval with_
$ac_package=no
;;
1123 # Obsolete; use --with-x.
1126 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1127 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1128 ac_prev
=x_includes
;;
1129 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1130 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1131 x_includes
=$ac_optarg ;;
1133 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1134 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1135 ac_prev
=x_libraries
;;
1136 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1137 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1138 x_libraries
=$ac_optarg ;;
1140 -*) { echo "$as_me: error: unrecognized option: $ac_option
1141 Try \`$0 --help' for more information." >&2
1142 { (exit 1); exit 1; }; }
1146 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1149 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1150 { (exit 1); exit 1; }; }
1151 eval $ac_envvar=\
$ac_optarg
1152 export $ac_envvar ;;
1155 # FIXME: should be removed in autoconf 3.0.
1156 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1158 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 if test -n "$ac_prev"; then
1166 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1167 { echo "$as_me: error: missing argument to $ac_option" >&2
1168 { (exit 1); exit 1; }; }
1171 # Be sure to have absolute directory names.
1172 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1173 datadir sysconfdir sharedstatedir localstatedir includedir \
1174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1175 libdir localedir mandir
1177 eval ac_val
=\$
$ac_var
1179 [\\/$
]* | ?
:[\\/]* ) continue;;
1180 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1182 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1183 { (exit 1); exit 1; }; }
1186 # There might be people who depend on the old broken behavior: `$host'
1187 # used to hold the argument of --host etc.
1188 # FIXME: To remove some day.
1191 target
=$target_alias
1193 # FIXME: To remove some day.
1194 if test "x$host_alias" != x
; then
1195 if test "x$build_alias" = x
; then
1196 cross_compiling
=maybe
1197 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1198 If a cross compiler is detected then cross compile mode will be used." >&2
1199 elif test "x$build_alias" != "x$host_alias"; then
1205 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1207 test "$silent" = yes && exec 6>/dev
/null
1210 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1211 ac_ls_di
=`ls -di .` &&
1212 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1213 { echo "$as_me: error: Working directory cannot be determined" >&2
1214 { (exit 1); exit 1; }; }
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 { echo "$as_me: error: pwd does not report name of working directory" >&2
1217 { (exit 1); exit 1; }; }
1220 # Find the source files, if location was not specified.
1221 if test -z "$srcdir"; then
1222 ac_srcdir_defaulted
=yes
1223 # Try the directory containing this script, then the parent directory.
1224 ac_confdir
=`$as_dirname -- "$0" ||
1225 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1226 X"$0" : 'X\(//\)[^/]' \| \
1227 X"$0" : 'X\(//\)$' \| \
1228 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1248 if test ! -r "$srcdir/$ac_unique_file"; then
1252 ac_srcdir_defaulted
=no
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1256 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1257 { (exit 1); exit 1; }; }
1259 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1261 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1262 { (exit 1); exit 1; }; }
1264 # When building in place, set srcdir=.
1265 if test "$ac_abs_confdir" = "$ac_pwd"; then
1268 # Remove unnecessary trailing slashes from srcdir.
1269 # Double slashes in file names in object file debugging info
1270 # mess up M-x gdb in Emacs.
1272 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1274 for ac_var
in $ac_precious_vars; do
1275 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1276 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1277 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1278 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1282 # Report the --help message.
1284 if test "$ac_init_help" = "long"; then
1285 # Omit some internal or obsolete options to make the list less imposing.
1286 # This message is too long to be a string in the A/UX 3.1 sh.
1288 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1290 Usage: $0 [OPTION]... [VAR=VALUE]...
1292 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1293 VAR=VALUE. See below for descriptions of some of the useful variables.
1295 Defaults for the options are specified in brackets.
1298 -h, --help display this help and exit
1299 --help=short display options specific to this package
1300 --help=recursive display the short help of all the included packages
1301 -V, --version display version information and exit
1302 -q, --quiet, --silent do not print \`checking...' messages
1303 --cache-file=FILE cache test results in FILE [disabled]
1304 -C, --config-cache alias for \`--cache-file=config.cache'
1305 -n, --no-create do not create output files
1306 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1308 Installation directories:
1309 --prefix=PREFIX install architecture-independent files in PREFIX
1310 [$ac_default_prefix]
1311 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1314 By default, \`make install' will install all the files in
1315 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1316 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1317 for instance \`--prefix=\$HOME'.
1319 For better control, use the options below.
1321 Fine tuning of the installation directories:
1322 --bindir=DIR user executables [EPREFIX/bin]
1323 --sbindir=DIR system admin executables [EPREFIX/sbin]
1324 --libexecdir=DIR program executables [EPREFIX/libexec]
1325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1327 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1328 --libdir=DIR object code libraries [EPREFIX/lib]
1329 --includedir=DIR C header files [PREFIX/include]
1330 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1331 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1332 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1333 --infodir=DIR info documentation [DATAROOTDIR/info]
1334 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1335 --mandir=DIR man documentation [DATAROOTDIR/man]
1336 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1337 --htmldir=DIR html documentation [DOCDIR]
1338 --dvidir=DIR dvi documentation [DOCDIR]
1339 --pdfdir=DIR pdf documentation [DOCDIR]
1340 --psdir=DIR ps documentation [DOCDIR]
1346 --build=BUILD configure
for building on BUILD
[guessed
]
1347 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1351 if test -n "$ac_init_help"; then
1352 case $ac_init_help in
1353 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1358 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1359 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1360 --disable-sanity-checks really
do not use threads
(should not be used except
1361 in special situations
) [default
=yes]
1362 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
1364 --enable-shared build shared library
[default
=yes if GNU ld
& ELF
]
1365 --enable-profile build profiled library
[default
=no
]
1366 --enable-omitfp build undebuggable optimized library
[default
=no
]
1367 --enable-bounded build with runtime bounds checking
[default
=no
]
1368 --disable-versioning do not include versioning information
in the library
1369 objects
[default
=yes if supported
]
1370 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
1371 [default
=glibc default
]
1372 --enable-stackguard-randomization
1373 initialize __stack_chk_guard canary with a random
1374 number
at program start
1375 --enable-add-ons[=DIRS...
]
1376 configure and build add-ons
in DIR1
,DIR2
,... search
1377 for add-ons
if no parameter given
1378 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1379 --enable-bind-now disable lazy relocations
in DSOs
1380 --enable-static-nss build static NSS modules
[default
=no
]
1381 --disable-force-install don
't force installation of files from this package,
1382 even if they are older than the installed files
1383 --enable-kernel=VERSION compile for compatibility with kernel not older than
1385 --enable-all-warnings enable all useful warnings gcc can issue
1386 --enable-multi-arch enable single DSO with optimizations for multiple
1388 --enable-experimental-malloc
1389 enable experimental malloc features
1390 --enable-nss-crypt enable libcrypt to use nss
1393 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1394 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1395 --with-gd=DIR find libgd include dir and library with prefix DIR
1396 --with-gd-include=DIR find libgd include files in DIR
1397 --with-gd-lib=DIR find libgd library files in DIR
1398 --with-fp if using floating-point hardware [default=yes]
1399 --with-binutils=PATH specify location of binutils (as and ld)
1400 --with-elf if using the ELF object format
1401 --with-selinux if building with SELinux support
1402 --with-xcoff if using the XCOFF object format
1403 --without-cvs if CVS should not be used
1404 --with-headers=PATH location of system headers to use (for example
1405 /usr/src/linux/include) [default=compiler default]
1406 --with-tls enable support for TLS
1407 --without-__thread do not use TLS features even when supporting them
1408 --with-cpu=CPU select code for CPU variant
1410 Some influential environment variables:
1411 CC C compiler command
1412 CFLAGS C compiler flags
1413 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1414 nonstandard directory <lib dir>
1415 LIBS libraries to pass to the linker, e.g. -l<library>
1416 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1417 you have headers in a nonstandard directory <include dir>
1419 CXX C++ compiler command
1420 CXXFLAGS C++ compiler flags
1422 Use these variables to override the choices made by `configure' or to
help
1423 it to
find libraries and programs with nonstandard names
/locations.
1425 Report bugs to
<glibc
>.
1430 if test "$ac_init_help" = "recursive"; then
1431 # If there are subdirs, report their specific --help.
1432 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1433 test -d "$ac_dir" ||
continue
1437 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1439 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1444 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1447 ac_abs_top_builddir
=$ac_pwd
1448 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir
=$ac_top_build_prefix
1453 .
) # We are building in place.
1455 ac_top_srcdir
=$ac_top_builddir_sub
1456 ac_abs_top_srcdir
=$ac_pwd ;;
1457 [\\/]* | ?
:[\\/]* ) # Absolute name.
1458 ac_srcdir
=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir
=$srcdir
1460 ac_abs_top_srcdir
=$srcdir ;;
1462 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1466 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1477 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1486 GNU C Library configure
(see version.h
)
1487 generated by GNU Autoconf
2.61
1489 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1490 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1491 This configure
script is free software
; the Free Software Foundation
1492 gives unlimited permission to copy
, distribute and modify it.
1496 cat >config.log
<<_ACEOF
1497 This file contains any messages produced by compilers while
1498 running configure, to aid debugging if configure makes a mistake.
1500 It was created by GNU C Library $as_me (see version.h), which was
1501 generated by GNU Autoconf 2.61. Invocation command line was
1513 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1514 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1515 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1516 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1517 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1519 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1520 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1522 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1523 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1524 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1525 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1526 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1527 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1528 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1536 test -z "$as_dir" && as_dir
=.
1537 echo "PATH: $as_dir"
1553 # Keep a trace of the command line.
1554 # Strip out --no-create and --no-recursion so they do not pile up.
1555 # Strip out --silent because we don't want to record it for future runs.
1556 # Also quote any args containing shell meta-characters.
1557 # Make two passes to allow for proper duplicate-argument suppression.
1561 ac_must_keep_next
=false
1567 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1568 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1569 |
-silent |
--silent |
--silen |
--sile |
--sil)
1572 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1575 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1577 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1578 if test $ac_must_keep_next = true
; then
1579 ac_must_keep_next
=false
# Got value, back to normal.
1582 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1583 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1584 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1585 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1586 case "$ac_configure_args0 " in
1587 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1590 -* ) ac_must_keep_next
=true
;;
1593 ac_configure_args
="$ac_configure_args '$ac_arg'"
1598 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1599 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1601 # When interrupted or exit'd, cleanup temporary files, and complete
1602 # config.log. We remove comments because anyway the quotes in there
1603 # would cause problems or look ugly.
1604 # WARNING: Use '\'' to represent an apostrophe within the trap.
1605 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1606 trap 'exit_status=$?
1607 # Save into config.log some information that might help in debugging.
1612 ## ---------------- ##
1613 ## Cache variables. ##
1614 ## ---------------- ##
1617 # The following way of writing the cache mishandles newlines in values,
1619 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1620 eval ac_val=\$$ac_var
1624 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1625 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1628 _ | IFS | as_nl) ;; #(
1629 *) $as_unset $ac_var ;;
1634 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1635 *${as_nl}ac_space=\ *)
1637 "s/'\''/'\''\\\\'\'''\''/g;
1638 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1641 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1649 ## ----------------- ##
1650 ## Output variables. ##
1651 ## ----------------- ##
1654 for ac_var in $ac_subst_vars
1656 eval ac_val=\$$ac_var
1658 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1660 echo "$ac_var='\''$ac_val'\''"
1664 if test -n "$ac_subst_files"; then
1666 ## ------------------- ##
1667 ## File substitutions. ##
1668 ## ------------------- ##
1671 for ac_var
in $ac_subst_files
1673 eval ac_val
=\$
$ac_var
1675 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1677 echo "$ac_var='\''$ac_val'\''"
1682 if test -s confdefs.h; then
1692 test "$ac_signal" != 0 &&
1693 echo "$as_me: caught signal $ac_signal"
1694 echo "$as_me: exit $exit_status"
1696 rm -f core *.core core.conftest.* &&
1697 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1700 for ac_signal
in 1 2 13 15; do
1701 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1705 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1706 rm -f -r conftest
* confdefs.h
1708 # Predefined preprocessor variables.
1710 cat >>confdefs.h
<<_ACEOF
1711 #define PACKAGE_NAME "$PACKAGE_NAME"
1715 cat >>confdefs.h
<<_ACEOF
1716 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1720 cat >>confdefs.h
<<_ACEOF
1721 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1725 cat >>confdefs.h
<<_ACEOF
1726 #define PACKAGE_STRING "$PACKAGE_STRING"
1730 cat >>confdefs.h
<<_ACEOF
1731 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1735 # Let the site file select an alternate cache file if it wants to.
1736 # Prefer explicitly selected file to automatically selected ones.
1737 if test -n "$CONFIG_SITE"; then
1738 set x
"$CONFIG_SITE"
1739 elif test "x$prefix" != xNONE
; then
1740 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1742 set x
"$ac_default_prefix/share/config.site" \
1743 "$ac_default_prefix/etc/config.site"
1748 if test -r "$ac_site_file"; then
1749 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1750 echo "$as_me: loading site script $ac_site_file" >&6;}
1751 sed 's/^/| /' "$ac_site_file" >&5
1756 if test -r "$cache_file"; then
1757 # Some versions of bash will fail to source /dev/null (special
1758 # files actually), so we avoid doing that.
1759 if test -f "$cache_file"; then
1760 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1761 echo "$as_me: loading cache $cache_file" >&6;}
1763 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1764 *) .
"./$cache_file";;
1768 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1769 echo "$as_me: creating cache $cache_file" >&6;}
1773 # Check that the precious variables saved in the cache have kept the same
1775 ac_cache_corrupted
=false
1776 for ac_var
in $ac_precious_vars; do
1777 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1778 eval ac_new_set
=\
$ac_env_${ac_var}_set
1779 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1780 eval ac_new_val
=\
$ac_env_${ac_var}_value
1781 case $ac_old_set,$ac_new_set in
1783 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1784 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1785 ac_cache_corrupted
=: ;;
1787 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1788 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1789 ac_cache_corrupted
=: ;;
1792 if test "x$ac_old_val" != "x$ac_new_val"; then
1793 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1794 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1795 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1796 echo "$as_me: former value: $ac_old_val" >&2;}
1797 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1798 echo "$as_me: current value: $ac_new_val" >&2;}
1799 ac_cache_corrupted
=:
1802 # Pass precious variables to config.status.
1803 if test "$ac_new_set" = set; then
1805 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1806 *) ac_arg
=$ac_var=$ac_new_val ;;
1808 case " $ac_configure_args " in
1809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1810 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1814 if $ac_cache_corrupted; then
1815 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1816 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1817 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1818 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1819 { (exit 1); exit 1; }; }
1847 ac_cpp
='$CPP $CPPFLAGS'
1848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1854 ac_config_headers
="$ac_config_headers config.h"
1857 for ac_dir
in scripts
"$srcdir"/scripts
; do
1858 if test -f "$ac_dir/install-sh"; then
1860 ac_install_sh
="$ac_aux_dir/install-sh -c"
1862 elif test -f "$ac_dir/install.sh"; then
1864 ac_install_sh
="$ac_aux_dir/install.sh -c"
1866 elif test -f "$ac_dir/shtool"; then
1868 ac_install_sh
="$ac_aux_dir/shtool install -c"
1872 if test -z "$ac_aux_dir"; then
1873 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
1874 echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
1875 { (exit 1); exit 1; }; }
1878 # These three variables are undocumented and unsupported,
1879 # and are intended to be withdrawn in a future Autoconf release.
1880 # They can cause serious problems if a builder's source tree is in a directory
1881 # whose full name contains unusual characters.
1882 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1883 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1884 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889 ac_cpp
='$CPP $CPPFLAGS'
1890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1893 if test -n "$ac_tool_prefix"; then
1894 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1895 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1898 if test "${ac_cv_prog_CC+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 if test -n "$CC"; then
1902 ac_cv_prog_CC
="$CC" # Let the user override the test.
1904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1908 test -z "$as_dir" && as_dir
=.
1909 for ac_exec_ext
in '' $ac_executable_extensions; do
1910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1911 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922 if test -n "$CC"; then
1923 { echo "$as_me:$LINENO: result: $CC" >&5
1924 echo "${ECHO_T}$CC" >&6; }
1926 { echo "$as_me:$LINENO: result: no" >&5
1927 echo "${ECHO_T}no" >&6; }
1932 if test -z "$ac_cv_prog_CC"; then
1934 # Extract the first word of "gcc", so it can be a program name with args.
1935 set dummy gcc
; ac_word
=$2
1936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1938 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$ac_ct_CC"; then
1942 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir
=.
1949 for ac_exec_ext
in '' $ac_executable_extensions; do
1950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1951 ac_cv_prog_ac_ct_CC
="gcc"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1962 if test -n "$ac_ct_CC"; then
1963 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1964 echo "${ECHO_T}$ac_ct_CC" >&6; }
1966 { echo "$as_me:$LINENO: result: no" >&5
1967 echo "${ECHO_T}no" >&6; }
1970 if test "x$ac_ct_CC" = x
; then
1973 case $cross_compiling:$ac_tool_warned in
1975 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1976 whose name does not start with the host triplet. If you think this
1977 configuration is useful to you, please write to autoconf@gnu.org." >&5
1978 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1979 whose name does not start with the host triplet. If you think this
1980 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1981 ac_tool_warned
=yes ;;
1989 if test -z "$CC"; then
1990 if test -n "$ac_tool_prefix"; then
1991 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1992 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1995 if test "${ac_cv_prog_CC+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 if test -n "$CC"; then
1999 ac_cv_prog_CC
="$CC" # Let the user override the test.
2001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2005 test -z "$as_dir" && as_dir
=.
2006 for ac_exec_ext
in '' $ac_executable_extensions; do
2007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2008 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019 if test -n "$CC"; then
2020 { echo "$as_me:$LINENO: result: $CC" >&5
2021 echo "${ECHO_T}$CC" >&6; }
2023 { echo "$as_me:$LINENO: result: no" >&5
2024 echo "${ECHO_T}no" >&6; }
2030 if test -z "$CC"; then
2031 # Extract the first word of "cc", so it can be a program name with args.
2032 set dummy cc
; ac_word
=$2
2033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2035 if test "${ac_cv_prog_CC+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 if test -n "$CC"; then
2039 ac_cv_prog_CC
="$CC" # Let the user override the test.
2042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir
=.
2047 for ac_exec_ext
in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2049 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2050 ac_prog_rejected
=yes
2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 if test $ac_prog_rejected = yes; then
2062 # We found a bogon in the path, so make sure we never use it.
2063 set dummy
$ac_cv_prog_CC
2065 if test $# != 0; then
2066 # We chose a different compiler from the bogus one.
2067 # However, it has the same basename, so the bogon will be chosen
2068 # first if we set CC to just the basename; use the full file name.
2070 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2076 if test -n "$CC"; then
2077 { echo "$as_me:$LINENO: result: $CC" >&5
2078 echo "${ECHO_T}$CC" >&6; }
2080 { echo "$as_me:$LINENO: result: no" >&5
2081 echo "${ECHO_T}no" >&6; }
2086 if test -z "$CC"; then
2087 if test -n "$ac_tool_prefix"; then
2088 for ac_prog
in cl.exe
2090 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2091 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2094 if test "${ac_cv_prog_CC+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 if test -n "$CC"; then
2098 ac_cv_prog_CC
="$CC" # Let the user override the test.
2100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir
=.
2105 for ac_exec_ext
in '' $ac_executable_extensions; do
2106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2107 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 if test -n "$CC"; then
2119 { echo "$as_me:$LINENO: result: $CC" >&5
2120 echo "${ECHO_T}$CC" >&6; }
2122 { echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6; }
2127 test -n "$CC" && break
2130 if test -z "$CC"; then
2132 for ac_prog
in cl.exe
2134 # Extract the first word of "$ac_prog", so it can be a program name with args.
2135 set dummy
$ac_prog; ac_word
=$2
2136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2138 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 if test -n "$ac_ct_CC"; then
2142 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir
=.
2149 for ac_exec_ext
in '' $ac_executable_extensions; do
2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2151 ac_cv_prog_ac_ct_CC
="$ac_prog"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2162 if test -n "$ac_ct_CC"; then
2163 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2164 echo "${ECHO_T}$ac_ct_CC" >&6; }
2166 { echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6; }
2171 test -n "$ac_ct_CC" && break
2174 if test "x$ac_ct_CC" = x
; then
2177 case $cross_compiling:$ac_tool_warned in
2179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2180 whose name does not start with the host triplet. If you think this
2181 configuration is useful to you, please write to autoconf@gnu.org." >&5
2182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2183 whose name does not start with the host triplet. If you think this
2184 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2185 ac_tool_warned
=yes ;;
2194 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2195 See \`config.log' for more details." >&5
2196 echo "$as_me: error: no acceptable C compiler found in \$PATH
2197 See \`config.log' for more details." >&2;}
2198 { (exit 1); exit 1; }; }
2200 # Provide some information about the compiler.
2201 echo "$as_me:$LINENO: checking for C compiler version" >&5
2202 ac_compiler
=`set X $ac_compile; echo $2`
2203 { (ac_try
="$ac_compiler --version >&5"
2205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2206 *) ac_try_echo=$ac_try;;
2208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2209 (eval "$ac_compiler --version >&5") 2>&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }
2213 { (ac_try="$ac_compiler -v >&5"
2215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2216 *) ac_try_echo
=$ac_try;;
2218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2219 (eval "$ac_compiler -v >&5") 2>&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); }
2223 { (ac_try
="$ac_compiler -V >&5"
2225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2226 *) ac_try_echo=$ac_try;;
2228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2229 (eval "$ac_compiler -V >&5") 2>&5
2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232 (exit $ac_status); }
2235 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2237 if test "${ac_cv_objext+set}" = set; then
2238 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 cat >conftest.$ac_ext <<_ACEOF
2243 cat confdefs.h >>conftest.$ac_ext
2244 cat >>conftest.$ac_ext <<_ACEOF
2245 /* end confdefs.h. */
2255 rm -f conftest.o conftest.obj
2256 if { (ac_try="$ac_compile"
2258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2259 *) ac_try_echo
=$ac_try;;
2261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2262 (eval "$ac_compile") 2>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; then
2266 for ac_file
in conftest.o conftest.obj conftest.
*; do
2267 test -f "$ac_file" ||
continue;
2269 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf
) ;;
2270 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2275 echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.
$ac_ext >&5
2278 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2279 See \`config.log' for more details." >&5
2280 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2281 See \`config.log' for more details." >&2;}
2282 { (exit 1); exit 1; }; }
2285 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2287 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2288 echo "${ECHO_T}$ac_cv_objext" >&6; }
2289 OBJEXT
=$ac_cv_objext
2291 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2292 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2293 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 cat >conftest.
$ac_ext <<_ACEOF
2299 cat confdefs.h
>>conftest.
$ac_ext
2300 cat >>conftest.
$ac_ext <<_ACEOF
2301 /* end confdefs.h. */
2314 rm -f conftest.
$ac_objext
2315 if { (ac_try
="$ac_compile"
2317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2318 *) ac_try_echo=$ac_try;;
2320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2321 (eval "$ac_compile") 2>conftest.er1
2323 grep -v '^ *+' conftest.er1 >conftest.err
2325 cat conftest.err >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); } && {
2328 test -z "$ac_c_werror_flag" ||
2329 test ! -s conftest.err
2330 } && test -s conftest.$ac_objext; then
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.$ac_ext >&5
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2343 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2344 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2345 GCC=`test $ac_compiler_gnu = yes && echo yes`
2346 ac_test_CFLAGS=${CFLAGS+set}
2347 ac_save_CFLAGS=$CFLAGS
2348 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2349 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2350 if test "${ac_cv_prog_cc_g+set}" = set; then
2351 echo $ECHO_N "(cached) $ECHO_C" >&6
2353 ac_save_c_werror_flag=$ac_c_werror_flag
2354 ac_c_werror_flag=yes
2357 cat >conftest.$ac_ext <<_ACEOF
2360 cat confdefs.h >>conftest.$ac_ext
2361 cat >>conftest.$ac_ext <<_ACEOF
2362 /* end confdefs.h. */
2372 rm -f conftest.$ac_objext
2373 if { (ac_try="$ac_compile"
2375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2376 *) ac_try_echo
=$ac_try;;
2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compile") 2>conftest.er1
2381 grep -v '^ *+' conftest.er1
>conftest.err
2383 cat conftest.err
>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); } && {
2386 test -z "$ac_c_werror_flag" ||
2387 test ! -s conftest.err
2388 } && test -s conftest.
$ac_objext; then
2391 echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.
$ac_ext >&5
2395 cat >conftest.
$ac_ext <<_ACEOF
2398 cat confdefs.h
>>conftest.
$ac_ext
2399 cat >>conftest.
$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2410 rm -f conftest.
$ac_objext
2411 if { (ac_try
="$ac_compile"
2413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_compile") 2>conftest.er1
2419 grep -v '^ *+' conftest.er1 >conftest.err
2421 cat conftest.err >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); } && {
2424 test -z "$ac_c_werror_flag" ||
2425 test ! -s conftest.err
2426 } && test -s conftest.$ac_objext; then
2429 echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2432 ac_c_werror_flag=$ac_save_c_werror_flag
2434 cat >conftest.$ac_ext <<_ACEOF
2437 cat confdefs.h >>conftest.$ac_ext
2438 cat >>conftest.$ac_ext <<_ACEOF
2439 /* end confdefs.h. */
2449 rm -f conftest.$ac_objext
2450 if { (ac_try="$ac_compile"
2452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2453 *) ac_try_echo
=$ac_try;;
2455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2456 (eval "$ac_compile") 2>conftest.er1
2458 grep -v '^ *+' conftest.er1
>conftest.err
2460 cat conftest.err
>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } && {
2463 test -z "$ac_c_werror_flag" ||
2464 test ! -s conftest.err
2465 } && test -s conftest.
$ac_objext; then
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2481 ac_c_werror_flag
=$ac_save_c_werror_flag
2483 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2484 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2485 if test "$ac_test_CFLAGS" = set; then
2486 CFLAGS
=$ac_save_CFLAGS
2487 elif test $ac_cv_prog_cc_g = yes; then
2488 if test "$GCC" = yes; then
2494 if test "$GCC" = yes; then
2500 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2501 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2502 if test "${ac_cv_prog_cc_c89+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 ac_cv_prog_cc_c89
=no
2507 cat >conftest.
$ac_ext <<_ACEOF
2510 cat confdefs.h
>>conftest.
$ac_ext
2511 cat >>conftest.
$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2515 #include <sys/types.h>
2516 #include <sys/stat.h>
2517 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2518 struct buf { int x; };
2519 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2520 static char *e (p, i)
2526 static char *f (char * (*g) (char **, int), char **p, ...)
2531 s = g (p, va_arg (v,int));
2536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2537 function prototypes and stuff, but not '\xHH' hex character constants.
2538 These don't provoke an error unfortunately, instead are silently treated
2539 as 'x'. The following induces an error, until -std is added to get
2540 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2541 array size at least. It's necessary to write '\x00'==0 to get something
2542 that's true only with -std. */
2543 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2545 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2546 inside strings and character constants. */
2548 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2550 int test (int i, double x);
2551 struct s1 {int (*f) (int a);};
2552 struct s2 {int (*f) (double a);};
2553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2564 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2565 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2567 CC
="$ac_save_CC $ac_arg"
2568 rm -f conftest.
$ac_objext
2569 if { (ac_try
="$ac_compile"
2571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2575 (eval "$ac_compile") 2>conftest.er1
2577 grep -v '^ *+' conftest.er1 >conftest.err
2579 cat conftest.err >&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); } && {
2582 test -z "$ac_c_werror_flag" ||
2583 test ! -s conftest.err
2584 } && test -s conftest.$ac_objext; then
2585 ac_cv_prog_cc_c89=$ac_arg
2587 echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2593 rm -f core conftest.err conftest.$ac_objext
2594 test "x$ac_cv_prog_cc_c89" != "xno" && break
2596 rm -f conftest.$ac_ext
2601 case "x$ac_cv_prog_cc_c89" in
2603 { echo "$as_me:$LINENO: result: none needed" >&5
2604 echo "${ECHO_T}none needed" >&6; } ;;
2606 { echo "$as_me:$LINENO: result: unsupported" >&5
2607 echo "${ECHO_T}unsupported" >&6; } ;;
2609 CC="$CC $ac_cv_prog_cc_c89"
2610 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2611 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2616 ac_cpp='$CPP $CPPFLAGS'
2617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2621 if test $host != $build; then
2622 for ac_prog in gcc cc
2624 # Extract the first word of "$ac_prog", so it can be a program name with args.
2625 set dummy $ac_prog; ac_word=$2
2626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2628 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 if test -n "$BUILD_CC"; then
2632 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir=.
2639 for ac_exec_ext in '' $ac_executable_extensions; do
2640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2641 ac_cv_prog_BUILD_CC="$ac_prog"
2642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 BUILD_CC=$ac_cv_prog_BUILD_CC
2652 if test -n "$BUILD_CC"; then
2653 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2654 echo "${ECHO_T}$BUILD_CC" >&6; }
2656 { echo "$as_me:$LINENO: result: no" >&5
2657 echo "${ECHO_T}no" >&6; }
2661 test -n "$BUILD_CC" && break
2667 ac_cpp='$CPP $CPPFLAGS'
2668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2671 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2672 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2673 # On Suns, sometimes $CPP names a directory.
2674 if test -n "$CPP" && test -d "$CPP"; then
2677 if test -z "$CPP"; then
2678 if test "${ac_cv_prog_CPP+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 # Double quotes because CPP needs to be expanded
2682 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2685 for ac_c_preproc_warn_flag in '' yes
2687 # Use a header file that comes with gcc, so configuring glibc
2688 # with a fresh cross-compiler works.
2689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2690 # <limits.h> exists even on freestanding compilers.
2691 # On the NeXT, cc -E runs the code through the compiler's parser,
2692 # not just through cpp. "Syntax error" is here to catch this case.
2693 cat >conftest.$ac_ext <<_ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2700 # include <limits.h>
2702 # include <assert.h>
2706 if { (ac_try="$ac_cpp conftest.$ac_ext"
2708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2709 *) ac_try_echo
=$ac_try;;
2711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2714 grep -v '^ *+' conftest.er1
>conftest.err
2716 cat conftest.err
>&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); } >/dev
/null
&& {
2719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2720 test ! -s conftest.err
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.
$ac_ext >&5
2727 # Broken: fails on valid input.
2731 rm -f conftest.err conftest.
$ac_ext
2733 # OK, works on sane cases. Now check whether nonexistent headers
2734 # can be detected and how.
2735 cat >conftest.
$ac_ext <<_ACEOF
2738 cat confdefs.h
>>conftest.
$ac_ext
2739 cat >>conftest.
$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2741 #include <ac_nonexistent.h>
2743 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2751 grep -v '^ *+' conftest.er1 >conftest.err
2753 cat conftest.err >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); } >/dev/null && {
2756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2757 test ! -s conftest.err
2759 # Broken: success on invalid input.
2762 echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.$ac_ext >&5
2765 # Passes both tests.
2770 rm -f conftest.err conftest.$ac_ext
2773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2774 rm -f conftest.err conftest.
$ac_ext
2775 if $ac_preproc_ok; then
2787 { echo "$as_me:$LINENO: result: $CPP" >&5
2788 echo "${ECHO_T}$CPP" >&6; }
2790 for ac_c_preproc_warn_flag
in '' yes
2792 # Use a header file that comes with gcc, so configuring glibc
2793 # with a fresh cross-compiler works.
2794 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2795 # <limits.h> exists even on freestanding compilers.
2796 # On the NeXT, cc -E runs the code through the compiler's parser,
2797 # not just through cpp. "Syntax error" is here to catch this case.
2798 cat >conftest.
$ac_ext <<_ACEOF
2801 cat confdefs.h
>>conftest.
$ac_ext
2802 cat >>conftest.
$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2805 # include <limits.h>
2807 # include <assert.h>
2811 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2819 grep -v '^ *+' conftest.er1 >conftest.err
2821 cat conftest.err >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); } >/dev/null && {
2824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2825 test ! -s conftest.err
2829 echo "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.$ac_ext >&5
2832 # Broken: fails on valid input.
2836 rm -f conftest.err conftest.$ac_ext
2838 # OK, works on sane cases. Now check whether nonexistent headers
2839 # can be detected and how.
2840 cat >conftest.$ac_ext <<_ACEOF
2843 cat confdefs.h >>conftest.$ac_ext
2844 cat >>conftest.$ac_ext <<_ACEOF
2845 /* end confdefs.h. */
2846 #include <ac_nonexistent.h>
2848 if { (ac_try="$ac_cpp conftest.$ac_ext"
2850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2851 *) ac_try_echo
=$ac_try;;
2853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2856 grep -v '^ *+' conftest.er1
>conftest.err
2858 cat conftest.err
>&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); } >/dev
/null
&& {
2861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2862 test ! -s conftest.err
2864 # Broken: success on invalid input.
2867 echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.
$ac_ext >&5
2870 # Passes both tests.
2875 rm -f conftest.err conftest.
$ac_ext
2878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2879 rm -f conftest.err conftest.
$ac_ext
2880 if $ac_preproc_ok; then
2883 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2884 See \`config.log' for more details." >&5
2885 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2886 See \`config.log' for more details." >&2;}
2887 { (exit 1); exit 1; }; }
2891 ac_cpp
='$CPP $CPPFLAGS'
2892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2896 # We need the C++ compiler only for testing.
2898 ac_cpp
='$CXXCPP $CPPFLAGS'
2899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2902 if test -z "$CXX"; then
2903 if test -n "$CCC"; then
2906 if test -n "$ac_tool_prefix"; then
2907 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2910 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2913 if test "${ac_cv_prog_CXX+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 if test -n "$CXX"; then
2917 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$CXX"; then
2938 { echo "$as_me:$LINENO: result: $CXX" >&5
2939 echo "${ECHO_T}$CXX" >&6; }
2941 { echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6; }
2946 test -n "$CXX" && break
2949 if test -z "$CXX"; then
2951 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2953 # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 set dummy
$ac_prog; ac_word
=$2
2955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2957 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 if test -n "$ac_ct_CXX"; then
2961 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2981 if test -n "$ac_ct_CXX"; then
2982 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2983 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2985 { echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6; }
2990 test -n "$ac_ct_CXX" && break
2993 if test "x$ac_ct_CXX" = x
; then
2996 case $cross_compiling:$ac_tool_warned in
2998 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2999 whose name does not start with the host triplet. If you think this
3000 configuration is useful to you, please write to autoconf@gnu.org." >&5
3001 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3002 whose name does not start with the host triplet. If you think this
3003 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3004 ac_tool_warned
=yes ;;
3012 # Provide some information about the compiler.
3013 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3014 ac_compiler
=`set X $ac_compile; echo $2`
3015 { (ac_try
="$ac_compiler --version >&5"
3017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3021 (eval "$ac_compiler --version >&5") 2>&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }
3025 { (ac_try="$ac_compiler -v >&5"
3027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3028 *) ac_try_echo
=$ac_try;;
3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031 (eval "$ac_compiler -v >&5") 2>&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }
3035 { (ac_try
="$ac_compiler -V >&5"
3037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3041 (eval "$ac_compiler -V >&5") 2>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }
3046 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3047 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3048 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 cat >conftest.$ac_ext <<_ACEOF
3054 cat confdefs.h >>conftest.$ac_ext
3055 cat >>conftest.$ac_ext <<_ACEOF
3056 /* end confdefs.h. */
3069 rm -f conftest.$ac_objext
3070 if { (ac_try="$ac_compile"
3072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3073 *) ac_try_echo
=$ac_try;;
3075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3076 (eval "$ac_compile") 2>conftest.er1
3078 grep -v '^ *+' conftest.er1
>conftest.err
3080 cat conftest.err
>&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } && {
3083 test -z "$ac_cxx_werror_flag" ||
3084 test ! -s conftest.err
3085 } && test -s conftest.
$ac_objext; then
3088 echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.
$ac_ext >&5
3094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3095 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3098 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3099 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3100 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3101 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3102 ac_save_CXXFLAGS
=$CXXFLAGS
3103 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3104 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3105 if test "${ac_cv_prog_cxx_g+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3108 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3109 ac_cxx_werror_flag
=yes
3112 cat >conftest.
$ac_ext <<_ACEOF
3115 cat confdefs.h
>>conftest.
$ac_ext
3116 cat >>conftest.
$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3127 rm -f conftest.
$ac_objext
3128 if { (ac_try
="$ac_compile"
3130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3131 *) ac_try_echo=$ac_try;;
3133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3134 (eval "$ac_compile") 2>conftest.er1
3136 grep -v '^ *+' conftest.er1 >conftest.err
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } && {
3141 test -z "$ac_cxx_werror_flag" ||
3142 test ! -s conftest.err
3143 } && test -s conftest.$ac_objext; then
3144 ac_cv_prog_cxx_g=yes
3146 echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3150 cat >conftest.$ac_ext <<_ACEOF
3153 cat confdefs.h >>conftest.$ac_ext
3154 cat >>conftest.$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3165 rm -f conftest.$ac_objext
3166 if { (ac_try="$ac_compile"
3168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3169 *) ac_try_echo
=$ac_try;;
3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3172 (eval "$ac_compile") 2>conftest.er1
3174 grep -v '^ *+' conftest.er1
>conftest.err
3176 cat conftest.err
>&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); } && {
3179 test -z "$ac_cxx_werror_flag" ||
3180 test ! -s conftest.err
3181 } && test -s conftest.
$ac_objext; then
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.
$ac_ext >&5
3187 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3189 cat >conftest.
$ac_ext <<_ACEOF
3192 cat confdefs.h
>>conftest.
$ac_ext
3193 cat >>conftest.
$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3204 rm -f conftest.
$ac_objext
3205 if { (ac_try
="$ac_compile"
3207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3211 (eval "$ac_compile") 2>conftest.er1
3213 grep -v '^ *+' conftest.er1 >conftest.err
3215 cat conftest.err >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); } && {
3218 test -z "$ac_cxx_werror_flag" ||
3219 test ! -s conftest.err
3220 } && test -s conftest.$ac_objext; then
3221 ac_cv_prog_cxx_g=yes
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3238 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3239 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3240 if test "$ac_test_CXXFLAGS" = set; then
3241 CXXFLAGS=$ac_save_CXXFLAGS
3242 elif test $ac_cv_prog_cxx_g = yes; then
3243 if test "$GXX" = yes; then
3249 if test "$GXX" = yes; then
3256 ac_cpp='$CPP $CPPFLAGS'
3257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3262 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3263 { { echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3264 echo "$as_me: error: you must configure in a separate build directory" >&2;}
3265 { (exit 1); exit 1; }; }
3268 # This will get text that should go into config.make.
3271 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3273 # Check whether --with-gd was given.
3274 if test "${with_gd+set}" = set; then
3275 withval=$with_gd; case "$with_gd" in
3277 *) libgd_include="-I$withval/include"
3278 libgd_ldflags="-L$withval/lib" ;;
3284 # Check whether --with-gd-include was given.
3285 if test "${with_gd_include+set}" = set; then
3286 withval=$with_gd_include; case "$with_gd_include" in
3288 *) libgd_include="-I$withval" ;;
3294 # Check whether --with-gd-lib was given.
3295 if test "${with_gd_lib+set}" = set; then
3296 withval=$with_gd_lib; case "$with_gd_lib" in
3298 *) libgd_ldflags="-L$withval" ;;
3304 if test -n "$libgd_include"; then
3305 config_vars="$config_vars
3306 CFLAGS-memusagestat.c = $libgd_include"
3308 if test -n "$libgd_ldflags"; then
3309 config_vars="$config_vars
3310 libgd-LDFLAGS = $libgd_ldflags"
3314 # Check whether --with-fp was given.
3315 if test "${with_fp+set}" = set; then
3316 withval=$with_fp; with_fp=$withval
3323 # Check whether --with-binutils was given.
3324 if test "${with_binutils+set}" = set; then
3325 withval=$with_binutils; path_binutils=$withval
3331 # Check whether --with-elf was given.
3332 if test "${with_elf+set}" = set; then
3333 withval=$with_elf; elf=$withval
3339 # Check whether --with-selinux was given.
3340 if test "${with_selinux+set}" = set; then
3341 withval=$with_selinux; with_selinux=$withval
3347 # Check whether --with-xcoff was given.
3348 if test "${with_xcoff+set}" = set; then
3349 withval=$with_xcoff; xcoff=$withval
3355 # Check whether --with-cvs was given.
3356 if test "${with_cvs+set}" = set; then
3357 withval=$with_cvs; with_cvs=$withval
3362 if test "$with_cvs" = yes; then
3363 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3371 # Check whether --with-headers was given.
3372 if test "${with_headers+set}" = set; then
3373 withval=$with_headers; sysheaders=$withval
3379 # Check whether --enable-sanity-checks was given.
3380 if test "${enable_sanity_checks+set}" = set; then
3381 enableval=$enable_sanity_checks; enable_sanity=$enableval
3388 # Check whether --enable-check-abi was given.
3389 if test "${enable_check_abi+set}" = set; then
3390 enableval=$enable_check_abi; enable_check_abi=$enableval
3397 # Check whether --enable-shared was given.
3398 if test "${enable_shared+set}" = set; then
3399 enableval=$enable_shared; shared=$enableval
3404 # Check whether --enable-profile was given.
3405 if test "${enable_profile+set}" = set; then
3406 enableval=$enable_profile; profile=$enableval
3411 # Check whether --enable-omitfp was given.
3412 if test "${enable_omitfp+set}" = set; then
3413 enableval=$enable_omitfp; omitfp=$enableval
3418 # Check whether --enable-bounded was given.
3419 if test "${enable_bounded+set}" = set; then
3420 enableval=$enable_bounded; bounded=$enableval
3425 # Check whether --enable-versioning was given.
3426 if test "${enable_versioning+set}" = set; then
3427 enableval=$enable_versioning; enable_versioning=$enableval
3429 enable_versioning=yes
3433 # Check whether --enable-oldest-abi was given.
3434 if test "${enable_oldest_abi+set}" = set; then
3435 enableval=$enable_oldest_abi; oldest_abi=$enableval
3440 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3443 cat >>confdefs.h <<_ACEOF
3444 #define GLIBC_OLDEST_ABI "$oldest_abi"
3450 # Check whether --enable-stackguard-randomization was given.
3451 if test "${enable_stackguard_randomization+set}" = set; then
3452 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3454 enable_stackguard_randomize=no
3457 if test "$enable_stackguard_randomize" = yes; then
3458 cat >>confdefs.h <<\_ACEOF
3459 #define ENABLE_STACKGUARD_RANDOMIZE 1
3464 # Check whether --enable-add-ons was given.
3465 if test "${enable_add_ons+set}" = set; then
3466 enableval=$enable_add_ons;
3473 # Check whether --with-tls was given.
3474 if test "${with_tls+set}" = set; then
3475 withval=$with_tls; usetls=$withval
3482 # Check whether --with-__thread was given.
3483 if test "${with___thread+set}" = set; then
3484 withval=$with___thread; use__thread=$withval
3490 # Check whether --enable-hidden-plt was given.
3491 if test "${enable_hidden_plt+set}" = set; then
3492 enableval=$enable_hidden_plt; hidden=$enableval
3497 if test "x$hidden" = xno; then
3498 cat >>confdefs.h <<\_ACEOF
3504 # Check whether --enable-bind-now was given.
3505 if test "${enable_bind_now+set}" = set; then
3506 enableval=$enable_bind_now; bindnow=$enableval
3513 # Check whether --enable-static-nss was given.
3514 if test "${enable_static_nss+set}" = set; then
3515 enableval=$enable_static_nss; static_nss=$enableval
3520 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3522 cat >>confdefs.h <<\_ACEOF
3523 #define DO_STATIC_NSS 1
3528 # Check whether --enable-force-install was given.
3529 if test "${enable_force_install+set}" = set; then
3530 enableval=$enable_force_install; force_install=$enableval
3537 # Check whether --enable-kernel was given.
3538 if test "${enable_kernel+set}" = set; then
3539 enableval=$enable_kernel; minimum_kernel=$enableval
3542 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3543 # Better nothing than this.
3546 if test "$minimum_kernel" = current; then
3547 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3551 # Check whether --enable-all-warnings was given.
3552 if test "${enable_all_warnings+set}" = set; then
3553 enableval=$enable_all_warnings; all_warnings=$enableval
3558 # Check whether --enable-multi-arch was given.
3559 if test "${enable_multi_arch+set}" = set; then
3560 enableval=$enable_multi_arch; multi_arch=$enableval
3565 if test x"$multi_arch" = xyes; then
3566 cat >>confdefs.h <<\_ACEOF
3567 #define USE_MULTIARCH 1
3570 multi_arch_d=/multiarch
3574 # Check whether --enable-experimental-malloc was given.
3575 if test "${enable_experimental_malloc+set}" = set; then
3576 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3581 # Check whether --enable-nss-crypt was given.
3582 if test "${enable_nss_crypt+set}" = set; then
3583 enableval=$enable_nss_crypt; nss_crypt=$enableval
3588 if test x$nss_crypt = xyes; then
3589 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3590 if test $? -ne 0; then
3591 { { echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3592 echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3593 { (exit 1); exit 1; }; }
3595 old_CFLAGS="$CFLAGS"
3596 CFLAGS="$CFLAGS $nss_includes"
3598 cat >conftest.$ac_ext <<_ACEOF
3601 #include <nsslowhash.h>
3602 void f (void) { NSSLOW_Init (); }
3604 rm -f conftest.$ac_objext
3605 if { (ac_try="$ac_compile"
3607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3608 *) ac_try_echo
=$ac_try;;
3610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3611 (eval "$ac_compile") 2>conftest.er1
3613 grep -v '^ *+' conftest.er1
>conftest.err
3615 cat conftest.err
>&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); } && {
3618 test -z "$ac_c_werror_flag" ||
3619 test ! -s conftest.err
3620 } && test -s conftest.
$ac_objext; then
3621 libc_cv_nss_crypt
=yes
3623 echo "$as_me: failed program was:" >&5
3624 sed 's/^/| /' conftest.
$ac_ext >&5
3626 { { echo "$as_me:$LINENO: error:
3627 cannot find NSS headers with lowlevel hash function interfaces" >&5
3628 echo "$as_me: error:
3629 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3630 { (exit 1); exit 1; }; }
3633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3635 LIBS
="$LIBS -lfreebl3"
3636 cat >conftest.
$ac_ext <<_ACEOF
3639 cat confdefs.h
>>conftest.
$ac_ext
3640 cat >>conftest.
$ac_ext <<_ACEOF
3641 /* end confdefs.h. */
3644 #include <nsslowhash.h>
3653 rm -f conftest.
$ac_objext conftest
$ac_exeext
3654 if { (ac_try
="$ac_link"
3656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3660 (eval "$ac_link") 2>conftest.er1
3662 grep -v '^ *+' conftest.er1 >conftest.err
3664 cat conftest.err >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } && {
3667 test -z "$ac_c_werror_flag" ||
3668 test ! -s conftest.err
3669 } && test -s conftest$ac_exeext &&
3670 $as_test_x conftest$ac_exeext; then
3671 libc_cv_nss_crypt=yes
3673 echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.$ac_ext >&5
3676 { { echo "$as_me:$LINENO: error:
3677 cannot link program using lowlevel NSS hash functions" >&5
3678 echo "$as_me: error:
3679 cannot link program using lowlevel NSS hash functions" >&2;}
3680 { (exit 1); exit 1; }; }
3683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3684 conftest$ac_exeext conftest.$ac_ext
3685 CFLAGS="$old_CFLAGS"
3688 libc_cv_nss_crypt=no
3692 # Make sure we can run config.sub.
3693 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3694 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3695 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3696 { (exit 1); exit 1; }; }
3698 { echo "$as_me:$LINENO: checking build system type" >&5
3699 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3700 if test "${ac_cv_build+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 ac_build_alias=$build_alias
3704 test "x$ac_build_alias" = x &&
3705 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3706 test "x$ac_build_alias" = x &&
3707 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3708 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3709 { (exit 1); exit 1; }; }
3710 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3711 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3712 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3713 { (exit 1); exit 1; }; }
3716 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3717 echo "${ECHO_T}$ac_cv_build" >&6; }
3718 case $ac_cv_build in
3720 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3721 echo "$as_me: error: invalid value of canonical build" >&2;}
3722 { (exit 1); exit 1; }; };;
3725 ac_save_IFS=$IFS; IFS='-'
3731 # Remember, the first character of IFS is used to create $*,
3732 # except with old shells:
3735 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3738 { echo "$as_me:$LINENO: checking host system type" >&5
3739 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3740 if test "${ac_cv_host+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 if test "x$host_alias" = x; then
3744 ac_cv_host=$ac_cv_build
3746 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3747 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3748 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3749 { (exit 1); exit 1; }; }
3753 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3754 echo "${ECHO_T}$ac_cv_host" >&6; }
3757 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3758 echo "$as_me: error: invalid value of canonical host" >&2;}
3759 { (exit 1); exit 1; }; };;
3762 ac_save_IFS=$IFS; IFS='-'
3768 # Remember, the first character of IFS is used to create $*,
3769 # except with old shells:
3772 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3776 # The way shlib-versions is used to generate soversions.mk uses a
3777 # fairly simplistic model for name recognition that can't distinguish
3778 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3779 # of `gnu
*' here to be `gnu-gnu*' just so that shlib-versions can
3780 # tell. This doesn't get used much beyond that, so it's fairly safe.
3785 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3789 # We keep the original values in `$config_*' and never modify them, so we
3790 # can write them unchanged into config.make. Everything else uses
3791 # $machine, $vendor, and $os, and changes them whenever convenient.
3792 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3794 # Don't allow vendor == "unknown"
3795 test "$config_vendor" = unknown
&& config_vendor
=
3796 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3798 # Some configurations imply other options.
3800 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3801 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
3803 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
3804 # These systems (almost) always use the ELF format.
3808 # These systems are always xcoff
3814 # The configure fragment of an add-on port can modify these to supplement
3815 # or override the table in the case statement below. No fragment should
3816 # ever change the config_* variables, however.
3817 machine
=$config_machine
3818 vendor
=$config_vendor
3822 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3824 if test "$machine" = rs6000
; then
3828 # Braindead PowerPC box with absolutely no FPU.
3829 case "$machine-$host_os" in
3837 # Check whether --with-cpu was given.
3838 if test "${with_cpu+set}" = set; then
3839 withval
=$with_cpu; case "$withval" in
3840 yes|
'') { { echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
3841 echo "$as_me: error: --with-cpu requires an argument" >&2;}
3842 { (exit 1); exit 1; }; } ;;
3844 *) submachine
="$withval" ;;
3850 # An add-on can set this when it wants to disable the sanity check below.
3856 case "$enable_add_ons" in
3859 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
3860 sed 's@/[^/]*$@@' | sort | uniq`
3861 add_ons_automatic
=yes
3863 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
3864 add_ons_automatic
=no
;;
3870 if test x
"$add_ons" != x
; then
3871 for f
in $add_ons; do
3872 # Some sanity checks
3875 { { echo "$as_me:$LINENO: error:
3876 *** It seems that you're using an old \`crypt' add-on. crypt is now
3877 *** part of glibc and using the old add-on will not work with this
3878 *** release. Start again with fresh sources and without the old
3879 *** \`crypt' add-on." >&5
3880 echo "$as_me: error:
3881 *** It seems that you're using an old \`crypt' add-on. crypt is now
3882 *** part of glibc and using the old add-on will not work with this
3883 *** release. Start again with fresh sources and without the old
3884 *** \`crypt' add-on." >&2;}
3885 { (exit 1); exit 1; }; }
3888 { { echo "$as_me:$LINENO: error:
3889 *** It seems that you're using an old \`localedata' add-on. localedata
3890 *** is now part of glibc and using the old add-on will not work with
3891 *** this release. Start again with fresh sources and without the old
3892 *** \`localedata' add-on." >&5
3893 echo "$as_me: error:
3894 *** It seems that you're using an old \`localedata' add-on. localedata
3895 *** is now part of glibc and using the old add-on will not work with
3896 *** this release. Start again with fresh sources and without the old
3897 *** \`localedata' add-on." >&2;}
3898 { (exit 1); exit 1; }; }
3903 # Now source each add-on's configure fragment.
3904 # The fragments can use $srcdir/$libc_add_on to find themselves,
3905 # and test $add_ons_automatic to see if they were explicitly requested.
3906 # A fragment can clear (or even change) $libc_add_on to affect
3907 # whether it goes into the list to be actually used in the build.
3909 for libc_add_on
in $add_ons; do
3910 # Test whether such a directory really exists.
3911 # It can be absolute, or relative to $srcdir, or relative to the build dir.
3912 case "$libc_add_on" in
3914 libc_add_on_srcdir
=$libc_add_on
3917 test -d "$srcdir/$libc_add_on" ||
{
3918 if test -d "$libc_add_on"; then
3919 libc_add_on
="`pwd`/$libc_add_on"
3921 { { echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
3922 echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
3923 { (exit 1); exit 1; }; }
3926 libc_add_on_srcdir
=$srcdir/$libc_add_on
3930 libc_add_on_frag
=$libc_add_on_srcdir/configure
3931 libc_add_on_canonical
=
3932 if test -r "$libc_add_on_frag"; then
3933 { echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
3934 echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
3935 libc_add_on_canonical
=unknown
3936 libc_add_on_subdirs
=
3937 .
"$libc_add_on_frag"
3938 test -z "$libc_add_on" ||
{
3939 configured_add_ons
="$configured_add_ons $libc_add_on"
3940 if test "x$libc_add_on_canonical" = xunknown
; then
3941 { { echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
3942 echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
3943 { (exit 1); exit 1; }; }
3945 for d
in $libc_add_on_subdirs; do
3946 case "$libc_add_on" in
3947 /*) subdir_srcdir
="$libc_add_on" ;;
3948 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
3952 d
="${libc_add_on_canonical:-$libc_add_on}"
3958 subdir_srcdir
="$subdir_srcdir/$d"
3961 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
3962 add_on_subdirs
="$add_on_subdirs $d"
3963 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
3964 $d-srcdir = $subdir_srcdir"
3968 if test -n "$libc_add_on"; then
3969 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
3971 { echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
3972 echo $ECHO_N "checking add-on $libc_add_on for preconfigure fragments... $ECHO_C" >&6; }
3973 for frag
in $frags; do
3974 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3975 echo $ECHO_N "$name $ECHO_C" >&6
3978 { echo "$as_me:$LINENO: result: " >&5
3979 echo "${ECHO_T}" >&6; }
3981 use_add_ons
="$use_add_ons $libc_add_on"
3982 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
3983 test -z "$libc_add_on_canonical" ||
3984 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
3987 # Use echo to strip excess whitespace.
3988 add_ons
="`echo $use_add_ons`"
3995 ### I put this here to prevent those annoying emails from people who cannot
3996 ### read and try to compile glibc on unsupported platforms. --drepper
3998 ### By using the undocumented --enable-hacker-mode option for configure
3999 ### one can skip this test to make the configuration not fail for unsupported
4002 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4003 case "$machine-$host_os" in
4004 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
4007 echo "*** The GNU C library is currently not available for this platform."
4008 echo "*** So far nobody cared to port it and if there is no volunteer it"
4009 echo "*** might never happen. So, if you have interest to see glibc on"
4010 echo "*** this platform visit"
4011 echo "*** http://www.gnu.org/software/libc/porting.html"
4012 echo "*** and join the group of porters"
4018 # Expand the configuration machine name into a subdirectory by architecture
4019 # type and particular chip. If an add-on configure fragment already set
4020 # base_machine, we don't change it.
4021 test -n "$base_machine" ||
case "$machine" in
4022 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
4023 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
4024 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
4025 i
[34567]86) base_machine
=i386 machine
=i386
/$machine ;;
4026 ia64
) base_machine
=ia64 machine
=ia64
;;
4027 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
4028 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
4029 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
4030 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
4031 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
4032 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
4033 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
4034 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
4036 base_machine
=sparc machine
=sparc
/sparc32
;;
4037 sparcv8 | supersparc | hypersparc
)
4038 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
4039 sparcv8plus | sparcv8plusa | sparcv9
)
4040 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
4041 sparcv8plusb | sparcv9b
)
4042 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9b
;;
4044 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v
;;
4046 base_machine
=sparc machine
=sparc
/sparc32
/sparcv
9/sparcv9v2
;;
4048 base_machine
=sparc machine
=sparc
/sparc64
;;
4050 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
4052 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v
;;
4054 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9v2
;;
4055 *) base_machine
=$machine ;;
4059 if test "$base_machine" = "i386"; then
4060 cat >>confdefs.h
<<\_ACEOF
4061 #define USE_REGPARMS 1
4066 # Compute the list of sysdep directories for this configuration.
4067 # This can take a while to compute.
4068 sysdep_dir
=$srcdir/sysdeps
4069 { echo "$as_me:$LINENO: checking sysdep dirs" >&5
4070 echo $ECHO_N "checking sysdep dirs... $ECHO_C" >&6; }
4071 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4072 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4074 test "x$base_os" != x ||
case "$os" in
4076 base_os
=mach
/hurd
;;
4077 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
4078 base_os
=unix
/bsd
/bsd4.4
;;
4079 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
4081 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
4082 base_os
=unix
/sysv
;;
4084 base_os
=unix
/sysv
/irix
6/$os ;;
4086 base_os
=unix
/sysv
/sysv4
;;
4088 base_os
=unix
/sysv
/hpux
/$os ;;
4090 base_os
=unix
/sysv
/aix
/aix4.3
;;
4092 base_os
=standalone
;;
4095 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4098 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4102 o
=`echo $tail | sed 's/[0-9]*$//'`
4103 if test $o != $tail; then
4106 # For linux-gnu, try linux-gnu, then linux.
4107 o
=`echo $tail | sed 's/-.*$//'`
4108 if test $o != $tail; then
4112 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4115 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4121 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4123 tail=$machine${submachine:+/$submachine}
4124 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4126 # Prepend the machine's FPU directory unless --without-fp.
4127 if test "$with_fp" = yes; then
4128 mach
="$mach /$1/fpu"
4130 mach
="$mach /$1/nofpu"
4137 # Find what sysdep directories exist.
4140 for b
in $base ''; do
4141 for m0
in $mach ''; do
4142 for v
in /$vendor ''; do
4143 test "$v" = / && continue
4144 for o
in /$ostry ''; do
4145 test "$o" = / && continue
4146 for m
in $multi_arch_d $mach ''; do
4147 for d
in $add_ons_pfx ''; do
4148 for a
in $add_ons_sfx ''; do
4149 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4150 try_srcdir
="${srcdir}/"
4154 try
="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4155 test -n "$enable_debug_configure" &&
4156 echo "$0 DEBUG: try $try" >&2
4157 if test -d "$try_srcdir$try"; then
4158 sysnames
="$sysnames $try"
4159 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4160 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4162 x
*/$submachine) submachine_used
=t
;;
4164 if test -n "$d"; then
4165 case "$sysnames_add_ons" in
4167 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4180 if test -z "$os_used" && test "$os" != none
; then
4181 { { echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4182 echo "$as_me: error: Operating system $os is not supported." >&2;}
4183 { (exit 1); exit 1; }; }
4185 if test -z "$machine_used" && test "$machine" != none
; then
4186 { { echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4187 echo "$as_me: error: The $machine is not supported." >&2;}
4188 { (exit 1); exit 1; }; }
4190 if test -z "$submachine_used" && test -n "$submachine"; then
4191 { { echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4192 echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4193 { (exit 1); exit 1; }; }
4197 # We have now validated the configuration.
4200 # If using ELF, look for an `elf' subdirectory of each machine directory.
4201 # We prepend these rather than inserting them whereever the machine appears
4202 # because things specified by the machine's ELF ABI should override
4203 # OS-specific things, and should always be the same for any OS on the
4204 # machine (otherwise what's the point of an ABI?).
4205 if test "$elf" = yes; then
4207 for d
in $add_ons_pfx ''; do
4209 if test -d $srcdir/${d}sysdeps
$m/elf
; then
4210 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
4214 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4218 # Expand the list of system names into a full list of directories
4219 # from each element's parent name and Implies file (if present).
4222 while test $# -gt 0; do
4226 case " $names " in *" $name "*)
4227 # Already in the list.
4231 # Report each name as we discover it, so there is no long pause in output.
4232 echo $ECHO_N "$name $ECHO_C" >&6
4234 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4238 *) xsrcdir
=$srcdir/ ;;
4240 test -n "$enable_debug_configure" &&
4241 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4243 if test -f $xsrcdir$name/Implies
; then
4244 # Collect more names from the `Implies' file (removing comments).
4245 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
4247 for x
in $implied_candidate; do
4249 if test -d $xsrcdir$name_base/$x; then
4250 implied
="$implied $name_base/$x";
4253 for d
in $add_ons_pfx ''; do
4254 try
="${d}sysdeps/$x"
4257 *) try_srcdir
=$srcdir/ ;;
4259 test -n "$enable_debug_configure" &&
4260 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
4261 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4263 implied
="$implied $try"
4265 case "$sysnames_add_ons" in
4267 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4271 if test $found = no
; then
4272 { echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
4273 echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
4280 # Add NAME to the list of names.
4281 names
="$names $name"
4283 # Find the parent of NAME, using the empty string if it has none.
4284 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4286 # Add the names implied by NAME, and NAME's parent (if it has one), to
4287 # the list of names to be processed (the argument list). We prepend the
4288 # implied names to the list and append the parent. We want implied
4289 # directories to come before further directories inferred from the
4290 # configuration components; this ensures that for sysv4, unix/common
4291 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4293 sysnames
="`echo $implied $* $parent`"
4294 test -n "$sysnames" && set $sysnames
4297 # Add the default directories.
4298 default_sysnames
=sysdeps
/generic
4299 if test "$elf" = yes; then
4300 default_sysnames
="sysdeps/generic/elf $default_sysnames"
4302 sysnames
="$names $default_sysnames"
4304 # The other names were emitted during the scan.
4305 { echo "$as_me:$LINENO: result: $default_sysnames" >&5
4306 echo "${ECHO_T}$default_sysnames" >&6; }
4308 # Collect the list of add-ons that supply partial sysdeps trees.
4310 for add_on
in $add_ons; do
4313 *) xsrcdir
="$srcdir/" ;;
4316 test -d "$xsrcdir$add_on/sysdeps" ||
{
4317 case "$configured_add_ons " in
4320 { { echo "$as_me:$LINENO: error: add-on $add_on has no configure fragment or sysdeps tree" >&5
4321 echo "$as_me: error: add-on $add_on has no configure fragment or sysdeps tree" >&2;}
4322 { (exit 1); exit 1; }; }
4328 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4329 case "$sysnames_add_ons" in
4332 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4333 echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4338 for d
in $sysnames; do
4340 $add_on/sysdeps
/*) ;;
4343 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4346 for ff
in $f/*.h
; do
4347 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4351 test -d "$f" ||
{ test -e "$f" && exit 88; }
4355 if test $?
-eq 88; then
4360 if test $found = no
; then
4361 { echo "$as_me:$LINENO: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4362 echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4370 # Find a good install program. We prefer a C program (faster),
4371 # so one script is as good as another. But avoid the broken or
4372 # incompatible versions:
4373 # SysV /etc/install, /usr/sbin/install
4374 # SunOS /usr/etc/install
4375 # IRIX /sbin/install
4377 # AmigaOS /C/install, which installs bootblocks on floppy discs
4378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4381 # OS/2's system install, which has a completely different semantic
4382 # ./install, which can be erroneously created by make from ./install.sh.
4383 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4384 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4385 if test -z "$INSTALL"; then
4386 if test "${ac_cv_path_install+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir
=.
4394 # Account for people who put trailing slashes in PATH elements.
4396 .
/ | .
// |
/cC
/* | \
4397 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4398 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4401 # OSF1 and SCO ODT 3.0 have their own names for install.
4402 # Don't use installbsd from OSF since it installs stuff as root
4404 for ac_prog
in ginstall scoinst
install; do
4405 for ac_exec_ext
in '' $ac_executable_extensions; do
4406 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4407 if test $ac_prog = install &&
4408 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4409 # AIX install. It has an incompatible calling convention.
4411 elif test $ac_prog = install &&
4412 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4413 # program-specific install script used by HP pwplus--don't use.
4416 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4429 if test "${ac_cv_path_install+set}" = set; then
4430 INSTALL
=$ac_cv_path_install
4432 # As a last resort, use the slow shell script. Don't cache a
4433 # value for INSTALL within a source directory, because that will
4434 # break other packages using the cache if that directory is
4435 # removed, or if the value is a relative name.
4436 INSTALL
=$ac_install_sh
4439 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4440 echo "${ECHO_T}$INSTALL" >&6; }
4442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4443 # It thinks the first close brace ends the variable substitution.
4444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4448 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4450 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4451 # The makefiles need to use a different form to find it in $srcdir.
4452 INSTALL
='\$(..)./scripts/install-sh -c'
4454 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4455 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4457 if test "$LN_S" = "ln -s"; then
4458 { echo "$as_me:$LINENO: result: yes" >&5
4459 echo "${ECHO_T}yes" >&6; }
4461 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4462 echo "${ECHO_T}no, using $LN_S" >&6; }
4466 # Was a --with-binutils option given?
4467 if test -n "$path_binutils"; then
4468 # Make absolute; ensure a single trailing slash.
4469 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4470 CC
="$CC -B$path_binutils"
4472 AS
=`$CC -print-prog-name=as`
4473 LD
=`$CC -print-prog-name=ld`
4474 AR
=`$CC -print-prog-name=ar`
4476 OBJDUMP
=`$CC -print-prog-name=objdump`
4479 # ranlib has to be treated a bit differently since it might not exist at all.
4480 ac_ranlib
=`$CC -print-prog-name=ranlib`
4481 if test "x$ac_ranlib" = xranlib
; then
4482 # This extra check has to happen since gcc simply echos the parameter in
4483 # case it cannot find the value in its own directories.
4484 if test -n "$ac_tool_prefix"; then
4485 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4486 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4489 if test "${ac_cv_prog_RANLIB+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 if test -n "$RANLIB"; then
4493 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4499 test -z "$as_dir" && as_dir
=.
4500 for ac_exec_ext
in '' $ac_executable_extensions; do
4501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4502 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 RANLIB
=$ac_cv_prog_RANLIB
4513 if test -n "$RANLIB"; then
4514 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4515 echo "${ECHO_T}$RANLIB" >&6; }
4517 { echo "$as_me:$LINENO: result: no" >&5
4518 echo "${ECHO_T}no" >&6; }
4523 if test -z "$ac_cv_prog_RANLIB"; then
4524 ac_ct_RANLIB
=$RANLIB
4525 # Extract the first word of "ranlib", so it can be a program name with args.
4526 set dummy ranlib
; ac_word
=$2
4527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4529 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 if test -n "$ac_ct_RANLIB"; then
4533 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4553 if test -n "$ac_ct_RANLIB"; then
4554 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4555 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4557 { echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6; }
4561 if test "x$ac_ct_RANLIB" = x
; then
4564 case $cross_compiling:$ac_tool_warned in
4566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4567 whose name does not start with the host triplet. If you think this
4568 configuration is useful to you, please write to autoconf@gnu.org." >&5
4569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4570 whose name does not start with the host triplet. If you think this
4571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4572 ac_tool_warned
=yes ;;
4574 RANLIB
=$ac_ct_RANLIB
4577 RANLIB
="$ac_cv_prog_RANLIB"
4585 # Determine whether we are using GNU binutils.
4586 { echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
4587 echo $ECHO_N "checking whether $AS is GNU as... $ECHO_C" >&6; }
4588 if test "${libc_cv_prog_as_gnu+set}" = set; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 # Most GNU programs take a -v and spit out some text including
4592 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4593 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4594 libc_cv_prog_as_gnu
=yes
4596 libc_cv_prog_as_gnu
=no
4600 { echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
4601 echo "${ECHO_T}$libc_cv_prog_as_gnu" >&6; }
4603 gnu_as
=$libc_cv_prog_as_gnu
4605 { echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
4606 echo $ECHO_N "checking whether $LD is GNU ld... $ECHO_C" >&6; }
4607 if test "${libc_cv_prog_ld_gnu+set}" = set; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 # Most GNU programs take a -v and spit out some text including
4611 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4612 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4613 libc_cv_prog_ld_gnu
=yes
4615 libc_cv_prog_ld_gnu
=no
4619 { echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
4620 echo "${ECHO_T}$libc_cv_prog_ld_gnu" >&6; }
4621 gnu_ld
=$libc_cv_prog_ld_gnu
4624 # Accept binutils 2.13 or newer.
4627 # Extract the first word of "$ac_prog", so it can be a program name with args.
4628 set dummy
$ac_prog; ac_word
=$2
4629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4631 if test "${ac_cv_prog_AS+set}" = set; then
4632 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 if test -n "$AS"; then
4635 ac_cv_prog_AS
="$AS" # Let the user override the test.
4637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir
=.
4642 for ac_exec_ext
in '' $ac_executable_extensions; do
4643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4644 ac_cv_prog_AS
="$ac_prog"
4645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 if test -n "$AS"; then
4656 { echo "$as_me:$LINENO: result: $AS" >&5
4657 echo "${ECHO_T}$AS" >&6; }
4659 { echo "$as_me:$LINENO: result: no" >&5
4660 echo "${ECHO_T}no" >&6; }
4664 test -n "$AS" && break
4667 if test -z "$AS"; then
4670 # Found it, now check the version.
4671 { echo "$as_me:$LINENO: checking version of $AS" >&5
4672 echo $ECHO_N "checking version of $AS... $ECHO_C" >&6; }
4673 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4674 case $ac_prog_version in
4675 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4677 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4678 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4681 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4682 echo "${ECHO_T}$ac_prog_version" >&6; }
4684 if test $ac_verc_fail = yes; then
4685 AS
=: critic_missing
="$critic_missing as"
4690 # Extract the first word of "$ac_prog", so it can be a program name with args.
4691 set dummy
$ac_prog; ac_word
=$2
4692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4694 if test "${ac_cv_prog_LD+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 if test -n "$LD"; then
4698 ac_cv_prog_LD
="$LD" # Let the user override the test.
4700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir
=.
4705 for ac_exec_ext
in '' $ac_executable_extensions; do
4706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4707 ac_cv_prog_LD
="$ac_prog"
4708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 if test -n "$LD"; then
4719 { echo "$as_me:$LINENO: result: $LD" >&5
4720 echo "${ECHO_T}$LD" >&6; }
4722 { echo "$as_me:$LINENO: result: no" >&5
4723 echo "${ECHO_T}no" >&6; }
4727 test -n "$LD" && break
4730 if test -z "$LD"; then
4733 # Found it, now check the version.
4734 { echo "$as_me:$LINENO: checking version of $LD" >&5
4735 echo $ECHO_N "checking version of $LD... $ECHO_C" >&6; }
4736 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4737 case $ac_prog_version in
4738 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4740 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4741 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4744 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4745 echo "${ECHO_T}$ac_prog_version" >&6; }
4747 if test $ac_verc_fail = yes; then
4748 LD
=: critic_missing
="$critic_missing ld"
4752 # We need the physical current working directory. We cannot use the
4753 # "pwd -P" shell builtin since that's not portable. Instead we try to
4754 # find a pwd binary. Note that assigning to the PWD environment
4755 # variable might have some interesting side effects, so we don't do
4757 # Extract the first word of "pwd", so it can be a program name with args.
4758 set dummy
pwd; ac_word
=$2
4759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4761 if test "${ac_cv_path_PWD_P+set}" = set; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
4769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir
=.
4774 for ac_exec_ext
in '' $ac_executable_extensions; do
4775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4776 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
4777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
4788 PWD_P
=$ac_cv_path_PWD_P
4789 if test -n "$PWD_P"; then
4790 { echo "$as_me:$LINENO: result: $PWD_P" >&5
4791 echo "${ECHO_T}$PWD_P" >&6; }
4793 { echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6; }
4798 if test "$PWD_P" = no
; then
4799 { { echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
4800 echo "$as_me: error: *** A pwd binary could not be found." >&2;}
4801 { (exit 1); exit 1; }; }
4804 # These programs are version sensitive.
4806 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
4808 # Extract the first word of "$ac_prog", so it can be a program name with args.
4809 set dummy
$ac_prog; ac_word
=$2
4810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4812 if test "${ac_cv_prog_CC+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 if test -n "$CC"; then
4816 ac_cv_prog_CC
="$CC" # Let the user override the test.
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_exec_ext
in '' $ac_executable_extensions; do
4824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4825 ac_cv_prog_CC
="$ac_prog"
4826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 if test -n "$CC"; then
4837 { echo "$as_me:$LINENO: result: $CC" >&5
4838 echo "${ECHO_T}$CC" >&6; }
4840 { echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6; }
4845 test -n "$CC" && break
4848 if test -z "$CC"; then
4851 # Found it, now check the version.
4852 { echo "$as_me:$LINENO: checking version of $CC" >&5
4853 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6; }
4854 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
4855 case $ac_prog_version in
4856 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4858 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4859 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4862 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4863 echo "${ECHO_T}$ac_prog_version" >&6; }
4865 if test $ac_verc_fail = yes; then
4866 critic_missing
="$critic_missing gcc"
4869 for ac_prog
in gnumake gmake
make
4871 # Extract the first word of "$ac_prog", so it can be a program name with args.
4872 set dummy
$ac_prog; ac_word
=$2
4873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4875 if test "${ac_cv_prog_MAKE+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 if test -n "$MAKE"; then
4879 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir
=.
4886 for ac_exec_ext
in '' $ac_executable_extensions; do
4887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4888 ac_cv_prog_MAKE
="$ac_prog"
4889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 MAKE
=$ac_cv_prog_MAKE
4899 if test -n "$MAKE"; then
4900 { echo "$as_me:$LINENO: result: $MAKE" >&5
4901 echo "${ECHO_T}$MAKE" >&6; }
4903 { echo "$as_me:$LINENO: result: no" >&5
4904 echo "${ECHO_T}no" >&6; }
4908 test -n "$MAKE" && break
4911 if test -z "$MAKE"; then
4914 # Found it, now check the version.
4915 { echo "$as_me:$LINENO: checking version of $MAKE" >&5
4916 echo $ECHO_N "checking version of $MAKE... $ECHO_C" >&6; }
4917 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4918 case $ac_prog_version in
4919 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4921 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4922 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4925 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4926 echo "${ECHO_T}$ac_prog_version" >&6; }
4928 if test $ac_verc_fail = yes; then
4929 critic_missing
="$critic_missing make"
4933 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
4935 # Extract the first word of "$ac_prog", so it can be a program name with args.
4936 set dummy
$ac_prog; ac_word
=$2
4937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4939 if test "${ac_cv_prog_MSGFMT+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 if test -n "$MSGFMT"; then
4943 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
4945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4949 test -z "$as_dir" && as_dir
=.
4950 for ac_exec_ext
in '' $ac_executable_extensions; do
4951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4952 ac_cv_prog_MSGFMT
="$ac_prog"
4953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 MSGFMT
=$ac_cv_prog_MSGFMT
4963 if test -n "$MSGFMT"; then
4964 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4965 echo "${ECHO_T}$MSGFMT" >&6; }
4967 { echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6; }
4972 test -n "$MSGFMT" && break
4975 if test -z "$MSGFMT"; then
4978 # Found it, now check the version.
4979 { echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
4980 echo $ECHO_N "checking version of $MSGFMT... $ECHO_C" >&6; }
4981 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4982 case $ac_prog_version in
4983 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4984 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
4985 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4986 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4989 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4990 echo "${ECHO_T}$ac_prog_version" >&6; }
4992 if test $ac_verc_fail = yes; then
4993 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4996 for ac_prog
in makeinfo
4998 # Extract the first word of "$ac_prog", so it can be a program name with args.
4999 set dummy
$ac_prog; ac_word
=$2
5000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5002 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 if test -n "$MAKEINFO"; then
5006 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir
=.
5013 for ac_exec_ext
in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_prog_MAKEINFO
="$ac_prog"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 MAKEINFO
=$ac_cv_prog_MAKEINFO
5026 if test -n "$MAKEINFO"; then
5027 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5028 echo "${ECHO_T}$MAKEINFO" >&6; }
5030 { echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6; }
5035 test -n "$MAKEINFO" && break
5038 if test -z "$MAKEINFO"; then
5041 # Found it, now check the version.
5042 { echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
5043 echo $ECHO_N "checking version of $MAKEINFO... $ECHO_C" >&6; }
5044 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5045 case $ac_prog_version in
5046 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5048 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5049 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5052 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5053 echo "${ECHO_T}$ac_prog_version" >&6; }
5055 if test $ac_verc_fail = yes; then
5056 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
5061 # Extract the first word of "$ac_prog", so it can be a program name with args.
5062 set dummy
$ac_prog; ac_word
=$2
5063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5065 if test "${ac_cv_prog_SED+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 if test -n "$SED"; then
5069 ac_cv_prog_SED
="$SED" # Let the user override the test.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_SED
="$ac_prog"
5079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 if test -n "$SED"; then
5090 { echo "$as_me:$LINENO: result: $SED" >&5
5091 echo "${ECHO_T}$SED" >&6; }
5093 { echo "$as_me:$LINENO: result: no" >&5
5094 echo "${ECHO_T}no" >&6; }
5098 test -n "$SED" && break
5101 if test -z "$SED"; then
5104 # Found it, now check the version.
5105 { echo "$as_me:$LINENO: checking version of $SED" >&5
5106 echo $ECHO_N "checking version of $SED... $ECHO_C" >&6; }
5107 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
5108 case $ac_prog_version in
5109 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5110 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
5111 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5112 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5115 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5116 echo "${ECHO_T}$ac_prog_version" >&6; }
5118 if test $ac_verc_fail = yes; then
5119 SED
=: aux_missing
="$aux_missing sed"
5123 for ac_prog
in autoconf
5125 # Extract the first word of "$ac_prog", so it can be a program name with args.
5126 set dummy
$ac_prog; ac_word
=$2
5127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5129 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
5130 echo $ECHO_N "(cached) $ECHO_C" >&6
5132 if test -n "$AUTOCONF"; then
5133 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5142 ac_cv_prog_AUTOCONF
="$ac_prog"
5143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 AUTOCONF
=$ac_cv_prog_AUTOCONF
5153 if test -n "$AUTOCONF"; then
5154 { echo "$as_me:$LINENO: result: $AUTOCONF" >&5
5155 echo "${ECHO_T}$AUTOCONF" >&6; }
5157 { echo "$as_me:$LINENO: result: no" >&5
5158 echo "${ECHO_T}no" >&6; }
5162 test -n "$AUTOCONF" && break
5164 test -n "$AUTOCONF" || AUTOCONF
="no"
5166 case "x$AUTOCONF" in
5167 xno|x|x
:) AUTOCONF
=no
;;
5169 { echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5170 echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6; }
5171 if test "${libc_cv_autoconf_works+set}" = set; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
5175 libc_cv_autoconf_works
=yes
5177 libc_cv_autoconf_works
=no
5180 { echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
5181 echo "${ECHO_T}$libc_cv_autoconf_works" >&6; }
5182 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5185 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
5186 # If --without-cvs they probably won't change configure.in, so no complaints.
5187 aux_missing
="$aux_missing autoconf"
5190 test -n "$critic_missing" && { { echo "$as_me:$LINENO: error:
5191 *** These critical programs are missing or too old:$critic_missing
5192 *** Check the INSTALL file for required versions." >&5
5193 echo "$as_me: error:
5194 *** These critical programs are missing or too old:$critic_missing
5195 *** Check the INSTALL file for required versions." >&2;}
5196 { (exit 1); exit 1; }; }
5198 test -n "$aux_missing" && { echo "$as_me:$LINENO: WARNING:
5199 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5200 *** some features will be disabled.
5201 *** Check the INSTALL file for required versions." >&5
5202 echo "$as_me: WARNING:
5203 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5204 *** some features will be disabled.
5205 *** Check the INSTALL file for required versions." >&2;}
5207 # if using special system headers, find out the compiler's sekrit
5208 # header directory and add that to the list. NOTE: Only does the right
5209 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5210 if test -n "$sysheaders"; then
5211 SYSINCLUDES
=-nostdinc
5212 for d
in include include-fixed
; do
5213 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5214 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5216 SYSINCLUDES
="$SYSINCLUDES \
5217 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5218 if test -n "$CXX"; then
5219 cxxversion
=`$CXX -dumpversion 2>&5` &&
5220 cxxmachine
=`$CXX -dumpmachine 2>&5` &&
5221 cxxheaders
=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" &&
5222 CXX_SYSINCLUDES
="-isystem $cxxheaders \
5223 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5229 # check if ranlib is necessary
5230 { echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
5231 echo $ECHO_N "checking whether ranlib is necessary... $ECHO_C" >&6; }
5232 if test "${libc_cv_ranlib_necessary+set}" = set; then
5233 echo $ECHO_N "(cached) $ECHO_C" >&6
5235 cat > conftest.c
<<EOF
5240 $CC $CFLAGS $CPPFLAGS -c conftest.c
5241 $AR cr conftest.a conftest.o
5242 cp conftest.a conftest2.a
5244 if cmp -s conftest.a conftest2.a
; then
5245 libc_cv_ranlib_necessary
=no
5247 libc_cv_ranlib_necessary
=yes
5251 { echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
5252 echo "${ECHO_T}$libc_cv_ranlib_necessary" >&6; }
5253 if test "$libc_cv_ranlib_necessary" = no
; then
5257 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5258 # since this would lead to problems installing/building glibc.
5259 # LD_LIBRARY_PATH contains the current directory if one of the following
5261 # - one of the terminals (":" and ";") is the first or last sign
5262 # - two terminals occur directly after each other
5263 # - the path contains an element with a dot in it
5264 { echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
5265 echo $ECHO_N "checking LD_LIBRARY_PATH variable... $ECHO_C" >&6; }
5266 case ${LD_LIBRARY_PATH} in
5267 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5268 ld_library_path_setting
="contains current directory"
5271 ld_library_path_setting
="ok"
5274 { echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
5275 echo "${ECHO_T}$ld_library_path_setting" >&6; }
5276 if test "$ld_library_path_setting" != "ok"; then
5277 { { echo "$as_me:$LINENO: error:
5278 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5279 *** building glibc. Please change the environment variable
5280 *** and run configure again." >&5
5281 echo "$as_me: error:
5282 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5283 *** building glibc. Please change the environment variable
5284 *** and run configure again." >&2;}
5285 { (exit 1); exit 1; }; }
5288 { echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
5289 echo $ECHO_N "checking whether GCC supports -static-libgcc... $ECHO_C" >&6; }
5290 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
5294 libc_cv_gcc_static_libgcc
=
5296 libc_cv_gcc_static_libgcc
=-static-libgcc
5299 { echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
5300 echo "${ECHO_T}$libc_cv_gcc_static_libgcc" >&6; }
5303 # Extract the first word of "bash", so it can be a program name with args.
5304 set dummy bash
; ac_word
=$2
5305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5307 if test "${ac_cv_path_BASH_SHELL+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5312 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5322 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5334 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5335 if test -n "$BASH_SHELL"; then
5336 { echo "$as_me:$LINENO: result: $BASH_SHELL" >&5
5337 echo "${ECHO_T}$BASH_SHELL" >&6; }
5339 { echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6; }
5344 if test "$BASH_SHELL" != no
&&
5345 $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5346 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5347 libc_cv_have_bash2
=yes
5349 libc_cv_have_bash2
=no
5353 if test "$BASH_SHELL" = no
; then
5354 # Extract the first word of "ksh", so it can be a program name with args.
5355 set dummy ksh
; ac_word
=$2
5356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5358 if test "${ac_cv_path_KSH+set}" = set; then
5359 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
5386 if test -n "$KSH"; then
5387 { echo "$as_me:$LINENO: result: $KSH" >&5
5388 echo "${ECHO_T}$KSH" >&6; }
5390 { echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6; }
5395 if test "$KSH" = no
; then
5398 libc_cv_have_ksh
=yes
5403 libc_cv_have_ksh
=yes
5407 for ac_prog
in gawk mawk nawk
awk
5409 # Extract the first word of "$ac_prog", so it can be a program name with args.
5410 set dummy
$ac_prog; ac_word
=$2
5411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5413 if test "${ac_cv_prog_AWK+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 if test -n "$AWK"; then
5417 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_exec_ext
in '' $ac_executable_extensions; do
5425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5426 ac_cv_prog_AWK
="$ac_prog"
5427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 if test -n "$AWK"; then
5438 { echo "$as_me:$LINENO: result: $AWK" >&5
5439 echo "${ECHO_T}$AWK" >&6; }
5441 { echo "$as_me:$LINENO: result: no" >&5
5442 echo "${ECHO_T}no" >&6; }
5446 test -n "$AWK" && break
5449 # Extract the first word of "perl", so it can be a program name with args.
5450 set dummy perl
; ac_word
=$2
5451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5453 if test "${ac_cv_path_PERL+set}" = set; then
5454 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5465 test -z "$as_dir" && as_dir
=.
5466 for ac_exec_ext
in '' $ac_executable_extensions; do
5467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5468 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5480 PERL
=$ac_cv_path_PERL
5481 if test -n "$PERL"; then
5482 { echo "$as_me:$LINENO: result: $PERL" >&5
5483 echo "${ECHO_T}$PERL" >&6; }
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5490 if test "$PERL" != no
&&
5491 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5494 # Extract the first word of "install-info", so it can be a program name with args.
5495 set dummy install-info
; ac_word
=$2
5496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5498 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5499 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 case $INSTALL_INFO in
5503 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5508 for as_dir
in $as_dummy
5511 test -z "$as_dir" && as_dir
=.
5512 for ac_exec_ext
in '' $ac_executable_extensions; do
5513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5514 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5526 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5527 if test -n "$INSTALL_INFO"; then
5528 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5529 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5531 { echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6; }
5536 # Extract the first word of "bison", so it can be a program name with args.
5537 set dummy bison
; ac_word
=$2
5538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5540 if test "${ac_cv_path_BISON+set}" = set; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5545 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5549 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5550 for as_dir
in $as_dummy
5553 test -z "$as_dir" && as_dir
=.
5554 for ac_exec_ext
in '' $ac_executable_extensions; do
5555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5568 BISON
=$ac_cv_path_BISON
5569 if test -n "$BISON"; then
5570 { echo "$as_me:$LINENO: result: $BISON" >&5
5571 echo "${ECHO_T}$BISON" >&6; }
5573 { echo "$as_me:$LINENO: result: no" >&5
5574 echo "${ECHO_T}no" >&6; }
5579 { echo "$as_me:$LINENO: checking for signed size_t type" >&5
5580 echo $ECHO_N "checking for signed size_t type... $ECHO_C" >&6; }
5581 if test "${libc_cv_signed_size_t+set}" = set; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5584 echo '#include <stddef.h>
5585 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
5586 if eval "$ac_cpp conftest.c 2>/dev/null" \
5587 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
5588 libc_cv_signed_size_t
=no
5590 libc_cv_signed_size_t
=yes
5594 { echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
5595 echo "${ECHO_T}$libc_cv_signed_size_t" >&6; }
5596 if test $libc_cv_signed_size_t = yes; then
5597 cat >> confdefs.h
<<\EOF
5598 #undef __SIZE_TYPE__
5599 #define __SIZE_TYPE__ unsigned
5603 { echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
5604 echo $ECHO_N "checking for libc-friendly stddef.h... $ECHO_C" >&6; }
5605 if test "${libc_cv_friendly_stddef+set}" = set; then
5606 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 cat >conftest.
$ac_ext <<_ACEOF
5611 cat confdefs.h
>>conftest.
$ac_ext
5612 cat >>conftest.
$ac_ext <<_ACEOF
5613 /* end confdefs.h. */
5614 #define __need_size_t
5615 #define __need_wchar_t
5622 size_t size; wchar_t wchar;
5624 #error stddef.h ignored __need_*
5626 if (&size == NULL || &wchar == NULL) abort ();
5631 rm -f conftest.
$ac_objext
5632 if { (ac_try
="$ac_compile"
5634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5635 *) ac_try_echo=$ac_try;;
5637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5638 (eval "$ac_compile") 2>conftest.er1
5640 grep -v '^ *+' conftest.er1 >conftest.err
5642 cat conftest.err >&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); } && {
5645 test -z "$ac_c_werror_flag" ||
5646 test ! -s conftest.err
5647 } && test -s conftest.$ac_objext; then
5648 libc_cv_friendly_stddef=yes
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.$ac_ext >&5
5653 libc_cv_friendly_stddef=no
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5658 { echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
5659 echo "${ECHO_T}$libc_cv_friendly_stddef" >&6; }
5660 if test $libc_cv_friendly_stddef = yes; then
5661 config_vars="$config_vars
5662 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5665 { echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
5666 echo $ECHO_N "checking whether we need to use -P to assemble .S files... $ECHO_C" >&6; }
5667 if test "${libc_cv_need_minus_P+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 cat > conftest.S <<EOF
5671 #include "confdefs.h"
5672 /* Nothing whatsoever. */
5674 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); }; }; then
5680 libc_cv_need_minus_P=no
5682 libc_cv_need_minus_P=yes
5686 { echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
5687 echo "${ECHO_T}$libc_cv_need_minus_P" >&6; }
5688 if test $libc_cv_need_minus_P = yes; then
5689 config_vars="$config_vars
5690 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5693 { echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
5694 echo $ECHO_N "checking whether .text pseudo-op must be used... $ECHO_C" >&6; }
5695 if test "${libc_cv_dot_text+set}" = set; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 cat > conftest.s <<EOF
5702 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; }; then
5708 libc_cv_dot_text=.text
5713 if test -z "$libc_cv_dot_text"; then
5714 { echo "$as_me:$LINENO: result: no" >&5
5715 echo "${ECHO_T}no" >&6; }
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6; }
5721 { echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
5722 echo $ECHO_N "checking for assembler global-symbol directive... $ECHO_C" >&6; }
5723 if test "${libc_cv_asm_global_directive+set}" = set; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 libc_cv_asm_global_directive=UNKNOWN
5727 for ac_globl in .globl .global .EXPORT; do
5728 cat > conftest.s <<EOF
5733 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; }; then
5739 libc_cv_asm_global_directive=${ac_globl}
5742 test $libc_cv_asm_global_directive != UNKNOWN && break
5745 { echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
5746 echo "${ECHO_T}$libc_cv_asm_global_directive" >&6; }
5747 if test $libc_cv_asm_global_directive = UNKNOWN; then
5748 { { echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
5749 echo "$as_me: error: cannot determine asm global directive" >&2;}
5750 { (exit 1); exit 1; }; }
5752 cat >>confdefs.h <<_ACEOF
5753 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
5758 { echo "$as_me:$LINENO: checking for .set assembler directive" >&5
5759 echo $ECHO_N "checking for .set assembler directive... $ECHO_C" >&6; }
5760 if test "${libc_cv_asm_set_directive+set}" = set; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5763 cat > conftest.s <<EOF
5766 .set glibc_conftest_frobozz,foo
5767 $libc_cv_asm_global_directive glibc_conftest_frobozz
5769 # The alpha-dec-osf1 assembler gives only a warning for `.
set'
5770 # (but it doesn't work
), so we must
do a linking check to be sure.
5771 cat > conftest1.c
<<\EOF
5772 extern int glibc_conftest_frobozz
;
5773 void _start
() { glibc_conftest_frobozz
= 1; }
5775 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5776 -nostartfiles -nostdlib \
5777 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5778 libc_cv_asm_set_directive
=yes
5780 libc_cv_asm_set_directive
=no
5784 { echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
5785 echo "${ECHO_T}$libc_cv_asm_set_directive" >&6; }
5786 if test $libc_cv_asm_set_directive = yes; then
5787 cat >>confdefs.h
<<\_ACEOF
5788 #define HAVE_ASM_SET_DIRECTIVE 1
5793 { echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
5794 echo $ECHO_N "checking for assembler .type directive prefix... $ECHO_C" >&6; }
5795 if test "${libc_cv_asm_type_prefix+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 libc_cv_asm_type_prefix
=no
5799 for ac_try_prefix
in '@' '%' '#'; do
5800 cat > conftest.s
<<EOF
5802 ${libc_cv_asm_global_directive} foo
5803 .type foo, ${ac_try_prefix}object
5808 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); }; }; then
5814 libc_cv_asm_type_prefix
=${ac_try_prefix}
5817 test "x$libc_cv_asm_type_prefix" != xno
&& break
5820 { echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
5821 echo "${ECHO_T}$libc_cv_asm_type_prefix" >&6; }
5822 if test "x$libc_cv_asm_type_prefix" != xno
; then
5823 cat >>confdefs.h
<<_ACEOF
5824 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
5829 # For the multi-arch option we need support in the assembler.
5830 if test "$multi_arch" = yes; then
5831 if test "x$libc_cv_asm_type_prefix" != xno
; then
5832 { echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
5833 echo $ECHO_N "checking for assembler gnu_indirect_function symbol type support... $ECHO_C" >&6; }
5834 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
5835 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 cat > conftest.s
<<EOF
5838 .type foo,%gnu_indirect_function
5840 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5;
5842 libc_cv_asm_gnu_indirect_function
=yes
5844 libc_cv_asm_gnu_indirect_function
=no
5848 { echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
5849 echo "${ECHO_T}$libc_cv_asm_gnu_indirect_function" >&6; }
5851 libc_cv_asm_gnu_indirect_function
=no
5853 if test x
"$libc_cv_asm_gnu_indirect_function" != xyes
; then
5854 { { echo "$as_me:$LINENO: error: --enable-multi-arch support requires assembler and linker support" >&5
5855 echo "$as_me: error: --enable-multi-arch support requires assembler and linker support" >&2;}
5856 { (exit 1); exit 1; }; }
5860 { echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
5861 echo $ECHO_N "checking for .symver assembler directive... $ECHO_C" >&6; }
5862 if test "${libc_cv_asm_symver_directive+set}" = set; then
5863 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 cat > conftest.s
<<EOF
5868 .symver _sym,sym@VERS
5870 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5871 libc_cv_asm_symver_directive
=yes
5873 libc_cv_asm_symver_directive
=no
5877 { echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
5878 echo "${ECHO_T}$libc_cv_asm_symver_directive" >&6; }
5879 { echo "$as_me:$LINENO: checking for ld --version-script" >&5
5880 echo $ECHO_N "checking for ld --version-script... $ECHO_C" >&6; }
5881 if test "${libc_cv_ld_version_script_option+set}" = set; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 if test $libc_cv_asm_symver_directive = yes; then
5885 cat > conftest.s
<<EOF
5888 .symver _sym,sym@VERS
5890 cat > conftest.map
<<EOF
5899 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5900 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
5901 -o conftest.so conftest.o
5902 -nostartfiles -nostdlib
5903 -Wl,--version-script,conftest.map
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; };
5911 libc_cv_ld_version_script_option
=yes
5913 libc_cv_ld_version_script_option
=no
5916 libc_cv_ld_version_script_option
=no
5919 libc_cv_ld_version_script_option
=no
5923 { echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
5924 echo "${ECHO_T}$libc_cv_ld_version_script_option" >&6; }
5925 if test $shared != no
&&
5926 test $libc_cv_asm_symver_directive = yes &&
5927 test $libc_cv_ld_version_script_option = yes &&
5928 test $enable_versioning = yes; then
5930 cat >>confdefs.h
<<\_ACEOF
5931 #define DO_VERSIONING 1
5939 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
5941 *** WARNING: You should not compile GNU libc without versioning. Not using
5942 *** versioning will introduce incompatibilities so that old binaries
5943 *** will not run anymore.
5944 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
5946 if test $elf = yes; then
5947 { echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
5948 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6; }
5949 if test "${libc_cv_asm_previous_directive+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 cat > conftest.s
<<EOF
5953 .section foo_section
5956 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then
5962 libc_cv_asm_previous_directive
=yes
5964 libc_cv_asm_previous_directive
=no
5968 { echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
5969 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6; }
5970 if test $libc_cv_asm_previous_directive = yes; then
5971 cat >>confdefs.h
<<\_ACEOF
5972 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
5976 { echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
5977 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6; }
5978 if test "${libc_cv_asm_popsection_directive+set}" = set; then
5979 echo $ECHO_N "(cached) $ECHO_C" >&6
5981 cat > conftest.s
<<EOF
5982 .pushsection foo_section
5985 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); }; }; then
5991 libc_cv_asm_popsection_directive
=yes
5993 libc_cv_asm_popsection_directive
=no
5997 { echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
5998 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6; }
5999 if test $libc_cv_asm_popsection_directive = yes; then
6000 cat >>confdefs.h
<<\_ACEOF
6001 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
6006 { echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
6007 echo $ECHO_N "checking for .protected and .hidden assembler directive... $ECHO_C" >&6; }
6008 if test "${libc_cv_asm_protected_directive+set}" = set; then
6009 echo $ECHO_N "(cached) $ECHO_C" >&6
6011 cat > conftest.s
<<EOF
6017 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6023 libc_cv_asm_protected_directive
=yes
6025 { { echo "$as_me:$LINENO: error: assembler support for symbol visibility is required" >&5
6026 echo "$as_me: error: assembler support for symbol visibility is required" >&2;}
6027 { (exit 1); exit 1; }; }
6031 { echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
6032 echo "${ECHO_T}$libc_cv_asm_protected_directive" >&6; }
6034 if test $libc_cv_asm_protected_directive = yes; then
6035 { echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
6036 echo $ECHO_N "checking whether __attribute__((visibility())) is supported... $ECHO_C" >&6; }
6037 if test "${libc_cv_visibility_attribute+set}" = set; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 cat > conftest.c
<<EOF
6041 int foo __attribute__ ((visibility ("hidden"))) = 1;
6042 int bar __attribute__ ((visibility ("protected"))) = 1;
6044 libc_cv_visibility_attribute
=no
6045 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); }; }; then
6051 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
6052 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
6053 libc_cv_visibility_attribute
=yes
6060 { echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
6061 echo "${ECHO_T}$libc_cv_visibility_attribute" >&6; }
6062 if test $libc_cv_visibility_attribute != yes; then
6063 { { echo "$as_me:$LINENO: error: compiler support for visibility attribute is required" >&5
6064 echo "$as_me: error: compiler support for visibility attribute is required" >&2;}
6065 { (exit 1); exit 1; }; }
6069 if test $libc_cv_visibility_attribute = yes; then
6070 { echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
6071 echo $ECHO_N "checking for broken __attribute__((visibility()))... $ECHO_C" >&6; }
6072 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
6073 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 cat > conftest.c
<<EOF
6077 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
6078 int bar (int x) { return x; }
6080 libc_cv_broken_visibility_attribute
=yes
6081 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
6082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; }; then
6087 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
6088 libc_cv_broken_visibility_attribute
=no
6091 rm -f conftest.c conftest.s
6094 { echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
6095 echo "${ECHO_T}$libc_cv_broken_visibility_attribute" >&6; }
6096 if test $libc_cv_broken_visibility_attribute = yes; then
6097 { { echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
6098 echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
6099 { (exit 1); exit 1; }; }
6103 { echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
6104 echo $ECHO_N "checking for broken __attribute__((alias()))... $ECHO_C" >&6; }
6105 if test "${libc_cv_broken_alias_attribute+set}" = set; then
6106 echo $ECHO_N "(cached) $ECHO_C" >&6
6108 cat > conftest.c
<<EOF
6109 extern int foo (int x) __asm ("xyzzy");
6110 int bar (int x) { return x; }
6111 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
6113 extern __typeof (dfoo) dfoo __asm ("abccb");
6116 libc_cv_broken_alias_attribute
=yes
6117 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; }; then
6123 if grep 'xyzzy' conftest.s
>/dev
/null
&&
6124 grep 'abccb' conftest.s
>/dev
/null
; then
6125 libc_cv_broken_alias_attribute
=no
6128 rm -f conftest.c conftest.s
6131 { echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
6132 echo "${ECHO_T}$libc_cv_broken_alias_attribute" >&6; }
6133 if test $libc_cv_broken_alias_attribute = yes; then
6134 { { echo "$as_me:$LINENO: error: working alias attribute support required" >&5
6135 echo "$as_me: error: working alias attribute support required" >&2;}
6136 { (exit 1); exit 1; }; }
6139 if test $libc_cv_visibility_attribute = yes; then
6140 { echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
6141 echo $ECHO_N "checking whether to put _rtld_local into .sdata section... $ECHO_C" >&6; }
6142 if test "${libc_cv_have_sdata_section+set}" = set; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 echo "int i;" > conftest.c
6146 libc_cv_have_sdata_section
=no
6147 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
6148 |
grep '\.sdata' >/dev
/null
; then
6149 libc_cv_have_sdata_section
=yes
6151 rm -f conftest.c conftest.so
6154 { echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
6155 echo "${ECHO_T}$libc_cv_have_sdata_section" >&6; }
6156 if test $libc_cv_have_sdata_section = yes; then
6157 cat >>confdefs.h
<<\_ACEOF
6158 #define HAVE_SDATA_SECTION 1
6164 { echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
6165 echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6; }
6166 if test "${libc_cv_initfini_array+set}" = set; then
6167 echo $ECHO_N "(cached) $ECHO_C" >&6
6169 cat > conftest.c
<<EOF
6170 int _start (void) { return 0; }
6171 int __start (void) { return 0; }
6172 int foo (void) { return 1; }
6173 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6175 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
6176 -static -nostartfiles -nostdlib 1>&5'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; }
6183 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
6184 libc_cv_initfini_array
=yes
6186 libc_cv_initfini_array
=no
6189 libc_cv_initfini_array
=no
6193 { echo "$as_me:$LINENO: result: $libc_cv_initfini_array" >&5
6194 echo "${ECHO_T}$libc_cv_initfini_array" >&6; }
6195 if test $libc_cv_initfini_array != yes; then
6196 { { echo "$as_me:$LINENO: error: Need linker with .init_array/.fini_array support." >&5
6197 echo "$as_me: error: Need linker with .init_array/.fini_array support." >&2;}
6198 { (exit 1); exit 1; }; }
6201 { echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
6202 echo $ECHO_N "checking for libunwind-support in compiler... $ECHO_C" >&6; }
6203 if test "${libc_cv_cc_with_libunwind+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 cat > conftest.c
<<EOF
6208 int main (void) { return 0; }
6210 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6211 conftest.c
-v 2>&1 >/dev
/null |
grep -q " -lunwind "; then
6212 libc_cv_cc_with_libunwind
=yes
6214 libc_cv_cc_with_libunwind
=no
6218 { echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
6219 echo "${ECHO_T}$libc_cv_cc_with_libunwind" >&6; }
6221 if test $libc_cv_cc_with_libunwind = yes; then
6222 cat >>confdefs.h
<<\_ACEOF
6223 #define HAVE_CC_WITH_LIBUNWIND 1
6228 { echo "$as_me:$LINENO: checking for -z nodelete option" >&5
6229 echo $ECHO_N "checking for -z nodelete option... $ECHO_C" >&6; }
6230 if test "${libc_cv_z_nodelete+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6233 cat > conftest.c
<<EOF
6234 int _start (void) { return 42; }
6236 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6237 -fPIC -shared -o conftest.so conftest.c
6238 -nostartfiles -nostdlib
6239 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); }; }
6246 libc_cv_z_nodelete
=yes
6248 { { echo "$as_me:$LINENO: error: linker with -z nodelete support required" >&5
6249 echo "$as_me: error: linker with -z nodelete support required" >&2;}
6250 { (exit 1); exit 1; }; }
6254 { echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
6255 echo "${ECHO_T}$libc_cv_z_nodelete" >&6; }
6257 { echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
6258 echo $ECHO_N "checking for -z nodlopen option... $ECHO_C" >&6; }
6259 if test "${libc_cv_z_nodlopen+set}" = set; then
6260 echo $ECHO_N "(cached) $ECHO_C" >&6
6262 cat > conftest.c
<<EOF
6263 int _start (void) { return 42; }
6265 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6266 -fPIC -shared -o conftest.so conftest.c
6267 -nostartfiles -nostdlib
6268 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; }
6275 libc_cv_z_nodlopen
=yes
6277 { { echo "$as_me:$LINENO: error: linker with -z nodlopen support required" >&5
6278 echo "$as_me: error: linker with -z nodlopen support required" >&2;}
6279 { (exit 1); exit 1; }; }
6283 { echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
6284 echo "${ECHO_T}$libc_cv_z_nodlopen" >&6; }
6286 { echo "$as_me:$LINENO: checking for -z initfirst option" >&5
6287 echo $ECHO_N "checking for -z initfirst option... $ECHO_C" >&6; }
6288 if test "${libc_cv_z_initfirst+set}" = set; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 cat > conftest.c
<<EOF
6292 int _start (void) { return 42; }
6294 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6295 -fPIC -shared -o conftest.so conftest.c
6296 -nostartfiles -nostdlib
6297 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; }
6304 libc_cv_z_initfirst
=yes
6306 { { echo "$as_me:$LINENO: error: linker with -z initfirst support required" >&5
6307 echo "$as_me: error: linker with -z initfirst support required" >&2;}
6308 { (exit 1); exit 1; }; }
6312 { echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
6313 echo "${ECHO_T}$libc_cv_z_initfirst" >&6; }
6315 case "$base_machine" in
6316 i
[34567]86 | x86_64 | powerpc
* | s390
* | sparc
* | alpha
*)
6317 { echo "$as_me:$LINENO: checking for -z relro option" >&5
6318 echo $ECHO_N "checking for -z relro option... $ECHO_C" >&6; }
6319 if test "${libc_cv_z_relro+set}" = set; then
6320 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
6324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); }; }
6330 if { ac_try
='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
6331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 (exit $ac_status); }; }
6341 { echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
6342 echo "${ECHO_T}$libc_cv_z_relro" >&6; }
6343 if test "$libc_cv_z_relro" = no
; then
6344 { { echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
6345 echo "$as_me: error: linker with -z relro support required" >&2;}
6346 { (exit 1); exit 1; }; }
6352 { echo "$as_me:$LINENO: checking for -Bgroup option" >&5
6353 echo $ECHO_N "checking for -Bgroup option... $ECHO_C" >&6; }
6354 if test "${libc_cv_Bgroup+set}" = set; then
6355 echo $ECHO_N "(cached) $ECHO_C" >&6
6357 cat > conftest.c
<<EOF
6358 int _start (void) { return 42; }
6360 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6361 -fPIC -shared -o conftest.so conftest.c
6362 -Wl,-Bgroup -nostdlib 1>&5'
6363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367 (exit $ac_status); }; }
6375 { echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
6376 echo "${ECHO_T}$libc_cv_Bgroup" >&6; }
6379 { echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
6380 echo $ECHO_N "checking for libgcc_s suffix... $ECHO_C" >&6; }
6381 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
6382 echo $ECHO_N "(cached) $ECHO_C" >&6
6384 cat > conftest.c
<<EOF
6385 int main (void) { return 0; }
6387 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6388 -fPIC -shared -shared-libgcc -o conftest.so \
6389 conftest.c -v 2>&1 >/dev/null \
6390 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6393 { echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
6394 echo "${ECHO_T}$libc_cv_libgcc_s_suffix" >&6; }
6397 { echo "$as_me:$LINENO: checking for --as-needed option" >&5
6398 echo $ECHO_N "checking for --as-needed option... $ECHO_C" >&6; }
6399 if test "${libc_cv_as_needed+set}" = set; then
6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6402 cat > conftest.c
<<EOF
6403 int main (void) { return 0; }
6405 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6406 -fPIC -shared -o conftest.so conftest.c
6407 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; }
6415 libc_cv_as_needed
=yes
6417 libc_cv_as_needed
=no
6421 { echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
6422 echo "${ECHO_T}$libc_cv_as_needed" >&6; }
6426 { echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
6427 echo $ECHO_N "checking whether --noexecstack is desirable for .S files... $ECHO_C" >&6; }
6428 if test "${libc_cv_as_noexecstack+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 cat > conftest.c
<<EOF
6434 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6435 -S -o conftest.s conftest.c 1>&5'
6436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); }; } \
6441 && grep -q .note.GNU-stack conftest.s \
6442 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6443 -c -o conftest.o conftest.s 1>&5'
6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); }; }
6450 libc_cv_as_noexecstack
=yes
6452 libc_cv_as_noexecstack
=no
6456 { echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
6457 echo "${ECHO_T}$libc_cv_as_noexecstack" >&6; }
6458 if test $libc_cv_as_noexecstack = yes; then
6459 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6463 { echo "$as_me:$LINENO: checking for -z combreloc" >&5
6464 echo $ECHO_N "checking for -z combreloc... $ECHO_C" >&6; }
6465 if test "${libc_cv_z_combreloc+set}" = set; then
6466 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 cat > conftest.c
<<EOF
6469 extern int bar (int);
6471 int foo (void) { return bar (mumble); }
6473 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6474 -fPIC -shared -o conftest.so conftest.c
6475 -nostdlib -nostartfiles
6476 -Wl,-z,combreloc 1>&5'
6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; }
6483 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6484 libc_cv_z_combreloc
=yes
6486 libc_cv_z_combreloc
=no
6489 libc_cv_z_combreloc
=no
6493 { echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
6494 echo "${ECHO_T}$libc_cv_z_combreloc" >&6; }
6495 if test "$libc_cv_z_combreloc" = yes; then
6496 cat >>confdefs.h
<<\_ACEOF
6497 #define HAVE_Z_COMBRELOC 1
6503 { echo "$as_me:$LINENO: checking for -z execstack" >&5
6504 echo $ECHO_N "checking for -z execstack... $ECHO_C" >&6; }
6505 if test "${libc_cv_z_execstack+set}" = set; then
6506 echo $ECHO_N "(cached) $ECHO_C" >&6
6508 cat > conftest.c
<<EOF
6509 int _start (void) { return 42; }
6511 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6512 -fPIC -shared -o conftest.so conftest.c
6513 -Wl,-z,execstack -nostdlib
6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); }; }
6521 libc_cv_z_execstack
=yes
6523 libc_cv_z_execstack
=no
6527 { echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
6528 echo "${ECHO_T}$libc_cv_z_execstack" >&6; }
6531 { echo "$as_me:$LINENO: checking for -fpie" >&5
6532 echo $ECHO_N "checking for -fpie... $ECHO_C" >&6; }
6533 if test "${libc_cv_fpie+set}" = set; then
6534 echo $ECHO_N "(cached) $ECHO_C" >&6
6536 cat > conftest.c
<<EOF
6538 main () { return 0;}
6540 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
6541 -o conftest conftest.c 1>&5'
6542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); }; }
6554 { echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
6555 echo "${ECHO_T}$libc_cv_fpie" >&6; }
6559 { echo "$as_me:$LINENO: checking for --hash-style option" >&5
6560 echo $ECHO_N "checking for --hash-style option... $ECHO_C" >&6; }
6561 if test "${libc_cv_hashstyle+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 cat > conftest.c
<<EOF
6565 int _start (void) { return 42; }
6567 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6568 -fPIC -shared -o conftest.so conftest.c
6569 -Wl,--hash-style=both -nostdlib 1>&5'
6570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); }; }
6576 libc_cv_hashstyle
=yes
6578 libc_cv_hashstyle
=no
6582 { echo "$as_me:$LINENO: result: $libc_cv_hashstyle" >&5
6583 echo "${ECHO_T}$libc_cv_hashstyle" >&6; }
6587 { echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6588 echo $ECHO_N "checking for -fno-toplevel-reorder -fno-section-anchors... $ECHO_C" >&6; }
6589 if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 cat > conftest.c
<<EOF
6595 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); }; }
6603 libc_cv_fno_toplevel_reorder
=yes
6605 libc_cv_fno_toplevel_reorder
=no
6609 { echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
6610 echo "${ECHO_T}$libc_cv_fno_toplevel_reorder" >&6; }
6611 if test $libc_cv_fno_toplevel_reorder = yes; then
6612 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6614 fno_unit_at_a_time
=-fno-unit-at-a-time
6618 { echo "$as_me:$LINENO: checking for -fstack-protector" >&5
6619 echo $ECHO_N "checking for -fstack-protector... $ECHO_C" >&6; }
6620 if test "${libc_cv_ssp+set}" = set; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6623 cat > conftest.c
<<EOF
6625 main () { return 0;}
6627 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -Werror -fstack-protector
6628 -o conftest conftest.c 1>&5'
6629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); }; }
6641 { echo "$as_me:$LINENO: result: $libc_cv_ssp" >&5
6642 echo "${ECHO_T}$libc_cv_ssp" >&6; }
6645 { echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
6646 echo $ECHO_N "checking for -fgnu89-inline... $ECHO_C" >&6; }
6647 if test "${libc_cv_gnu89_inline+set}" = set; then
6648 echo $ECHO_N "(cached) $ECHO_C" >&6
6650 cat > conftest.c
<<EOF
6652 #ifdef __GNUC_GNU_INLINE__
6653 main () { return 0;}
6658 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6659 -o conftest.s conftest.c 1>&5'
6660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); }; }
6666 libc_cv_gnu89_inline
=yes
6668 libc_cv_gnu89_inline
=no
6672 { echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
6673 echo "${ECHO_T}$libc_cv_gnu89_inline" >&6; }
6674 if test $libc_cv_gnu89_inline = yes; then
6675 libc_cv_gnu89_inline
=-fgnu89-inline
6677 libc_cv_gnu89_inline
=
6681 if test $elf != yes; then
6682 { echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
6683 echo $ECHO_N "checking for .init and .fini sections... $ECHO_C" >&6; }
6684 if test "${libc_cv_have_initfini+set}" = set; then
6685 echo $ECHO_N "(cached) $ECHO_C" >&6
6687 cat >conftest.
$ac_ext <<_ACEOF
6690 cat confdefs.h
>>conftest.
$ac_ext
6691 cat >>conftest.
$ac_ext <<_ACEOF
6692 /* end confdefs.h. */
6697 asm (".section .init");
6698 asm (".section .fini");
6699 asm ("${libc_cv_dot_text}");
6704 rm -f conftest.
$ac_objext
6705 if { (ac_try
="$ac_compile"
6707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6708 *) ac_try_echo=$ac_try;;
6710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6711 (eval "$ac_compile") 2>conftest.er1
6713 grep -v '^ *+' conftest.er1 >conftest.err
6715 cat conftest.err >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } && {
6718 test -z "$ac_c_werror_flag" ||
6719 test ! -s conftest.err
6720 } && test -s conftest.$ac_objext; then
6721 libc_cv_have_initfini=yes
6723 echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.$ac_ext >&5
6726 libc_cv_have_initfini=no
6729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6731 { echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
6732 echo "${ECHO_T}$libc_cv_have_initfini" >&6; }
6733 if test $libc_cv_have_initfini = yes; then
6734 cat >>confdefs.h <<\_ACEOF
6735 #define HAVE_INITFINI 1
6741 if test $elf = yes; then
6742 { echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
6743 echo $ECHO_N "checking whether cc puts quotes around section names... $ECHO_C" >&6; }
6744 if test "${libc_cv_have_section_quotes+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 cat > conftest.c <<EOF
6748 static const int foo
6749 __attribute__ ((section ("bar"))) = 1;
6751 if ${CC-cc} -S conftest.c -o conftest.s; then
6752 if grep '\.section.*"bar"' conftest.s >/dev/null; then
6753 libc_cv_have_section_quotes=yes
6755 libc_cv_have_section_quotes=no
6758 libc_cv_have_section_quotes=unknown
6763 { echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
6764 echo "${ECHO_T}$libc_cv_have_section_quotes" >&6; }
6765 if test $libc_cv_have_section_quotes = yes; then
6766 cat >>confdefs.h <<\_ACEOF
6767 #define HAVE_SECTION_QUOTES 1
6775 if test $elf = yes; then
6776 libc_cv_asm_underscores=no
6778 if test $ac_cv_prog_cc_works = yes; then
6779 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6780 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6781 if test "${libc_cv_asm_underscores+set}" = set; then
6782 echo $ECHO_N "(cached) $ECHO_C" >&6
6784 cat >conftest.$ac_ext <<_ACEOF
6787 cat confdefs.h >>conftest.$ac_ext
6788 cat >>conftest.$ac_ext <<_ACEOF
6789 /* end confdefs.h. */
6790 asm ("_glibc_foobar:");
6799 rm -f conftest.$ac_objext conftest$ac_exeext
6800 if { (ac_try="$ac_link"
6802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6803 *) ac_try_echo
=$ac_try;;
6805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6806 (eval "$ac_link") 2>conftest.er1
6808 grep -v '^ *+' conftest.er1
>conftest.err
6810 cat conftest.err
>&5
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); } && {
6813 test -z "$ac_c_werror_flag" ||
6814 test ! -s conftest.err
6815 } && test -s conftest
$ac_exeext &&
6816 $as_test_x conftest
$ac_exeext; then
6817 libc_cv_asm_underscores
=yes
6819 echo "$as_me: failed program was:" >&5
6820 sed 's/^/| /' conftest.
$ac_ext >&5
6822 libc_cv_asm_underscores
=no
6825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6826 conftest
$ac_exeext conftest.
$ac_ext
6828 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6829 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6831 { echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
6832 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6; }
6833 if test "${libc_cv_asm_underscores+set}" = set; then
6834 echo $ECHO_N "(cached) $ECHO_C" >&6
6836 cat > conftest.
$ac_ext <<EOF
6837 #line $LINENO "configure"
6838 #include "confdefs.h"
6839 void underscore_test(void) {
6842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6843 (eval $ac_compile) 2>&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); }; then
6847 if grep _underscore_test conftest
* >/dev
/null
; then
6849 libc_cv_asm_underscores
=yes
6852 libc_cv_asm_underscores
=no
6855 echo "configure: failed program was:" >&5
6856 cat conftest.
$ac_ext >&5
6858 libc_cv_asm_underscores
=no
6862 { echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
6863 echo "${ECHO_T}$libc_cv_asm_underscores" >&6; }
6866 if test $libc_cv_asm_underscores = no
; then
6867 cat >>confdefs.h
<<\_ACEOF
6868 #define NO_UNDERSCORES 1
6873 if test $elf = yes; then
6874 libc_cv_weak_symbols
=yes
6877 { echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
6878 echo $ECHO_N "checking for assembler .weak directive... $ECHO_C" >&6; }
6879 if test "${libc_cv_asm_weak_directive+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 cat > conftest.s
<<EOF
6884 ${libc_cv_asm_global_directive} foo
6887 .weak bar; bar = foo
6889 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; }; then
6895 libc_cv_asm_weak_directive
=yes
6897 libc_cv_asm_weak_directive
=no
6901 { echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
6902 echo "${ECHO_T}$libc_cv_asm_weak_directive" >&6; }
6904 if test $libc_cv_asm_weak_directive = no
; then
6905 { echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
6906 echo $ECHO_N "checking for assembler .weakext directive... $ECHO_C" >&6; }
6907 if test "${libc_cv_asm_weakext_directive+set}" = set; then
6908 echo $ECHO_N "(cached) $ECHO_C" >&6
6910 cat > conftest.s
<<EOF
6912 ${libc_cv_asm_global_directive} foo
6916 ${libc_cv_asm_global_directive} baz
6919 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); }; }; then
6925 libc_cv_asm_weakext_directive
=yes
6927 libc_cv_asm_weakext_directive
=no
6931 { echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
6932 echo "${ECHO_T}$libc_cv_asm_weakext_directive" >&6; }
6936 if test $libc_cv_asm_weak_directive = yes; then
6937 cat >>confdefs.h
<<\_ACEOF
6938 #define HAVE_ASM_WEAK_DIRECTIVE 1
6941 elif test $libc_cv_asm_weakext_directive = yes; then
6942 cat >>confdefs.h
<<\_ACEOF
6943 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
6948 { echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
6949 echo $ECHO_N "checking whether CFI directives are supported... $ECHO_C" >&6; }
6950 if test "${libc_cv_asm_cfi_directives+set}" = set; then
6951 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 sparc
/sparc64
*) cfi_offset
=2047;;
6957 cat > conftest.s
<<EOF
6959 .type func,%function
6963 .cfi_rel_offset 1, $cfi_offset
6966 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); }; }; then
6972 libc_cv_asm_cfi_directives
=yes
6974 libc_cv_asm_cfi_directives
=no
6978 { echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
6979 echo "${ECHO_T}$libc_cv_asm_cfi_directives" >&6; }
6980 if test $libc_cv_asm_cfi_directives = yes; then
6981 cat >>confdefs.h
<<\_ACEOF
6982 #define HAVE_ASM_CFI_DIRECTIVES 1
6987 { echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
6988 echo $ECHO_N "checking for ld --no-whole-archive... $ECHO_C" >&6; }
6989 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
6990 echo $ECHO_N "(cached) $ECHO_C" >&6
6992 cat > conftest.c
<<\EOF
6997 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6998 -nostdlib -nostartfiles -Wl,--no-whole-archive
6999 -o conftest conftest.c 1>&5'
7000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); }; }; then
7005 libc_cv_ld_no_whole_archive
=yes
7007 libc_cv_ld_no_whole_archive
=no
7011 { echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
7012 echo "${ECHO_T}$libc_cv_ld_no_whole_archive" >&6; }
7013 if test $libc_cv_ld_no_whole_archive = yes; then
7014 no_whole_archive
=-Wl,--no-whole-archive
7017 { echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
7018 echo $ECHO_N "checking for gcc -fexceptions... $ECHO_C" >&6; }
7019 if test "${libc_cv_gcc_exceptions+set}" = set; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 cat > conftest.c
<<\EOF
7027 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
7028 -nostdlib -nostartfiles -fexceptions
7029 -o conftest conftest.c 1>&5'
7030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; }; then
7035 libc_cv_gcc_exceptions
=yes
7037 libc_cv_gcc_exceptions
=no
7041 { echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
7042 echo "${ECHO_T}$libc_cv_gcc_exceptions" >&6; }
7043 if test $libc_cv_gcc_exceptions = yes; then
7044 exceptions
=-fexceptions
7047 if test "$host_cpu" = powerpc
; then
7048 # Check for a bug present in at least versions 2.8.x of GCC
7049 # and versions 1.0.x of EGCS.
7050 { echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
7051 echo $ECHO_N "checking whether clobbering cr0 causes problems... $ECHO_C" >&6; }
7052 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
7053 echo $ECHO_N "(cached) $ECHO_C" >&6
7055 cat >conftest.
$ac_ext <<_ACEOF
7058 cat confdefs.h
>>conftest.
$ac_ext
7059 cat >>conftest.
$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7061 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
7070 rm -f conftest.
$ac_objext
7071 if { (ac_try
="$ac_compile"
7073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7074 *) ac_try_echo=$ac_try;;
7076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7077 (eval "$ac_compile") 2>conftest.er1
7079 grep -v '^ *+' conftest.er1 >conftest.err
7081 cat conftest.err >&5
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); } && {
7084 test -z "$ac_c_werror_flag" ||
7085 test ! -s conftest.err
7086 } && test -s conftest.$ac_objext; then
7087 libc_cv_c_asmcr0_bug='no'
7089 echo "$as_me: failed program was:" >&5
7090 sed 's/^/| /' conftest.$ac_ext >&5
7092 libc_cv_c_asmcr0_bug='yes'
7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7097 { echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
7098 echo "${ECHO_T}$libc_cv_c_asmcr0_bug" >&6; }
7099 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
7100 cat >>confdefs.h <<\_ACEOF
7101 #define BROKEN_PPC_ASM_CR0 1
7107 { echo "$as_me:$LINENO: checking for __builtin_expect" >&5
7108 echo $ECHO_N "checking for __builtin_expect... $ECHO_C" >&6; }
7109 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7112 cat > conftest.c <<EOF
7113 #line $LINENO "configure"
7116 a = __builtin_expect (a, 10);
7117 return a == 10 ? 0 : 1;
7120 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
7121 -o conftest conftest.c -lgcc >&5'
7122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); }; }; then
7127 libc_cv_gcc_builtin_expect=yes
7129 libc_cv_gcc_builtin_expect=no
7133 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
7134 echo "${ECHO_T}$libc_cv_gcc_builtin_expect" >&6; }
7135 if test "$libc_cv_gcc_builtin_expect" = yes; then
7136 cat >>confdefs.h <<\_ACEOF
7137 #define HAVE_BUILTIN_EXPECT 1
7142 { echo "$as_me:$LINENO: checking for __builtin_memset" >&5
7143 echo $ECHO_N "checking for __builtin_memset... $ECHO_C" >&6; }
7144 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 cat > conftest.c <<\EOF
7150 __builtin_memset (x, 0, 1000);
7153 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); }; };
7160 libc_cv_gcc_builtin_memset=no
7162 libc_cv_gcc_builtin_memset=yes
7166 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
7167 echo "${ECHO_T}$libc_cv_gcc_builtin_memset" >&6; }
7168 if test "$libc_cv_gcc_builtin_memset" = yes ; then
7169 cat >>confdefs.h <<\_ACEOF
7170 #define HAVE_BUILTIN_MEMSET 1
7175 { echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
7176 echo $ECHO_N "checking for redirection of built-in functions... $ECHO_C" >&6; }
7177 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 cat > conftest.c <<\EOF
7181 extern char *strstr (const char *, const char *) __asm ("my_strstr");
7182 char *foo (const char *a, const char *b)
7184 return __builtin_strstr (a, b);
7187 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
7188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; };
7194 libc_cv_gcc_builtin_redirection=yes
7196 libc_cv_gcc_builtin_redirection=no
7200 { echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
7201 echo "${ECHO_T}$libc_cv_gcc_builtin_redirection" >&6; }
7202 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
7203 cat >>confdefs.h <<\_ACEOF
7204 #define HAVE_BUILTIN_REDIRECTION 1
7209 if test "x$use__thread" != xno; then
7210 { echo "$as_me:$LINENO: checking for __thread" >&5
7211 echo $ECHO_N "checking for __thread... $ECHO_C" >&6; }
7212 if test "${libc_cv_gcc___thread+set}" = set; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6
7215 cat > conftest.c <<\EOF
7216 __thread int a = 42;
7218 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
7219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); }; }; then
7224 libc_cv_gcc___thread=yes
7226 libc_cv_gcc___thread=no
7230 { echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
7231 echo "${ECHO_T}$libc_cv_gcc___thread" >&6; }
7232 if test "$libc_cv_gcc___thread" = yes; then
7233 cat >>confdefs.h <<\_ACEOF
7234 #define HAVE___THREAD 1
7239 libc_cv_gcc___thread=no
7242 if test "$libc_cv_gcc___thread" = yes; then
7243 { echo "$as_me:$LINENO: checking for tls_model attribute" >&5
7244 echo $ECHO_N "checking for tls_model attribute... $ECHO_C" >&6; }
7245 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
7246 echo $ECHO_N "(cached) $ECHO_C" >&6
7248 cat > conftest.c <<\EOF
7249 extern __thread int a __attribute__((tls_model ("initial-exec")));
7251 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
7252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; }; then
7257 libc_cv_gcc_tls_model_attr=yes
7259 libc_cv_gcc_tls_model_attr=no
7263 { echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
7264 echo "${ECHO_T}$libc_cv_gcc_tls_model_attr" >&6; }
7265 if test "$libc_cv_gcc_tls_model_attr" = yes; then
7266 cat >>confdefs.h <<\_ACEOF
7267 #define HAVE_TLS_MODEL_ATTRIBUTE 1
7273 if test -n "$submachine"; then
7274 { echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
7275 echo $ECHO_N "checking for compiler option for CPU variant... $ECHO_C" >&6; }
7276 if test "${libc_cv_cc_submachine+set}" = set; then
7277 echo $ECHO_N "(cached) $ECHO_C" >&6
7279 libc_cv_cc_submachine=no
7280 for opt in "-march=$submachine" "-mcpu=$submachine"; do
7281 if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7286 (exit $ac_status); }; }; then
7287 libc_cv_cc_submachine="$opt"
7292 { echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
7293 echo "${ECHO_T}$libc_cv_cc_submachine" >&6; }
7294 if test "x$libc_cv_cc_submachine" = xno; then
7295 { { echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
7296 echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
7297 { (exit 1); exit 1; }; }
7302 { echo "$as_me:$LINENO: checking for libgd" >&5
7303 echo $ECHO_N "checking for libgd... $ECHO_C" >&6; }
7304 if test "$with_gd" != "no"; then
7305 old_CFLAGS="$CFLAGS"
7306 CFLAGS="$CFLAGS $libgd_include"
7307 old_LDFLAGS="$LDFLAGS"
7308 LDFLAGS="$LDFLAGS $libgd_ldflags"
7310 LIBS="$LIBS -lgd -lpng -lz -lm"
7311 cat >conftest.$ac_ext <<_ACEOF
7314 cat confdefs.h >>conftest.$ac_ext
7315 cat >>conftest.$ac_ext <<_ACEOF
7316 /* end confdefs.h. */
7326 rm -f conftest.$ac_objext conftest$ac_exeext
7327 if { (ac_try="$ac_link"
7329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7330 *) ac_try_echo
=$ac_try;;
7332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7333 (eval "$ac_link") 2>conftest.er1
7335 grep -v '^ *+' conftest.er1
>conftest.err
7337 cat conftest.err
>&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); } && {
7340 test -z "$ac_c_werror_flag" ||
7341 test ! -s conftest.err
7342 } && test -s conftest
$ac_exeext &&
7343 $as_test_x conftest
$ac_exeext; then
7346 echo "$as_me: failed program was:" >&5
7347 sed 's/^/| /' conftest.
$ac_ext >&5
7352 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7353 conftest
$ac_exeext conftest.
$ac_ext
7354 CFLAGS
="$old_CFLAGS"
7355 LDFLAGS
="$old_LDFLAGS"
7360 { echo "$as_me:$LINENO: result: $LIBGD" >&5
7361 echo "${ECHO_T}$LIBGD" >&6; }
7365 if test x
$with_selinux = xno
; then
7368 # See if we have the SELinux library
7369 { echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
7370 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
7371 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 ac_check_lib_save_LIBS
=$LIBS
7375 LIBS
="-lselinux $LIBS"
7376 cat >conftest.
$ac_ext <<_ACEOF
7379 cat confdefs.h
>>conftest.
$ac_ext
7380 cat >>conftest.
$ac_ext <<_ACEOF
7381 /* end confdefs.h. */
7383 /* Override any GCC internal prototype to avoid an error.
7384 Use char because int might match the return type of a GCC
7385 builtin and then its argument prototype would still apply. */
7389 char is_selinux_enabled ();
7393 return is_selinux_enabled ();
7398 rm -f conftest.
$ac_objext conftest
$ac_exeext
7399 if { (ac_try
="$ac_link"
7401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7402 *) ac_try_echo=$ac_try;;
7404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7405 (eval "$ac_link") 2>conftest.er1
7407 grep -v '^ *+' conftest.er1 >conftest.err
7409 cat conftest.err >&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); } && {
7412 test -z "$ac_c_werror_flag" ||
7413 test ! -s conftest.err
7414 } && test -s conftest$ac_exeext &&
7415 $as_test_x conftest$ac_exeext; then
7416 ac_cv_lib_selinux_is_selinux_enabled=yes
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.$ac_ext >&5
7421 ac_cv_lib_selinux_is_selinux_enabled=no
7424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7425 conftest$ac_exeext conftest.$ac_ext
7426 LIBS=$ac_check_lib_save_LIBS
7428 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7429 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7430 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
7436 # See if we have the SELinux header with the NSCD permissions in it.
7437 if test x$have_selinux = xyes ; then
7438 { echo "$as_me:$LINENO: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7439 echo $ECHO_N "checking for NSCD Flask permissions in selinux/av_permissions.h... $ECHO_C" >&6; }
7440 cat >conftest.$ac_ext <<_ACEOF
7443 cat confdefs.h >>conftest.$ac_ext
7444 cat >>conftest.$ac_ext <<_ACEOF
7445 /* end confdefs.h. */
7446 #include <selinux/av_permissions.h>
7450 #ifdef NSCD__SHMEMHOST
7453 #error NSCD__SHMEMHOST not defined
7459 rm -f conftest.$ac_objext
7460 if { (ac_try="$ac_compile"
7462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7463 *) ac_try_echo
=$ac_try;;
7465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7466 (eval "$ac_compile") 2>conftest.er1
7468 grep -v '^ *+' conftest.er1
>conftest.err
7470 cat conftest.err
>&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); } && {
7473 test -z "$ac_c_werror_flag" ||
7474 test ! -s conftest.err
7475 } && test -s conftest.
$ac_objext; then
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.
$ac_ext >&5
7484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7485 { echo "$as_me:$LINENO: result: $have_selinux" >&5
7486 echo "${ECHO_T}$have_selinux" >&6; }
7489 if test x
$with_selinux = xyes
; then
7490 if test x
$have_selinux = xno
; then
7491 { { echo "$as_me:$LINENO: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&5
7492 echo "$as_me: error: SELinux explicitly required, but sufficiently recent SELinux library not found" >&2;}
7493 { (exit 1); exit 1; }; }
7497 # Check if we're building with SELinux support.
7498 if test "x$have_selinux" = xyes
; then
7500 cat >>confdefs.h
<<\_ACEOF
7501 #define HAVE_SELINUX 1
7505 # See if we have the libaudit library
7506 { echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5
7507 echo $ECHO_N "checking for audit_log_user_avc_message in -laudit... $ECHO_C" >&6; }
7508 if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 ac_check_lib_save_LIBS
=$LIBS
7512 LIBS
="-laudit $LIBS"
7513 cat >conftest.
$ac_ext <<_ACEOF
7516 cat confdefs.h
>>conftest.
$ac_ext
7517 cat >>conftest.
$ac_ext <<_ACEOF
7518 /* end confdefs.h. */
7520 /* Override any GCC internal prototype to avoid an error.
7521 Use char because int might match the return type of a GCC
7522 builtin and then its argument prototype would still apply. */
7526 char audit_log_user_avc_message ();
7530 return audit_log_user_avc_message ();
7535 rm -f conftest.
$ac_objext conftest
$ac_exeext
7536 if { (ac_try
="$ac_link"
7538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7539 *) ac_try_echo=$ac_try;;
7541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7542 (eval "$ac_link") 2>conftest.er1
7544 grep -v '^ *+' conftest.er1 >conftest.err
7546 cat conftest.err >&5
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); } && {
7549 test -z "$ac_c_werror_flag" ||
7550 test ! -s conftest.err
7551 } && test -s conftest$ac_exeext &&
7552 $as_test_x conftest$ac_exeext; then
7553 ac_cv_lib_audit_audit_log_user_avc_message=yes
7555 echo "$as_me: failed program was:" >&5
7556 sed 's/^/| /' conftest.$ac_ext >&5
7558 ac_cv_lib_audit_audit_log_user_avc_message=no
7561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7562 conftest$ac_exeext conftest.$ac_ext
7563 LIBS=$ac_check_lib_save_LIBS
7565 { echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7566 echo "${ECHO_T}$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7567 if test $ac_cv_lib_audit_audit_log_user_avc_message = yes; then
7573 if test "x$have_libaudit" = xyes; then
7575 cat >>confdefs.h <<\_ACEOF
7576 #define HAVE_LIBAUDIT 1
7582 # See if we have the libcap library
7583 { echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
7584 echo $ECHO_N "checking for cap_init in -lcap... $ECHO_C" >&6; }
7585 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
7586 echo $ECHO_N "(cached) $ECHO_C" >&6
7588 ac_check_lib_save_LIBS=$LIBS
7590 cat >conftest.$ac_ext <<_ACEOF
7593 cat confdefs.h >>conftest.$ac_ext
7594 cat >>conftest.$ac_ext <<_ACEOF
7595 /* end confdefs.h. */
7597 /* Override any GCC internal prototype to avoid an error.
7598 Use char because int might match the return type of a GCC
7599 builtin and then its argument prototype would still apply. */
7612 rm -f conftest.$ac_objext conftest$ac_exeext
7613 if { (ac_try="$ac_link"
7615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7616 *) ac_try_echo
=$ac_try;;
7618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7619 (eval "$ac_link") 2>conftest.er1
7621 grep -v '^ *+' conftest.er1
>conftest.err
7623 cat conftest.err
>&5
7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); } && {
7626 test -z "$ac_c_werror_flag" ||
7627 test ! -s conftest.err
7628 } && test -s conftest
$ac_exeext &&
7629 $as_test_x conftest
$ac_exeext; then
7630 ac_cv_lib_cap_cap_init
=yes
7632 echo "$as_me: failed program was:" >&5
7633 sed 's/^/| /' conftest.
$ac_ext >&5
7635 ac_cv_lib_cap_cap_init
=no
7638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7639 conftest
$ac_exeext conftest.
$ac_ext
7640 LIBS
=$ac_check_lib_save_LIBS
7642 { echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
7643 echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
7644 if test $ac_cv_lib_cap_cap_init = yes; then
7650 if test "x$have_libcap" = xyes
; then
7652 cat >>confdefs.h
<<\_ACEOF
7653 #define HAVE_LIBCAP 1
7662 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7663 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7664 if test "${ac_cv_path_GREP+set}" = set; then
7665 echo $ECHO_N "(cached) $ECHO_C" >&6
7667 # Extract the first word of "grep ggrep" to use in msg output
7668 if test -z "$GREP"; then
7669 set dummy
grep ggrep
; ac_prog_name
=$2
7670 if test "${ac_cv_path_GREP+set}" = set; then
7671 echo $ECHO_N "(cached) $ECHO_C" >&6
7673 ac_path_GREP_found
=false
7674 # Loop through the user's path and test for each of PROGNAME-LIST
7675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7676 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7679 test -z "$as_dir" && as_dir
=.
7680 for ac_prog
in grep ggrep
; do
7681 for ac_exec_ext
in '' $ac_executable_extensions; do
7682 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7683 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7684 # Check for GNU ac_path_GREP and select it if it is found.
7685 # Check for GNU $ac_path_GREP
7686 case `"$ac_path_GREP" --version 2>&1` in
7688 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7691 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7694 cat "conftest.in" "conftest.in" >"conftest.tmp"
7695 mv "conftest.tmp" "conftest.in"
7696 cp "conftest.in" "conftest.nl"
7697 echo 'GREP' >> "conftest.nl"
7698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7699 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7700 ac_count
=`expr $ac_count + 1`
7701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7702 # Best one so far, save it but keep looking for a better one
7703 ac_cv_path_GREP
="$ac_path_GREP"
7704 ac_path_GREP_max
=$ac_count
7706 # 10*(2^10) chars as input seems more than enough
7707 test $ac_count -gt 10 && break
7709 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7713 $ac_path_GREP_found && break 3
7723 GREP
="$ac_cv_path_GREP"
7724 if test -z "$GREP"; then
7725 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7726 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7727 { (exit 1); exit 1; }; }
7731 ac_cv_path_GREP
=$GREP
7736 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7737 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7738 GREP
="$ac_cv_path_GREP"
7741 { echo "$as_me:$LINENO: checking for egrep" >&5
7742 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7743 if test "${ac_cv_path_EGREP+set}" = set; then
7744 echo $ECHO_N "(cached) $ECHO_C" >&6
7746 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7747 then ac_cv_path_EGREP
="$GREP -E"
7749 # Extract the first word of "egrep" to use in msg output
7750 if test -z "$EGREP"; then
7751 set dummy
egrep; ac_prog_name
=$2
7752 if test "${ac_cv_path_EGREP+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 ac_path_EGREP_found
=false
7756 # Loop through the user's path and test for each of PROGNAME-LIST
7757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7758 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7761 test -z "$as_dir" && as_dir
=.
7762 for ac_prog
in egrep; do
7763 for ac_exec_ext
in '' $ac_executable_extensions; do
7764 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7765 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7766 # Check for GNU ac_path_EGREP and select it if it is found.
7767 # Check for GNU $ac_path_EGREP
7768 case `"$ac_path_EGREP" --version 2>&1` in
7770 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7773 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7776 cat "conftest.in" "conftest.in" >"conftest.tmp"
7777 mv "conftest.tmp" "conftest.in"
7778 cp "conftest.in" "conftest.nl"
7779 echo 'EGREP' >> "conftest.nl"
7780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7781 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7782 ac_count
=`expr $ac_count + 1`
7783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7784 # Best one so far, save it but keep looking for a better one
7785 ac_cv_path_EGREP
="$ac_path_EGREP"
7786 ac_path_EGREP_max
=$ac_count
7788 # 10*(2^10) chars as input seems more than enough
7789 test $ac_count -gt 10 && break
7791 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7795 $ac_path_EGREP_found && break 3
7805 EGREP
="$ac_cv_path_EGREP"
7806 if test -z "$EGREP"; then
7807 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7808 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7809 { (exit 1); exit 1; }; }
7813 ac_cv_path_EGREP
=$EGREP
7819 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7820 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7821 EGREP
="$ac_cv_path_EGREP"
7824 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7825 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7826 if test "${ac_cv_header_stdc+set}" = set; then
7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 cat >conftest.
$ac_ext <<_ACEOF
7832 cat confdefs.h
>>conftest.
$ac_ext
7833 cat >>conftest.
$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7848 rm -f conftest.
$ac_objext
7849 if { (ac_try
="$ac_compile"
7851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7852 *) ac_try_echo=$ac_try;;
7854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7855 (eval "$ac_compile") 2>conftest.er1
7857 grep -v '^ *+' conftest.er1 >conftest.err
7859 cat conftest.err >&5
7860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); } && {
7862 test -z "$ac_c_werror_flag" ||
7863 test ! -s conftest.err
7864 } && test -s conftest.$ac_objext; then
7865 ac_cv_header_stdc=yes
7867 echo "$as_me: failed program was:" >&5
7868 sed 's/^/| /' conftest.$ac_ext >&5
7870 ac_cv_header_stdc=no
7873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7875 if test $ac_cv_header_stdc = yes; then
7876 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7877 cat >conftest.$ac_ext <<_ACEOF
7880 cat confdefs.h >>conftest.$ac_ext
7881 cat >>conftest.$ac_ext <<_ACEOF
7882 /* end confdefs.h. */
7886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7887 $EGREP "memchr" >/dev/null 2>&1; then
7890 ac_cv_header_stdc=no
7896 if test $ac_cv_header_stdc = yes; then
7897 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7898 cat >conftest.$ac_ext <<_ACEOF
7901 cat confdefs.h >>conftest.$ac_ext
7902 cat >>conftest.$ac_ext <<_ACEOF
7903 /* end confdefs.h. */
7907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7908 $EGREP "free" >/dev/null 2>&1; then
7911 ac_cv_header_stdc=no
7917 if test $ac_cv_header_stdc = yes; then
7918 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7919 if test "$cross_compiling" = yes; then
7922 cat >conftest.$ac_ext <<_ACEOF
7925 cat confdefs.h >>conftest.$ac_ext
7926 cat >>conftest.$ac_ext <<_ACEOF
7927 /* end confdefs.h. */
7930 #if ((' ' & 0x0FF) == 0x020)
7931 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7932 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7934 # define ISLOWER(c) \
7935 (('a' <= (c) && (c) <= 'i') \
7936 || ('j' <= (c) && (c) <= 'r') \
7937 || ('s' <= (c) && (c) <= 'z'))
7938 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7941 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7946 for (i = 0; i < 256; i++)
7947 if (XOR (islower (i), ISLOWER (i))
7948 || toupper (i) != TOUPPER (i))
7953 rm -f conftest$ac_exeext
7954 if { (ac_try="$ac_link"
7956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7957 *) ac_try_echo
=$ac_try;;
7959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7960 (eval "$ac_link") 2>&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7964 { (case "(($ac_try" in
7965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7966 *) ac_try_echo=$ac_try;;
7968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7969 (eval "$ac_try") 2>&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); }; }; then
7975 echo "$as_me: program exited with status $ac_status" >&5
7976 echo "$as_me: failed program was:" >&5
7977 sed 's/^/| /' conftest.$ac_ext >&5
7980 ac_cv_header_stdc=no
7982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7988 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7989 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7990 if test $ac_cv_header_stdc = yes; then
7992 cat >>confdefs.h <<\_ACEOF
7993 #define STDC_HEADERS 1
7998 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8008 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8009 inttypes.h stdint.h unistd.h
8011 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8012 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8015 echo $ECHO_N "(cached) $ECHO_C" >&6
8017 cat >conftest.$ac_ext <<_ACEOF
8020 cat confdefs.h >>conftest.$ac_ext
8021 cat >>conftest.$ac_ext <<_ACEOF
8022 /* end confdefs.h. */
8023 $ac_includes_default
8025 #include <$ac_header>
8027 rm -f conftest.$ac_objext
8028 if { (ac_try="$ac_compile"
8030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8031 *) ac_try_echo
=$ac_try;;
8033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8034 (eval "$ac_compile") 2>conftest.er1
8036 grep -v '^ *+' conftest.er1
>conftest.err
8038 cat conftest.err
>&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } && {
8041 test -z "$ac_c_werror_flag" ||
8042 test ! -s conftest.err
8043 } && test -s conftest.
$ac_objext; then
8044 eval "$as_ac_Header=yes"
8046 echo "$as_me: failed program was:" >&5
8047 sed 's/^/| /' conftest.
$ac_ext >&5
8049 eval "$as_ac_Header=no"
8052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8054 ac_res
=`eval echo '${'$as_ac_Header'}'`
8055 { echo "$as_me:$LINENO: result: $ac_res" >&5
8056 echo "${ECHO_T}$ac_res" >&6; }
8057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8058 cat >>confdefs.h
<<_ACEOF
8059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8067 { echo "$as_me:$LINENO: checking for long double" >&5
8068 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
8069 if test "${ac_cv_type_long_double+set}" = set; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8072 cat >conftest.
$ac_ext <<_ACEOF
8075 cat confdefs.h
>>conftest.
$ac_ext
8076 cat >>conftest.
$ac_ext <<_ACEOF
8077 /* end confdefs.h. */
8078 $ac_includes_default
8079 typedef long double ac__type_new_;
8083 if ((ac__type_new_ *) 0)
8085 if (sizeof (ac__type_new_))
8091 rm -f conftest.
$ac_objext
8092 if { (ac_try
="$ac_compile"
8094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8095 *) ac_try_echo=$ac_try;;
8097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8098 (eval "$ac_compile") 2>conftest.er1
8100 grep -v '^ *+' conftest.er1 >conftest.err
8102 cat conftest.err >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); } && {
8105 test -z "$ac_c_werror_flag" ||
8106 test ! -s conftest.err
8107 } && test -s conftest.$ac_objext; then
8108 ac_cv_type_long_double=yes
8110 echo "$as_me: failed program was:" >&5
8111 sed 's/^/| /' conftest.$ac_ext >&5
8113 ac_cv_type_long_double=no
8116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8118 { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
8119 echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
8121 # The cast to long int works around a bug in the HP C Compiler
8122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8123 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
8124 # This bug is HP SR number 8606223364.
8125 { echo "$as_me:$LINENO: checking size of long double" >&5
8126 echo $ECHO_N "checking size of long double... $ECHO_C" >&6; }
8127 if test "${ac_cv_sizeof_long_double+set}" = set; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8130 if test "$cross_compiling" = yes; then
8131 # Depending upon the size, compute the lo and hi bounds.
8132 cat >conftest.$ac_ext <<_ACEOF
8135 cat confdefs.h >>conftest.$ac_ext
8136 cat >>conftest.$ac_ext <<_ACEOF
8137 /* end confdefs.h. */
8138 $ac_includes_default
8139 typedef long double ac__type_sizeof_;
8143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8150 rm -f conftest.$ac_objext
8151 if { (ac_try="$ac_compile"
8153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8154 *) ac_try_echo=$ac_try;;
8156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8157 (eval "$ac_compile") 2>conftest.er1
8159 grep -v '^
*+' conftest.er1 >conftest.err
8161 cat conftest.err >&5
8162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); } && {
8164 test -z "$ac_c_werror_flag" ||
8165 test ! -s conftest.err
8166 } && test -s conftest.$ac_objext; then
8169 cat >conftest.$ac_ext <<_ACEOF
8172 cat confdefs.h >>conftest.$ac_ext
8173 cat >>conftest.$ac_ext <<_ACEOF
8174 /* end confdefs.h. */
8175 $ac_includes_default
8176 typedef long double ac__type_sizeof_;
8180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8187 rm -f conftest.$ac_objext
8188 if { (ac_try="$ac_compile"
8190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8191 *) ac_try_echo=$ac_try;;
8193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8194 (eval "$ac_compile") 2>conftest.er1
8196 grep -v '^
*+' conftest.er1 >conftest.err
8198 cat conftest.err >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } && {
8201 test -z "$ac_c_werror_flag" ||
8202 test ! -s conftest.err
8203 } && test -s conftest.$ac_objext; then
8204 ac_hi=$ac_mid; break
8206 echo "$as_me: failed program was:" >&5
8207 sed 's
/^
/|
/' conftest.$ac_ext >&5
8209 ac_lo=`expr $ac_mid + 1`
8210 if test $ac_lo -le $ac_mid; then
8214 ac_mid=`expr 2 '*' $ac_mid + 1`
8217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8220 echo "$as_me: failed program was:" >&5
8221 sed 's
/^
/|
/' conftest.$ac_ext >&5
8223 cat >conftest.$ac_ext <<_ACEOF
8226 cat confdefs.h >>conftest.$ac_ext
8227 cat >>conftest.$ac_ext <<_ACEOF
8228 /* end confdefs.h. */
8229 $ac_includes_default
8230 typedef long double ac__type_sizeof_;
8234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8241 rm -f conftest.$ac_objext
8242 if { (ac_try="$ac_compile"
8244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8245 *) ac_try_echo=$ac_try;;
8247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8248 (eval "$ac_compile") 2>conftest.er1
8250 grep -v '^
*+' conftest.er1 >conftest.err
8252 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } && {
8255 test -z "$ac_c_werror_flag" ||
8256 test ! -s conftest.err
8257 } && test -s conftest.$ac_objext; then
8260 cat >conftest.$ac_ext <<_ACEOF
8263 cat confdefs.h >>conftest.$ac_ext
8264 cat >>conftest.$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8266 $ac_includes_default
8267 typedef long double ac__type_sizeof_;
8271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8278 rm -f conftest.$ac_objext
8279 if { (ac_try="$ac_compile"
8281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8282 *) ac_try_echo=$ac_try;;
8284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8285 (eval "$ac_compile") 2>conftest.er1
8287 grep -v '^
*+' conftest.er1 >conftest.err
8289 cat conftest.err >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } && {
8292 test -z "$ac_c_werror_flag" ||
8293 test ! -s conftest.err
8294 } && test -s conftest.$ac_objext; then
8295 ac_lo=$ac_mid; break
8297 echo "$as_me: failed program was:" >&5
8298 sed 's
/^
/|
/' conftest.$ac_ext >&5
8300 ac_hi=`expr '(' $ac_mid ')' - 1`
8301 if test $ac_mid -le $ac_hi; then
8305 ac_mid=`expr 2 '*' $ac_mid`
8308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8311 echo "$as_me: failed program was:" >&5
8312 sed 's
/^
/|
/' conftest.$ac_ext >&5
8317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8321 # Binary search between lo and hi bounds.
8322 while test "x$ac_lo" != "x$ac_hi"; do
8323 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8324 cat >conftest.$ac_ext <<_ACEOF
8327 cat confdefs.h >>conftest.$ac_ext
8328 cat >>conftest.$ac_ext <<_ACEOF
8329 /* end confdefs.h. */
8330 $ac_includes_default
8331 typedef long double ac__type_sizeof_;
8335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8342 rm -f conftest.$ac_objext
8343 if { (ac_try="$ac_compile"
8345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8346 *) ac_try_echo=$ac_try;;
8348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8349 (eval "$ac_compile") 2>conftest.er1
8351 grep -v '^
*+' conftest.er1 >conftest.err
8353 cat conftest.err >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); } && {
8356 test -z "$ac_c_werror_flag" ||
8357 test ! -s conftest.err
8358 } && test -s conftest.$ac_objext; then
8361 echo "$as_me: failed program was:" >&5
8362 sed 's
/^
/|
/' conftest.$ac_ext >&5
8364 ac_lo=`expr '(' $ac_mid ')' + 1`
8367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8370 ?*) ac_cv_sizeof_long_double=$ac_lo;;
8371 '') if test "$ac_cv_type_long_double" = yes; then
8372 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8373 See \`config.log' for more details.
" >&5
8374 echo "$as_me: error
: cannot compute sizeof
(long double
)
8375 See \
`config.log' for more details." >&2;}
8376 { (exit 77); exit 77; }; }
8378 ac_cv_sizeof_long_double=0
8382 cat >conftest.$ac_ext <<_ACEOF
8385 cat confdefs.h >>conftest.$ac_ext
8386 cat >>conftest.$ac_ext <<_ACEOF
8387 /* end confdefs.h. */
8388 $ac_includes_default
8389 typedef long double ac__type_sizeof_;
8390 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8391 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8398 FILE *f = fopen ("conftest.val", "w");
8401 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8403 long int i = longval ();
8404 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8406 fprintf (f, "%ld\n", i);
8410 unsigned long int i = ulongval ();
8411 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8413 fprintf (f, "%lu\n", i);
8415 return ferror (f) || fclose (f) != 0;
8421 rm -f conftest$ac_exeext
8422 if { (ac_try="$ac_link"
8424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8425 *) ac_try_echo
=$ac_try;;
8427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8428 (eval "$ac_link") 2>&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8432 { (case "(($ac_try" in
8433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8434 *) ac_try_echo=$ac_try;;
8436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8437 (eval "$ac_try") 2>&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; }; then
8441 ac_cv_sizeof_long_double=`cat conftest.val
`
8443 echo "$as_me: program exited with status $ac_status" >&5
8444 echo "$as_me: failed program was:" >&5
8445 sed 's/^/| /' conftest.$ac_ext >&5
8448 if test "$ac_cv_type_long_double" = yes; then
8449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
8450 See \`config.log
' for more details." >&5
8451 echo "$as_me: error: cannot compute sizeof (long double)
8452 See \`config.log' for more details.
" >&2;}
8453 { (exit 77); exit 77; }; }
8455 ac_cv_sizeof_long_double=0
8458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8462 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_double" >&5
8463 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6; }
8467 cat >>confdefs.h <<_ACEOF
8468 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8472 sizeof_long_double=$ac_cv_sizeof_long_double
8475 ### End of automated tests.
8476 ### Now run sysdeps configure fragments.
8478 # They also can set these variables.
8480 ldd_rewrite_script=no
8481 libc_cv_sysconfdir=$sysconfdir
8482 libc_cv_gcc_unwind_find_fde=no
8485 # Iterate over all the sysdep directories we will use, running their
8486 # configure fragments, and looking for a uname implementation.
8488 for dir in $sysnames; do
8491 *) dest=$srcdir/$dir ;;
8493 if test -r $dest/configure; then
8494 { echo "$as_me:$LINENO: result
: running configure fragment
for $dir" >&5
8495 echo "${ECHO_T}running configure fragment
for $dir" >&6; }
8499 if test -z "$uname"; then
8500 if test -r $dest/uname.c ||
8501 test -r $dest/uname.S ||
8502 { test -r $dest/syscalls.list &&
8503 grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
8509 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
8510 cat >>confdefs.h <<\_ACEOF
8511 #define EXPORT_UNWIND_FIND_FDE 1
8517 # If we will use the generic uname implementation, we must figure out what
8518 # it will say by examining the system, and write the results in config-name.h.
8519 if test "$uname" = "sysdeps
/generic
"; then
8521 uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
8522 if test $uname_sysname != $config_os; then
8523 config_release=`echo $config_os | sed s/$uname_sysname//`
8526 { echo "$as_me:$LINENO: checking OS release
for uname
" >&5
8527 echo $ECHO_N "checking OS release
for uname...
$ECHO_C" >&6; }
8528 if test "${libc_cv_uname_release+set}" = set; then
8529 echo $ECHO_N "(cached
) $ECHO_C" >&6
8531 if test -r /vmunix; then
8532 kernel_id=`strings /vmunix | grep UNIX`
8533 elif test -r /dynix; then
8534 kernel_id=`strings /dynix | grep DYNIX`
8539 kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
8540 if test x`echo "$config_release" | sed "s
/^
$kernel_release//"` \
8541 != x$config_release; then
8542 # The configuration release is a substring of the kernel release.
8543 libc_cv_uname_release=$kernel_release
8544 elif test x$config_release != x; then
8545 libc_cv_uname_release=$config_release
8546 elif test x$kernel_release != x; then
8547 libc_cv_uname_release=$kernel_release
8549 libc_cv_uname_release=unknown
8552 { echo "$as_me:$LINENO: result
: $libc_cv_uname_release" >&5
8553 echo "${ECHO_T}$libc_cv_uname_release" >&6; }
8554 uname_release="$libc_cv_uname_release"
8556 { echo "$as_me:$LINENO: checking OS version
for uname
" >&5
8557 echo $ECHO_N "checking OS version
for uname...
$ECHO_C" >&6; }
8558 if test "${libc_cv_uname_version+set}" = set; then
8559 echo $ECHO_N "(cached
) $ECHO_C" >&6
8561 if test -r /vmunix; then
8562 kernel_id=`strings /vmunix | grep UNIX`
8563 elif test -r /dynix; then
8564 kernel_id=`strings /dynix | grep DYNIX`
8569 kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
8570 if test -n "$kernel_version"; then
8571 libc_cv_uname_version="$kernel_version"
8573 libc_cv_uname_version=unknown
8576 { echo "$as_me:$LINENO: result
: $libc_cv_uname_version" >&5
8577 echo "${ECHO_T}$libc_cv_uname_version" >&6; }
8578 uname_version="$libc_cv_uname_version"
8580 config_uname=config-name.h:config-name.in
8582 # For non-generic uname, we don't need to create config-name.h at all.
8586 cat >>confdefs.h <<\_ACEOF
8587 #define USE_IN_LIBIO 1
8591 # Test for old glibc 2.0.x headers so that they can be removed properly
8592 # Search only in includedir.
8593 { echo "$as_me:$LINENO: checking
for old glibc
2.0.x headers
" >&5
8594 echo $ECHO_N "checking
for old glibc
2.0.x headers...
$ECHO_C" >&6; }
8595 if eval test -f "${includedir}/elfclass.h
" -a -f "${includedir}/fcntlbits.h
"
8597 old_glibc_headers=yes
8599 old_glibc_headers=no
8601 { echo "$as_me:$LINENO: result
: $old_glibc_headers" >&5
8602 echo "${ECHO_T}$old_glibc_headers" >&6; }
8603 if test ${old_glibc_headers} = yes; then
8604 { echo "$as_me:$LINENO: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&5
8605 echo "$as_me: WARNING
: *** During
\"make install\" old headers from glibc
2.0.x will
" >&2;}
8606 { echo "$as_me:$LINENO: WARNING
: *** be removed.
" >&5
8607 echo "$as_me: WARNING
: *** be removed.
" >&2;}
8623 if test $elf = yes; then
8624 cat >>confdefs.h <<\_ACEOF
8629 if test $xcoff = yes; then
8630 cat >>confdefs.h <<\_ACEOF
8631 #define HAVE_XCOFF 1
8638 if test $shared = default; then
8642 { echo "$as_me:$LINENO: checking whether
-fPIC is default
" >&5
8643 echo $ECHO_N "checking whether
-fPIC is default...
$ECHO_C" >&6; }
8644 if test "${libc_cv_pic_default+set}" = set; then
8645 echo $ECHO_N "(cached
) $ECHO_C" >&6
8647 libc_cv_pic_default=yes
8648 cat > conftest.c <<EOF
8649 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
8650 # error PIC is default.
8653 if eval "${CC-cc} -S conftest.c
2>&5 1>&5"; then
8654 libc_cv_pic_default=no
8658 { echo "$as_me:$LINENO: result
: $libc_cv_pic_default" >&5
8659 echo "${ECHO_T}$libc_cv_pic_default" >&6; }
8672 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
8675 config_makefile=Makefile
8678 VERSION=`sed -n -e 's/^#define VERSION "\
([^
"]*\)"/\
1/p
' < $srcdir/version.h`
8679 RELEASE=`sed -n -e 's
/^
#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
8683 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
8685 ac_config_commands
="$ac_config_commands default"
8687 cat >confcache
<<\_ACEOF
8688 # This file is a shell script that caches the results of configure
8689 # tests run on this system so they can be shared between configure
8690 # scripts and configure runs, see configure's option --config-cache.
8691 # It is not useful on other systems. If it contains results you don't
8692 # want to keep, you may remove or edit it.
8694 # config.status only pays attention to the cache file if you give it
8695 # the --recheck option to rerun configure.
8697 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8698 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8703 # The following way of writing the cache mishandles newlines in values,
8704 # but we know of no workaround that is simple, portable, and efficient.
8705 # So, we kill variables containing newlines.
8706 # Ultrix sh set writes to stderr and can't be redirected directly,
8707 # and sets the high bit in the cache file unless we assign to the vars.
8709 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8710 eval ac_val
=\$
$ac_var
8714 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8715 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8718 _ | IFS | as_nl
) ;; #(
8719 *) $as_unset $ac_var ;;
8725 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8726 *${as_nl}ac_space
=\
*)
8727 # `set' does not quote correctly, so add quotes (double-quote
8728 # substitution turns \\\\ into \\, and sed turns \\ into \).
8731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8734 # `set' quotes correctly as required by POSIX, so do not add quotes.
8735 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8744 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8746 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8748 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8749 if test -w "$cache_file"; then
8750 test "x$cache_file" != "x/dev/null" &&
8751 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8752 echo "$as_me: updating cache $cache_file" >&6;}
8753 cat confcache
>$cache_file
8755 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8756 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8761 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8762 # Let make expand exec_prefix.
8763 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8765 DEFS
=-DHAVE_CONFIG_H
8769 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8770 # 1. Remove the extension, and $U if already installed.
8771 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8772 ac_i
=`echo "$ac_i" | sed "$ac_script"`
8773 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8774 # will be set to the directory where LIBOBJS objects are built.
8775 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8776 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8780 LTLIBOBJS
=$ac_ltlibobjs
8784 : ${CONFIG_STATUS=./config.status}
8785 ac_clean_files_save
=$ac_clean_files
8786 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8787 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8788 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8789 cat >$CONFIG_STATUS <<_ACEOF
8791 # Generated by $as_me.
8792 # Run this file to recreate the current configuration.
8793 # Compiler output produced by configure, useful for debugging
8794 # configure, is in config.log if it exists.
8799 SHELL=\${CONFIG_SHELL-$SHELL}
8802 cat >>$CONFIG_STATUS <<\_ACEOF
8803 ## --------------------- ##
8804 ## M4sh Initialization. ##
8805 ## --------------------- ##
8807 # Be more Bourne compatible
8808 DUALCASE
=1; export DUALCASE
# for MKS sh
8809 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8812 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8813 # is contrary to our usage. Disable this feature.
8814 alias -g '${1+"$@"}'='"$@"'
8815 setopt NO_GLOB_SUBST
8817 case `(set -o) 2>/dev/null` in
8818 *posix
*) set -o posix
;;
8827 # Avoid depending upon Character Ranges.
8828 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8829 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8830 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8831 as_cr_digits
='0123456789'
8832 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8834 # The user is always right.
8835 if test "${PATH_SEPARATOR+set}" != set; then
8836 echo "#! /bin/sh" >conf$$.sh
8837 echo "exit 0" >>conf$$.sh
8839 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8847 # Support unset when possible.
8848 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8856 # We need space, tab and new line, in precisely that order. Quoting is
8857 # there to prevent editors from complaining about space-tab.
8858 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8859 # splitting by setting IFS to empty value.)
8864 # Find who we are. Look in the path if we contain no directory separator.
8866 *[\\/]* ) as_myself
=$0 ;;
8867 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8871 test -z "$as_dir" && as_dir
=.
8872 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8878 # We did not find ourselves, most probably we were run as `sh COMMAND'
8879 # in which case we are not to be found in the path.
8880 if test "x$as_myself" = x
; then
8883 if test ! -f "$as_myself"; then
8884 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8885 { (exit 1); exit 1; }
8888 # Work around bugs in pre-3.0 UWIN ksh.
8889 for as_var
in ENV MAIL MAILPATH
8890 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8898 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8899 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8900 LC_TELEPHONE LC_TIME
8902 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8903 eval $as_var=C
; export $as_var
8905 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8909 # Required to use basename.
8910 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8911 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8917 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8918 as_basename
=basename
8924 # Name of the executable.
8925 as_me
=`$as_basename -- "$0" ||
8926 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8927 X"$0" : 'X\(//\)$' \| \
8928 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8930 sed '/^.*\/\([^/][^/]*\)\/*$/{
8951 test "x$as_lineno_1" != "x$as_lineno_2" &&
8952 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8954 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8955 # uniformly replaced by the line number. The first 'sed' inserts a
8956 # line-number line after each line using $LINENO; the second 'sed'
8957 # does the real work. The second script uses 'N' to pair each
8958 # line-number line with the line containing $LINENO, and appends
8959 # trailing '-' during substitution so that $LINENO is not a special
8961 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8962 # scripts with optimization help from Paolo Bonzini. Blame Lee
8963 # E. McMahon (1931-1989) for sed's syntax. :-)
8975 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8979 chmod +x
"$as_me.lineno" ||
8980 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8981 { (exit 1); exit 1; }; }
8983 # Don't try to exec as it changes $[0], causing all sort of problems
8984 # (the dirname of $[0] is not the place where we might find the
8985 # original and so on. Autoconf is especially sensitive to this).
8987 # Exit status is that of the last command.
8992 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8998 ECHO_C
= ECHO_N
= ECHO_T
=
9001 case `echo 'x\c'` in
9002 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9009 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9010 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9016 rm -f conf$$ conf$$.exe conf$$.
file
9017 if test -d conf$$.dir
; then
9018 rm -f conf$$.dir
/conf$$.
file
9024 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9026 # ... but there are two gotchas:
9027 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9028 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9029 # In both cases, we have to default to `cp -p'.
9030 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9032 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9037 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9038 rmdir conf$$.dir
2>/dev
/null
9040 if mkdir
-p .
2>/dev
/null
; then
9043 test -d .
/-p && rmdir .
/-p
9047 if test -x / >/dev
/null
2>&1; then
9050 if ls -dL / >/dev
/null
2>&1; then
9057 if test -d "$1"; then
9063 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9064 ???[sx]*):;;*)false;;esac;fi
9068 as_executable_p
=$as_test_x
9070 # Sed expression to map a string onto a valid CPP name.
9071 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9073 # Sed expression to map a string onto a valid variable name.
9074 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9079 # Save the log message, to keep $[0] and so on meaningful, and to
9080 # report actual input values of CONFIG_FILES etc. instead of their
9081 # values after options handling.
9083 This file was extended by GNU C Library $as_me (see version.h), which was
9084 generated by GNU Autoconf 2.61. Invocation command line was
9086 CONFIG_FILES = $CONFIG_FILES
9087 CONFIG_HEADERS = $CONFIG_HEADERS
9088 CONFIG_LINKS = $CONFIG_LINKS
9089 CONFIG_COMMANDS = $CONFIG_COMMANDS
9092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9097 cat >>$CONFIG_STATUS <<_ACEOF
9098 # Files that config.status was made for.
9099 config_files="$ac_config_files"
9100 config_headers="$ac_config_headers"
9101 config_commands="$ac_config_commands"
9105 cat >>$CONFIG_STATUS <<\_ACEOF
9107 \`$as_me' instantiates files from templates according to the
9108 current configuration.
9110 Usage: $0 [OPTIONS] [FILE]...
9112 -h, --help print this help, then exit
9113 -V, --version print version number and configuration settings, then exit
9114 -q, --quiet do not print progress messages
9115 -d, --debug don't remove temporary files
9116 --recheck update $as_me by reconfiguring in the same conditions
9117 --file=FILE[:TEMPLATE]
9118 instantiate the configuration file FILE
9119 --header=FILE[:TEMPLATE]
9120 instantiate the configuration header FILE
9122 Configuration files:
9125 Configuration headers:
9128 Configuration commands:
9131 Report bugs to <bug-autoconf@gnu.org>."
9134 cat >>$CONFIG_STATUS <<_ACEOF
9136 GNU C Library config.status (see version.h)
9137 configured by $0, generated by GNU Autoconf 2.61,
9138 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9140 Copyright (C) 2006 Free Software Foundation, Inc.
9141 This config.status script is free software; the Free Software Foundation
9142 gives unlimited permission to copy, distribute and modify it."
9149 cat >>$CONFIG_STATUS <<\_ACEOF
9150 # If no file are specified by the user, then we need to provide default
9151 # value. By we need to know if files were specified by the user.
9157 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9158 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9169 # Handling of the options.
9170 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9172 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9173 echo "$ac_cs_version"; exit ;;
9174 --debug |
--debu |
--deb |
--de |
--d |
-d )
9176 --file |
--fil |
--fi |
--f )
9178 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9179 ac_need_defaults
=false
;;
9180 --header |
--heade |
--head |
--hea )
9182 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9183 ac_need_defaults
=false
;;
9185 # Conflict between --help and --header
9186 { echo "$as_me: error: ambiguous option: $1
9187 Try \`$0 --help' for more information." >&2
9188 { (exit 1); exit 1; }; };;
9189 --help |
--hel |
-h )
9190 echo "$ac_cs_usage"; exit ;;
9191 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9192 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9196 -*) { echo "$as_me: error: unrecognized option: $1
9197 Try \`$0 --help' for more information." >&2
9198 { (exit 1); exit 1; }; } ;;
9200 *) ac_config_targets
="$ac_config_targets $1"
9201 ac_need_defaults
=false
;;
9207 ac_configure_extra_args
=
9209 if $ac_cs_silent; then
9211 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9215 cat >>$CONFIG_STATUS <<_ACEOF
9216 if \$ac_cs_recheck; then
9217 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9220 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9224 cat >>$CONFIG_STATUS <<\_ACEOF
9228 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9229 ## Running $as_me. ##
9235 cat >>$CONFIG_STATUS <<_ACEOF
9239 config_vars='$config_vars'
9243 cat >>$CONFIG_STATUS <<\_ACEOF
9245 # Handling of arguments.
9246 for ac_config_target
in $ac_config_targets
9248 case $ac_config_target in
9249 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9250 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
9251 "${config_makefile}") CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
9252 "${config_uname}") CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
9253 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9255 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9256 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9257 { (exit 1); exit 1; }; };;
9262 # If the user did not use the arguments to specify the items to instantiate,
9263 # then the envvar interface is used. Set only those that are not.
9264 # We use the long form for the default assignment because of an extremely
9265 # bizarre bug on SunOS 4.1.3.
9266 if $ac_need_defaults; then
9267 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9268 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9269 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9272 # Have a temporary directory for convenience. Make it in the build tree
9273 # simply because there is no reason against having it here, and in addition,
9274 # creating and moving files from /tmp can sometimes cause problems.
9275 # Hook for its removal unless debugging.
9276 # Note that there is a small window in which the directory will not be cleaned:
9277 # after its creation but before its name has been assigned to `$tmp'.
9281 trap 'exit_status=$?
9282 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9284 trap '{ (exit 1); exit 1; }' 1 2 13 15
9286 # Create a (secure) tmp directory for tmp files.
9289 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9290 test -n "$tmp" && test -d "$tmp"
9293 tmp
=.
/conf$$
-$RANDOM
9294 (umask 077 && mkdir
"$tmp")
9297 echo "$me: cannot create a temporary directory in ." >&2
9298 { (exit 1); exit 1; }
9302 # Set up the sed scripts for CONFIG_FILES section.
9305 # No need to generate the scripts if there are no CONFIG_FILES.
9306 # This happens for instance when ./config.status config.h
9307 if test -n "$CONFIG_FILES"; then
9314 for ac_last_try
in false false false false false
:; do
9315 cat >conf$
$subs.
sed <<_ACEOF
9316 SHELL!$SHELL$ac_delim
9317 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9318 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9319 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9320 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9321 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9322 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9323 exec_prefix!$exec_prefix$ac_delim
9324 prefix!$prefix$ac_delim
9325 program_transform_name!$program_transform_name$ac_delim
9326 bindir!$bindir$ac_delim
9327 sbindir!$sbindir$ac_delim
9328 libexecdir!$libexecdir$ac_delim
9329 datarootdir!$datarootdir$ac_delim
9330 datadir!$datadir$ac_delim
9331 sysconfdir!$sysconfdir$ac_delim
9332 sharedstatedir!$sharedstatedir$ac_delim
9333 localstatedir!$localstatedir$ac_delim
9334 includedir!$includedir$ac_delim
9335 oldincludedir!$oldincludedir$ac_delim
9336 docdir!$docdir$ac_delim
9337 infodir!$infodir$ac_delim
9338 htmldir!$htmldir$ac_delim
9339 dvidir!$dvidir$ac_delim
9340 pdfdir!$pdfdir$ac_delim
9341 psdir!$psdir$ac_delim
9342 libdir!$libdir$ac_delim
9343 localedir!$localedir$ac_delim
9344 mandir!$mandir$ac_delim
9346 ECHO_C!$ECHO_C$ac_delim
9347 ECHO_N!$ECHO_N$ac_delim
9348 ECHO_T!$ECHO_T$ac_delim
9350 build_alias!$build_alias$ac_delim
9351 host_alias!$host_alias$ac_delim
9352 target_alias!$target_alias$ac_delim
9354 CFLAGS!$CFLAGS$ac_delim
9355 LDFLAGS!$LDFLAGS$ac_delim
9356 CPPFLAGS!$CPPFLAGS$ac_delim
9357 ac_ct_CC!$ac_ct_CC$ac_delim
9358 OBJEXT!$OBJEXT$ac_delim
9359 BUILD_CC!$BUILD_CC$ac_delim
9360 cross_compiling!$cross_compiling$ac_delim
9363 CXXFLAGS!$CXXFLAGS$ac_delim
9364 ac_ct_CXX!$ac_ct_CXX$ac_delim
9365 with_fp!$with_fp$ac_delim
9366 with_cvs!$with_cvs$ac_delim
9367 enable_check_abi!$enable_check_abi$ac_delim
9368 oldest_abi!$oldest_abi$ac_delim
9369 bindnow!$bindnow$ac_delim
9370 force_install!$force_install$ac_delim
9371 all_warnings!$all_warnings$ac_delim
9372 multi_arch!$multi_arch$ac_delim
9373 experimental_malloc!$experimental_malloc$ac_delim
9374 libc_cv_nss_crypt!$libc_cv_nss_crypt$ac_delim
9375 build!$build$ac_delim
9376 build_cpu!$build_cpu$ac_delim
9377 build_vendor!$build_vendor$ac_delim
9378 build_os!$build_os$ac_delim
9380 host_cpu!$host_cpu$ac_delim
9381 host_vendor!$host_vendor$ac_delim
9382 host_os!$host_os$ac_delim
9383 subdirs!$subdirs$ac_delim
9384 add_ons!$add_ons$ac_delim
9385 add_on_subdirs!$add_on_subdirs$ac_delim
9386 base_machine!$base_machine$ac_delim
9387 submachine!$submachine$ac_delim
9388 sysnames!$sysnames$ac_delim
9389 sysdeps_add_ons!$sysdeps_add_ons$ac_delim
9390 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9391 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9392 INSTALL_DATA!$INSTALL_DATA$ac_delim
9395 OBJDUMP!$OBJDUMP$ac_delim
9396 RANLIB!$RANLIB$ac_delim
9400 PWD_P!$PWD_P$ac_delim
9402 MSGFMT!$MSGFMT$ac_delim
9403 MAKEINFO!$MAKEINFO$ac_delim
9405 AUTOCONF!$AUTOCONF$ac_delim
9406 SYSINCLUDES!$SYSINCLUDES$ac_delim
9407 CXX_SYSINCLUDES!$CXX_SYSINCLUDES$ac_delim
9408 libc_cv_gcc_static_libgcc!$libc_cv_gcc_static_libgcc$ac_delim
9409 BASH_SHELL!$BASH_SHELL$ac_delim
9410 libc_cv_have_bash2!$libc_cv_have_bash2$ac_delim
9412 libc_cv_have_ksh!$libc_cv_have_ksh$ac_delim
9415 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9417 elif $ac_last_try; then
9418 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9419 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9420 { (exit 1); exit 1; }; }
9422 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9426 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9427 if test -n "$ac_eof"; then
9428 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9429 ac_eof
=`expr $ac_eof + 1`
9432 cat >>$CONFIG_STATUS <<_ACEOF
9433 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9434 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9437 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9438 s/^/s,@/; s/!/@,|#_!!_#|/
9441 s/'"$ac_delim"'$/,g/; t
9443 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9444 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9445 rm -f conf$
$subs.
sed
9446 cat >>$CONFIG_STATUS <<_ACEOF
9452 for ac_last_try
in false false false false false
:; do
9453 cat >conf$
$subs.
sed <<_ACEOF
9456 INSTALL_INFO!$INSTALL_INFO$ac_delim
9457 BISON!$BISON$ac_delim
9458 VERSIONING!$VERSIONING$ac_delim
9459 libc_cv_cc_with_libunwind!$libc_cv_cc_with_libunwind$ac_delim
9460 libc_cv_Bgroup!$libc_cv_Bgroup$ac_delim
9461 libc_cv_libgcc_s_suffix!$libc_cv_libgcc_s_suffix$ac_delim
9462 libc_cv_as_needed!$libc_cv_as_needed$ac_delim
9463 ASFLAGS_config!$ASFLAGS_config$ac_delim
9464 libc_cv_z_combreloc!$libc_cv_z_combreloc$ac_delim
9465 libc_cv_z_execstack!$libc_cv_z_execstack$ac_delim
9466 libc_cv_fpie!$libc_cv_fpie$ac_delim
9467 libc_cv_hashstyle!$libc_cv_hashstyle$ac_delim
9468 fno_unit_at_a_time!$fno_unit_at_a_time$ac_delim
9469 libc_cv_ssp!$libc_cv_ssp$ac_delim
9470 libc_cv_gnu89_inline!$libc_cv_gnu89_inline$ac_delim
9471 libc_cv_have_initfini!$libc_cv_have_initfini$ac_delim
9472 no_whole_archive!$no_whole_archive$ac_delim
9473 exceptions!$exceptions$ac_delim
9474 libc_cv_cc_submachine!$libc_cv_cc_submachine$ac_delim
9475 LIBGD!$LIBGD$ac_delim
9476 have_libaudit!$have_libaudit$ac_delim
9477 have_libcap!$have_libcap$ac_delim
9478 have_selinux!$have_selinux$ac_delim
9480 EGREP!$EGREP$ac_delim
9481 sizeof_long_double!$sizeof_long_double$ac_delim
9482 libc_cv_gcc_unwind_find_fde!$libc_cv_gcc_unwind_find_fde$ac_delim
9483 uname_sysname!$uname_sysname$ac_delim
9484 uname_release!$uname_release$ac_delim
9485 uname_version!$uname_version$ac_delim
9486 old_glibc_headers!$old_glibc_headers$ac_delim
9487 libc_cv_slibdir!$libc_cv_slibdir$ac_delim
9488 libc_cv_localedir!$libc_cv_localedir$ac_delim
9489 libc_cv_sysconfdir!$libc_cv_sysconfdir$ac_delim
9490 libc_cv_rootsbindir!$libc_cv_rootsbindir$ac_delim
9491 libc_cv_forced_unwind!$libc_cv_forced_unwind$ac_delim
9492 libc_cv_cpp_asm_debuginfo!$libc_cv_cpp_asm_debuginfo$ac_delim
9493 use_ldconfig!$use_ldconfig$ac_delim
9494 ldd_rewrite_script!$ldd_rewrite_script$ac_delim
9496 xcoff!$xcoff$ac_delim
9497 static!$static$ac_delim
9498 shared!$shared$ac_delim
9499 libc_cv_pic_default!$libc_cv_pic_default$ac_delim
9500 profile!$profile$ac_delim
9501 omitfp!$omitfp$ac_delim
9502 bounded!$bounded$ac_delim
9503 static_nss!$static_nss$ac_delim
9504 nopic_initfini!$nopic_initfini$ac_delim
9505 DEFINES!$DEFINES$ac_delim
9506 mach_interface_list!$mach_interface_list$ac_delim
9507 VERSION!$VERSION$ac_delim
9508 RELEASE!$RELEASE$ac_delim
9509 LIBOBJS!$LIBOBJS$ac_delim
9510 LTLIBOBJS!$LTLIBOBJS$ac_delim
9513 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
9515 elif $ac_last_try; then
9516 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9517 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9518 { (exit 1); exit 1; }; }
9520 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9524 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9525 if test -n "$ac_eof"; then
9526 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9527 ac_eof
=`expr $ac_eof + 1`
9530 cat >>$CONFIG_STATUS <<_ACEOF
9531 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9532 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9535 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9536 s/^/s,@/; s/!/@,|#_!!_#|/
9539 s/'"$ac_delim"'$/,g/; t
9541 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9542 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9543 rm -f conf$
$subs.
sed
9544 cat >>$CONFIG_STATUS <<_ACEOF
9551 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9552 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9553 # trailing colons and then remove the whole line if VPATH becomes empty
9554 # (actually we leave an empty line to preserve line numbers).
9555 if test "x$srcdir" = x.
; then
9556 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9560 s/^\([^=]*=[ ]*\):*/\1/
9566 cat >>$CONFIG_STATUS <<\_ACEOF
9567 fi # test -n "$CONFIG_FILES"
9570 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
9573 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9575 case $ac_mode$ac_tag in
9577 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9578 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9579 { (exit 1); exit 1; }; };;
9580 :[FH
]-) ac_tag
=-:-;;
9581 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9598 -) ac_f
="$tmp/stdin";;
9599 *) # Look for the file first in the build tree, then in the source tree
9600 # (if the path is not absolute). The absolute path cannot be DOS-style,
9601 # because $ac_f cannot contain `:'.
9605 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9607 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9608 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9609 { (exit 1); exit 1; }; };;
9611 ac_file_inputs
="$ac_file_inputs $ac_f"
9614 # Let's still pretend it is `configure' which instantiates (i.e., don't
9615 # use $as_me), people would be surprised to read:
9616 # /* config.h. Generated by config.status. */
9617 configure_input
="Generated from "`IFS=:
9618 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9619 if test x
"$ac_file" != x-
; then
9620 configure_input
="$ac_file. $configure_input"
9621 { echo "$as_me:$LINENO: creating $ac_file" >&5
9622 echo "$as_me: creating $ac_file" >&6;}
9626 *:-:* |
*:-) cat >"$tmp/stdin";;
9631 ac_dir
=`$as_dirname -- "$ac_file" ||
9632 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9633 X"$ac_file" : 'X\(//\)[^/]' \| \
9634 X"$ac_file" : 'X\(//\)$' \| \
9635 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9656 -*) as_dir
=.
/$as_dir;;
9658 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9662 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9663 *) as_qdir
=$as_dir;;
9665 as_dirs
="'$as_qdir' $as_dirs"
9666 as_dir
=`$as_dirname -- "$as_dir" ||
9667 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9668 X"$as_dir" : 'X\(//\)[^/]' \| \
9669 X"$as_dir" : 'X\(//\)$' \| \
9670 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9689 test -d "$as_dir" && break
9691 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9692 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9693 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9694 { (exit 1); exit 1; }; }; }
9698 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9700 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9701 # A ".." for each directory in $ac_dir_suffix.
9702 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9703 case $ac_top_builddir_sub in
9704 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9705 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9708 ac_abs_top_builddir
=$ac_pwd
9709 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9710 # for backward compatibility:
9711 ac_top_builddir
=$ac_top_build_prefix
9714 .
) # We are building in place.
9716 ac_top_srcdir
=$ac_top_builddir_sub
9717 ac_abs_top_srcdir
=$ac_pwd ;;
9718 [\\/]* | ?
:[\\/]* ) # Absolute name.
9719 ac_srcdir
=$srcdir$ac_dir_suffix;
9720 ac_top_srcdir
=$srcdir
9721 ac_abs_top_srcdir
=$srcdir ;;
9723 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9724 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9725 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9727 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9737 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9738 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9742 cat >>$CONFIG_STATUS <<\_ACEOF
9743 # If the template does not know about datarootdir, expand it.
9744 # FIXME: This hack should be removed a few years after 2.60.
9745 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9747 case `sed -n '/datarootdir/ {
9756 ' $ac_file_inputs` in
9757 *datarootdir
*) ac_datarootdir_seen
=yes;;
9758 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9759 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9760 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9762 cat >>$CONFIG_STATUS <<_ACEOF
9763 ac_datarootdir_hack='
9764 s&@datadir@&$datadir&g
9765 s&@docdir@&$docdir&g
9766 s&@infodir@&$infodir&g
9767 s&@localedir@&$localedir&g
9768 s&@mandir@&$mandir&g
9769 s&\\\${datarootdir}&$datarootdir&g' ;;
9773 # Neutralize VPATH when `$srcdir' = `.'.
9774 # Shell code in configure.ac might set extrasub.
9775 # FIXME: do we really want to maintain this feature?
9776 cat >>$CONFIG_STATUS <<_ACEOF
9780 cat >>$CONFIG_STATUS <<\_ACEOF
9782 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9783 s
&@configure_input@
&$configure_input&;t t
9784 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9785 s
&@srcdir@
&$ac_srcdir&;t t
9786 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9787 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9788 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9789 s
&@builddir@
&$ac_builddir&;t t
9790 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9791 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9792 s
&@INSTALL@
&$ac_INSTALL&;t t
9793 $ac_datarootdir_hack
9794 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
9796 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9797 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9798 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9799 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9800 which seems to be undefined. Please make sure it is defined." >&5
9801 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9802 which seems to be undefined. Please make sure it is defined." >&2;}
9806 -) cat "$tmp/out"; rm -f "$tmp/out";;
9807 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9816 # Transform confdefs.h into a sed script `conftest.defines', that
9817 # substitutes the proper values into config.h.in to produce config.h.
9818 rm -f conftest.defines conftest.
tail
9819 # First, append a space to every undef/define line, to ease matching.
9820 echo 's/$/ /' >conftest.defines
9821 # Then, protect against being on the right side of a sed subst, or in
9822 # an unquoted here document, in config.status. If some macros were
9823 # called several times there might be several #defines for the same
9824 # symbol, which is useless. But do not sort them, since the last
9825 # AC_DEFINE must be honored.
9826 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
9827 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9828 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9829 # PARAMS is the parameter list in the macro definition--in most cases, it's
9830 # just an empty string.
9831 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9832 ac_dB
='\\)[ (].*,\\1define\\2'
9840 s/^[ ]*#[ ]*define[ ][ ]*//
9845 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9846 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9847 ' >>conftest.defines
9849 # Remove the space that was appended to ease matching.
9850 # Then replace #undef with comments. This is necessary, for
9851 # example, in the case of _POSIX_SOURCE, which is predefined and required
9852 # on some systems where configure will not decide to define it.
9853 # (The regexp can be short, since the line contains either #define or #undef.)
9855 s,^[ #]*u.*,/* & */,' >>conftest.defines
9857 # Break up conftest.defines:
9860 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9861 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9862 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9864 ac_in
='$ac_file_inputs'
9865 ac_out
='"$tmp/out1"'
9866 ac_nxt
='"$tmp/out2"'
9870 # Write a here document:
9871 cat >>$CONFIG_STATUS <<_ACEOF
9872 # First, check the format of the line:
9873 cat >"\$tmp/defines.sed" <<\\CEOF
9874 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9875 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9879 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
9881 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9882 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
9883 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
9884 grep . conftest.
tail >/dev
/null ||
break
9885 rm -f conftest.defines
9886 mv conftest.
tail conftest.defines
9888 rm -f conftest.defines conftest.
tail
9890 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9891 cat >>$CONFIG_STATUS <<\_ACEOF
9892 if test x
"$ac_file" != x-
; then
9893 echo "/* $configure_input */" >"$tmp/config.h"
9894 cat "$ac_result" >>"$tmp/config.h"
9895 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
9896 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9897 echo "$as_me: $ac_file is unchanged" >&6;}
9900 mv "$tmp/config.h" $ac_file
9903 echo "/* $configure_input */"
9909 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9910 echo "$as_me: executing $ac_file commands" >&6;}
9915 case $ac_file$ac_mode in
9917 case $CONFIG_FILES in *config.
make*)
9918 echo "$config_vars" >> config.
make;;
9920 test -d bits || mkdir bits
;;
9926 { (exit 0); exit 0; }
9928 chmod +x
$CONFIG_STATUS
9929 ac_clean_files
=$ac_clean_files_save
9932 # configure is writing to config.log, and then calls config.status.
9933 # config.status does its own redirection, appending to config.log.
9934 # Unfortunately, on DOS this fails, as config.log is still kept open
9935 # by configure, so config.status won't be able to write to it; its
9936 # output is simply discarded. So we exec the FD to /dev/null,
9937 # effectively closing config.log, so it can be properly (re)opened and
9938 # appended to by config.status. When coming back to configure, we
9939 # need to make the FD available again.
9940 if test "$no_create" != yes; then
9942 ac_config_status_args
=
9943 test "$silent" = yes &&
9944 ac_config_status_args
="$ac_config_status_args --quiet"
9946 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9948 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9949 # would make configure fail if this is the last instruction.
9950 $ac_cs_success ||
{ (exit 1); exit 1; }
9954 # CONFIG_SUBDIRS section.
9956 if test "$no_recursion" != yes; then
9958 # Remove --cache-file and --srcdir arguments so they do not pile up.
9959 ac_sub_configure_args
=
9961 eval "set x $ac_configure_args"
9965 if test -n "$ac_prev"; then
9970 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
9971 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
9972 ac_prev
=cache_file
;;
9973 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
9974 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
9977 --config-cache |
-C)
9979 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
9981 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
9983 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
9985 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
9989 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9991 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
9995 # Always prepend --prefix to ensure using the same prefix
9996 # in subdir configurations.
9997 ac_arg
="--prefix=$prefix"
9999 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10001 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
10004 if test "$silent" = yes; then
10005 ac_sub_configure_args
="--silent $ac_sub_configure_args"
10009 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
10011 # Do not complain, so a configure script can configure whichever
10012 # parts of a large source tree are present.
10013 test -d "$srcdir/$ac_dir" ||
continue
10015 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10016 echo "$as_me:$LINENO: $ac_msg" >&5
10020 -*) as_dir
=.
/$as_dir;;
10022 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10026 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10027 *) as_qdir
=$as_dir;;
10029 as_dirs
="'$as_qdir' $as_dirs"
10030 as_dir
=`$as_dirname -- "$as_dir" ||
10031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10032 X"$as_dir" : 'X\(//\)[^/]' \| \
10033 X"$as_dir" : 'X\(//\)$' \| \
10034 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10040 /^X\(\/\/\)[^/].*/{
10053 test -d "$as_dir" && break
10055 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10056 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10057 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10058 { (exit 1); exit 1; }; }; }
10062 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10064 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10065 # A ".." for each directory in $ac_dir_suffix.
10066 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10067 case $ac_top_builddir_sub in
10068 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10069 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10072 ac_abs_top_builddir
=$ac_pwd
10073 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10074 # for backward compatibility:
10075 ac_top_builddir
=$ac_top_build_prefix
10078 .
) # We are building in place.
10080 ac_top_srcdir
=$ac_top_builddir_sub
10081 ac_abs_top_srcdir
=$ac_pwd ;;
10082 [\\/]* | ?
:[\\/]* ) # Absolute name.
10083 ac_srcdir
=$srcdir$ac_dir_suffix;
10084 ac_top_srcdir
=$srcdir
10085 ac_abs_top_srcdir
=$srcdir ;;
10086 *) # Relative name.
10087 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10088 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10089 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10091 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10096 # Check for guested configure; otherwise get Cygnus style configure.
10097 if test -f "$ac_srcdir/configure.gnu"; then
10098 ac_sub_configure
=$ac_srcdir/configure.gnu
10099 elif test -f "$ac_srcdir/configure"; then
10100 ac_sub_configure
=$ac_srcdir/configure
10101 elif test -f "$ac_srcdir/configure.in"; then
10102 # This should be Cygnus configure.
10103 ac_sub_configure
=$ac_aux_dir/configure
10105 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10106 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10110 # The recursion is here.
10111 if test -n "$ac_sub_configure"; then
10112 # Make the cache file name correct relative to the subdirectory.
10113 case $cache_file in
10114 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
10115 *) # Relative name.
10116 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
10119 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10120 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10121 # The eval makes quoting arguments work.
10122 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10123 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10124 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10125 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10126 { (exit 1); exit 1; }; }