2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # 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 Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir
-p .
2>/dev
/null
; then
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='GNU C Library'
271 PACKAGE_TARNAME
='c-library'
272 PACKAGE_VERSION
='(see version.h)'
273 PACKAGE_STRING
='GNU C Library (see version.h)'
274 PACKAGE_BUGREPORT
='glibc'
276 ac_unique_file
="include/features.h"
277 ac_subdirs_all
="$ac_subdirs_all "
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS with_fp with_cvs enable_check_abi oldest_abi subdirs force_install all_warnings build build_cpu build_vendor build_os host host_cpu host_vendor host_os base_machine sysnames INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC OBJEXT BUILD_CC cross_compiling CPP CXX CXXFLAGS ac_ct_CXX AR OBJDUMP RANLIB ac_ct_RANLIB MIG AS LD PWD_P MAKE MSGFMT MAKEINFO SED AUTOCONF CCVERSION SYSINCLUDES libc_cv_gcc_static_libgcc BASH libc_cv_have_bash2 KSH libc_cv_have_ksh AWK PERL INSTALL_INFO OLD_DEBIAN_INSTALL_INFO BISON VERSIONING libc_cv_asm_protected_directive libc_cv_initfinit_array libc_cv_z_nodelete libc_cv_z_nodlopen libc_cv_z_initfirst libc_cv_Bgroup ASFLAGS_config libc_cv_z_combreloc libc_cv_have_initfini libc_cv_cpp_asm_debuginfo no_whole_archive exceptions LIBGD EGREP sizeof_long_double libc_cv_gcc_unwind_find_fde uname_sysname uname_release uname_version old_glibc_headers libc_cv_slibdir libc_cv_localedir libc_cv_sysconfdir libc_cv_rootsbindir libc_cv_forced_unwind use_ldconfig ldd_rewrite_script gnu_ld gnu_as elf xcoff static shared pic_default profile omitfp bounded static_nss nopic_initfini DEFINES linux_doors mach_interface_list VERSION RELEASE LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
786 # Report the --help message.
788 if test "$ac_init_help" = "long"; then
789 # Omit some internal or obsolete options to make the list less imposing.
790 # This message is too long to be a string in the A/UX 3.1 sh.
792 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
794 Usage: $0 [OPTION]... [VAR=VALUE]...
796 To assign environment variables (e.g., CC, CFLAGS...), specify them as
797 VAR=VALUE. See below for descriptions of some of the useful variables.
799 Defaults for the options are specified in brackets.
802 -h, --help display this help and exit
803 --help=short display options specific to this package
804 --help=recursive display the short help of all the included packages
805 -V, --version display version information and exit
806 -q, --quiet, --silent do not print \`checking...' messages
807 --cache-file=FILE cache test results in FILE [disabled]
808 -C, --config-cache alias for \`--cache-file=config.cache'
809 -n, --no-create do not create output files
810 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815 Installation directories:
816 --prefix=PREFIX install architecture-independent files in PREFIX
818 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
821 By default, \`make install' will install all the files in
822 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
823 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
824 for instance \`--prefix=\$HOME'.
826 For better control, use the options below.
828 Fine tuning of the installation directories:
829 --bindir=DIR user executables [EPREFIX/bin]
830 --sbindir=DIR system admin executables [EPREFIX/sbin]
831 --libexecdir=DIR program executables [EPREFIX/libexec]
832 --datadir=DIR read-only architecture-independent data [PREFIX/share]
833 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
834 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
835 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
836 --libdir=DIR object code libraries [EPREFIX/lib]
837 --includedir=DIR C header files [PREFIX/include]
838 --oldincludedir=DIR C header files for non-gcc [/usr/include]
839 --infodir=DIR info documentation [PREFIX/info]
840 --mandir=DIR man documentation [PREFIX/man]
846 --build=BUILD configure
for building on BUILD
[guessed
]
847 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
851 if test -n "$ac_init_help"; then
852 case $ac_init_help in
853 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
858 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
859 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
860 --disable-sanity-checks really
do not use threads
(should not be used except
861 in special situations
) [default
=yes]
862 --enable-check-abi do "make check-abi" in "make check" (no
/warn
/yes)
864 --enable-shared build shared library
[default
=yes if GNU ld
&
866 --enable-profile build profiled library
[default
=yes]
867 --enable-omitfp build undebuggable optimized library
869 --enable-bounded build with runtime bounds checking
871 --disable-versioning do not include versioning information
in the library
872 objects
[default
=yes if supported
]
873 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
874 [default
=glibc default
]
875 --enable-add-ons[=DIRS...
]
876 configure and build add-ons
in DIR1
,DIR2
,... search
877 for add-ons
if no parameter given
878 --disable-hidden-plt do not hide internal
function calls to avoid PLT
879 --enable-static-nss build static NSS modules
[default
=no
]
880 --disable-force-install don
't force installation of files from this package,
881 even if they are older than the installed files
882 --enable-kernel=VERSION compile for compatibility with kernel not older than
884 --enable-all-warnings enable all useful warnings gcc can issue
887 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
888 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
889 --with-gmp=DIRECTORY find GMP source code in DIRECTORY (not needed)
890 --with-gd=DIR find libgd include dir and library with prefix DIR
891 --with-gd-include=DIR find libgd include files in DIR
892 --with-gd-lib=DIR find libgd library files in DIR
893 --with-fp if using floating-point hardware [default=yes]
894 --with-binutils=PATH specify location of binutils (as and ld)
895 --with-elf if using the ELF object format
896 --with-xcoff if using the XCOFF object format
897 --without-cvs if CVS should not be used
898 --with-headers=PATH location of system headers to use (for example
899 /usr/src/linux/include) [default=compiler
901 --with-tls enable support for TLS
902 --without-__thread do not use TLS features even when supporting them
904 Some influential environment variables:
905 CC C compiler command
906 CFLAGS C compiler flags
907 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
908 nonstandard directory <lib dir>
909 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
910 headers in a nonstandard directory <include dir>
912 CXX C++ compiler command
913 CXXFLAGS C++ compiler flags
915 Use these variables to override the choices made by `configure' or to
help
916 it to
find libraries and programs with nonstandard names
/locations.
918 Report bugs to
<glibc
>.
922 if test "$ac_init_help" = "recursive"; then
923 # If there are subdirs, report their specific --help.
925 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
926 test -d $ac_dir ||
continue
929 if test "$ac_dir" != .
; then
930 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
931 # A "../" for each directory in $ac_dir_suffix.
932 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934 ac_dir_suffix
= ac_top_builddir
=
938 .
) # No --srcdir option. We are building in place.
940 if test -z "$ac_top_builddir"; then
943 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
945 [\\/]* | ?
:[\\/]* ) # Absolute path.
946 ac_srcdir
=$srcdir$ac_dir_suffix;
947 ac_top_srcdir
=$srcdir ;;
949 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
950 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
952 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
954 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
955 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
956 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
957 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
960 # Check for guested configure; otherwise get Cygnus style configure.
961 if test -f $ac_srcdir/configure.gnu
; then
963 $SHELL $ac_srcdir/configure.gnu
--help=recursive
964 elif test -f $ac_srcdir/configure
; then
966 $SHELL $ac_srcdir/configure
--help=recursive
967 elif test -f $ac_srcdir/configure.ac ||
968 test -f $ac_srcdir/configure.
in; then
972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
981 GNU C Library configure
(see version.h
)
982 generated by GNU Autoconf
2.57
984 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
985 Free Software Foundation
, Inc.
986 This configure
script is free software
; the Free Software Foundation
987 gives unlimited permission to copy
, distribute and modify it.
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by GNU C Library $as_me (see version.h), which was
997 generated by GNU Autoconf 2.57. Invocation command line was
1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1017 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1018 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1021 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1022 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1023 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1031 test -z "$as_dir" && as_dir
=.
1032 echo "PATH: $as_dir"
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1056 ac_must_keep_next
=false
1062 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1066 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1070 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true
; then
1074 ac_must_keep_next
=false
# Got value, back to normal.
1077 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1078 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1079 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1080 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1085 -* ) ac_must_keep_next
=true
;;
1088 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1095 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1096 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close' the trap.
1103 trap 'exit_status=$?
1104 # Save into config.log some information that might help in debugging.
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1114 # The following way of writing the cache mishandles newlines in values,
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1137 for ac_var in $ac_subst_vars
1139 eval ac_val=$`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -n "$ac_subst_files"; then
1151 for ac_var in $ac_subst_files
1153 eval ac_val=$`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -s confdefs.h; then
1166 sed "/^$/d" confdefs.h | sort
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1173 rm -f core core.* *.core &&
1174 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1177 for ac_signal
in 1 2 13 15; do
1178 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest
* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h
<<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 cat >>confdefs.h
<<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 cat >>confdefs.h
<<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 cat >>confdefs.h
<<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 cat >>confdefs.h
<<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE
; then
1218 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1220 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file
in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's/^/| /' "$ac_site_file" >&5
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1239 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1240 *) . .
/$cache_file;;
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1249 # Check that the precious variables saved in the cache have kept the same
1251 ac_cache_corrupted
=false
1252 for ac_var
in `(set) 2>&1 |
1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1255 eval ac_new_set
=\
$ac_env_${ac_var}_set
1256 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val
="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262 ac_cache_corrupted
=: ;;
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted
=: ;;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted
=:
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg
=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1301 ac_cpp
='$CPP $CPPFLAGS'
1302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1333 ac_config_headers
="$ac_config_headers config.h"
1336 for ac_dir
in scripts
$srcdir/scripts
; do
1337 if test -f $ac_dir/install-sh
; then
1339 ac_install_sh
="$ac_aux_dir/install-sh -c"
1341 elif test -f $ac_dir/install.sh
; then
1343 ac_install_sh
="$ac_aux_dir/install.sh -c"
1345 elif test -f $ac_dir/shtool
; then
1347 ac_install_sh
="$ac_aux_dir/shtool install -c"
1351 if test -z "$ac_aux_dir"; then
1352 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&5
1353 echo "$as_me: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&2;}
1354 { (exit 1); exit 1; }; }
1356 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1357 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1358 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1361 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
1362 { { echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
1363 echo "$as_me: error: you must configure in a separate build directory" >&2;}
1364 { (exit 1); exit 1; }; }
1367 # This will get text that should go into config.make.
1370 # Check for a --with-gmp argument and set gmp-srcdir in config.make.
1372 # Check whether --with-gmp or --without-gmp was given.
1373 if test "${with_gmp+set}" = set; then
1377 yes) { { echo "$as_me:$LINENO: error: --with-gmp requires an argument; use --with-gmp=DIRECTORY" >&5
1378 echo "$as_me: error: --with-gmp requires an argument; use --with-gmp=DIRECTORY" >&2;}
1379 { (exit 1); exit 1; }; } ;;
1381 *) config_vars
="$config_vars
1382 gmp-srcdir = $withval" ;;
1386 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
1388 # Check whether --with-gd or --without-gd was given.
1389 if test "${with_gd+set}" = set; then
1393 *) libgd_include
="-I$withval/include"
1394 libgd_ldflags
="-L$withval/lib" ;;
1399 # Check whether --with-gd-include or --without-gd-include was given.
1400 if test "${with_gd_include+set}" = set; then
1401 withval
="$with_gd_include"
1402 case "$with_gd_include" in
1404 *) libgd_include
="-I$withval" ;;
1409 # Check whether --with-gd-lib or --without-gd-lib was given.
1410 if test "${with_gd_lib+set}" = set; then
1411 withval
="$with_gd_lib"
1412 case "$with_gd_lib" in
1414 *) libgd_ldflags
="-L$withval" ;;
1419 if test -n "$libgd_include"; then
1420 config_vars
="$config_vars
1421 CFLAGS-memusagestat.c = $libgd_include"
1423 if test -n "$libgd_ldflags"; then
1424 config_vars
="$config_vars
1425 libgd-LDFLAGS = $libgd_ldflags"
1429 # Check whether --with-fp or --without-fp was given.
1430 if test "${with_fp+set}" = set; then
1438 # Check whether --with-binutils or --without-binutils was given.
1439 if test "${with_binutils+set}" = set; then
1440 withval
="$with_binutils"
1441 path_binutils
=$withval
1446 # Check whether --with-elf or --without-elf was given.
1447 if test "${with_elf+set}" = set; then
1454 # Check whether --with-xcoff or --without-xcoff was given.
1455 if test "${with_xcoff+set}" = set; then
1456 withval
="$with_xcoff"
1462 # Check whether --with-cvs or --without-cvs was given.
1463 if test "${with_cvs+set}" = set; then
1469 if test "$with_cvs" = yes; then
1470 if test -d $srcdir/CVS
&& grep :pserver
: $srcdir/CVS
/Root
> /dev
/null
1478 # Check whether --with-headers or --without-headers was given.
1479 if test "${with_headers+set}" = set; then
1480 withval
="$with_headers"
1486 # Check whether --enable-sanity-checks or --disable-sanity-checks was given.
1487 if test "${enable_sanity_checks+set}" = set; then
1488 enableval
="$enable_sanity_checks"
1489 enable_sanity
=$enableval
1495 # Check whether --enable-check-abi or --disable-check-abi was given.
1496 if test "${enable_check_abi+set}" = set; then
1497 enableval
="$enable_check_abi"
1498 enable_check_abi
=$enableval
1504 # Check whether --enable-shared or --disable-shared was given.
1505 if test "${enable_shared+set}" = set; then
1506 enableval
="$enable_shared"
1511 # Check whether --enable-profile or --disable-profile was given.
1512 if test "${enable_profile+set}" = set; then
1513 enableval
="$enable_profile"
1518 # Check whether --enable-omitfp or --disable-omitfp was given.
1519 if test "${enable_omitfp+set}" = set; then
1520 enableval
="$enable_omitfp"
1525 # Check whether --enable-bounded or --disable-bounded was given.
1526 if test "${enable_bounded+set}" = set; then
1527 enableval
="$enable_bounded"
1532 # Check whether --enable-versioning or --disable-versioning was given.
1533 if test "${enable_versioning+set}" = set; then
1534 enableval
="$enable_versioning"
1535 enable_versioning
=$enableval
1537 enable_versioning
=yes
1540 # Check whether --enable-oldest-abi or --disable-oldest-abi was given.
1541 if test "${enable_oldest_abi+set}" = set; then
1542 enableval
="$enable_oldest_abi"
1543 oldest_abi
=$enableval
1547 if test "$oldest_abi" = yes ||
test "$oldest_abi" = no
; then
1550 cat >>confdefs.h
<<_ACEOF
1551 #define GLIBC_OLDEST_ABI "$oldest_abi"
1557 # Check whether --enable-add-ons or --disable-add-ons was given.
1558 if test "${enable_add_ons+set}" = set; then
1559 enableval
="$enable_add_ons"
1560 case "$enableval" in
1561 yes) add_ons
=`cd $srcdir && echo */configure | sed -e 's!/configure!!g'`
1562 test "$add_ons" = "*" && add_ons
= ;;
1563 *) add_ons
=`echo "$enableval" | sed 's/,/ /g'`;;
1570 # Check whether --with-tls or --without-tls was given.
1571 if test "${with_tls+set}" = set; then
1579 # Check whether --with-__thread or --without-__thread was given.
1580 if test "${with___thread+set}" = set; then
1581 withval
="$with___thread"
1582 use__thread
=$withval
1587 # Check whether --enable-hidden-plt or --disable-hidden-plt was given.
1588 if test "${enable_hidden_plt+set}" = set; then
1589 enableval
="$enable_hidden_plt"
1594 if test "x$hidden" = xno
; then
1595 cat >>confdefs.h
<<\_ACEOF
1605 if test x
"$add_ons" != x
; then
1606 for f
in $add_ons; do
1607 # Some sanity checks
1608 if test "$f" = "crypt"; then
1609 { { echo "$as_me:$LINENO: error:
1610 *** It seems that you're using an old \`crypt' add-on. crypt is now
1611 *** part of glibc and using the old add-on will not work with this
1612 *** release. Start again with fresh sources and without the old
1613 *** \`crypt' add-on." >&5
1614 echo "$as_me: error:
1615 *** It seems that you're using an old \`crypt' add-on. crypt is now
1616 *** part of glibc and using the old add-on will not work with this
1617 *** release. Start again with fresh sources and without the old
1618 *** \`crypt' add-on." >&2;}
1619 { (exit 1); exit 1; }; }
1621 if test "$f" = "localedata"; then
1622 { { echo "$as_me:$LINENO: error:
1623 *** It seems that you're using an old \`localedata' add-on. localedata
1624 *** is now part of glibc and using the old add-on will not work with
1625 *** this release. Start again with fresh sources and without the old
1626 *** \`localedata' add-on." >&5
1627 echo "$as_me: error:
1628 *** It seems that you're using an old \`localedata' add-on. localedata
1629 *** is now part of glibc and using the old add-on will not work with
1630 *** this release. Start again with fresh sources and without the old
1631 *** \`localedata' add-on." >&2;}
1632 { (exit 1); exit 1; }; }
1634 # Test whether such a subdir really exists.
1635 if test -d $srcdir/$f; then
1636 add_ons_pfx
="$add_ons_pfx $f/"
1637 subdirs
="$subdirs $f"
1639 { { echo "$as_me:$LINENO: error: add-on directory \"$f\" does not exist" >&5
1640 echo "$as_me: error: add-on directory \"$f\" does not exist" >&2;}
1641 { (exit 1); exit 1; }; }
1646 # Check whether --enable-static-nss or --disable-static-nss was given.
1647 if test "${enable_static_nss+set}" = set; then
1648 enableval
="$enable_static_nss"
1649 static_nss
=$enableval
1653 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
1655 cat >>confdefs.h
<<\_ACEOF
1656 #define DO_STATIC_NSS 1
1661 # Check whether --enable-force-install or --disable-force-install was given.
1662 if test "${enable_force_install+set}" = set; then
1663 enableval
="$enable_force_install"
1664 force_install
=$enableval
1670 # Check whether --enable-kernel or --disable-kernel was given.
1671 if test "${enable_kernel+set}" = set; then
1672 enableval
="$enable_kernel"
1673 minimum_kernel
=$enableval
1675 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
1676 # Better nothing than this.
1679 if test "$minimum_kernel" = current
; then
1680 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
1684 # Check whether --enable-all-warnings or --disable-all-warnings was given.
1685 if test "${enable_all_warnings+set}" = set; then
1686 enableval
="$enable_all_warnings"
1687 all_warnings
=$enableval
1691 # Make sure we can run config.sub.
1692 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1693 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1694 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1695 { (exit 1); exit 1; }; }
1697 echo "$as_me:$LINENO: checking build system type" >&5
1698 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1699 if test "${ac_cv_build+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 ac_cv_build_alias
=$build_alias
1703 test -z "$ac_cv_build_alias" &&
1704 ac_cv_build_alias
=`$ac_config_guess`
1705 test -z "$ac_cv_build_alias" &&
1706 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1707 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1708 { (exit 1); exit 1; }; }
1709 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1710 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1711 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1712 { (exit 1); exit 1; }; }
1715 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1716 echo "${ECHO_T}$ac_cv_build" >&6
1718 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1719 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1720 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1723 echo "$as_me:$LINENO: checking host system type" >&5
1724 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1725 if test "${ac_cv_host+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 ac_cv_host_alias
=$host_alias
1729 test -z "$ac_cv_host_alias" &&
1730 ac_cv_host_alias
=$ac_cv_build_alias
1731 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1732 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1733 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1734 { (exit 1); exit 1; }; }
1737 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1738 echo "${ECHO_T}$ac_cv_host" >&6
1740 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1741 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1742 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1746 # The way shlib-versions is used to generate soversions.mk uses a
1747 # fairly simplistic model for name recognition that can't distinguish
1748 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
1749 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
1750 # tell. This doesn't get used much beyond that, so it's fairly safe.
1755 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
1759 # We keep the original values in `$config_*' and never modify them, so we
1760 # can write them unchanged into config.make. Everything else uses
1761 # $machine, $vendor, and $os, and changes them whenever convenient.
1762 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
1764 # Don't allow vendor == "unknown"
1765 test "$config_vendor" = unknown
&& config_vendor
=
1766 config_os
="`echo $config_os | sed 's/^unknown-//'`"
1768 # Some configurations imply other options.
1770 gnu
* | linux
* | bsd4.4
* | netbsd
* | freebsd
*)
1771 # These systems always use GNU tools.
1772 gnu_ld
=yes gnu_as
=yes ;;
1775 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
1776 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
1778 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
1779 # These systems (almost) always use the ELF format.
1783 # These systems are always xcoff
1789 machine
=$config_machine
1790 vendor
=$config_vendor
1793 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
1795 if test "$machine" = rs6000
; then
1799 # Braindead PowerPC box with absolutely no FPU.
1800 case "$machine-$host_os" in
1807 ### I put this here to prevent those annoying emails from people who cannot
1808 ### read and try to compile glibc on unsupported platforms. --drepper
1810 ### By using the undocumented --enable-hacker-mode option for configure
1811 ### one can skip this test to make the configuration not fail for unsupported
1814 if test -z "$enable_hacker_mode"; then
1815 case "$machine-$host_os" in
1816 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
1819 echo "*** The GNU C library is currently not available for this platform."
1820 echo "*** So far nobody cared to port it and if there is no volunteer it"
1821 echo "*** might never happen. So, if you have interest to see glibc on"
1822 echo "*** this platform visit"
1823 echo "*** http://www.gnu.org/software/libc/porting.html"
1824 echo "*** and join the group of porters"
1830 # Expand the configuration machine name into a subdirectory by architecture
1831 # type and particular chip.
1833 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
1834 alpha
*) base_machine
=alpha machine
=alpha
/$machine ;;
1835 arm
*) base_machine
=arm machine
=arm
/arm32
/$machine ;;
1836 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
1837 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
1838 hppa
*64*) base_machine
=hppa machine
=hppa
/hppa64
;;
1839 hppa
*) base_machine
=hppa machine
=hppa
/hppa1.1
;;
1840 i
[3456]86) base_machine
=i386 machine
=i386
/$machine ;;
1841 ia64
) base_machine
=ia64 machine
=ia64
;;
1842 m680?
0) base_machine
=m68k machine
=m68k
/$machine ;;
1843 m68k
) base_machine
=m68k machine
=m68k
/m68020
;;
1844 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
1845 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
1846 mips64
*) base_machine
=mips64
1847 case "$CC $CFLAGS $CPPFLAGS " in
1848 *" -mabi=n32 "*) mips_cc_abi
=n32
;;
1849 *" -mabi=64 "*|
*" -mabi=n64 "*) mips_cc_abi
=64 ;;
1850 *" -mabi=32 "*|
*" -mabi=o32 "*) mips_cc_abi
=32 ;;
1851 *) mips_cc_abi
=default
;;
1854 *abin32
*) mips_config_abi
=n32
;;
1855 *abi64
*|
*abin64
*) mips_config_abi
=64 ;;
1856 *abi32
*|
*abio32
*) mips_config_abi
=32 ;;
1857 *) mips_config_abi
=$mips_cc_abi ;;
1859 case $mips_config_abi in
1860 default
) machine
=mips
/mips64
/n32 mips_config_abi
=n32
;;
1861 n32
) machine
=mips
/mips64
/n32
;;
1862 64) machine
=mips
/mips64
/n64
;;
1863 32) machine
=mips
/mips32
/kern64
;;
1865 machine
=$machine/$config_machine
1866 if test $mips_config_abi != $mips_cc_abi; then
1867 # This won't make it to config.make, but we want to
1868 # set this in case configure tests depend on it.
1869 CPPFLAGS
="$CPPFLAGS -mabi=$mips_config_abi"
1872 mips
*) base_machine
=mips machine
=mips
/mips32
/$machine ;;
1873 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
1874 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
1875 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
1876 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
1877 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
1878 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
1880 base_machine
=sparc machine
=sparc
/sparc32
;;
1881 sparcv8 | supersparc | hypersparc
)
1882 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
1883 sparcv8plus | sparcv8plusa | sparcv9
)
1884 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
1885 sparcv8plusb | sparcv9b
)
1886 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9b
;;
1887 sparc64 | ultrasparc
)
1888 base_machine
=sparc machine
=sparc
/sparc64
;;
1889 sparc64b | ultrasparc3
)
1890 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
1891 thumb
*) base_machine
=thumb machine
=arm
/thumb
/$machine ;;
1892 *) base_machine
=$machine ;;
1896 if test "$base_machine" = "i386"; then
1897 cat >>confdefs.h
<<\_ACEOF
1898 #define USE_REGPARMS 1
1903 # Compute the list of sysdep directories for this configuration.
1904 # This can take a while to compute.
1905 sysdep_dir
=$srcdir/sysdeps
1906 echo "$as_me:$LINENO: checking sysdep dirs" >&5
1907 echo $ECHO_N "checking sysdep dirs... $ECHO_C" >&6
1908 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
1909 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
1913 base_os
=mach
/hurd
;;
1914 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
1915 base_os
=unix
/bsd
/bsd4.4
;;
1916 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
1918 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
1919 base_os
=unix
/sysv
;;
1921 base_os
=unix
/sysv
/irix
6/$os ;;
1923 base_os
=unix
/sysv
/sysv4
;;
1925 base_os
=unix
/sysv
/hpux
/$os ;;
1927 base_os
=unix
/sysv
/aix
/aix4.3
;;
1929 base_os
=standalone
;;
1934 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
1937 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
1941 o
=`echo $tail | sed 's/[0-9]*$//'`
1942 if test $o != $tail; then
1945 # For linux-gnu, try linux-gnu, then linux.
1946 o
=`echo $tail | sed 's/-.*$//'`
1947 if test $o != $tail; then
1951 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
1954 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
1960 # For sparc/sparc32, try sparc/sparc32 and then sparc.
1963 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
1965 # Prepend the machine's FPU directory unless --without-fp.
1966 if test "$with_fp" = yes; then
1967 mach
="$mach /$1/fpu"
1969 mach
="$mach /$1/nofpu"
1976 # Find what sysdep directories exist.
1978 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1979 for d
in $add_ons_pfx ''; do
1980 for b
in $base ''; do
1981 for m0
in $mach ''; do
1982 for v
in /$vendor ''; do
1983 test "$v" = / && continue
1984 for o
in /$ostry ''; do
1985 test "$o" = / && continue
1986 for m
in $mach ''; do
1987 if test "$m0$b$v$o$m"; then
1988 try
="${d}sysdeps$m0$b$v$o$m"
1989 test -n "$enable_debug_configure" &&
1990 echo "$0 DEBUG: try $try" >&2
1991 if test -d $srcdir/$try; then
1992 sysnames
="$sysnames $try"
1993 { test -n "$o" ||
test -n "$b"; } && os_used
=t
1994 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
2005 if test -z "$os_used" && test "$os" != none
; then
2006 { { echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
2007 echo "$as_me: error: Operating system $os is not supported." >&2;}
2008 { (exit 1); exit 1; }; }
2010 if test -z "$machine_used" && test "$machine" != none
; then
2011 { { echo "$as_me:$LINENO: error: The $machine is not supported." >&5
2012 echo "$as_me: error: The $machine is not supported." >&2;}
2013 { (exit 1); exit 1; }; }
2016 # We have now validated the configuration.
2019 # If using ELF, look for an `elf' subdirectory of each machine directory.
2020 # We prepend these rather than inserting them whereever the machine appears
2021 # because things specified by the machine's ELF ABI should override
2022 # OS-specific things, and should always be the same for any OS on the
2023 # machine (otherwise what's the point of an ABI?).
2024 if test "$elf" = yes; then
2026 for d
in $add_ons_pfx ''; do
2028 if test -d $srcdir/${d}sysdeps
$m/elf
; then
2029 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
2033 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
2037 # Expand the list of system names into a full list of directories
2038 # from each element's parent name and Implies file (if present).
2041 while test $# -gt 0; do
2045 case " $names " in *" $name "*)
2046 # Already in the list.
2050 # Report each name as we discover it, so there is no long pause in output.
2051 echo $ECHO_N "$name $ECHO_C" >&6
2053 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
2057 *) xsrcdir
=$srcdir/ ;;
2059 test -n "$enable_debug_configure" &&
2060 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
2062 if test -f $xsrcdir$name/Implies
; then
2063 # Collect more names from the `Implies' file (removing comments).
2064 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
2066 for x
in $implied_candidate; do
2068 if test -d $xsrcdir$name_base/$x; then
2069 implied
="$implied $name_base/$x";
2072 for d
in $add_ons_pfx ''; do
2073 try
="${d}sysdeps/$x"
2076 *) try_srcdir
=$srcdir/ ;;
2078 test -n "$enable_debug_configure" &&
2079 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
2080 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
2082 implied
="$implied $try"
2086 if test $found = no
; then
2087 { echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
2088 echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
2095 # Add NAME to the list of names.
2096 names
="$names $name"
2098 # Find the parent of NAME, using the empty string if it has none.
2099 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
2101 # Add the names implied by NAME, and NAME's parent (if it has one), to
2102 # the list of names to be processed (the argument list). We prepend the
2103 # implied names to the list and append the parent. We want implied
2104 # directories to come before further directories inferred from the
2105 # configuration components; this ensures that for sysv4, unix/common
2106 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
2108 sysnames
="`echo $implied $* $parent`"
2109 test -n "$sysnames" && set $sysnames
2112 # Add the default directories.
2113 default_sysnames
=sysdeps
/generic
2114 if test "$elf" = yes; then
2115 default_sysnames
="sysdeps/generic/elf $default_sysnames"
2117 sysnames
="$names $default_sysnames"
2119 # The other names were emitted during the scan.
2120 echo "$as_me:$LINENO: result: $default_sysnames" >&5
2121 echo "${ECHO_T}$default_sysnames" >&6
2126 # Find a good install program. We prefer a C program (faster),
2127 # so one script is as good as another. But avoid the broken or
2128 # incompatible versions:
2129 # SysV /etc/install, /usr/sbin/install
2130 # SunOS /usr/etc/install
2131 # IRIX /sbin/install
2133 # AmigaOS /C/install, which installs bootblocks on floppy discs
2134 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2135 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2136 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2137 # ./install, which can be erroneously created by make from ./install.sh.
2138 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2139 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2140 if test -z "$INSTALL"; then
2141 if test "${ac_cv_path_install+set}" = set; then
2142 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir
=.
2149 # Account for people who put trailing slashes in PATH elements.
2151 .
/ | .
// |
/cC
/* | \
2152 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2155 # OSF1 and SCO ODT 3.0 have their own names for install.
2156 # Don't use installbsd from OSF since it installs stuff as root
2158 for ac_prog
in ginstall scoinst
install; do
2159 for ac_exec_ext
in '' $ac_executable_extensions; do
2160 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2161 if test $ac_prog = install &&
2162 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2163 # AIX install. It has an incompatible calling convention.
2165 elif test $ac_prog = install &&
2166 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2167 # program-specific install script used by HP pwplus--don't use.
2170 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2182 if test "${ac_cv_path_install+set}" = set; then
2183 INSTALL
=$ac_cv_path_install
2185 # As a last resort, use the slow shell script. We don't cache a
2186 # path for INSTALL within a source directory, because that will
2187 # break other packages using the cache if that directory is
2188 # removed, or if the path is relative.
2189 INSTALL
=$ac_install_sh
2192 echo "$as_me:$LINENO: result: $INSTALL" >&5
2193 echo "${ECHO_T}$INSTALL" >&6
2195 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2196 # It thinks the first close brace ends the variable substitution.
2197 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2199 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2201 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2203 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
2204 # The makefiles need to use a different form to find it in $srcdir.
2205 INSTALL
='\$(..)./scripts/install-sh -c'
2207 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2208 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2210 if test "$LN_S" = "ln -s"; then
2211 echo "$as_me:$LINENO: result: yes" >&5
2212 echo "${ECHO_T}yes" >&6
2214 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2215 echo "${ECHO_T}no, using $LN_S" >&6
2220 ac_cpp
='$CPP $CPPFLAGS'
2221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2224 if test -n "$ac_tool_prefix"; then
2225 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2226 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2227 echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC
="$CC" # Let the user override the test.
2235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir
=.
2240 for ac_exec_ext
in '' $ac_executable_extensions; do
2241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2242 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$CC"; then
2253 echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6
2256 echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6
2261 if test -z "$ac_cv_prog_CC"; then
2263 # Extract the first word of "gcc", so it can be a program name with args.
2264 set dummy gcc
; ac_word
=$2
2265 echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2267 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 if test -n "$ac_ct_CC"; then
2271 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2277 test -z "$as_dir" && as_dir
=.
2278 for ac_exec_ext
in '' $ac_executable_extensions; do
2279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2280 ac_cv_prog_ac_ct_CC
="gcc"
2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2290 if test -n "$ac_ct_CC"; then
2291 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2292 echo "${ECHO_T}$ac_ct_CC" >&6
2294 echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6
2303 if test -z "$CC"; then
2304 if test -n "$ac_tool_prefix"; then
2305 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2306 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2307 echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2309 if test "${ac_cv_prog_CC+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 if test -n "$CC"; then
2313 ac_cv_prog_CC
="$CC" # Let the user override the test.
2315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir
=.
2320 for ac_exec_ext
in '' $ac_executable_extensions; do
2321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2322 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 if test -n "$CC"; then
2333 echo "$as_me:$LINENO: result: $CC" >&5
2334 echo "${ECHO_T}$CC" >&6
2336 echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6
2341 if test -z "$ac_cv_prog_CC"; then
2343 # Extract the first word of "cc", so it can be a program name with args.
2344 set dummy cc
; ac_word
=$2
2345 echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 if test -n "$ac_ct_CC"; then
2351 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir
=.
2358 for ac_exec_ext
in '' $ac_executable_extensions; do
2359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2360 ac_cv_prog_ac_ct_CC
="cc"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2370 if test -n "$ac_ct_CC"; then
2371 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2372 echo "${ECHO_T}$ac_ct_CC" >&6
2374 echo "$as_me:$LINENO: result: no" >&5
2375 echo "${ECHO_T}no" >&6
2384 if test -z "$CC"; then
2385 # Extract the first word of "cc", so it can be a program name with args.
2386 set dummy cc
; ac_word
=$2
2387 echo "$as_me:$LINENO: checking for $ac_word" >&5
2388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2389 if test "${ac_cv_prog_CC+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 if test -n "$CC"; then
2393 ac_cv_prog_CC
="$CC" # Let the user override the test.
2396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir
=.
2401 for ac_exec_ext
in '' $ac_executable_extensions; do
2402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2403 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2404 ac_prog_rejected
=yes
2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414 if test $ac_prog_rejected = yes; then
2415 # We found a bogon in the path, so make sure we never use it.
2416 set dummy
$ac_cv_prog_CC
2418 if test $# != 0; then
2419 # We chose a different compiler from the bogus one.
2420 # However, it has the same basename, so the bogon will be chosen
2421 # first if we set CC to just the basename; use the full file name.
2423 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2429 if test -n "$CC"; then
2430 echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2438 if test -z "$CC"; then
2439 if test -n "$ac_tool_prefix"; then
2442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2443 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2444 echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2446 if test "${ac_cv_prog_CC+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$CC"; then
2450 ac_cv_prog_CC
="$CC" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CC"; then
2470 echo "$as_me:$LINENO: result: $CC" >&5
2471 echo "${ECHO_T}$CC" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2477 test -n "$CC" && break
2480 if test -z "$CC"; then
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy
$ac_prog; ac_word
=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$ac_ct_CC"; then
2492 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir
=.
2499 for ac_exec_ext
in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_ac_ct_CC
="$ac_prog"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2511 if test -n "$ac_ct_CC"; then
2512 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2513 echo "${ECHO_T}$ac_ct_CC" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 test -n "$ac_ct_CC" && break
2528 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2529 See \`config.log' for more details." >&5
2530 echo "$as_me: error: no acceptable C compiler found in \$PATH
2531 See \`config.log' for more details." >&2;}
2532 { (exit 1); exit 1; }; }
2534 # Provide some information about the compiler.
2535 echo "$as_me:$LINENO:" \
2536 "checking for C compiler version" >&5
2537 ac_compiler
=`set X $ac_compile; echo $2`
2538 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2539 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }
2543 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2544 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }
2548 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2549 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }
2555 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2556 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2557 if test "${ac_cv_objext+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 cat >conftest.
$ac_ext <<_ACEOF
2561 #line $LINENO "configure"
2564 cat confdefs.h
>>conftest.
$ac_ext
2565 cat >>conftest.
$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2576 rm -f conftest.o conftest.obj
2577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2578 (eval $ac_compile) 2>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; then
2582 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2584 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2585 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.
$ac_ext >&5
2593 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details." >&5
2595 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2596 See \`config.log' for more details." >&2;}
2597 { (exit 1); exit 1; }; }
2600 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2602 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2603 echo "${ECHO_T}$ac_cv_objext" >&6
2604 OBJEXT
=$ac_cv_objext
2606 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2607 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2608 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2609 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 cat >conftest.
$ac_ext <<_ACEOF
2612 #line $LINENO "configure"
2615 cat confdefs.h
>>conftest.
$ac_ext
2616 cat >>conftest.
$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2630 rm -f conftest.
$ac_objext
2631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2632 (eval $ac_compile) 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); } &&
2636 { ac_try
='test -s conftest.$ac_objext'
2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; }; then
2644 echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.
$ac_ext >&5
2649 rm -f conftest.
$ac_objext conftest.
$ac_ext
2650 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2653 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2654 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2655 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2656 ac_test_CFLAGS
=${CFLAGS+set}
2657 ac_save_CFLAGS
=$CFLAGS
2659 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2660 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2661 if test "${ac_cv_prog_cc_g+set}" = set; then
2662 echo $ECHO_N "(cached) $ECHO_C" >&6
2664 cat >conftest.
$ac_ext <<_ACEOF
2665 #line $LINENO "configure"
2668 cat confdefs.h
>>conftest.
$ac_ext
2669 cat >>conftest.
$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2680 rm -f conftest.
$ac_objext
2681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2682 (eval $ac_compile) 2>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } &&
2686 { ac_try
='test -s conftest.$ac_objext'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; }; then
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.
$ac_ext >&5
2699 rm -f conftest.
$ac_objext conftest.
$ac_ext
2701 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2702 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2703 if test "$ac_test_CFLAGS" = set; then
2704 CFLAGS
=$ac_save_CFLAGS
2705 elif test $ac_cv_prog_cc_g = yes; then
2706 if test "$GCC" = yes; then
2712 if test "$GCC" = yes; then
2718 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2719 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2720 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 ac_cv_prog_cc_stdc
=no
2725 cat >conftest.
$ac_ext <<_ACEOF
2726 #line $LINENO "configure"
2729 cat confdefs.h
>>conftest.
$ac_ext
2730 cat >>conftest.
$ac_ext <<_ACEOF
2731 /* end confdefs.h. */
2734 #include <sys/types.h>
2735 #include <sys/stat.h>
2736 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2737 struct buf { int x; };
2738 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2739 static char *e (p, i)
2745 static char *f (char * (*g) (char **, int), char **p, ...)
2750 s = g (p, va_arg (v,int));
2754 int test (int i, double x);
2755 struct s1 {int (*f) (int a);};
2756 struct s2 {int (*f) (double a);};
2757 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2763 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2768 # Don't try gcc -ansi; that turns off useful extensions and
2769 # breaks some systems' header files.
2770 # AIX -qlanglvl=ansi
2771 # Ultrix and OSF/1 -std1
2772 # HP-UX 10.20 and later -Ae
2773 # HP-UX older versions -Aa -D_HPUX_SOURCE
2774 # SVR4 -Xc -D__EXTENSIONS__
2775 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2777 CC
="$ac_save_CC $ac_arg"
2778 rm -f conftest.
$ac_objext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2780 (eval $ac_compile) 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try
='test -s conftest.$ac_objext'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; }; then
2790 ac_cv_prog_cc_stdc
=$ac_arg
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.
$ac_ext >&5
2797 rm -f conftest.
$ac_objext
2799 rm -f conftest.
$ac_ext conftest.
$ac_objext
2804 case "x$ac_cv_prog_cc_stdc" in
2806 echo "$as_me:$LINENO: result: none needed" >&5
2807 echo "${ECHO_T}none needed" >&6 ;;
2809 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2810 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2811 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2814 # Some people use a C++ compiler to compile C. Since we use `exit',
2815 # in C++ we need to declare it. In case someone uses the same compiler
2816 # for both compiling C and C++ we need to have the C++ compiler decide
2817 # the declaration of exit, since it's the most demanding environment.
2818 cat >conftest.
$ac_ext <<_ACEOF
2823 rm -f conftest.
$ac_objext
2824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2825 (eval $ac_compile) 2>&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); } &&
2829 { ac_try
='test -s conftest.$ac_objext'
2830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); }; }; then
2835 for ac_declaration
in \
2837 '#include <stdlib.h>' \
2838 'extern "C" void std::exit (int) throw (); using std::exit;' \
2839 'extern "C" void std::exit (int); using std::exit;' \
2840 'extern "C" void exit (int) throw ();' \
2841 'extern "C" void exit (int);' \
2844 cat >conftest.
$ac_ext <<_ACEOF
2845 #line $LINENO "configure"
2848 cat confdefs.h
>>conftest.
$ac_ext
2849 cat >>conftest.
$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2861 rm -f conftest.
$ac_objext
2862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2863 (eval $ac_compile) 2>&5
2865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866 (exit $ac_status); } &&
2867 { ac_try
='test -s conftest.$ac_objext'
2868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; }; then
2875 echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.
$ac_ext >&5
2880 rm -f conftest.
$ac_objext conftest.
$ac_ext
2881 cat >conftest.
$ac_ext <<_ACEOF
2882 #line $LINENO "configure"
2885 cat confdefs.h
>>conftest.
$ac_ext
2886 cat >>conftest.
$ac_ext <<_ACEOF
2887 /* end confdefs.h. */
2897 rm -f conftest.
$ac_objext
2898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2899 (eval $ac_compile) 2>&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); } &&
2903 { ac_try
='test -s conftest.$ac_objext'
2904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.
$ac_ext >&5
2915 rm -f conftest.
$ac_objext conftest.
$ac_ext
2918 if test -n "$ac_declaration"; then
2919 echo '#ifdef __cplusplus' >>confdefs.h
2920 echo $ac_declaration >>confdefs.h
2921 echo '#endif' >>confdefs.h
2925 echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.
$ac_ext >&5
2929 rm -f conftest.
$ac_objext conftest.
$ac_ext
2931 ac_cpp
='$CPP $CPPFLAGS'
2932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2936 if test $host != $build; then
2937 for ac_prog
in gcc cc
2939 # Extract the first word of "$ac_prog", so it can be a program name with args.
2940 set dummy
$ac_prog; ac_word
=$2
2941 echo "$as_me:$LINENO: checking for $ac_word" >&5
2942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2943 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 if test -n "$BUILD_CC"; then
2947 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
2949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir
=.
2954 for ac_exec_ext
in '' $ac_executable_extensions; do
2955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_BUILD_CC
="$ac_prog"
2957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 BUILD_CC
=$ac_cv_prog_BUILD_CC
2966 if test -n "$BUILD_CC"; then
2967 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2968 echo "${ECHO_T}$BUILD_CC" >&6
2970 echo "$as_me:$LINENO: result: no" >&5
2971 echo "${ECHO_T}no" >&6
2974 test -n "$BUILD_CC" && break
2980 ac_cpp
='$CPP $CPPFLAGS'
2981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2984 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2985 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2986 # On Suns, sometimes $CPP names a directory.
2987 if test -n "$CPP" && test -d "$CPP"; then
2990 if test -z "$CPP"; then
2991 if test "${ac_cv_prog_CPP+set}" = set; then
2992 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 # Double quotes because CPP needs to be expanded
2995 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2998 for ac_c_preproc_warn_flag
in '' yes
3000 # Use a header file that comes with gcc, so configuring glibc
3001 # with a fresh cross-compiler works.
3002 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3003 # <limits.h> exists even on freestanding compilers.
3004 # On the NeXT, cc -E runs the code through the compiler's parser,
3005 # not just through cpp. "Syntax error" is here to catch this case.
3006 cat >conftest.
$ac_ext <<_ACEOF
3007 #line $LINENO "configure"
3010 cat confdefs.h
>>conftest.
$ac_ext
3011 cat >>conftest.
$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3014 # include <limits.h>
3016 # include <assert.h>
3020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3023 grep -v '^ *+' conftest.er1
>conftest.err
3025 cat conftest.err
>&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); } >/dev
/null
; then
3028 if test -s conftest.err
; then
3029 ac_cpp_err
=$ac_c_preproc_warn_flag
3036 if test -z "$ac_cpp_err"; then
3039 echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.
$ac_ext >&5
3042 # Broken: fails on valid input.
3045 rm -f conftest.err conftest.
$ac_ext
3047 # OK, works on sane cases. Now check whether non-existent headers
3048 # can be detected and how.
3049 cat >conftest.
$ac_ext <<_ACEOF
3050 #line $LINENO "configure"
3053 cat confdefs.h
>>conftest.
$ac_ext
3054 cat >>conftest.
$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3056 #include <ac_nonexistent.h>
3058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3061 grep -v '^ *+' conftest.er1
>conftest.err
3063 cat conftest.err
>&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } >/dev
/null
; then
3066 if test -s conftest.err
; then
3067 ac_cpp_err
=$ac_c_preproc_warn_flag
3074 if test -z "$ac_cpp_err"; then
3075 # Broken: success on invalid input.
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.
$ac_ext >&5
3081 # Passes both tests.
3085 rm -f conftest.err conftest.
$ac_ext
3088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3089 rm -f conftest.err conftest.
$ac_ext
3090 if $ac_preproc_ok; then
3102 echo "$as_me:$LINENO: result: $CPP" >&5
3103 echo "${ECHO_T}$CPP" >&6
3105 for ac_c_preproc_warn_flag
in '' yes
3107 # Use a header file that comes with gcc, so configuring glibc
3108 # with a fresh cross-compiler works.
3109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3110 # <limits.h> exists even on freestanding compilers.
3111 # On the NeXT, cc -E runs the code through the compiler's parser,
3112 # not just through cpp. "Syntax error" is here to catch this case.
3113 cat >conftest.
$ac_ext <<_ACEOF
3114 #line $LINENO "configure"
3117 cat confdefs.h
>>conftest.
$ac_ext
3118 cat >>conftest.
$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3121 # include <limits.h>
3123 # include <assert.h>
3127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3130 grep -v '^ *+' conftest.er1
>conftest.err
3132 cat conftest.err
>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); } >/dev
/null
; then
3135 if test -s conftest.err
; then
3136 ac_cpp_err
=$ac_c_preproc_warn_flag
3143 if test -z "$ac_cpp_err"; then
3146 echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.
$ac_ext >&5
3149 # Broken: fails on valid input.
3152 rm -f conftest.err conftest.
$ac_ext
3154 # OK, works on sane cases. Now check whether non-existent headers
3155 # can be detected and how.
3156 cat >conftest.
$ac_ext <<_ACEOF
3157 #line $LINENO "configure"
3160 cat confdefs.h
>>conftest.
$ac_ext
3161 cat >>conftest.
$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3163 #include <ac_nonexistent.h>
3165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3166 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3168 grep -v '^ *+' conftest.er1
>conftest.err
3170 cat conftest.err
>&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } >/dev
/null
; then
3173 if test -s conftest.err
; then
3174 ac_cpp_err
=$ac_c_preproc_warn_flag
3181 if test -z "$ac_cpp_err"; then
3182 # Broken: success on invalid input.
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.
$ac_ext >&5
3188 # Passes both tests.
3192 rm -f conftest.err conftest.
$ac_ext
3195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3196 rm -f conftest.err conftest.
$ac_ext
3197 if $ac_preproc_ok; then
3200 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3201 See \`config.log' for more details." >&5
3202 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3203 See \`config.log' for more details." >&2;}
3204 { (exit 1); exit 1; }; }
3208 ac_cpp
='$CPP $CPPFLAGS'
3209 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3210 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3211 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3213 # We need the C++ compiler only for testing.
3215 ac_cpp
='$CXXCPP $CPPFLAGS'
3216 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3217 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3218 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3219 if test -n "$ac_tool_prefix"; then
3220 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3223 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3224 echo "$as_me:$LINENO: checking for $ac_word" >&5
3225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3226 if test "${ac_cv_prog_CXX+set}" = set; then
3227 echo $ECHO_N "(cached) $ECHO_C" >&6
3229 if test -n "$CXX"; then
3230 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir
=.
3237 for ac_exec_ext
in '' $ac_executable_extensions; do
3238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3239 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 if test -n "$CXX"; then
3250 echo "$as_me:$LINENO: result: $CXX" >&5
3251 echo "${ECHO_T}$CXX" >&6
3253 echo "$as_me:$LINENO: result: no" >&5
3254 echo "${ECHO_T}no" >&6
3257 test -n "$CXX" && break
3260 if test -z "$CXX"; then
3262 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3264 # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy
$ac_prog; ac_word
=$2
3266 echo "$as_me:$LINENO: checking for $ac_word" >&5
3267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3268 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3269 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 if test -n "$ac_ct_CXX"; then
3272 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir
=.
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3281 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3291 if test -n "$ac_ct_CXX"; then
3292 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3293 echo "${ECHO_T}$ac_ct_CXX" >&6
3295 echo "$as_me:$LINENO: result: no" >&5
3296 echo "${ECHO_T}no" >&6
3299 test -n "$ac_ct_CXX" && break
3301 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3307 # Provide some information about the compiler.
3308 echo "$as_me:$LINENO:" \
3309 "checking for C++ compiler version" >&5
3310 ac_compiler
=`set X $ac_compile; echo $2`
3311 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3312 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }
3316 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3317 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }
3321 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3322 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }
3327 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3328 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3329 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 cat >conftest.
$ac_ext <<_ACEOF
3333 #line $LINENO "configure"
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3351 rm -f conftest.
$ac_objext
3352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3353 (eval $ac_compile) 2>&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } &&
3357 { ac_try
='test -s conftest.$ac_objext'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.
$ac_ext >&5
3370 rm -f conftest.
$ac_objext conftest.
$ac_ext
3371 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3374 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3375 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3376 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3377 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3378 ac_save_CXXFLAGS
=$CXXFLAGS
3380 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3381 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3382 if test "${ac_cv_prog_cxx_g+set}" = set; then
3383 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 cat >conftest.
$ac_ext <<_ACEOF
3386 #line $LINENO "configure"
3389 cat confdefs.h
>>conftest.
$ac_ext
3390 cat >>conftest.
$ac_ext <<_ACEOF
3391 /* end confdefs.h. */
3401 rm -f conftest.
$ac_objext
3402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3403 (eval $ac_compile) 2>&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } &&
3407 { ac_try
='test -s conftest.$ac_objext'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; }; then
3413 ac_cv_prog_cxx_g
=yes
3415 echo "$as_me: failed program was:" >&5
3416 sed 's/^/| /' conftest.
$ac_ext >&5
3420 rm -f conftest.
$ac_objext conftest.
$ac_ext
3422 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3423 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3424 if test "$ac_test_CXXFLAGS" = set; then
3425 CXXFLAGS
=$ac_save_CXXFLAGS
3426 elif test $ac_cv_prog_cxx_g = yes; then
3427 if test "$GXX" = yes; then
3433 if test "$GXX" = yes; then
3439 for ac_declaration
in \
3441 '#include <stdlib.h>' \
3442 'extern "C" void std::exit (int) throw (); using std::exit;' \
3443 'extern "C" void std::exit (int); using std::exit;' \
3444 'extern "C" void exit (int) throw ();' \
3445 'extern "C" void exit (int);' \
3448 cat >conftest.
$ac_ext <<_ACEOF
3449 #line $LINENO "configure"
3452 cat confdefs.h
>>conftest.
$ac_ext
3453 cat >>conftest.
$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3465 rm -f conftest.
$ac_objext
3466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3467 (eval $ac_compile) 2>&5
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); } &&
3471 { ac_try
='test -s conftest.$ac_objext'
3472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); }; }; then
3479 echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.
$ac_ext >&5
3484 rm -f conftest.
$ac_objext conftest.
$ac_ext
3485 cat >conftest.
$ac_ext <<_ACEOF
3486 #line $LINENO "configure"
3489 cat confdefs.h
>>conftest.
$ac_ext
3490 cat >>conftest.
$ac_ext <<_ACEOF
3491 /* end confdefs.h. */
3501 rm -f conftest.
$ac_objext
3502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3503 (eval $ac_compile) 2>&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); } &&
3507 { ac_try
='test -s conftest.$ac_objext'
3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); }; }; then
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.
$ac_ext >&5
3519 rm -f conftest.
$ac_objext conftest.
$ac_ext
3522 if test -n "$ac_declaration"; then
3523 echo '#ifdef __cplusplus' >>confdefs.h
3524 echo $ac_declaration >>confdefs.h
3525 echo '#endif' >>confdefs.h
3529 ac_cpp
='$CPP $CPPFLAGS'
3530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3534 # Was a --with-binutils option given?
3535 if test -n "$path_binutils"; then
3536 # Make absolute; ensure a single trailing slash.
3537 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
3538 CC
="$CC -B$path_binutils"
3540 AS
=`$CC -print-prog-name=as`
3541 LD
=`$CC -print-prog-name=ld`
3542 AR
=`$CC -print-prog-name=ar`
3544 OBJDUMP
=`$CC -print-prog-name=objdump`
3547 # ranlib has to be treated a bit differently since it might not exist at all.
3548 ac_ranlib
=`$CC -print-prog-name=ranlib`
3549 if test "x$ac_ranlib" = xranlib
; then
3550 # This extra check has to happen since gcc simply echos the parameter in
3551 # case it cannot find the value in its own directories.
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3554 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3555 echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3557 if test "${ac_cv_prog_RANLIB+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 if test -n "$RANLIB"; then
3561 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 RANLIB
=$ac_cv_prog_RANLIB
3580 if test -n "$RANLIB"; then
3581 echo "$as_me:$LINENO: result: $RANLIB" >&5
3582 echo "${ECHO_T}$RANLIB" >&6
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3589 if test -z "$ac_cv_prog_RANLIB"; then
3590 ac_ct_RANLIB
=$RANLIB
3591 # Extract the first word of "ranlib", so it can be a program name with args.
3592 set dummy ranlib
; ac_word
=$2
3593 echo "$as_me:$LINENO: checking for $ac_word" >&5
3594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3595 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3598 if test -n "$ac_ct_RANLIB"; then
3599 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir
=.
3606 for ac_exec_ext
in '' $ac_executable_extensions; do
3607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3618 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3619 if test -n "$ac_ct_RANLIB"; then
3620 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3621 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3623 echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3627 RANLIB
=$ac_ct_RANLIB
3629 RANLIB
="$ac_cv_prog_RANLIB"
3637 # Determine whether we are using GNU binutils.
3638 echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
3639 echo $ECHO_N "checking whether $AS is GNU as... $ECHO_C" >&6
3640 if test "${libc_cv_prog_as_gnu+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3643 # Most GNU programs take a -v and spit out some text including
3644 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
3645 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
3646 libc_cv_prog_as_gnu
=yes
3648 libc_cv_prog_as_gnu
=no
3652 echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
3653 echo "${ECHO_T}$libc_cv_prog_as_gnu" >&6
3655 gnu_as
=$libc_cv_prog_as_gnu
3657 echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
3658 echo $ECHO_N "checking whether $LD is GNU ld... $ECHO_C" >&6
3659 if test "${libc_cv_prog_ld_gnu+set}" = set; then
3660 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 # Most GNU programs take a -v and spit out some text including
3663 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
3664 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
3665 libc_cv_prog_ld_gnu
=yes
3667 libc_cv_prog_ld_gnu
=no
3671 echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
3672 echo "${ECHO_T}$libc_cv_prog_ld_gnu" >&6
3673 gnu_ld
=$libc_cv_prog_ld_gnu
3676 # Accept binutils 2.13 or newer.
3679 # Extract the first word of "$ac_prog", so it can be a program name with args.
3680 set dummy
$ac_prog; ac_word
=$2
3681 echo "$as_me:$LINENO: checking for $ac_word" >&5
3682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3683 if test "${ac_cv_prog_AS+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 if test -n "$AS"; then
3687 ac_cv_prog_AS
="$AS" # Let the user override the test.
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_AS
="$ac_prog"
3697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 if test -n "$AS"; then
3707 echo "$as_me:$LINENO: result: $AS" >&5
3708 echo "${ECHO_T}$AS" >&6
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3714 test -n "$AS" && break
3717 if test -z "$AS"; then
3720 # Found it, now check the version.
3721 echo "$as_me:$LINENO: checking version of $AS" >&5
3722 echo $ECHO_N "checking version of $AS... $ECHO_C" >&6
3723 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
3724 case $ac_prog_version in
3725 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3727 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3728 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3731 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
3732 echo "${ECHO_T}$ac_prog_version" >&6
3734 if test $ac_verc_fail = yes; then
3735 AS
=: critic_missing
="$critic_missing as"
3740 # Extract the first word of "$ac_prog", so it can be a program name with args.
3741 set dummy
$ac_prog; ac_word
=$2
3742 echo "$as_me:$LINENO: checking for $ac_word" >&5
3743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3744 if test "${ac_cv_prog_LD+set}" = set; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 if test -n "$LD"; then
3748 ac_cv_prog_LD
="$LD" # Let the user override the test.
3750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3754 test -z "$as_dir" && as_dir
=.
3755 for ac_exec_ext
in '' $ac_executable_extensions; do
3756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3757 ac_cv_prog_LD
="$ac_prog"
3758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 if test -n "$LD"; then
3768 echo "$as_me:$LINENO: result: $LD" >&5
3769 echo "${ECHO_T}$LD" >&6
3771 echo "$as_me:$LINENO: result: no" >&5
3772 echo "${ECHO_T}no" >&6
3775 test -n "$LD" && break
3778 if test -z "$LD"; then
3781 # Found it, now check the version.
3782 echo "$as_me:$LINENO: checking version of $LD" >&5
3783 echo $ECHO_N "checking version of $LD... $ECHO_C" >&6
3784 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
3785 case $ac_prog_version in
3786 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3788 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3789 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3792 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
3793 echo "${ECHO_T}$ac_prog_version" >&6
3795 if test $ac_verc_fail = yes; then
3796 LD
=: critic_missing
="$critic_missing ld"
3800 # We need the physical current working directory. We cannot use the
3801 # "pwd -P" shell builtin since that's not portable. Instead we try to
3802 # find a pwd binary. Note that assigning to the PWD environment
3803 # variable might have some interesting side effects, so we don't do
3805 # Extract the first word of "pwd", so it can be a program name with args.
3806 set dummy
pwd; ac_word
=$2
3807 echo "$as_me:$LINENO: checking for $ac_word" >&5
3808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3809 if test "${ac_cv_path_PWD_P+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
3817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 test -z "$as_dir" && as_dir
=.
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3824 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
3825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
3835 PWD_P
=$ac_cv_path_PWD_P
3837 if test -n "$PWD_P"; then
3838 echo "$as_me:$LINENO: result: $PWD_P" >&5
3839 echo "${ECHO_T}$PWD_P" >&6
3841 echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6
3845 if test "$PWD_P" = no
; then
3846 { { echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
3847 echo "$as_me: error: *** A pwd binary could not be found." >&2;}
3848 { (exit 1); exit 1; }; }
3851 # These programs are version sensitive.
3853 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
3855 # Extract the first word of "$ac_prog", so it can be a program name with args.
3856 set dummy
$ac_prog; ac_word
=$2
3857 echo "$as_me:$LINENO: checking for $ac_word" >&5
3858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3859 if test "${ac_cv_prog_CC+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 if test -n "$CC"; then
3863 ac_cv_prog_CC
="$CC" # Let the user override the test.
3865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir
=.
3870 for ac_exec_ext
in '' $ac_executable_extensions; do
3871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3872 ac_cv_prog_CC
="$ac_prog"
3873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 if test -n "$CC"; then
3883 echo "$as_me:$LINENO: result: $CC" >&5
3884 echo "${ECHO_T}$CC" >&6
3886 echo "$as_me:$LINENO: result: no" >&5
3887 echo "${ECHO_T}no" >&6
3890 test -n "$CC" && break
3893 if test -z "$CC"; then
3896 # Found it, now check the version.
3897 echo "$as_me:$LINENO: checking version of $CC" >&5
3898 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
3899 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
3900 case $ac_prog_version in
3901 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3903 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3904 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3907 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
3908 echo "${ECHO_T}$ac_prog_version" >&6
3910 if test $ac_verc_fail = yes; then
3911 critic_missing
="$critic_missing gcc"
3914 for ac_prog
in gnumake gmake
make
3916 # Extract the first word of "$ac_prog", so it can be a program name with args.
3917 set dummy
$ac_prog; ac_word
=$2
3918 echo "$as_me:$LINENO: checking for $ac_word" >&5
3919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3920 if test "${ac_cv_prog_MAKE+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 if test -n "$MAKE"; then
3924 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
3926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir
=.
3931 for ac_exec_ext
in '' $ac_executable_extensions; do
3932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3933 ac_cv_prog_MAKE
="$ac_prog"
3934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3942 MAKE
=$ac_cv_prog_MAKE
3943 if test -n "$MAKE"; then
3944 echo "$as_me:$LINENO: result: $MAKE" >&5
3945 echo "${ECHO_T}$MAKE" >&6
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3951 test -n "$MAKE" && break
3954 if test -z "$MAKE"; then
3957 # Found it, now check the version.
3958 echo "$as_me:$LINENO: checking version of $MAKE" >&5
3959 echo $ECHO_N "checking version of $MAKE... $ECHO_C" >&6
3960 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
3961 case $ac_prog_version in
3962 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3964 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3965 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3968 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
3969 echo "${ECHO_T}$ac_prog_version" >&6
3971 if test $ac_verc_fail = yes; then
3972 critic_missing
="$critic_missing make"
3976 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
3978 # Extract the first word of "$ac_prog", so it can be a program name with args.
3979 set dummy
$ac_prog; ac_word
=$2
3980 echo "$as_me:$LINENO: checking for $ac_word" >&5
3981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3982 if test "${ac_cv_prog_MSGFMT+set}" = set; then
3983 echo $ECHO_N "(cached) $ECHO_C" >&6
3985 if test -n "$MSGFMT"; then
3986 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3995 ac_cv_prog_MSGFMT
="$ac_prog"
3996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 MSGFMT
=$ac_cv_prog_MSGFMT
4005 if test -n "$MSGFMT"; then
4006 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4007 echo "${ECHO_T}$MSGFMT" >&6
4009 echo "$as_me:$LINENO: result: no" >&5
4010 echo "${ECHO_T}no" >&6
4013 test -n "$MSGFMT" && break
4016 if test -z "$MSGFMT"; then
4019 # Found it, now check the version.
4020 echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
4021 echo $ECHO_N "checking version of $MSGFMT... $ECHO_C" >&6
4022 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4023 case $ac_prog_version in
4024 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4025 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
4026 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4027 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4030 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4031 echo "${ECHO_T}$ac_prog_version" >&6
4033 if test $ac_verc_fail = yes; then
4034 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4037 for ac_prog
in makeinfo
4039 # Extract the first word of "$ac_prog", so it can be a program name with args.
4040 set dummy
$ac_prog; ac_word
=$2
4041 echo "$as_me:$LINENO: checking for $ac_word" >&5
4042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4043 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 if test -n "$MAKEINFO"; then
4047 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir
=.
4054 for ac_exec_ext
in '' $ac_executable_extensions; do
4055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4056 ac_cv_prog_MAKEINFO
="$ac_prog"
4057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 MAKEINFO
=$ac_cv_prog_MAKEINFO
4066 if test -n "$MAKEINFO"; then
4067 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
4068 echo "${ECHO_T}$MAKEINFO" >&6
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4074 test -n "$MAKEINFO" && break
4077 if test -z "$MAKEINFO"; then
4080 # Found it, now check the version.
4081 echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
4082 echo $ECHO_N "checking version of $MAKEINFO... $ECHO_C" >&6
4083 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4084 case $ac_prog_version in
4085 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4087 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4088 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4091 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4092 echo "${ECHO_T}$ac_prog_version" >&6
4094 if test $ac_verc_fail = yes; then
4095 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
4100 # Extract the first word of "$ac_prog", so it can be a program name with args.
4101 set dummy
$ac_prog; ac_word
=$2
4102 echo "$as_me:$LINENO: checking for $ac_word" >&5
4103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4104 if test "${ac_cv_prog_SED+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 if test -n "$SED"; then
4108 ac_cv_prog_SED
="$SED" # Let the user override the test.
4110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4114 test -z "$as_dir" && as_dir
=.
4115 for ac_exec_ext
in '' $ac_executable_extensions; do
4116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4117 ac_cv_prog_SED
="$ac_prog"
4118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4127 if test -n "$SED"; then
4128 echo "$as_me:$LINENO: result: $SED" >&5
4129 echo "${ECHO_T}$SED" >&6
4131 echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4135 test -n "$SED" && break
4138 if test -z "$SED"; then
4141 # Found it, now check the version.
4142 echo "$as_me:$LINENO: checking version of $SED" >&5
4143 echo $ECHO_N "checking version of $SED... $ECHO_C" >&6
4144 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
4145 case $ac_prog_version in
4146 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4147 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
4148 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4149 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4152 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4153 echo "${ECHO_T}$ac_prog_version" >&6
4155 if test $ac_verc_fail = yes; then
4156 SED
=: aux_missing
="$aux_missing sed"
4160 for ac_prog
in autoconf
4162 # Extract the first word of "$ac_prog", so it can be a program name with args.
4163 set dummy
$ac_prog; ac_word
=$2
4164 echo "$as_me:$LINENO: checking for $ac_word" >&5
4165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4166 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 if test -n "$AUTOCONF"; then
4170 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
4172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4176 test -z "$as_dir" && as_dir
=.
4177 for ac_exec_ext
in '' $ac_executable_extensions; do
4178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4179 ac_cv_prog_AUTOCONF
="$ac_prog"
4180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 AUTOCONF
=$ac_cv_prog_AUTOCONF
4189 if test -n "$AUTOCONF"; then
4190 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
4191 echo "${ECHO_T}$AUTOCONF" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4197 test -n "$AUTOCONF" && break
4199 test -n "$AUTOCONF" || AUTOCONF
="no"
4201 case "x$AUTOCONF" in
4202 xno|x|x
:) AUTOCONF
=no
;;
4204 echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
4205 echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6
4206 if test "${libc_cv_autoconf_works+set}" = set; then
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4209 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
4210 libc_cv_autoconf_works
=yes
4212 libc_cv_autoconf_works
=no
4215 echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
4216 echo "${ECHO_T}$libc_cv_autoconf_works" >&6
4217 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
4220 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
4221 # If --without-cvs they probably won't change configure.in, so no complaints.
4222 aux_missing
="$aux_missing autoconf"
4225 test -n "$critic_missing" && { { echo "$as_me:$LINENO: error:
4226 *** These critical programs are missing or too old:$critic_missing
4227 *** Check the INSTALL file for required versions." >&5
4228 echo "$as_me: error:
4229 *** These critical programs are missing or too old:$critic_missing
4230 *** Check the INSTALL file for required versions." >&2;}
4231 { (exit 1); exit 1; }; }
4233 test -n "$aux_missing" && { echo "$as_me:$LINENO: WARNING:
4234 *** These auxiliary programs are missing or incompatible versions:$aux_missing
4235 *** some features will be disabled.
4236 *** Check the INSTALL file for required versions." >&5
4237 echo "$as_me: WARNING:
4238 *** These auxiliary programs are missing or incompatible versions:$aux_missing
4239 *** some features will be disabled.
4240 *** Check the INSTALL file for required versions." >&2;}
4242 # glibcbug.in wants to know the compiler version.
4243 CCVERSION
=`$CC -v 2>&1 | sed -n 's/gcc version //p'`
4246 # if using special system headers, find out the compiler's sekrit
4247 # header directory and add that to the list. NOTE: Only does the right
4248 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
4249 if test -n "$sysheaders"; then
4250 ccheaders
=`$CC -print-file-name=include`
4251 SYSINCLUDES
="-nostdinc -isystem $ccheaders -isystem $sysheaders"
4255 # check if ranlib is necessary
4256 echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
4257 echo $ECHO_N "checking whether ranlib is necessary... $ECHO_C" >&6
4258 if test "${libc_cv_ranlib_necessary+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4261 cat > conftest.c
<<EOF
4266 $CC $CFLAGS $CPPFLAGS -c conftest.c
4267 $AR cr conftest.a conftest.o
4268 cp conftest.a conftest2.a
4270 if cmp -s conftest.a conftest2.a
; then
4271 libc_cv_ranlib_necessary
=no
4273 libc_cv_ranlib_necessary
=yes
4277 echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
4278 echo "${ECHO_T}$libc_cv_ranlib_necessary" >&6
4279 if test "$libc_cv_ranlib_necessary" = no
; then
4283 # Test if LD_LIBRARY_PATH contains the notation for the current directory
4284 # since this would lead to problems installing/building glibc.
4285 # LD_LIBRARY_PATH contains the current directory if one of the following
4287 # - one of the terminals (":" and ";") is the first or last sign
4288 # - two terminals occur directly after each other
4289 # - the path contains an element with a dot in it
4290 echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
4291 echo $ECHO_N "checking LD_LIBRARY_PATH variable... $ECHO_C" >&6
4292 case ${LD_LIBRARY_PATH} in
4293 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
4294 ld_library_path_setting
="contains current directory"
4297 ld_library_path_setting
="ok"
4300 echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
4301 echo "${ECHO_T}$ld_library_path_setting" >&6
4302 if test "$ld_library_path_setting" != "ok"; then
4303 { { echo "$as_me:$LINENO: error:
4304 *** LD_LIBRARY_PATH shouldn't contain the current directory when
4305 *** building glibc. Please change the environment variable
4306 *** and run configure again." >&5
4307 echo "$as_me: error:
4308 *** LD_LIBRARY_PATH shouldn't contain the current directory when
4309 *** building glibc. Please change the environment variable
4310 *** and run configure again." >&2;}
4311 { (exit 1); exit 1; }; }
4314 echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
4315 echo $ECHO_N "checking whether GCC supports -static-libgcc... $ECHO_C" >&6
4316 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
4320 libc_cv_gcc_static_libgcc
=
4322 libc_cv_gcc_static_libgcc
=-static-libgcc
4325 echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
4326 echo "${ECHO_T}$libc_cv_gcc_static_libgcc" >&6
4329 # Extract the first word of "bash", so it can be a program name with args.
4330 set dummy bash
; ac_word
=$2
4331 echo "$as_me:$LINENO: checking for $ac_word" >&5
4332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4333 if test "${ac_cv_path_BASH+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4338 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
4341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4345 test -z "$as_dir" && as_dir
=.
4346 for ac_exec_ext
in '' $ac_executable_extensions; do
4347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348 ac_cv_path_BASH
="$as_dir/$ac_word$ac_exec_ext"
4349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="no"
4359 BASH
=$ac_cv_path_BASH
4361 if test -n "$BASH"; then
4362 echo "$as_me:$LINENO: result: $BASH" >&5
4363 echo "${ECHO_T}$BASH" >&6
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4369 if test "$BASH" != no
&&
4370 $BASH -c 'test "$BASH_VERSINFO" \
4371 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
4372 libc_cv_have_bash2
=yes
4374 libc_cv_have_bash2
=no
4378 if test "$BASH" = no
; then
4379 # Extract the first word of "ksh", so it can be a program name with args.
4380 set dummy ksh
; ac_word
=$2
4381 echo "$as_me:$LINENO: checking for $ac_word" >&5
4382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4383 if test "${ac_cv_path_KSH+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
4391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4395 test -z "$as_dir" && as_dir
=.
4396 for ac_exec_ext
in '' $ac_executable_extensions; do
4397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4398 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
4399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
4411 if test -n "$KSH"; then
4412 echo "$as_me:$LINENO: result: $KSH" >&5
4413 echo "${ECHO_T}$KSH" >&6
4415 echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6
4419 if test "$KSH" = no
; then
4422 libc_cv_have_ksh
=yes
4427 libc_cv_have_ksh
=yes
4431 for ac_prog
in gawk mawk nawk
awk
4433 # Extract the first word of "$ac_prog", so it can be a program name with args.
4434 set dummy
$ac_prog; ac_word
=$2
4435 echo "$as_me:$LINENO: checking for $ac_word" >&5
4436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4437 if test "${ac_cv_prog_AWK+set}" = set; then
4438 echo $ECHO_N "(cached) $ECHO_C" >&6
4440 if test -n "$AWK"; then
4441 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir
=.
4448 for ac_exec_ext
in '' $ac_executable_extensions; do
4449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_prog_AWK
="$ac_prog"
4451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 if test -n "$AWK"; then
4461 echo "$as_me:$LINENO: result: $AWK" >&5
4462 echo "${ECHO_T}$AWK" >&6
4464 echo "$as_me:$LINENO: result: no" >&5
4465 echo "${ECHO_T}no" >&6
4468 test -n "$AWK" && break
4471 # Extract the first word of "perl", so it can be a program name with args.
4472 set dummy perl
; ac_word
=$2
4473 echo "$as_me:$LINENO: checking for $ac_word" >&5
4474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4475 if test "${ac_cv_path_PERL+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir
=.
4488 for ac_exec_ext
in '' $ac_executable_extensions; do
4489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
4501 PERL
=$ac_cv_path_PERL
4503 if test -n "$PERL"; then
4504 echo "$as_me:$LINENO: result: $PERL" >&5
4505 echo "${ECHO_T}$PERL" >&6
4507 echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6
4511 if test "$PERL" != no
&&
4512 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
4515 # Extract the first word of "install-info", so it can be a program name with args.
4516 set dummy install-info
; ac_word
=$2
4517 echo "$as_me:$LINENO: checking for $ac_word" >&5
4518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4519 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4522 case $INSTALL_INFO in
4524 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4528 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
4529 for as_dir
in $as_dummy
4532 test -z "$as_dir" && as_dir
=.
4533 for ac_exec_ext
in '' $ac_executable_extensions; do
4534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
4546 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4548 if test -n "$INSTALL_INFO"; then
4549 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4550 echo "${ECHO_T}$INSTALL_INFO" >&6
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4556 if test "$INSTALL_INFO" != "no"; then
4557 echo "$as_me:$LINENO: checking for old Debian install-info" >&5
4558 echo $ECHO_N "checking for old Debian install-info... $ECHO_C" >&6
4559 if test "${libc_cv_old_debian_install_info+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 # There is a hard ^_ on the next line. I am open to better ideas.
4565 echo 'File: dir Node: Top This is the top of the INFO tree'
4566 echo '* Menu:') >conftest.d
/dir
4567 (echo 'INFO-DIR-SECTION i-d-s works'
4568 echo 'START-INFO-DIR-ENTRY'
4569 echo '* Prog: (prog). Program.'
4570 echo 'END-INFO-DIR-ENTRY') >conftest.d
/prog.info
4571 if $INSTALL_INFO --info-dir=conftest.d conftest.d
/prog.info
>&5 2>&1
4573 if grep -s 'i-d-s works' conftest.d
/dir
>/dev
/null
4574 then libc_cv_old_debian_install_info
=no
4575 else libc_cv_old_debian_install_info
=yes
4577 else libc_cv_old_debian_install_info
=no testfailed
=t
4581 echo "$as_me:$LINENO: result: $libc_cv_old_debian_install_info" >&5
4582 echo "${ECHO_T}$libc_cv_old_debian_install_info" >&6
4583 if test -n "$testfailed"
4584 then { echo "$as_me:$LINENO: WARNING: install-info errored out, check config.log" >&5
4585 echo "$as_me: WARNING: install-info errored out, check config.log" >&2;}
4587 OLD_DEBIAN_INSTALL_INFO
=$libc_cv_old_debian_install_info
4591 # Extract the first word of "bison", so it can be a program name with args.
4592 set dummy bison
; ac_word
=$2
4593 echo "$as_me:$LINENO: checking for $ac_word" >&5
4594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4595 if test "${ac_cv_path_BISON+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
4605 for as_dir
in $as_dummy
4608 test -z "$as_dir" && as_dir
=.
4609 for ac_exec_ext
in '' $ac_executable_extensions; do
4610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
4612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
4622 BISON
=$ac_cv_path_BISON
4624 if test -n "$BISON"; then
4625 echo "$as_me:$LINENO: result: $BISON" >&5
4626 echo "${ECHO_T}$BISON" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4633 echo "$as_me:$LINENO: checking for signed size_t type" >&5
4634 echo $ECHO_N "checking for signed size_t type... $ECHO_C" >&6
4635 if test "${libc_cv_signed_size_t+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 echo '#include <stddef.h>
4639 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
4640 if eval "$ac_cpp conftest.c 2>/dev/null" \
4641 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
4642 libc_cv_signed_size_t
=no
4644 libc_cv_signed_size_t
=yes
4648 echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
4649 echo "${ECHO_T}$libc_cv_signed_size_t" >&6
4650 if test $libc_cv_signed_size_t = yes; then
4651 cat >> confdefs.h
<<\EOF
4652 #undef __SIZE_TYPE__
4653 #define __SIZE_TYPE__ unsigned
4658 echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
4659 echo $ECHO_N "checking for libc-friendly stddef.h... $ECHO_C" >&6
4660 if test "${libc_cv_friendly_stddef+set}" = set; then
4661 echo $ECHO_N "(cached) $ECHO_C" >&6
4663 cat >conftest.
$ac_ext <<_ACEOF
4664 #line $LINENO "configure"
4667 cat confdefs.h
>>conftest.
$ac_ext
4668 cat >>conftest.
$ac_ext <<_ACEOF
4669 /* end confdefs.h. */
4670 #define __need_size_t
4671 #define __need_wchar_t
4678 size_t size; wchar_t wchar;
4680 #error stddef.h ignored __need_*
4682 if (&size == NULL || &wchar == NULL) abort ();
4687 rm -f conftest.
$ac_objext
4688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4689 (eval $ac_compile) 2>&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); } &&
4693 { ac_try
='test -s conftest.$ac_objext'
4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); }; }; then
4699 libc_cv_friendly_stddef
=yes
4701 echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.
$ac_ext >&5
4704 libc_cv_friendly_stddef
=no
4706 rm -f conftest.
$ac_objext conftest.
$ac_ext
4708 echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
4709 echo "${ECHO_T}$libc_cv_friendly_stddef" >&6
4710 if test $libc_cv_friendly_stddef = yes; then
4711 config_vars
="$config_vars
4712 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
4715 echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
4716 echo $ECHO_N "checking whether we need to use -P to assemble .S files... $ECHO_C" >&6
4717 if test "${libc_cv_need_minus_P+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 cat > conftest.S
<<EOF
4721 #include "confdefs.h"
4722 /* Nothing whatsoever. */
4724 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); }; }; then
4730 libc_cv_need_minus_P
=no
4732 libc_cv_need_minus_P
=yes
4736 echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
4737 echo "${ECHO_T}$libc_cv_need_minus_P" >&6
4738 if test $libc_cv_need_minus_P = yes; then
4739 config_vars
="$config_vars
4740 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
4743 echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
4744 echo $ECHO_N "checking whether .text pseudo-op must be used... $ECHO_C" >&6
4745 if test "${libc_cv_dot_text+set}" = set; then
4746 echo $ECHO_N "(cached) $ECHO_C" >&6
4748 cat > conftest.s
<<EOF
4752 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4758 libc_cv_dot_text
=.text
4763 if test -z "$libc_cv_dot_text"; then
4764 echo "$as_me:$LINENO: result: no" >&5
4765 echo "${ECHO_T}no" >&6
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4771 echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
4772 echo $ECHO_N "checking for assembler global-symbol directive... $ECHO_C" >&6
4773 if test "${libc_cv_asm_global_directive+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 libc_cv_asm_global_directive
=UNKNOWN
4777 for ac_globl
in .globl .global .EXPORT
; do
4778 cat > conftest.s
<<EOF
4783 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); }; }; then
4789 libc_cv_asm_global_directive
=${ac_globl}
4792 test $libc_cv_asm_global_directive != UNKNOWN
&& break
4795 echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
4796 echo "${ECHO_T}$libc_cv_asm_global_directive" >&6
4797 if test $libc_cv_asm_global_directive = UNKNOWN
; then
4798 { { echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
4799 echo "$as_me: error: cannot determine asm global directive" >&2;}
4800 { (exit 1); exit 1; }; }
4802 cat >>confdefs.h
<<_ACEOF
4803 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
4808 echo "$as_me:$LINENO: checking for .set assembler directive" >&5
4809 echo $ECHO_N "checking for .set assembler directive... $ECHO_C" >&6
4810 if test "${libc_cv_asm_set_directive+set}" = set; then
4811 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 cat > conftest.s
<<EOF
4816 .set glibc_conftest_frobozz,foo
4817 $libc_cv_asm_global_directive glibc_conftest_frobozz
4819 # The alpha-dec-osf1 assembler gives only a warning for `.set'
4820 # (but it doesn't work), so we must do a linking check to be sure.
4821 cat > conftest1.c
<<\EOF
4822 extern int glibc_conftest_frobozz
;
4823 void _start
() { glibc_conftest_frobozz
= 1; }
4825 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
4826 -nostartfiles -nostdlib \
4827 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
4828 libc_cv_asm_set_directive
=yes
4830 libc_cv_asm_set_directive
=no
4834 echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
4835 echo "${ECHO_T}$libc_cv_asm_set_directive" >&6
4836 if test $libc_cv_asm_set_directive = yes; then
4837 cat >>confdefs.h
<<\_ACEOF
4838 #define HAVE_ASM_SET_DIRECTIVE 1
4843 echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
4844 echo $ECHO_N "checking for assembler .type directive prefix... $ECHO_C" >&6
4845 if test "${libc_cv_asm_type_prefix+set}" = set; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 libc_cv_asm_type_prefix
=no
4849 for ac_try_prefix
in '@' '%' '#'; do
4850 cat > conftest.s
<<EOF
4852 ${libc_cv_asm_global_directive} foo
4853 .type foo, ${ac_try_prefix}object
4858 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; }; then
4864 libc_cv_asm_type_prefix
=${ac_try_prefix}
4867 test "x$libc_cv_asm_type_prefix" != xno
&& break
4870 echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
4871 echo "${ECHO_T}$libc_cv_asm_type_prefix" >&6
4872 if test "x$libc_cv_asm_type_prefix" != xno
; then
4873 cat >>confdefs.h
<<_ACEOF
4874 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
4879 # The Aix ld uses global .symbol_names instead of symbol_names.
4880 # Unfortunately also used in the PPC64 ELF ABI.
4881 case "${os}${machine}" in
4882 aix4.3
* | linux
*powerpc
/powerpc64
*)
4883 cat >>confdefs.h
<<\_ACEOF
4884 #define HAVE_ASM_GLOBAL_DOT_NAME 1
4889 echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
4890 echo $ECHO_N "checking for .symver assembler directive... $ECHO_C" >&6
4891 if test "${libc_cv_asm_symver_directive+set}" = set; then
4892 echo $ECHO_N "(cached) $ECHO_C" >&6
4894 cat > conftest.s
<<EOF
4897 .symver _sym,sym@VERS
4899 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
4900 libc_cv_asm_symver_directive
=yes
4902 libc_cv_asm_symver_directive
=no
4906 echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
4907 echo "${ECHO_T}$libc_cv_asm_symver_directive" >&6
4908 echo "$as_me:$LINENO: checking for ld --version-script" >&5
4909 echo $ECHO_N "checking for ld --version-script... $ECHO_C" >&6
4910 if test "${libc_cv_ld_version_script_option+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 if test $libc_cv_asm_symver_directive = yes; then
4914 cat > conftest.s
<<EOF
4917 .symver _sym,sym@VERS
4919 cat > conftest.map
<<EOF
4928 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
4929 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
4930 -o conftest.so conftest.o
4931 -nostartfiles -nostdlib
4932 -Wl,--version-script,conftest.map
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; };
4940 libc_cv_ld_version_script_option
=yes
4942 libc_cv_ld_version_script_option
=no
4945 libc_cv_ld_version_script_option
=no
4948 libc_cv_ld_version_script_option
=no
4952 echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
4953 echo "${ECHO_T}$libc_cv_ld_version_script_option" >&6
4954 if test $shared != no
&&
4955 test $libc_cv_asm_symver_directive = yes &&
4956 test $libc_cv_ld_version_script_option = yes &&
4957 test $enable_versioning = yes; then
4959 cat >>confdefs.h
<<\_ACEOF
4960 #define DO_VERSIONING 1
4968 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
4970 *** WARNING: You should not compile GNU libc without versioning. Not using
4971 *** versioning will introduce incompatibilities so that old binaries
4972 *** will not run anymore.
4973 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
4975 if test $elf = yes; then
4976 echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
4977 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6
4978 if test "${libc_cv_asm_previous_directive+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 cat > conftest.s
<<EOF
4982 .section foo_section
4985 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; }; then
4991 libc_cv_asm_previous_directive
=yes
4993 libc_cv_asm_previous_directive
=no
4997 echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
4998 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6
4999 if test $libc_cv_asm_previous_directive = yes; then
5000 cat >>confdefs.h
<<\_ACEOF
5001 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
5005 echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
5006 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6
5007 if test "${libc_cv_asm_popsection_directive+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 cat > conftest.s
<<EOF
5011 .pushsection foo_section
5014 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; }; then
5020 libc_cv_asm_popsection_directive
=yes
5022 libc_cv_asm_popsection_directive
=no
5026 echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
5027 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6
5028 if test $libc_cv_asm_popsection_directive = yes; then
5029 cat >>confdefs.h
<<\_ACEOF
5030 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
5035 echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
5036 echo $ECHO_N "checking for .protected and .hidden assembler directive... $ECHO_C" >&6
5037 if test "${libc_cv_asm_protected_directive+set}" = set; then
5038 echo $ECHO_N "(cached) $ECHO_C" >&6
5040 cat > conftest.s
<<EOF
5046 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; }; then
5052 libc_cv_asm_protected_directive
=yes
5054 libc_cv_asm_protected_directive
=no
5058 echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
5059 echo "${ECHO_T}$libc_cv_asm_protected_directive" >&6
5061 cat >>confdefs.h
<<\_ACEOF
5062 #define HAVE_PROTECTED 1
5065 cat >>confdefs.h
<<\_ACEOF
5066 #define HAVE_HIDDEN 1
5070 if test $libc_cv_asm_protected_directive = yes; then
5071 echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
5072 echo $ECHO_N "checking whether __attribute__((visibility())) is supported... $ECHO_C" >&6
5073 if test "${libc_cv_visibility_attribute+set}" = set; then
5074 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 cat > conftest.c
<<EOF
5077 int foo __attribute__ ((visibility ("hidden"))) = 1;
5078 int bar __attribute__ ((visibility ("protected"))) = 1;
5080 libc_cv_visibility_attribute
=no
5081 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; }; then
5087 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
5088 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5089 libc_cv_visibility_attribute
=yes
5096 echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
5097 echo "${ECHO_T}$libc_cv_visibility_attribute" >&6
5098 if test $libc_cv_visibility_attribute = yes; then
5099 cat >>confdefs.h
<<\_ACEOF
5100 #define HAVE_VISIBILITY_ATTRIBUTE 1
5106 if test $libc_cv_visibility_attribute = yes; then
5107 echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
5108 echo $ECHO_N "checking for broken __attribute__((visibility()))... $ECHO_C" >&6
5109 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
5110 echo $ECHO_N "(cached) $ECHO_C" >&6
5112 cat > conftest.c
<<EOF
5114 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5115 int bar (int x) { return x; }
5117 libc_cv_broken_visibility_attribute
=yes
5118 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5124 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5125 libc_cv_broken_visibility_attribute
=no
5128 rm -f conftest.c conftest.s
5131 echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
5132 echo "${ECHO_T}$libc_cv_broken_visibility_attribute" >&6
5133 if test $libc_cv_broken_visibility_attribute = yes; then
5134 cat >>confdefs.h
<<\_ACEOF
5135 #define HAVE_BROKEN_VISIBILITY_ATTRIBUTE 1
5141 echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
5142 echo $ECHO_N "checking for broken __attribute__((alias()))... $ECHO_C" >&6
5143 if test "${libc_cv_broken_alias_attribute+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 cat > conftest.c
<<EOF
5147 extern int foo (int x) __asm ("xyzzy");
5148 int bar (int x) { return x; }
5149 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5151 extern __typeof (dfoo) dfoo __asm ("abccb");
5154 libc_cv_broken_alias_attribute
=yes
5155 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; }; then
5161 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5162 grep 'abccb' conftest.s
>/dev
/null
; then
5163 libc_cv_broken_alias_attribute
=no
5166 rm -f conftest.c conftest.s
5169 echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
5170 echo "${ECHO_T}$libc_cv_broken_alias_attribute" >&6
5171 if test $libc_cv_broken_alias_attribute = yes; then
5172 cat >>confdefs.h
<<\_ACEOF
5173 #define HAVE_BROKEN_ALIAS_ATTRIBUTE 1
5178 if test $libc_cv_visibility_attribute = yes -a $gnu_ld = yes; then
5179 echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
5180 echo $ECHO_N "checking whether to put _rtld_local into .sdata section... $ECHO_C" >&6
5181 if test "${libc_cv_have_sdata_section+set}" = set; then
5182 echo $ECHO_N "(cached) $ECHO_C" >&6
5184 echo "int i;" > conftest.c
5185 libc_cv_have_sdata_section
=no
5186 if ${CC-cc} $LDFLAGS -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5187 |
grep '\.sdata' >/dev
/null
; then
5188 libc_cv_have_sdata_section
=yes
5190 rm -f conftest.c conftest.so
5193 echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
5194 echo "${ECHO_T}$libc_cv_have_sdata_section" >&6
5195 if test $libc_cv_have_sdata_section = yes; then
5196 cat >>confdefs.h
<<\_ACEOF
5197 #define HAVE_SDATA_SECTION 1
5203 echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
5204 echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6
5205 if test "${libc_cv_initfinit_array+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 cat > conftest.c
<<EOF
5209 int _start (void) { return 0; }
5210 int __start (void) { return 0; }
5211 int foo (void) { return 1; }
5212 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
5214 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
5215 -static -nostartfiles -nostdlib 1>&5'
5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; }
5222 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
5223 libc_cv_initfinit_array
=yes
5225 libc_cv_initfinit_array
=no
5228 libc_cv_initfinit_array
=no
5232 echo "$as_me:$LINENO: result: $libc_cv_initfinit_array" >&5
5233 echo "${ECHO_T}$libc_cv_initfinit_array" >&6
5235 if test $libc_cv_initfinit_array = yes; then
5236 cat >>confdefs.h
<<\_ACEOF
5237 #define HAVE_INITFINI_ARRAY 1
5242 echo "$as_me:$LINENO: checking for -z nodelete option" >&5
5243 echo $ECHO_N "checking for -z nodelete option... $ECHO_C" >&6
5244 if test "${libc_cv_z_nodelete+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 cat > conftest.c
<<EOF
5248 int _start (void) { return 42; }
5250 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5251 -shared -o conftest.so conftest.c
5252 -nostartfiles -nostdlib
5253 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
5254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }; }
5260 libc_cv_z_nodelete
=yes
5262 libc_cv_z_nodelete
=no
5266 echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
5267 echo "${ECHO_T}$libc_cv_z_nodelete" >&6
5270 echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
5271 echo $ECHO_N "checking for -z nodlopen option... $ECHO_C" >&6
5272 if test "${libc_cv_z_nodlopen+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 cat > conftest.c
<<EOF
5276 int _start (void) { return 42; }
5278 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5279 -shared -o conftest.so conftest.c
5280 -nostartfiles -nostdlib
5281 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
5282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); }; }
5288 libc_cv_z_nodlopen
=yes
5290 libc_cv_z_nodlopen
=no
5294 echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
5295 echo "${ECHO_T}$libc_cv_z_nodlopen" >&6
5298 echo "$as_me:$LINENO: checking for -z initfirst option" >&5
5299 echo $ECHO_N "checking for -z initfirst option... $ECHO_C" >&6
5300 if test "${libc_cv_z_initfirst+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 cat > conftest.c
<<EOF
5304 int _start (void) { return 42; }
5306 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5307 -shared -o conftest.so conftest.c
5308 -nostartfiles -nostdlib
5309 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; }
5316 libc_cv_z_initfirst
=yes
5318 libc_cv_z_initfirst
=no
5322 echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
5323 echo "${ECHO_T}$libc_cv_z_initfirst" >&6
5326 echo "$as_me:$LINENO: checking for -Bgroup option" >&5
5327 echo $ECHO_N "checking for -Bgroup option... $ECHO_C" >&6
5328 if test "${libc_cv_Bgroup+set}" = set; then
5329 echo $ECHO_N "(cached) $ECHO_C" >&6
5331 cat > conftest.c
<<EOF
5332 int _start (void) { return 42; }
5334 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5335 -shared -o conftest.so conftest.c
5336 -Wl,-Bgroup -nostdlib 1>&5'
5337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); }; }
5349 echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
5350 echo "${ECHO_T}$libc_cv_Bgroup" >&6
5354 echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
5355 echo $ECHO_N "checking whether --noexecstack is desirable for .S files... $ECHO_C" >&6
5356 if test "${libc_cv_as_noexecstack+set}" = set; then
5357 echo $ECHO_N "(cached) $ECHO_C" >&6
5359 cat > conftest.c
<<EOF
5362 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
5363 -S -o conftest.s conftest.c 1>&5'
5364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); }; } \
5369 && grep -q .note.GNU-stack conftest.s \
5370 && { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Wa,--noexecstack
5371 -c -o conftest.o conftest.s 1>&5'
5372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }; }
5378 libc_cv_as_noexecstack
=yes
5380 libc_cv_as_noexecstack
=no
5384 echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
5385 echo "${ECHO_T}$libc_cv_as_noexecstack" >&6
5386 if test $libc_cv_as_noexecstack = yes; then
5387 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
5390 echo "$as_me:$LINENO: checking for -z combreloc" >&5
5391 echo $ECHO_N "checking for -z combreloc... $ECHO_C" >&6
5392 if test "${libc_cv_z_combreloc+set}" = set; then
5393 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 cat > conftest.c
<<EOF
5396 extern int bar (int);
5398 int foo (void) { return bar (mumble); }
5400 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5401 -shared -o conftest.so conftest.c
5402 -nostdlib -nostartfiles
5403 -Wl,-z,combreloc 1>&5'
5404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); }; }
5410 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
5411 libc_cv_z_combreloc
=yes
5413 libc_cv_z_combreloc
=no
5416 libc_cv_z_combreloc
=no
5420 echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
5421 echo "${ECHO_T}$libc_cv_z_combreloc" >&6
5422 if test "$libc_cv_z_combreloc" = yes; then
5423 cat >>confdefs.h
<<\_ACEOF
5424 #define HAVE_Z_COMBRELOC 1
5431 if test $elf != yes; then
5432 echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
5433 echo $ECHO_N "checking for .init and .fini sections... $ECHO_C" >&6
5434 if test "${libc_cv_have_initfini+set}" = set; then
5435 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 cat >conftest.
$ac_ext <<_ACEOF
5438 #line $LINENO "configure"
5441 cat confdefs.h
>>conftest.
$ac_ext
5442 cat >>conftest.
$ac_ext <<_ACEOF
5443 /* end confdefs.h. */
5448 asm (".section .init");
5449 asm (".section .fini");
5450 asm ("${libc_cv_dot_text}");
5455 rm -f conftest.
$ac_objext
5456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5457 (eval $ac_compile) 2>&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); } &&
5461 { ac_try
='test -s conftest.$ac_objext'
5462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); }; }; then
5467 libc_cv_have_initfini
=yes
5469 echo "$as_me: failed program was:" >&5
5470 sed 's/^/| /' conftest.
$ac_ext >&5
5472 libc_cv_have_initfini
=no
5474 rm -f conftest.
$ac_objext conftest.
$ac_ext
5476 echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
5477 echo "${ECHO_T}$libc_cv_have_initfini" >&6
5478 if test $libc_cv_have_initfini = yes; then
5479 cat >>confdefs.h
<<\_ACEOF
5480 #define HAVE_INITFINI 1
5486 if test $elf = yes -a $gnu_ld = yes; then
5487 echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
5488 echo $ECHO_N "checking whether cc puts quotes around section names... $ECHO_C" >&6
5489 if test "${libc_cv_have_section_quotes+set}" = set; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 cat > conftest.c
<<EOF
5493 static const int foo
5494 __attribute__ ((section ("bar"))) = 1;
5496 if ${CC-cc} -S conftest.c
-o conftest.s
; then
5497 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
5498 libc_cv_have_section_quotes
=yes
5500 libc_cv_have_section_quotes
=no
5503 libc_cv_have_section_quotes
=unknown
5508 echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
5509 echo "${ECHO_T}$libc_cv_have_section_quotes" >&6
5510 if test $libc_cv_have_section_quotes = yes; then
5511 cat >>confdefs.h
<<\_ACEOF
5512 #define HAVE_SECTION_QUOTES 1
5520 if test $elf = yes; then
5521 libc_cv_asm_underscores
=no
5523 if test $ac_cv_prog_cc_works = yes; then
5524 echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
5525 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6
5526 if test "${libc_cv_asm_underscores+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 cat >conftest.
$ac_ext <<_ACEOF
5530 #line $LINENO "configure"
5533 cat confdefs.h
>>conftest.
$ac_ext
5534 cat >>conftest.
$ac_ext <<_ACEOF
5535 /* end confdefs.h. */
5536 asm ("_glibc_foobar:");
5545 rm -f conftest.
$ac_objext conftest
$ac_exeext
5546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5547 (eval $ac_link) 2>&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); } &&
5551 { ac_try
='test -s conftest$ac_exeext'
5552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); }; }; then
5557 libc_cv_asm_underscores
=yes
5559 echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.
$ac_ext >&5
5562 libc_cv_asm_underscores
=no
5564 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5566 echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
5567 echo "${ECHO_T}$libc_cv_asm_underscores" >&6
5569 echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
5570 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6
5571 if test "${libc_cv_asm_underscores+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 cat > conftest.
$ac_ext <<EOF
5575 #line $LINENO "configure"
5576 #include "confdefs.h"
5577 void underscore_test(void) {
5580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5581 (eval $ac_compile) 2>&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); }; then
5585 if grep _underscore_test conftest
* >/dev
/null
; then
5587 libc_cv_asm_underscores
=yes
5590 libc_cv_asm_underscores
=no
5593 echo "configure: failed program was:" >&5
5594 cat conftest.
$ac_ext >&5
5596 libc_cv_asm_underscores
=no
5600 echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
5601 echo "${ECHO_T}$libc_cv_asm_underscores" >&6
5604 if test $libc_cv_asm_underscores = no
; then
5605 cat >>confdefs.h
<<\_ACEOF
5606 #define NO_UNDERSCORES 1
5611 if test $elf = yes; then
5612 libc_cv_weak_symbols
=yes
5615 echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
5616 echo $ECHO_N "checking for assembler .weak directive... $ECHO_C" >&6
5617 if test "${libc_cv_asm_weak_directive+set}" = set; then
5618 echo $ECHO_N "(cached) $ECHO_C" >&6
5620 cat > conftest.s
<<EOF
5622 ${libc_cv_asm_global_directive} foo
5625 .weak bar; bar = foo
5627 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); }; }; then
5633 libc_cv_asm_weak_directive
=yes
5635 libc_cv_asm_weak_directive
=no
5639 echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
5640 echo "${ECHO_T}$libc_cv_asm_weak_directive" >&6
5642 if test $libc_cv_asm_weak_directive = no
; then
5643 echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
5644 echo $ECHO_N "checking for assembler .weakext directive... $ECHO_C" >&6
5645 if test "${libc_cv_asm_weakext_directive+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 cat > conftest.s
<<EOF
5650 ${libc_cv_asm_global_directive} foo
5654 ${libc_cv_asm_global_directive} baz
5657 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); }; }; then
5663 libc_cv_asm_weakext_directive
=yes
5665 libc_cv_asm_weakext_directive
=no
5669 echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
5670 echo "${ECHO_T}$libc_cv_asm_weakext_directive" >&6
5674 if test $libc_cv_asm_weak_directive = yes; then
5675 cat >>confdefs.h
<<\_ACEOF
5676 #define HAVE_ASM_WEAK_DIRECTIVE 1
5679 elif test $libc_cv_asm_weakext_directive = yes; then
5680 cat >>confdefs.h
<<\_ACEOF
5681 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
5686 case "${host_cpu}-${host_os}" in
5688 libc_cv_asm_line_sep
='@'
5689 cat >>confdefs.h
<<_ACEOF
5690 #define ASM_LINE_SEP $libc_cv_asm_line_sep
5695 echo "$as_me:$LINENO: checking for assembler line separator" >&5
5696 echo $ECHO_N "checking for assembler line separator... $ECHO_C" >&6
5697 if test "${libc_cv_asm_line_sep+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5700 cat > conftest.s
<<EOF
5703 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; }; then
5709 libc_cv_asm_line_sep
='!'
5711 if test -z "$enable_hacker_mode"; then
5712 echo "*** You need a newer assembler to compile glibc"
5716 libc_cv_asm_line_sep
=';'
5720 echo "$as_me:$LINENO: result: $libc_cv_asm_line_sep" >&5
5721 echo "${ECHO_T}$libc_cv_asm_line_sep" >&6
5722 cat >>confdefs.h
<<_ACEOF
5723 #define ASM_LINE_SEP $libc_cv_asm_line_sep
5729 echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
5730 echo $ECHO_N "checking whether CFI directives are supported... $ECHO_C" >&6
5731 if test "${libc_cv_asm_cfi_directives+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 cat > conftest.s
<<EOF
5736 .type func,@function
5742 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5748 libc_cv_asm_cfi_directives
=yes
5750 libc_cv_asm_cfi_directives
=no
5754 echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
5755 echo "${ECHO_T}$libc_cv_asm_cfi_directives" >&6
5756 if test $libc_cv_asm_cfi_directives = yes; then
5757 cat >>confdefs.h
<<\_ACEOF
5758 #define HAVE_ASM_CFI_DIRECTIVES 1
5763 echo "$as_me:$LINENO: checking if -g produces usable source locations for assembler-with-cpp" >&5
5764 echo $ECHO_N "checking if -g produces usable source locations for assembler-with-cpp... $ECHO_C" >&6
5765 if test "${libc_cv_cpp_asm_debuginfo+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 cat > conftest.S
<<EOF
5769 #include "confdefs.h"
5774 ${libc_cv_asm_global_directive} foo
5776 /* Unfortunately this test only works for a real instruction,
5777 not for any of the machine-independent pseudo-ops.
5778 So we just have to assume everybody has a "nop". */
5785 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -g -c conftest.S 1>&5'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; } &&
5791 ac_pattern
='conftest\.S'
5792 { ac_try
='readelf --debug-dump=line conftest.o |
5793 grep $ac_pattern 1>&5'
5794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; }; then
5799 libc_cv_cpp_asm_debuginfo
=yes
5801 libc_cv_cpp_asm_debuginfo
=no
5805 echo "$as_me:$LINENO: result: $libc_cv_cpp_asm_debuginfo" >&5
5806 echo "${ECHO_T}$libc_cv_cpp_asm_debuginfo" >&6
5807 if test $libc_cv_cpp_asm_debuginfo = yes; then
5808 cat >>confdefs.h
<<\_ACEOF
5809 #define HAVE_CPP_ASM_DEBUGINFO 1
5814 echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
5815 echo $ECHO_N "checking for ld --no-whole-archive... $ECHO_C" >&6
5816 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 cat > conftest.c
<<\EOF
5824 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5825 -nostdlib -nostartfiles -Wl,--no-whole-archive
5826 -o conftest conftest.c 1>&5'
5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5832 libc_cv_ld_no_whole_archive
=yes
5834 libc_cv_ld_no_whole_archive
=no
5838 echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
5839 echo "${ECHO_T}$libc_cv_ld_no_whole_archive" >&6
5840 if test $libc_cv_ld_no_whole_archive = yes; then
5841 no_whole_archive
=-Wl,--no-whole-archive
5844 echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
5845 echo $ECHO_N "checking for gcc -fexceptions... $ECHO_C" >&6
5846 if test "${libc_cv_gcc_exceptions+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 cat > conftest.c
<<\EOF
5854 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5855 -nostdlib -nostartfiles -fexceptions
5856 -o conftest conftest.c 1>&5'
5857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); }; }; then
5862 libc_cv_gcc_exceptions
=yes
5864 libc_cv_gcc_exceptions
=no
5868 echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
5869 echo "${ECHO_T}$libc_cv_gcc_exceptions" >&6
5870 if test $libc_cv_gcc_exceptions = yes; then
5871 exceptions
=-fexceptions
5874 if test "$host_cpu" = powerpc
; then
5875 # Check for a bug present in at least versions 2.8.x of GCC
5876 # and versions 1.0.x of EGCS.
5877 echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
5878 echo $ECHO_N "checking whether clobbering cr0 causes problems... $ECHO_C" >&6
5879 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 cat >conftest.
$ac_ext <<_ACEOF
5883 #line $LINENO "configure"
5886 cat confdefs.h
>>conftest.
$ac_ext
5887 cat >>conftest.
$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5889 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
5898 rm -f conftest.
$ac_objext
5899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5900 (eval $ac_compile) 2>&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } &&
5904 { ac_try
='test -s conftest.$ac_objext'
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; }; then
5910 libc_cv_c_asmcr0_bug
='no'
5912 echo "$as_me: failed program was:" >&5
5913 sed 's/^/| /' conftest.
$ac_ext >&5
5915 libc_cv_c_asmcr0_bug
='yes'
5917 rm -f conftest.
$ac_objext conftest.
$ac_ext
5919 echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
5920 echo "${ECHO_T}$libc_cv_c_asmcr0_bug" >&6
5921 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
5922 cat >>confdefs.h
<<\_ACEOF
5923 #define BROKEN_PPC_ASM_CR0 1
5929 echo "$as_me:$LINENO: checking for DWARF2 unwind info support" >&5
5930 echo $ECHO_N "checking for DWARF2 unwind info support... $ECHO_C" >&6
5931 if test "${libc_cv_gcc_dwarf2_unwind_info+set}" = set; then
5932 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 cat > conftest.c
<<EOF
5935 #line $LINENO "configure"
5936 static char *__EH_FRAME_BEGIN__;
5939 #ifdef CHECK__register_frame
5940 __register_frame (__EH_FRAME_BEGIN__);
5941 __deregister_frame (__EH_FRAME_BEGIN__);
5943 #ifdef CHECK__register_frame_info
5944 __register_frame_info (__EH_FRAME_BEGIN__);
5945 __deregister_frame_info (__EH_FRAME_BEGIN__);
5950 /* FIXME: this is fragile. */
5959 dl_iterate_phdr () {}
5961 libc_unwind_check
="${CC-cc} $CFLAGS $CPPFLAGS -DCHECK__register_frame_info \
5963 -nostdlib -nostartfiles -o conftest conftest.c \
5965 # Some platforms' specs put -lgcc first. The second one doesn't hurt.
5966 if { ac_try
='$libc_unwind_check >&5'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; } ||
5972 { ac_try
='$libc_unwind_check -lgcc_eh -lgcc >&5'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }
5979 if $libc_unwind_check -v 2>&1 >/dev
/null \
5980 |
grep -q -- --eh-frame-hdr; then
5981 libc_cv_gcc_dwarf2_unwind_info
=no_registry_needed
5983 libc_cv_gcc_dwarf2_unwind_info
=static
5986 libc_cv_gcc_dwarf2_unwind_info
=no
5988 if test $libc_cv_gcc_dwarf2_unwind_info = no
; then
5989 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -DCHECK__register_frame
5990 $LDFLAGS -nostdlib -nostartfiles
5991 -o conftest conftest.c -lgcc >&5'
5992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); }; }; then
5997 libc_cv_gcc_dwarf2_unwind_info
=yes
5999 libc_cv_gcc_dwarf2_unwind_info
=no
6004 echo "$as_me:$LINENO: result: $libc_cv_gcc_dwarf2_unwind_info" >&5
6005 echo "${ECHO_T}$libc_cv_gcc_dwarf2_unwind_info" >&6
6006 case $libc_cv_gcc_dwarf2_unwind_info in
6008 cat >>confdefs.h
<<\_ACEOF
6009 #define HAVE_DWARF2_UNWIND_INFO 1
6014 cat >>confdefs.h
<<\_ACEOF
6015 #define HAVE_DWARF2_UNWIND_INFO 1
6018 cat >>confdefs.h
<<\_ACEOF
6019 #define HAVE_DWARF2_UNWIND_INFO_STATIC 1
6025 echo "$as_me:$LINENO: checking for __builtin_expect" >&5
6026 echo $ECHO_N "checking for __builtin_expect... $ECHO_C" >&6
6027 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
6028 echo $ECHO_N "(cached) $ECHO_C" >&6
6030 cat > conftest.c
<<EOF
6031 #line $LINENO "configure"
6034 a = __builtin_expect (a, 10);
6035 return a == 10 ? 0 : 1;
6038 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
6039 -o conftest conftest.c -lgcc >&5'
6040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); }; }; then
6045 libc_cv_gcc_builtin_expect
=yes
6047 libc_cv_gcc_builtin_expect
=no
6051 echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
6052 echo "${ECHO_T}$libc_cv_gcc_builtin_expect" >&6
6053 if test "$libc_cv_gcc_builtin_expect" = yes; then
6054 cat >>confdefs.h
<<\_ACEOF
6055 #define HAVE_BUILTIN_EXPECT 1
6060 echo "$as_me:$LINENO: checking for __builtin_memset" >&5
6061 echo $ECHO_N "checking for __builtin_memset... $ECHO_C" >&6
6062 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
6063 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 cat > conftest.c
<<\EOF
6068 __builtin_memset
(x
, 0, 1000);
6071 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); }; };
6078 libc_cv_gcc_builtin_memset
=no
6080 libc_cv_gcc_builtin_memset
=yes
6084 echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
6085 echo "${ECHO_T}$libc_cv_gcc_builtin_memset" >&6
6086 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6087 cat >>confdefs.h
<<\_ACEOF
6088 #define HAVE_BUILTIN_MEMSET 1
6093 echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
6094 echo $ECHO_N "checking for redirection of built-in functions... $ECHO_C" >&6
6095 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 cat > conftest.c
<<\EOF
6099 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
6100 char
*foo
(const char
*a
, const char
*b
)
6102 return __builtin_strstr
(a
, b
);
6105 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
6106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); }; };
6112 libc_cv_gcc_builtin_redirection
=yes
6114 libc_cv_gcc_builtin_redirection
=no
6118 echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
6119 echo "${ECHO_T}$libc_cv_gcc_builtin_redirection" >&6
6120 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
6121 cat >>confdefs.h
<<\_ACEOF
6122 #define HAVE_BUILTIN_REDIRECTION 1
6127 echo "$as_me:$LINENO: checking for local label subtraction" >&5
6128 echo $ECHO_N "checking for local label subtraction... $ECHO_C" >&6
6129 if test "${libc_cv_gcc_subtract_local_labels+set}" = set; then
6130 echo $ECHO_N "(cached) $ECHO_C" >&6
6132 cat > conftest.c
<<EOF
6133 #line $LINENO "configure"
6136 static const int ar[] = { &&l1 - &&l1, &&l2 - &&l1 };
6137 void *p = &&l1 + ar[a];
6145 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
6146 -o conftest conftest.c -lgcc >&5'
6147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); }; }; then
6152 libc_cv_gcc_subtract_local_labels
=yes
6154 libc_cv_gcc_subtract_local_labels
=no
6158 echo "$as_me:$LINENO: result: $libc_cv_gcc_subtract_local_labels" >&5
6159 echo "${ECHO_T}$libc_cv_gcc_subtract_local_labels" >&6
6160 if test "$libc_cv_gcc_subtract_local_labels" = yes; then
6161 cat >>confdefs.h
<<\_ACEOF
6162 #define HAVE_SUBTRACT_LOCAL_LABELS 1
6167 if test "x$use__thread" != xno
; then
6168 echo "$as_me:$LINENO: checking for __thread" >&5
6169 echo $ECHO_N "checking for __thread... $ECHO_C" >&6
6170 if test "${libc_cv_gcc___thread+set}" = set; then
6171 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 cat > conftest.c
<<\EOF
6174 __thread int a
= 42;
6176 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; }; then
6182 libc_cv_gcc___thread
=yes
6184 libc_cv_gcc___thread
=no
6188 echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
6189 echo "${ECHO_T}$libc_cv_gcc___thread" >&6
6190 if test "$libc_cv_gcc___thread" = yes; then
6191 cat >>confdefs.h
<<\_ACEOF
6192 #define HAVE___THREAD 1
6197 libc_cv_gcc___thread
=no
6200 if test "$libc_cv_gcc___thread" = yes; then
6201 echo "$as_me:$LINENO: checking for tls_model attribute" >&5
6202 echo $ECHO_N "checking for tls_model attribute... $ECHO_C" >&6
6203 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6206 cat > conftest.c
<<\EOF
6207 extern __thread int a __attribute__
((tls_model
("initial-exec")));
6209 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; }; then
6215 libc_cv_gcc_tls_model_attr
=yes
6217 libc_cv_gcc_tls_model_attr
=no
6221 echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
6222 echo "${ECHO_T}$libc_cv_gcc_tls_model_attr" >&6
6223 if test "$libc_cv_gcc_tls_model_attr" = yes; then
6224 cat >>confdefs.h
<<\_ACEOF
6225 #define HAVE_TLS_MODEL_ATTRIBUTE 1
6231 echo "$as_me:$LINENO: checking for libgd" >&5
6232 echo $ECHO_N "checking for libgd... $ECHO_C" >&6
6233 if test "$with_gd" != "no"; then
6234 old_CFLAGS
="$CFLAGS"
6235 CFLAGS
="$CFLAGS $libgd_include"
6236 old_LDFLAGS
="$LDFLAGS"
6237 LDFLAGS
="$LDFLAGS $libgd_ldflags"
6239 LIBS
="$LIBS -lgd -lpng -lz -lm"
6240 cat >conftest.
$ac_ext <<_ACEOF
6241 #line $LINENO "configure"
6244 cat confdefs.h
>>conftest.
$ac_ext
6245 cat >>conftest.
$ac_ext <<_ACEOF
6246 /* end confdefs.h. */
6256 rm -f conftest.
$ac_objext conftest
$ac_exeext
6257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6258 (eval $ac_link) 2>&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } &&
6262 { ac_try
='test -s conftest$ac_exeext'
6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; }; then
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6275 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6276 CFLAGS
="$old_CFLAGS"
6277 LDFLAGS
="$old_LDFLAGS"
6282 echo "$as_me:$LINENO: result: $LIBGD" >&5
6283 echo "${ECHO_T}$LIBGD" >&6
6287 echo "$as_me:$LINENO: checking for egrep" >&5
6288 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6289 if test "${ac_cv_prog_egrep+set}" = set; then
6290 echo $ECHO_N "(cached) $ECHO_C" >&6
6292 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6293 then ac_cv_prog_egrep
='grep -E'
6294 else ac_cv_prog_egrep
='egrep'
6297 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6298 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6299 EGREP
=$ac_cv_prog_egrep
6302 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6303 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6304 if test "${ac_cv_header_stdc+set}" = set; then
6305 echo $ECHO_N "(cached) $ECHO_C" >&6
6307 cat >conftest.
$ac_ext <<_ACEOF
6308 #line $LINENO "configure"
6311 cat confdefs.h
>>conftest.
$ac_ext
6312 cat >>conftest.
$ac_ext <<_ACEOF
6313 /* end confdefs.h. */
6327 rm -f conftest.
$ac_objext
6328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6329 (eval $ac_compile) 2>&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try
='test -s conftest.$ac_objext'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6339 ac_cv_header_stdc
=yes
6341 echo "$as_me: failed program was:" >&5
6342 sed 's/^/| /' conftest.
$ac_ext >&5
6344 ac_cv_header_stdc
=no
6346 rm -f conftest.
$ac_objext conftest.
$ac_ext
6348 if test $ac_cv_header_stdc = yes; then
6349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6350 cat >conftest.
$ac_ext <<_ACEOF
6351 #line $LINENO "configure"
6354 cat confdefs.h
>>conftest.
$ac_ext
6355 cat >>conftest.
$ac_ext <<_ACEOF
6356 /* end confdefs.h. */
6360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6361 $EGREP "memchr" >/dev
/null
2>&1; then
6364 ac_cv_header_stdc
=no
6370 if test $ac_cv_header_stdc = yes; then
6371 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6372 cat >conftest.
$ac_ext <<_ACEOF
6373 #line $LINENO "configure"
6376 cat confdefs.h
>>conftest.
$ac_ext
6377 cat >>conftest.
$ac_ext <<_ACEOF
6378 /* end confdefs.h. */
6382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6383 $EGREP "free" >/dev
/null
2>&1; then
6386 ac_cv_header_stdc
=no
6392 if test $ac_cv_header_stdc = yes; then
6393 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6394 if test "$cross_compiling" = yes; then
6397 cat >conftest.
$ac_ext <<_ACEOF
6398 #line $LINENO "configure"
6401 cat confdefs.h
>>conftest.
$ac_ext
6402 cat >>conftest.
$ac_ext <<_ACEOF
6403 /* end confdefs.h. */
6405 #if ((' ' & 0x0FF) == 0x020)
6406 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6407 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6409 # define ISLOWER(c) \
6410 (('a' <= (c) && (c) <= 'i') \
6411 || ('j' <= (c) && (c) <= 'r') \
6412 || ('s' <= (c) && (c) <= 'z'))
6413 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6421 for (i = 0; i < 256; i++)
6422 if (XOR (islower (i), ISLOWER (i))
6423 || toupper (i) != TOUPPER (i))
6428 rm -f conftest
$ac_exeext
6429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6430 (eval $ac_link) 2>&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; }; then
6441 echo "$as_me: program exited with status $ac_status" >&5
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.
$ac_ext >&5
6446 ac_cv_header_stdc
=no
6448 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6452 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6453 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6454 if test $ac_cv_header_stdc = yes; then
6456 cat >>confdefs.h
<<\_ACEOF
6457 #define STDC_HEADERS 1
6462 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6472 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6473 inttypes.h stdint.h unistd.h
6475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6476 echo "$as_me:$LINENO: checking for $ac_header" >&5
6477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6481 cat >conftest.
$ac_ext <<_ACEOF
6482 #line $LINENO "configure"
6485 cat confdefs.h
>>conftest.
$ac_ext
6486 cat >>conftest.
$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6488 $ac_includes_default
6490 #include <$ac_header>
6492 rm -f conftest.
$ac_objext
6493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6494 (eval $ac_compile) 2>&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); } &&
6498 { ac_try
='test -s conftest.$ac_objext'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; }; then
6504 eval "$as_ac_Header=yes"
6506 echo "$as_me: failed program was:" >&5
6507 sed 's/^/| /' conftest.
$ac_ext >&5
6509 eval "$as_ac_Header=no"
6511 rm -f conftest.
$ac_objext conftest.
$ac_ext
6513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6516 cat >>confdefs.h
<<_ACEOF
6517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6525 echo "$as_me:$LINENO: checking for long double" >&5
6526 echo $ECHO_N "checking for long double... $ECHO_C" >&6
6527 if test "${ac_cv_type_long_double+set}" = set; then
6528 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 cat >conftest.
$ac_ext <<_ACEOF
6531 #line $LINENO "configure"
6534 cat confdefs.h
>>conftest.
$ac_ext
6535 cat >>conftest.
$ac_ext <<_ACEOF
6536 /* end confdefs.h. */
6537 $ac_includes_default
6541 if ((long double *) 0)
6543 if (sizeof (long double))
6549 rm -f conftest.
$ac_objext
6550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6551 (eval $ac_compile) 2>&5
6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554 (exit $ac_status); } &&
6555 { ac_try
='test -s conftest.$ac_objext'
6556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); }; }; then
6561 ac_cv_type_long_double
=yes
6563 echo "$as_me: failed program was:" >&5
6564 sed 's/^/| /' conftest.
$ac_ext >&5
6566 ac_cv_type_long_double
=no
6568 rm -f conftest.
$ac_objext conftest.
$ac_ext
6570 echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
6571 echo "${ECHO_T}$ac_cv_type_long_double" >&6
6573 echo "$as_me:$LINENO: checking size of long double" >&5
6574 echo $ECHO_N "checking size of long double... $ECHO_C" >&6
6575 if test "${ac_cv_sizeof_long_double+set}" = set; then
6576 echo $ECHO_N "(cached) $ECHO_C" >&6
6578 if test "$ac_cv_type_long_double" = yes; then
6579 # The cast to unsigned long works around a bug in the HP C Compiler
6580 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6581 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6582 # This bug is HP SR number 8606223364.
6583 if test "$cross_compiling" = yes; then
6584 # Depending upon the size, compute the lo and hi bounds.
6585 cat >conftest.
$ac_ext <<_ACEOF
6586 #line $LINENO "configure"
6589 cat confdefs.h
>>conftest.
$ac_ext
6590 cat >>conftest.
$ac_ext <<_ACEOF
6591 /* end confdefs.h. */
6592 $ac_includes_default
6596 static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= 0)];
6603 rm -f conftest.
$ac_objext
6604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6605 (eval $ac_compile) 2>&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); } &&
6609 { ac_try
='test -s conftest.$ac_objext'
6610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); }; }; then
6617 cat >conftest.
$ac_ext <<_ACEOF
6618 #line $LINENO "configure"
6621 cat confdefs.h
>>conftest.
$ac_ext
6622 cat >>conftest.
$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624 $ac_includes_default
6628 static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
6635 rm -f conftest.
$ac_objext
6636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6637 (eval $ac_compile) 2>&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); } &&
6641 { ac_try
='test -s conftest.$ac_objext'
6642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); }; }; then
6647 ac_hi
=$ac_mid; break
6649 echo "$as_me: failed program was:" >&5
6650 sed 's/^/| /' conftest.
$ac_ext >&5
6652 ac_lo
=`expr $ac_mid + 1`
6653 if test $ac_lo -le $ac_mid; then
6657 ac_mid
=`expr 2 '*' $ac_mid + 1`
6659 rm -f conftest.
$ac_objext conftest.
$ac_ext
6662 echo "$as_me: failed program was:" >&5
6663 sed 's/^/| /' conftest.
$ac_ext >&5
6665 cat >conftest.
$ac_ext <<_ACEOF
6666 #line $LINENO "configure"
6669 cat confdefs.h
>>conftest.
$ac_ext
6670 cat >>conftest.
$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 $ac_includes_default
6676 static int test_array [1 - 2 * !(((long) (sizeof (long double))) < 0)];
6683 rm -f conftest.
$ac_objext
6684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6685 (eval $ac_compile) 2>&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); } &&
6689 { ac_try
='test -s conftest.$ac_objext'
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; }; then
6697 cat >conftest.
$ac_ext <<_ACEOF
6698 #line $LINENO "configure"
6701 cat confdefs.h
>>conftest.
$ac_ext
6702 cat >>conftest.
$ac_ext <<_ACEOF
6703 /* end confdefs.h. */
6704 $ac_includes_default
6708 static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= $ac_mid)];
6715 rm -f conftest.
$ac_objext
6716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6717 (eval $ac_compile) 2>&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); } &&
6721 { ac_try
='test -s conftest.$ac_objext'
6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); }; }; then
6727 ac_lo
=$ac_mid; break
6729 echo "$as_me: failed program was:" >&5
6730 sed 's/^/| /' conftest.
$ac_ext >&5
6732 ac_hi
=`expr '(' $ac_mid ')' - 1`
6733 if test $ac_mid -le $ac_hi; then
6737 ac_mid
=`expr 2 '*' $ac_mid`
6739 rm -f conftest.
$ac_objext conftest.
$ac_ext
6742 echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.
$ac_ext >&5
6747 rm -f conftest.
$ac_objext conftest.
$ac_ext
6749 rm -f conftest.
$ac_objext conftest.
$ac_ext
6750 # Binary search between lo and hi bounds.
6751 while test "x$ac_lo" != "x$ac_hi"; do
6752 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6753 cat >conftest.
$ac_ext <<_ACEOF
6754 #line $LINENO "configure"
6757 cat confdefs.h
>>conftest.
$ac_ext
6758 cat >>conftest.
$ac_ext <<_ACEOF
6759 /* end confdefs.h. */
6760 $ac_includes_default
6764 static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
6771 rm -f conftest.
$ac_objext
6772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6773 (eval $ac_compile) 2>&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } &&
6777 { ac_try
='test -s conftest.$ac_objext'
6778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); }; }; then
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.
$ac_ext >&5
6788 ac_lo
=`expr '(' $ac_mid ')' + 1`
6790 rm -f conftest.
$ac_objext conftest.
$ac_ext
6793 ?
*) ac_cv_sizeof_long_double
=$ac_lo;;
6794 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
6795 See \`config.log' for more details." >&5
6796 echo "$as_me: error: cannot compute sizeof (long double), 77
6797 See \`config.log' for more details." >&2;}
6798 { (exit 1); exit 1; }; } ;;
6801 if test "$cross_compiling" = yes; then
6802 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6803 See \`config.log' for more details." >&5
6804 echo "$as_me: error: cannot run test program while cross compiling
6805 See \`config.log' for more details." >&2;}
6806 { (exit 1); exit 1; }; }
6808 cat >conftest.
$ac_ext <<_ACEOF
6809 #line $LINENO "configure"
6812 cat confdefs.h
>>conftest.
$ac_ext
6813 cat >>conftest.
$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6815 $ac_includes_default
6816 long longval () { return (long) (sizeof (long double)); }
6817 unsigned long ulongval () { return (long) (sizeof (long double)); }
6824 FILE *f = fopen ("conftest.val", "w");
6827 if (((long) (sizeof (long double))) < 0)
6829 long i = longval ();
6830 if (i != ((long) (sizeof (long double))))
6832 fprintf (f, "%ld\n", i);
6836 unsigned long i = ulongval ();
6837 if (i != ((long) (sizeof (long double))))
6839 fprintf (f, "%lu\n", i);
6841 exit (ferror (f) || fclose (f) != 0);
6847 rm -f conftest
$ac_exeext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6849 (eval $ac_link) 2>&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); }; }; then
6858 ac_cv_sizeof_long_double
=`cat conftest.val`
6860 echo "$as_me: program exited with status $ac_status" >&5
6861 echo "$as_me: failed program was:" >&5
6862 sed 's/^/| /' conftest.
$ac_ext >&5
6865 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
6866 See \`config.log' for more details." >&5
6867 echo "$as_me: error: cannot compute sizeof (long double), 77
6868 See \`config.log' for more details." >&2;}
6869 { (exit 1); exit 1; }; }
6871 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6876 ac_cv_sizeof_long_double
=0
6879 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
6880 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6
6881 cat >>confdefs.h
<<_ACEOF
6882 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
6886 sizeof_long_double
=$ac_cv_sizeof_long_double
6889 ### End of automated tests.
6890 ### Now run sysdeps configure fragments.
6892 # They also can set these variables.
6894 ldd_rewrite_script
=no
6895 libc_cv_sysconfdir
=$sysconfdir
6896 libc_cv_gcc_unwind_find_fde
=no
6898 # Iterate over all the sysdep directories we will use, running their
6899 # configure fragments, and looking for a uname implementation.
6901 for dir
in $sysnames; do
6904 *) dest
=$srcdir/$dir ;;
6906 if test -r $dest/configure
; then
6907 echo "$as_me:$LINENO: result: running configure fragment for $dir" >&5
6908 echo "${ECHO_T}running configure fragment for $dir" >&6
6912 if test -z "$uname"; then
6913 if test -r $dest/uname.c ||
6914 test -r $dest/uname.S ||
6915 { test -r $dest/syscalls.list
&&
6916 grep '^uname[ ]' $dest/syscalls.list
>/dev
/null
; }; then
6922 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
6923 cat >>confdefs.h
<<\_ACEOF
6924 #define EXPORT_UNWIND_FIND_FDE 1
6930 # If we will use the generic uname implementation, we must figure out what
6931 # it will say by examining the system, and write the results in config-name.h.
6932 if test "$uname" = "sysdeps/generic"; then
6934 uname_sysname
=`echo $config_os | sed 's/[0-9.]*$//'`
6935 if test $uname_sysname != $config_os; then
6936 config_release
=`echo $config_os | sed s/$uname_sysname//`
6939 echo "$as_me:$LINENO: checking OS release for uname" >&5
6940 echo $ECHO_N "checking OS release for uname... $ECHO_C" >&6
6941 if test "${libc_cv_uname_release+set}" = set; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 if test -r /vmunix
; then
6945 kernel_id
=`strings /vmunix | grep UNIX`
6946 elif test -r /dynix
; then
6947 kernel_id
=`strings /dynix | grep DYNIX`
6952 kernel_release
=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
6953 if test x
`echo "$config_release" | sed "s/^$kernel_release//"` \
6954 != x
$config_release; then
6955 # The configuration release is a substring of the kernel release.
6956 libc_cv_uname_release
=$kernel_release
6957 elif test x
$config_release != x
; then
6958 libc_cv_uname_release
=$config_release
6959 elif test x
$kernel_release != x
; then
6960 libc_cv_uname_release
=$kernel_release
6962 libc_cv_uname_release
=unknown
6965 echo "$as_me:$LINENO: result: $libc_cv_uname_release" >&5
6966 echo "${ECHO_T}$libc_cv_uname_release" >&6
6967 uname_release
="$libc_cv_uname_release"
6969 echo "$as_me:$LINENO: checking OS version for uname" >&5
6970 echo $ECHO_N "checking OS version for uname... $ECHO_C" >&6
6971 if test "${libc_cv_uname_version+set}" = set; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 if test -r /vmunix
; then
6975 kernel_id
=`strings /vmunix | grep UNIX`
6976 elif test -r /dynix
; then
6977 kernel_id
=`strings /dynix | grep DYNIX`
6982 kernel_version
=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
6983 if test -n "$kernel_version"; then
6984 libc_cv_uname_version
="$kernel_version"
6986 libc_cv_uname_version
=unknown
6989 echo "$as_me:$LINENO: result: $libc_cv_uname_version" >&5
6990 echo "${ECHO_T}$libc_cv_uname_version" >&6
6991 uname_version
="$libc_cv_uname_version"
6993 config_uname
=config-name.h
:config-name.
in
6995 # For non-generic uname, we don't need to create config-name.h at all.
6999 cat >>confdefs.h
<<\_ACEOF
7000 #define USE_IN_LIBIO 1
7004 # Test for old glibc 2.0.x headers so that they can be removed properly
7005 # Search only in includedir.
7006 echo "$as_me:$LINENO: checking for old glibc 2.0.x headers" >&5
7007 echo $ECHO_N "checking for old glibc 2.0.x headers... $ECHO_C" >&6
7008 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7010 old_glibc_headers
=yes
7012 old_glibc_headers
=no
7014 echo "$as_me:$LINENO: result: $old_glibc_headers" >&5
7015 echo "${ECHO_T}$old_glibc_headers" >&6
7016 if test ${old_glibc_headers} = yes; then
7017 { echo "$as_me:$LINENO: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7018 echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7019 { echo "$as_me:$LINENO: WARNING: *** be removed." >&5
7020 echo "$as_me: WARNING: *** be removed." >&2;}
7034 if test $gnu_ld = yes; then
7035 cat >>confdefs.h
<<\_ACEOF
7036 #define HAVE_GNU_LD 1
7040 if test $gnu_as = yes; then
7041 cat >>confdefs.h
<<\_ACEOF
7042 #define HAVE_GNU_AS 1
7046 if test $elf = yes; then
7047 cat >>confdefs.h
<<\_ACEOF
7052 if test $xcoff = yes; then
7053 cat >>confdefs.h
<<\_ACEOF
7054 #define HAVE_XCOFF 1
7061 if test $shared = default
; then
7062 if test $gnu_ld = yes; then
7065 # For now we do not assume shared libs are available. In future more
7066 # tests might become available.
7071 echo "$as_me:$LINENO: checking whether -fPIC is default" >&5
7072 echo $ECHO_N "checking whether -fPIC is default... $ECHO_C" >&6
7073 if test "${pic_default+set}" = set; then
7074 echo $ECHO_N "(cached) $ECHO_C" >&6
7077 cat > conftest.c
<<EOF
7078 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7079 # error PIC is default.
7082 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7087 echo "$as_me:$LINENO: result: $pic_default" >&5
7088 echo "${ECHO_T}$pic_default" >&6
7100 *door
*) linux_doors
=yes ;;
7101 *) linux_doors
=no
;;
7107 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
7110 config_makefile
=Makefile
7113 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7114 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7118 ac_config_files
="$ac_config_files config.make glibcbug ${config_makefile} ${config_uname}"
7120 ac_config_commands
="$ac_config_commands default"
7122 cat >confcache
<<\_ACEOF
7123 # This file is a shell script that caches the results of configure
7124 # tests run on this system so they can be shared between configure
7125 # scripts and configure runs, see configure's option --config-cache.
7126 # It is not useful on other systems. If it contains results you don't
7127 # want to keep, you may remove or edit it.
7129 # config.status only pays attention to the cache file if you give it
7130 # the --recheck option to rerun configure.
7132 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7133 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7138 # The following way of writing the cache mishandles newlines in values,
7139 # but we know of no workaround that is simple, portable, and efficient.
7140 # So, don't put newlines in cache variables' values.
7141 # Ultrix sh set writes to stderr and can't be redirected directly,
7142 # and sets the high bit in the cache file unless we assign to the vars.
7145 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7147 # `set' does not quote correctly, so add quotes (double-quote
7148 # substitution turns \\\\ into \\, and sed turns \\ into \).
7151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7154 # `set' quotes correctly as required by POSIX, so do not add quotes.
7156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7163 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7165 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7167 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7168 if test -w $cache_file; then
7169 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7170 cat confcache
>$cache_file
7172 echo "not updating unwritable cache $cache_file"
7177 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7178 # Let make expand exec_prefix.
7179 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7181 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7182 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7183 # trailing colons and then remove the whole line if VPATH becomes empty
7184 # (actually we leave an empty line to preserve line numbers).
7185 if test "x$srcdir" = x.
; then
7186 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7187 s/:*\$(srcdir):*/:/;
7188 s/:*\${srcdir}:*/:/;
7190 s/^\([^=]*=[ ]*\):*/\1/;
7196 DEFS
=-DHAVE_CONFIG_H
7200 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7201 # 1. Remove the extension, and $U if already installed.
7202 ac_i
=`echo "$ac_i" |
7203 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7205 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7206 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7210 LTLIBOBJS
=$ac_ltlibobjs
7214 : ${CONFIG_STATUS=./config.status}
7215 ac_clean_files_save
=$ac_clean_files
7216 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7217 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7218 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7219 cat >$CONFIG_STATUS <<_ACEOF
7221 # Generated by $as_me.
7222 # Run this file to recreate the current configuration.
7223 # Compiler output produced by configure, useful for debugging
7224 # configure, is in config.log if it exists.
7229 SHELL=\${CONFIG_SHELL-$SHELL}
7232 cat >>$CONFIG_STATUS <<\_ACEOF
7233 ## --------------------- ##
7234 ## M4sh Initialization. ##
7235 ## --------------------- ##
7237 # Be Bourne compatible
7238 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7242 # is contrary to our usage. Disable this feature.
7243 alias -g '${1+"$@"}'='"$@"'
7244 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7248 # Support unset when possible.
7249 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
7256 # Work around bugs in pre-3.0 UWIN ksh.
7257 $as_unset ENV MAIL MAILPATH
7264 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7265 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7266 LC_TELEPHONE LC_TIME
7268 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
7269 eval $as_var=C
; export $as_var
7275 # Required to use basename.
7276 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7282 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7283 as_basename
=basename
7289 # Name of the executable.
7290 as_me
=`$as_basename "$0" ||
7291 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7292 X"$0" : 'X\(//\)$' \| \
7293 X"$0" : 'X\(/\)$' \| \
7294 . : '\(.\)' 2>/dev/null ||
7296 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7297 /^X\/\(\/\/\)$/{ s//\1/; q; }
7298 /^X\/\(\/\).*/{ s//\1/; q; }
7302 # PATH needs CR, and LINENO needs CR and PATH.
7303 # Avoid depending upon Character Ranges.
7304 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7305 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7306 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7307 as_cr_digits
='0123456789'
7308 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7310 # The user is always right.
7311 if test "${PATH_SEPARATOR+set}" != set; then
7312 echo "#! /bin/sh" >conf$$.sh
7313 echo "exit 0" >>conf$$.sh
7315 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7326 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7327 test "x$as_lineno_1" != "x$as_lineno_2" &&
7328 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7329 # Find who we are. Look in the path if we contain no path at all
7332 *[\\/]* ) as_myself
=$0 ;;
7333 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7337 test -z "$as_dir" && as_dir
=.
7338 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7343 # We did not find ourselves, most probably we were run as `sh COMMAND'
7344 # in which case we are not to be found in the path.
7345 if test "x$as_myself" = x
; then
7348 if test ! -f "$as_myself"; then
7349 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7350 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7351 { (exit 1); exit 1; }; }
7353 case $CONFIG_SHELL in
7355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7356 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7359 test -z "$as_dir" && as_dir
=.
7360 for as_base
in sh bash ksh sh5
; do
7363 if ("$as_dir/$as_base" -c '
7366 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7367 test "x$as_lineno_1" != "x$as_lineno_2" &&
7368 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7369 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7370 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7371 CONFIG_SHELL
=$as_dir/$as_base
7373 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7381 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7382 # uniformly replaced by the line number. The first 'sed' inserts a
7383 # line-number line before each line; the second 'sed' does the real
7384 # work. The second script uses 'N' to pair each line-number line
7385 # with the numbered line, and appends trailing '-' during
7386 # substitution so that $LINENO is not a special case at line end.
7387 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7388 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7389 sed '=' <$as_myself |
7394 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7397 s,^['$as_cr_digits']*\n,,
7399 chmod +x
$as_me.lineno ||
7400 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7401 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7402 { (exit 1); exit 1; }; }
7404 # Don't try to exec as it changes $[0], causing all sort of problems
7405 # (the dirname of $[0] is not the place where we might find the
7406 # original and so on. Autoconf is especially sensible to this).
7408 # Exit status is that of the last command.
7413 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7414 *c
*,-n*) ECHO_N
= ECHO_C
='
7416 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7417 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7420 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7426 rm -f conf$$ conf$$.exe conf$$.
file
7428 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7429 # We could just check for DJGPP; but this test a) works b) is more generic
7430 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7431 if test -f conf$$.exe
; then
7432 # Don't use ln at all; we don't have any links
7437 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7442 rm -f conf$$ conf$$.exe conf$$.
file
7444 if mkdir
-p .
2>/dev
/null
; then
7450 as_executable_p
="test -f"
7452 # Sed expression to map a string onto a valid CPP name.
7453 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7455 # Sed expression to map a string onto a valid variable name.
7456 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7460 # We need space, tab and new line, in precisely that order.
7470 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7471 # report actual input values of CONFIG_FILES etc. instead of their
7472 # values after options handling. Logging --version etc. is OK.
7476 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7477 ## Running $as_me. ##
7482 This file was extended by GNU C Library $as_me (see version.h), which was
7483 generated by GNU Autoconf 2.57. Invocation command line was
7485 CONFIG_FILES = $CONFIG_FILES
7486 CONFIG_HEADERS = $CONFIG_HEADERS
7487 CONFIG_LINKS = $CONFIG_LINKS
7488 CONFIG_COMMANDS = $CONFIG_COMMANDS
7492 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7496 # Files that config.status was made for.
7497 if test -n "$ac_config_files"; then
7498 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7501 if test -n "$ac_config_headers"; then
7502 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7505 if test -n "$ac_config_links"; then
7506 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7509 if test -n "$ac_config_commands"; then
7510 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7513 cat >>$CONFIG_STATUS <<\_ACEOF
7516 \`$as_me' instantiates files from templates according to the
7517 current configuration.
7519 Usage: $0 [OPTIONS] [FILE]...
7521 -h, --help print this help, then exit
7522 -V, --version print version number, then exit
7523 -q, --quiet do not print progress messages
7524 -d, --debug don't remove temporary files
7525 --recheck update $as_me by reconfiguring in the same conditions
7526 --file=FILE[:TEMPLATE]
7527 instantiate the configuration file FILE
7528 --header=FILE[:TEMPLATE]
7529 instantiate the configuration header FILE
7531 Configuration files:
7534 Configuration headers:
7537 Configuration commands:
7540 Report bugs to <bug-autoconf@gnu.org>."
7543 cat >>$CONFIG_STATUS <<_ACEOF
7545 GNU C Library config.status (see version.h)
7546 configured by $0, generated by GNU Autoconf 2.57,
7547 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7549 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7550 Free Software Foundation, Inc.
7551 This config.status script is free software; the Free Software Foundation
7552 gives unlimited permission to copy, distribute and modify it."
7557 cat >>$CONFIG_STATUS <<\_ACEOF
7558 # If no file are specified by the user, then we need to provide default
7559 # value. By we need to know if files were specified by the user.
7565 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7566 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7574 *) # This is not an option, so the user has probably given explicit
7577 ac_need_defaults
=false
;;
7581 # Handling of the options.
7583 cat >>$CONFIG_STATUS <<\_ACEOF
7584 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7586 --version |
--vers* |
-V )
7587 echo "$ac_cs_version"; exit 0 ;;
7589 # Conflict between --help and --header
7590 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7591 Try \`$0 --help' for more information." >&5
7592 echo "$as_me: error: ambiguous option: $1
7593 Try \`$0 --help' for more information." >&2;}
7594 { (exit 1); exit 1; }; };;
7595 --help |
--hel |
-h )
7596 echo "$ac_cs_usage"; exit 0 ;;
7597 --debug |
--d* |
-d )
7599 --file |
--fil |
--fi |
--f )
7601 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7602 ac_need_defaults
=false
;;
7603 --header |
--heade |
--head |
--hea )
7605 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7606 ac_need_defaults
=false
;;
7607 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7608 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7612 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7613 Try \`$0 --help' for more information." >&5
7614 echo "$as_me: error: unrecognized option: $1
7615 Try \`$0 --help' for more information." >&2;}
7616 { (exit 1); exit 1; }; } ;;
7618 *) ac_config_targets
="$ac_config_targets $1" ;;
7624 ac_configure_extra_args
=
7626 if $ac_cs_silent; then
7628 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7632 cat >>$CONFIG_STATUS <<_ACEOF
7633 if \$ac_cs_recheck; then
7634 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7635 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7640 cat >>$CONFIG_STATUS <<_ACEOF
7642 # INIT-COMMANDS section.
7645 config_vars='$config_vars'
7651 cat >>$CONFIG_STATUS <<\_ACEOF
7652 for ac_config_target
in $ac_config_targets
7654 case "$ac_config_target" in
7655 # Handling of arguments.
7656 "config.make" ) CONFIG_FILES
="$CONFIG_FILES config.make" ;;
7657 "glibcbug" ) CONFIG_FILES
="$CONFIG_FILES glibcbug" ;;
7658 "${config_makefile}" ) CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
7659 "${config_uname}" ) CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
7660 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
7661 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7662 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7663 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7664 { (exit 1); exit 1; }; };;
7668 # If the user did not use the arguments to specify the items to instantiate,
7669 # then the envvar interface is used. Set only those that are not.
7670 # We use the long form for the default assignment because of an extremely
7671 # bizarre bug on SunOS 4.1.3.
7672 if $ac_need_defaults; then
7673 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7674 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7675 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7678 # Have a temporary directory for convenience. Make it in the build tree
7679 # simply because there is no reason to put it here, and in addition,
7680 # creating and moving files from /tmp can sometimes cause problems.
7681 # Create a temporary directory, and hook for its removal unless debugging.
7684 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7685 trap '{ (exit 1); exit 1; }' 1 2 13 15
7688 # Create a (secure) tmp directory for tmp files.
7691 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7692 test -n "$tmp" && test -d "$tmp"
7695 tmp
=.
/confstat$$
-$RANDOM
7696 (umask 077 && mkdir
$tmp)
7699 echo "$me: cannot create a temporary directory in ." >&2
7700 { (exit 1); exit 1; }
7705 cat >>$CONFIG_STATUS <<_ACEOF
7708 # CONFIG_FILES section.
7711 # No need to generate the scripts if there are no CONFIG_FILES.
7712 # This happens for instance when ./config.status config.h
7713 if test -n "\$CONFIG_FILES"; then
7714 # Protect against being on the right side of a sed subst in config.status.
7715 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7716 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7717 s,@SHELL@,$SHELL,;t t
7718 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7719 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7720 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7721 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7722 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7723 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7724 s,@exec_prefix@,$exec_prefix,;t t
7725 s,@prefix@,$prefix,;t t
7726 s,@program_transform_name@,$program_transform_name,;t t
7727 s,@bindir@,$bindir,;t t
7728 s,@sbindir@,$sbindir,;t t
7729 s,@libexecdir@,$libexecdir,;t t
7730 s,@datadir@,$datadir,;t t
7731 s,@sysconfdir@,$sysconfdir,;t t
7732 s,@sharedstatedir@,$sharedstatedir,;t t
7733 s,@localstatedir@,$localstatedir,;t t
7734 s,@libdir@,$libdir,;t t
7735 s,@includedir@,$includedir,;t t
7736 s,@oldincludedir@,$oldincludedir,;t t
7737 s,@infodir@,$infodir,;t t
7738 s,@mandir@,$mandir,;t t
7739 s,@build_alias@,$build_alias,;t t
7740 s,@host_alias@,$host_alias,;t t
7741 s,@target_alias@,$target_alias,;t t
7743 s,@ECHO_C@,$ECHO_C,;t t
7744 s,@ECHO_N@,$ECHO_N,;t t
7745 s,@ECHO_T@,$ECHO_T,;t t
7747 s,@with_fp@,$with_fp,;t t
7748 s,@with_cvs@,$with_cvs,;t t
7749 s,@enable_check_abi@,$enable_check_abi,;t t
7750 s,@oldest_abi@,$oldest_abi,;t t
7751 s,@subdirs@,$subdirs,;t t
7752 s,@force_install@,$force_install,;t t
7753 s,@all_warnings@,$all_warnings,;t t
7754 s,@build@,$build,;t t
7755 s,@build_cpu@,$build_cpu,;t t
7756 s,@build_vendor@,$build_vendor,;t t
7757 s,@build_os@,$build_os,;t t
7759 s,@host_cpu@,$host_cpu,;t t
7760 s,@host_vendor@,$host_vendor,;t t
7761 s,@host_os@,$host_os,;t t
7762 s,@base_machine@,$base_machine,;t t
7763 s,@sysnames@,$sysnames,;t t
7764 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7765 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7766 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7769 s,@CFLAGS@,$CFLAGS,;t t
7770 s,@LDFLAGS@,$LDFLAGS,;t t
7771 s,@CPPFLAGS@,$CPPFLAGS,;t t
7772 s,@ac_ct_CC@,$ac_ct_CC,;t t
7773 s,@OBJEXT@,$OBJEXT,;t t
7774 s,@BUILD_CC@,$BUILD_CC,;t t
7775 s,@cross_compiling@,$cross_compiling,;t t
7778 s,@CXXFLAGS@,$CXXFLAGS,;t t
7779 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7781 s,@OBJDUMP@,$OBJDUMP,;t t
7782 s,@RANLIB@,$RANLIB,;t t
7783 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7787 s,@PWD_P@,$PWD_P,;t t
7789 s,@MSGFMT@,$MSGFMT,;t t
7790 s,@MAKEINFO@,$MAKEINFO,;t t
7792 s,@AUTOCONF@,$AUTOCONF,;t t
7793 s,@CCVERSION@,$CCVERSION,;t t
7794 s,@SYSINCLUDES@,$SYSINCLUDES,;t t
7795 s,@libc_cv_gcc_static_libgcc@,$libc_cv_gcc_static_libgcc,;t t
7797 s,@libc_cv_have_bash2@,$libc_cv_have_bash2,;t t
7799 s,@libc_cv_have_ksh@,$libc_cv_have_ksh,;t t
7802 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
7803 s,@OLD_DEBIAN_INSTALL_INFO@,$OLD_DEBIAN_INSTALL_INFO,;t t
7804 s,@BISON@,$BISON,;t t
7805 s,@VERSIONING@,$VERSIONING,;t t
7806 s,@libc_cv_asm_protected_directive@,$libc_cv_asm_protected_directive,;t t
7807 s,@libc_cv_initfinit_array@,$libc_cv_initfinit_array,;t t
7808 s,@libc_cv_z_nodelete@,$libc_cv_z_nodelete,;t t
7809 s,@libc_cv_z_nodlopen@,$libc_cv_z_nodlopen,;t t
7810 s,@libc_cv_z_initfirst@,$libc_cv_z_initfirst,;t t
7811 s,@libc_cv_Bgroup@,$libc_cv_Bgroup,;t t
7812 s,@ASFLAGS_config@,$ASFLAGS_config,;t t
7813 s,@libc_cv_z_combreloc@,$libc_cv_z_combreloc,;t t
7814 s,@libc_cv_have_initfini@,$libc_cv_have_initfini,;t t
7815 s,@libc_cv_cpp_asm_debuginfo@,$libc_cv_cpp_asm_debuginfo,;t t
7816 s,@no_whole_archive@,$no_whole_archive,;t t
7817 s,@exceptions@,$exceptions,;t t
7818 s,@LIBGD@,$LIBGD,;t t
7819 s,@EGREP@,$EGREP,;t t
7820 s,@sizeof_long_double@,$sizeof_long_double,;t t
7821 s,@libc_cv_gcc_unwind_find_fde@,$libc_cv_gcc_unwind_find_fde,;t t
7822 s,@uname_sysname@,$uname_sysname,;t t
7823 s,@uname_release@,$uname_release,;t t
7824 s,@uname_version@,$uname_version,;t t
7825 s,@old_glibc_headers@,$old_glibc_headers,;t t
7826 s,@libc_cv_slibdir@,$libc_cv_slibdir,;t t
7827 s,@libc_cv_localedir@,$libc_cv_localedir,;t t
7828 s,@libc_cv_sysconfdir@,$libc_cv_sysconfdir,;t t
7829 s,@libc_cv_rootsbindir@,$libc_cv_rootsbindir,;t t
7830 s,@libc_cv_forced_unwind@,$libc_cv_forced_unwind,;t t
7831 s,@use_ldconfig@,$use_ldconfig,;t t
7832 s,@ldd_rewrite_script@,$ldd_rewrite_script,;t t
7833 s,@gnu_ld@,$gnu_ld,;t t
7834 s,@gnu_as@,$gnu_as,;t t
7836 s,@xcoff@,$xcoff,;t t
7837 s,@static@,$static,;t t
7838 s,@shared@,$shared,;t t
7839 s,@pic_default@,$pic_default,;t t
7840 s,@profile@,$profile,;t t
7841 s,@omitfp@,$omitfp,;t t
7842 s,@bounded@,$bounded,;t t
7843 s,@static_nss@,$static_nss,;t t
7844 s,@nopic_initfini@,$nopic_initfini,;t t
7845 s,@DEFINES@,$DEFINES,;t t
7846 s,@linux_doors@,$linux_doors,;t t
7847 s,@mach_interface_list@,$mach_interface_list,;t t
7848 s,@VERSION@,$VERSION,;t t
7849 s,@RELEASE@,$RELEASE,;t t
7850 s,@LIBOBJS@,$LIBOBJS,;t t
7851 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7856 cat >>$CONFIG_STATUS <<\_ACEOF
7857 # Split the substitutions into bite-sized pieces for seds with
7858 # small command number limits, like on Digital OSF/1 and HP-UX.
7860 ac_sed_frag
=1 # Number of current file.
7861 ac_beg
=1 # First line for current file.
7862 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7865 while $ac_more_lines; do
7866 if test $ac_beg -gt 1; then
7867 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7869 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7871 if test ! -s $tmp/subs.frag
; then
7874 # The purpose of the label and of the branching condition is to
7875 # speed up the sed processing (if there are no `@' at all, there
7876 # is no need to browse any of the substitutions).
7877 # These are the two extra sed commands mentioned above.
7879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7880 if test -z "$ac_sed_cmds"; then
7881 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7883 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7885 ac_sed_frag
=`expr $ac_sed_frag + 1`
7887 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7890 if test -z "$ac_sed_cmds"; then
7893 fi # test -n "$CONFIG_FILES"
7896 cat >>$CONFIG_STATUS <<\_ACEOF
7897 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7898 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7900 - |
*:- |
*:-:* ) # input from stdin
7902 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7903 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7904 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7905 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7906 * ) ac_file_in
=$ac_file.
in ;;
7909 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7910 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7911 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7912 X"$ac_file" : 'X\(//\)[^/]' \| \
7913 X"$ac_file" : 'X\(//\)$' \| \
7914 X"$ac_file" : 'X\(/\)' \| \
7915 . : '\(.\)' 2>/dev/null ||
7917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7918 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7919 /^X\(\/\/\)$/{ s//\1/; q; }
7920 /^X\(\/\).*/{ s//\1/; q; }
7922 { if $as_mkdir_p; then
7927 while test ! -d "$as_dir"; do
7928 as_dirs
="$as_dir $as_dirs"
7929 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7931 X"$as_dir" : 'X\(//\)[^/]' \| \
7932 X"$as_dir" : 'X\(//\)$' \| \
7933 X"$as_dir" : 'X\(/\)' \| \
7934 . : '\(.\)' 2>/dev/null ||
7936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7938 /^X\(\/\/\)$/{ s//\1/; q; }
7939 /^X\(\/\).*/{ s//\1/; q; }
7942 test ! -n "$as_dirs" || mkdir
$as_dirs
7943 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7944 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7945 { (exit 1); exit 1; }; }; }
7949 if test "$ac_dir" != .
; then
7950 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7951 # A "../" for each directory in $ac_dir_suffix.
7952 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7954 ac_dir_suffix
= ac_top_builddir
=
7958 .
) # No --srcdir option. We are building in place.
7960 if test -z "$ac_top_builddir"; then
7963 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7965 [\\/]* | ?
:[\\/]* ) # Absolute path.
7966 ac_srcdir
=$srcdir$ac_dir_suffix;
7967 ac_top_srcdir
=$srcdir ;;
7969 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7970 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7972 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7974 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7975 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7976 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7977 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7981 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7982 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7985 if test x
"$ac_file" != x-
; then
7986 { echo "$as_me:$LINENO: creating $ac_file" >&5
7987 echo "$as_me: creating $ac_file" >&6;}
7990 # Let's still pretend it is `configure' which instantiates (i.e., don't
7991 # use $as_me), people would be surprised to read:
7992 # /* config.h. Generated by config.status. */
7993 if test x
"$ac_file" = x-
; then
7996 configure_input
="$ac_file. "
7998 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7999 sed 's,.*/,,'` by configure."
8001 # First look for the input files in the build tree, otherwise in the
8003 ac_file_inputs
=`IFS=:
8004 for f in $ac_file_in; do
8006 -) echo $tmp/stdin ;;
8008 # Absolute (can't be DOS-style, as IFS=:)
8009 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8010 echo "$as_me: error: cannot find input file: $f" >&2;}
8011 { (exit 1); exit 1; }; }
8014 if test -f "$f"; then
8017 elif test -f "$srcdir/$f"; then
8022 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8023 echo "$as_me: error: cannot find input file: $f" >&2;}
8024 { (exit 1); exit 1; }; }
8027 done` ||
{ (exit 1); exit 1; }
8029 cat >>$CONFIG_STATUS <<_ACEOF
8033 cat >>$CONFIG_STATUS <<\_ACEOF
8035 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8036 s
,@configure_input@
,$configure_input,;t t
8037 s
,@srcdir@
,$ac_srcdir,;t t
8038 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8039 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8040 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8041 s
,@builddir@
,$ac_builddir,;t t
8042 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8043 s
,@top_builddir@
,$ac_top_builddir,;t t
8044 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8045 s
,@INSTALL@
,$ac_INSTALL,;t t
8046 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8048 if test x"$ac_file" != x-; then
8049 mv $tmp/out $ac_file
8057 cat >>$CONFIG_STATUS <<\_ACEOF
8060 # CONFIG_HEADER section.
8063 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8064 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8066 # ac_d sets the value in "#define NAME VALUE" lines.
8067 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8068 ac_dB
='[ ].*$,\1#\2'
8071 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8072 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8073 ac_uB
='$,\1#\2define\3'
8077 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8078 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8080 - |
*:- |
*:-:* ) # input from stdin
8082 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8083 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8084 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8085 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8086 * ) ac_file_in
=$ac_file.
in ;;
8089 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8090 echo "$as_me: creating $ac_file" >&6;}
8092 # First look for the input files in the build tree, otherwise in the
8094 ac_file_inputs
=`IFS=:
8095 for f in $ac_file_in; do
8097 -) echo $tmp/stdin ;;
8099 # Absolute (can't be DOS-style, as IFS=:)
8100 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8101 echo "$as_me: error: cannot find input file: $f" >&2;}
8102 { (exit 1); exit 1; }; }
8105 if test -f "$f"; then
8108 elif test -f "$srcdir/$f"; then
8113 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8114 echo "$as_me: error: cannot find input file: $f" >&2;}
8115 { (exit 1); exit 1; }; }
8118 done` ||
{ (exit 1); exit 1; }
8119 # Remove the trailing spaces.
8120 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8124 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8125 # `conftest.undefs', that substitutes the proper values into
8126 # config.h.in to produce config.h. The first handles `#define'
8127 # templates, and the second `#undef' templates.
8128 # And first: Protect against being on the right side of a sed subst in
8129 # config.status. Protect against being in an unquoted here document
8131 rm -f conftest.defines conftest.undefs
8132 # Using a here document instead of a string reduces the quoting nightmare.
8133 # Putting comments in sed scripts is not portable.
8135 # `end' is used to avoid that the second main sed command (meant for
8136 # 0-ary CPP macros) applies to n-ary macro definitions.
8137 # See the Autoconf documentation for `clear'.
8138 cat >confdef2sed.
sed <<\_ACEOF
8143 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8145 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8148 # If some macros were called several times there might be several times
8149 # the same #defines, which is useless. Nevertheless, we may not want to
8150 # sort them, since we want the *last* AC-DEFINE to be honored.
8151 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8152 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8153 rm -f confdef2sed.sed
8155 # This sed command replaces #undef with comments. This is necessary, for
8156 # example, in the case of _POSIX_SOURCE, which is predefined and required
8157 # on some systems where configure will not decide to define it.
8158 cat >>conftest.undefs <<\_ACEOF
8159 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8162 # Break up conftest.defines because some shells have a limit on the size
8163 # of here documents, and old seds have small limits too (100 cmds).
8164 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8165 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8166 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8167 echo ' :' >>$CONFIG_STATUS
8169 while grep . conftest.defines >/dev/null
8171 # Write a limited-size here document to $tmp/defines.sed.
8172 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8173 # Speed up: don't consider the non `#define' lines.
8174 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8175 # Work around the forget-to-reset-the-flag bug.
8176 echo 't clr' >>$CONFIG_STATUS
8177 echo ': clr' >>$CONFIG_STATUS
8178 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8180 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8184 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8185 rm -f conftest.defines
8186 mv conftest.
tail conftest.defines
8188 rm -f conftest.defines
8189 echo ' fi # grep' >>$CONFIG_STATUS
8190 echo >>$CONFIG_STATUS
8192 # Break up conftest.undefs because some shells have a limit on the size
8193 # of here documents, and old seds have small limits too (100 cmds).
8194 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8196 while grep . conftest.undefs
>/dev
/null
8198 # Write a limited-size here document to $tmp/undefs.sed.
8199 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8200 # Speed up: don't consider the non
`#undef'
8201 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8202 # Work around the forget-to-reset-the-flag bug.
8203 echo 't clr' >>$CONFIG_STATUS
8204 echo ': clr' >>$CONFIG_STATUS
8205 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8207 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8211 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8212 rm -f conftest.undefs
8213 mv conftest.tail conftest.undefs
8215 rm -f conftest.undefs
8217 cat >>$CONFIG_STATUS <<\_ACEOF
8218 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8219 # use $as_me), people would be surprised to read:
8220 # /* config.h. Generated by config.status. */
8221 if test x
"$ac_file" = x-
; then
8222 echo "/* Generated by configure. */" >$tmp/config.h
8224 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8226 cat $tmp/in >>$tmp/config.h
8228 if test x
"$ac_file" != x-
; then
8229 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8230 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8231 echo "$as_me: $ac_file is unchanged" >&6;}
8233 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8235 X"$ac_file" : 'X\(//\)[^/]' \| \
8236 X"$ac_file" : 'X\(//\)$' \| \
8237 X"$ac_file" : 'X\(/\)' \| \
8238 . : '\(.\)' 2>/dev/null ||
8240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8241 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8242 /^X\(\/\/\)$/{ s//\1/; q; }
8243 /^X\(\/\).*/{ s//\1/; q; }
8245 { if $as_mkdir_p; then
8250 while test ! -d "$as_dir"; do
8251 as_dirs
="$as_dir $as_dirs"
8252 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8254 X"$as_dir" : 'X\(//\)[^/]' \| \
8255 X"$as_dir" : 'X\(//\)$' \| \
8256 X"$as_dir" : 'X\(/\)' \| \
8257 . : '\(.\)' 2>/dev/null ||
8259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8260 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8261 /^X\(\/\/\)$/{ s//\1/; q; }
8262 /^X\(\/\).*/{ s//\1/; q; }
8265 test ! -n "$as_dirs" || mkdir
$as_dirs
8266 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8267 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8268 { (exit 1); exit 1; }; }; }
8271 mv $tmp/config.h
$ac_file
8279 cat >>$CONFIG_STATUS <<\_ACEOF
8282 # CONFIG_COMMANDS section.
8284 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8285 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8286 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8287 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8288 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8289 X"$ac_dest" : 'X\(//\)[^/]' \| \
8290 X"$ac_dest" : 'X\(//\)$' \| \
8291 X"$ac_dest" : 'X\(/\)' \| \
8292 . : '\(.\)' 2>/dev/null ||
8294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8295 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8296 /^X\(\/\/\)$/{ s//\1/; q; }
8297 /^X\(\/\).*/{ s//\1/; q; }
8301 if test "$ac_dir" != .
; then
8302 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8303 # A "../" for each directory in $ac_dir_suffix.
8304 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8306 ac_dir_suffix
= ac_top_builddir
=
8310 .
) # No --srcdir option. We are building in place.
8312 if test -z "$ac_top_builddir"; then
8315 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8317 [\\/]* | ?
:[\\/]* ) # Absolute path.
8318 ac_srcdir
=$srcdir$ac_dir_suffix;
8319 ac_top_srcdir
=$srcdir ;;
8321 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8322 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8324 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8326 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
8327 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8328 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8329 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8332 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8333 echo "$as_me: executing $ac_dest commands" >&6;}
8336 case $CONFIG_FILES in *config.
make*)
8337 echo "$config_vars" >> config.
make;;
8339 test -d bits || mkdir bits
;;
8344 cat >>$CONFIG_STATUS <<\_ACEOF
8346 { (exit 0); exit 0; }
8348 chmod +x
$CONFIG_STATUS
8349 ac_clean_files
=$ac_clean_files_save
8352 # configure is writing to config.log, and then calls config.status.
8353 # config.status does its own redirection, appending to config.log.
8354 # Unfortunately, on DOS this fails, as config.log is still kept open
8355 # by configure, so config.status won't be able to write to it; its
8356 # output is simply discarded. So we exec the FD to /dev/null,
8357 # effectively closing config.log, so it can be properly (re)opened and
8358 # appended to by config.status. When coming back to configure, we
8359 # need to make the FD available again.
8360 if test "$no_create" != yes; then
8362 ac_config_status_args
=
8363 test "$silent" = yes &&
8364 ac_config_status_args
="$ac_config_status_args --quiet"
8366 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8368 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8369 # would make configure fail if this is the last instruction.
8370 $ac_cs_success ||
{ (exit 1); exit 1; }
8374 # CONFIG_SUBDIRS section.
8376 if test "$no_recursion" != yes; then
8378 # Remove --cache-file and --srcdir arguments so they do not pile up.
8379 ac_sub_configure_args
=
8381 for ac_arg
in $ac_configure_args; do
8382 if test -n "$ac_prev"; then
8387 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8388 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8389 ac_prev
=cache_file
;;
8390 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8391 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8394 --config-cache |
-C)
8396 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8398 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8400 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8402 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8404 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
8408 # Always prepend --prefix to ensure using the same prefix
8409 # in subdir configurations.
8410 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
8413 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8415 # Do not complain, so a configure script can configure whichever
8416 # parts of a large source tree are present.
8417 test -d $srcdir/$ac_dir ||
continue
8419 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
8420 echo "$as_me: configuring in $ac_dir" >&6;}
8421 { if $as_mkdir_p; then
8426 while test ! -d "$as_dir"; do
8427 as_dirs
="$as_dir $as_dirs"
8428 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8429 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8430 X"$as_dir" : 'X\(//\)[^/]' \| \
8431 X"$as_dir" : 'X\(//\)$' \| \
8432 X"$as_dir" : 'X\(/\)' \| \
8433 . : '\(.\)' 2>/dev/null ||
8435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8437 /^X\(\/\/\)$/{ s//\1/; q; }
8438 /^X\(\/\).*/{ s//\1/; q; }
8441 test ! -n "$as_dirs" || mkdir
$as_dirs
8442 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8443 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8444 { (exit 1); exit 1; }; }; }
8448 if test "$ac_dir" != .
; then
8449 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8450 # A "../" for each directory in $ac_dir_suffix.
8451 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8453 ac_dir_suffix
= ac_top_builddir
=
8457 .
) # No --srcdir option. We are building in place.
8459 if test -z "$ac_top_builddir"; then
8462 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8464 [\\/]* | ?
:[\\/]* ) # Absolute path.
8465 ac_srcdir
=$srcdir$ac_dir_suffix;
8466 ac_top_srcdir
=$srcdir ;;
8468 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8469 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8471 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8473 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
8474 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8475 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8476 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8481 # Check for guested configure; otherwise get Cygnus style configure.
8482 if test -f $ac_srcdir/configure.gnu
; then
8483 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
8484 elif test -f $ac_srcdir/configure
; then
8485 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
8486 elif test -f $ac_srcdir/configure.
in; then
8487 ac_sub_configure
=$ac_configure
8489 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8490 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8494 # The recursion is here.
8495 if test -n "$ac_sub_configure"; then
8496 # Make the cache file name correct relative to the subdirectory.
8498 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8500 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
8503 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8504 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8505 # The eval makes quoting arguments work.
8506 eval $ac_sub_configure $ac_sub_configure_args \
8507 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
8508 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8509 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8510 { (exit 1); exit 1; }; }