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 bindnow force_install all_warnings build build_cpu build_vendor build_os host host_cpu host_vendor host_os subdirs add_ons 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 SYSINCLUDES libc_cv_gcc_static_libgcc BASH libc_cv_have_bash2 KSH libc_cv_have_ksh AWK PERL INSTALL_INFO BISON VERSIONING libc_cv_asm_protected_directive libc_cv_initfinit_array libc_cv_cc_with_libunwind libc_cv_z_nodelete libc_cv_z_nodlopen libc_cv_z_initfirst libc_cv_z_relro libc_cv_Bgroup libc_cv_libgcc_s_suffix libc_cv_as_needed ASFLAGS_config libc_cv_z_combreloc libc_cv_z_execstack libc_cv_fpie fno_unit_at_a_time 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-bind-now disable lazy relocations
in DSOs
880 --enable-static-nss build static NSS modules
[default
=no
]
881 --disable-force-install don
't force installation of files from this package,
882 even if they are older than the installed files
883 --enable-kernel=VERSION compile for compatibility with kernel not older than
885 --enable-all-warnings enable all useful warnings gcc can issue
888 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
889 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
890 --with-gmp=DIRECTORY find GMP source code in DIRECTORY (not needed)
891 --with-gd=DIR find libgd include dir and library with prefix DIR
892 --with-gd-include=DIR find libgd include files in DIR
893 --with-gd-lib=DIR find libgd library files in DIR
894 --with-fp if using floating-point hardware [default=yes]
895 --with-binutils=PATH specify location of binutils (as and ld)
896 --with-elf if using the ELF object format
897 --with-xcoff if using the XCOFF object format
898 --without-cvs if CVS should not be used
899 --with-headers=PATH location of system headers to use (for example
900 /usr/src/linux/include) [default=compiler
902 --with-tls enable support for TLS
903 --without-__thread do not use TLS features even when supporting them
905 Some influential environment variables:
906 CC C compiler command
907 CFLAGS C compiler flags
908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
909 nonstandard directory <lib dir>
910 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
911 headers in a nonstandard directory <include dir>
913 CXX C++ compiler command
914 CXXFLAGS C++ compiler flags
916 Use these variables to override the choices made by `configure' or to
help
917 it to
find libraries and programs with nonstandard names
/locations.
919 Report bugs to
<glibc
>.
923 if test "$ac_init_help" = "recursive"; then
924 # If there are subdirs, report their specific --help.
926 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
927 test -d $ac_dir ||
continue
930 if test "$ac_dir" != .
; then
931 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
932 # A "../" for each directory in $ac_dir_suffix.
933 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
935 ac_dir_suffix
= ac_top_builddir
=
939 .
) # No --srcdir option. We are building in place.
941 if test -z "$ac_top_builddir"; then
944 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
946 [\\/]* | ?
:[\\/]* ) # Absolute path.
947 ac_srcdir
=$srcdir$ac_dir_suffix;
948 ac_top_srcdir
=$srcdir ;;
950 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
951 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
953 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
955 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
956 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
957 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
958 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
961 # Check for guested configure; otherwise get Cygnus style configure.
962 if test -f $ac_srcdir/configure.gnu
; then
964 $SHELL $ac_srcdir/configure.gnu
--help=recursive
965 elif test -f $ac_srcdir/configure
; then
967 $SHELL $ac_srcdir/configure
--help=recursive
968 elif test -f $ac_srcdir/configure.ac ||
969 test -f $ac_srcdir/configure.
in; then
973 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
979 test -n "$ac_init_help" && exit 0
980 if $ac_init_version; then
982 GNU C Library configure
(see version.h
)
983 generated by GNU Autoconf
2.57
985 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
986 Free Software Foundation
, Inc.
987 This configure
script is free software
; the Free Software Foundation
988 gives unlimited permission to copy
, distribute and modify it.
994 This file contains any messages produced by compilers while
995 running configure, to aid debugging if configure makes a mistake.
997 It was created by GNU C Library $as_me (see version.h), which was
998 generated by GNU Autoconf 2.57. Invocation command line was
1009 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1010 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1011 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1012 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1013 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1015 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1016 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1018 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1019 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1020 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1021 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1022 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1023 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1024 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1032 test -z "$as_dir" && as_dir
=.
1033 echo "PATH: $as_dir"
1048 # Keep a trace of the command line.
1049 # Strip out --no-create and --no-recursion so they do not pile up.
1050 # Strip out --silent because we don't want to record it for future runs.
1051 # Also quote any args containing shell meta-characters.
1052 # Make two passes to allow for proper duplicate-argument suppression.
1057 ac_must_keep_next
=false
1063 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1064 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1065 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1068 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1071 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1073 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1074 if test $ac_must_keep_next = true
; then
1075 ac_must_keep_next
=false
# Got value, back to normal.
1078 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1079 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1080 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1081 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1082 case "$ac_configure_args0 " in
1083 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1086 -* ) ac_must_keep_next
=true
;;
1089 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1090 # Get rid of the leading space.
1096 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1097 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1099 # When interrupted or exit'd, cleanup temporary files, and complete
1100 # config.log. We remove comments because anyway the quotes in there
1101 # would cause problems or look ugly.
1102 # WARNING: Be sure not to use single quotes in there, as some shells,
1103 # such as our DU 5.0 friend, will then `close' the trap.
1104 trap 'exit_status=$?
1105 # Save into config.log some information that might help in debugging.
1110 ## ---------------- ##
1111 ## Cache variables. ##
1112 ## ---------------- ##
1115 # The following way of writing the cache mishandles newlines in values,
1118 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1121 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1133 ## ----------------- ##
1134 ## Output variables. ##
1135 ## ----------------- ##
1138 for ac_var in $ac_subst_vars
1140 eval ac_val=$`echo $ac_var`
1141 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -n "$ac_subst_files"; then
1152 for ac_var in $ac_subst_files
1154 eval ac_val=$`echo $ac_var`
1155 echo "$ac_var='"'"'$ac_val'"'"'"
1160 if test -s confdefs.h; then
1167 sed "/^$/d" confdefs.h | sort
1170 test "$ac_signal" != 0 &&
1171 echo "$as_me: caught signal $ac_signal"
1172 echo "$as_me: exit $exit_status"
1174 rm -f core core.* *.core &&
1175 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1178 for ac_signal
in 1 2 13 15; do
1179 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1183 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1184 rm -rf conftest
* confdefs.h
1185 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1188 # Predefined preprocessor variables.
1190 cat >>confdefs.h
<<_ACEOF
1191 #define PACKAGE_NAME "$PACKAGE_NAME"
1195 cat >>confdefs.h
<<_ACEOF
1196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1200 cat >>confdefs.h
<<_ACEOF
1201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1205 cat >>confdefs.h
<<_ACEOF
1206 #define PACKAGE_STRING "$PACKAGE_STRING"
1210 cat >>confdefs.h
<<_ACEOF
1211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1215 # Let the site file select an alternate cache file if it wants to.
1216 # Prefer explicitly selected file to automatically selected ones.
1217 if test -z "$CONFIG_SITE"; then
1218 if test "x$prefix" != xNONE
; then
1219 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1221 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1224 for ac_site_file
in $CONFIG_SITE; do
1225 if test -r "$ac_site_file"; then
1226 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1227 echo "$as_me: loading site script $ac_site_file" >&6;}
1228 sed 's/^/| /' "$ac_site_file" >&5
1233 if test -r "$cache_file"; then
1234 # Some versions of bash will fail to source /dev/null (special
1235 # files actually), so we avoid doing that.
1236 if test -f "$cache_file"; then
1237 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1238 echo "$as_me: loading cache $cache_file" >&6;}
1240 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1241 *) . .
/$cache_file;;
1245 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1246 echo "$as_me: creating cache $cache_file" >&6;}
1250 # Check that the precious variables saved in the cache have kept the same
1252 ac_cache_corrupted
=false
1253 for ac_var
in `(set) 2>&1 |
1254 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1255 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1256 eval ac_new_set
=\
$ac_env_${ac_var}_set
1257 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1258 eval ac_new_val
="\$ac_env_${ac_var}_value"
1259 case $ac_old_set,$ac_new_set in
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1263 ac_cache_corrupted
=: ;;
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1267 ac_cache_corrupted
=: ;;
1270 if test "x$ac_old_val" != "x$ac_new_val"; then
1271 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1272 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1273 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1274 echo "$as_me: former value: $ac_old_val" >&2;}
1275 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1276 echo "$as_me: current value: $ac_new_val" >&2;}
1277 ac_cache_corrupted
=:
1280 # Pass precious variables to config.status.
1281 if test "$ac_new_set" = set; then
1283 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1285 *) ac_arg
=$ac_var=$ac_new_val ;;
1287 case " $ac_configure_args " in
1288 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1289 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1293 if $ac_cache_corrupted; then
1294 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1295 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1296 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1297 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1298 { (exit 1); exit 1; }; }
1302 ac_cpp
='$CPP $CPPFLAGS'
1303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1334 ac_config_headers
="$ac_config_headers config.h"
1337 for ac_dir
in scripts
$srcdir/scripts
; do
1338 if test -f $ac_dir/install-sh
; then
1340 ac_install_sh
="$ac_aux_dir/install-sh -c"
1342 elif test -f $ac_dir/install.sh
; then
1344 ac_install_sh
="$ac_aux_dir/install.sh -c"
1346 elif test -f $ac_dir/shtool
; then
1348 ac_install_sh
="$ac_aux_dir/shtool install -c"
1352 if test -z "$ac_aux_dir"; then
1353 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&5
1354 echo "$as_me: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&2;}
1355 { (exit 1); exit 1; }; }
1357 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1358 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1359 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1362 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
1363 { { echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
1364 echo "$as_me: error: you must configure in a separate build directory" >&2;}
1365 { (exit 1); exit 1; }; }
1368 # This will get text that should go into config.make.
1371 # Check for a --with-gmp argument and set gmp-srcdir in config.make.
1373 # Check whether --with-gmp or --without-gmp was given.
1374 if test "${with_gmp+set}" = set; then
1378 yes) { { echo "$as_me:$LINENO: error: --with-gmp requires an argument; use --with-gmp=DIRECTORY" >&5
1379 echo "$as_me: error: --with-gmp requires an argument; use --with-gmp=DIRECTORY" >&2;}
1380 { (exit 1); exit 1; }; } ;;
1382 *) config_vars
="$config_vars
1383 gmp-srcdir = $withval" ;;
1387 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
1389 # Check whether --with-gd or --without-gd was given.
1390 if test "${with_gd+set}" = set; then
1394 *) libgd_include
="-I$withval/include"
1395 libgd_ldflags
="-L$withval/lib" ;;
1400 # Check whether --with-gd-include or --without-gd-include was given.
1401 if test "${with_gd_include+set}" = set; then
1402 withval
="$with_gd_include"
1403 case "$with_gd_include" in
1405 *) libgd_include
="-I$withval" ;;
1410 # Check whether --with-gd-lib or --without-gd-lib was given.
1411 if test "${with_gd_lib+set}" = set; then
1412 withval
="$with_gd_lib"
1413 case "$with_gd_lib" in
1415 *) libgd_ldflags
="-L$withval" ;;
1420 if test -n "$libgd_include"; then
1421 config_vars
="$config_vars
1422 CFLAGS-memusagestat.c = $libgd_include"
1424 if test -n "$libgd_ldflags"; then
1425 config_vars
="$config_vars
1426 libgd-LDFLAGS = $libgd_ldflags"
1430 # Check whether --with-fp or --without-fp was given.
1431 if test "${with_fp+set}" = set; then
1439 # Check whether --with-binutils or --without-binutils was given.
1440 if test "${with_binutils+set}" = set; then
1441 withval
="$with_binutils"
1442 path_binutils
=$withval
1447 # Check whether --with-elf or --without-elf was given.
1448 if test "${with_elf+set}" = set; then
1455 # Check whether --with-xcoff or --without-xcoff was given.
1456 if test "${with_xcoff+set}" = set; then
1457 withval
="$with_xcoff"
1463 # Check whether --with-cvs or --without-cvs was given.
1464 if test "${with_cvs+set}" = set; then
1470 if test "$with_cvs" = yes; then
1471 if test -d $srcdir/CVS
&& grep :pserver
: $srcdir/CVS
/Root
> /dev
/null
1479 # Check whether --with-headers or --without-headers was given.
1480 if test "${with_headers+set}" = set; then
1481 withval
="$with_headers"
1487 # Check whether --enable-sanity-checks or --disable-sanity-checks was given.
1488 if test "${enable_sanity_checks+set}" = set; then
1489 enableval
="$enable_sanity_checks"
1490 enable_sanity
=$enableval
1496 # Check whether --enable-check-abi or --disable-check-abi was given.
1497 if test "${enable_check_abi+set}" = set; then
1498 enableval
="$enable_check_abi"
1499 enable_check_abi
=$enableval
1505 # Check whether --enable-shared or --disable-shared was given.
1506 if test "${enable_shared+set}" = set; then
1507 enableval
="$enable_shared"
1512 # Check whether --enable-profile or --disable-profile was given.
1513 if test "${enable_profile+set}" = set; then
1514 enableval
="$enable_profile"
1519 # Check whether --enable-omitfp or --disable-omitfp was given.
1520 if test "${enable_omitfp+set}" = set; then
1521 enableval
="$enable_omitfp"
1526 # Check whether --enable-bounded or --disable-bounded was given.
1527 if test "${enable_bounded+set}" = set; then
1528 enableval
="$enable_bounded"
1533 # Check whether --enable-versioning or --disable-versioning was given.
1534 if test "${enable_versioning+set}" = set; then
1535 enableval
="$enable_versioning"
1536 enable_versioning
=$enableval
1538 enable_versioning
=yes
1541 # Check whether --enable-oldest-abi or --disable-oldest-abi was given.
1542 if test "${enable_oldest_abi+set}" = set; then
1543 enableval
="$enable_oldest_abi"
1544 oldest_abi
=$enableval
1548 if test "$oldest_abi" = yes ||
test "$oldest_abi" = no
; then
1551 cat >>confdefs.h
<<_ACEOF
1552 #define GLIBC_OLDEST_ABI "$oldest_abi"
1558 # Check whether --enable-add-ons or --disable-add-ons was given.
1559 if test "${enable_add_ons+set}" = set; then
1560 enableval
="$enable_add_ons"
1561 case "$enableval" in
1562 yes) add_ons
=`cd $srcdir && echo */configure | sed -e 's!/configure!!g'`
1563 test "$add_ons" = "*" && add_ons
= ;;
1564 *) add_ons
=`echo "$enableval" | sed 's/,/ /g'`;;
1571 # Check whether --with-tls or --without-tls was given.
1572 if test "${with_tls+set}" = set; then
1580 # Check whether --with-__thread or --without-__thread was given.
1581 if test "${with___thread+set}" = set; then
1582 withval
="$with___thread"
1583 use__thread
=$withval
1588 # Check whether --enable-hidden-plt or --disable-hidden-plt was given.
1589 if test "${enable_hidden_plt+set}" = set; then
1590 enableval
="$enable_hidden_plt"
1595 if test "x$hidden" = xno
; then
1596 cat >>confdefs.h
<<\_ACEOF
1602 # Check whether --enable-bind-now or --disable-bind-now was given.
1603 if test "${enable_bind_now+set}" = set; then
1604 enableval
="$enable_bind_now"
1611 # Check whether --enable-static-nss or --disable-static-nss was given.
1612 if test "${enable_static_nss+set}" = set; then
1613 enableval
="$enable_static_nss"
1614 static_nss
=$enableval
1618 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
1620 cat >>confdefs.h
<<\_ACEOF
1621 #define DO_STATIC_NSS 1
1626 # Check whether --enable-force-install or --disable-force-install was given.
1627 if test "${enable_force_install+set}" = set; then
1628 enableval
="$enable_force_install"
1629 force_install
=$enableval
1635 # Check whether --enable-kernel or --disable-kernel was given.
1636 if test "${enable_kernel+set}" = set; then
1637 enableval
="$enable_kernel"
1638 minimum_kernel
=$enableval
1640 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
1641 # Better nothing than this.
1644 if test "$minimum_kernel" = current
; then
1645 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
1649 # Check whether --enable-all-warnings or --disable-all-warnings was given.
1650 if test "${enable_all_warnings+set}" = set; then
1651 enableval
="$enable_all_warnings"
1652 all_warnings
=$enableval
1656 # Make sure we can run config.sub.
1657 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1658 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1659 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1660 { (exit 1); exit 1; }; }
1662 echo "$as_me:$LINENO: checking build system type" >&5
1663 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1664 if test "${ac_cv_build+set}" = set; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6
1667 ac_cv_build_alias
=$build_alias
1668 test -z "$ac_cv_build_alias" &&
1669 ac_cv_build_alias
=`$ac_config_guess`
1670 test -z "$ac_cv_build_alias" &&
1671 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1672 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1673 { (exit 1); exit 1; }; }
1674 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1675 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1676 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1677 { (exit 1); exit 1; }; }
1680 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1681 echo "${ECHO_T}$ac_cv_build" >&6
1683 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1684 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1685 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1688 echo "$as_me:$LINENO: checking host system type" >&5
1689 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1690 if test "${ac_cv_host+set}" = set; then
1691 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 ac_cv_host_alias
=$host_alias
1694 test -z "$ac_cv_host_alias" &&
1695 ac_cv_host_alias
=$ac_cv_build_alias
1696 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1697 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1698 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1699 { (exit 1); exit 1; }; }
1702 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1703 echo "${ECHO_T}$ac_cv_host" >&6
1705 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1706 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1707 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1711 # An add-on can set this when it the tuple to disable the sanity check below.
1721 if test x
"$add_ons" != x
; then
1722 for f
in $add_ons; do
1723 # Some sanity checks
1726 { { echo "$as_me:$LINENO: error:
1727 *** It seems that you're using an old \`crypt' add-on. crypt is now
1728 *** part of glibc and using the old add-on will not work with this
1729 *** release. Start again with fresh sources and without the old
1730 *** \`crypt' add-on." >&5
1731 echo "$as_me: error:
1732 *** It seems that you're using an old \`crypt' add-on. crypt is now
1733 *** part of glibc and using the old add-on will not work with this
1734 *** release. Start again with fresh sources and without the old
1735 *** \`crypt' add-on." >&2;}
1736 { (exit 1); exit 1; }; }
1739 { { echo "$as_me:$LINENO: error:
1740 *** It seems that you're using an old \`localedata' add-on. localedata
1741 *** is now part of glibc and using the old add-on will not work with
1742 *** this release. Start again with fresh sources and without the old
1743 *** \`localedata' add-on." >&5
1744 echo "$as_me: error:
1745 *** It seems that you're using an old \`localedata' add-on. localedata
1746 *** is now part of glibc and using the old add-on will not work with
1747 *** this release. Start again with fresh sources and without the old
1748 *** \`localedata' add-on." >&2;}
1749 { (exit 1); exit 1; }; }
1753 # Test whether such a subdir really exists.
1754 if test -d $srcdir/$f; then
1755 add_ons_pfx
="$add_ons_pfx $f/"
1756 add_ons_sfx
="$add_ons_sfx /$f"
1758 { { echo "$as_me:$LINENO: error: add-on directory \"$f\" does not exist" >&5
1759 echo "$as_me: error: add-on directory \"$f\" does not exist" >&2;}
1760 { (exit 1); exit 1; }; }
1764 for f
in $add_ons; do
1765 frag
=$srcdir/$f/configure
1766 if test -r $frag; then
1767 echo "$as_me:$LINENO: result: running configure fragment for add-on $f" >&5
1768 echo "${ECHO_T}running configure fragment for add-on $f" >&6
1771 { echo "$as_me:$LINENO: WARNING: add-on fragment $frag missing" >&5
1772 echo "$as_me: WARNING: add-on fragment $frag missing" >&2;}
1779 # The way shlib-versions is used to generate soversions.mk uses a
1780 # fairly simplistic model for name recognition that can't distinguish
1781 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
1782 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
1783 # tell. This doesn't get used much beyond that, so it's fairly safe.
1788 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
1792 # We keep the original values in `$config_*' and never modify them, so we
1793 # can write them unchanged into config.make. Everything else uses
1794 # $machine, $vendor, and $os, and changes them whenever convenient.
1795 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
1797 # Don't allow vendor == "unknown"
1798 test "$config_vendor" = unknown
&& config_vendor
=
1799 config_os
="`echo $config_os | sed 's/^unknown-//'`"
1801 # Some configurations imply other options.
1803 gnu
* | linux
* | bsd4.4
* | netbsd
* | freebsd
*)
1804 # These systems always use GNU tools.
1805 gnu_ld
=yes gnu_as
=yes ;;
1808 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
1809 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
1811 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
1812 # These systems (almost) always use the ELF format.
1816 # These systems are always xcoff
1822 machine
=$config_machine
1823 vendor
=$config_vendor
1826 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
1828 if test "$machine" = rs6000
; then
1832 # Braindead PowerPC box with absolutely no FPU.
1833 case "$machine-$host_os" in
1840 ### I put this here to prevent those annoying emails from people who cannot
1841 ### read and try to compile glibc on unsupported platforms. --drepper
1843 ### By using the undocumented --enable-hacker-mode option for configure
1844 ### one can skip this test to make the configuration not fail for unsupported
1847 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
1848 case "$machine-$host_os" in
1849 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
1852 echo "*** The GNU C library is currently not available for this platform."
1853 echo "*** So far nobody cared to port it and if there is no volunteer it"
1854 echo "*** might never happen. So, if you have interest to see glibc on"
1855 echo "*** this platform visit"
1856 echo "*** http://www.gnu.org/software/libc/porting.html"
1857 echo "*** and join the group of porters"
1863 # Expand the configuration machine name into a subdirectory by architecture
1864 # type and particular chip. If an add-on configure fragment already set
1865 # base_machine, we don't change it.
1866 test -n "$base_machine" ||
case "$machine" in
1867 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
1868 alpha
*) base_machine
=alpha machine
=alpha
/$machine ;;
1869 arm
*) base_machine
=arm machine
=arm
/arm32
/$machine ;;
1870 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
1871 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
1872 hppa
*64*) base_machine
=hppa machine
=hppa
/hppa64
;;
1873 hppa
*) base_machine
=hppa machine
=hppa
/hppa1.1
;;
1874 i
[3456]86) base_machine
=i386 machine
=i386
/$machine ;;
1875 ia64
) base_machine
=ia64 machine
=ia64
;;
1876 m680?
0) base_machine
=m68k machine
=m68k
/$machine ;;
1877 m68k
) base_machine
=m68k machine
=m68k
/m68020
;;
1878 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
1879 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
1880 mips64
*) base_machine
=mips64
1881 case "$CC $CFLAGS $CPPFLAGS " in
1882 *" -mabi=n32 "*) mips_cc_abi
=n32
;;
1883 *" -mabi=64 "*|
*" -mabi=n64 "*) mips_cc_abi
=64 ;;
1884 *" -mabi=32 "*|
*" -mabi=o32 "*) mips_cc_abi
=32 ;;
1885 *) mips_cc_abi
=default
;;
1888 *abin32
*) mips_config_abi
=n32
;;
1889 *abi64
*|
*abin64
*) mips_config_abi
=64 ;;
1890 *abi32
*|
*abio32
*) mips_config_abi
=32 ;;
1891 *) mips_config_abi
=$mips_cc_abi ;;
1893 case $mips_config_abi in
1894 default
) machine
=mips
/mips64
/n32 mips_config_abi
=n32
;;
1895 n32
) machine
=mips
/mips64
/n32
;;
1896 64) machine
=mips
/mips64
/n64
;;
1897 32) machine
=mips
/mips32
/kern64
;;
1899 machine
=$machine/$config_machine
1900 if test $mips_config_abi != $mips_cc_abi; then
1901 # This won't make it to config.make, but we want to
1902 # set this in case configure tests depend on it.
1903 CPPFLAGS
="$CPPFLAGS -mabi=$mips_config_abi"
1906 mips
*) base_machine
=mips machine
=mips
/mips32
/$machine ;;
1907 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
1908 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
1909 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
1910 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
1911 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
1912 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
1914 base_machine
=sparc machine
=sparc
/sparc32
;;
1915 sparcv8 | supersparc | hypersparc
)
1916 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
1917 sparcv8plus | sparcv8plusa | sparcv9
)
1918 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
1919 sparcv8plusb | sparcv9b
)
1920 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9b
;;
1921 sparc64 | ultrasparc
)
1922 base_machine
=sparc machine
=sparc
/sparc64
;;
1923 sparc64b | ultrasparc3
)
1924 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
1925 thumb
*) base_machine
=thumb machine
=arm
/thumb
/$machine ;;
1926 *) base_machine
=$machine ;;
1930 if test "$base_machine" = "i386"; then
1931 cat >>confdefs.h
<<\_ACEOF
1932 #define USE_REGPARMS 1
1937 # Compute the list of sysdep directories for this configuration.
1938 # This can take a while to compute.
1939 sysdep_dir
=$srcdir/sysdeps
1940 echo "$as_me:$LINENO: checking sysdep dirs" >&5
1941 echo $ECHO_N "checking sysdep dirs... $ECHO_C" >&6
1942 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
1943 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
1947 base_os
=mach
/hurd
;;
1948 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
1949 base_os
=unix
/bsd
/bsd4.4
;;
1950 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
1952 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
1953 base_os
=unix
/sysv
;;
1955 base_os
=unix
/sysv
/irix
6/$os ;;
1957 base_os
=unix
/sysv
/sysv4
;;
1959 base_os
=unix
/sysv
/hpux
/$os ;;
1961 base_os
=unix
/sysv
/aix
/aix4.3
;;
1963 base_os
=standalone
;;
1968 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
1971 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
1975 o
=`echo $tail | sed 's/[0-9]*$//'`
1976 if test $o != $tail; then
1979 # For linux-gnu, try linux-gnu, then linux.
1980 o
=`echo $tail | sed 's/-.*$//'`
1981 if test $o != $tail; then
1985 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
1988 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
1994 # For sparc/sparc32, try sparc/sparc32 and then sparc.
1997 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
1999 # Prepend the machine's FPU directory unless --without-fp.
2000 if test "$with_fp" = yes; then
2001 mach
="$mach /$1/fpu"
2003 mach
="$mach /$1/nofpu"
2010 # Find what sysdep directories exist.
2012 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2013 for d
in $add_ons_pfx ''; do
2014 for b
in $base ''; do
2015 for m0
in $mach ''; do
2016 for v
in /$vendor ''; do
2017 test "$v" = / && continue
2018 for o
in /$ostry ''; do
2019 test "$o" = / && continue
2020 for m
in $mach ''; do
2021 for a
in $add_ons_sfx ''; do
2022 if test "$m0$b$v$o$m"; then
2023 try
="${d}sysdeps$m0$b$v$o$m$a"
2024 test -n "$enable_debug_configure" &&
2025 echo "$0 DEBUG: try $try" >&2
2026 if test -d $srcdir/$try; then
2027 sysnames
="$sysnames $try"
2028 { test -n "$o" ||
test -n "$b"; } && os_used
=t
2029 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
2041 if test -z "$os_used" && test "$os" != none
; then
2042 { { echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
2043 echo "$as_me: error: Operating system $os is not supported." >&2;}
2044 { (exit 1); exit 1; }; }
2046 if test -z "$machine_used" && test "$machine" != none
; then
2047 { { echo "$as_me:$LINENO: error: The $machine is not supported." >&5
2048 echo "$as_me: error: The $machine is not supported." >&2;}
2049 { (exit 1); exit 1; }; }
2052 # We have now validated the configuration.
2055 # If using ELF, look for an `elf' subdirectory of each machine directory.
2056 # We prepend these rather than inserting them whereever the machine appears
2057 # because things specified by the machine's ELF ABI should override
2058 # OS-specific things, and should always be the same for any OS on the
2059 # machine (otherwise what's the point of an ABI?).
2060 if test "$elf" = yes; then
2062 for d
in $add_ons_pfx ''; do
2064 if test -d $srcdir/${d}sysdeps
$m/elf
; then
2065 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
2069 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
2073 # Expand the list of system names into a full list of directories
2074 # from each element's parent name and Implies file (if present).
2077 while test $# -gt 0; do
2081 case " $names " in *" $name "*)
2082 # Already in the list.
2086 # Report each name as we discover it, so there is no long pause in output.
2087 echo $ECHO_N "$name $ECHO_C" >&6
2089 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
2093 *) xsrcdir
=$srcdir/ ;;
2095 test -n "$enable_debug_configure" &&
2096 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
2098 if test -f $xsrcdir$name/Implies
; then
2099 # Collect more names from the `Implies' file (removing comments).
2100 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
2102 for x
in $implied_candidate; do
2104 if test -d $xsrcdir$name_base/$x; then
2105 implied
="$implied $name_base/$x";
2108 for d
in $add_ons_pfx ''; do
2109 try
="${d}sysdeps/$x"
2112 *) try_srcdir
=$srcdir/ ;;
2114 test -n "$enable_debug_configure" &&
2115 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
2116 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
2118 implied
="$implied $try"
2122 if test $found = no
; then
2123 { echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
2124 echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
2131 # Add NAME to the list of names.
2132 names
="$names $name"
2134 # Find the parent of NAME, using the empty string if it has none.
2135 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
2137 # Add the names implied by NAME, and NAME's parent (if it has one), to
2138 # the list of names to be processed (the argument list). We prepend the
2139 # implied names to the list and append the parent. We want implied
2140 # directories to come before further directories inferred from the
2141 # configuration components; this ensures that for sysv4, unix/common
2142 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
2144 sysnames
="`echo $implied $* $parent`"
2145 test -n "$sysnames" && set $sysnames
2148 # Add the default directories.
2149 default_sysnames
=sysdeps
/generic
2150 if test "$elf" = yes; then
2151 default_sysnames
="sysdeps/generic/elf $default_sysnames"
2153 sysnames
="$names $default_sysnames"
2155 # The other names were emitted during the scan.
2156 echo "$as_me:$LINENO: result: $default_sysnames" >&5
2157 echo "${ECHO_T}$default_sysnames" >&6
2162 # Find a good install program. We prefer a C program (faster),
2163 # so one script is as good as another. But avoid the broken or
2164 # incompatible versions:
2165 # SysV /etc/install, /usr/sbin/install
2166 # SunOS /usr/etc/install
2167 # IRIX /sbin/install
2169 # AmigaOS /C/install, which installs bootblocks on floppy discs
2170 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2171 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2172 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2173 # ./install, which can be erroneously created by make from ./install.sh.
2174 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2175 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2176 if test -z "$INSTALL"; then
2177 if test "${ac_cv_path_install+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir
=.
2185 # Account for people who put trailing slashes in PATH elements.
2187 .
/ | .
// |
/cC
/* | \
2188 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2191 # OSF1 and SCO ODT 3.0 have their own names for install.
2192 # Don't use installbsd from OSF since it installs stuff as root
2194 for ac_prog
in ginstall scoinst
install; do
2195 for ac_exec_ext
in '' $ac_executable_extensions; do
2196 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2197 if test $ac_prog = install &&
2198 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2199 # AIX install. It has an incompatible calling convention.
2201 elif test $ac_prog = install &&
2202 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2203 # program-specific install script used by HP pwplus--don't use.
2206 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2218 if test "${ac_cv_path_install+set}" = set; then
2219 INSTALL
=$ac_cv_path_install
2221 # As a last resort, use the slow shell script. We don't cache a
2222 # path for INSTALL within a source directory, because that will
2223 # break other packages using the cache if that directory is
2224 # removed, or if the path is relative.
2225 INSTALL
=$ac_install_sh
2228 echo "$as_me:$LINENO: result: $INSTALL" >&5
2229 echo "${ECHO_T}$INSTALL" >&6
2231 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2232 # It thinks the first close brace ends the variable substitution.
2233 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2235 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2237 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2239 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
2240 # The makefiles need to use a different form to find it in $srcdir.
2241 INSTALL
='\$(..)./scripts/install-sh -c'
2243 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2244 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2246 if test "$LN_S" = "ln -s"; then
2247 echo "$as_me:$LINENO: result: yes" >&5
2248 echo "${ECHO_T}yes" >&6
2250 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2251 echo "${ECHO_T}no, using $LN_S" >&6
2256 ac_cpp
='$CPP $CPPFLAGS'
2257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2260 if test -n "$ac_tool_prefix"; then
2261 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2262 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2263 echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2265 if test "${ac_cv_prog_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC
="$CC" # Let the user override the test.
2271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir
=.
2276 for ac_exec_ext
in '' $ac_executable_extensions; do
2277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2278 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 if test -n "$CC"; then
2289 echo "$as_me:$LINENO: result: $CC" >&5
2290 echo "${ECHO_T}$CC" >&6
2292 echo "$as_me:$LINENO: result: no" >&5
2293 echo "${ECHO_T}no" >&6
2297 if test -z "$ac_cv_prog_CC"; then
2299 # Extract the first word of "gcc", so it can be a program name with args.
2300 set dummy gcc
; ac_word
=$2
2301 echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 if test -n "$ac_ct_CC"; then
2307 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir
=.
2314 for ac_exec_ext
in '' $ac_executable_extensions; do
2315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316 ac_cv_prog_ac_ct_CC
="gcc"
2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2326 if test -n "$ac_ct_CC"; then
2327 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2328 echo "${ECHO_T}$ac_ct_CC" >&6
2330 echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6
2339 if test -z "$CC"; then
2340 if test -n "$ac_tool_prefix"; then
2341 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2342 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2343 echo "$as_me:$LINENO: checking for $ac_word" >&5
2344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2345 if test "${ac_cv_prog_CC+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6
2348 if test -n "$CC"; then
2349 ac_cv_prog_CC
="$CC" # Let the user override the test.
2351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir
=.
2356 for ac_exec_ext
in '' $ac_executable_extensions; do
2357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 if test -n "$CC"; then
2369 echo "$as_me:$LINENO: result: $CC" >&5
2370 echo "${ECHO_T}$CC" >&6
2372 echo "$as_me:$LINENO: result: no" >&5
2373 echo "${ECHO_T}no" >&6
2377 if test -z "$ac_cv_prog_CC"; then
2379 # Extract the first word of "cc", so it can be a program name with args.
2380 set dummy cc
; ac_word
=$2
2381 echo "$as_me:$LINENO: checking for $ac_word" >&5
2382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2383 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2384 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 if test -n "$ac_ct_CC"; then
2387 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2393 test -z "$as_dir" && as_dir
=.
2394 for ac_exec_ext
in '' $ac_executable_extensions; do
2395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2396 ac_cv_prog_ac_ct_CC
="cc"
2397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2406 if test -n "$ac_ct_CC"; then
2407 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2408 echo "${ECHO_T}$ac_ct_CC" >&6
2410 echo "$as_me:$LINENO: result: no" >&5
2411 echo "${ECHO_T}no" >&6
2420 if test -z "$CC"; then
2421 # Extract the first word of "cc", so it can be a program name with args.
2422 set dummy cc
; ac_word
=$2
2423 echo "$as_me:$LINENO: checking for $ac_word" >&5
2424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2425 if test "${ac_cv_prog_CC+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 if test -n "$CC"; then
2429 ac_cv_prog_CC
="$CC" # Let the user override the test.
2432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir
=.
2437 for ac_exec_ext
in '' $ac_executable_extensions; do
2438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2439 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2440 ac_prog_rejected
=yes
2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 if test $ac_prog_rejected = yes; then
2451 # We found a bogon in the path, so make sure we never use it.
2452 set dummy
$ac_cv_prog_CC
2454 if test $# != 0; then
2455 # We chose a different compiler from the bogus one.
2456 # However, it has the same basename, so the bogon will be chosen
2457 # first if we set CC to just the basename; use the full file name.
2459 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2465 if test -n "$CC"; then
2466 echo "$as_me:$LINENO: result: $CC" >&5
2467 echo "${ECHO_T}$CC" >&6
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2474 if test -z "$CC"; then
2475 if test -n "$ac_tool_prefix"; then
2478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2479 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2480 echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2482 if test "${ac_cv_prog_CC+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 if test -n "$CC"; then
2486 ac_cv_prog_CC
="$CC" # Let the user override the test.
2488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir
=.
2493 for ac_exec_ext
in '' $ac_executable_extensions; do
2494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2495 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 if test -n "$CC"; then
2506 echo "$as_me:$LINENO: result: $CC" >&5
2507 echo "${ECHO_T}$CC" >&6
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2513 test -n "$CC" && break
2516 if test -z "$CC"; then
2520 # Extract the first word of "$ac_prog", so it can be a program name with args.
2521 set dummy
$ac_prog; ac_word
=$2
2522 echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$ac_ct_CC"; then
2528 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir
=.
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2537 ac_cv_prog_ac_ct_CC
="$ac_prog"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2547 if test -n "$ac_ct_CC"; then
2548 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2549 echo "${ECHO_T}$ac_ct_CC" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2555 test -n "$ac_ct_CC" && break
2564 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2565 See \`config.log' for more details." >&5
2566 echo "$as_me: error: no acceptable C compiler found in \$PATH
2567 See \`config.log' for more details." >&2;}
2568 { (exit 1); exit 1; }; }
2570 # Provide some information about the compiler.
2571 echo "$as_me:$LINENO:" \
2572 "checking for C compiler version" >&5
2573 ac_compiler
=`set X $ac_compile; echo $2`
2574 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2575 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }
2579 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2580 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }
2584 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2585 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }
2591 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2592 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2593 if test "${ac_cv_objext+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 cat >conftest.
$ac_ext <<_ACEOF
2597 #line $LINENO "configure"
2600 cat confdefs.h
>>conftest.
$ac_ext
2601 cat >>conftest.
$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2612 rm -f conftest.o conftest.obj
2613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2614 (eval $ac_compile) 2>&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; then
2618 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2620 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2621 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2626 echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.
$ac_ext >&5
2629 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2630 See \`config.log' for more details." >&5
2631 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2632 See \`config.log' for more details." >&2;}
2633 { (exit 1); exit 1; }; }
2636 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2638 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2639 echo "${ECHO_T}$ac_cv_objext" >&6
2640 OBJEXT
=$ac_cv_objext
2642 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2643 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2644 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 cat >conftest.
$ac_ext <<_ACEOF
2648 #line $LINENO "configure"
2651 cat confdefs.h
>>conftest.
$ac_ext
2652 cat >>conftest.
$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2666 rm -f conftest.
$ac_objext
2667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2668 (eval $ac_compile) 2>&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); } &&
2672 { ac_try
='test -s conftest.$ac_objext'
2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; }; then
2680 echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.
$ac_ext >&5
2685 rm -f conftest.
$ac_objext conftest.
$ac_ext
2686 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2689 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2690 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2691 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2692 ac_test_CFLAGS
=${CFLAGS+set}
2693 ac_save_CFLAGS
=$CFLAGS
2695 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2696 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2697 if test "${ac_cv_prog_cc_g+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 cat >conftest.
$ac_ext <<_ACEOF
2701 #line $LINENO "configure"
2704 cat confdefs.h
>>conftest.
$ac_ext
2705 cat >>conftest.
$ac_ext <<_ACEOF
2706 /* end confdefs.h. */
2716 rm -f conftest.
$ac_objext
2717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2718 (eval $ac_compile) 2>&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } &&
2722 { ac_try
='test -s conftest.$ac_objext'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.
$ac_ext >&5
2735 rm -f conftest.
$ac_objext conftest.
$ac_ext
2737 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2738 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2739 if test "$ac_test_CFLAGS" = set; then
2740 CFLAGS
=$ac_save_CFLAGS
2741 elif test $ac_cv_prog_cc_g = yes; then
2742 if test "$GCC" = yes; then
2748 if test "$GCC" = yes; then
2754 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2755 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2756 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 ac_cv_prog_cc_stdc
=no
2761 cat >conftest.
$ac_ext <<_ACEOF
2762 #line $LINENO "configure"
2765 cat confdefs.h
>>conftest.
$ac_ext
2766 cat >>conftest.
$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2786 s = g (p, va_arg (v,int));
2790 int test (int i, double x);
2791 struct s1 {int (*f) (int a);};
2792 struct s2 {int (*f) (double a);};
2793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2799 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2804 # Don't try gcc -ansi; that turns off useful extensions and
2805 # breaks some systems' header files.
2806 # AIX -qlanglvl=ansi
2807 # Ultrix and OSF/1 -std1
2808 # HP-UX 10.20 and later -Ae
2809 # HP-UX older versions -Aa -D_HPUX_SOURCE
2810 # SVR4 -Xc -D__EXTENSIONS__
2811 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2813 CC
="$ac_save_CC $ac_arg"
2814 rm -f conftest.
$ac_objext
2815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2816 (eval $ac_compile) 2>&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } &&
2820 { ac_try
='test -s conftest.$ac_objext'
2821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; }; then
2826 ac_cv_prog_cc_stdc
=$ac_arg
2829 echo "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.
$ac_ext >&5
2833 rm -f conftest.
$ac_objext
2835 rm -f conftest.
$ac_ext conftest.
$ac_objext
2840 case "x$ac_cv_prog_cc_stdc" in
2842 echo "$as_me:$LINENO: result: none needed" >&5
2843 echo "${ECHO_T}none needed" >&6 ;;
2845 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2846 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2847 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2850 # Some people use a C++ compiler to compile C. Since we use `exit',
2851 # in C++ we need to declare it. In case someone uses the same compiler
2852 # for both compiling C and C++ we need to have the C++ compiler decide
2853 # the declaration of exit, since it's the most demanding environment.
2854 cat >conftest.
$ac_ext <<_ACEOF
2859 rm -f conftest.
$ac_objext
2860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2861 (eval $ac_compile) 2>&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try
='test -s conftest.$ac_objext'
2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; }; then
2871 for ac_declaration
in \
2873 '#include <stdlib.h>' \
2874 'extern "C" void std::exit (int) throw (); using std::exit;' \
2875 'extern "C" void std::exit (int); using std::exit;' \
2876 'extern "C" void exit (int) throw ();' \
2877 'extern "C" void exit (int);' \
2880 cat >conftest.
$ac_ext <<_ACEOF
2881 #line $LINENO "configure"
2884 cat confdefs.h
>>conftest.
$ac_ext
2885 cat >>conftest.
$ac_ext <<_ACEOF
2886 /* 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
2916 rm -f conftest.
$ac_objext conftest.
$ac_ext
2917 cat >conftest.
$ac_ext <<_ACEOF
2918 #line $LINENO "configure"
2921 cat confdefs.h
>>conftest.
$ac_ext
2922 cat >>conftest.
$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2933 rm -f conftest.
$ac_objext
2934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2935 (eval $ac_compile) 2>&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } &&
2939 { ac_try
='test -s conftest.$ac_objext'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.
$ac_ext >&5
2951 rm -f conftest.
$ac_objext conftest.
$ac_ext
2954 if test -n "$ac_declaration"; then
2955 echo '#ifdef __cplusplus' >>confdefs.h
2956 echo $ac_declaration >>confdefs.h
2957 echo '#endif' >>confdefs.h
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.
$ac_ext >&5
2965 rm -f conftest.
$ac_objext conftest.
$ac_ext
2967 ac_cpp
='$CPP $CPPFLAGS'
2968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2972 if test $host != $build; then
2973 for ac_prog
in gcc cc
2975 # Extract the first word of "$ac_prog", so it can be a program name with args.
2976 set dummy
$ac_prog; ac_word
=$2
2977 echo "$as_me:$LINENO: checking for $ac_word" >&5
2978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2979 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 if test -n "$BUILD_CC"; then
2983 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_BUILD_CC
="$ac_prog"
2993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 BUILD_CC
=$ac_cv_prog_BUILD_CC
3002 if test -n "$BUILD_CC"; then
3003 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
3004 echo "${ECHO_T}$BUILD_CC" >&6
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3010 test -n "$BUILD_CC" && break
3016 ac_cpp
='$CPP $CPPFLAGS'
3017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3020 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3021 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3022 # On Suns, sometimes $CPP names a directory.
3023 if test -n "$CPP" && test -d "$CPP"; then
3026 if test -z "$CPP"; then
3027 if test "${ac_cv_prog_CPP+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 # Double quotes because CPP needs to be expanded
3031 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3034 for ac_c_preproc_warn_flag
in '' yes
3036 # Use a header file that comes with gcc, so configuring glibc
3037 # with a fresh cross-compiler works.
3038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3039 # <limits.h> exists even on freestanding compilers.
3040 # On the NeXT, cc -E runs the code through the compiler's parser,
3041 # not just through cpp. "Syntax error" is here to catch this case.
3042 cat >conftest.
$ac_ext <<_ACEOF
3043 #line $LINENO "configure"
3046 cat confdefs.h
>>conftest.
$ac_ext
3047 cat >>conftest.
$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3050 # include <limits.h>
3052 # include <assert.h>
3056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3057 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3059 grep -v '^ *+' conftest.er1
>conftest.err
3061 cat conftest.err
>&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } >/dev
/null
; then
3064 if test -s conftest.err
; then
3065 ac_cpp_err
=$ac_c_preproc_warn_flag
3072 if test -z "$ac_cpp_err"; then
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.
$ac_ext >&5
3078 # Broken: fails on valid input.
3081 rm -f conftest.err conftest.
$ac_ext
3083 # OK, works on sane cases. Now check whether non-existent headers
3084 # can be detected and how.
3085 cat >conftest.
$ac_ext <<_ACEOF
3086 #line $LINENO "configure"
3089 cat confdefs.h
>>conftest.
$ac_ext
3090 cat >>conftest.
$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3092 #include <ac_nonexistent.h>
3094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3097 grep -v '^ *+' conftest.er1
>conftest.err
3099 cat conftest.err
>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev
/null
; then
3102 if test -s conftest.err
; then
3103 ac_cpp_err
=$ac_c_preproc_warn_flag
3110 if test -z "$ac_cpp_err"; then
3111 # Broken: success on invalid input.
3114 echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.
$ac_ext >&5
3117 # Passes both tests.
3121 rm -f conftest.err conftest.
$ac_ext
3124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3125 rm -f conftest.err conftest.
$ac_ext
3126 if $ac_preproc_ok; then
3138 echo "$as_me:$LINENO: result: $CPP" >&5
3139 echo "${ECHO_T}$CPP" >&6
3141 for ac_c_preproc_warn_flag
in '' yes
3143 # Use a header file that comes with gcc, so configuring glibc
3144 # with a fresh cross-compiler works.
3145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3146 # <limits.h> exists even on freestanding compilers.
3147 # On the NeXT, cc -E runs the code through the compiler's parser,
3148 # not just through cpp. "Syntax error" is here to catch this case.
3149 cat >conftest.
$ac_ext <<_ACEOF
3150 #line $LINENO "configure"
3153 cat confdefs.h
>>conftest.
$ac_ext
3154 cat >>conftest.
$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3157 # include <limits.h>
3159 # include <assert.h>
3163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1
>conftest.err
3168 cat conftest.err
>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } >/dev
/null
; then
3171 if test -s conftest.err
; then
3172 ac_cpp_err
=$ac_c_preproc_warn_flag
3179 if test -z "$ac_cpp_err"; then
3182 echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.
$ac_ext >&5
3185 # Broken: fails on valid input.
3188 rm -f conftest.err conftest.
$ac_ext
3190 # OK, works on sane cases. Now check whether non-existent headers
3191 # can be detected and how.
3192 cat >conftest.
$ac_ext <<_ACEOF
3193 #line $LINENO "configure"
3196 cat confdefs.h
>>conftest.
$ac_ext
3197 cat >>conftest.
$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3199 #include <ac_nonexistent.h>
3201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3204 grep -v '^ *+' conftest.er1
>conftest.err
3206 cat conftest.err
>&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } >/dev
/null
; then
3209 if test -s conftest.err
; then
3210 ac_cpp_err
=$ac_c_preproc_warn_flag
3217 if test -z "$ac_cpp_err"; then
3218 # Broken: success on invalid input.
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.
$ac_ext >&5
3224 # Passes both tests.
3228 rm -f conftest.err conftest.
$ac_ext
3231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3232 rm -f conftest.err conftest.
$ac_ext
3233 if $ac_preproc_ok; then
3236 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3237 See \`config.log' for more details." >&5
3238 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3239 See \`config.log' for more details." >&2;}
3240 { (exit 1); exit 1; }; }
3244 ac_cpp
='$CPP $CPPFLAGS'
3245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3249 # We need the C++ compiler only for testing.
3251 ac_cpp
='$CXXCPP $CPPFLAGS'
3252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3255 if test -n "$ac_tool_prefix"; then
3256 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3258 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3259 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3260 echo "$as_me:$LINENO: checking for $ac_word" >&5
3261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3262 if test "${ac_cv_prog_CXX+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 if test -n "$CXX"; then
3266 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir
=.
3273 for ac_exec_ext
in '' $ac_executable_extensions; do
3274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3275 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 if test -n "$CXX"; then
3286 echo "$as_me:$LINENO: result: $CXX" >&5
3287 echo "${ECHO_T}$CXX" >&6
3289 echo "$as_me:$LINENO: result: no" >&5
3290 echo "${ECHO_T}no" >&6
3293 test -n "$CXX" && break
3296 if test -z "$CXX"; then
3298 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3300 # Extract the first word of "$ac_prog", so it can be a program name with args.
3301 set dummy
$ac_prog; ac_word
=$2
3302 echo "$as_me:$LINENO: checking for $ac_word" >&5
3303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3304 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 if test -n "$ac_ct_CXX"; then
3308 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3314 test -z "$as_dir" && as_dir
=.
3315 for ac_exec_ext
in '' $ac_executable_extensions; do
3316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3317 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3327 if test -n "$ac_ct_CXX"; then
3328 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3329 echo "${ECHO_T}$ac_ct_CXX" >&6
3331 echo "$as_me:$LINENO: result: no" >&5
3332 echo "${ECHO_T}no" >&6
3335 test -n "$ac_ct_CXX" && break
3337 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3343 # Provide some information about the compiler.
3344 echo "$as_me:$LINENO:" \
3345 "checking for C++ compiler version" >&5
3346 ac_compiler
=`set X $ac_compile; echo $2`
3347 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3348 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }
3352 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3353 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }
3357 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3358 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); }
3363 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3364 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3365 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 cat >conftest.
$ac_ext <<_ACEOF
3369 #line $LINENO "configure"
3372 cat confdefs.h
>>conftest.
$ac_ext
3373 cat >>conftest.
$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3387 rm -f conftest.
$ac_objext
3388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3389 (eval $ac_compile) 2>&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } &&
3393 { ac_try
='test -s conftest.$ac_objext'
3394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); }; }; then
3401 echo "$as_me: failed program was:" >&5
3402 sed 's/^/| /' conftest.
$ac_ext >&5
3406 rm -f conftest.
$ac_objext conftest.
$ac_ext
3407 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3410 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3411 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3412 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3413 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3414 ac_save_CXXFLAGS
=$CXXFLAGS
3416 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3417 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3418 if test "${ac_cv_prog_cxx_g+set}" = set; then
3419 echo $ECHO_N "(cached) $ECHO_C" >&6
3421 cat >conftest.
$ac_ext <<_ACEOF
3422 #line $LINENO "configure"
3425 cat confdefs.h
>>conftest.
$ac_ext
3426 cat >>conftest.
$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3437 rm -f conftest.
$ac_objext
3438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3439 (eval $ac_compile) 2>&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); } &&
3443 { ac_try
='test -s conftest.$ac_objext'
3444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); }; }; then
3449 ac_cv_prog_cxx_g
=yes
3451 echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.
$ac_ext >&5
3456 rm -f conftest.
$ac_objext conftest.
$ac_ext
3458 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3459 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3460 if test "$ac_test_CXXFLAGS" = set; then
3461 CXXFLAGS
=$ac_save_CXXFLAGS
3462 elif test $ac_cv_prog_cxx_g = yes; then
3463 if test "$GXX" = yes; then
3469 if test "$GXX" = yes; then
3475 for ac_declaration
in \
3477 '#include <stdlib.h>' \
3478 'extern "C" void std::exit (int) throw (); using std::exit;' \
3479 'extern "C" void std::exit (int); using std::exit;' \
3480 'extern "C" void exit (int) throw ();' \
3481 'extern "C" void exit (int);' \
3484 cat >conftest.
$ac_ext <<_ACEOF
3485 #line $LINENO "configure"
3488 cat confdefs.h
>>conftest.
$ac_ext
3489 cat >>conftest.
$ac_ext <<_ACEOF
3490 /* 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
3520 rm -f conftest.
$ac_objext conftest.
$ac_ext
3521 cat >conftest.
$ac_ext <<_ACEOF
3522 #line $LINENO "configure"
3525 cat confdefs.h
>>conftest.
$ac_ext
3526 cat >>conftest.
$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3537 rm -f conftest.
$ac_objext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3539 (eval $ac_compile) 2>&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } &&
3543 { ac_try
='test -s conftest.$ac_objext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.
$ac_ext >&5
3555 rm -f conftest.
$ac_objext conftest.
$ac_ext
3558 if test -n "$ac_declaration"; then
3559 echo '#ifdef __cplusplus' >>confdefs.h
3560 echo $ac_declaration >>confdefs.h
3561 echo '#endif' >>confdefs.h
3565 ac_cpp
='$CPP $CPPFLAGS'
3566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3570 # Was a --with-binutils option given?
3571 if test -n "$path_binutils"; then
3572 # Make absolute; ensure a single trailing slash.
3573 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
3574 CC
="$CC -B$path_binutils"
3576 AS
=`$CC -print-prog-name=as`
3577 LD
=`$CC -print-prog-name=ld`
3578 AR
=`$CC -print-prog-name=ar`
3580 OBJDUMP
=`$CC -print-prog-name=objdump`
3583 # ranlib has to be treated a bit differently since it might not exist at all.
3584 ac_ranlib
=`$CC -print-prog-name=ranlib`
3585 if test "x$ac_ranlib" = xranlib
; then
3586 # This extra check has to happen since gcc simply echos the parameter in
3587 # case it cannot find the value in its own directories.
3588 if test -n "$ac_tool_prefix"; then
3589 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3590 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3591 echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3593 if test "${ac_cv_prog_RANLIB+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 if test -n "$RANLIB"; then
3597 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3603 test -z "$as_dir" && as_dir
=.
3604 for ac_exec_ext
in '' $ac_executable_extensions; do
3605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3606 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 RANLIB
=$ac_cv_prog_RANLIB
3616 if test -n "$RANLIB"; then
3617 echo "$as_me:$LINENO: result: $RANLIB" >&5
3618 echo "${ECHO_T}$RANLIB" >&6
3620 echo "$as_me:$LINENO: result: no" >&5
3621 echo "${ECHO_T}no" >&6
3625 if test -z "$ac_cv_prog_RANLIB"; then
3626 ac_ct_RANLIB
=$RANLIB
3627 # Extract the first word of "ranlib", so it can be a program name with args.
3628 set dummy ranlib
; ac_word
=$2
3629 echo "$as_me:$LINENO: checking for $ac_word" >&5
3630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3631 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3632 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 if test -n "$ac_ct_RANLIB"; then
3635 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir
=.
3642 for ac_exec_ext
in '' $ac_executable_extensions; do
3643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3644 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3654 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3655 if test -n "$ac_ct_RANLIB"; then
3656 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3657 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3659 echo "$as_me:$LINENO: result: no" >&5
3660 echo "${ECHO_T}no" >&6
3663 RANLIB
=$ac_ct_RANLIB
3665 RANLIB
="$ac_cv_prog_RANLIB"
3673 # Determine whether we are using GNU binutils.
3674 echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
3675 echo $ECHO_N "checking whether $AS is GNU as... $ECHO_C" >&6
3676 if test "${libc_cv_prog_as_gnu+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 # Most GNU programs take a -v and spit out some text including
3680 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
3681 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
3682 libc_cv_prog_as_gnu
=yes
3684 libc_cv_prog_as_gnu
=no
3688 echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
3689 echo "${ECHO_T}$libc_cv_prog_as_gnu" >&6
3691 gnu_as
=$libc_cv_prog_as_gnu
3693 echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
3694 echo $ECHO_N "checking whether $LD is GNU ld... $ECHO_C" >&6
3695 if test "${libc_cv_prog_ld_gnu+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3698 # Most GNU programs take a -v and spit out some text including
3699 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
3700 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
3701 libc_cv_prog_ld_gnu
=yes
3703 libc_cv_prog_ld_gnu
=no
3707 echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
3708 echo "${ECHO_T}$libc_cv_prog_ld_gnu" >&6
3709 gnu_ld
=$libc_cv_prog_ld_gnu
3712 # Accept binutils 2.13 or newer.
3715 # Extract the first word of "$ac_prog", so it can be a program name with args.
3716 set dummy
$ac_prog; ac_word
=$2
3717 echo "$as_me:$LINENO: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3719 if test "${ac_cv_prog_AS+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 if test -n "$AS"; then
3723 ac_cv_prog_AS
="$AS" # Let the user override the test.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_exec_ext
in '' $ac_executable_extensions; do
3731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_AS
="$ac_prog"
3733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 if test -n "$AS"; then
3743 echo "$as_me:$LINENO: result: $AS" >&5
3744 echo "${ECHO_T}$AS" >&6
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3750 test -n "$AS" && break
3753 if test -z "$AS"; then
3756 # Found it, now check the version.
3757 echo "$as_me:$LINENO: checking version of $AS" >&5
3758 echo $ECHO_N "checking version of $AS... $ECHO_C" >&6
3759 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
3760 case $ac_prog_version in
3761 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3763 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3764 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3767 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
3768 echo "${ECHO_T}$ac_prog_version" >&6
3770 if test $ac_verc_fail = yes; then
3771 AS
=: critic_missing
="$critic_missing as"
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy
$ac_prog; ac_word
=$2
3778 echo "$as_me:$LINENO: checking for $ac_word" >&5
3779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3780 if test "${ac_cv_prog_LD+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 if test -n "$LD"; then
3784 ac_cv_prog_LD
="$LD" # Let the user override the test.
3786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir
=.
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_LD
="$ac_prog"
3794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 if test -n "$LD"; then
3804 echo "$as_me:$LINENO: result: $LD" >&5
3805 echo "${ECHO_T}$LD" >&6
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3811 test -n "$LD" && break
3814 if test -z "$LD"; then
3817 # Found it, now check the version.
3818 echo "$as_me:$LINENO: checking version of $LD" >&5
3819 echo $ECHO_N "checking version of $LD... $ECHO_C" >&6
3820 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
3821 case $ac_prog_version in
3822 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3824 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3825 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3828 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
3829 echo "${ECHO_T}$ac_prog_version" >&6
3831 if test $ac_verc_fail = yes; then
3832 LD
=: critic_missing
="$critic_missing ld"
3836 # We need the physical current working directory. We cannot use the
3837 # "pwd -P" shell builtin since that's not portable. Instead we try to
3838 # find a pwd binary. Note that assigning to the PWD environment
3839 # variable might have some interesting side effects, so we don't do
3841 # Extract the first word of "pwd", so it can be a program name with args.
3842 set dummy
pwd; ac_word
=$2
3843 echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3845 if test "${ac_cv_path_PWD_P+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
3853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir
=.
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
3861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
3871 PWD_P
=$ac_cv_path_PWD_P
3873 if test -n "$PWD_P"; then
3874 echo "$as_me:$LINENO: result: $PWD_P" >&5
3875 echo "${ECHO_T}$PWD_P" >&6
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3881 if test "$PWD_P" = no
; then
3882 { { echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
3883 echo "$as_me: error: *** A pwd binary could not be found." >&2;}
3884 { (exit 1); exit 1; }; }
3887 # These programs are version sensitive.
3889 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
3891 # Extract the first word of "$ac_prog", so it can be a program name with args.
3892 set dummy
$ac_prog; ac_word
=$2
3893 echo "$as_me:$LINENO: checking for $ac_word" >&5
3894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3895 if test "${ac_cv_prog_CC+set}" = set; then
3896 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 if test -n "$CC"; then
3899 ac_cv_prog_CC
="$CC" # Let the user override the test.
3901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir
=.
3906 for ac_exec_ext
in '' $ac_executable_extensions; do
3907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3908 ac_cv_prog_CC
="$ac_prog"
3909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 if test -n "$CC"; then
3919 echo "$as_me:$LINENO: result: $CC" >&5
3920 echo "${ECHO_T}$CC" >&6
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3926 test -n "$CC" && break
3929 if test -z "$CC"; then
3932 # Found it, now check the version.
3933 echo "$as_me:$LINENO: checking version of $CC" >&5
3934 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
3935 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
3936 case $ac_prog_version in
3937 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3939 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3940 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3943 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
3944 echo "${ECHO_T}$ac_prog_version" >&6
3946 if test $ac_verc_fail = yes; then
3947 critic_missing
="$critic_missing gcc"
3950 for ac_prog
in gnumake gmake
make
3952 # Extract the first word of "$ac_prog", so it can be a program name with args.
3953 set dummy
$ac_prog; ac_word
=$2
3954 echo "$as_me:$LINENO: checking for $ac_word" >&5
3955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3956 if test "${ac_cv_prog_MAKE+set}" = set; then
3957 echo $ECHO_N "(cached) $ECHO_C" >&6
3959 if test -n "$MAKE"; then
3960 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
3962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3966 test -z "$as_dir" && as_dir
=.
3967 for ac_exec_ext
in '' $ac_executable_extensions; do
3968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3969 ac_cv_prog_MAKE
="$ac_prog"
3970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 MAKE
=$ac_cv_prog_MAKE
3979 if test -n "$MAKE"; then
3980 echo "$as_me:$LINENO: result: $MAKE" >&5
3981 echo "${ECHO_T}$MAKE" >&6
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3987 test -n "$MAKE" && break
3990 if test -z "$MAKE"; then
3993 # Found it, now check the version.
3994 echo "$as_me:$LINENO: checking version of $MAKE" >&5
3995 echo $ECHO_N "checking version of $MAKE... $ECHO_C" >&6
3996 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
3997 case $ac_prog_version in
3998 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4000 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4001 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4004 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4005 echo "${ECHO_T}$ac_prog_version" >&6
4007 if test $ac_verc_fail = yes; then
4008 critic_missing
="$critic_missing make"
4012 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
4014 # Extract the first word of "$ac_prog", so it can be a program name with args.
4015 set dummy
$ac_prog; ac_word
=$2
4016 echo "$as_me:$LINENO: checking for $ac_word" >&5
4017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4018 if test "${ac_cv_prog_MSGFMT+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 if test -n "$MSGFMT"; then
4022 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4031 ac_cv_prog_MSGFMT
="$ac_prog"
4032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 MSGFMT
=$ac_cv_prog_MSGFMT
4041 if test -n "$MSGFMT"; then
4042 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4043 echo "${ECHO_T}$MSGFMT" >&6
4045 echo "$as_me:$LINENO: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4049 test -n "$MSGFMT" && break
4052 if test -z "$MSGFMT"; then
4055 # Found it, now check the version.
4056 echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
4057 echo $ECHO_N "checking version of $MSGFMT... $ECHO_C" >&6
4058 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4059 case $ac_prog_version in
4060 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4061 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
4062 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4063 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4066 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4067 echo "${ECHO_T}$ac_prog_version" >&6
4069 if test $ac_verc_fail = yes; then
4070 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4073 for ac_prog
in makeinfo
4075 # Extract the first word of "$ac_prog", so it can be a program name with args.
4076 set dummy
$ac_prog; ac_word
=$2
4077 echo "$as_me:$LINENO: checking for $ac_word" >&5
4078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4079 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 if test -n "$MAKEINFO"; then
4083 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir
=.
4090 for ac_exec_ext
in '' $ac_executable_extensions; do
4091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4092 ac_cv_prog_MAKEINFO
="$ac_prog"
4093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 MAKEINFO
=$ac_cv_prog_MAKEINFO
4102 if test -n "$MAKEINFO"; then
4103 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
4104 echo "${ECHO_T}$MAKEINFO" >&6
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4110 test -n "$MAKEINFO" && break
4113 if test -z "$MAKEINFO"; then
4116 # Found it, now check the version.
4117 echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
4118 echo $ECHO_N "checking version of $MAKEINFO... $ECHO_C" >&6
4119 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4120 case $ac_prog_version in
4121 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4123 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4124 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4127 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4128 echo "${ECHO_T}$ac_prog_version" >&6
4130 if test $ac_verc_fail = yes; then
4131 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
4136 # Extract the first word of "$ac_prog", so it can be a program name with args.
4137 set dummy
$ac_prog; ac_word
=$2
4138 echo "$as_me:$LINENO: checking for $ac_word" >&5
4139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4140 if test "${ac_cv_prog_SED+set}" = set; then
4141 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 if test -n "$SED"; then
4144 ac_cv_prog_SED
="$SED" # Let the user override the test.
4146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4150 test -z "$as_dir" && as_dir
=.
4151 for ac_exec_ext
in '' $ac_executable_extensions; do
4152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4153 ac_cv_prog_SED
="$ac_prog"
4154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 if test -n "$SED"; then
4164 echo "$as_me:$LINENO: result: $SED" >&5
4165 echo "${ECHO_T}$SED" >&6
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4171 test -n "$SED" && break
4174 if test -z "$SED"; then
4177 # Found it, now check the version.
4178 echo "$as_me:$LINENO: checking version of $SED" >&5
4179 echo $ECHO_N "checking version of $SED... $ECHO_C" >&6
4180 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
4181 case $ac_prog_version in
4182 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4183 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
4184 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4185 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4188 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
4189 echo "${ECHO_T}$ac_prog_version" >&6
4191 if test $ac_verc_fail = yes; then
4192 SED
=: aux_missing
="$aux_missing sed"
4196 for ac_prog
in autoconf
4198 # Extract the first word of "$ac_prog", so it can be a program name with args.
4199 set dummy
$ac_prog; ac_word
=$2
4200 echo "$as_me:$LINENO: checking for $ac_word" >&5
4201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4202 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 if test -n "$AUTOCONF"; then
4206 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
4208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir
=.
4213 for ac_exec_ext
in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215 ac_cv_prog_AUTOCONF
="$ac_prog"
4216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 AUTOCONF
=$ac_cv_prog_AUTOCONF
4225 if test -n "$AUTOCONF"; then
4226 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
4227 echo "${ECHO_T}$AUTOCONF" >&6
4229 echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6
4233 test -n "$AUTOCONF" && break
4235 test -n "$AUTOCONF" || AUTOCONF
="no"
4237 case "x$AUTOCONF" in
4238 xno|x|x
:) AUTOCONF
=no
;;
4240 echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
4241 echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6
4242 if test "${libc_cv_autoconf_works+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
4246 libc_cv_autoconf_works
=yes
4248 libc_cv_autoconf_works
=no
4251 echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
4252 echo "${ECHO_T}$libc_cv_autoconf_works" >&6
4253 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
4256 if test "x$with_cvs" = xyes
&& test "x$AUTOCONF" = xno
; then
4257 # If --without-cvs they probably won't change configure.in, so no complaints.
4258 aux_missing
="$aux_missing autoconf"
4261 test -n "$critic_missing" && { { echo "$as_me:$LINENO: error:
4262 *** These critical programs are missing or too old:$critic_missing
4263 *** Check the INSTALL file for required versions." >&5
4264 echo "$as_me: error:
4265 *** These critical programs are missing or too old:$critic_missing
4266 *** Check the INSTALL file for required versions." >&2;}
4267 { (exit 1); exit 1; }; }
4269 test -n "$aux_missing" && { echo "$as_me:$LINENO: WARNING:
4270 *** These auxiliary programs are missing or incompatible versions:$aux_missing
4271 *** some features will be disabled.
4272 *** Check the INSTALL file for required versions." >&5
4273 echo "$as_me: WARNING:
4274 *** These auxiliary programs are missing or incompatible versions:$aux_missing
4275 *** some features will be disabled.
4276 *** Check the INSTALL file for required versions." >&2;}
4278 # if using special system headers, find out the compiler's sekrit
4279 # header directory and add that to the list. NOTE: Only does the right
4280 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
4281 if test -n "$sysheaders"; then
4282 ccheaders
=`$CC -print-file-name=include`
4283 SYSINCLUDES
="-nostdinc -isystem $ccheaders -isystem $sysheaders"
4287 # check if ranlib is necessary
4288 echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
4289 echo $ECHO_N "checking whether ranlib is necessary... $ECHO_C" >&6
4290 if test "${libc_cv_ranlib_necessary+set}" = set; then
4291 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 cat > conftest.c
<<EOF
4298 $CC $CFLAGS $CPPFLAGS -c conftest.c
4299 $AR cr conftest.a conftest.o
4300 cp conftest.a conftest2.a
4302 if cmp -s conftest.a conftest2.a
; then
4303 libc_cv_ranlib_necessary
=no
4305 libc_cv_ranlib_necessary
=yes
4309 echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
4310 echo "${ECHO_T}$libc_cv_ranlib_necessary" >&6
4311 if test "$libc_cv_ranlib_necessary" = no
; then
4315 # Test if LD_LIBRARY_PATH contains the notation for the current directory
4316 # since this would lead to problems installing/building glibc.
4317 # LD_LIBRARY_PATH contains the current directory if one of the following
4319 # - one of the terminals (":" and ";") is the first or last sign
4320 # - two terminals occur directly after each other
4321 # - the path contains an element with a dot in it
4322 echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
4323 echo $ECHO_N "checking LD_LIBRARY_PATH variable... $ECHO_C" >&6
4324 case ${LD_LIBRARY_PATH} in
4325 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
4326 ld_library_path_setting
="contains current directory"
4329 ld_library_path_setting
="ok"
4332 echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
4333 echo "${ECHO_T}$ld_library_path_setting" >&6
4334 if test "$ld_library_path_setting" != "ok"; then
4335 { { echo "$as_me:$LINENO: error:
4336 *** LD_LIBRARY_PATH shouldn't contain the current directory when
4337 *** building glibc. Please change the environment variable
4338 *** and run configure again." >&5
4339 echo "$as_me: error:
4340 *** LD_LIBRARY_PATH shouldn't contain the current directory when
4341 *** building glibc. Please change the environment variable
4342 *** and run configure again." >&2;}
4343 { (exit 1); exit 1; }; }
4346 echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
4347 echo $ECHO_N "checking whether GCC supports -static-libgcc... $ECHO_C" >&6
4348 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
4352 libc_cv_gcc_static_libgcc
=
4354 libc_cv_gcc_static_libgcc
=-static-libgcc
4357 echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
4358 echo "${ECHO_T}$libc_cv_gcc_static_libgcc" >&6
4361 # Extract the first word of "bash", so it can be a program name with args.
4362 set dummy bash
; ac_word
=$2
4363 echo "$as_me:$LINENO: checking for $ac_word" >&5
4364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4365 if test "${ac_cv_path_BASH+set}" = set; then
4366 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
4373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir
=.
4378 for ac_exec_ext
in '' $ac_executable_extensions; do
4379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_path_BASH
="$as_dir/$ac_word$ac_exec_ext"
4381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="no"
4391 BASH
=$ac_cv_path_BASH
4393 if test -n "$BASH"; then
4394 echo "$as_me:$LINENO: result: $BASH" >&5
4395 echo "${ECHO_T}$BASH" >&6
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4401 if test "$BASH" != no
&&
4402 $BASH -c 'test "$BASH_VERSINFO" \
4403 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
4404 libc_cv_have_bash2
=yes
4406 libc_cv_have_bash2
=no
4410 if test "$BASH" = no
; then
4411 # Extract the first word of "ksh", so it can be a program name with args.
4412 set dummy ksh
; ac_word
=$2
4413 echo "$as_me:$LINENO: checking for $ac_word" >&5
4414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4415 if test "${ac_cv_path_KSH+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
4423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir
=.
4428 for ac_exec_ext
in '' $ac_executable_extensions; do
4429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
4431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
4443 if test -n "$KSH"; then
4444 echo "$as_me:$LINENO: result: $KSH" >&5
4445 echo "${ECHO_T}$KSH" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4451 if test "$KSH" = no
; then
4454 libc_cv_have_ksh
=yes
4459 libc_cv_have_ksh
=yes
4463 for ac_prog
in gawk mawk nawk
awk
4465 # Extract the first word of "$ac_prog", so it can be a program name with args.
4466 set dummy
$ac_prog; ac_word
=$2
4467 echo "$as_me:$LINENO: checking for $ac_word" >&5
4468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4469 if test "${ac_cv_prog_AWK+set}" = set; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 if test -n "$AWK"; then
4473 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir
=.
4480 for ac_exec_ext
in '' $ac_executable_extensions; do
4481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4482 ac_cv_prog_AWK
="$ac_prog"
4483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 if test -n "$AWK"; then
4493 echo "$as_me:$LINENO: result: $AWK" >&5
4494 echo "${ECHO_T}$AWK" >&6
4496 echo "$as_me:$LINENO: result: no" >&5
4497 echo "${ECHO_T}no" >&6
4500 test -n "$AWK" && break
4503 # Extract the first word of "perl", so it can be a program name with args.
4504 set dummy perl
; ac_word
=$2
4505 echo "$as_me:$LINENO: checking for $ac_word" >&5
4506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4507 if test "${ac_cv_path_PERL+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir
=.
4520 for ac_exec_ext
in '' $ac_executable_extensions; do
4521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
4533 PERL
=$ac_cv_path_PERL
4535 if test -n "$PERL"; then
4536 echo "$as_me:$LINENO: result: $PERL" >&5
4537 echo "${ECHO_T}$PERL" >&6
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4543 if test "$PERL" != no
&&
4544 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
4547 # Extract the first word of "install-info", so it can be a program name with args.
4548 set dummy install-info
; ac_word
=$2
4549 echo "$as_me:$LINENO: checking for $ac_word" >&5
4550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4551 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 case $INSTALL_INFO in
4556 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4560 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
4561 for as_dir
in $as_dummy
4564 test -z "$as_dir" && as_dir
=.
4565 for ac_exec_ext
in '' $ac_executable_extensions; do
4566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4567 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
4578 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4580 if test -n "$INSTALL_INFO"; then
4581 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4582 echo "${ECHO_T}$INSTALL_INFO" >&6
4584 echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6
4588 # Extract the first word of "bison", so it can be a program name with args.
4589 set dummy bison
; ac_word
=$2
4590 echo "$as_me:$LINENO: checking for $ac_word" >&5
4591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4592 if test "${ac_cv_path_BISON+set}" = set; then
4593 echo $ECHO_N "(cached) $ECHO_C" >&6
4597 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4601 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
4602 for as_dir
in $as_dummy
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
4609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4615 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
4619 BISON
=$ac_cv_path_BISON
4621 if test -n "$BISON"; then
4622 echo "$as_me:$LINENO: result: $BISON" >&5
4623 echo "${ECHO_T}$BISON" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4630 echo "$as_me:$LINENO: checking for signed size_t type" >&5
4631 echo $ECHO_N "checking for signed size_t type... $ECHO_C" >&6
4632 if test "${libc_cv_signed_size_t+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 echo '#include <stddef.h>
4636 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
4637 if eval "$ac_cpp conftest.c 2>/dev/null" \
4638 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
4639 libc_cv_signed_size_t
=no
4641 libc_cv_signed_size_t
=yes
4645 echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
4646 echo "${ECHO_T}$libc_cv_signed_size_t" >&6
4647 if test $libc_cv_signed_size_t = yes; then
4648 cat >> confdefs.h
<<\EOF
4649 #undef __SIZE_TYPE__
4650 #define __SIZE_TYPE__ unsigned
4655 echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
4656 echo $ECHO_N "checking for libc-friendly stddef.h... $ECHO_C" >&6
4657 if test "${libc_cv_friendly_stddef+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4660 cat >conftest.
$ac_ext <<_ACEOF
4661 #line $LINENO "configure"
4664 cat confdefs.h
>>conftest.
$ac_ext
4665 cat >>conftest.
$ac_ext <<_ACEOF
4666 /* end confdefs.h. */
4667 #define __need_size_t
4668 #define __need_wchar_t
4675 size_t size; wchar_t wchar;
4677 #error stddef.h ignored __need_*
4679 if (&size == NULL || &wchar == NULL) abort ();
4684 rm -f conftest.
$ac_objext
4685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4686 (eval $ac_compile) 2>&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); } &&
4690 { ac_try
='test -s conftest.$ac_objext'
4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); }; }; then
4696 libc_cv_friendly_stddef
=yes
4698 echo "$as_me: failed program was:" >&5
4699 sed 's/^/| /' conftest.
$ac_ext >&5
4701 libc_cv_friendly_stddef
=no
4703 rm -f conftest.
$ac_objext conftest.
$ac_ext
4705 echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
4706 echo "${ECHO_T}$libc_cv_friendly_stddef" >&6
4707 if test $libc_cv_friendly_stddef = yes; then
4708 config_vars
="$config_vars
4709 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
4712 echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
4713 echo $ECHO_N "checking whether we need to use -P to assemble .S files... $ECHO_C" >&6
4714 if test "${libc_cv_need_minus_P+set}" = set; then
4715 echo $ECHO_N "(cached) $ECHO_C" >&6
4717 cat > conftest.S
<<EOF
4718 #include "confdefs.h"
4719 /* Nothing whatsoever. */
4721 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; }; then
4727 libc_cv_need_minus_P
=no
4729 libc_cv_need_minus_P
=yes
4733 echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
4734 echo "${ECHO_T}$libc_cv_need_minus_P" >&6
4735 if test $libc_cv_need_minus_P = yes; then
4736 config_vars
="$config_vars
4737 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
4740 echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
4741 echo $ECHO_N "checking whether .text pseudo-op must be used... $ECHO_C" >&6
4742 if test "${libc_cv_dot_text+set}" = set; then
4743 echo $ECHO_N "(cached) $ECHO_C" >&6
4745 cat > conftest.s
<<EOF
4749 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; }; then
4755 libc_cv_dot_text
=.text
4760 if test -z "$libc_cv_dot_text"; then
4761 echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6
4764 echo "$as_me:$LINENO: result: yes" >&5
4765 echo "${ECHO_T}yes" >&6
4768 echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
4769 echo $ECHO_N "checking for assembler global-symbol directive... $ECHO_C" >&6
4770 if test "${libc_cv_asm_global_directive+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 libc_cv_asm_global_directive
=UNKNOWN
4774 for ac_globl
in .globl .global .EXPORT
; do
4775 cat > conftest.s
<<EOF
4780 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); }; }; then
4786 libc_cv_asm_global_directive
=${ac_globl}
4789 test $libc_cv_asm_global_directive != UNKNOWN
&& break
4792 echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
4793 echo "${ECHO_T}$libc_cv_asm_global_directive" >&6
4794 if test $libc_cv_asm_global_directive = UNKNOWN
; then
4795 { { echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
4796 echo "$as_me: error: cannot determine asm global directive" >&2;}
4797 { (exit 1); exit 1; }; }
4799 cat >>confdefs.h
<<_ACEOF
4800 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
4805 echo "$as_me:$LINENO: checking for .set assembler directive" >&5
4806 echo $ECHO_N "checking for .set assembler directive... $ECHO_C" >&6
4807 if test "${libc_cv_asm_set_directive+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 cat > conftest.s
<<EOF
4813 .set glibc_conftest_frobozz,foo
4814 $libc_cv_asm_global_directive glibc_conftest_frobozz
4816 # The alpha-dec-osf1 assembler gives only a warning for `.set'
4817 # (but it doesn't work), so we must do a linking check to be sure.
4818 cat > conftest1.c
<<\EOF
4819 extern int glibc_conftest_frobozz
;
4820 void _start
() { glibc_conftest_frobozz
= 1; }
4822 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
4823 -nostartfiles -nostdlib \
4824 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
4825 libc_cv_asm_set_directive
=yes
4827 libc_cv_asm_set_directive
=no
4831 echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
4832 echo "${ECHO_T}$libc_cv_asm_set_directive" >&6
4833 if test $libc_cv_asm_set_directive = yes; then
4834 cat >>confdefs.h
<<\_ACEOF
4835 #define HAVE_ASM_SET_DIRECTIVE 1
4840 echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
4841 echo $ECHO_N "checking for assembler .type directive prefix... $ECHO_C" >&6
4842 if test "${libc_cv_asm_type_prefix+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 libc_cv_asm_type_prefix
=no
4846 for ac_try_prefix
in '@' '%' '#'; do
4847 cat > conftest.s
<<EOF
4849 ${libc_cv_asm_global_directive} foo
4850 .type foo, ${ac_try_prefix}object
4855 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; }; then
4861 libc_cv_asm_type_prefix
=${ac_try_prefix}
4864 test "x$libc_cv_asm_type_prefix" != xno
&& break
4867 echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
4868 echo "${ECHO_T}$libc_cv_asm_type_prefix" >&6
4869 if test "x$libc_cv_asm_type_prefix" != xno
; then
4870 cat >>confdefs.h
<<_ACEOF
4871 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
4876 # The Aix ld uses global .symbol_names instead of symbol_names.
4877 # Unfortunately also used in the PPC64 ELF ABI.
4878 case "${os}${machine}" in
4879 aix4.3
* | linux
*powerpc
/powerpc64
*)
4880 cat >>confdefs.h
<<\_ACEOF
4881 #define HAVE_ASM_GLOBAL_DOT_NAME 1
4886 echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
4887 echo $ECHO_N "checking for .symver assembler directive... $ECHO_C" >&6
4888 if test "${libc_cv_asm_symver_directive+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 cat > conftest.s
<<EOF
4894 .symver _sym,sym@VERS
4896 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
4897 libc_cv_asm_symver_directive
=yes
4899 libc_cv_asm_symver_directive
=no
4903 echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
4904 echo "${ECHO_T}$libc_cv_asm_symver_directive" >&6
4905 echo "$as_me:$LINENO: checking for ld --version-script" >&5
4906 echo $ECHO_N "checking for ld --version-script... $ECHO_C" >&6
4907 if test "${libc_cv_ld_version_script_option+set}" = set; then
4908 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 if test $libc_cv_asm_symver_directive = yes; then
4911 cat > conftest.s
<<EOF
4914 .symver _sym,sym@VERS
4916 cat > conftest.map
<<EOF
4925 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
4926 if { ac_try
='${CC-cc} $CFLAGS $LDFLAGS -shared
4927 -o conftest.so conftest.o
4928 -nostartfiles -nostdlib
4929 -Wl,--version-script,conftest.map
4931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; };
4937 libc_cv_ld_version_script_option
=yes
4939 libc_cv_ld_version_script_option
=no
4942 libc_cv_ld_version_script_option
=no
4945 libc_cv_ld_version_script_option
=no
4949 echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
4950 echo "${ECHO_T}$libc_cv_ld_version_script_option" >&6
4951 if test $shared != no
&&
4952 test $libc_cv_asm_symver_directive = yes &&
4953 test $libc_cv_ld_version_script_option = yes &&
4954 test $enable_versioning = yes; then
4956 cat >>confdefs.h
<<\_ACEOF
4957 #define DO_VERSIONING 1
4965 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
4967 *** WARNING: You should not compile GNU libc without versioning. Not using
4968 *** versioning will introduce incompatibilities so that old binaries
4969 *** will not run anymore.
4970 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
4972 if test $elf = yes; then
4973 echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
4974 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6
4975 if test "${libc_cv_asm_previous_directive+set}" = set; then
4976 echo $ECHO_N "(cached) $ECHO_C" >&6
4978 cat > conftest.s
<<EOF
4979 .section foo_section
4982 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
4983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); }; }; then
4988 libc_cv_asm_previous_directive
=yes
4990 libc_cv_asm_previous_directive
=no
4994 echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
4995 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6
4996 if test $libc_cv_asm_previous_directive = yes; then
4997 cat >>confdefs.h
<<\_ACEOF
4998 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
5002 echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
5003 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6
5004 if test "${libc_cv_asm_popsection_directive+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 cat > conftest.s
<<EOF
5008 .pushsection foo_section
5011 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; }; then
5017 libc_cv_asm_popsection_directive
=yes
5019 libc_cv_asm_popsection_directive
=no
5023 echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
5024 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6
5025 if test $libc_cv_asm_popsection_directive = yes; then
5026 cat >>confdefs.h
<<\_ACEOF
5027 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
5032 echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
5033 echo $ECHO_N "checking for .protected and .hidden assembler directive... $ECHO_C" >&6
5034 if test "${libc_cv_asm_protected_directive+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5037 cat > conftest.s
<<EOF
5043 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; }; then
5049 libc_cv_asm_protected_directive
=yes
5051 libc_cv_asm_protected_directive
=no
5055 echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
5056 echo "${ECHO_T}$libc_cv_asm_protected_directive" >&6
5058 cat >>confdefs.h
<<\_ACEOF
5059 #define HAVE_PROTECTED 1
5062 cat >>confdefs.h
<<\_ACEOF
5063 #define HAVE_HIDDEN 1
5067 if test $libc_cv_asm_protected_directive = yes; then
5068 echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
5069 echo $ECHO_N "checking whether __attribute__((visibility())) is supported... $ECHO_C" >&6
5070 if test "${libc_cv_visibility_attribute+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 cat > conftest.c
<<EOF
5074 int foo __attribute__ ((visibility ("hidden"))) = 1;
5075 int bar __attribute__ ((visibility ("protected"))) = 1;
5077 libc_cv_visibility_attribute
=no
5078 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); }; }; then
5084 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
5085 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5086 libc_cv_visibility_attribute
=yes
5093 echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
5094 echo "${ECHO_T}$libc_cv_visibility_attribute" >&6
5095 if test $libc_cv_visibility_attribute = yes; then
5096 cat >>confdefs.h
<<\_ACEOF
5097 #define HAVE_VISIBILITY_ATTRIBUTE 1
5103 if test $libc_cv_visibility_attribute = yes; then
5104 echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
5105 echo $ECHO_N "checking for broken __attribute__((visibility()))... $ECHO_C" >&6
5106 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
5107 echo $ECHO_N "(cached) $ECHO_C" >&6
5109 cat > conftest.c
<<EOF
5111 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5112 int bar (int x) { return x; }
5114 libc_cv_broken_visibility_attribute
=yes
5115 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
5116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); }; }; then
5121 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5122 libc_cv_broken_visibility_attribute
=no
5125 rm -f conftest.c conftest.s
5128 echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
5129 echo "${ECHO_T}$libc_cv_broken_visibility_attribute" >&6
5130 if test $libc_cv_broken_visibility_attribute = yes; then
5131 cat >>confdefs.h
<<\_ACEOF
5132 #define HAVE_BROKEN_VISIBILITY_ATTRIBUTE 1
5138 echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
5139 echo $ECHO_N "checking for broken __attribute__((alias()))... $ECHO_C" >&6
5140 if test "${libc_cv_broken_alias_attribute+set}" = set; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 cat > conftest.c
<<EOF
5144 extern int foo (int x) __asm ("xyzzy");
5145 int bar (int x) { return x; }
5146 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5148 extern __typeof (dfoo) dfoo __asm ("abccb");
5151 libc_cv_broken_alias_attribute
=yes
5152 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); }; }; then
5158 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5159 grep 'abccb' conftest.s
>/dev
/null
; then
5160 libc_cv_broken_alias_attribute
=no
5163 rm -f conftest.c conftest.s
5166 echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
5167 echo "${ECHO_T}$libc_cv_broken_alias_attribute" >&6
5168 if test $libc_cv_broken_alias_attribute = yes; then
5169 cat >>confdefs.h
<<\_ACEOF
5170 #define HAVE_BROKEN_ALIAS_ATTRIBUTE 1
5175 if test $libc_cv_visibility_attribute = yes -a $gnu_ld = yes; then
5176 echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
5177 echo $ECHO_N "checking whether to put _rtld_local into .sdata section... $ECHO_C" >&6
5178 if test "${libc_cv_have_sdata_section+set}" = set; then
5179 echo $ECHO_N "(cached) $ECHO_C" >&6
5181 echo "int i;" > conftest.c
5182 libc_cv_have_sdata_section
=no
5183 if ${CC-cc} $LDFLAGS -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5184 |
grep '\.sdata' >/dev
/null
; then
5185 libc_cv_have_sdata_section
=yes
5187 rm -f conftest.c conftest.so
5190 echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
5191 echo "${ECHO_T}$libc_cv_have_sdata_section" >&6
5192 if test $libc_cv_have_sdata_section = yes; then
5193 cat >>confdefs.h
<<\_ACEOF
5194 #define HAVE_SDATA_SECTION 1
5200 echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
5201 echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6
5202 if test "${libc_cv_initfinit_array+set}" = set; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 cat > conftest.c
<<EOF
5206 int _start (void) { return 0; }
5207 int __start (void) { return 0; }
5208 int foo (void) { return 1; }
5209 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
5211 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
5212 -static -nostartfiles -nostdlib 1>&5'
5213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; }
5219 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
5220 libc_cv_initfinit_array
=yes
5222 libc_cv_initfinit_array
=no
5225 libc_cv_initfinit_array
=no
5229 echo "$as_me:$LINENO: result: $libc_cv_initfinit_array" >&5
5230 echo "${ECHO_T}$libc_cv_initfinit_array" >&6
5232 if test $libc_cv_initfinit_array = yes; then
5233 cat >>confdefs.h
<<\_ACEOF
5234 #define HAVE_INITFINI_ARRAY 1
5239 echo "$as_me:$LINENO: checking for libunwind-support in compiler" >&5
5240 echo $ECHO_N "checking for libunwind-support in compiler... $ECHO_C" >&6
5241 if test "${libc_cv_cc_with_libunwind+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 cat >conftest.
$ac_ext <<_ACEOF
5245 #line $LINENO "configure"
5248 cat confdefs.h
>>conftest.
$ac_ext
5249 cat >>conftest.
$ac_ext <<_ACEOF
5250 /* end confdefs.h. */
5251 #include <libunwind.h>
5258 unw_getcontext (&uc);
5259 unw_init_local (&c, &uc)
5264 rm -f conftest.
$ac_objext conftest
$ac_exeext
5265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5266 (eval $ac_link) 2>&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); } &&
5270 { ac_try
='test -s conftest$ac_exeext'
5271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); }; }; then
5276 libc_cv_cc_with_libunwind
=yes
5278 echo "$as_me: failed program was:" >&5
5279 sed 's/^/| /' conftest.
$ac_ext >&5
5281 libc_cv_cc_with_libunwind
=no
5283 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5285 echo "$as_me:$LINENO: result: $libc_cv_cc_with_libunwind" >&5
5286 echo "${ECHO_T}$libc_cv_cc_with_libunwind" >&6
5288 if test $libc_cv_cc_with_libunwind = yes; then
5289 cat >>confdefs.h
<<\_ACEOF
5290 #define HAVE_CC_WITH_LIBUNWIND 1
5295 echo "$as_me:$LINENO: checking for -z nodelete option" >&5
5296 echo $ECHO_N "checking for -z nodelete option... $ECHO_C" >&6
5297 if test "${libc_cv_z_nodelete+set}" = set; then
5298 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 cat > conftest.c
<<EOF
5301 int _start (void) { return 42; }
5303 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5304 -shared -o conftest.so conftest.c
5305 -nostartfiles -nostdlib
5306 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
5307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); }; }
5313 libc_cv_z_nodelete
=yes
5315 libc_cv_z_nodelete
=no
5319 echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
5320 echo "${ECHO_T}$libc_cv_z_nodelete" >&6
5323 echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
5324 echo $ECHO_N "checking for -z nodlopen option... $ECHO_C" >&6
5325 if test "${libc_cv_z_nodlopen+set}" = set; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5328 cat > conftest.c
<<EOF
5329 int _start (void) { return 42; }
5331 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5332 -shared -o conftest.so conftest.c
5333 -nostartfiles -nostdlib
5334 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); }; }
5341 libc_cv_z_nodlopen
=yes
5343 libc_cv_z_nodlopen
=no
5347 echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
5348 echo "${ECHO_T}$libc_cv_z_nodlopen" >&6
5351 echo "$as_me:$LINENO: checking for -z initfirst option" >&5
5352 echo $ECHO_N "checking for -z initfirst option... $ECHO_C" >&6
5353 if test "${libc_cv_z_initfirst+set}" = set; then
5354 echo $ECHO_N "(cached) $ECHO_C" >&6
5356 cat > conftest.c
<<EOF
5357 int _start (void) { return 42; }
5359 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5360 -shared -o conftest.so conftest.c
5361 -nostartfiles -nostdlib
5362 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
5363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); }; }
5369 libc_cv_z_initfirst
=yes
5371 libc_cv_z_initfirst
=no
5375 echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
5376 echo "${ECHO_T}$libc_cv_z_initfirst" >&6
5379 echo "$as_me:$LINENO: checking for -z relro option" >&5
5380 echo $ECHO_N "checking for -z relro option... $ECHO_C" >&6
5381 if test "${libc_cv_z_relro+set}" = set; then
5382 echo $ECHO_N "(cached) $ECHO_C" >&6
5384 if { ac_try
='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
5385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; }
5396 echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
5397 echo "${ECHO_T}$libc_cv_z_relro" >&6
5399 if test $libc_cv_z_relro = yes; then
5400 cat >>confdefs.h
<<\_ACEOF
5401 #define HAVE_Z_RELRO 1
5406 echo "$as_me:$LINENO: checking for -Bgroup option" >&5
5407 echo $ECHO_N "checking for -Bgroup option... $ECHO_C" >&6
5408 if test "${libc_cv_Bgroup+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 cat > conftest.c
<<EOF
5412 int _start (void) { return 42; }
5414 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5415 -shared -o conftest.so conftest.c
5416 -Wl,-Bgroup -nostdlib 1>&5'
5417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); }; }
5429 echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
5430 echo "${ECHO_T}$libc_cv_Bgroup" >&6
5433 echo "$as_me:$LINENO: checking for libgcc_s suffix" >&5
5434 echo $ECHO_N "checking for libgcc_s suffix... $ECHO_C" >&6
5435 if test "${libc_cv_libgcc_s_suffix+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 cat > conftest.c
<<EOF
5439 int main (void) { return 0; }
5441 libc_cv_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5442 -shared -shared-libgcc -o conftest.so \
5443 conftest.c -v 2>&1 >/dev/null \
5444 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
5447 echo "$as_me:$LINENO: result: $libc_cv_libgcc_s_suffix" >&5
5448 echo "${ECHO_T}$libc_cv_libgcc_s_suffix" >&6
5451 echo "$as_me:$LINENO: checking for --as-needed option" >&5
5452 echo $ECHO_N "checking for --as-needed option... $ECHO_C" >&6
5453 if test "${libc_cv_as_needed+set}" = set; then
5454 echo $ECHO_N "(cached) $ECHO_C" >&6
5456 cat > conftest.c
<<EOF
5457 int main (void) { return 0; }
5459 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5460 -shared -o conftest.so conftest.c
5461 -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
5463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }
5469 libc_cv_as_needed
=yes
5471 libc_cv_as_needed
=no
5475 echo "$as_me:$LINENO: result: $libc_cv_as_needed" >&5
5476 echo "${ECHO_T}$libc_cv_as_needed" >&6
5480 echo "$as_me:$LINENO: checking whether --noexecstack is desirable for .S files" >&5
5481 echo $ECHO_N "checking whether --noexecstack is desirable for .S files... $ECHO_C" >&6
5482 if test "${libc_cv_as_noexecstack+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5485 cat > conftest.c
<<EOF
5488 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
5489 -S -o conftest.s conftest.c 1>&5'
5490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); }; } \
5495 && grep -q .note.GNU-stack conftest.s \
5496 && { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Wa,--noexecstack
5497 -c -o conftest.o conftest.s 1>&5'
5498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); }; }
5504 libc_cv_as_noexecstack
=yes
5506 libc_cv_as_noexecstack
=no
5510 echo "$as_me:$LINENO: result: $libc_cv_as_noexecstack" >&5
5511 echo "${ECHO_T}$libc_cv_as_noexecstack" >&6
5512 if test $libc_cv_as_noexecstack = yes; then
5513 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
5517 echo "$as_me:$LINENO: checking for -z combreloc" >&5
5518 echo $ECHO_N "checking for -z combreloc... $ECHO_C" >&6
5519 if test "${libc_cv_z_combreloc+set}" = set; then
5520 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 cat > conftest.c
<<EOF
5523 extern int bar (int);
5525 int foo (void) { return bar (mumble); }
5527 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5528 -shared -o conftest.so conftest.c
5529 -nostdlib -nostartfiles
5530 -Wl,-z,combreloc 1>&5'
5531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); }; }
5537 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
5538 libc_cv_z_combreloc
=yes
5540 libc_cv_z_combreloc
=no
5543 libc_cv_z_combreloc
=no
5547 echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
5548 echo "${ECHO_T}$libc_cv_z_combreloc" >&6
5549 if test "$libc_cv_z_combreloc" = yes; then
5550 cat >>confdefs.h
<<\_ACEOF
5551 #define HAVE_Z_COMBRELOC 1
5557 echo "$as_me:$LINENO: checking for -z execstack" >&5
5558 echo $ECHO_N "checking for -z execstack... $ECHO_C" >&6
5559 if test "${libc_cv_z_execstack+set}" = set; then
5560 echo $ECHO_N "(cached) $ECHO_C" >&6
5562 cat > conftest.c
<<EOF
5563 int _start (void) { return 42; }
5565 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5566 -shared -o conftest.so conftest.c
5567 -Wl,-z,execstack -nostdlib
5569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); }; }
5575 libc_cv_z_execstack
=yes
5577 libc_cv_z_execstack
=no
5581 echo "$as_me:$LINENO: result: $libc_cv_z_execstack" >&5
5582 echo "${ECHO_T}$libc_cv_z_execstack" >&6
5585 echo "$as_me:$LINENO: checking for -fpie" >&5
5586 echo $ECHO_N "checking for -fpie... $ECHO_C" >&6
5587 if test "${libc_cv_fpie+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 cat > conftest.c
<<EOF
5592 main () { return 0;}
5594 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
5595 -o conftest conftest.c 1>&5'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }
5608 echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
5609 echo "${ECHO_T}$libc_cv_fpie" >&6
5614 echo "$as_me:$LINENO: checking for -fno-unit-at-a-time" >&5
5615 echo $ECHO_N "checking for -fno-unit-at-a-time... $ECHO_C" >&6
5616 if test "${libc_cv_fno_unit_at_a_time+set}" = set; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 cat > conftest.c
<<EOF
5622 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-unit-at-a-time
5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; }
5630 libc_cv_fno_unit_at_a_time
=yes
5632 libc_cv_fno_unit_at_a_time
=no
5636 echo "$as_me:$LINENO: result: $libc_cv_fno_unit_at_a_time" >&5
5637 echo "${ECHO_T}$libc_cv_fno_unit_at_a_time" >&6
5638 if test $libc_cv_fno_unit_at_a_time = yes; then
5639 fno_unit_at_a_time
=-fno-unit-at-a-time
5643 if test $elf != yes; then
5644 echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
5645 echo $ECHO_N "checking for .init and .fini sections... $ECHO_C" >&6
5646 if test "${libc_cv_have_initfini+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5649 cat >conftest.
$ac_ext <<_ACEOF
5650 #line $LINENO "configure"
5653 cat confdefs.h
>>conftest.
$ac_ext
5654 cat >>conftest.
$ac_ext <<_ACEOF
5655 /* end confdefs.h. */
5660 asm (".section .init");
5661 asm (".section .fini");
5662 asm ("${libc_cv_dot_text}");
5667 rm -f conftest.
$ac_objext
5668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5669 (eval $ac_compile) 2>&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); } &&
5673 { ac_try
='test -s conftest.$ac_objext'
5674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; }; then
5679 libc_cv_have_initfini
=yes
5681 echo "$as_me: failed program was:" >&5
5682 sed 's/^/| /' conftest.
$ac_ext >&5
5684 libc_cv_have_initfini
=no
5686 rm -f conftest.
$ac_objext conftest.
$ac_ext
5688 echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
5689 echo "${ECHO_T}$libc_cv_have_initfini" >&6
5690 if test $libc_cv_have_initfini = yes; then
5691 cat >>confdefs.h
<<\_ACEOF
5692 #define HAVE_INITFINI 1
5698 if test $elf = yes -a $gnu_ld = yes; then
5699 echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
5700 echo $ECHO_N "checking whether cc puts quotes around section names... $ECHO_C" >&6
5701 if test "${libc_cv_have_section_quotes+set}" = set; then
5702 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 cat > conftest.c
<<EOF
5705 static const int foo
5706 __attribute__ ((section ("bar"))) = 1;
5708 if ${CC-cc} -S conftest.c
-o conftest.s
; then
5709 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
5710 libc_cv_have_section_quotes
=yes
5712 libc_cv_have_section_quotes
=no
5715 libc_cv_have_section_quotes
=unknown
5720 echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
5721 echo "${ECHO_T}$libc_cv_have_section_quotes" >&6
5722 if test $libc_cv_have_section_quotes = yes; then
5723 cat >>confdefs.h
<<\_ACEOF
5724 #define HAVE_SECTION_QUOTES 1
5732 if test $elf = yes; then
5733 libc_cv_asm_underscores
=no
5735 if test $ac_cv_prog_cc_works = yes; then
5736 echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
5737 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6
5738 if test "${libc_cv_asm_underscores+set}" = set; then
5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 cat >conftest.
$ac_ext <<_ACEOF
5742 #line $LINENO "configure"
5745 cat confdefs.h
>>conftest.
$ac_ext
5746 cat >>conftest.
$ac_ext <<_ACEOF
5747 /* end confdefs.h. */
5748 asm ("_glibc_foobar:");
5757 rm -f conftest.
$ac_objext conftest
$ac_exeext
5758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5759 (eval $ac_link) 2>&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); } &&
5763 { ac_try
='test -s conftest$ac_exeext'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then
5769 libc_cv_asm_underscores
=yes
5771 echo "$as_me: failed program was:" >&5
5772 sed 's/^/| /' conftest.
$ac_ext >&5
5774 libc_cv_asm_underscores
=no
5776 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5778 echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
5779 echo "${ECHO_T}$libc_cv_asm_underscores" >&6
5781 echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
5782 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6
5783 if test "${libc_cv_asm_underscores+set}" = set; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 cat > conftest.
$ac_ext <<EOF
5787 #line $LINENO "configure"
5788 #include "confdefs.h"
5789 void underscore_test(void) {
5792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5793 (eval $ac_compile) 2>&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; then
5797 if grep _underscore_test conftest
* >/dev
/null
; then
5799 libc_cv_asm_underscores
=yes
5802 libc_cv_asm_underscores
=no
5805 echo "configure: failed program was:" >&5
5806 cat conftest.
$ac_ext >&5
5808 libc_cv_asm_underscores
=no
5812 echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
5813 echo "${ECHO_T}$libc_cv_asm_underscores" >&6
5816 if test $libc_cv_asm_underscores = no
; then
5817 cat >>confdefs.h
<<\_ACEOF
5818 #define NO_UNDERSCORES 1
5823 if test $elf = yes; then
5824 libc_cv_weak_symbols
=yes
5827 echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
5828 echo $ECHO_N "checking for assembler .weak directive... $ECHO_C" >&6
5829 if test "${libc_cv_asm_weak_directive+set}" = set; then
5830 echo $ECHO_N "(cached) $ECHO_C" >&6
5832 cat > conftest.s
<<EOF
5834 ${libc_cv_asm_global_directive} foo
5837 .weak bar; bar = foo
5839 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; }; then
5845 libc_cv_asm_weak_directive
=yes
5847 libc_cv_asm_weak_directive
=no
5851 echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
5852 echo "${ECHO_T}$libc_cv_asm_weak_directive" >&6
5854 if test $libc_cv_asm_weak_directive = no
; then
5855 echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
5856 echo $ECHO_N "checking for assembler .weakext directive... $ECHO_C" >&6
5857 if test "${libc_cv_asm_weakext_directive+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 cat > conftest.s
<<EOF
5862 ${libc_cv_asm_global_directive} foo
5866 ${libc_cv_asm_global_directive} baz
5869 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; }; then
5875 libc_cv_asm_weakext_directive
=yes
5877 libc_cv_asm_weakext_directive
=no
5881 echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
5882 echo "${ECHO_T}$libc_cv_asm_weakext_directive" >&6
5886 if test $libc_cv_asm_weak_directive = yes; then
5887 cat >>confdefs.h
<<\_ACEOF
5888 #define HAVE_ASM_WEAK_DIRECTIVE 1
5891 elif test $libc_cv_asm_weakext_directive = yes; then
5892 cat >>confdefs.h
<<\_ACEOF
5893 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
5898 case "${host_cpu}-${host_os}" in
5900 libc_cv_asm_line_sep
='@'
5901 cat >>confdefs.h
<<_ACEOF
5902 #define ASM_LINE_SEP $libc_cv_asm_line_sep
5907 echo "$as_me:$LINENO: checking for assembler line separator" >&5
5908 echo $ECHO_N "checking for assembler line separator... $ECHO_C" >&6
5909 if test "${libc_cv_asm_line_sep+set}" = set; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 cat > conftest.s
<<EOF
5915 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); }; }; then
5921 libc_cv_asm_line_sep
='!'
5923 if test -z "$enable_hacker_mode"; then
5924 echo "*** You need a newer assembler to compile glibc"
5928 libc_cv_asm_line_sep
=';'
5932 echo "$as_me:$LINENO: result: $libc_cv_asm_line_sep" >&5
5933 echo "${ECHO_T}$libc_cv_asm_line_sep" >&6
5934 cat >>confdefs.h
<<_ACEOF
5935 #define ASM_LINE_SEP $libc_cv_asm_line_sep
5941 echo "$as_me:$LINENO: checking whether CFI directives are supported" >&5
5942 echo $ECHO_N "checking whether CFI directives are supported... $ECHO_C" >&6
5943 if test "${libc_cv_asm_cfi_directives+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 cat > conftest.s
<<EOF
5948 .type func,@function
5952 .cfi_rel_offset 1, 0
5955 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
5956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 (exit $ac_status); }; }; then
5961 libc_cv_asm_cfi_directives
=yes
5963 libc_cv_asm_cfi_directives
=no
5967 echo "$as_me:$LINENO: result: $libc_cv_asm_cfi_directives" >&5
5968 echo "${ECHO_T}$libc_cv_asm_cfi_directives" >&6
5969 if test $libc_cv_asm_cfi_directives = yes; then
5970 cat >>confdefs.h
<<\_ACEOF
5971 #define HAVE_ASM_CFI_DIRECTIVES 1
5976 echo "$as_me:$LINENO: checking if -g produces usable source locations for assembler-with-cpp" >&5
5977 echo $ECHO_N "checking if -g produces usable source locations for assembler-with-cpp... $ECHO_C" >&6
5978 if test "${libc_cv_cpp_asm_debuginfo+set}" = set; then
5979 echo $ECHO_N "(cached) $ECHO_C" >&6
5981 cat > conftest.S
<<EOF
5982 #include "confdefs.h"
5987 ${libc_cv_asm_global_directive} foo
5989 /* Unfortunately this test only works for a real instruction,
5990 not for any of the machine-independent pseudo-ops.
5991 So we just have to assume everybody has a "nop". */
5998 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -g -c conftest.S 1>&5'
5999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; } &&
6004 ac_pattern
='conftest\.S'
6005 { ac_try
='readelf --debug-dump=line conftest.o |
6006 grep $ac_pattern 1>&5'
6007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); }; }; then
6012 libc_cv_cpp_asm_debuginfo
=yes
6014 libc_cv_cpp_asm_debuginfo
=no
6018 echo "$as_me:$LINENO: result: $libc_cv_cpp_asm_debuginfo" >&5
6019 echo "${ECHO_T}$libc_cv_cpp_asm_debuginfo" >&6
6020 if test $libc_cv_cpp_asm_debuginfo = yes; then
6021 cat >>confdefs.h
<<\_ACEOF
6022 #define HAVE_CPP_ASM_DEBUGINFO 1
6027 echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
6028 echo $ECHO_N "checking for ld --no-whole-archive... $ECHO_C" >&6
6029 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6032 cat > conftest.c
<<\EOF
6037 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6038 -nostdlib -nostartfiles -Wl,--no-whole-archive
6039 -o conftest conftest.c 1>&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_ld_no_whole_archive
=yes
6047 libc_cv_ld_no_whole_archive
=no
6051 echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
6052 echo "${ECHO_T}$libc_cv_ld_no_whole_archive" >&6
6053 if test $libc_cv_ld_no_whole_archive = yes; then
6054 no_whole_archive
=-Wl,--no-whole-archive
6057 echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
6058 echo $ECHO_N "checking for gcc -fexceptions... $ECHO_C" >&6
6059 if test "${libc_cv_gcc_exceptions+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 cat > conftest.c
<<\EOF
6067 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6068 -nostdlib -nostartfiles -fexceptions
6069 -o conftest conftest.c 1>&5'
6070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); }; }; then
6075 libc_cv_gcc_exceptions
=yes
6077 libc_cv_gcc_exceptions
=no
6081 echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
6082 echo "${ECHO_T}$libc_cv_gcc_exceptions" >&6
6083 if test $libc_cv_gcc_exceptions = yes; then
6084 exceptions
=-fexceptions
6087 if test "$host_cpu" = powerpc
; then
6088 # Check for a bug present in at least versions 2.8.x of GCC
6089 # and versions 1.0.x of EGCS.
6090 echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
6091 echo $ECHO_N "checking whether clobbering cr0 causes problems... $ECHO_C" >&6
6092 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 cat >conftest.
$ac_ext <<_ACEOF
6096 #line $LINENO "configure"
6099 cat confdefs.h
>>conftest.
$ac_ext
6100 cat >>conftest.
$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6102 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
6111 rm -f conftest.
$ac_objext
6112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6113 (eval $ac_compile) 2>&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); } &&
6117 { ac_try
='test -s conftest.$ac_objext'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; }; then
6123 libc_cv_c_asmcr0_bug
='no'
6125 echo "$as_me: failed program was:" >&5
6126 sed 's/^/| /' conftest.
$ac_ext >&5
6128 libc_cv_c_asmcr0_bug
='yes'
6130 rm -f conftest.
$ac_objext conftest.
$ac_ext
6132 echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
6133 echo "${ECHO_T}$libc_cv_c_asmcr0_bug" >&6
6134 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
6135 cat >>confdefs.h
<<\_ACEOF
6136 #define BROKEN_PPC_ASM_CR0 1
6142 echo "$as_me:$LINENO: checking for DWARF2 unwind info support" >&5
6143 echo $ECHO_N "checking for DWARF2 unwind info support... $ECHO_C" >&6
6144 if test "${libc_cv_gcc_dwarf2_unwind_info+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 cat > conftest.c
<<EOF
6148 #line $LINENO "configure"
6149 static char *__EH_FRAME_BEGIN__;
6152 #ifdef CHECK__register_frame
6153 __register_frame (__EH_FRAME_BEGIN__);
6154 __deregister_frame (__EH_FRAME_BEGIN__);
6156 #ifdef CHECK__register_frame_info
6157 __register_frame_info (__EH_FRAME_BEGIN__);
6158 __deregister_frame_info (__EH_FRAME_BEGIN__);
6163 /* FIXME: this is fragile. */
6172 dl_iterate_phdr () {}
6174 libc_unwind_check
="${CC-cc} $CFLAGS $CPPFLAGS -DCHECK__register_frame_info \
6176 -nostdlib -nostartfiles -o conftest conftest.c \
6178 # Some platforms' specs put -lgcc first. The second one doesn't hurt.
6179 if { ac_try
='$libc_unwind_check >&5'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; } ||
6185 { ac_try
='$libc_unwind_check -lgcc_eh -lgcc >&5'
6186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); }; }
6192 if $libc_unwind_check -v 2>&1 >/dev
/null \
6193 |
grep -- --eh-frame-hdr 2>&1 >/dev
/null
; then
6194 libc_cv_gcc_dwarf2_unwind_info
=no_registry_needed
6196 libc_cv_gcc_dwarf2_unwind_info
=static
6199 libc_cv_gcc_dwarf2_unwind_info
=no
6201 if test $libc_cv_gcc_dwarf2_unwind_info = no
; then
6202 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -DCHECK__register_frame
6203 $LDFLAGS -nostdlib -nostartfiles
6204 -o conftest conftest.c -lgcc >&5'
6205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); }; }; then
6210 libc_cv_gcc_dwarf2_unwind_info
=yes
6212 libc_cv_gcc_dwarf2_unwind_info
=no
6217 echo "$as_me:$LINENO: result: $libc_cv_gcc_dwarf2_unwind_info" >&5
6218 echo "${ECHO_T}$libc_cv_gcc_dwarf2_unwind_info" >&6
6219 case $libc_cv_gcc_dwarf2_unwind_info in
6221 cat >>confdefs.h
<<\_ACEOF
6222 #define HAVE_DWARF2_UNWIND_INFO 1
6227 cat >>confdefs.h
<<\_ACEOF
6228 #define HAVE_DWARF2_UNWIND_INFO 1
6231 cat >>confdefs.h
<<\_ACEOF
6232 #define HAVE_DWARF2_UNWIND_INFO_STATIC 1
6238 echo "$as_me:$LINENO: checking for __builtin_expect" >&5
6239 echo $ECHO_N "checking for __builtin_expect... $ECHO_C" >&6
6240 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 cat > conftest.c
<<EOF
6244 #line $LINENO "configure"
6247 a = __builtin_expect (a, 10);
6248 return a == 10 ? 0 : 1;
6251 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
6252 -o conftest conftest.c -lgcc >&5'
6253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; }; then
6258 libc_cv_gcc_builtin_expect
=yes
6260 libc_cv_gcc_builtin_expect
=no
6264 echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
6265 echo "${ECHO_T}$libc_cv_gcc_builtin_expect" >&6
6266 if test "$libc_cv_gcc_builtin_expect" = yes; then
6267 cat >>confdefs.h
<<\_ACEOF
6268 #define HAVE_BUILTIN_EXPECT 1
6273 echo "$as_me:$LINENO: checking for __builtin_memset" >&5
6274 echo $ECHO_N "checking for __builtin_memset... $ECHO_C" >&6
6275 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6278 cat > conftest.c
<<\EOF
6281 __builtin_memset
(x
, 0, 1000);
6284 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; };
6291 libc_cv_gcc_builtin_memset
=no
6293 libc_cv_gcc_builtin_memset
=yes
6297 echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
6298 echo "${ECHO_T}$libc_cv_gcc_builtin_memset" >&6
6299 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6300 cat >>confdefs.h
<<\_ACEOF
6301 #define HAVE_BUILTIN_MEMSET 1
6306 echo "$as_me:$LINENO: checking for redirection of built-in functions" >&5
6307 echo $ECHO_N "checking for redirection of built-in functions... $ECHO_C" >&6
6308 if test "${libc_cv_gcc_builtin_redirection+set}" = set; then
6309 echo $ECHO_N "(cached) $ECHO_C" >&6
6311 cat > conftest.c
<<\EOF
6312 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
6313 char
*foo
(const char
*a
, const char
*b
)
6315 return __builtin_strstr
(a
, b
);
6318 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
6319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); }; };
6325 libc_cv_gcc_builtin_redirection
=yes
6327 libc_cv_gcc_builtin_redirection
=no
6331 echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_redirection" >&5
6332 echo "${ECHO_T}$libc_cv_gcc_builtin_redirection" >&6
6333 if test "$libc_cv_gcc_builtin_redirection" = yes ; then
6334 cat >>confdefs.h
<<\_ACEOF
6335 #define HAVE_BUILTIN_REDIRECTION 1
6340 echo "$as_me:$LINENO: checking for local label subtraction" >&5
6341 echo $ECHO_N "checking for local label subtraction... $ECHO_C" >&6
6342 if test "${libc_cv_gcc_subtract_local_labels+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 cat > conftest.c
<<EOF
6346 #line $LINENO "configure"
6349 static const int ar[] = { &&l1 - &&l1, &&l2 - &&l1 };
6350 void *p = &&l1 + ar[a];
6358 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
6359 -o conftest conftest.c -lgcc >&5'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; }; then
6365 libc_cv_gcc_subtract_local_labels
=yes
6367 libc_cv_gcc_subtract_local_labels
=no
6371 echo "$as_me:$LINENO: result: $libc_cv_gcc_subtract_local_labels" >&5
6372 echo "${ECHO_T}$libc_cv_gcc_subtract_local_labels" >&6
6373 if test "$libc_cv_gcc_subtract_local_labels" = yes; then
6374 cat >>confdefs.h
<<\_ACEOF
6375 #define HAVE_SUBTRACT_LOCAL_LABELS 1
6380 if test "x$use__thread" != xno
; then
6381 echo "$as_me:$LINENO: checking for __thread" >&5
6382 echo $ECHO_N "checking for __thread... $ECHO_C" >&6
6383 if test "${libc_cv_gcc___thread+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 cat > conftest.c
<<\EOF
6387 __thread int a
= 42;
6389 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
6390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; }; then
6395 libc_cv_gcc___thread
=yes
6397 libc_cv_gcc___thread
=no
6401 echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
6402 echo "${ECHO_T}$libc_cv_gcc___thread" >&6
6403 if test "$libc_cv_gcc___thread" = yes; then
6404 cat >>confdefs.h
<<\_ACEOF
6405 #define HAVE___THREAD 1
6410 libc_cv_gcc___thread
=no
6413 if test "$libc_cv_gcc___thread" = yes; then
6414 echo "$as_me:$LINENO: checking for tls_model attribute" >&5
6415 echo $ECHO_N "checking for tls_model attribute... $ECHO_C" >&6
6416 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 cat > conftest.c
<<\EOF
6420 extern __thread int a __attribute__
((tls_model
("initial-exec")));
6422 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; }; then
6428 libc_cv_gcc_tls_model_attr
=yes
6430 libc_cv_gcc_tls_model_attr
=no
6434 echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
6435 echo "${ECHO_T}$libc_cv_gcc_tls_model_attr" >&6
6436 if test "$libc_cv_gcc_tls_model_attr" = yes; then
6437 cat >>confdefs.h
<<\_ACEOF
6438 #define HAVE_TLS_MODEL_ATTRIBUTE 1
6444 echo "$as_me:$LINENO: checking for libgd" >&5
6445 echo $ECHO_N "checking for libgd... $ECHO_C" >&6
6446 if test "$with_gd" != "no"; then
6447 old_CFLAGS
="$CFLAGS"
6448 CFLAGS
="$CFLAGS $libgd_include"
6449 old_LDFLAGS
="$LDFLAGS"
6450 LDFLAGS
="$LDFLAGS $libgd_ldflags"
6452 LIBS
="$LIBS -lgd -lpng -lz -lm"
6453 cat >conftest.
$ac_ext <<_ACEOF
6454 #line $LINENO "configure"
6457 cat confdefs.h
>>conftest.
$ac_ext
6458 cat >>conftest.
$ac_ext <<_ACEOF
6459 /* end confdefs.h. */
6469 rm -f conftest.
$ac_objext conftest
$ac_exeext
6470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6471 (eval $ac_link) 2>&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); } &&
6475 { ac_try
='test -s conftest$ac_exeext'
6476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); }; }; then
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.
$ac_ext >&5
6488 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6489 CFLAGS
="$old_CFLAGS"
6490 LDFLAGS
="$old_LDFLAGS"
6495 echo "$as_me:$LINENO: result: $LIBGD" >&5
6496 echo "${ECHO_T}$LIBGD" >&6
6500 echo "$as_me:$LINENO: checking for egrep" >&5
6501 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6502 if test "${ac_cv_prog_egrep+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6506 then ac_cv_prog_egrep
='grep -E'
6507 else ac_cv_prog_egrep
='egrep'
6510 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6511 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6512 EGREP
=$ac_cv_prog_egrep
6515 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6516 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6517 if test "${ac_cv_header_stdc+set}" = set; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6520 cat >conftest.
$ac_ext <<_ACEOF
6521 #line $LINENO "configure"
6524 cat confdefs.h
>>conftest.
$ac_ext
6525 cat >>conftest.
$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6540 rm -f conftest.
$ac_objext
6541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6542 (eval $ac_compile) 2>&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try
='test -s conftest.$ac_objext'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; }; then
6552 ac_cv_header_stdc
=yes
6554 echo "$as_me: failed program was:" >&5
6555 sed 's/^/| /' conftest.
$ac_ext >&5
6557 ac_cv_header_stdc
=no
6559 rm -f conftest.
$ac_objext conftest.
$ac_ext
6561 if test $ac_cv_header_stdc = yes; then
6562 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6563 cat >conftest.
$ac_ext <<_ACEOF
6564 #line $LINENO "configure"
6567 cat confdefs.h
>>conftest.
$ac_ext
6568 cat >>conftest.
$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6574 $EGREP "memchr" >/dev
/null
2>&1; then
6577 ac_cv_header_stdc
=no
6583 if test $ac_cv_header_stdc = yes; then
6584 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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. */
6595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6596 $EGREP "free" >/dev
/null
2>&1; then
6599 ac_cv_header_stdc
=no
6605 if test $ac_cv_header_stdc = yes; then
6606 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6607 if test "$cross_compiling" = yes; then
6610 cat >conftest.
$ac_ext <<_ACEOF
6611 #line $LINENO "configure"
6614 cat confdefs.h
>>conftest.
$ac_ext
6615 cat >>conftest.
$ac_ext <<_ACEOF
6616 /* end confdefs.h. */
6618 #if ((' ' & 0x0FF) == 0x020)
6619 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6620 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6622 # define ISLOWER(c) \
6623 (('a' <= (c) && (c) <= 'i') \
6624 || ('j' <= (c) && (c) <= 'r') \
6625 || ('s' <= (c) && (c) <= 'z'))
6626 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6629 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6634 for (i = 0; i < 256; i++)
6635 if (XOR (islower (i), ISLOWER (i))
6636 || toupper (i) != TOUPPER (i))
6641 rm -f conftest
$ac_exeext
6642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6643 (eval $ac_link) 2>&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then
6654 echo "$as_me: program exited with status $ac_status" >&5
6655 echo "$as_me: failed program was:" >&5
6656 sed 's/^/| /' conftest.
$ac_ext >&5
6659 ac_cv_header_stdc
=no
6661 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6665 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6666 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6667 if test $ac_cv_header_stdc = yes; then
6669 cat >>confdefs.h
<<\_ACEOF
6670 #define STDC_HEADERS 1
6675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6685 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6686 inttypes.h stdint.h unistd.h
6688 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6689 echo "$as_me:$LINENO: checking for $ac_header" >&5
6690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6692 echo $ECHO_N "(cached) $ECHO_C" >&6
6694 cat >conftest.
$ac_ext <<_ACEOF
6695 #line $LINENO "configure"
6698 cat confdefs.h
>>conftest.
$ac_ext
6699 cat >>conftest.
$ac_ext <<_ACEOF
6700 /* end confdefs.h. */
6701 $ac_includes_default
6703 #include <$ac_header>
6705 rm -f conftest.
$ac_objext
6706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6707 (eval $ac_compile) 2>&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } &&
6711 { ac_try
='test -s conftest.$ac_objext'
6712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); }; }; then
6717 eval "$as_ac_Header=yes"
6719 echo "$as_me: failed program was:" >&5
6720 sed 's/^/| /' conftest.
$ac_ext >&5
6722 eval "$as_ac_Header=no"
6724 rm -f conftest.
$ac_objext conftest.
$ac_ext
6726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6729 cat >>confdefs.h
<<_ACEOF
6730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6738 echo "$as_me:$LINENO: checking for long double" >&5
6739 echo $ECHO_N "checking for long double... $ECHO_C" >&6
6740 if test "${ac_cv_type_long_double+set}" = set; then
6741 echo $ECHO_N "(cached) $ECHO_C" >&6
6743 cat >conftest.
$ac_ext <<_ACEOF
6744 #line $LINENO "configure"
6747 cat confdefs.h
>>conftest.
$ac_ext
6748 cat >>conftest.
$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6750 $ac_includes_default
6754 if ((long double *) 0)
6756 if (sizeof (long double))
6762 rm -f conftest.
$ac_objext
6763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6764 (eval $ac_compile) 2>&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); } &&
6768 { ac_try
='test -s conftest.$ac_objext'
6769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); }; }; then
6774 ac_cv_type_long_double
=yes
6776 echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.
$ac_ext >&5
6779 ac_cv_type_long_double
=no
6781 rm -f conftest.
$ac_objext conftest.
$ac_ext
6783 echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
6784 echo "${ECHO_T}$ac_cv_type_long_double" >&6
6786 echo "$as_me:$LINENO: checking size of long double" >&5
6787 echo $ECHO_N "checking size of long double... $ECHO_C" >&6
6788 if test "${ac_cv_sizeof_long_double+set}" = set; then
6789 echo $ECHO_N "(cached) $ECHO_C" >&6
6791 if test "$ac_cv_type_long_double" = yes; then
6792 # The cast to unsigned long works around a bug in the HP C Compiler
6793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6795 # This bug is HP SR number 8606223364.
6796 if test "$cross_compiling" = yes; then
6797 # Depending upon the size, compute the lo and hi bounds.
6798 cat >conftest.
$ac_ext <<_ACEOF
6799 #line $LINENO "configure"
6802 cat confdefs.h
>>conftest.
$ac_ext
6803 cat >>conftest.
$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6805 $ac_includes_default
6809 static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= 0)];
6816 rm -f conftest.
$ac_objext
6817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6818 (eval $ac_compile) 2>&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } &&
6822 { ac_try
='test -s conftest.$ac_objext'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; }; then
6830 cat >conftest.
$ac_ext <<_ACEOF
6831 #line $LINENO "configure"
6834 cat confdefs.h
>>conftest.
$ac_ext
6835 cat >>conftest.
$ac_ext <<_ACEOF
6836 /* end confdefs.h. */
6837 $ac_includes_default
6841 static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
6848 rm -f conftest.
$ac_objext
6849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6850 (eval $ac_compile) 2>&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); } &&
6854 { ac_try
='test -s conftest.$ac_objext'
6855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); }; }; then
6860 ac_hi
=$ac_mid; break
6862 echo "$as_me: failed program was:" >&5
6863 sed 's/^/| /' conftest.
$ac_ext >&5
6865 ac_lo
=`expr $ac_mid + 1`
6866 if test $ac_lo -le $ac_mid; then
6870 ac_mid
=`expr 2 '*' $ac_mid + 1`
6872 rm -f conftest.
$ac_objext conftest.
$ac_ext
6875 echo "$as_me: failed program was:" >&5
6876 sed 's/^/| /' conftest.
$ac_ext >&5
6878 cat >conftest.
$ac_ext <<_ACEOF
6879 #line $LINENO "configure"
6882 cat confdefs.h
>>conftest.
$ac_ext
6883 cat >>conftest.
$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6885 $ac_includes_default
6889 static int test_array [1 - 2 * !(((long) (sizeof (long double))) < 0)];
6896 rm -f conftest.
$ac_objext
6897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6898 (eval $ac_compile) 2>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try
='test -s conftest.$ac_objext'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; }; then
6910 cat >conftest.
$ac_ext <<_ACEOF
6911 #line $LINENO "configure"
6914 cat confdefs.h
>>conftest.
$ac_ext
6915 cat >>conftest.
$ac_ext <<_ACEOF
6916 /* end confdefs.h. */
6917 $ac_includes_default
6921 static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= $ac_mid)];
6928 rm -f conftest.
$ac_objext
6929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6930 (eval $ac_compile) 2>&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); } &&
6934 { ac_try
='test -s conftest.$ac_objext'
6935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); }; }; then
6940 ac_lo
=$ac_mid; break
6942 echo "$as_me: failed program was:" >&5
6943 sed 's/^/| /' conftest.
$ac_ext >&5
6945 ac_hi
=`expr '(' $ac_mid ')' - 1`
6946 if test $ac_mid -le $ac_hi; then
6950 ac_mid
=`expr 2 '*' $ac_mid`
6952 rm -f conftest.
$ac_objext conftest.
$ac_ext
6955 echo "$as_me: failed program was:" >&5
6956 sed 's/^/| /' conftest.
$ac_ext >&5
6960 rm -f conftest.
$ac_objext conftest.
$ac_ext
6962 rm -f conftest.
$ac_objext conftest.
$ac_ext
6963 # Binary search between lo and hi bounds.
6964 while test "x$ac_lo" != "x$ac_hi"; do
6965 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6966 cat >conftest.
$ac_ext <<_ACEOF
6967 #line $LINENO "configure"
6970 cat confdefs.h
>>conftest.
$ac_ext
6971 cat >>conftest.
$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6973 $ac_includes_default
6977 static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
6984 rm -f conftest.
$ac_objext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6986 (eval $ac_compile) 2>&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); } &&
6990 { ac_try
='test -s conftest.$ac_objext'
6991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; }; then
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.
$ac_ext >&5
7001 ac_lo
=`expr '(' $ac_mid ')' + 1`
7003 rm -f conftest.
$ac_objext conftest.
$ac_ext
7006 ?
*) ac_cv_sizeof_long_double
=$ac_lo;;
7007 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
7008 See \`config.log' for more details." >&5
7009 echo "$as_me: error: cannot compute sizeof (long double), 77
7010 See \`config.log' for more details." >&2;}
7011 { (exit 1); exit 1; }; } ;;
7014 if test "$cross_compiling" = yes; then
7015 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7016 See \`config.log' for more details." >&5
7017 echo "$as_me: error: cannot run test program while cross compiling
7018 See \`config.log' for more details." >&2;}
7019 { (exit 1); exit 1; }; }
7021 cat >conftest.
$ac_ext <<_ACEOF
7022 #line $LINENO "configure"
7025 cat confdefs.h
>>conftest.
$ac_ext
7026 cat >>conftest.
$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7028 $ac_includes_default
7029 long longval () { return (long) (sizeof (long double)); }
7030 unsigned long ulongval () { return (long) (sizeof (long double)); }
7037 FILE *f = fopen ("conftest.val", "w");
7040 if (((long) (sizeof (long double))) < 0)
7042 long i = longval ();
7043 if (i != ((long) (sizeof (long double))))
7045 fprintf (f, "%ld\n", i);
7049 unsigned long i = ulongval ();
7050 if (i != ((long) (sizeof (long double))))
7052 fprintf (f, "%lu\n", i);
7054 exit (ferror (f) || fclose (f) != 0);
7060 rm -f conftest
$ac_exeext
7061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7062 (eval $ac_link) 2>&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; }; then
7071 ac_cv_sizeof_long_double
=`cat conftest.val`
7073 echo "$as_me: program exited with status $ac_status" >&5
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.
$ac_ext >&5
7078 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
7079 See \`config.log' for more details." >&5
7080 echo "$as_me: error: cannot compute sizeof (long double), 77
7081 See \`config.log' for more details." >&2;}
7082 { (exit 1); exit 1; }; }
7084 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7089 ac_cv_sizeof_long_double
=0
7092 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
7093 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6
7094 cat >>confdefs.h
<<_ACEOF
7095 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
7099 sizeof_long_double
=$ac_cv_sizeof_long_double
7102 ### End of automated tests.
7103 ### Now run sysdeps configure fragments.
7105 # They also can set these variables.
7107 ldd_rewrite_script
=no
7108 libc_cv_sysconfdir
=$sysconfdir
7109 libc_cv_gcc_unwind_find_fde
=no
7112 # Iterate over all the sysdep directories we will use, running their
7113 # configure fragments, and looking for a uname implementation.
7115 for dir
in $sysnames; do
7118 *) dest
=$srcdir/$dir ;;
7120 if test -r $dest/configure
; then
7121 echo "$as_me:$LINENO: result: running configure fragment for $dir" >&5
7122 echo "${ECHO_T}running configure fragment for $dir" >&6
7126 if test -z "$uname"; then
7127 if test -r $dest/uname.c ||
7128 test -r $dest/uname.S ||
7129 { test -r $dest/syscalls.list
&&
7130 grep '^uname[ ]' $dest/syscalls.list
>/dev
/null
; }; then
7136 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
7137 cat >>confdefs.h
<<\_ACEOF
7138 #define EXPORT_UNWIND_FIND_FDE 1
7144 # If we will use the generic uname implementation, we must figure out what
7145 # it will say by examining the system, and write the results in config-name.h.
7146 if test "$uname" = "sysdeps/generic"; then
7148 uname_sysname
=`echo $config_os | sed 's/[0-9.]*$//'`
7149 if test $uname_sysname != $config_os; then
7150 config_release
=`echo $config_os | sed s/$uname_sysname//`
7153 echo "$as_me:$LINENO: checking OS release for uname" >&5
7154 echo $ECHO_N "checking OS release for uname... $ECHO_C" >&6
7155 if test "${libc_cv_uname_release+set}" = set; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 if test -r /vmunix
; then
7159 kernel_id
=`strings /vmunix | grep UNIX`
7160 elif test -r /dynix
; then
7161 kernel_id
=`strings /dynix | grep DYNIX`
7166 kernel_release
=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
7167 if test x
`echo "$config_release" | sed "s/^$kernel_release//"` \
7168 != x
$config_release; then
7169 # The configuration release is a substring of the kernel release.
7170 libc_cv_uname_release
=$kernel_release
7171 elif test x
$config_release != x
; then
7172 libc_cv_uname_release
=$config_release
7173 elif test x
$kernel_release != x
; then
7174 libc_cv_uname_release
=$kernel_release
7176 libc_cv_uname_release
=unknown
7179 echo "$as_me:$LINENO: result: $libc_cv_uname_release" >&5
7180 echo "${ECHO_T}$libc_cv_uname_release" >&6
7181 uname_release
="$libc_cv_uname_release"
7183 echo "$as_me:$LINENO: checking OS version for uname" >&5
7184 echo $ECHO_N "checking OS version for uname... $ECHO_C" >&6
7185 if test "${libc_cv_uname_version+set}" = set; then
7186 echo $ECHO_N "(cached) $ECHO_C" >&6
7188 if test -r /vmunix
; then
7189 kernel_id
=`strings /vmunix | grep UNIX`
7190 elif test -r /dynix
; then
7191 kernel_id
=`strings /dynix | grep DYNIX`
7196 kernel_version
=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
7197 if test -n "$kernel_version"; then
7198 libc_cv_uname_version
="$kernel_version"
7200 libc_cv_uname_version
=unknown
7203 echo "$as_me:$LINENO: result: $libc_cv_uname_version" >&5
7204 echo "${ECHO_T}$libc_cv_uname_version" >&6
7205 uname_version
="$libc_cv_uname_version"
7207 config_uname
=config-name.h
:config-name.
in
7209 # For non-generic uname, we don't need to create config-name.h at all.
7213 cat >>confdefs.h
<<\_ACEOF
7214 #define USE_IN_LIBIO 1
7218 # Test for old glibc 2.0.x headers so that they can be removed properly
7219 # Search only in includedir.
7220 echo "$as_me:$LINENO: checking for old glibc 2.0.x headers" >&5
7221 echo $ECHO_N "checking for old glibc 2.0.x headers... $ECHO_C" >&6
7222 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7224 old_glibc_headers
=yes
7226 old_glibc_headers
=no
7228 echo "$as_me:$LINENO: result: $old_glibc_headers" >&5
7229 echo "${ECHO_T}$old_glibc_headers" >&6
7230 if test ${old_glibc_headers} = yes; then
7231 { echo "$as_me:$LINENO: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7232 echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: *** be removed." >&5
7234 echo "$as_me: WARNING: *** be removed." >&2;}
7248 if test $gnu_ld = yes; then
7249 cat >>confdefs.h
<<\_ACEOF
7250 #define HAVE_GNU_LD 1
7254 if test $gnu_as = yes; then
7255 cat >>confdefs.h
<<\_ACEOF
7256 #define HAVE_GNU_AS 1
7260 if test $elf = yes; then
7261 cat >>confdefs.h
<<\_ACEOF
7266 if test $xcoff = yes; then
7267 cat >>confdefs.h
<<\_ACEOF
7268 #define HAVE_XCOFF 1
7275 if test $shared = default
; then
7276 if test $gnu_ld = yes; then
7279 # For now we do not assume shared libs are available. In future more
7280 # tests might become available.
7285 if test x
"$libc_cv_idn" = xyes
; then
7286 cat >>confdefs.h
<<\_ACEOF
7287 #define HAVE_LIBIDN 1
7292 echo "$as_me:$LINENO: checking whether -fPIC is default" >&5
7293 echo $ECHO_N "checking whether -fPIC is default... $ECHO_C" >&6
7294 if test "${pic_default+set}" = set; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6
7298 cat > conftest.c
<<EOF
7299 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7300 # error PIC is default.
7303 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7308 echo "$as_me:$LINENO: result: $pic_default" >&5
7309 echo "${ECHO_T}$pic_default" >&6
7321 *door
*) linux_doors
=yes ;;
7322 *) linux_doors
=no
;;
7328 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
7331 config_makefile
=Makefile
7334 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7335 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7339 ac_config_files
="$ac_config_files config.make ${config_makefile} ${config_uname}"
7341 ac_config_commands
="$ac_config_commands default"
7343 cat >confcache
<<\_ACEOF
7344 # This file is a shell script that caches the results of configure
7345 # tests run on this system so they can be shared between configure
7346 # scripts and configure runs, see configure's option --config-cache.
7347 # It is not useful on other systems. If it contains results you don't
7348 # want to keep, you may remove or edit it.
7350 # config.status only pays attention to the cache file if you give it
7351 # the --recheck option to rerun configure.
7353 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7359 # The following way of writing the cache mishandles newlines in values,
7360 # but we know of no workaround that is simple, portable, and efficient.
7361 # So, don't put newlines in cache variables' values.
7362 # Ultrix sh set writes to stderr and can't be redirected directly,
7363 # and sets the high bit in the cache file unless we assign to the vars.
7366 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7368 # `set' does not quote correctly, so add quotes (double-quote
7369 # substitution turns \\\\ into \\, and sed turns \\ into \).
7372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7375 # `set' quotes correctly as required by POSIX, so do not add quotes.
7377 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7384 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7386 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7388 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7389 if test -w $cache_file; then
7390 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7391 cat confcache
>$cache_file
7393 echo "not updating unwritable cache $cache_file"
7398 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7399 # Let make expand exec_prefix.
7400 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7402 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7403 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7404 # trailing colons and then remove the whole line if VPATH becomes empty
7405 # (actually we leave an empty line to preserve line numbers).
7406 if test "x$srcdir" = x.
; then
7407 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7408 s/:*\$(srcdir):*/:/;
7409 s/:*\${srcdir}:*/:/;
7411 s/^\([^=]*=[ ]*\):*/\1/;
7417 DEFS
=-DHAVE_CONFIG_H
7421 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7422 # 1. Remove the extension, and $U if already installed.
7423 ac_i
=`echo "$ac_i" |
7424 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7426 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7427 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7431 LTLIBOBJS
=$ac_ltlibobjs
7435 : ${CONFIG_STATUS=./config.status}
7436 ac_clean_files_save
=$ac_clean_files
7437 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7438 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7439 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7440 cat >$CONFIG_STATUS <<_ACEOF
7442 # Generated by $as_me.
7443 # Run this file to recreate the current configuration.
7444 # Compiler output produced by configure, useful for debugging
7445 # configure, is in config.log if it exists.
7450 SHELL=\${CONFIG_SHELL-$SHELL}
7453 cat >>$CONFIG_STATUS <<\_ACEOF
7454 ## --------------------- ##
7455 ## M4sh Initialization. ##
7456 ## --------------------- ##
7458 # Be Bourne compatible
7459 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7462 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7463 # is contrary to our usage. Disable this feature.
7464 alias -g '${1+"$@"}'='"$@"'
7465 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7469 # Support unset when possible.
7470 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
7477 # Work around bugs in pre-3.0 UWIN ksh.
7478 $as_unset ENV MAIL MAILPATH
7485 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7486 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7487 LC_TELEPHONE LC_TIME
7489 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
7490 eval $as_var=C
; export $as_var
7496 # Required to use basename.
7497 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7503 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7504 as_basename
=basename
7510 # Name of the executable.
7511 as_me
=`$as_basename "$0" ||
7512 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7513 X"$0" : 'X\(//\)$' \| \
7514 X"$0" : 'X\(/\)$' \| \
7515 . : '\(.\)' 2>/dev/null ||
7517 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7518 /^X\/\(\/\/\)$/{ s//\1/; q; }
7519 /^X\/\(\/\).*/{ s//\1/; q; }
7523 # PATH needs CR, and LINENO needs CR and PATH.
7524 # Avoid depending upon Character Ranges.
7525 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7526 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7527 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7528 as_cr_digits
='0123456789'
7529 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7531 # The user is always right.
7532 if test "${PATH_SEPARATOR+set}" != set; then
7533 echo "#! /bin/sh" >conf$$.sh
7534 echo "exit 0" >>conf$$.sh
7536 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7547 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7548 test "x$as_lineno_1" != "x$as_lineno_2" &&
7549 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7550 # Find who we are. Look in the path if we contain no path at all
7553 *[\\/]* ) as_myself
=$0 ;;
7554 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7558 test -z "$as_dir" && as_dir
=.
7559 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7564 # We did not find ourselves, most probably we were run as `sh COMMAND'
7565 # in which case we are not to be found in the path.
7566 if test "x$as_myself" = x
; then
7569 if test ! -f "$as_myself"; then
7570 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7571 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7572 { (exit 1); exit 1; }; }
7574 case $CONFIG_SHELL in
7576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7577 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7580 test -z "$as_dir" && as_dir
=.
7581 for as_base
in sh bash ksh sh5
; do
7584 if ("$as_dir/$as_base" -c '
7587 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7588 test "x$as_lineno_1" != "x$as_lineno_2" &&
7589 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7590 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7591 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7592 CONFIG_SHELL
=$as_dir/$as_base
7594 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7602 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7603 # uniformly replaced by the line number. The first 'sed' inserts a
7604 # line-number line before each line; the second 'sed' does the real
7605 # work. The second script uses 'N' to pair each line-number line
7606 # with the numbered line, and appends trailing '-' during
7607 # substitution so that $LINENO is not a special case at line end.
7608 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7609 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7610 sed '=' <$as_myself |
7615 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7618 s,^['$as_cr_digits']*\n,,
7620 chmod +x
$as_me.lineno ||
7621 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7622 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7623 { (exit 1); exit 1; }; }
7625 # Don't try to exec as it changes $[0], causing all sort of problems
7626 # (the dirname of $[0] is not the place where we might find the
7627 # original and so on. Autoconf is especially sensible to this).
7629 # Exit status is that of the last command.
7634 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7635 *c
*,-n*) ECHO_N
= ECHO_C
='
7637 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7638 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7641 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7647 rm -f conf$$ conf$$.exe conf$$.
file
7649 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7650 # We could just check for DJGPP; but this test a) works b) is more generic
7651 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7652 if test -f conf$$.exe
; then
7653 # Don't use ln at all; we don't have any links
7658 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7663 rm -f conf$$ conf$$.exe conf$$.
file
7665 if mkdir
-p .
2>/dev
/null
; then
7671 as_executable_p
="test -f"
7673 # Sed expression to map a string onto a valid CPP name.
7674 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7676 # Sed expression to map a string onto a valid variable name.
7677 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7681 # We need space, tab and new line, in precisely that order.
7691 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7692 # report actual input values of CONFIG_FILES etc. instead of their
7693 # values after options handling. Logging --version etc. is OK.
7697 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7698 ## Running $as_me. ##
7703 This file was extended by GNU C Library $as_me (see version.h), which was
7704 generated by GNU Autoconf 2.57. Invocation command line was
7706 CONFIG_FILES = $CONFIG_FILES
7707 CONFIG_HEADERS = $CONFIG_HEADERS
7708 CONFIG_LINKS = $CONFIG_LINKS
7709 CONFIG_COMMANDS = $CONFIG_COMMANDS
7713 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7717 # Files that config.status was made for.
7718 if test -n "$ac_config_files"; then
7719 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7722 if test -n "$ac_config_headers"; then
7723 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7726 if test -n "$ac_config_links"; then
7727 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7730 if test -n "$ac_config_commands"; then
7731 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7734 cat >>$CONFIG_STATUS <<\_ACEOF
7737 \`$as_me' instantiates files from templates according to the
7738 current configuration.
7740 Usage: $0 [OPTIONS] [FILE]...
7742 -h, --help print this help, then exit
7743 -V, --version print version number, then exit
7744 -q, --quiet do not print progress messages
7745 -d, --debug don't remove temporary files
7746 --recheck update $as_me by reconfiguring in the same conditions
7747 --file=FILE[:TEMPLATE]
7748 instantiate the configuration file FILE
7749 --header=FILE[:TEMPLATE]
7750 instantiate the configuration header FILE
7752 Configuration files:
7755 Configuration headers:
7758 Configuration commands:
7761 Report bugs to <bug-autoconf@gnu.org>."
7764 cat >>$CONFIG_STATUS <<_ACEOF
7766 GNU C Library config.status (see version.h)
7767 configured by $0, generated by GNU Autoconf 2.57,
7768 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7770 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7771 Free Software Foundation, Inc.
7772 This config.status script is free software; the Free Software Foundation
7773 gives unlimited permission to copy, distribute and modify it."
7778 cat >>$CONFIG_STATUS <<\_ACEOF
7779 # If no file are specified by the user, then we need to provide default
7780 # value. By we need to know if files were specified by the user.
7786 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7787 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7795 *) # This is not an option, so the user has probably given explicit
7798 ac_need_defaults
=false
;;
7802 # Handling of the options.
7804 cat >>$CONFIG_STATUS <<\_ACEOF
7805 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7807 --version |
--vers* |
-V )
7808 echo "$ac_cs_version"; exit 0 ;;
7810 # Conflict between --help and --header
7811 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7812 Try \`$0 --help' for more information." >&5
7813 echo "$as_me: error: ambiguous option: $1
7814 Try \`$0 --help' for more information." >&2;}
7815 { (exit 1); exit 1; }; };;
7816 --help |
--hel |
-h )
7817 echo "$ac_cs_usage"; exit 0 ;;
7818 --debug |
--d* |
-d )
7820 --file |
--fil |
--fi |
--f )
7822 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7823 ac_need_defaults
=false
;;
7824 --header |
--heade |
--head |
--hea )
7826 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7827 ac_need_defaults
=false
;;
7828 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7829 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7833 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7834 Try \`$0 --help' for more information." >&5
7835 echo "$as_me: error: unrecognized option: $1
7836 Try \`$0 --help' for more information." >&2;}
7837 { (exit 1); exit 1; }; } ;;
7839 *) ac_config_targets
="$ac_config_targets $1" ;;
7845 ac_configure_extra_args
=
7847 if $ac_cs_silent; then
7849 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7853 cat >>$CONFIG_STATUS <<_ACEOF
7854 if \$ac_cs_recheck; then
7855 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7856 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7861 cat >>$CONFIG_STATUS <<_ACEOF
7863 # INIT-COMMANDS section.
7866 config_vars='$config_vars'
7872 cat >>$CONFIG_STATUS <<\_ACEOF
7873 for ac_config_target
in $ac_config_targets
7875 case "$ac_config_target" in
7876 # Handling of arguments.
7877 "config.make" ) CONFIG_FILES
="$CONFIG_FILES config.make" ;;
7878 "${config_makefile}" ) CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
7879 "${config_uname}" ) CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
7880 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
7881 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7882 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7883 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7884 { (exit 1); exit 1; }; };;
7888 # If the user did not use the arguments to specify the items to instantiate,
7889 # then the envvar interface is used. Set only those that are not.
7890 # We use the long form for the default assignment because of an extremely
7891 # bizarre bug on SunOS 4.1.3.
7892 if $ac_need_defaults; then
7893 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7894 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7895 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7898 # Have a temporary directory for convenience. Make it in the build tree
7899 # simply because there is no reason to put it here, and in addition,
7900 # creating and moving files from /tmp can sometimes cause problems.
7901 # Create a temporary directory, and hook for its removal unless debugging.
7904 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7905 trap '{ (exit 1); exit 1; }' 1 2 13 15
7908 # Create a (secure) tmp directory for tmp files.
7911 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7912 test -n "$tmp" && test -d "$tmp"
7915 tmp
=.
/confstat$$
-$RANDOM
7916 (umask 077 && mkdir
$tmp)
7919 echo "$me: cannot create a temporary directory in ." >&2
7920 { (exit 1); exit 1; }
7925 cat >>$CONFIG_STATUS <<_ACEOF
7928 # CONFIG_FILES section.
7931 # No need to generate the scripts if there are no CONFIG_FILES.
7932 # This happens for instance when ./config.status config.h
7933 if test -n "\$CONFIG_FILES"; then
7934 # Protect against being on the right side of a sed subst in config.status.
7935 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7936 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7937 s,@SHELL@,$SHELL,;t t
7938 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7939 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7940 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7941 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7942 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7943 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7944 s,@exec_prefix@,$exec_prefix,;t t
7945 s,@prefix@,$prefix,;t t
7946 s,@program_transform_name@,$program_transform_name,;t t
7947 s,@bindir@,$bindir,;t t
7948 s,@sbindir@,$sbindir,;t t
7949 s,@libexecdir@,$libexecdir,;t t
7950 s,@datadir@,$datadir,;t t
7951 s,@sysconfdir@,$sysconfdir,;t t
7952 s,@sharedstatedir@,$sharedstatedir,;t t
7953 s,@localstatedir@,$localstatedir,;t t
7954 s,@libdir@,$libdir,;t t
7955 s,@includedir@,$includedir,;t t
7956 s,@oldincludedir@,$oldincludedir,;t t
7957 s,@infodir@,$infodir,;t t
7958 s,@mandir@,$mandir,;t t
7959 s,@build_alias@,$build_alias,;t t
7960 s,@host_alias@,$host_alias,;t t
7961 s,@target_alias@,$target_alias,;t t
7963 s,@ECHO_C@,$ECHO_C,;t t
7964 s,@ECHO_N@,$ECHO_N,;t t
7965 s,@ECHO_T@,$ECHO_T,;t t
7967 s,@with_fp@,$with_fp,;t t
7968 s,@with_cvs@,$with_cvs,;t t
7969 s,@enable_check_abi@,$enable_check_abi,;t t
7970 s,@oldest_abi@,$oldest_abi,;t t
7971 s,@bindnow@,$bindnow,;t t
7972 s,@force_install@,$force_install,;t t
7973 s,@all_warnings@,$all_warnings,;t t
7974 s,@build@,$build,;t t
7975 s,@build_cpu@,$build_cpu,;t t
7976 s,@build_vendor@,$build_vendor,;t t
7977 s,@build_os@,$build_os,;t t
7979 s,@host_cpu@,$host_cpu,;t t
7980 s,@host_vendor@,$host_vendor,;t t
7981 s,@host_os@,$host_os,;t t
7982 s,@subdirs@,$subdirs,;t t
7983 s,@add_ons@,$add_ons,;t t
7984 s,@base_machine@,$base_machine,;t t
7985 s,@sysnames@,$sysnames,;t t
7986 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7987 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7988 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7991 s,@CFLAGS@,$CFLAGS,;t t
7992 s,@LDFLAGS@,$LDFLAGS,;t t
7993 s,@CPPFLAGS@,$CPPFLAGS,;t t
7994 s,@ac_ct_CC@,$ac_ct_CC,;t t
7995 s,@OBJEXT@,$OBJEXT,;t t
7996 s,@BUILD_CC@,$BUILD_CC,;t t
7997 s,@cross_compiling@,$cross_compiling,;t t
8000 s,@CXXFLAGS@,$CXXFLAGS,;t t
8001 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
8003 s,@OBJDUMP@,$OBJDUMP,;t t
8004 s,@RANLIB@,$RANLIB,;t t
8005 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8009 s,@PWD_P@,$PWD_P,;t t
8011 s,@MSGFMT@,$MSGFMT,;t t
8012 s,@MAKEINFO@,$MAKEINFO,;t t
8014 s,@AUTOCONF@,$AUTOCONF,;t t
8015 s,@SYSINCLUDES@,$SYSINCLUDES,;t t
8016 s,@libc_cv_gcc_static_libgcc@,$libc_cv_gcc_static_libgcc,;t t
8018 s,@libc_cv_have_bash2@,$libc_cv_have_bash2,;t t
8020 s,@libc_cv_have_ksh@,$libc_cv_have_ksh,;t t
8023 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
8024 s,@BISON@,$BISON,;t t
8025 s,@VERSIONING@,$VERSIONING,;t t
8026 s,@libc_cv_asm_protected_directive@,$libc_cv_asm_protected_directive,;t t
8027 s,@libc_cv_initfinit_array@,$libc_cv_initfinit_array,;t t
8028 s,@libc_cv_cc_with_libunwind@,$libc_cv_cc_with_libunwind,;t t
8029 s,@libc_cv_z_nodelete@,$libc_cv_z_nodelete,;t t
8030 s,@libc_cv_z_nodlopen@,$libc_cv_z_nodlopen,;t t
8031 s,@libc_cv_z_initfirst@,$libc_cv_z_initfirst,;t t
8032 s,@libc_cv_z_relro@,$libc_cv_z_relro,;t t
8033 s,@libc_cv_Bgroup@,$libc_cv_Bgroup,;t t
8034 s,@libc_cv_libgcc_s_suffix@,$libc_cv_libgcc_s_suffix,;t t
8035 s,@libc_cv_as_needed@,$libc_cv_as_needed,;t t
8036 s,@ASFLAGS_config@,$ASFLAGS_config,;t t
8037 s,@libc_cv_z_combreloc@,$libc_cv_z_combreloc,;t t
8038 s,@libc_cv_z_execstack@,$libc_cv_z_execstack,;t t
8039 s,@libc_cv_fpie@,$libc_cv_fpie,;t t
8040 s,@fno_unit_at_a_time@,$fno_unit_at_a_time,;t t
8041 s,@libc_cv_have_initfini@,$libc_cv_have_initfini,;t t
8042 s,@libc_cv_cpp_asm_debuginfo@,$libc_cv_cpp_asm_debuginfo,;t t
8043 s,@no_whole_archive@,$no_whole_archive,;t t
8044 s,@exceptions@,$exceptions,;t t
8045 s,@LIBGD@,$LIBGD,;t t
8046 s,@EGREP@,$EGREP,;t t
8047 s,@sizeof_long_double@,$sizeof_long_double,;t t
8048 s,@libc_cv_gcc_unwind_find_fde@,$libc_cv_gcc_unwind_find_fde,;t t
8049 s,@uname_sysname@,$uname_sysname,;t t
8050 s,@uname_release@,$uname_release,;t t
8051 s,@uname_version@,$uname_version,;t t
8052 s,@old_glibc_headers@,$old_glibc_headers,;t t
8053 s,@libc_cv_slibdir@,$libc_cv_slibdir,;t t
8054 s,@libc_cv_localedir@,$libc_cv_localedir,;t t
8055 s,@libc_cv_sysconfdir@,$libc_cv_sysconfdir,;t t
8056 s,@libc_cv_rootsbindir@,$libc_cv_rootsbindir,;t t
8057 s,@libc_cv_forced_unwind@,$libc_cv_forced_unwind,;t t
8058 s,@use_ldconfig@,$use_ldconfig,;t t
8059 s,@ldd_rewrite_script@,$ldd_rewrite_script,;t t
8060 s,@gnu_ld@,$gnu_ld,;t t
8061 s,@gnu_as@,$gnu_as,;t t
8063 s,@xcoff@,$xcoff,;t t
8064 s,@static@,$static,;t t
8065 s,@shared@,$shared,;t t
8066 s,@pic_default@,$pic_default,;t t
8067 s,@profile@,$profile,;t t
8068 s,@omitfp@,$omitfp,;t t
8069 s,@bounded@,$bounded,;t t
8070 s,@static_nss@,$static_nss,;t t
8071 s,@nopic_initfini@,$nopic_initfini,;t t
8072 s,@DEFINES@,$DEFINES,;t t
8073 s,@linux_doors@,$linux_doors,;t t
8074 s,@mach_interface_list@,$mach_interface_list,;t t
8075 s,@VERSION@,$VERSION,;t t
8076 s,@RELEASE@,$RELEASE,;t t
8077 s,@LIBOBJS@,$LIBOBJS,;t t
8078 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8083 cat >>$CONFIG_STATUS <<\_ACEOF
8084 # Split the substitutions into bite-sized pieces for seds with
8085 # small command number limits, like on Digital OSF/1 and HP-UX.
8087 ac_sed_frag
=1 # Number of current file.
8088 ac_beg
=1 # First line for current file.
8089 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8092 while $ac_more_lines; do
8093 if test $ac_beg -gt 1; then
8094 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8096 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8098 if test ! -s $tmp/subs.frag
; then
8101 # The purpose of the label and of the branching condition is to
8102 # speed up the sed processing (if there are no `@' at all, there
8103 # is no need to browse any of the substitutions).
8104 # These are the two extra sed commands mentioned above.
8106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8107 if test -z "$ac_sed_cmds"; then
8108 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8110 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8112 ac_sed_frag
=`expr $ac_sed_frag + 1`
8114 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8117 if test -z "$ac_sed_cmds"; then
8120 fi # test -n "$CONFIG_FILES"
8123 cat >>$CONFIG_STATUS <<\_ACEOF
8124 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8125 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8127 - |
*:- |
*:-:* ) # input from stdin
8129 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8130 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8131 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8132 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8133 * ) ac_file_in
=$ac_file.
in ;;
8136 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8137 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8139 X"$ac_file" : 'X\(//\)[^/]' \| \
8140 X"$ac_file" : 'X\(//\)$' \| \
8141 X"$ac_file" : 'X\(/\)' \| \
8142 . : '\(.\)' 2>/dev/null ||
8144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8145 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8146 /^X\(\/\/\)$/{ s//\1/; q; }
8147 /^X\(\/\).*/{ s//\1/; q; }
8149 { if $as_mkdir_p; then
8154 while test ! -d "$as_dir"; do
8155 as_dirs
="$as_dir $as_dirs"
8156 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8158 X"$as_dir" : 'X\(//\)[^/]' \| \
8159 X"$as_dir" : 'X\(//\)$' \| \
8160 X"$as_dir" : 'X\(/\)' \| \
8161 . : '\(.\)' 2>/dev/null ||
8163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8164 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8165 /^X\(\/\/\)$/{ s//\1/; q; }
8166 /^X\(\/\).*/{ s//\1/; q; }
8169 test ! -n "$as_dirs" || mkdir
$as_dirs
8170 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8171 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8172 { (exit 1); exit 1; }; }; }
8176 if test "$ac_dir" != .
; then
8177 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8178 # A "../" for each directory in $ac_dir_suffix.
8179 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8181 ac_dir_suffix
= ac_top_builddir
=
8185 .
) # No --srcdir option. We are building in place.
8187 if test -z "$ac_top_builddir"; then
8190 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8192 [\\/]* | ?
:[\\/]* ) # Absolute path.
8193 ac_srcdir
=$srcdir$ac_dir_suffix;
8194 ac_top_srcdir
=$srcdir ;;
8196 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8197 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8199 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8201 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
8202 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8203 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8204 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8208 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8209 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8212 if test x
"$ac_file" != x-
; then
8213 { echo "$as_me:$LINENO: creating $ac_file" >&5
8214 echo "$as_me: creating $ac_file" >&6;}
8217 # Let's still pretend it is `configure' which instantiates (i.e., don't
8218 # use $as_me), people would be surprised to read:
8219 # /* config.h. Generated by config.status. */
8220 if test x
"$ac_file" = x-
; then
8223 configure_input
="$ac_file. "
8225 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8226 sed 's,.*/,,'` by configure."
8228 # First look for the input files in the build tree, otherwise in the
8230 ac_file_inputs
=`IFS=:
8231 for f in $ac_file_in; do
8233 -) echo $tmp/stdin ;;
8235 # Absolute (can't be DOS-style, as IFS=:)
8236 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8237 echo "$as_me: error: cannot find input file: $f" >&2;}
8238 { (exit 1); exit 1; }; }
8241 if test -f "$f"; then
8244 elif test -f "$srcdir/$f"; then
8249 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8250 echo "$as_me: error: cannot find input file: $f" >&2;}
8251 { (exit 1); exit 1; }; }
8254 done` ||
{ (exit 1); exit 1; }
8256 cat >>$CONFIG_STATUS <<_ACEOF
8260 cat >>$CONFIG_STATUS <<\_ACEOF
8262 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8263 s
,@configure_input@
,$configure_input,;t t
8264 s
,@srcdir@
,$ac_srcdir,;t t
8265 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8266 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8267 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8268 s
,@builddir@
,$ac_builddir,;t t
8269 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8270 s
,@top_builddir@
,$ac_top_builddir,;t t
8271 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8272 s
,@INSTALL@
,$ac_INSTALL,;t t
8273 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8275 if test x"$ac_file" != x-; then
8276 mv $tmp/out $ac_file
8284 cat >>$CONFIG_STATUS <<\_ACEOF
8287 # CONFIG_HEADER section.
8290 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8291 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8293 # ac_d sets the value in "#define NAME VALUE" lines.
8294 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8295 ac_dB
='[ ].*$,\1#\2'
8298 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8299 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8300 ac_uB
='$,\1#\2define\3'
8304 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8305 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8307 - |
*:- |
*:-:* ) # input from stdin
8309 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8310 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8311 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8312 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8313 * ) ac_file_in
=$ac_file.
in ;;
8316 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8317 echo "$as_me: creating $ac_file" >&6;}
8319 # First look for the input files in the build tree, otherwise in the
8321 ac_file_inputs
=`IFS=:
8322 for f in $ac_file_in; do
8324 -) echo $tmp/stdin ;;
8326 # Absolute (can't be DOS-style, as IFS=:)
8327 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8328 echo "$as_me: error: cannot find input file: $f" >&2;}
8329 { (exit 1); exit 1; }; }
8332 if test -f "$f"; then
8335 elif test -f "$srcdir/$f"; then
8340 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8341 echo "$as_me: error: cannot find input file: $f" >&2;}
8342 { (exit 1); exit 1; }; }
8345 done` ||
{ (exit 1); exit 1; }
8346 # Remove the trailing spaces.
8347 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8351 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8352 # `conftest.undefs', that substitutes the proper values into
8353 # config.h.in to produce config.h. The first handles `#define'
8354 # templates, and the second `#undef' templates.
8355 # And first: Protect against being on the right side of a sed subst in
8356 # config.status. Protect against being in an unquoted here document
8358 rm -f conftest.defines conftest.undefs
8359 # Using a here document instead of a string reduces the quoting nightmare.
8360 # Putting comments in sed scripts is not portable.
8362 # `end' is used to avoid that the second main sed command (meant for
8363 # 0-ary CPP macros) applies to n-ary macro definitions.
8364 # See the Autoconf documentation for `clear'.
8365 cat >confdef2sed.
sed <<\_ACEOF
8370 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8372 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8375 # If some macros were called several times there might be several times
8376 # the same #defines, which is useless. Nevertheless, we may not want to
8377 # sort them, since we want the *last* AC-DEFINE to be honored.
8378 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8379 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8380 rm -f confdef2sed.sed
8382 # This sed command replaces #undef with comments. This is necessary, for
8383 # example, in the case of _POSIX_SOURCE, which is predefined and required
8384 # on some systems where configure will not decide to define it.
8385 cat >>conftest.undefs <<\_ACEOF
8386 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8389 # Break up conftest.defines because some shells have a limit on the size
8390 # of here documents, and old seds have small limits too (100 cmds).
8391 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8392 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8393 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8394 echo ' :' >>$CONFIG_STATUS
8396 while grep . conftest.defines >/dev/null
8398 # Write a limited-size here document to $tmp/defines.sed.
8399 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8400 # Speed up: don't consider the non `#define' lines.
8401 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8402 # Work around the forget-to-reset-the-flag bug.
8403 echo 't clr' >>$CONFIG_STATUS
8404 echo ': clr' >>$CONFIG_STATUS
8405 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8407 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8411 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8412 rm -f conftest.defines
8413 mv conftest.
tail conftest.defines
8415 rm -f conftest.defines
8416 echo ' fi # grep' >>$CONFIG_STATUS
8417 echo >>$CONFIG_STATUS
8419 # Break up conftest.undefs because some shells have a limit on the size
8420 # of here documents, and old seds have small limits too (100 cmds).
8421 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8423 while grep . conftest.undefs
>/dev
/null
8425 # Write a limited-size here document to $tmp/undefs.sed.
8426 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8427 # Speed up: don't consider the non
`#undef'
8428 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8429 # Work around the forget-to-reset-the-flag bug.
8430 echo 't clr' >>$CONFIG_STATUS
8431 echo ': clr' >>$CONFIG_STATUS
8432 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8434 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8438 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8439 rm -f conftest.undefs
8440 mv conftest.tail conftest.undefs
8442 rm -f conftest.undefs
8444 cat >>$CONFIG_STATUS <<\_ACEOF
8445 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8446 # use $as_me), people would be surprised to read:
8447 # /* config.h. Generated by config.status. */
8448 if test x
"$ac_file" = x-
; then
8449 echo "/* Generated by configure. */" >$tmp/config.h
8451 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8453 cat $tmp/in >>$tmp/config.h
8455 if test x
"$ac_file" != x-
; then
8456 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8457 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8458 echo "$as_me: $ac_file is unchanged" >&6;}
8460 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8461 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8462 X"$ac_file" : 'X\(//\)[^/]' \| \
8463 X"$ac_file" : 'X\(//\)$' \| \
8464 X"$ac_file" : 'X\(/\)' \| \
8465 . : '\(.\)' 2>/dev/null ||
8467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8468 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8469 /^X\(\/\/\)$/{ s//\1/; q; }
8470 /^X\(\/\).*/{ s//\1/; q; }
8472 { if $as_mkdir_p; then
8477 while test ! -d "$as_dir"; do
8478 as_dirs
="$as_dir $as_dirs"
8479 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8481 X"$as_dir" : 'X\(//\)[^/]' \| \
8482 X"$as_dir" : 'X\(//\)$' \| \
8483 X"$as_dir" : 'X\(/\)' \| \
8484 . : '\(.\)' 2>/dev/null ||
8486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8488 /^X\(\/\/\)$/{ s//\1/; q; }
8489 /^X\(\/\).*/{ s//\1/; q; }
8492 test ! -n "$as_dirs" || mkdir
$as_dirs
8493 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8494 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8495 { (exit 1); exit 1; }; }; }
8498 mv $tmp/config.h
$ac_file
8506 cat >>$CONFIG_STATUS <<\_ACEOF
8509 # CONFIG_COMMANDS section.
8511 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8512 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8513 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8514 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8515 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8516 X"$ac_dest" : 'X\(//\)[^/]' \| \
8517 X"$ac_dest" : 'X\(//\)$' \| \
8518 X"$ac_dest" : 'X\(/\)' \| \
8519 . : '\(.\)' 2>/dev/null ||
8521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8523 /^X\(\/\/\)$/{ s//\1/; q; }
8524 /^X\(\/\).*/{ s//\1/; q; }
8528 if test "$ac_dir" != .
; then
8529 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8530 # A "../" for each directory in $ac_dir_suffix.
8531 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8533 ac_dir_suffix
= ac_top_builddir
=
8537 .
) # No --srcdir option. We are building in place.
8539 if test -z "$ac_top_builddir"; then
8542 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8544 [\\/]* | ?
:[\\/]* ) # Absolute path.
8545 ac_srcdir
=$srcdir$ac_dir_suffix;
8546 ac_top_srcdir
=$srcdir ;;
8548 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8549 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8551 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8553 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
8554 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8555 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8556 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8559 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8560 echo "$as_me: executing $ac_dest commands" >&6;}
8563 case $CONFIG_FILES in *config.
make*)
8564 echo "$config_vars" >> config.
make;;
8566 test -d bits || mkdir bits
;;
8571 cat >>$CONFIG_STATUS <<\_ACEOF
8573 { (exit 0); exit 0; }
8575 chmod +x
$CONFIG_STATUS
8576 ac_clean_files
=$ac_clean_files_save
8579 # configure is writing to config.log, and then calls config.status.
8580 # config.status does its own redirection, appending to config.log.
8581 # Unfortunately, on DOS this fails, as config.log is still kept open
8582 # by configure, so config.status won't be able to write to it; its
8583 # output is simply discarded. So we exec the FD to /dev/null,
8584 # effectively closing config.log, so it can be properly (re)opened and
8585 # appended to by config.status. When coming back to configure, we
8586 # need to make the FD available again.
8587 if test "$no_create" != yes; then
8589 ac_config_status_args
=
8590 test "$silent" = yes &&
8591 ac_config_status_args
="$ac_config_status_args --quiet"
8593 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8595 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8596 # would make configure fail if this is the last instruction.
8597 $ac_cs_success ||
{ (exit 1); exit 1; }
8601 # CONFIG_SUBDIRS section.
8603 if test "$no_recursion" != yes; then
8605 # Remove --cache-file and --srcdir arguments so they do not pile up.
8606 ac_sub_configure_args
=
8608 for ac_arg
in $ac_configure_args; do
8609 if test -n "$ac_prev"; then
8614 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8615 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8616 ac_prev
=cache_file
;;
8617 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8618 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8621 --config-cache |
-C)
8623 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8625 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8627 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8629 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8631 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
8635 # Always prepend --prefix to ensure using the same prefix
8636 # in subdir configurations.
8637 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
8640 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8642 # Do not complain, so a configure script can configure whichever
8643 # parts of a large source tree are present.
8644 test -d $srcdir/$ac_dir ||
continue
8646 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
8647 echo "$as_me: configuring in $ac_dir" >&6;}
8648 { if $as_mkdir_p; then
8653 while test ! -d "$as_dir"; do
8654 as_dirs
="$as_dir $as_dirs"
8655 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8657 X"$as_dir" : 'X\(//\)[^/]' \| \
8658 X"$as_dir" : 'X\(//\)$' \| \
8659 X"$as_dir" : 'X\(/\)' \| \
8660 . : '\(.\)' 2>/dev/null ||
8662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8664 /^X\(\/\/\)$/{ s//\1/; q; }
8665 /^X\(\/\).*/{ s//\1/; q; }
8668 test ! -n "$as_dirs" || mkdir
$as_dirs
8669 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8670 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8671 { (exit 1); exit 1; }; }; }
8675 if test "$ac_dir" != .
; then
8676 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8677 # A "../" for each directory in $ac_dir_suffix.
8678 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8680 ac_dir_suffix
= ac_top_builddir
=
8684 .
) # No --srcdir option. We are building in place.
8686 if test -z "$ac_top_builddir"; then
8689 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8691 [\\/]* | ?
:[\\/]* ) # Absolute path.
8692 ac_srcdir
=$srcdir$ac_dir_suffix;
8693 ac_top_srcdir
=$srcdir ;;
8695 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8696 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8698 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8700 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
8701 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8702 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8703 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8708 # Check for guested configure; otherwise get Cygnus style configure.
8709 if test -f $ac_srcdir/configure.gnu
; then
8710 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
8711 elif test -f $ac_srcdir/configure
; then
8712 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
8713 elif test -f $ac_srcdir/configure.
in; then
8714 ac_sub_configure
=$ac_configure
8716 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8717 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8721 # The recursion is here.
8722 if test -n "$ac_sub_configure"; then
8723 # Make the cache file name correct relative to the subdirectory.
8725 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8727 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
8730 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8731 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8732 # The eval makes quoting arguments work.
8733 eval $ac_sub_configure $ac_sub_configure_args \
8734 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
8735 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8736 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8737 { (exit 1); exit 1; }; }