2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.54 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
42 for as_var
in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
44 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conftest.sh
89 echo "exit 0" >>conftest.sh
91 if (PATH
="/nonexistent;."; conftest.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME
='GNU C Library'
268 PACKAGE_TARNAME
='c-library'
269 PACKAGE_VERSION
='(see version.h)'
270 PACKAGE_STRING
='GNU C Library (see version.h)'
271 PACKAGE_BUGREPORT
='glibc'
273 ac_unique_file
="include/features.h"
274 ac_subdirs_all
="$ac_subdirs_all "
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 oldest_abi subdirs force_install all_warnings build build_cpu build_vendor build_os host host_cpu host_vendor host_os base_machine sysnames INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S PWD_P CC MAKE MSGFMT MAKEINFO SED AUTOCONF CFLAGS LDFLAGS CPPFLAGS ac_ct_CC OBJEXT BUILD_CC cross_compiling CPP AR OBJDUMP RANLIB ac_ct_RANLIB MIG AS LD CCVERSION SYSINCLUDES libc_cv_gcc_static_libgcc BASH libc_cv_have_bash2 KSH libc_cv_have_ksh AWK PERL INSTALL_INFO OLD_DEBIAN_INSTALL_INFO BISON VERSIONING libc_cv_asm_protected_directive libc_cv_initfinit_array libc_cv_z_nodelete libc_cv_z_nodlopen libc_cv_z_initfirst libc_cv_Bgroup libc_cv_z_combreloc libc_cv_have_initfini 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 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'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
840 if test -n "$ac_init_help"; then
841 case $ac_init_help in
842 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
847 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
848 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
849 --disable-sanity-checks really
do not use threads
(should not be used except
850 in special situations
) [default
=yes]
851 --enable-shared build shared library
[default
=yes if GNU ld
&
853 --enable-profile build profiled library
[default
=yes]
854 --enable-omitfp build undebuggable optimized library
856 --enable-bounded build with runtime bounds checking
858 --disable-versioning do not include versioning information
in the library
859 objects
[default
=yes if supported
]
860 --enable-oldest-abi=ABI configure the oldest ABI supported
[e.g.
2.2]
861 [default
=glibc default
]
862 --enable-add-ons[=DIRS...
]
863 configure and build add-ons
in DIR1
,DIR2
,... search
864 for add-ons
if no parameter given
865 --disable-hidden-plt do not hide internal
function calls to avoid PLT
866 --enable-static-nss build static NSS modules
[default
=no
]
867 --disable-force-install don
't force installation of files from this package,
868 even if they are older than the installed files
869 --enable-kernel=VERSION compile for compatibility with kernel not older than
871 --enable-all-warnings enable all useful warnings gcc can issue
874 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
875 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
876 --with-gmp=DIRECTORY find GMP source code in DIRECTORY (not needed)
877 --with-gd=DIR find libgd include dir and library with prefix DIR
878 --with-gd-include=DIR find libgd include files in DIR
879 --with-gd-lib=DIR find libgd library files in DIR
880 --with-fp if using floating-point hardware [default=yes]
881 --with-binutils=PATH specify location of binutils (as and ld)
882 --with-elf if using the ELF object format
883 --with-xcoff if using the XCOFF object format
884 --without-cvs if CVS should not be used
885 --with-headers=PATH location of system headers to use (for example
886 /usr/src/linux/include) [default=compiler
888 --with-tls enable support for TLS
889 --without-__thread do not use TLS features even when supporting them
891 Some influential environment variables:
892 CC C compiler command
893 CFLAGS C compiler flags
894 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
895 nonstandard directory <lib dir>
896 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
897 headers in a nonstandard directory <include dir>
900 Use these variables to override the choices made by `configure' or to
help
901 it to
find libraries and programs with nonstandard names
/locations.
903 Report bugs to
<glibc
>.
907 if test "$ac_init_help" = "recursive"; then
908 # If there are subdirs, report their specific --help.
910 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
911 test -d $ac_dir ||
continue
914 if test "$ac_dir" != .
; then
915 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
916 # A "../" for each directory in $ac_dir_suffix.
917 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
919 ac_dir_suffix
= ac_top_builddir
=
923 .
) # No --srcdir option. We are building in place.
925 if test -z "$ac_top_builddir"; then
928 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
930 [\\/]* | ?
:[\\/]* ) # Absolute path.
931 ac_srcdir
=$srcdir$ac_dir_suffix;
932 ac_top_srcdir
=$srcdir ;;
934 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
935 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
937 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
939 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
940 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
941 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
942 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
945 # Check for guested configure; otherwise get Cygnus style configure.
946 if test -f $ac_srcdir/configure.gnu
; then
948 $SHELL $ac_srcdir/configure.gnu
--help=recursive
949 elif test -f $ac_srcdir/configure
; then
951 $SHELL $ac_srcdir/configure
--help=recursive
952 elif test -f $ac_srcdir/configure.ac ||
953 test -f $ac_srcdir/configure.
in; then
957 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
963 test -n "$ac_init_help" && exit 0
964 if $ac_init_version; then
966 GNU C Library configure
(see version.h
)
967 generated by GNU Autoconf
2.54
969 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
970 Free Software Foundation
, Inc.
971 This configure
script is free software
; the Free Software Foundation
972 gives unlimited permission to copy
, distribute and modify it.
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
981 It was created by GNU C Library $as_me (see version.h), which was
982 generated by GNU Autoconf 2.54. Invocation command line was
993 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
994 uname -m = `(uname -m) 2>/dev/null || echo unknown`
995 uname -r = `(uname -r) 2>/dev/null || echo unknown`
996 uname -s = `(uname -s) 2>/dev/null || echo unknown`
997 uname -v = `(uname -v) 2>/dev/null || echo unknown`
999 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1000 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1002 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1003 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1004 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1005 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1006 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1007 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1008 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir
=.
1017 echo "PATH: $as_dir"
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Also quote any args containing shell meta-characters.
1040 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1041 |
--no-cr |
--no-c |
-n ) continue ;;
1042 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1043 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1045 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1046 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1048 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1049 # Get rid of the leading space.
1053 # When interrupted or exit'd, cleanup temporary files, and complete
1054 # config.log. We remove comments because anyway the quotes in there
1055 # would cause problems or look ugly.
1056 # WARNING: Be sure not to use single quotes in there, as some shells,
1057 # such as our DU 5.0 friend, will then `close' the trap.
1058 trap 'exit_status=$?
1059 # Save into config.log some information that might help in debugging.
1064 ## ---------------- ##
1065 ## Cache variables. ##
1066 ## ---------------- ##
1069 # The following way of writing the cache mishandles newlines in values,
1072 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1075 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1087 ## ----------------- ##
1088 ## Output variables. ##
1089 ## ----------------- ##
1092 for ac_var in $ac_subst_vars
1094 eval ac_val=$`echo $ac_var`
1095 echo "$ac_var='"'"'$ac_val'"'"'"
1099 if test -n "$ac_subst_files"; then
1106 for ac_var in $ac_subst_files
1108 eval ac_val=$`echo $ac_var`
1109 echo "$ac_var='"'"'$ac_val'"'"'"
1114 if test -s confdefs.h; then
1121 sed "/^$/d" confdefs.h | sort
1124 test "$ac_signal" != 0 &&
1125 echo "$as_me: caught signal $ac_signal"
1126 echo "$as_me: exit $exit_status"
1128 rm -f core core.* *.core &&
1129 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1132 for ac_signal
in 1 2 13 15; do
1133 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1137 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1138 rm -rf conftest
* confdefs.h
1139 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1142 # Predefined preprocessor variables.
1144 cat >>confdefs.h
<<_ACEOF
1145 #define PACKAGE_NAME "$PACKAGE_NAME"
1149 cat >>confdefs.h
<<_ACEOF
1150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1154 cat >>confdefs.h
<<_ACEOF
1155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1159 cat >>confdefs.h
<<_ACEOF
1160 #define PACKAGE_STRING "$PACKAGE_STRING"
1164 cat >>confdefs.h
<<_ACEOF
1165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1169 # Let the site file select an alternate cache file if it wants to.
1170 # Prefer explicitly selected file to automatically selected ones.
1171 if test -z "$CONFIG_SITE"; then
1172 if test "x$prefix" != xNONE
; then
1173 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1175 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1178 for ac_site_file
in $CONFIG_SITE; do
1179 if test -r "$ac_site_file"; then
1180 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1181 echo "$as_me: loading site script $ac_site_file" >&6;}
1182 sed 's/^/| /' "$ac_site_file" >&5
1187 if test -r "$cache_file"; then
1188 # Some versions of bash will fail to source /dev/null (special
1189 # files actually), so we avoid doing that.
1190 if test -f "$cache_file"; then
1191 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1192 echo "$as_me: loading cache $cache_file" >&6;}
1194 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1195 *) . .
/$cache_file;;
1199 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1200 echo "$as_me: creating cache $cache_file" >&6;}
1204 # Check that the precious variables saved in the cache have kept the same
1206 ac_cache_corrupted
=false
1207 for ac_var
in `(set) 2>&1 |
1208 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1209 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1210 eval ac_new_set
=\
$ac_env_${ac_var}_set
1211 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1212 eval ac_new_val
="\$ac_env_${ac_var}_value"
1213 case $ac_old_set,$ac_new_set in
1215 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1217 ac_cache_corrupted
=: ;;
1219 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1220 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1221 ac_cache_corrupted
=: ;;
1224 if test "x$ac_old_val" != "x$ac_new_val"; then
1225 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1226 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1227 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1228 echo "$as_me: former value: $ac_old_val" >&2;}
1229 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1230 echo "$as_me: current value: $ac_new_val" >&2;}
1231 ac_cache_corrupted
=:
1234 # Pass precious variables to config.status.
1235 if test "$ac_new_set" = set; then
1237 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1238 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1239 *) ac_arg
=$ac_var=$ac_new_val ;;
1241 case " $ac_configure_args " in
1242 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1243 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1247 if $ac_cache_corrupted; then
1248 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1249 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1250 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1251 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1252 { (exit 1); exit 1; }; }
1256 ac_cpp
='$CPP $CPPFLAGS'
1257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1288 ac_config_headers
="$ac_config_headers config.h"
1291 for ac_dir
in scripts
$srcdir/scripts
; do
1292 if test -f $ac_dir/install-sh
; then
1294 ac_install_sh
="$ac_aux_dir/install-sh -c"
1296 elif test -f $ac_dir/install.sh
; then
1298 ac_install_sh
="$ac_aux_dir/install.sh -c"
1300 elif test -f $ac_dir/shtool
; then
1302 ac_install_sh
="$ac_aux_dir/shtool install -c"
1306 if test -z "$ac_aux_dir"; then
1307 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&5
1308 echo "$as_me: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&2;}
1309 { (exit 1); exit 1; }; }
1311 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1312 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1313 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1316 # This will get text that should go into config.make.
1319 # Check for a --with-gmp argument and set gmp-srcdir in config.make.
1321 # Check whether --with-gmp or --without-gmp was given.
1322 if test "${with_gmp+set}" = set; then
1326 yes) { { echo "$as_me:$LINENO: error: --with-gmp requires an argument; use --with-gmp=DIRECTORY" >&5
1327 echo "$as_me: error: --with-gmp requires an argument; use --with-gmp=DIRECTORY" >&2;}
1328 { (exit 1); exit 1; }; } ;;
1330 *) config_vars
="$config_vars
1331 gmp-srcdir = $withval" ;;
1335 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
1337 # Check whether --with-gd or --without-gd was given.
1338 if test "${with_gd+set}" = set; then
1342 *) libgd_include
="-I$withval/include"
1343 libgd_ldflags
="-L$withval/lib" ;;
1348 # Check whether --with-gd-include or --without-gd-include was given.
1349 if test "${with_gd_include+set}" = set; then
1350 withval
="$with_gd_include"
1351 case "$with_gd_include" in
1353 *) libgd_include
="-I$withval" ;;
1358 # Check whether --with-gd-lib or --without-gd-lib was given.
1359 if test "${with_gd_lib+set}" = set; then
1360 withval
="$with_gd_lib"
1361 case "$with_gd_lib" in
1363 *) libgd_ldflags
="-L$withval" ;;
1368 if test -n "$libgd_include"; then
1369 config_vars
="$config_vars
1370 CFLAGS-memusagestat.c = $libgd_include"
1372 if test -n "$libgd_ldflags"; then
1373 config_vars
="$config_vars
1374 libgd-LDFLAGS = $libgd_ldflags"
1378 # Check whether --with-fp or --without-fp was given.
1379 if test "${with_fp+set}" = set; then
1387 # Check whether --with-binutils or --without-binutils was given.
1388 if test "${with_binutils+set}" = set; then
1389 withval
="$with_binutils"
1390 path_binutils
=$withval
1395 # Check whether --with-elf or --without-elf was given.
1396 if test "${with_elf+set}" = set; then
1403 # Check whether --with-xcoff or --without-xcoff was given.
1404 if test "${with_xcoff+set}" = set; then
1405 withval
="$with_xcoff"
1411 # Check whether --with-cvs or --without-cvs was given.
1412 if test "${with_cvs+set}" = set; then
1418 if test "$with_cvs" = yes; then
1419 if test -d $srcdir/CVS
&& grep :pserver
: $srcdir/CVS
/Root
> /dev
/null
1427 # Check whether --with-headers or --without-headers was given.
1428 if test "${with_headers+set}" = set; then
1429 withval
="$with_headers"
1435 # Check whether --enable-sanity-checks or --disable-sanity-checks was given.
1436 if test "${enable_sanity_checks+set}" = set; then
1437 enableval
="$enable_sanity_checks"
1438 enable_sanity
=$enableval
1444 # Check whether --enable-shared or --disable-shared was given.
1445 if test "${enable_shared+set}" = set; then
1446 enableval
="$enable_shared"
1451 # Check whether --enable-profile or --disable-profile was given.
1452 if test "${enable_profile+set}" = set; then
1453 enableval
="$enable_profile"
1458 # Check whether --enable-omitfp or --disable-omitfp was given.
1459 if test "${enable_omitfp+set}" = set; then
1460 enableval
="$enable_omitfp"
1465 # Check whether --enable-bounded or --disable-bounded was given.
1466 if test "${enable_bounded+set}" = set; then
1467 enableval
="$enable_bounded"
1472 # Check whether --enable-versioning or --disable-versioning was given.
1473 if test "${enable_versioning+set}" = set; then
1474 enableval
="$enable_versioning"
1475 enable_versioning
=$enableval
1477 enable_versioning
=yes
1480 # Check whether --enable-oldest-abi or --disable-oldest-abi was given.
1481 if test "${enable_oldest_abi+set}" = set; then
1482 enableval
="$enable_oldest_abi"
1483 oldest_abi
=$enableval
1487 if test "$oldest_abi" = yes ||
test "$oldest_abi" = no
; then
1490 cat >>confdefs.h
<<_ACEOF
1491 #define GLIBC_OLDEST_ABI "$oldest_abi"
1497 # Check whether --enable-add-ons or --disable-add-ons was given.
1498 if test "${enable_add_ons+set}" = set; then
1499 enableval
="$enable_add_ons"
1500 case "$enableval" in
1501 yes) add_ons
=`cd $srcdir && echo */configure | sed -e 's!/configure!!g'`
1502 test "$add_ons" = "*" && add_ons
= ;;
1503 *) add_ons
=`echo "$enableval" | sed 's/,/ /g'`;;
1510 # Check whether --with-tls or --without-tls was given.
1511 if test "${with_tls+set}" = set; then
1519 # Check whether --with-__thread or --without-__thread was given.
1520 if test "${with___thread+set}" = set; then
1521 withval
="$with___thread"
1522 use__thread
=$withval
1527 # Check whether --enable-hidden-plt or --disable-hidden-plt was given.
1528 if test "${enable_hidden_plt+set}" = set; then
1529 enableval
="$enable_hidden_plt"
1534 if test "x$hidden" = xno
; then
1535 cat >>confdefs.h
<<\_ACEOF
1545 if test x
"$add_ons" != x
; then
1546 for f
in $add_ons; do
1547 # Some sanity checks
1548 if test "$f" = "crypt"; then
1549 { { echo "$as_me:$LINENO: error:
1550 *** It seems that you're using an old \`crypt' add-on. crypt is now
1551 *** part of glibc and using the old add-on will not work with this
1552 *** release. Start again with fresh sources and without the old
1553 *** \`crypt' add-on." >&5
1554 echo "$as_me: error:
1555 *** It seems that you're using an old \`crypt' add-on. crypt is now
1556 *** part of glibc and using the old add-on will not work with this
1557 *** release. Start again with fresh sources and without the old
1558 *** \`crypt' add-on." >&2;}
1559 { (exit 1); exit 1; }; }
1561 if test "$f" = "localedata"; then
1562 { { echo "$as_me:$LINENO: error:
1563 *** It seems that you're using an old \`localedata' add-on. localedata
1564 *** is now part of glibc and using the old add-on will not work with
1565 *** this release. Start again with fresh sources and without the old
1566 *** \`localedata' add-on." >&5
1567 echo "$as_me: error:
1568 *** It seems that you're using an old \`localedata' add-on. localedata
1569 *** is now part of glibc and using the old add-on will not work with
1570 *** this release. Start again with fresh sources and without the old
1571 *** \`localedata' add-on." >&2;}
1572 { (exit 1); exit 1; }; }
1574 # Test whether such a subdir really exists.
1575 if test -d $srcdir/$f; then
1576 add_ons_pfx
="$add_ons_pfx $f/"
1577 subdirs
="$subdirs $f"
1579 { { echo "$as_me:$LINENO: error: add-on directory \"$f\" does not exist" >&5
1580 echo "$as_me: error: add-on directory \"$f\" does not exist" >&2;}
1581 { (exit 1); exit 1; }; }
1586 # Check whether --enable-static-nss or --disable-static-nss was given.
1587 if test "${enable_static_nss+set}" = set; then
1588 enableval
="$enable_static_nss"
1589 static_nss
=$enableval
1593 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
1595 cat >>confdefs.h
<<\_ACEOF
1596 #define DO_STATIC_NSS 1
1601 # Check whether --enable-force-install or --disable-force-install was given.
1602 if test "${enable_force_install+set}" = set; then
1603 enableval
="$enable_force_install"
1604 force_install
=$enableval
1610 # Check whether --enable-kernel or --disable-kernel was given.
1611 if test "${enable_kernel+set}" = set; then
1612 enableval
="$enable_kernel"
1613 minimum_kernel
=$enableval
1615 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
1616 # Better nothing than this.
1619 if test "$minimum_kernel" = current
; then
1620 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
1624 # Check whether --enable-all-warnings or --disable-all-warnings was given.
1625 if test "${enable_all_warnings+set}" = set; then
1626 enableval
="$enable_all_warnings"
1627 all_warnings
=$enableval
1631 # Make sure we can run config.sub.
1632 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1633 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1634 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1635 { (exit 1); exit 1; }; }
1637 echo "$as_me:$LINENO: checking build system type" >&5
1638 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1639 if test "${ac_cv_build+set}" = set; then
1640 echo $ECHO_N "(cached) $ECHO_C" >&6
1642 ac_cv_build_alias
=$build_alias
1643 test -z "$ac_cv_build_alias" &&
1644 ac_cv_build_alias
=`$ac_config_guess`
1645 test -z "$ac_cv_build_alias" &&
1646 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1647 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1648 { (exit 1); exit 1; }; }
1649 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1650 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1651 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1652 { (exit 1); exit 1; }; }
1655 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1656 echo "${ECHO_T}$ac_cv_build" >&6
1658 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1659 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1660 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1663 echo "$as_me:$LINENO: checking host system type" >&5
1664 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1665 if test "${ac_cv_host+set}" = set; then
1666 echo $ECHO_N "(cached) $ECHO_C" >&6
1668 ac_cv_host_alias
=$host_alias
1669 test -z "$ac_cv_host_alias" &&
1670 ac_cv_host_alias
=$ac_cv_build_alias
1671 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1672 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1673 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1674 { (exit 1); exit 1; }; }
1677 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1678 echo "${ECHO_T}$ac_cv_host" >&6
1680 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1681 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1682 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1686 # The way shlib-versions is used to generate soversions.mk uses a
1687 # fairly simplistic model for name recognition that can't distinguish
1688 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
1689 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
1690 # tell. This doesn't get used much beyond that, so it's fairly safe.
1695 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
1699 # We keep the original values in `$config_*' and never modify them, so we
1700 # can write them unchanged into config.make. Everything else uses
1701 # $machine, $vendor, and $os, and changes them whenever convenient.
1702 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
1704 # Don't allow vendor == "unknown"
1705 test "$config_vendor" = unknown
&& config_vendor
=
1706 config_os
="`echo $config_os | sed 's/^unknown-//'`"
1708 # Some configurations imply other options.
1710 gnu
* | linux
* | bsd4.4
* | netbsd
* | freebsd
*)
1711 # These systems always use GNU tools.
1712 gnu_ld
=yes gnu_as
=yes ;;
1715 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
1716 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
1718 gnu
* | linux
* | freebsd
* | netbsd
* | sysv4
* | solaris2
* | irix6
*)
1719 # These systems (almost) always use the ELF format.
1723 # These systems are always xcoff
1729 machine
=$config_machine
1730 vendor
=$config_vendor
1733 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
1735 if test "$machine" = rs6000
; then
1739 # Braindead PowerPC box with absolutely no FPU.
1740 case "$machine-$host_os" in
1747 ### I put this here to prevent those annoying emails from people who cannot
1748 ### read and try to compile glibc on unsupported platforms. --drepper
1750 ### By using the undocumented --enable-hacker-mode option for configure
1751 ### one can skip this test to make the configuration not fail for unsupported
1754 if test -z "$enable_hacker_mode"; then
1755 case "$machine-$host_os" in
1756 *-linux* |
*-gnu* | arm
*-none* | powerpc-aix4.3.
*)
1759 echo "*** The GNU C library is currently not available for this platform."
1760 echo "*** So far nobody cared to port it and if there is no volunteer it"
1761 echo "*** might never happen. So, if you have interest to see glibc on"
1762 echo "*** this platform visit"
1763 echo "*** http://www.gnu.org/software/libc/porting.html"
1764 echo "*** and join the group of porters"
1770 # Expand the configuration machine name into a subdirectory by architecture
1771 # type and particular chip.
1773 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
1774 alpha
*) base_machine
=alpha machine
=alpha
/$machine ;;
1775 arm
*) base_machine
=arm machine
=arm
/arm32
/$machine ;;
1776 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
1777 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
1778 hppa
*64*) base_machine
=hppa machine
=hppa
/hppa64
;;
1779 hppa
*) base_machine
=hppa machine
=hppa
/hppa1.1
;;
1780 i
[3456]86) base_machine
=i386 machine
=i386
/$machine ;;
1781 ia64
) base_machine
=ia64 machine
=ia64
;;
1782 m680?
0) base_machine
=m68k machine
=m68k
/$machine ;;
1783 m68k
) base_machine
=m68k machine
=m68k
/m68020
;;
1784 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
1785 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
1786 mips64
*) base_machine
=mips64 machine
=mips
/mips64
/$machine ;;
1787 mips
*) base_machine
=mips machine
=mips
/$machine ;;
1788 powerpc
) base_machine
=powerpc machine
=powerpc
/powerpc32
;;
1789 powerpc64
) base_machine
=powerpc machine
=powerpc
/powerpc64
;;
1790 s390
) base_machine
=s390 machine
=s390
/s390-32
;;
1791 s390x
) base_machine
=s390 machine
=s390
/s390-64
;;
1792 sh3
*) base_machine
=sh machine
=sh
/sh3
;;
1793 sh4
*) base_machine
=sh machine
=sh
/sh4
;;
1795 base_machine
=sparc machine
=sparc
/sparc32
;;
1796 sparcv8 | supersparc | hypersparc
)
1797 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
1798 sparcv8plus | sparcv8plusa | sparcv9
)
1799 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9
;;
1800 sparcv8plusb | sparcv9b
)
1801 base_machine
=sparc machine
=sparc
/sparc32
/sparcv9b
;;
1802 sparc64 | ultrasparc
)
1803 base_machine
=sparc machine
=sparc
/sparc64
;;
1804 sparc64b | ultrasparc3
)
1805 base_machine
=sparc machine
=sparc
/sparc64
/sparcv9b
;;
1806 thumb
*) base_machine
=thumb machine
=arm
/thumb
/$machine ;;
1807 *) base_machine
=$machine ;;
1811 if test "$base_machine" = "i386"; then
1812 cat >>confdefs.h
<<\_ACEOF
1813 #define USE_REGPARMS 1
1818 # Compute the list of sysdep directories for this configuration.
1819 # This can take a while to compute.
1820 sysdep_dir
=$srcdir/sysdeps
1821 echo "$as_me:$LINENO: checking sysdep dirs" >&5
1822 echo $ECHO_N "checking sysdep dirs... $ECHO_C" >&6
1823 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
1824 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
1828 base_os
=mach
/hurd
;;
1829 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
1830 base_os
=unix
/bsd
/bsd4.4
;;
1831 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
1833 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
1834 base_os
=unix
/sysv
;;
1836 base_os
=unix
/sysv
/irix
6/$os ;;
1838 base_os
=unix
/sysv
/sysv4
;;
1840 base_os
=unix
/sysv
/hpux
/$os ;;
1842 base_os
=unix
/sysv
/aix
/aix4.3
;;
1844 base_os
=standalone
;;
1849 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
1852 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
1856 o
=`echo $tail | sed 's/[0-9]*$//'`
1857 if test $o != $tail; then
1860 # For linux-gnu, try linux-gnu, then linux.
1861 o
=`echo $tail | sed 's/-.*$//'`
1862 if test $o != $tail; then
1866 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
1869 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
1875 # For sparc/sparc32, try sparc/sparc32 and then sparc.
1878 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
1880 # Prepend the machine's FPU directory unless --without-fp.
1881 if test "$with_fp" = yes; then
1882 mach
="$mach /$1/fpu"
1884 mach
="$mach /$1/nofpu"
1891 # Find what sysdep directories exist.
1893 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1894 for d
in $add_ons_pfx ''; do
1895 for b
in $base ''; do
1896 for m0
in $mach ''; do
1897 for v
in /$vendor ''; do
1898 test "$v" = / && continue
1899 for o
in /$ostry ''; do
1900 test "$o" = / && continue
1901 for m
in $mach ''; do
1902 if test "$m0$b$v$o$m"; then
1903 try
="${d}sysdeps$m0$b$v$o$m"
1904 test -n "$enable_debug_configure" &&
1905 echo "$0 DEBUG: try $try" >&2
1906 if test -d $srcdir/$try; then
1907 sysnames
="$sysnames $try"
1908 { test -n "$o" ||
test -n "$b"; } && os_used
=t
1909 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
1920 if test -z "$os_used" && test "$os" != none
; then
1921 { { echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
1922 echo "$as_me: error: Operating system $os is not supported." >&2;}
1923 { (exit 1); exit 1; }; }
1925 if test -z "$machine_used" && test "$machine" != none
; then
1926 { { echo "$as_me:$LINENO: error: The $machine is not supported." >&5
1927 echo "$as_me: error: The $machine is not supported." >&2;}
1928 { (exit 1); exit 1; }; }
1931 # We have now validated the configuration.
1934 # If using ELF, look for an `elf' subdirectory of each machine directory.
1935 # We prepend these rather than inserting them whereever the machine appears
1936 # because things specified by the machine's ELF ABI should override
1937 # OS-specific things, and should always be the same for any OS on the
1938 # machine (otherwise what's the point of an ABI?).
1939 if test "$elf" = yes; then
1941 for d
in $add_ons_pfx ''; do
1943 if test -d $srcdir/${d}sysdeps
$m/elf
; then
1944 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
1948 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
1952 # Expand the list of system names into a full list of directories
1953 # from each element's parent name and Implies file (if present).
1956 while test $# -gt 0; do
1960 case " $names " in *" $name "*)
1961 # Already in the list.
1965 # Report each name as we discover it, so there is no long pause in output.
1966 echo $ECHO_N "$name $ECHO_C" >&6
1968 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
1972 *) xsrcdir
=$srcdir/ ;;
1974 test -n "$enable_debug_configure" &&
1975 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
1977 if test -f $xsrcdir$name/Implies
; then
1978 # Collect more names from the `Implies' file (removing comments).
1979 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
1981 for x
in $implied_candidate; do
1983 if test -d $xsrcdir$name_base/$x; then
1984 implied
="$implied $name_base/$x";
1987 for d
in $add_ons_pfx ''; do
1988 try
="${d}sysdeps/$x"
1991 *) try_srcdir
=$srcdir/ ;;
1993 test -n "$enable_debug_configure" &&
1994 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
1995 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
1997 implied
="$implied $try"
2001 if test $found = no
; then
2002 { echo "$as_me:$LINENO: WARNING: $name/Implies specifies nonexistent $x" >&5
2003 echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
2010 # Add NAME to the list of names.
2011 names
="$names $name"
2013 # Find the parent of NAME, using the empty string if it has none.
2014 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
2016 # Add the names implied by NAME, and NAME's parent (if it has one), to
2017 # the list of names to be processed (the argument list). We prepend the
2018 # implied names to the list and append the parent. We want implied
2019 # directories to come before further directories inferred from the
2020 # configuration components; this ensures that for sysv4, unix/common
2021 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
2023 sysnames
="`echo $implied $* $parent`"
2024 test -n "$sysnames" && set $sysnames
2027 # Add the default directories.
2028 default_sysnames
=sysdeps
/generic
2029 if test "$elf" = yes; then
2030 default_sysnames
="sysdeps/generic/elf $default_sysnames"
2032 sysnames
="$names $default_sysnames"
2034 # The other names were emitted during the scan.
2035 echo "$as_me:$LINENO: result: $default_sysnames" >&5
2036 echo "${ECHO_T}$default_sysnames" >&6
2041 # Find a good install program. We prefer a C program (faster),
2042 # so one script is as good as another. But avoid the broken or
2043 # incompatible versions:
2044 # SysV /etc/install, /usr/sbin/install
2045 # SunOS /usr/etc/install
2046 # IRIX /sbin/install
2048 # AmigaOS /C/install, which installs bootblocks on floppy discs
2049 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2052 # ./install, which can be erroneously created by make from ./install.sh.
2053 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2054 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2055 if test -z "$INSTALL"; then
2056 if test "${ac_cv_path_install+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir
=.
2064 # Account for people who put trailing slashes in PATH elements.
2066 .
/ | .
// |
/cC
/* | \
2067 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2070 # OSF1 and SCO ODT 3.0 have their own names for install.
2071 # Don't use installbsd from OSF since it installs stuff as root
2073 for ac_prog
in ginstall scoinst
install; do
2074 for ac_exec_ext
in '' $ac_executable_extensions; do
2075 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2076 if test $ac_prog = install &&
2077 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2078 # AIX install. It has an incompatible calling convention.
2080 elif test $ac_prog = install &&
2081 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2082 # program-specific install script used by HP pwplus--don't use.
2085 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2097 if test "${ac_cv_path_install+set}" = set; then
2098 INSTALL
=$ac_cv_path_install
2100 # As a last resort, use the slow shell script. We don't cache a
2101 # path for INSTALL within a source directory, because that will
2102 # break other packages using the cache if that directory is
2103 # removed, or if the path is relative.
2104 INSTALL
=$ac_install_sh
2107 echo "$as_me:$LINENO: result: $INSTALL" >&5
2108 echo "${ECHO_T}$INSTALL" >&6
2110 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2111 # It thinks the first close brace ends the variable substitution.
2112 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2114 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2116 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2118 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
2119 # The makefiles need to use a different form to find it in $srcdir.
2120 INSTALL
='\$(..)./scripts/install-sh -c'
2122 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2123 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2125 if test "$LN_S" = "ln -s"; then
2126 echo "$as_me:$LINENO: result: yes" >&5
2127 echo "${ECHO_T}yes" >&6
2129 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2130 echo "${ECHO_T}no, using $LN_S" >&6
2134 # We need the physical current working directory. We cannot use the
2135 # "pwd -P" shell builtin since that's not portable. Instead we try to
2136 # find a pwd binary. Note that assigning to the PWD environment
2137 # variable might have some interesting side effects, so we don't do
2139 # Extract the first word of "pwd", so it can be a program name with args.
2140 set dummy
pwd; ac_word
=$2
2141 echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143 if test "${ac_cv_path_PWD_P+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 ac_cv_path_PWD_P
="$PWD_P" # Let the user override the test with a path.
2151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir
=.
2156 for ac_exec_ext
in '' $ac_executable_extensions; do
2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_path_PWD_P
="$as_dir/$ac_word$ac_exec_ext"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2165 test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P
="no"
2169 PWD_P
=$ac_cv_path_PWD_P
2171 if test -n "$PWD_P"; then
2172 echo "$as_me:$LINENO: result: $PWD_P" >&5
2173 echo "${ECHO_T}$PWD_P" >&6
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2179 if test "$PWD_P" = no
; then
2180 { { echo "$as_me:$LINENO: error: *** A pwd binary could not be found." >&5
2181 echo "$as_me: error: *** A pwd binary could not be found." >&2;}
2182 { (exit 1); exit 1; }; }
2185 # These programs are version sensitive.
2187 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
2189 # Extract the first word of "$ac_prog", so it can be a program name with args.
2190 set dummy
$ac_prog; ac_word
=$2
2191 echo "$as_me:$LINENO: checking for $ac_word" >&5
2192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2193 if test "${ac_cv_prog_CC+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2196 if test -n "$CC"; then
2197 ac_cv_prog_CC
="$CC" # Let the user override the test.
2199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2203 test -z "$as_dir" && as_dir
=.
2204 for ac_exec_ext
in '' $ac_executable_extensions; do
2205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2206 ac_cv_prog_CC
="$ac_prog"
2207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2216 if test -n "$CC"; then
2217 echo "$as_me:$LINENO: result: $CC" >&5
2218 echo "${ECHO_T}$CC" >&6
2220 echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6
2224 test -n "$CC" && break
2227 if test -z "$CC"; then
2230 # Found it, now check the version.
2231 echo "$as_me:$LINENO: checking version of $CC" >&5
2232 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
2233 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
2234 case $ac_prog_version in
2235 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
2237 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
2238 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
2241 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
2242 echo "${ECHO_T}$ac_prog_version" >&6
2244 if test $ac_verc_fail = yes; then
2245 critic_missing
="$critic_missing gcc"
2248 for ac_prog
in gnumake gmake
make
2250 # Extract the first word of "$ac_prog", so it can be a program name with args.
2251 set dummy
$ac_prog; ac_word
=$2
2252 echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2254 if test "${ac_cv_prog_MAKE+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2257 if test -n "$MAKE"; then
2258 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
2260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir
=.
2265 for ac_exec_ext
in '' $ac_executable_extensions; do
2266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2267 ac_cv_prog_MAKE
="$ac_prog"
2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 MAKE
=$ac_cv_prog_MAKE
2277 if test -n "$MAKE"; then
2278 echo "$as_me:$LINENO: result: $MAKE" >&5
2279 echo "${ECHO_T}$MAKE" >&6
2281 echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6
2285 test -n "$MAKE" && break
2288 if test -z "$MAKE"; then
2291 # Found it, now check the version.
2292 echo "$as_me:$LINENO: checking version of $MAKE" >&5
2293 echo $ECHO_N "checking version of $MAKE... $ECHO_C" >&6
2294 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
2295 case $ac_prog_version in
2296 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
2298 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
2299 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
2302 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
2303 echo "${ECHO_T}$ac_prog_version" >&6
2305 if test $ac_verc_fail = yes; then
2306 critic_missing
="$critic_missing make"
2311 if test -n "$critic_missing"; then
2312 { { echo "$as_me:$LINENO: error:
2313 *** These critical programs are missing or too old:$critic_missing
2314 *** Check the INSTALL file for required versions." >&5
2315 echo "$as_me: error:
2316 *** These critical programs are missing or too old:$critic_missing
2317 *** Check the INSTALL file for required versions." >&2;}
2318 { (exit 1); exit 1; }; }
2322 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
2324 # Extract the first word of "$ac_prog", so it can be a program name with args.
2325 set dummy
$ac_prog; ac_word
=$2
2326 echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2328 if test "${ac_cv_prog_MSGFMT+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 if test -n "$MSGFMT"; then
2332 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
2334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir
=.
2339 for ac_exec_ext
in '' $ac_executable_extensions; do
2340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2341 ac_cv_prog_MSGFMT
="$ac_prog"
2342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 MSGFMT
=$ac_cv_prog_MSGFMT
2351 if test -n "$MSGFMT"; then
2352 echo "$as_me:$LINENO: result: $MSGFMT" >&5
2353 echo "${ECHO_T}$MSGFMT" >&6
2355 echo "$as_me:$LINENO: result: no" >&5
2356 echo "${ECHO_T}no" >&6
2359 test -n "$MSGFMT" && break
2362 if test -z "$MSGFMT"; then
2365 # Found it, now check the version.
2366 echo "$as_me:$LINENO: checking version of $MSGFMT" >&5
2367 echo $ECHO_N "checking version of $MSGFMT... $ECHO_C" >&6
2368 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
2369 case $ac_prog_version in
2370 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
2371 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
2372 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
2373 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
2376 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
2377 echo "${ECHO_T}$ac_prog_version" >&6
2379 if test $ac_verc_fail = yes; then
2380 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
2383 for ac_prog
in makeinfo
2385 # Extract the first word of "$ac_prog", so it can be a program name with args.
2386 set dummy
$ac_prog; ac_word
=$2
2387 echo "$as_me:$LINENO: checking for $ac_word" >&5
2388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2389 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 if test -n "$MAKEINFO"; then
2393 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
2395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir
=.
2400 for ac_exec_ext
in '' $ac_executable_extensions; do
2401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2402 ac_cv_prog_MAKEINFO
="$ac_prog"
2403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 MAKEINFO
=$ac_cv_prog_MAKEINFO
2412 if test -n "$MAKEINFO"; then
2413 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
2414 echo "${ECHO_T}$MAKEINFO" >&6
2416 echo "$as_me:$LINENO: result: no" >&5
2417 echo "${ECHO_T}no" >&6
2420 test -n "$MAKEINFO" && break
2423 if test -z "$MAKEINFO"; then
2426 # Found it, now check the version.
2427 echo "$as_me:$LINENO: checking version of $MAKEINFO" >&5
2428 echo $ECHO_N "checking version of $MAKEINFO... $ECHO_C" >&6
2429 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
2430 case $ac_prog_version in
2431 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
2433 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
2434 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
2437 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
2438 echo "${ECHO_T}$ac_prog_version" >&6
2440 if test $ac_verc_fail = yes; then
2441 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
2446 # Extract the first word of "$ac_prog", so it can be a program name with args.
2447 set dummy
$ac_prog; ac_word
=$2
2448 echo "$as_me:$LINENO: checking for $ac_word" >&5
2449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2450 if test "${ac_cv_prog_SED+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 if test -n "$SED"; then
2454 ac_cv_prog_SED
="$SED" # Let the user override the test.
2456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2460 test -z "$as_dir" && as_dir
=.
2461 for ac_exec_ext
in '' $ac_executable_extensions; do
2462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2463 ac_cv_prog_SED
="$ac_prog"
2464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 if test -n "$SED"; then
2474 echo "$as_me:$LINENO: result: $SED" >&5
2475 echo "${ECHO_T}$SED" >&6
2477 echo "$as_me:$LINENO: result: no" >&5
2478 echo "${ECHO_T}no" >&6
2481 test -n "$SED" && break
2484 if test -z "$SED"; then
2487 # Found it, now check the version.
2488 echo "$as_me:$LINENO: checking version of $SED" >&5
2489 echo $ECHO_N "checking version of $SED... $ECHO_C" >&6
2490 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
2491 case $ac_prog_version in
2492 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
2493 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
2494 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
2495 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
2498 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
2499 echo "${ECHO_T}$ac_prog_version" >&6
2501 if test $ac_verc_fail = yes; then
2502 SED
=: aux_missing
="$aux_missing sed"
2506 for ac_prog
in autoconf
2508 # Extract the first word of "$ac_prog", so it can be a program name with args.
2509 set dummy
$ac_prog; ac_word
=$2
2510 echo "$as_me:$LINENO: checking for $ac_word" >&5
2511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2512 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 if test -n "$AUTOCONF"; then
2516 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir
=.
2523 for ac_exec_ext
in '' $ac_executable_extensions; do
2524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2525 ac_cv_prog_AUTOCONF
="$ac_prog"
2526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 AUTOCONF
=$ac_cv_prog_AUTOCONF
2535 if test -n "$AUTOCONF"; then
2536 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2537 echo "${ECHO_T}$AUTOCONF" >&6
2539 echo "$as_me:$LINENO: result: no" >&5
2540 echo "${ECHO_T}no" >&6
2543 test -n "$AUTOCONF" && break
2545 test -n "$AUTOCONF" || AUTOCONF
="no"
2547 case "x$AUTOCONF" in
2548 xno|x|x
:) AUTOCONF
=no
;;
2550 echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
2551 echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6
2552 if test "${libc_cv_autoconf_works+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.
in > /dev
/null
2>&1); then
2556 libc_cv_autoconf_works
=yes
2558 libc_cv_autoconf_works
=no
2561 echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
2562 echo "${ECHO_T}$libc_cv_autoconf_works" >&6
2563 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
2566 test "x$AUTOCONF" != xno || aux_missing
="$aux_missing autoconf"
2569 ac_cpp
='$CPP $CPPFLAGS'
2570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2573 if test -n "$ac_tool_prefix"; then
2574 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2575 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2576 echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2578 if test "${ac_cv_prog_CC+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 if test -n "$CC"; then
2582 ac_cv_prog_CC
="$CC" # Let the user override the test.
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 for ac_exec_ext
in '' $ac_executable_extensions; do
2590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2591 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 if test -n "$CC"; then
2602 echo "$as_me:$LINENO: result: $CC" >&5
2603 echo "${ECHO_T}$CC" >&6
2605 echo "$as_me:$LINENO: result: no" >&5
2606 echo "${ECHO_T}no" >&6
2610 if test -z "$ac_cv_prog_CC"; then
2612 # Extract the first word of "gcc", so it can be a program name with args.
2613 set dummy gcc
; ac_word
=$2
2614 echo "$as_me:$LINENO: checking for $ac_word" >&5
2615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2616 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2619 if test -n "$ac_ct_CC"; then
2620 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir
=.
2627 for ac_exec_ext
in '' $ac_executable_extensions; do
2628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2629 ac_cv_prog_ac_ct_CC
="gcc"
2630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2639 if test -n "$ac_ct_CC"; then
2640 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2641 echo "${ECHO_T}$ac_ct_CC" >&6
2643 echo "$as_me:$LINENO: result: no" >&5
2644 echo "${ECHO_T}no" >&6
2652 if test -z "$CC"; then
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2655 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2656 echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2658 if test "${ac_cv_prog_CC+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 if test -n "$CC"; then
2662 ac_cv_prog_CC
="$CC" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2671 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 if test -n "$CC"; then
2682 echo "$as_me:$LINENO: result: $CC" >&5
2683 echo "${ECHO_T}$CC" >&6
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2690 if test -z "$ac_cv_prog_CC"; then
2692 # Extract the first word of "cc", so it can be a program name with args.
2693 set dummy cc
; ac_word
=$2
2694 echo "$as_me:$LINENO: checking for $ac_word" >&5
2695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 if test -n "$ac_ct_CC"; then
2700 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir
=.
2707 for ac_exec_ext
in '' $ac_executable_extensions; do
2708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709 ac_cv_prog_ac_ct_CC
="cc"
2710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2719 if test -n "$ac_ct_CC"; then
2720 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2721 echo "${ECHO_T}$ac_ct_CC" >&6
2723 echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6
2733 if test -z "$CC"; then
2734 # Extract the first word of "cc", so it can be a program name with args.
2735 set dummy cc
; ac_word
=$2
2736 echo "$as_me:$LINENO: checking for $ac_word" >&5
2737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2738 if test "${ac_cv_prog_CC+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 if test -n "$CC"; then
2742 ac_cv_prog_CC
="$CC" # Let the user override the test.
2745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir
=.
2750 for ac_exec_ext
in '' $ac_executable_extensions; do
2751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2753 ac_prog_rejected
=yes
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2763 if test $ac_prog_rejected = yes; then
2764 # We found a bogon in the path, so make sure we never use it.
2765 set dummy
$ac_cv_prog_CC
2767 if test $# != 0; then
2768 # We chose a different compiler from the bogus one.
2769 # However, it has the same basename, so the bogon will be chosen
2770 # first if we set CC to just the basename; use the full file name.
2772 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2778 if test -n "$CC"; then
2779 echo "$as_me:$LINENO: result: $CC" >&5
2780 echo "${ECHO_T}$CC" >&6
2782 echo "$as_me:$LINENO: result: no" >&5
2783 echo "${ECHO_T}no" >&6
2787 if test -z "$CC"; then
2788 if test -n "$ac_tool_prefix"; then
2791 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2792 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2793 echo "$as_me:$LINENO: checking for $ac_word" >&5
2794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2795 if test "${ac_cv_prog_CC+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2798 if test -n "$CC"; then
2799 ac_cv_prog_CC
="$CC" # Let the user override the test.
2801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir
=.
2806 for ac_exec_ext
in '' $ac_executable_extensions; do
2807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 if test -n "$CC"; then
2819 echo "$as_me:$LINENO: result: $CC" >&5
2820 echo "${ECHO_T}$CC" >&6
2822 echo "$as_me:$LINENO: result: no" >&5
2823 echo "${ECHO_T}no" >&6
2826 test -n "$CC" && break
2829 if test -z "$CC"; then
2833 # Extract the first word of "$ac_prog", so it can be a program name with args.
2834 set dummy
$ac_prog; ac_word
=$2
2835 echo "$as_me:$LINENO: checking for $ac_word" >&5
2836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 if test -n "$ac_ct_CC"; then
2841 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir
=.
2848 for ac_exec_ext
in '' $ac_executable_extensions; do
2849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 ac_cv_prog_ac_ct_CC
="$ac_prog"
2851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2860 if test -n "$ac_ct_CC"; then
2861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2862 echo "${ECHO_T}$ac_ct_CC" >&6
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2868 test -n "$ac_ct_CC" && break
2877 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2878 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2879 { (exit 1); exit 1; }; }
2881 # Provide some information about the compiler.
2882 echo "$as_me:$LINENO:" \
2883 "checking for C compiler version" >&5
2884 ac_compiler
=`set X $ac_compile; echo $2`
2885 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2886 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }
2890 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2891 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }
2895 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2896 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }
2902 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2903 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2904 if test "${ac_cv_objext+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 cat >conftest.
$ac_ext <<_ACEOF
2908 #line $LINENO "configure"
2909 #include "confdefs.h"
2919 rm -f conftest.o conftest.obj
2920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2921 (eval $ac_compile) 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; then
2925 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2927 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2928 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2933 echo "$as_me: failed program was:" >&5
2934 cat conftest.
$ac_ext >&5
2935 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2936 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2937 { (exit 1); exit 1; }; }
2940 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2942 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2943 echo "${ECHO_T}$ac_cv_objext" >&6
2944 OBJEXT
=$ac_cv_objext
2946 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2947 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2948 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 cat >conftest.
$ac_ext <<_ACEOF
2952 #line $LINENO "configure"
2953 #include "confdefs.h"
2966 rm -f conftest.
$ac_objext
2967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2968 (eval $ac_compile) 2>&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } &&
2972 { ac_try
='test -s conftest.$ac_objext'
2973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }; }; then
2980 echo "$as_me: failed program was:" >&5
2981 cat conftest.
$ac_ext >&5
2984 rm -f conftest.
$ac_objext conftest.
$ac_ext
2985 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2988 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2989 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2990 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2991 ac_test_CFLAGS
=${CFLAGS+set}
2992 ac_save_CFLAGS
=$CFLAGS
2994 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2995 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2996 if test "${ac_cv_prog_cc_g+set}" = set; then
2997 echo $ECHO_N "(cached) $ECHO_C" >&6
2999 cat >conftest.
$ac_ext <<_ACEOF
3000 #line $LINENO "configure"
3001 #include "confdefs.h"
3011 rm -f conftest.
$ac_objext
3012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3013 (eval $ac_compile) 2>&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } &&
3017 { ac_try
='test -s conftest.$ac_objext'
3018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); }; }; then
3025 echo "$as_me: failed program was:" >&5
3026 cat conftest.
$ac_ext >&5
3029 rm -f conftest.
$ac_objext conftest.
$ac_ext
3031 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3032 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3033 if test "$ac_test_CFLAGS" = set; then
3034 CFLAGS
=$ac_save_CFLAGS
3035 elif test $ac_cv_prog_cc_g = yes; then
3036 if test "$GCC" = yes; then
3042 if test "$GCC" = yes; then
3048 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3049 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3050 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3053 ac_cv_prog_cc_stdc
=no
3055 cat >conftest.
$ac_ext <<_ACEOF
3056 #line $LINENO "configure"
3057 #include "confdefs.h"
3060 #include <sys/types.h>
3061 #include <sys/stat.h>
3062 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3063 struct buf { int x; };
3064 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3065 static char *e (p, i)
3071 static char *f (char * (*g) (char **, int), char **p, ...)
3076 s = g (p, va_arg (v,int));
3080 int test (int i, double x);
3081 struct s1 {int (*f) (int a);};
3082 struct s2 {int (*f) (double a);};
3083 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3089 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3094 # Don't try gcc -ansi; that turns off useful extensions and
3095 # breaks some systems' header files.
3096 # AIX -qlanglvl=ansi
3097 # Ultrix and OSF/1 -std1
3098 # HP-UX 10.20 and later -Ae
3099 # HP-UX older versions -Aa -D_HPUX_SOURCE
3100 # SVR4 -Xc -D__EXTENSIONS__
3101 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3103 CC
="$ac_save_CC $ac_arg"
3104 rm -f conftest.
$ac_objext
3105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3106 (eval $ac_compile) 2>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try
='test -s conftest.$ac_objext'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then
3116 ac_cv_prog_cc_stdc
=$ac_arg
3119 echo "$as_me: failed program was:" >&5
3120 cat conftest.
$ac_ext >&5
3122 rm -f conftest.
$ac_objext
3124 rm -f conftest.
$ac_ext conftest.
$ac_objext
3129 case "x$ac_cv_prog_cc_stdc" in
3131 echo "$as_me:$LINENO: result: none needed" >&5
3132 echo "${ECHO_T}none needed" >&6 ;;
3134 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3135 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3136 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3139 # Some people use a C++ compiler to compile C. Since we use `exit',
3140 # in C++ we need to declare it. In case someone uses the same compiler
3141 # for both compiling C and C++ we need to have the C++ compiler decide
3142 # the declaration of exit, since it's the most demanding environment.
3143 cat >conftest.
$ac_ext <<_ACEOF
3148 rm -f conftest.
$ac_objext
3149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3150 (eval $ac_compile) 2>&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } &&
3154 { ac_try
='test -s conftest.$ac_objext'
3155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }; }; then
3160 for ac_declaration
in \
3162 '#include <stdlib.h>' \
3163 'extern "C" void std::exit (int) throw (); using std::exit;' \
3164 'extern "C" void std::exit (int); using std::exit;' \
3165 'extern "C" void exit (int) throw ();' \
3166 'extern "C" void exit (int);' \
3169 cat >conftest.
$ac_ext <<_ACEOF
3170 #line $LINENO "configure"
3171 #include "confdefs.h"
3182 rm -f conftest.
$ac_objext
3183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3184 (eval $ac_compile) 2>&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } &&
3188 { ac_try
='test -s conftest.$ac_objext'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3196 echo "$as_me: failed program was:" >&5
3197 cat conftest.
$ac_ext >&5
3200 rm -f conftest.
$ac_objext conftest.
$ac_ext
3201 cat >conftest.
$ac_ext <<_ACEOF
3202 #line $LINENO "configure"
3203 #include "confdefs.h"
3213 rm -f conftest.
$ac_objext
3214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3215 (eval $ac_compile) 2>&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); } &&
3219 { ac_try
='test -s conftest.$ac_objext'
3220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; }; then
3227 echo "$as_me: failed program was:" >&5
3228 cat conftest.
$ac_ext >&5
3230 rm -f conftest.
$ac_objext conftest.
$ac_ext
3233 if test -n "$ac_declaration"; then
3234 echo '#ifdef __cplusplus' >>confdefs.h
3235 echo $ac_declaration >>confdefs.h
3236 echo '#endif' >>confdefs.h
3240 echo "$as_me: failed program was:" >&5
3241 cat conftest.
$ac_ext >&5
3243 rm -f conftest.
$ac_objext conftest.
$ac_ext
3245 ac_cpp
='$CPP $CPPFLAGS'
3246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3250 if test $host != $build; then
3251 for ac_prog
in gcc cc
3253 # Extract the first word of "$ac_prog", so it can be a program name with args.
3254 set dummy
$ac_prog; ac_word
=$2
3255 echo "$as_me:$LINENO: checking for $ac_word" >&5
3256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3257 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
3258 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 if test -n "$BUILD_CC"; then
3261 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
3263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir
=.
3268 for ac_exec_ext
in '' $ac_executable_extensions; do
3269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3270 ac_cv_prog_BUILD_CC
="$ac_prog"
3271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 BUILD_CC
=$ac_cv_prog_BUILD_CC
3280 if test -n "$BUILD_CC"; then
3281 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
3282 echo "${ECHO_T}$BUILD_CC" >&6
3284 echo "$as_me:$LINENO: result: no" >&5
3285 echo "${ECHO_T}no" >&6
3288 test -n "$BUILD_CC" && break
3294 ac_cpp
='$CPP $CPPFLAGS'
3295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3298 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3299 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3300 # On Suns, sometimes $CPP names a directory.
3301 if test -n "$CPP" && test -d "$CPP"; then
3304 if test -z "$CPP"; then
3305 if test "${ac_cv_prog_CPP+set}" = set; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 # Double quotes because CPP needs to be expanded
3309 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3312 for ac_c_preproc_warn_flag
in '' yes
3314 # Use a header file that comes with gcc, so configuring glibc
3315 # with a fresh cross-compiler works.
3316 # On the NeXT, cc -E runs the code through the compiler's parser,
3317 # not just through cpp. "Syntax error" is here to catch this case.
3318 cat >conftest.
$ac_ext <<_ACEOF
3319 #line $LINENO "configure"
3320 #include "confdefs.h"
3324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3325 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3327 grep -v '^ *+' conftest.er1
>conftest.err
3329 cat conftest.err
>&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); } >/dev
/null
; then
3332 if test -s conftest.err
; then
3333 ac_cpp_err
=$ac_c_preproc_warn_flag
3340 if test -z "$ac_cpp_err"; then
3343 echo "$as_me: failed program was:" >&5
3344 cat conftest.
$ac_ext >&5
3345 # Broken: fails on valid input.
3348 rm -f conftest.err conftest.
$ac_ext
3350 # OK, works on sane cases. Now check whether non-existent headers
3351 # can be detected and how.
3352 cat >conftest.
$ac_ext <<_ACEOF
3353 #line $LINENO "configure"
3354 #include "confdefs.h"
3355 #include <ac_nonexistent.h>
3357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3360 grep -v '^ *+' conftest.er1
>conftest.err
3362 cat conftest.err
>&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); } >/dev
/null
; then
3365 if test -s conftest.err
; then
3366 ac_cpp_err
=$ac_c_preproc_warn_flag
3373 if test -z "$ac_cpp_err"; then
3374 # Broken: success on invalid input.
3377 echo "$as_me: failed program was:" >&5
3378 cat conftest.
$ac_ext >&5
3379 # Passes both tests.
3383 rm -f conftest.err conftest.
$ac_ext
3386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3387 rm -f conftest.err conftest.
$ac_ext
3388 if $ac_preproc_ok; then
3400 echo "$as_me:$LINENO: result: $CPP" >&5
3401 echo "${ECHO_T}$CPP" >&6
3403 for ac_c_preproc_warn_flag
in '' yes
3405 # Use a header file that comes with gcc, so configuring glibc
3406 # with a fresh cross-compiler works.
3407 # On the NeXT, cc -E runs the code through the compiler's parser,
3408 # not just through cpp. "Syntax error" is here to catch this case.
3409 cat >conftest.
$ac_ext <<_ACEOF
3410 #line $LINENO "configure"
3411 #include "confdefs.h"
3415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3418 grep -v '^ *+' conftest.er1
>conftest.err
3420 cat conftest.err
>&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); } >/dev
/null
; then
3423 if test -s conftest.err
; then
3424 ac_cpp_err
=$ac_c_preproc_warn_flag
3431 if test -z "$ac_cpp_err"; then
3434 echo "$as_me: failed program was:" >&5
3435 cat conftest.
$ac_ext >&5
3436 # Broken: fails on valid input.
3439 rm -f conftest.err conftest.
$ac_ext
3441 # OK, works on sane cases. Now check whether non-existent headers
3442 # can be detected and how.
3443 cat >conftest.
$ac_ext <<_ACEOF
3444 #line $LINENO "configure"
3445 #include "confdefs.h"
3446 #include <ac_nonexistent.h>
3448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3451 grep -v '^ *+' conftest.er1
>conftest.err
3453 cat conftest.err
>&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } >/dev
/null
; then
3456 if test -s conftest.err
; then
3457 ac_cpp_err
=$ac_c_preproc_warn_flag
3464 if test -z "$ac_cpp_err"; then
3465 # Broken: success on invalid input.
3468 echo "$as_me: failed program was:" >&5
3469 cat conftest.
$ac_ext >&5
3470 # Passes both tests.
3474 rm -f conftest.err conftest.
$ac_ext
3477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3478 rm -f conftest.err conftest.
$ac_ext
3479 if $ac_preproc_ok; then
3482 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3483 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3484 { (exit 1); exit 1; }; }
3488 ac_cpp
='$CPP $CPPFLAGS'
3489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3493 # Was a --with-binutils option given?
3494 if test -n "$path_binutils"; then
3495 # Make absolute; ensure a single trailing slash.
3496 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
3497 CC
="$CC -B$path_binutils"
3499 AS
=`$CC -print-prog-name=as`
3500 LD
=`$CC -print-prog-name=ld`
3501 AR
=`$CC -print-prog-name=ar`
3503 OBJDUMP
=`$CC -print-prog-name=objdump`
3506 # ranlib has to be treated a bit differently since it might not exist at all.
3507 ac_ranlib
=`$CC -print-prog-name=ranlib`
3508 if test "x$ac_ranlib" = xranlib
; then
3509 # This extra check has to happen since gcc simply echos the parameter in
3510 # case it cannot find the value in its own directories.
3511 if test -n "$ac_tool_prefix"; then
3512 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3513 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3514 echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516 if test "${ac_cv_prog_RANLIB+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 if test -n "$RANLIB"; then
3520 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir
=.
3527 for ac_exec_ext
in '' $ac_executable_extensions; do
3528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 RANLIB
=$ac_cv_prog_RANLIB
3539 if test -n "$RANLIB"; then
3540 echo "$as_me:$LINENO: result: $RANLIB" >&5
3541 echo "${ECHO_T}$RANLIB" >&6
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3548 if test -z "$ac_cv_prog_RANLIB"; then
3549 ac_ct_RANLIB
=$RANLIB
3550 # Extract the first word of "ranlib", so it can be a program name with args.
3551 set dummy ranlib
; ac_word
=$2
3552 echo "$as_me:$LINENO: checking for $ac_word" >&5
3553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3554 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 if test -n "$ac_ct_RANLIB"; then
3558 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3564 test -z "$as_dir" && as_dir
=.
3565 for ac_exec_ext
in '' $ac_executable_extensions; do
3566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3577 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3578 if test -n "$ac_ct_RANLIB"; then
3579 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3580 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3586 RANLIB
=$ac_ct_RANLIB
3588 RANLIB
="$ac_cv_prog_RANLIB"
3596 # Determine whether we are using GNU binutils.
3597 echo "$as_me:$LINENO: checking whether $AS is GNU as" >&5
3598 echo $ECHO_N "checking whether $AS is GNU as... $ECHO_C" >&6
3599 if test "${libc_cv_prog_as_gnu+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 # Most GNU programs take a -v and spit out some text including
3603 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
3604 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
3605 libc_cv_prog_as_gnu
=yes
3607 libc_cv_prog_as_gnu
=no
3611 echo "$as_me:$LINENO: result: $libc_cv_prog_as_gnu" >&5
3612 echo "${ECHO_T}$libc_cv_prog_as_gnu" >&6
3614 gnu_as
=$libc_cv_prog_as_gnu
3616 echo "$as_me:$LINENO: checking whether $LD is GNU ld" >&5
3617 echo $ECHO_N "checking whether $LD is GNU ld... $ECHO_C" >&6
3618 if test "${libc_cv_prog_ld_gnu+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3621 # Most GNU programs take a -v and spit out some text including
3622 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
3623 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
3624 libc_cv_prog_ld_gnu
=yes
3626 libc_cv_prog_ld_gnu
=no
3630 echo "$as_me:$LINENO: result: $libc_cv_prog_ld_gnu" >&5
3631 echo "${ECHO_T}$libc_cv_prog_ld_gnu" >&6
3632 gnu_ld
=$libc_cv_prog_ld_gnu
3635 # Accept binutils 2.13 or newer.
3638 # Extract the first word of "$ac_prog", so it can be a program name with args.
3639 set dummy
$ac_prog; ac_word
=$2
3640 echo "$as_me:$LINENO: checking for $ac_word" >&5
3641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3642 if test "${ac_cv_prog_AS+set}" = set; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 if test -n "$AS"; then
3646 ac_cv_prog_AS
="$AS" # Let the user override the test.
3648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir
=.
3653 for ac_exec_ext
in '' $ac_executable_extensions; do
3654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3655 ac_cv_prog_AS
="$ac_prog"
3656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 if test -n "$AS"; then
3666 echo "$as_me:$LINENO: result: $AS" >&5
3667 echo "${ECHO_T}$AS" >&6
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3673 test -n "$AS" && break
3676 if test -z "$AS"; then
3679 # Found it, now check the version.
3680 echo "$as_me:$LINENO: checking version of $AS" >&5
3681 echo $ECHO_N "checking version of $AS... $ECHO_C" >&6
3682 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
3683 case $ac_prog_version in
3684 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3686 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3687 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3690 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
3691 echo "${ECHO_T}$ac_prog_version" >&6
3693 if test $ac_verc_fail = yes; then
3694 AS
=: critic_missing
=t
3699 # Extract the first word of "$ac_prog", so it can be a program name with args.
3700 set dummy
$ac_prog; ac_word
=$2
3701 echo "$as_me:$LINENO: checking for $ac_word" >&5
3702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3703 if test "${ac_cv_prog_LD+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 if test -n "$LD"; then
3707 ac_cv_prog_LD
="$LD" # Let the user override the test.
3709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir
=.
3714 for ac_exec_ext
in '' $ac_executable_extensions; do
3715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3716 ac_cv_prog_LD
="$ac_prog"
3717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test -n "$LD"; then
3727 echo "$as_me:$LINENO: result: $LD" >&5
3728 echo "${ECHO_T}$LD" >&6
3730 echo "$as_me:$LINENO: result: no" >&5
3731 echo "${ECHO_T}no" >&6
3734 test -n "$LD" && break
3737 if test -z "$LD"; then
3740 # Found it, now check the version.
3741 echo "$as_me:$LINENO: checking version of $LD" >&5
3742 echo $ECHO_N "checking version of $LD... $ECHO_C" >&6
3743 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
3744 case $ac_prog_version in
3745 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3747 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3748 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3751 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
3752 echo "${ECHO_T}$ac_prog_version" >&6
3754 if test $ac_verc_fail = yes; then
3755 LD
=: critic_missing
=t
3759 test -n "$aux_missing" && { echo "$as_me:$LINENO: WARNING:
3760 *** These auxiliary programs are missing or incompatible versions:$aux_missing
3761 *** some features will be disabled.
3762 *** Check the INSTALL file for required versions." >&5
3763 echo "$as_me: WARNING:
3764 *** These auxiliary programs are missing or incompatible versions:$aux_missing
3765 *** some features will be disabled.
3766 *** Check the INSTALL file for required versions." >&2;}
3768 # glibcbug.in wants to know the compiler version.
3769 CCVERSION
=`$CC -v 2>&1 | sed -n 's/gcc version //p'`
3772 # if using special system headers, find out the compiler's sekrit
3773 # header directory and add that to the list. NOTE: Only does the right
3774 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
3775 if test -n "$sysheaders"; then
3776 ccheaders
=`$CC -print-file-name=include`
3777 SYSINCLUDES
="-nostdinc -isystem $ccheaders -isystem $sysheaders"
3781 # check if ranlib is necessary
3782 echo "$as_me:$LINENO: checking whether ranlib is necessary" >&5
3783 echo $ECHO_N "checking whether ranlib is necessary... $ECHO_C" >&6
3784 if test "${libc_cv_ranlib_necessary+set}" = set; then
3785 echo $ECHO_N "(cached) $ECHO_C" >&6
3787 cat > conftest.c
<<EOF
3792 $CC $CFLAGS -c conftest.c
3793 $AR cr conftest.a conftest.o
3794 cp conftest.a conftest2.a
3796 if cmp -s conftest.a conftest2.a
; then
3797 libc_cv_ranlib_necessary
=no
3799 libc_cv_ranlib_necessary
=yes
3803 echo "$as_me:$LINENO: result: $libc_cv_ranlib_necessary" >&5
3804 echo "${ECHO_T}$libc_cv_ranlib_necessary" >&6
3805 if test "$libc_cv_ranlib_necessary" = no
; then
3809 # Test if LD_LIBRARY_PATH contains the notation for the current directory
3810 # since this would lead to problems installing/building glibc.
3811 # LD_LIBRARY_PATH contains the current directory if one of the following
3813 # - one of the terminals (":" and ";") is the first or last sign
3814 # - two terminals occur directly after each other
3815 # - the path contains an element with a dot in it
3816 echo "$as_me:$LINENO: checking LD_LIBRARY_PATH variable" >&5
3817 echo $ECHO_N "checking LD_LIBRARY_PATH variable... $ECHO_C" >&6
3818 case ${LD_LIBRARY_PATH} in
3819 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
3820 ld_library_path_setting
="contains current directory"
3823 ld_library_path_setting
="ok"
3826 echo "$as_me:$LINENO: result: $ld_library_path_setting" >&5
3827 echo "${ECHO_T}$ld_library_path_setting" >&6
3828 if test "$ld_library_path_setting" != "ok"; then
3829 { { echo "$as_me:$LINENO: error:
3830 *** LD_LIBRARY_PATH shouldn't contain the current directory when
3831 *** building glibc. Please change the environment variable
3832 *** and run configure again." >&5
3833 echo "$as_me: error:
3834 *** LD_LIBRARY_PATH shouldn't contain the current directory when
3835 *** building glibc. Please change the environment variable
3836 *** and run configure again." >&2;}
3837 { (exit 1); exit 1; }; }
3840 echo "$as_me:$LINENO: checking whether GCC supports -static-libgcc" >&5
3841 echo $ECHO_N "checking whether GCC supports -static-libgcc... $ECHO_C" >&6
3842 if test "${libc_cv_gcc_static_libgcc+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 if $CC -v -static-libgcc 2>&1 |
grep -q 'unrecognized option.*static-libgcc'; then
3846 libc_cv_gcc_static_libgcc
=
3848 libc_cv_gcc_static_libgcc
=-static-libgcc
3851 echo "$as_me:$LINENO: result: $libc_cv_gcc_static_libgcc" >&5
3852 echo "${ECHO_T}$libc_cv_gcc_static_libgcc" >&6
3855 # Extract the first word of "bash", so it can be a program name with args.
3856 set dummy bash
; ac_word
=$2
3857 echo "$as_me:$LINENO: checking for $ac_word" >&5
3858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3859 if test "${ac_cv_path_BASH+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
3867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3871 test -z "$as_dir" && as_dir
=.
3872 for ac_exec_ext
in '' $ac_executable_extensions; do
3873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3874 ac_cv_path_BASH
="$as_dir/$ac_word$ac_exec_ext"
3875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3881 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="no"
3885 BASH
=$ac_cv_path_BASH
3887 if test -n "$BASH"; then
3888 echo "$as_me:$LINENO: result: $BASH" >&5
3889 echo "${ECHO_T}$BASH" >&6
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3895 if test "$BASH" != no
&&
3896 $BASH -c 'test "$BASH_VERSINFO" \
3897 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
3898 libc_cv_have_bash2
=yes
3900 libc_cv_have_bash2
=no
3904 if test "$BASH" = no
; then
3905 # Extract the first word of "ksh", so it can be a program name with args.
3906 set dummy ksh
; ac_word
=$2
3907 echo "$as_me:$LINENO: checking for $ac_word" >&5
3908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3909 if test "${ac_cv_path_KSH+set}" = set; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
3917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir
=.
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_path_KSH
="$as_dir/$ac_word$ac_exec_ext"
3925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
3937 if test -n "$KSH"; then
3938 echo "$as_me:$LINENO: result: $KSH" >&5
3939 echo "${ECHO_T}$KSH" >&6
3941 echo "$as_me:$LINENO: result: no" >&5
3942 echo "${ECHO_T}no" >&6
3945 if test "$KSH" = no
; then
3948 libc_cv_have_ksh
=yes
3953 libc_cv_have_ksh
=yes
3957 for ac_prog
in gawk mawk nawk
awk
3959 # Extract the first word of "$ac_prog", so it can be a program name with args.
3960 set dummy
$ac_prog; ac_word
=$2
3961 echo "$as_me:$LINENO: checking for $ac_word" >&5
3962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3963 if test "${ac_cv_prog_AWK+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 if test -n "$AWK"; then
3967 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3973 test -z "$as_dir" && as_dir
=.
3974 for ac_exec_ext
in '' $ac_executable_extensions; do
3975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_AWK
="$ac_prog"
3977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 if test -n "$AWK"; then
3987 echo "$as_me:$LINENO: result: $AWK" >&5
3988 echo "${ECHO_T}$AWK" >&6
3990 echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6
3994 test -n "$AWK" && break
3997 # Extract the first word of "perl", so it can be a program name with args.
3998 set dummy perl
; ac_word
=$2
3999 echo "$as_me:$LINENO: checking for $ac_word" >&5
4000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4001 if test "${ac_cv_path_PERL+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
4027 PERL
=$ac_cv_path_PERL
4029 if test -n "$PERL"; then
4030 echo "$as_me:$LINENO: result: $PERL" >&5
4031 echo "${ECHO_T}$PERL" >&6
4033 echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6
4037 if test "$PERL" != no
&&
4038 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
4041 # Extract the first word of "install-info", so it can be a program name with args.
4042 set dummy install-info
; ac_word
=$2
4043 echo "$as_me:$LINENO: checking for $ac_word" >&5
4044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4045 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 case $INSTALL_INFO in
4050 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4054 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
4055 for as_dir
in $as_dummy
4058 test -z "$as_dir" && as_dir
=.
4059 for ac_exec_ext
in '' $ac_executable_extensions; do
4060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4061 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
4072 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4074 if test -n "$INSTALL_INFO"; then
4075 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4076 echo "${ECHO_T}$INSTALL_INFO" >&6
4078 echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6
4082 if test "$INSTALL_INFO" != "no"; then
4083 echo "$as_me:$LINENO: checking for old Debian install-info" >&5
4084 echo $ECHO_N "checking for old Debian install-info... $ECHO_C" >&6
4085 if test "${libc_cv_old_debian_install_info+set}" = set; then
4086 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 # There is a hard ^_ on the next line. I am open to better ideas.
4091 echo 'File: dir Node: Top This is the top of the INFO tree'
4092 echo '* Menu:') >conftest.d
/dir
4093 (echo 'INFO-DIR-SECTION i-d-s works'
4094 echo 'START-INFO-DIR-ENTRY'
4095 echo '* Prog: (prog). Program.'
4096 echo 'END-INFO-DIR-ENTRY') >conftest.d
/prog.info
4097 if $INSTALL_INFO --info-dir=conftest.d conftest.d
/prog.info
>&5 2>&1
4099 if grep -s 'i-d-s works' conftest.d
/dir
>/dev
/null
4100 then libc_cv_old_debian_install_info
=no
4101 else libc_cv_old_debian_install_info
=yes
4103 else libc_cv_old_debian_install_info
=no testfailed
=t
4107 echo "$as_me:$LINENO: result: $libc_cv_old_debian_install_info" >&5
4108 echo "${ECHO_T}$libc_cv_old_debian_install_info" >&6
4109 if test -n "$testfailed"
4110 then { echo "$as_me:$LINENO: WARNING: install-info errored out, check config.log" >&5
4111 echo "$as_me: WARNING: install-info errored out, check config.log" >&2;}
4113 OLD_DEBIAN_INSTALL_INFO
=$libc_cv_old_debian_install_info
4117 # Extract the first word of "bison", so it can be a program name with args.
4118 set dummy bison
; ac_word
=$2
4119 echo "$as_me:$LINENO: checking for $ac_word" >&5
4120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121 if test "${ac_cv_path_BISON+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
4129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4130 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
4131 for as_dir
in $as_dummy
4134 test -z "$as_dir" && as_dir
=.
4135 for ac_exec_ext
in '' $ac_executable_extensions; do
4136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4137 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
4138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
4148 BISON
=$ac_cv_path_BISON
4150 if test -n "$BISON"; then
4151 echo "$as_me:$LINENO: result: $BISON" >&5
4152 echo "${ECHO_T}$BISON" >&6
4154 echo "$as_me:$LINENO: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4159 echo "$as_me:$LINENO: checking for signed size_t type" >&5
4160 echo $ECHO_N "checking for signed size_t type... $ECHO_C" >&6
4161 if test "${libc_cv_signed_size_t+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 echo '#include <stddef.h>
4165 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
4166 if eval "$ac_cpp conftest.c 2>/dev/null" \
4167 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
4168 libc_cv_signed_size_t
=no
4170 libc_cv_signed_size_t
=yes
4174 echo "$as_me:$LINENO: result: $libc_cv_signed_size_t" >&5
4175 echo "${ECHO_T}$libc_cv_signed_size_t" >&6
4176 if test $libc_cv_signed_size_t = yes; then
4177 cat >> confdefs.h
<<\EOF
4178 #undef __SIZE_TYPE__
4179 #define __SIZE_TYPE__ unsigned
4184 echo "$as_me:$LINENO: checking for libc-friendly stddef.h" >&5
4185 echo $ECHO_N "checking for libc-friendly stddef.h... $ECHO_C" >&6
4186 if test "${libc_cv_friendly_stddef+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 cat >conftest.
$ac_ext <<_ACEOF
4190 #line $LINENO "configure"
4191 #include "confdefs.h"
4192 #define __need_size_t
4193 #define __need_wchar_t
4200 size_t size; wchar_t wchar;
4202 #error stddef.h ignored __need_*
4204 if (&size == NULL || &wchar == NULL) abort ();
4209 rm -f conftest.
$ac_objext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4211 (eval $ac_compile) 2>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try
='test -s conftest.$ac_objext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4221 libc_cv_friendly_stddef
=yes
4223 echo "$as_me: failed program was:" >&5
4224 cat conftest.
$ac_ext >&5
4225 libc_cv_friendly_stddef
=no
4227 rm -f conftest.
$ac_objext conftest.
$ac_ext
4229 echo "$as_me:$LINENO: result: $libc_cv_friendly_stddef" >&5
4230 echo "${ECHO_T}$libc_cv_friendly_stddef" >&6
4231 if test $libc_cv_friendly_stddef = yes; then
4232 config_vars
="$config_vars
4233 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
4236 echo "$as_me:$LINENO: checking whether we need to use -P to assemble .S files" >&5
4237 echo $ECHO_N "checking whether we need to use -P to assemble .S files... $ECHO_C" >&6
4238 if test "${libc_cv_need_minus_P+set}" = set; then
4239 echo $ECHO_N "(cached) $ECHO_C" >&6
4241 cat > conftest.S
<<EOF
4242 #include "confdefs.h"
4243 /* Nothing whatsoever. */
4245 if ${CC-cc} $CFLAGS -c conftest.S
2>/dev
/null
; then
4246 libc_cv_need_minus_P
=no
4248 libc_cv_need_minus_P
=yes
4252 echo "$as_me:$LINENO: result: $libc_cv_need_minus_P" >&5
4253 echo "${ECHO_T}$libc_cv_need_minus_P" >&6
4254 if test $libc_cv_need_minus_P = yes; then
4255 config_vars
="$config_vars
4256 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
4259 echo "$as_me:$LINENO: checking whether .text pseudo-op must be used" >&5
4260 echo $ECHO_N "checking whether .text pseudo-op must be used... $ECHO_C" >&6
4261 if test "${libc_cv_dot_text+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 cat > conftest.s
<<EOF
4268 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
4269 libc_cv_dot_text
=.text
4274 if test -z "$libc_cv_dot_text"; then
4275 echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6
4278 echo "$as_me:$LINENO: result: yes" >&5
4279 echo "${ECHO_T}yes" >&6
4282 echo "$as_me:$LINENO: checking for assembler global-symbol directive" >&5
4283 echo $ECHO_N "checking for assembler global-symbol directive... $ECHO_C" >&6
4284 if test "${libc_cv_asm_global_directive+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 libc_cv_asm_global_directive
=UNKNOWN
4288 for ac_globl
in .globl .global .EXPORT
; do
4289 cat > conftest.s
<<EOF
4294 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
4295 libc_cv_asm_global_directive
=${ac_globl}
4298 test $libc_cv_asm_global_directive != UNKNOWN
&& break
4301 echo "$as_me:$LINENO: result: $libc_cv_asm_global_directive" >&5
4302 echo "${ECHO_T}$libc_cv_asm_global_directive" >&6
4303 if test $libc_cv_asm_global_directive = UNKNOWN
; then
4304 { { echo "$as_me:$LINENO: error: cannot determine asm global directive" >&5
4305 echo "$as_me: error: cannot determine asm global directive" >&2;}
4306 { (exit 1); exit 1; }; }
4308 cat >>confdefs.h
<<_ACEOF
4309 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
4314 echo "$as_me:$LINENO: checking for .set assembler directive" >&5
4315 echo $ECHO_N "checking for .set assembler directive... $ECHO_C" >&6
4316 if test "${libc_cv_asm_set_directive+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 cat > conftest.s
<<EOF
4322 .set glibc_conftest_frobozz,foo
4323 $libc_cv_asm_global_directive glibc_conftest_frobozz
4325 # The alpha-dec-osf1 assembler gives only a warning for `.set'
4326 # (but it doesn't work), so we must do a linking check to be sure.
4327 cat > conftest1.c
<<\EOF
4328 extern int glibc_conftest_frobozz
;
4329 main
() { printf ("%d\n", glibc_conftest_frobozz
); }
4331 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
4332 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
4333 libc_cv_asm_set_directive
=yes
4335 libc_cv_asm_set_directive
=no
4339 echo "$as_me:$LINENO: result: $libc_cv_asm_set_directive" >&5
4340 echo "${ECHO_T}$libc_cv_asm_set_directive" >&6
4341 if test $libc_cv_asm_set_directive = yes; then
4342 cat >>confdefs.h
<<\_ACEOF
4343 #define HAVE_ASM_SET_DIRECTIVE 1
4348 echo "$as_me:$LINENO: checking for assembler .type directive prefix" >&5
4349 echo $ECHO_N "checking for assembler .type directive prefix... $ECHO_C" >&6
4350 if test "${libc_cv_asm_type_prefix+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 libc_cv_asm_type_prefix
=no
4354 for ac_try_prefix
in '@' '%' '#'; do
4355 cat > conftest.s
<<EOF
4357 ${libc_cv_asm_global_directive} foo
4358 .type foo, ${ac_try_prefix}object
4363 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
4364 libc_cv_asm_type_prefix
=${ac_try_prefix}
4367 test "x$libc_cv_asm_type_prefix" != xno
&& break
4370 echo "$as_me:$LINENO: result: $libc_cv_asm_type_prefix" >&5
4371 echo "${ECHO_T}$libc_cv_asm_type_prefix" >&6
4372 if test "x$libc_cv_asm_type_prefix" != xno
; then
4373 cat >>confdefs.h
<<_ACEOF
4374 #define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
4379 # The Aix ld uses global .symbol_names instead of symbol_names.
4380 # Unfortunately also used in the PPC64 ELF ABI.
4381 case "${os}${machine}" in
4382 aix4.3
* | linux
*powerpc
/powerpc64
*)
4383 cat >>confdefs.h
<<\_ACEOF
4384 #define HAVE_ASM_GLOBAL_DOT_NAME 1
4389 echo "$as_me:$LINENO: checking for .symver assembler directive" >&5
4390 echo $ECHO_N "checking for .symver assembler directive... $ECHO_C" >&6
4391 if test "${libc_cv_asm_symver_directive+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 cat > conftest.s
<<EOF
4397 .symver _sym,sym@VERS
4399 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
4400 libc_cv_asm_symver_directive
=yes
4402 libc_cv_asm_symver_directive
=no
4406 echo "$as_me:$LINENO: result: $libc_cv_asm_symver_directive" >&5
4407 echo "${ECHO_T}$libc_cv_asm_symver_directive" >&6
4408 echo "$as_me:$LINENO: checking for ld --version-script" >&5
4409 echo $ECHO_N "checking for ld --version-script... $ECHO_C" >&6
4410 if test "${libc_cv_ld_version_script_option+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 if test $libc_cv_asm_symver_directive = yes; then
4414 cat > conftest.s
<<EOF
4417 .symver _sym,sym@VERS
4419 cat > conftest.map
<<EOF
4428 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
4429 if { ac_try
='${CC-cc} $CFLAGS -shared -o conftest.so conftest.o
4430 -nostartfiles -nostdlib
4431 -Wl,--version-script,conftest.map
4433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; };
4439 libc_cv_ld_version_script_option
=yes
4441 libc_cv_ld_version_script_option
=no
4444 libc_cv_ld_version_script_option
=no
4447 libc_cv_ld_version_script_option
=no
4451 echo "$as_me:$LINENO: result: $libc_cv_ld_version_script_option" >&5
4452 echo "${ECHO_T}$libc_cv_ld_version_script_option" >&6
4453 if test $shared != no
&&
4454 test $libc_cv_asm_symver_directive = yes &&
4455 test $libc_cv_ld_version_script_option = yes &&
4456 test $enable_versioning = yes; then
4458 cat >>confdefs.h
<<\_ACEOF
4459 #define DO_VERSIONING 1
4467 if test $elf = yes && test $shared != no
&& test $VERSIONING = no
; then
4469 *** WARNING: You should not compile GNU libc without versioning. Not using
4470 *** versioning will introduce incompatibilities so that old binaries
4471 *** will not run anymore.
4472 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
4474 if test $elf = yes; then
4475 echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
4476 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6
4477 if test "${libc_cv_asm_previous_directive+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 cat > conftest.s
<<EOF
4481 .section foo_section
4484 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; }; then
4490 libc_cv_asm_previous_directive
=yes
4492 libc_cv_asm_previous_directive
=no
4496 echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
4497 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6
4498 if test $libc_cv_asm_previous_directive = yes; then
4499 cat >>confdefs.h
<<\_ACEOF
4500 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
4504 echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
4505 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6
4506 if test "${libc_cv_asm_popsection_directive+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 cat > conftest.s
<<EOF
4510 .pushsection foo_section
4513 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'
4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); }; }; then
4519 libc_cv_asm_popsection_directive
=yes
4521 libc_cv_asm_popsection_directive
=no
4525 echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
4526 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6
4527 if test $libc_cv_asm_popsection_directive = yes; then
4528 cat >>confdefs.h
<<\_ACEOF
4529 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
4534 echo "$as_me:$LINENO: checking for .protected and .hidden assembler directive" >&5
4535 echo $ECHO_N "checking for .protected and .hidden assembler directive... $ECHO_C" >&6
4536 if test "${libc_cv_asm_protected_directive+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 cat > conftest.s
<<EOF
4545 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'
4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }; }; then
4551 libc_cv_asm_protected_directive
=yes
4553 libc_cv_asm_protected_directive
=no
4557 echo "$as_me:$LINENO: result: $libc_cv_asm_protected_directive" >&5
4558 echo "${ECHO_T}$libc_cv_asm_protected_directive" >&6
4560 cat >>confdefs.h
<<\_ACEOF
4561 #define HAVE_PROTECTED 1
4564 cat >>confdefs.h
<<\_ACEOF
4565 #define HAVE_HIDDEN 1
4569 if test $libc_cv_asm_protected_directive = yes; then
4570 echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
4571 echo $ECHO_N "checking whether __attribute__((visibility())) is supported... $ECHO_C" >&6
4572 if test "${libc_cv_visibility_attribute+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 cat > conftest.c
<<EOF
4576 int foo __attribute__ ((visibility ("hidden"))) = 1;
4577 int bar __attribute__ ((visibility ("protected"))) = 1;
4579 libc_cv_visibility_attribute
=no
4580 if ${CC-cc} -Werror -S conftest.c
-o conftest.s
>/dev
/null
2>&1; then
4581 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
4582 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
4583 libc_cv_visibility_attribute
=yes
4590 echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
4591 echo "${ECHO_T}$libc_cv_visibility_attribute" >&6
4592 if test $libc_cv_visibility_attribute = yes; then
4593 cat >>confdefs.h
<<\_ACEOF
4594 #define HAVE_VISIBILITY_ATTRIBUTE 1
4600 if test $libc_cv_visibility_attribute = yes; then
4601 echo "$as_me:$LINENO: checking for broken __attribute__((visibility()))" >&5
4602 echo $ECHO_N "checking for broken __attribute__((visibility()))... $ECHO_C" >&6
4603 if test "${libc_cv_broken_visibility_attribute+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 cat > conftest.c
<<EOF
4608 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
4609 int bar (int x) { return x; }
4611 libc_cv_broken_visibility_attribute
=yes
4612 if ${CC-cc} -Werror -S conftest.c
-o conftest.s
>/dev
/null
2>&1; then
4613 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
4614 libc_cv_broken_visibility_attribute
=no
4617 rm -f conftest.c conftest.s
4620 echo "$as_me:$LINENO: result: $libc_cv_broken_visibility_attribute" >&5
4621 echo "${ECHO_T}$libc_cv_broken_visibility_attribute" >&6
4622 if test $libc_cv_broken_visibility_attribute = yes; then
4623 cat >>confdefs.h
<<\_ACEOF
4624 #define HAVE_BROKEN_VISIBILITY_ATTRIBUTE 1
4630 echo "$as_me:$LINENO: checking for broken __attribute__((alias()))" >&5
4631 echo $ECHO_N "checking for broken __attribute__((alias()))... $ECHO_C" >&6
4632 if test "${libc_cv_broken_alias_attribute+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 cat > conftest.c
<<EOF
4636 extern int foo (int x) __asm ("xyzzy");
4637 int bar (int x) { return x; }
4638 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
4640 extern __typeof (dfoo) dfoo __asm ("abccb");
4643 libc_cv_broken_alias_attribute
=yes
4644 if ${CC-cc} -Werror -S conftest.c
-o conftest.s
>/dev
/null
2>&1; then
4645 if grep 'xyzzy' conftest.s
>/dev
/null
&&
4646 grep 'abccb' conftest.s
>/dev
/null
; then
4647 libc_cv_broken_alias_attribute
=no
4650 rm -f conftest.c conftest.s
4653 echo "$as_me:$LINENO: result: $libc_cv_broken_alias_attribute" >&5
4654 echo "${ECHO_T}$libc_cv_broken_alias_attribute" >&6
4655 if test $libc_cv_broken_alias_attribute = yes; then
4656 cat >>confdefs.h
<<\_ACEOF
4657 #define HAVE_BROKEN_ALIAS_ATTRIBUTE 1
4662 if test $libc_cv_visibility_attribute = yes -a $gnu_ld = yes; then
4663 echo "$as_me:$LINENO: checking whether to put _rtld_local into .sdata section" >&5
4664 echo $ECHO_N "checking whether to put _rtld_local into .sdata section... $ECHO_C" >&6
4665 if test "${libc_cv_have_sdata_section+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 echo "int i;" > conftest.c
4669 libc_cv_have_sdata_section
=no
4670 if ${CC-cc} -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
4671 |
grep '\.sdata' >/dev
/null
; then
4672 libc_cv_have_sdata_section
=yes
4674 rm -f conftest.c conftest.so
4677 echo "$as_me:$LINENO: result: $libc_cv_have_sdata_section" >&5
4678 echo "${ECHO_T}$libc_cv_have_sdata_section" >&6
4679 if test $libc_cv_have_sdata_section = yes; then
4680 cat >>confdefs.h
<<\_ACEOF
4681 #define HAVE_SDATA_SECTION 1
4687 echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
4688 echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6
4689 if test "${libc_cv_initfinit_array+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 cat > conftest.c
<<EOF
4693 int _start (void) { return 0; }
4694 int __start (void) { return 0; }
4695 int foo (void) { return 1; }
4696 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
4698 if { ac_try
='${CC-cc} -o conftest conftest.c
4699 -static -nostartfiles -nostdlib 1>&5'
4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); }; }
4706 if readelf
-S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
4707 libc_cv_initfinit_array
=yes
4709 libc_cv_initfinit_array
=no
4712 libc_cv_initfinit_array
=no
4716 echo "$as_me:$LINENO: result: $libc_cv_initfinit_array" >&5
4717 echo "${ECHO_T}$libc_cv_initfinit_array" >&6
4719 if test $libc_cv_initfinit_array = yes; then
4720 cat >>confdefs.h
<<\_ACEOF
4721 #define HAVE_INITFINI_ARRAY 1
4726 echo "$as_me:$LINENO: checking for -z nodelete option" >&5
4727 echo $ECHO_N "checking for -z nodelete option... $ECHO_C" >&6
4728 if test "${libc_cv_z_nodelete+set}" = set; then
4729 echo $ECHO_N "(cached) $ECHO_C" >&6
4731 cat > conftest.c
<<EOF
4732 int _start (void) { return 42; }
4734 if { ac_try
='${CC-cc} -shared -o conftest.so conftest.c
4735 -nostartfiles -nostdlib
4736 -Wl,--enable-new-dtags,-z,nodelete 1>&5'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }
4743 libc_cv_z_nodelete
=yes
4745 libc_cv_z_nodelete
=no
4749 echo "$as_me:$LINENO: result: $libc_cv_z_nodelete" >&5
4750 echo "${ECHO_T}$libc_cv_z_nodelete" >&6
4753 echo "$as_me:$LINENO: checking for -z nodlopen option" >&5
4754 echo $ECHO_N "checking for -z nodlopen option... $ECHO_C" >&6
4755 if test "${libc_cv_z_nodlopen+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4758 cat > conftest.c
<<EOF
4759 int _start (void) { return 42; }
4761 if { ac_try
='${CC-cc} -shared -o conftest.so conftest.c
4762 -nostartfiles -nostdlib
4763 -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; }
4770 libc_cv_z_nodlopen
=yes
4772 libc_cv_z_nodlopen
=no
4776 echo "$as_me:$LINENO: result: $libc_cv_z_nodlopen" >&5
4777 echo "${ECHO_T}$libc_cv_z_nodlopen" >&6
4780 echo "$as_me:$LINENO: checking for -z initfirst option" >&5
4781 echo $ECHO_N "checking for -z initfirst option... $ECHO_C" >&6
4782 if test "${libc_cv_z_initfirst+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 cat > conftest.c
<<EOF
4786 int _start (void) { return 42; }
4788 if { ac_try
='${CC-cc} -shared -o conftest.so conftest.c
4789 -nostartfiles -nostdlib
4790 -Wl,--enable-new-dtags,-z,initfirst 1>&5'
4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; }
4797 libc_cv_z_initfirst
=yes
4799 libc_cv_z_initfirst
=no
4803 echo "$as_me:$LINENO: result: $libc_cv_z_initfirst" >&5
4804 echo "${ECHO_T}$libc_cv_z_initfirst" >&6
4807 echo "$as_me:$LINENO: checking for -Bgroup option" >&5
4808 echo $ECHO_N "checking for -Bgroup option... $ECHO_C" >&6
4809 if test "${libc_cv_Bgroup+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 cat > conftest.c
<<EOF
4813 int _start (void) { return 42; }
4815 if { ac_try
='${CC-cc} -shared -o conftest.so conftest.c -Wl,-Bgroup -nostdlib 1>&5'
4816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); }; }
4828 echo "$as_me:$LINENO: result: $libc_cv_Bgroup" >&5
4829 echo "${ECHO_T}$libc_cv_Bgroup" >&6
4832 echo "$as_me:$LINENO: checking for -z combreloc" >&5
4833 echo $ECHO_N "checking for -z combreloc... $ECHO_C" >&6
4834 if test "${libc_cv_z_combreloc+set}" = set; then
4835 echo $ECHO_N "(cached) $ECHO_C" >&6
4837 cat > conftest.c
<<EOF
4838 extern int bar (int);
4840 int foo (void) { return bar (mumble); }
4842 if { ac_try
='${CC-cc} -shared -o conftest.so conftest.c
4843 -nostdlib -nostartfiles
4844 -Wl,-z,combreloc 1>&5'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }
4851 if readelf
-S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
4852 libc_cv_z_combreloc
=yes
4854 libc_cv_z_combreloc
=no
4857 libc_cv_z_combreloc
=no
4861 echo "$as_me:$LINENO: result: $libc_cv_z_combreloc" >&5
4862 echo "${ECHO_T}$libc_cv_z_combreloc" >&6
4863 if test "$libc_cv_z_combreloc" = yes; then
4864 cat >>confdefs.h
<<\_ACEOF
4865 #define HAVE_Z_COMBRELOC 1
4872 if test $elf != yes; then
4873 echo "$as_me:$LINENO: checking for .init and .fini sections" >&5
4874 echo $ECHO_N "checking for .init and .fini sections... $ECHO_C" >&6
4875 if test "${libc_cv_have_initfini+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 cat >conftest.
$ac_ext <<_ACEOF
4879 #line $LINENO "configure"
4880 #include "confdefs.h"
4885 asm (".section .init");
4886 asm (".section .fini");
4887 asm ("${libc_cv_dot_text}");
4892 rm -f conftest.
$ac_objext
4893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4894 (eval $ac_compile) 2>&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } &&
4898 { ac_try
='test -s conftest.$ac_objext'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4904 libc_cv_have_initfini
=yes
4906 echo "$as_me: failed program was:" >&5
4907 cat conftest.
$ac_ext >&5
4908 libc_cv_have_initfini
=no
4910 rm -f conftest.
$ac_objext conftest.
$ac_ext
4912 echo "$as_me:$LINENO: result: $libc_cv_have_initfini" >&5
4913 echo "${ECHO_T}$libc_cv_have_initfini" >&6
4914 if test $libc_cv_have_initfini = yes; then
4915 cat >>confdefs.h
<<\_ACEOF
4916 #define HAVE_INITFINI 1
4922 if test $elf = yes -a $gnu_ld = yes; then
4923 echo "$as_me:$LINENO: checking whether cc puts quotes around section names" >&5
4924 echo $ECHO_N "checking whether cc puts quotes around section names... $ECHO_C" >&6
4925 if test "${libc_cv_have_section_quotes+set}" = set; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 cat > conftest.c
<<EOF
4929 static const int foo
4930 __attribute__ ((section ("bar"))) = 1;
4932 if ${CC-cc} -S conftest.c
-o conftest.s
; then
4933 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
4934 libc_cv_have_section_quotes
=yes
4936 libc_cv_have_section_quotes
=no
4939 libc_cv_have_section_quotes
=unknown
4944 echo "$as_me:$LINENO: result: $libc_cv_have_section_quotes" >&5
4945 echo "${ECHO_T}$libc_cv_have_section_quotes" >&6
4946 if test $libc_cv_have_section_quotes = yes; then
4947 cat >>confdefs.h
<<\_ACEOF
4948 #define HAVE_SECTION_QUOTES 1
4956 if test $elf = yes; then
4957 libc_cv_asm_underscores
=no
4959 if test $ac_cv_prog_cc_works = yes; then
4960 echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
4961 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6
4962 if test "${libc_cv_asm_underscores+set}" = set; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 cat >conftest.
$ac_ext <<_ACEOF
4966 #line $LINENO "configure"
4967 #include "confdefs.h"
4968 asm ("_glibc_foobar:");
4977 rm -f conftest.
$ac_objext conftest
$ac_exeext
4978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4979 (eval $ac_link) 2>&5
4981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982 (exit $ac_status); } &&
4983 { ac_try
='test -s conftest$ac_exeext'
4984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; }; then
4989 libc_cv_asm_underscores
=yes
4991 echo "$as_me: failed program was:" >&5
4992 cat conftest.
$ac_ext >&5
4993 libc_cv_asm_underscores
=no
4995 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4997 echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
4998 echo "${ECHO_T}$libc_cv_asm_underscores" >&6
5000 echo "$as_me:$LINENO: checking for _ prefix on C symbol names" >&5
5001 echo $ECHO_N "checking for _ prefix on C symbol names... $ECHO_C" >&6
5002 if test "${libc_cv_asm_underscores+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 cat > conftest.
$ac_ext <<EOF
5006 #line 5006 "configure"
5007 #include "confdefs.h"
5008 void underscore_test(void) {
5011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5012 (eval $ac_compile) 2>&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; then
5016 if grep _underscore_test conftest
* >/dev
/null
; then
5018 libc_cv_asm_underscores
=yes
5021 libc_cv_asm_underscores
=no
5024 echo "configure: failed program was:" >&5
5025 cat conftest.
$ac_ext >&5
5027 libc_cv_asm_underscores
=no
5031 echo "$as_me:$LINENO: result: $libc_cv_asm_underscores" >&5
5032 echo "${ECHO_T}$libc_cv_asm_underscores" >&6
5035 if test $libc_cv_asm_underscores = no
; then
5036 cat >>confdefs.h
<<\_ACEOF
5037 #define NO_UNDERSCORES 1
5042 if test $elf = yes; then
5043 libc_cv_weak_symbols
=yes
5046 echo "$as_me:$LINENO: checking for assembler .weak directive" >&5
5047 echo $ECHO_N "checking for assembler .weak directive... $ECHO_C" >&6
5048 if test "${libc_cv_asm_weak_directive+set}" = set; then
5049 echo $ECHO_N "(cached) $ECHO_C" >&6
5051 cat > conftest.s
<<EOF
5053 ${libc_cv_asm_global_directive} foo
5056 .weak bar; bar = foo
5058 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
5059 libc_cv_asm_weak_directive
=yes
5061 libc_cv_asm_weak_directive
=no
5065 echo "$as_me:$LINENO: result: $libc_cv_asm_weak_directive" >&5
5066 echo "${ECHO_T}$libc_cv_asm_weak_directive" >&6
5068 if test $libc_cv_asm_weak_directive = no
; then
5069 echo "$as_me:$LINENO: checking for assembler .weakext directive" >&5
5070 echo $ECHO_N "checking for assembler .weakext directive... $ECHO_C" >&6
5071 if test "${libc_cv_asm_weakext_directive+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 cat > conftest.s
<<EOF
5076 ${libc_cv_asm_global_directive} foo
5080 ${libc_cv_asm_global_directive} baz
5083 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
5084 libc_cv_asm_weakext_directive
=yes
5086 libc_cv_asm_weakext_directive
=no
5090 echo "$as_me:$LINENO: result: $libc_cv_asm_weakext_directive" >&5
5091 echo "${ECHO_T}$libc_cv_asm_weakext_directive" >&6
5095 if test $libc_cv_asm_weak_directive = yes; then
5096 cat >>confdefs.h
<<\_ACEOF
5097 #define HAVE_ASM_WEAK_DIRECTIVE 1
5100 elif test $libc_cv_asm_weakext_directive = yes; then
5101 cat >>confdefs.h
<<\_ACEOF
5102 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
5107 case "${host_cpu}-${host_os}" in
5109 libc_cv_asm_line_sep
='@'
5110 cat >>confdefs.h
<<_ACEOF
5111 #define ASM_LINE_SEP $libc_cv_asm_line_sep
5116 echo "$as_me:$LINENO: checking for assembler line separator" >&5
5117 echo $ECHO_N "checking for assembler line separator... $ECHO_C" >&6
5118 if test "${libc_cv_asm_line_sep+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 cat > conftest.s
<<EOF
5124 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'
5125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; }; then
5130 libc_cv_asm_line_sep
='!'
5132 if test -z "$enable_hacker_mode"; then
5133 echo "*** You need a newer assembler to compile glibc"
5137 libc_cv_asm_line_sep
=';'
5141 echo "$as_me:$LINENO: result: $libc_cv_asm_line_sep" >&5
5142 echo "${ECHO_T}$libc_cv_asm_line_sep" >&6
5143 cat >>confdefs.h
<<_ACEOF
5144 #define ASM_LINE_SEP $libc_cv_asm_line_sep
5150 echo "$as_me:$LINENO: checking for ld --no-whole-archive" >&5
5151 echo $ECHO_N "checking for ld --no-whole-archive... $ECHO_C" >&6
5152 if test "${libc_cv_ld_no_whole_archive+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 cat > conftest.c
<<\EOF
5160 if { ac_try
='${CC-cc} $CFLAGS
5161 -nostdlib -nostartfiles -Wl,--no-whole-archive
5162 -o conftest conftest.c 1>&5'
5163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); }; }; then
5168 libc_cv_ld_no_whole_archive
=yes
5170 libc_cv_ld_no_whole_archive
=no
5174 echo "$as_me:$LINENO: result: $libc_cv_ld_no_whole_archive" >&5
5175 echo "${ECHO_T}$libc_cv_ld_no_whole_archive" >&6
5176 if test $libc_cv_ld_no_whole_archive = yes; then
5177 no_whole_archive
=-Wl,--no-whole-archive
5180 echo "$as_me:$LINENO: checking for gcc -fexceptions" >&5
5181 echo $ECHO_N "checking for gcc -fexceptions... $ECHO_C" >&6
5182 if test "${libc_cv_gcc_exceptions+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 cat > conftest.c
<<\EOF
5190 if { ac_try
='${CC-cc} $CFLAGS
5191 -nostdlib -nostartfiles -fexceptions
5192 -o conftest conftest.c 1>&5'
5193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); }; }; then
5198 libc_cv_gcc_exceptions
=yes
5200 libc_cv_gcc_exceptions
=no
5204 echo "$as_me:$LINENO: result: $libc_cv_gcc_exceptions" >&5
5205 echo "${ECHO_T}$libc_cv_gcc_exceptions" >&6
5206 if test $libc_cv_gcc_exceptions = yes; then
5207 exceptions
=-fexceptions
5210 if test "$host_cpu" = powerpc
; then
5211 # Check for a bug present in at least versions 2.8.x of GCC
5212 # and versions 1.0.x of EGCS.
5213 echo "$as_me:$LINENO: checking whether clobbering cr0 causes problems" >&5
5214 echo $ECHO_N "checking whether clobbering cr0 causes problems... $ECHO_C" >&6
5215 if test "${libc_cv_c_asmcr0_bug+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 cat >conftest.
$ac_ext <<_ACEOF
5219 #line $LINENO "configure"
5220 #include "confdefs.h"
5221 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
5230 rm -f conftest.
$ac_objext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5232 (eval $ac_compile) 2>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } &&
5236 { ac_try
='test -s conftest.$ac_objext'
5237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); }; }; then
5242 libc_cv_c_asmcr0_bug
='no'
5244 echo "$as_me: failed program was:" >&5
5245 cat conftest.
$ac_ext >&5
5246 libc_cv_c_asmcr0_bug
='yes'
5248 rm -f conftest.
$ac_objext conftest.
$ac_ext
5250 echo "$as_me:$LINENO: result: $libc_cv_c_asmcr0_bug" >&5
5251 echo "${ECHO_T}$libc_cv_c_asmcr0_bug" >&6
5252 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
5253 cat >>confdefs.h
<<\_ACEOF
5254 #define BROKEN_PPC_ASM_CR0 1
5260 echo "$as_me:$LINENO: checking for DWARF2 unwind info support" >&5
5261 echo $ECHO_N "checking for DWARF2 unwind info support... $ECHO_C" >&6
5262 if test "${libc_cv_gcc_dwarf2_unwind_info+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 cat > conftest.c
<<EOF
5266 #line 5266 "configure"
5267 static char *__EH_FRAME_BEGIN__;
5270 #ifdef CHECK__register_frame
5271 __register_frame (__EH_FRAME_BEGIN__);
5272 __deregister_frame (__EH_FRAME_BEGIN__);
5274 #ifdef CHECK__register_frame_info
5275 __register_frame_info (__EH_FRAME_BEGIN__);
5276 __deregister_frame_info (__EH_FRAME_BEGIN__);
5281 /* FIXME: this is fragile. */
5290 dl_iterate_phdr () {}
5292 if { ac_try
='${CC-cc} $CFLAGS -DCHECK__register_frame_info
5293 -nostdlib -nostartfiles
5294 -o conftest conftest.c -lgcc >&5'
5295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); }; }; then
5300 libc_cv_gcc_dwarf2_unwind_info
=static
5302 libc_cv_gcc_dwarf2_unwind_info
=no
5304 # Some platforms' specs put -lgcc first. The second one doesn't hurt.
5305 libc_unwind_check
="${CC-cc} $CFLAGS -DCHECK__register_frame_info \
5306 -nostdlib -nostartfiles -o conftest conftest.c \
5307 -lgcc -lgcc_eh -lgcc"
5308 if { ac_try
='$libc_unwind_check >&5'
5309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); }; }; then
5314 if $libc_unwind_check -v 2>&1 >/dev
/null \
5315 |
grep -q -- --eh-frame-hdr; then
5316 libc_cv_gcc_dwarf2_unwind_info
=no_registry_needed
5318 libc_cv_gcc_dwarf2_unwind_info
=static
5321 libc_cv_gcc_dwarf2_unwind_info
=no
5323 if test $libc_cv_gcc_dwarf2_unwind_info = no
; then
5324 if { ac_try
='${CC-cc} $CFLAGS -DCHECK__register_frame
5325 -nostdlib -nostartfiles
5326 -o conftest conftest.c -lgcc >&5'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; }; then
5332 libc_cv_gcc_dwarf2_unwind_info
=yes
5334 libc_cv_gcc_dwarf2_unwind_info
=no
5339 echo "$as_me:$LINENO: result: $libc_cv_gcc_dwarf2_unwind_info" >&5
5340 echo "${ECHO_T}$libc_cv_gcc_dwarf2_unwind_info" >&6
5341 case $libc_cv_gcc_dwarf2_unwind_info in
5343 cat >>confdefs.h
<<\_ACEOF
5344 #define HAVE_DWARF2_UNWIND_INFO 1
5349 cat >>confdefs.h
<<\_ACEOF
5350 #define HAVE_DWARF2_UNWIND_INFO 1
5353 cat >>confdefs.h
<<\_ACEOF
5354 #define HAVE_DWARF2_UNWIND_INFO_STATIC 1
5360 echo "$as_me:$LINENO: checking for __builtin_expect" >&5
5361 echo $ECHO_N "checking for __builtin_expect... $ECHO_C" >&6
5362 if test "${libc_cv_gcc_builtin_expect+set}" = set; then
5363 echo $ECHO_N "(cached) $ECHO_C" >&6
5365 cat > conftest.c
<<EOF
5366 #line 5366 "configure"
5369 a = __builtin_expect (a, 10);
5370 return a == 10 ? 0 : 1;
5373 if { ac_try
='${CC-cc} $CFLAGS -nostdlib -nostartfiles
5374 -o conftest conftest.c -lgcc >&5'
5375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); }; }; then
5380 libc_cv_gcc_builtin_expect
=yes
5382 libc_cv_gcc_builtin_expect
=no
5386 echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
5387 echo "${ECHO_T}$libc_cv_gcc_builtin_expect" >&6
5388 if test "$libc_cv_gcc_builtin_expect" = yes; then
5389 cat >>confdefs.h
<<\_ACEOF
5390 #define HAVE_BUILTIN_EXPECT 1
5395 echo "$as_me:$LINENO: checking for __builtin_memset" >&5
5396 echo $ECHO_N "checking for __builtin_memset... $ECHO_C" >&6
5397 if test "${libc_cv_gcc_builtin_memset+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 cat > conftest.c
<<\EOF
5403 __builtin_memset
(x
, 0, 1000);
5406 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
5407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); }; };
5413 libc_cv_gcc_builtin_memset
=no
5415 libc_cv_gcc_builtin_memset
=yes
5419 echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_memset" >&5
5420 echo "${ECHO_T}$libc_cv_gcc_builtin_memset" >&6
5421 if test "$libc_cv_gcc_builtin_memset" = yes ; then
5422 cat >>confdefs.h
<<\_ACEOF
5423 #define HAVE_BUILTIN_MEMSET 1
5428 echo "$as_me:$LINENO: checking for local label subtraction" >&5
5429 echo $ECHO_N "checking for local label subtraction... $ECHO_C" >&6
5430 if test "${libc_cv_gcc_subtract_local_labels+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 cat > conftest.c
<<EOF
5434 #line 5434 "configure"
5437 static const int ar[] = { &&l1 - &&l1, &&l2 - &&l1 };
5438 void *p = &&l1 + ar[a];
5446 if { ac_try
='${CC-cc} $CFLAGS -nostdlib -nostartfiles
5447 -o conftest conftest.c -lgcc >&5'
5448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); }; }; then
5453 libc_cv_gcc_subtract_local_labels
=yes
5455 libc_cv_gcc_subtract_local_labels
=no
5459 echo "$as_me:$LINENO: result: $libc_cv_gcc_subtract_local_labels" >&5
5460 echo "${ECHO_T}$libc_cv_gcc_subtract_local_labels" >&6
5461 if test "$libc_cv_gcc_subtract_local_labels" = yes; then
5462 cat >>confdefs.h
<<\_ACEOF
5463 #define HAVE_SUBTRACT_LOCAL_LABELS 1
5468 if test "x$use__thread" != xno
; then
5469 echo "$as_me:$LINENO: checking for __thread" >&5
5470 echo $ECHO_N "checking for __thread... $ECHO_C" >&6
5471 if test "${libc_cv_gcc___thread+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5474 cat > conftest.c
<<\EOF
5475 __thread int a
= 42;
5477 if { ac_try
='${CC-cc} $CFLAGS -c conftest.c >&5'
5478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); }; }; then
5483 libc_cv_gcc___thread
=yes
5485 libc_cv_gcc___thread
=no
5489 echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
5490 echo "${ECHO_T}$libc_cv_gcc___thread" >&6
5491 if test "$libc_cv_gcc___thread" = yes; then
5492 cat >>confdefs.h
<<\_ACEOF
5493 #define HAVE___THREAD 1
5498 libc_cv_gcc___thread
=no
5501 if test "$libc_cv_gcc___thread" = yes; then
5502 echo "$as_me:$LINENO: checking for tls_model attribute" >&5
5503 echo $ECHO_N "checking for tls_model attribute... $ECHO_C" >&6
5504 if test "${libc_cv_gcc_tls_model_attr+set}" = set; then
5505 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 cat > conftest.c
<<\EOF
5508 extern __thread int a __attribute__
((tls_model
("initial-exec")));
5510 if { ac_try
='${CC-cc} $CFLAGS -S -Werror conftest.c >&5'
5511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }; }; then
5516 libc_cv_gcc_tls_model_attr
=yes
5518 libc_cv_gcc_tls_model_attr
=no
5522 echo "$as_me:$LINENO: result: $libc_cv_gcc_tls_model_attr" >&5
5523 echo "${ECHO_T}$libc_cv_gcc_tls_model_attr" >&6
5524 if test "$libc_cv_gcc_tls_model_attr" = yes; then
5525 cat >>confdefs.h
<<\_ACEOF
5526 #define HAVE_TLS_MODEL_ATTRIBUTE 1
5532 echo "$as_me:$LINENO: checking for libgd" >&5
5533 echo $ECHO_N "checking for libgd... $ECHO_C" >&6
5534 if test "$with_gd" != "no"; then
5535 old_CFLAGS
="$CFLAGS"
5536 CFLAGS
="$CFLAGS $libgd_include"
5537 old_LDFLAGS
="$LDFLAGS"
5538 LDFLAGS
="$LDFLAGS $libgd_ldflags"
5540 LIBS
="$LIBS -lgd -lpng -lz -lm"
5541 cat >conftest.
$ac_ext <<_ACEOF
5542 #line $LINENO "configure"
5543 #include "confdefs.h"
5553 rm -f conftest.
$ac_objext conftest
$ac_exeext
5554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5555 (eval $ac_link) 2>&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); } &&
5559 { ac_try
='test -s conftest$ac_exeext'
5560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); }; }; then
5567 echo "$as_me: failed program was:" >&5
5568 cat conftest.
$ac_ext >&5
5571 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5572 CFLAGS
="$old_CFLAGS"
5573 LDFLAGS
="$old_LDFLAGS"
5578 echo "$as_me:$LINENO: result: $LIBGD" >&5
5579 echo "${ECHO_T}$LIBGD" >&6
5583 echo "$as_me:$LINENO: checking for egrep" >&5
5584 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5585 if test "${ac_cv_prog_egrep+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5589 then ac_cv_prog_egrep
='grep -E'
5590 else ac_cv_prog_egrep
='egrep'
5593 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5594 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5595 EGREP
=$ac_cv_prog_egrep
5598 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5599 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5600 if test "${ac_cv_header_stdc+set}" = set; then
5601 echo $ECHO_N "(cached) $ECHO_C" >&6
5603 cat >conftest.
$ac_ext <<_ACEOF
5604 #line $LINENO "configure"
5605 #include "confdefs.h"
5612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5613 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5615 grep -v '^ *+' conftest.er1
>conftest.err
5617 cat conftest.err
>&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); } >/dev
/null
; then
5620 if test -s conftest.err
; then
5621 ac_cpp_err
=$ac_c_preproc_warn_flag
5628 if test -z "$ac_cpp_err"; then
5629 ac_cv_header_stdc
=yes
5631 echo "$as_me: failed program was:" >&5
5632 cat conftest.
$ac_ext >&5
5633 ac_cv_header_stdc
=no
5635 rm -f conftest.err conftest.
$ac_ext
5637 if test $ac_cv_header_stdc = yes; then
5638 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5639 cat >conftest.
$ac_ext <<_ACEOF
5640 #line $LINENO "configure"
5641 #include "confdefs.h"
5645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5646 $EGREP "memchr" >/dev
/null
2>&1; then
5649 ac_cv_header_stdc
=no
5655 if test $ac_cv_header_stdc = yes; then
5656 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5657 cat >conftest.
$ac_ext <<_ACEOF
5658 #line $LINENO "configure"
5659 #include "confdefs.h"
5663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5664 $EGREP "free" >/dev
/null
2>&1; then
5667 ac_cv_header_stdc
=no
5673 if test $ac_cv_header_stdc = yes; then
5674 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5675 if test "$cross_compiling" = yes; then
5678 cat >conftest.
$ac_ext <<_ACEOF
5679 #line $LINENO "configure"
5680 #include "confdefs.h"
5682 #if ((' ' & 0x0FF) == 0x020)
5683 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5684 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5686 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5687 || ('j' <= (c) && (c) <= 'r') \
5688 || ('s' <= (c) && (c) <= 'z'))
5689 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5692 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5697 for (i = 0; i < 256; i++)
5698 if (XOR (islower (i), ISLOWER (i))
5699 || toupper (i) != TOUPPER (i))
5704 rm -f conftest
$ac_exeext
5705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5706 (eval $ac_link) 2>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); }; }; then
5717 echo "$as_me: program exited with status $ac_status" >&5
5718 echo "$as_me: failed program was:" >&5
5719 cat conftest.
$ac_ext >&5
5721 ac_cv_header_stdc
=no
5723 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5727 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5728 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5729 if test $ac_cv_header_stdc = yes; then
5731 cat >>confdefs.h
<<\_ACEOF
5732 #define STDC_HEADERS 1
5737 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5747 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5748 inttypes.h stdint.h unistd.h
5750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5751 echo "$as_me:$LINENO: checking for $ac_header" >&5
5752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5756 cat >conftest.
$ac_ext <<_ACEOF
5757 #line $LINENO "configure"
5758 #include "confdefs.h"
5759 $ac_includes_default
5761 #include <$ac_header>
5763 rm -f conftest.
$ac_objext
5764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5765 (eval $ac_compile) 2>&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } &&
5769 { ac_try
='test -s conftest.$ac_objext'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then
5775 eval "$as_ac_Header=yes"
5777 echo "$as_me: failed program was:" >&5
5778 cat conftest.
$ac_ext >&5
5779 eval "$as_ac_Header=no"
5781 rm -f conftest.
$ac_objext conftest.
$ac_ext
5783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5786 cat >>confdefs.h
<<_ACEOF
5787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5795 echo "$as_me:$LINENO: checking for long double" >&5
5796 echo $ECHO_N "checking for long double... $ECHO_C" >&6
5797 if test "${ac_cv_type_long_double+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 cat >conftest.
$ac_ext <<_ACEOF
5801 #line $LINENO "configure"
5802 #include "confdefs.h"
5803 $ac_includes_default
5807 if ((long double *) 0)
5809 if (sizeof (long double))
5815 rm -f conftest.
$ac_objext
5816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5817 (eval $ac_compile) 2>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } &&
5821 { ac_try
='test -s conftest.$ac_objext'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); }; }; then
5827 ac_cv_type_long_double
=yes
5829 echo "$as_me: failed program was:" >&5
5830 cat conftest.
$ac_ext >&5
5831 ac_cv_type_long_double
=no
5833 rm -f conftest.
$ac_objext conftest.
$ac_ext
5835 echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
5836 echo "${ECHO_T}$ac_cv_type_long_double" >&6
5838 echo "$as_me:$LINENO: checking size of long double" >&5
5839 echo $ECHO_N "checking size of long double... $ECHO_C" >&6
5840 if test "${ac_cv_sizeof_long_double+set}" = set; then
5841 echo $ECHO_N "(cached) $ECHO_C" >&6
5843 if test "$ac_cv_type_long_double" = yes; then
5844 # The cast to unsigned long works around a bug in the HP C Compiler
5845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5847 # This bug is HP SR number 8606223364.
5848 if test "$cross_compiling" = yes; then
5849 # Depending upon the size, compute the lo and hi bounds.
5850 cat >conftest.
$ac_ext <<_ACEOF
5851 #line $LINENO "configure"
5852 #include "confdefs.h"
5853 $ac_includes_default
5857 static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= 0)];
5864 rm -f conftest.
$ac_objext
5865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5866 (eval $ac_compile) 2>&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } &&
5870 { ac_try
='test -s conftest.$ac_objext'
5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); }; }; then
5878 cat >conftest.
$ac_ext <<_ACEOF
5879 #line $LINENO "configure"
5880 #include "confdefs.h"
5881 $ac_includes_default
5885 static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
5892 rm -f conftest.
$ac_objext
5893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5894 (eval $ac_compile) 2>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } &&
5898 { ac_try
='test -s conftest.$ac_objext'
5899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); }; }; then
5904 ac_hi
=$ac_mid; break
5906 echo "$as_me: failed program was:" >&5
5907 cat conftest.
$ac_ext >&5
5908 ac_lo
=`expr $ac_mid + 1`
5909 if test $ac_lo -le $ac_mid; then
5913 ac_mid
=`expr 2 '*' $ac_mid + 1`
5915 rm -f conftest.
$ac_objext conftest.
$ac_ext
5918 echo "$as_me: failed program was:" >&5
5919 cat conftest.
$ac_ext >&5
5920 cat >conftest.
$ac_ext <<_ACEOF
5921 #line $LINENO "configure"
5922 #include "confdefs.h"
5923 $ac_includes_default
5927 static int test_array [1 - 2 * !(((long) (sizeof (long double))) < 0)];
5934 rm -f conftest.
$ac_objext
5935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5936 (eval $ac_compile) 2>&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } &&
5940 { ac_try
='test -s conftest.$ac_objext'
5941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); }; }; then
5948 cat >conftest.
$ac_ext <<_ACEOF
5949 #line $LINENO "configure"
5950 #include "confdefs.h"
5951 $ac_includes_default
5955 static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= $ac_mid)];
5962 rm -f conftest.
$ac_objext
5963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5964 (eval $ac_compile) 2>&5
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); } &&
5968 { ac_try
='test -s conftest.$ac_objext'
5969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 (exit $ac_status); }; }; then
5974 ac_lo
=$ac_mid; break
5976 echo "$as_me: failed program was:" >&5
5977 cat conftest.
$ac_ext >&5
5978 ac_hi
=`expr '(' $ac_mid ')' - 1`
5979 if test $ac_mid -le $ac_hi; then
5983 ac_mid
=`expr 2 '*' $ac_mid`
5985 rm -f conftest.
$ac_objext conftest.
$ac_ext
5988 echo "$as_me: failed program was:" >&5
5989 cat conftest.
$ac_ext >&5
5992 rm -f conftest.
$ac_objext conftest.
$ac_ext
5994 rm -f conftest.
$ac_objext conftest.
$ac_ext
5995 # Binary search between lo and hi bounds.
5996 while test "x$ac_lo" != "x$ac_hi"; do
5997 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5998 cat >conftest.
$ac_ext <<_ACEOF
5999 #line $LINENO "configure"
6000 #include "confdefs.h"
6001 $ac_includes_default
6005 static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
6012 rm -f conftest.
$ac_objext
6013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6014 (eval $ac_compile) 2>&5
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); } &&
6018 { ac_try
='test -s conftest.$ac_objext'
6019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); }; }; then
6026 echo "$as_me: failed program was:" >&5
6027 cat conftest.
$ac_ext >&5
6028 ac_lo
=`expr '(' $ac_mid ')' + 1`
6030 rm -f conftest.
$ac_objext conftest.
$ac_ext
6033 ?
*) ac_cv_sizeof_long_double
=$ac_lo;;
6034 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77" >&5
6035 echo "$as_me: error: cannot compute sizeof (long double), 77" >&2;}
6036 { (exit 1); exit 1; }; } ;;
6039 if test "$cross_compiling" = yes; then
6040 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6041 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6042 { (exit 1); exit 1; }; }
6044 cat >conftest.
$ac_ext <<_ACEOF
6045 #line $LINENO "configure"
6046 #include "confdefs.h"
6047 $ac_includes_default
6048 long longval () { return (long) (sizeof (long double)); }
6049 unsigned long ulongval () { return (long) (sizeof (long double)); }
6056 FILE *f = fopen ("conftest.val", "w");
6059 if (((long) (sizeof (long double))) < 0)
6061 long i = longval ();
6062 if (i != ((long) (sizeof (long double))))
6064 fprintf (f, "%ld\n", i);
6068 unsigned long i = ulongval ();
6069 if (i != ((long) (sizeof (long double))))
6071 fprintf (f, "%lu\n", i);
6073 exit (ferror (f) || fclose (f) != 0);
6079 rm -f conftest
$ac_exeext
6080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6081 (eval $ac_link) 2>&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); }; }; then
6090 ac_cv_sizeof_long_double
=`cat conftest.val`
6092 echo "$as_me: program exited with status $ac_status" >&5
6093 echo "$as_me: failed program was:" >&5
6094 cat conftest.
$ac_ext >&5
6096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77" >&5
6097 echo "$as_me: error: cannot compute sizeof (long double), 77" >&2;}
6098 { (exit 1); exit 1; }; }
6100 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6105 ac_cv_sizeof_long_double
=0
6108 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
6109 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6
6110 cat >>confdefs.h
<<_ACEOF
6111 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
6115 sizeof_long_double
=$ac_cv_sizeof_long_double
6118 ### End of automated tests.
6119 ### Now run sysdeps configure fragments.
6121 # They also can set these variables.
6123 ldd_rewrite_script
=no
6124 libc_cv_sysconfdir
=$sysconfdir
6125 libc_cv_gcc_unwind_find_fde
=no
6127 # Iterate over all the sysdep directories we will use, running their
6128 # configure fragments, and looking for a uname implementation.
6130 for dir
in $sysnames; do
6133 *) dest
=$srcdir/$dir ;;
6135 if test -r $dest/configure
; then
6136 echo "$as_me:$LINENO: result: running configure fragment for $dest" >&5
6137 echo "${ECHO_T}running configure fragment for $dest" >&6
6141 if test -z "$uname"; then
6142 if test -r $dest/uname.c ||
6143 test -r $dest/uname.S ||
6144 { test -r $dest/syscalls.list
&&
6145 grep '^uname[ ]' $dest/syscalls.list
>/dev
/null
; }; then
6151 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
6152 cat >>confdefs.h
<<\_ACEOF
6153 #define EXPORT_UNWIND_FIND_FDE 1
6159 # If we will use the generic uname implementation, we must figure out what
6160 # it will say by examining the system, and write the results in config-name.h.
6161 if test "$uname" = "sysdeps/generic"; then
6163 uname_sysname
=`echo $config_os | sed 's/[0-9.]*$//'`
6164 if test $uname_sysname != $config_os; then
6165 config_release
=`echo $config_os | sed s/$uname_sysname//`
6168 echo "$as_me:$LINENO: checking OS release for uname" >&5
6169 echo $ECHO_N "checking OS release for uname... $ECHO_C" >&6
6170 if test "${libc_cv_uname_release+set}" = set; then
6171 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 if test -r /vmunix
; then
6174 kernel_id
=`strings /vmunix | grep UNIX`
6175 elif test -r /dynix
; then
6176 kernel_id
=`strings /dynix | grep DYNIX`
6181 kernel_release
=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
6182 if test x
`echo "$config_release" | sed "s/^$kernel_release//"` \
6183 != x
$config_release; then
6184 # The configuration release is a substring of the kernel release.
6185 libc_cv_uname_release
=$kernel_release
6186 elif test x
$config_release != x
; then
6187 libc_cv_uname_release
=$config_release
6188 elif test x
$kernel_release != x
; then
6189 libc_cv_uname_release
=$kernel_release
6191 libc_cv_uname_release
=unknown
6194 echo "$as_me:$LINENO: result: $libc_cv_uname_release" >&5
6195 echo "${ECHO_T}$libc_cv_uname_release" >&6
6196 uname_release
="$libc_cv_uname_release"
6198 echo "$as_me:$LINENO: checking OS version for uname" >&5
6199 echo $ECHO_N "checking OS version for uname... $ECHO_C" >&6
6200 if test "${libc_cv_uname_version+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 if test -r /vmunix
; then
6204 kernel_id
=`strings /vmunix | grep UNIX`
6205 elif test -r /dynix
; then
6206 kernel_id
=`strings /dynix | grep DYNIX`
6211 kernel_version
=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
6212 if test -n "$kernel_version"; then
6213 libc_cv_uname_version
="$kernel_version"
6215 libc_cv_uname_version
=unknown
6218 echo "$as_me:$LINENO: result: $libc_cv_uname_version" >&5
6219 echo "${ECHO_T}$libc_cv_uname_version" >&6
6220 uname_version
="$libc_cv_uname_version"
6222 config_uname
=config-name.h
:config-name.
in
6224 # For non-generic uname, we don't need to create config-name.h at all.
6228 cat >>confdefs.h
<<\_ACEOF
6229 #define USE_IN_LIBIO 1
6233 # Test for old glibc 2.0.x headers so that they can be removed properly
6234 # Search only in includedir.
6235 echo "$as_me:$LINENO: checking for old glibc 2.0.x headers" >&5
6236 echo $ECHO_N "checking for old glibc 2.0.x headers... $ECHO_C" >&6
6237 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
6239 old_glibc_headers
=yes
6241 old_glibc_headers
=no
6243 echo "$as_me:$LINENO: result: $old_glibc_headers" >&5
6244 echo "${ECHO_T}$old_glibc_headers" >&6
6245 if test ${old_glibc_headers} = yes; then
6246 { echo "$as_me:$LINENO: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
6247 echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
6248 { echo "$as_me:$LINENO: WARNING: *** be removed." >&5
6249 echo "$as_me: WARNING: *** be removed." >&2;}
6262 if test $gnu_ld = yes; then
6263 cat >>confdefs.h
<<\_ACEOF
6264 #define HAVE_GNU_LD 1
6268 if test $gnu_as = yes; then
6269 cat >>confdefs.h
<<\_ACEOF
6270 #define HAVE_GNU_AS 1
6274 if test $elf = yes; then
6275 cat >>confdefs.h
<<\_ACEOF
6280 if test $xcoff = yes; then
6281 cat >>confdefs.h
<<\_ACEOF
6282 #define HAVE_XCOFF 1
6289 if test $shared = default
; then
6290 if test $gnu_ld = yes; then
6293 # For now we do not assume shared libs are available. In future more
6294 # tests might become available.
6299 echo "$as_me:$LINENO: checking whether -fPIC is default" >&5
6300 echo $ECHO_N "checking whether -fPIC is default... $ECHO_C" >&6
6301 if test "${pic_default+set}" = set; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 cat > conftest.c
<<EOF
6306 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
6307 # error PIC is default.
6310 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
6315 echo "$as_me:$LINENO: result: $pic_default" >&5
6316 echo "${ECHO_T}$pic_default" >&6
6328 *door
*) linux_doors
=yes ;;
6329 *) linux_doors
=no
;;
6335 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
6338 config_makefile
=Makefile
6341 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
6342 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
6346 ac_config_files
="$ac_config_files config.make glibcbug ${config_makefile} ${config_uname}"
6348 ac_config_commands
="$ac_config_commands default"
6350 cat >confcache
<<\_ACEOF
6351 # This file is a shell script that caches the results of configure
6352 # tests run on this system so they can be shared between configure
6353 # scripts and configure runs, see configure's option --config-cache.
6354 # It is not useful on other systems. If it contains results you don't
6355 # want to keep, you may remove or edit it.
6357 # config.status only pays attention to the cache file if you give it
6358 # the --recheck option to rerun configure.
6360 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6361 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6366 # The following way of writing the cache mishandles newlines in values,
6367 # but we know of no workaround that is simple, portable, and efficient.
6368 # So, don't put newlines in cache variables' values.
6369 # Ultrix sh set writes to stderr and can't be redirected directly,
6370 # and sets the high bit in the cache file unless we assign to the vars.
6373 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6375 # `set' does not quote correctly, so add quotes (double-quote
6376 # substitution turns \\\\ into \\, and sed turns \\ into \).
6379 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6382 # `set' quotes correctly as required by POSIX, so do not add quotes.
6384 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6391 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6393 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6395 if cmp -s $cache_file confcache
; then :; else
6396 if test -w $cache_file; then
6397 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6398 cat confcache
>$cache_file
6400 echo "not updating unwritable cache $cache_file"
6405 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6406 # Let make expand exec_prefix.
6407 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6409 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6410 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6411 # trailing colons and then remove the whole line if VPATH becomes empty
6412 # (actually we leave an empty line to preserve line numbers).
6413 if test "x$srcdir" = x.
; then
6414 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6415 s/:*\$(srcdir):*/:/;
6416 s/:*\${srcdir}:*/:/;
6418 s/^\([^=]*=[ ]*\):*/\1/;
6424 DEFS
=-DHAVE_CONFIG_H
6428 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6429 # 1. Remove the extension, and $U if already installed.
6430 ac_i
=`echo "$ac_i" |
6431 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6433 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6434 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6438 LTLIBOBJS
=$ac_ltlibobjs
6442 : ${CONFIG_STATUS=./config.status}
6443 ac_clean_files_save
=$ac_clean_files
6444 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6445 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6446 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6447 cat >$CONFIG_STATUS <<_ACEOF
6449 # Generated by $as_me.
6450 # Run this file to recreate the current configuration.
6451 # Compiler output produced by configure, useful for debugging
6452 # configure, is in config.log if it exists.
6455 SHELL=\${CONFIG_SHELL-$SHELL}
6458 cat >>$CONFIG_STATUS <<\_ACEOF
6459 ## --------------------- ##
6460 ## M4sh Initialization. ##
6461 ## --------------------- ##
6463 # Be Bourne compatible
6464 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6467 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6468 # is contrary to our usage. Disable this feature.
6469 alias -g '${1+"$@"}'='"$@"'
6470 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6474 # Support unset when possible.
6475 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
6482 # Work around bugs in pre-3.0 UWIN ksh.
6483 $as_unset ENV MAIL MAILPATH
6489 for as_var
in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
6491 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6492 eval $as_var=C
; export $as_var
6498 # Required to use basename.
6499 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6505 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6506 as_basename
=basename
6512 # Name of the executable.
6513 as_me
=`$as_basename "$0" ||
6514 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6515 X"$0" : 'X\(//\)$' \| \
6516 X"$0" : 'X\(/\)$' \| \
6517 . : '\(.\)' 2>/dev/null ||
6519 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6520 /^X\/\(\/\/\)$/{ s//\1/; q; }
6521 /^X\/\(\/\).*/{ s//\1/; q; }
6525 # PATH needs CR, and LINENO needs CR and PATH.
6526 # Avoid depending upon Character Ranges.
6527 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6528 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6529 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6530 as_cr_digits
='0123456789'
6531 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6533 # The user is always right.
6534 if test "${PATH_SEPARATOR+set}" != set; then
6535 echo "#! /bin/sh" >conftest.sh
6536 echo "exit 0" >>conftest.sh
6537 chmod +x conftest.sh
6538 if (PATH
="/nonexistent;."; conftest.sh
) >/dev
/null
2>&1; then
6549 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6550 test "x$as_lineno_1" != "x$as_lineno_2" &&
6551 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6552 # Find who we are. Look in the path if we contain no path at all
6555 *[\\/]* ) as_myself
=$0 ;;
6556 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir
=.
6561 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6566 # We did not find ourselves, most probably we were run as `sh COMMAND'
6567 # in which case we are not to be found in the path.
6568 if test "x$as_myself" = x
; then
6571 if test ! -f "$as_myself"; then
6572 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6573 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6574 { (exit 1); exit 1; }; }
6576 case $CONFIG_SHELL in
6578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6579 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6582 test -z "$as_dir" && as_dir
=.
6583 for as_base
in sh bash ksh sh5
; do
6586 if ("$as_dir/$as_base" -c '
6589 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6590 test "x$as_lineno_1" != "x$as_lineno_2" &&
6591 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6592 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6593 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6594 CONFIG_SHELL
=$as_dir/$as_base
6596 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6604 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6605 # uniformly replaced by the line number. The first 'sed' inserts a
6606 # line-number line before each line; the second 'sed' does the real
6607 # work. The second script uses 'N' to pair each line-number line
6608 # with the numbered line, and appends trailing '-' during
6609 # substitution so that $LINENO is not a special case at line end.
6610 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6611 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6612 sed '=' <$as_myself |
6617 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6620 s,^['$as_cr_digits']*\n,,
6622 chmod +x
$as_me.lineno ||
6623 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6624 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6625 { (exit 1); exit 1; }; }
6627 # Don't try to exec as it changes $[0], causing all sort of problems
6628 # (the dirname of $[0] is not the place where we might find the
6629 # original and so on. Autoconf is especially sensible to this).
6631 # Exit status is that of the last command.
6636 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6637 *c
*,-n*) ECHO_N
= ECHO_C
='
6639 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6640 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6643 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6649 rm -f conf$$ conf$$.exe conf$$.
file
6651 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6652 # We could just check for DJGPP; but this test a) works b) is more generic
6653 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6654 if test -f conf$$.exe
; then
6655 # Don't use ln at all; we don't have any links
6660 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6665 rm -f conf$$ conf$$.exe conf$$.
file
6667 if mkdir
-p .
2>/dev
/null
; then
6673 as_executable_p
="test -f"
6675 # Sed expression to map a string onto a valid CPP name.
6676 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6678 # Sed expression to map a string onto a valid variable name.
6679 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6683 # We need space, tab and new line, in precisely that order.
6693 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6694 # report actual input values of CONFIG_FILES etc. instead of their
6695 # values after options handling. Logging --version etc. is OK.
6699 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6700 ## Running $as_me. ##
6705 This file was extended by GNU C Library $as_me (see version.h), which was
6706 generated by GNU Autoconf 2.54. Invocation command line was
6708 CONFIG_FILES = $CONFIG_FILES
6709 CONFIG_HEADERS = $CONFIG_HEADERS
6710 CONFIG_LINKS = $CONFIG_LINKS
6711 CONFIG_COMMANDS = $CONFIG_COMMANDS
6715 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6719 # Files that config.status was made for.
6720 if test -n "$ac_config_files"; then
6721 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6724 if test -n "$ac_config_headers"; then
6725 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6728 if test -n "$ac_config_links"; then
6729 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6732 if test -n "$ac_config_commands"; then
6733 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6736 cat >>$CONFIG_STATUS <<\_ACEOF
6739 \`$as_me' instantiates files from templates according to the
6740 current configuration.
6742 Usage: $0 [OPTIONS] [FILE]...
6744 -h, --help print this help, then exit
6745 -V, --version print version number, then exit
6746 -d, --debug don't remove temporary files
6747 --recheck update $as_me by reconfiguring in the same conditions
6748 --file=FILE[:TEMPLATE]
6749 instantiate the configuration file FILE
6750 --header=FILE[:TEMPLATE]
6751 instantiate the configuration header FILE
6753 Configuration files:
6756 Configuration headers:
6759 Configuration commands:
6762 Report bugs to <bug-autoconf@gnu.org>."
6765 cat >>$CONFIG_STATUS <<_ACEOF
6767 GNU C Library config.status (see version.h)
6768 configured by $0, generated by GNU Autoconf 2.54,
6769 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6771 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6772 Free Software Foundation, Inc.
6773 This config.status script is free software; the Free Software Foundation
6774 gives unlimited permission to copy, distribute and modify it."
6779 cat >>$CONFIG_STATUS <<\_ACEOF
6780 # If no file are specified by the user, then we need to provide default
6781 # value. By we need to know if files were specified by the user.
6787 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6788 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6796 *) # This is not an option, so the user has probably given explicit
6799 ac_need_defaults
=false
;;
6803 # Handling of the options.
6805 cat >>$CONFIG_STATUS <<_ACEOF
6806 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6807 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
6808 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
6810 cat >>$CONFIG_STATUS <<\_ACEOF
6811 --version |
--vers* |
-V )
6812 echo "$ac_cs_version"; exit 0 ;;
6814 # Conflict between --help and --header
6815 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6816 Try \`$0 --help' for more information." >&5
6817 echo "$as_me: error: ambiguous option: $1
6818 Try \`$0 --help' for more information." >&2;}
6819 { (exit 1); exit 1; }; };;
6820 --help |
--hel |
-h )
6821 echo "$ac_cs_usage"; exit 0 ;;
6822 --debug |
--d* |
-d )
6824 --file |
--fil |
--fi |
--f )
6826 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6827 ac_need_defaults
=false
;;
6828 --header |
--heade |
--head |
--hea )
6830 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6831 ac_need_defaults
=false
;;
6834 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6835 Try \`$0 --help' for more information." >&5
6836 echo "$as_me: error: unrecognized option: $1
6837 Try \`$0 --help' for more information." >&2;}
6838 { (exit 1); exit 1; }; } ;;
6840 *) ac_config_targets
="$ac_config_targets $1" ;;
6848 cat >>$CONFIG_STATUS <<_ACEOF
6850 # INIT-COMMANDS section.
6853 config_vars='$config_vars'
6859 cat >>$CONFIG_STATUS <<\_ACEOF
6860 for ac_config_target
in $ac_config_targets
6862 case "$ac_config_target" in
6863 # Handling of arguments.
6864 "config.make" ) CONFIG_FILES
="$CONFIG_FILES config.make" ;;
6865 "glibcbug" ) CONFIG_FILES
="$CONFIG_FILES glibcbug" ;;
6866 "${config_makefile}" ) CONFIG_FILES
="$CONFIG_FILES ${config_makefile}" ;;
6867 "${config_uname}" ) CONFIG_FILES
="$CONFIG_FILES ${config_uname}" ;;
6868 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6869 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6870 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6871 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6872 { (exit 1); exit 1; }; };;
6876 # If the user did not use the arguments to specify the items to instantiate,
6877 # then the envvar interface is used. Set only those that are not.
6878 # We use the long form for the default assignment because of an extremely
6879 # bizarre bug on SunOS 4.1.3.
6880 if $ac_need_defaults; then
6881 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6882 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6883 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6886 # Create a temporary directory, and hook for its removal unless debugging.
6889 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6890 trap '{ (exit 1); exit 1; }' 1 2 13 15
6893 # Create a (secure) tmp directory for tmp files.
6896 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
6897 test -n "$tmp" && test -d "$tmp"
6900 tmp
=$TMPDIR/cs$$
-$RANDOM
6901 (umask 077 && mkdir
$tmp)
6904 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
6905 { (exit 1); exit 1; }
6910 cat >>$CONFIG_STATUS <<_ACEOF
6913 # CONFIG_FILES section.
6916 # No need to generate the scripts if there are no CONFIG_FILES.
6917 # This happens for instance when ./config.status config.h
6918 if test -n "\$CONFIG_FILES"; then
6919 # Protect against being on the right side of a sed subst in config.status.
6920 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6921 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6922 s,@SHELL@,$SHELL,;t t
6923 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6924 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6925 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6926 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6927 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6928 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6929 s,@exec_prefix@,$exec_prefix,;t t
6930 s,@prefix@,$prefix,;t t
6931 s,@program_transform_name@,$program_transform_name,;t t
6932 s,@bindir@,$bindir,;t t
6933 s,@sbindir@,$sbindir,;t t
6934 s,@libexecdir@,$libexecdir,;t t
6935 s,@datadir@,$datadir,;t t
6936 s,@sysconfdir@,$sysconfdir,;t t
6937 s,@sharedstatedir@,$sharedstatedir,;t t
6938 s,@localstatedir@,$localstatedir,;t t
6939 s,@libdir@,$libdir,;t t
6940 s,@includedir@,$includedir,;t t
6941 s,@oldincludedir@,$oldincludedir,;t t
6942 s,@infodir@,$infodir,;t t
6943 s,@mandir@,$mandir,;t t
6944 s,@build_alias@,$build_alias,;t t
6945 s,@host_alias@,$host_alias,;t t
6946 s,@target_alias@,$target_alias,;t t
6948 s,@ECHO_C@,$ECHO_C,;t t
6949 s,@ECHO_N@,$ECHO_N,;t t
6950 s,@ECHO_T@,$ECHO_T,;t t
6952 s,@with_fp@,$with_fp,;t t
6953 s,@with_cvs@,$with_cvs,;t t
6954 s,@oldest_abi@,$oldest_abi,;t t
6955 s,@subdirs@,$subdirs,;t t
6956 s,@force_install@,$force_install,;t t
6957 s,@all_warnings@,$all_warnings,;t t
6958 s,@build@,$build,;t t
6959 s,@build_cpu@,$build_cpu,;t t
6960 s,@build_vendor@,$build_vendor,;t t
6961 s,@build_os@,$build_os,;t t
6963 s,@host_cpu@,$host_cpu,;t t
6964 s,@host_vendor@,$host_vendor,;t t
6965 s,@host_os@,$host_os,;t t
6966 s,@base_machine@,$base_machine,;t t
6967 s,@sysnames@,$sysnames,;t t
6968 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6969 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6970 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6972 s,@PWD_P@,$PWD_P,;t t
6975 s,@MSGFMT@,$MSGFMT,;t t
6976 s,@MAKEINFO@,$MAKEINFO,;t t
6978 s,@AUTOCONF@,$AUTOCONF,;t t
6979 s,@CFLAGS@,$CFLAGS,;t t
6980 s,@LDFLAGS@,$LDFLAGS,;t t
6981 s,@CPPFLAGS@,$CPPFLAGS,;t t
6982 s,@ac_ct_CC@,$ac_ct_CC,;t t
6983 s,@OBJEXT@,$OBJEXT,;t t
6984 s,@BUILD_CC@,$BUILD_CC,;t t
6985 s,@cross_compiling@,$cross_compiling,;t t
6988 s,@OBJDUMP@,$OBJDUMP,;t t
6989 s,@RANLIB@,$RANLIB,;t t
6990 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6994 s,@CCVERSION@,$CCVERSION,;t t
6995 s,@SYSINCLUDES@,$SYSINCLUDES,;t t
6996 s,@libc_cv_gcc_static_libgcc@,$libc_cv_gcc_static_libgcc,;t t
6998 s,@libc_cv_have_bash2@,$libc_cv_have_bash2,;t t
7000 s,@libc_cv_have_ksh@,$libc_cv_have_ksh,;t t
7003 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
7004 s,@OLD_DEBIAN_INSTALL_INFO@,$OLD_DEBIAN_INSTALL_INFO,;t t
7005 s,@BISON@,$BISON,;t t
7006 s,@VERSIONING@,$VERSIONING,;t t
7007 s,@libc_cv_asm_protected_directive@,$libc_cv_asm_protected_directive,;t t
7008 s,@libc_cv_initfinit_array@,$libc_cv_initfinit_array,;t t
7009 s,@libc_cv_z_nodelete@,$libc_cv_z_nodelete,;t t
7010 s,@libc_cv_z_nodlopen@,$libc_cv_z_nodlopen,;t t
7011 s,@libc_cv_z_initfirst@,$libc_cv_z_initfirst,;t t
7012 s,@libc_cv_Bgroup@,$libc_cv_Bgroup,;t t
7013 s,@libc_cv_z_combreloc@,$libc_cv_z_combreloc,;t t
7014 s,@libc_cv_have_initfini@,$libc_cv_have_initfini,;t t
7015 s,@no_whole_archive@,$no_whole_archive,;t t
7016 s,@exceptions@,$exceptions,;t t
7017 s,@LIBGD@,$LIBGD,;t t
7018 s,@EGREP@,$EGREP,;t t
7019 s,@sizeof_long_double@,$sizeof_long_double,;t t
7020 s,@libc_cv_gcc_unwind_find_fde@,$libc_cv_gcc_unwind_find_fde,;t t
7021 s,@uname_sysname@,$uname_sysname,;t t
7022 s,@uname_release@,$uname_release,;t t
7023 s,@uname_version@,$uname_version,;t t
7024 s,@old_glibc_headers@,$old_glibc_headers,;t t
7025 s,@libc_cv_slibdir@,$libc_cv_slibdir,;t t
7026 s,@libc_cv_localedir@,$libc_cv_localedir,;t t
7027 s,@libc_cv_sysconfdir@,$libc_cv_sysconfdir,;t t
7028 s,@libc_cv_rootsbindir@,$libc_cv_rootsbindir,;t t
7029 s,@use_ldconfig@,$use_ldconfig,;t t
7030 s,@ldd_rewrite_script@,$ldd_rewrite_script,;t t
7031 s,@gnu_ld@,$gnu_ld,;t t
7032 s,@gnu_as@,$gnu_as,;t t
7034 s,@xcoff@,$xcoff,;t t
7035 s,@static@,$static,;t t
7036 s,@shared@,$shared,;t t
7037 s,@pic_default@,$pic_default,;t t
7038 s,@profile@,$profile,;t t
7039 s,@omitfp@,$omitfp,;t t
7040 s,@bounded@,$bounded,;t t
7041 s,@static_nss@,$static_nss,;t t
7042 s,@nopic_initfini@,$nopic_initfini,;t t
7043 s,@DEFINES@,$DEFINES,;t t
7044 s,@linux_doors@,$linux_doors,;t t
7045 s,@mach_interface_list@,$mach_interface_list,;t t
7046 s,@VERSION@,$VERSION,;t t
7047 s,@RELEASE@,$RELEASE,;t t
7048 s,@LIBOBJS@,$LIBOBJS,;t t
7049 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7054 cat >>$CONFIG_STATUS <<\_ACEOF
7055 # Split the substitutions into bite-sized pieces for seds with
7056 # small command number limits, like on Digital OSF/1 and HP-UX.
7058 ac_sed_frag
=1 # Number of current file.
7059 ac_beg
=1 # First line for current file.
7060 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7063 while $ac_more_lines; do
7064 if test $ac_beg -gt 1; then
7065 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7067 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7069 if test ! -s $tmp/subs.frag
; then
7072 # The purpose of the label and of the branching condition is to
7073 # speed up the sed processing (if there are no `@' at all, there
7074 # is no need to browse any of the substitutions).
7075 # These are the two extra sed commands mentioned above.
7077 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7078 if test -z "$ac_sed_cmds"; then
7079 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7081 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7083 ac_sed_frag
=`expr $ac_sed_frag + 1`
7085 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7088 if test -z "$ac_sed_cmds"; then
7091 fi # test -n "$CONFIG_FILES"
7094 cat >>$CONFIG_STATUS <<\_ACEOF
7095 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7096 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7098 - |
*:- |
*:-:* ) # input from stdin
7100 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7101 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7102 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7103 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7104 * ) ac_file_in
=$ac_file.
in ;;
7107 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7108 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7109 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7110 X"$ac_file" : 'X\(//\)[^/]' \| \
7111 X"$ac_file" : 'X\(//\)$' \| \
7112 X"$ac_file" : 'X\(/\)' \| \
7113 . : '\(.\)' 2>/dev/null ||
7115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7116 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7117 /^X\(\/\/\)$/{ s//\1/; q; }
7118 /^X\(\/\).*/{ s//\1/; q; }
7120 { if $as_mkdir_p; then
7125 while test ! -d "$as_dir"; do
7126 as_dirs
="$as_dir $as_dirs"
7127 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7128 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7129 X"$as_dir" : 'X\(//\)[^/]' \| \
7130 X"$as_dir" : 'X\(//\)$' \| \
7131 X"$as_dir" : 'X\(/\)' \| \
7132 . : '\(.\)' 2>/dev/null ||
7134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7135 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7136 /^X\(\/\/\)$/{ s//\1/; q; }
7137 /^X\(\/\).*/{ s//\1/; q; }
7140 test ! -n "$as_dirs" || mkdir
$as_dirs
7141 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7142 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7143 { (exit 1); exit 1; }; }; }
7147 if test "$ac_dir" != .
; then
7148 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7149 # A "../" for each directory in $ac_dir_suffix.
7150 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7152 ac_dir_suffix
= ac_top_builddir
=
7156 .
) # No --srcdir option. We are building in place.
7158 if test -z "$ac_top_builddir"; then
7161 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7163 [\\/]* | ?
:[\\/]* ) # Absolute path.
7164 ac_srcdir
=$srcdir$ac_dir_suffix;
7165 ac_top_srcdir
=$srcdir ;;
7167 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7168 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7170 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7172 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7173 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7174 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7175 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7179 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7180 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7183 if test x
"$ac_file" != x-
; then
7184 { echo "$as_me:$LINENO: creating $ac_file" >&5
7185 echo "$as_me: creating $ac_file" >&6;}
7188 # Let's still pretend it is `configure' which instantiates (i.e., don't
7189 # use $as_me), people would be surprised to read:
7190 # /* config.h. Generated by config.status. */
7191 if test x
"$ac_file" = x-
; then
7194 configure_input
="$ac_file. "
7196 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7197 sed 's,.*/,,'` by configure."
7199 # First look for the input files in the build tree, otherwise in the
7201 ac_file_inputs
=`IFS=:
7202 for f in $ac_file_in; do
7204 -) echo $tmp/stdin ;;
7206 # Absolute (can't be DOS-style, as IFS=:)
7207 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7208 echo "$as_me: error: cannot find input file: $f" >&2;}
7209 { (exit 1); exit 1; }; }
7212 if test -f "$f"; then
7215 elif test -f "$srcdir/$f"; then
7220 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7221 echo "$as_me: error: cannot find input file: $f" >&2;}
7222 { (exit 1); exit 1; }; }
7225 done` ||
{ (exit 1); exit 1; }
7227 cat >>$CONFIG_STATUS <<_ACEOF
7231 cat >>$CONFIG_STATUS <<\_ACEOF
7233 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7234 s
,@configure_input@
,$configure_input,;t t
7235 s
,@srcdir@
,$ac_srcdir,;t t
7236 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7237 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7238 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7239 s
,@builddir@
,$ac_builddir,;t t
7240 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7241 s
,@top_builddir@
,$ac_top_builddir,;t t
7242 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7243 s
,@INSTALL@
,$ac_INSTALL,;t t
7244 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7246 if test x"$ac_file" != x-; then
7247 mv $tmp/out $ac_file
7255 cat >>$CONFIG_STATUS <<\_ACEOF
7258 # CONFIG_HEADER section.
7261 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7262 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7264 # ac_d sets the value in "#define NAME VALUE" lines.
7265 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7266 ac_dB
='[ ].*$,\1#\2'
7269 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7270 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7271 ac_uB
='$,\1#\2define\3'
7275 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7276 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7278 - |
*:- |
*:-:* ) # input from stdin
7280 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7281 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7282 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7283 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7284 * ) ac_file_in
=$ac_file.
in ;;
7287 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7288 echo "$as_me: creating $ac_file" >&6;}
7290 # First look for the input files in the build tree, otherwise in the
7292 ac_file_inputs
=`IFS=:
7293 for f in $ac_file_in; do
7295 -) echo $tmp/stdin ;;
7297 # Absolute (can't be DOS-style, as IFS=:)
7298 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7299 echo "$as_me: error: cannot find input file: $f" >&2;}
7300 { (exit 1); exit 1; }; }
7303 if test -f "$f"; then
7306 elif test -f "$srcdir/$f"; then
7311 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7312 echo "$as_me: error: cannot find input file: $f" >&2;}
7313 { (exit 1); exit 1; }; }
7316 done` ||
{ (exit 1); exit 1; }
7317 # Remove the trailing spaces.
7318 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7322 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7323 # `conftest.undefs', that substitutes the proper values into
7324 # config.h.in to produce config.h. The first handles `#define'
7325 # templates, and the second `#undef' templates.
7326 # And first: Protect against being on the right side of a sed subst in
7327 # config.status. Protect against being in an unquoted here document
7329 rm -f conftest.defines conftest.undefs
7330 # Using a here document instead of a string reduces the quoting nightmare.
7331 # Putting comments in sed scripts is not portable.
7333 # `end' is used to avoid that the second main sed command (meant for
7334 # 0-ary CPP macros) applies to n-ary macro definitions.
7335 # See the Autoconf documentation for `clear'.
7336 cat >confdef2sed.
sed <<\_ACEOF
7341 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7343 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7346 # If some macros were called several times there might be several times
7347 # the same #defines, which is useless. Nevertheless, we may not want to
7348 # sort them, since we want the *last* AC-DEFINE to be honored.
7349 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7350 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7351 rm -f confdef2sed.sed
7353 # This sed command replaces #undef with comments. This is necessary, for
7354 # example, in the case of _POSIX_SOURCE, which is predefined and required
7355 # on some systems where configure will not decide to define it.
7356 cat >>conftest.undefs <<\_ACEOF
7357 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7360 # Break up conftest.defines because some shells have a limit on the size
7361 # of here documents, and old seds have small limits too (100 cmds).
7362 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7363 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7364 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7365 echo ' :' >>$CONFIG_STATUS
7367 while grep . conftest.defines >/dev/null
7369 # Write a limited-size here document to $tmp/defines.sed.
7370 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7371 # Speed up: don't consider the non `#define' lines.
7372 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7373 # Work around the forget-to-reset-the-flag bug.
7374 echo 't clr' >>$CONFIG_STATUS
7375 echo ': clr' >>$CONFIG_STATUS
7376 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7378 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7382 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7383 rm -f conftest.defines
7384 mv conftest.
tail conftest.defines
7386 rm -f conftest.defines
7387 echo ' fi # grep' >>$CONFIG_STATUS
7388 echo >>$CONFIG_STATUS
7390 # Break up conftest.undefs because some shells have a limit on the size
7391 # of here documents, and old seds have small limits too (100 cmds).
7392 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7394 while grep . conftest.undefs
>/dev
/null
7396 # Write a limited-size here document to $tmp/undefs.sed.
7397 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7398 # Speed up: don't consider the non
`#undef'
7399 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7400 # Work around the forget-to-reset-the-flag bug.
7401 echo 't clr' >>$CONFIG_STATUS
7402 echo ': clr' >>$CONFIG_STATUS
7403 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7405 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7409 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7410 rm -f conftest.undefs
7411 mv conftest.tail conftest.undefs
7413 rm -f conftest.undefs
7415 cat >>$CONFIG_STATUS <<\_ACEOF
7416 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7417 # use $as_me), people would be surprised to read:
7418 # /* config.h. Generated by config.status. */
7419 if test x
"$ac_file" = x-
; then
7420 echo "/* Generated by configure. */" >$tmp/config.h
7422 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7424 cat $tmp/in >>$tmp/config.h
7426 if test x
"$ac_file" != x-
; then
7427 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
7428 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7429 echo "$as_me: $ac_file is unchanged" >&6;}
7431 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7433 X"$ac_file" : 'X\(//\)[^/]' \| \
7434 X"$ac_file" : 'X\(//\)$' \| \
7435 X"$ac_file" : 'X\(/\)' \| \
7436 . : '\(.\)' 2>/dev/null ||
7438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7440 /^X\(\/\/\)$/{ s//\1/; q; }
7441 /^X\(\/\).*/{ s//\1/; q; }
7443 { if $as_mkdir_p; then
7448 while test ! -d "$as_dir"; do
7449 as_dirs
="$as_dir $as_dirs"
7450 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7452 X"$as_dir" : 'X\(//\)[^/]' \| \
7453 X"$as_dir" : 'X\(//\)$' \| \
7454 X"$as_dir" : 'X\(/\)' \| \
7455 . : '\(.\)' 2>/dev/null ||
7457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7458 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7459 /^X\(\/\/\)$/{ s//\1/; q; }
7460 /^X\(\/\).*/{ s//\1/; q; }
7463 test ! -n "$as_dirs" || mkdir
$as_dirs
7464 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7465 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7466 { (exit 1); exit 1; }; }; }
7469 mv $tmp/config.h
$ac_file
7477 cat >>$CONFIG_STATUS <<\_ACEOF
7480 # CONFIG_COMMANDS section.
7482 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7483 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7484 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7485 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7486 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7487 X"$ac_dest" : 'X\(//\)[^/]' \| \
7488 X"$ac_dest" : 'X\(//\)$' \| \
7489 X"$ac_dest" : 'X\(/\)' \| \
7490 . : '\(.\)' 2>/dev/null ||
7492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7493 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7494 /^X\(\/\/\)$/{ s//\1/; q; }
7495 /^X\(\/\).*/{ s//\1/; q; }
7499 if test "$ac_dir" != .
; then
7500 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7501 # A "../" for each directory in $ac_dir_suffix.
7502 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7504 ac_dir_suffix
= ac_top_builddir
=
7508 .
) # No --srcdir option. We are building in place.
7510 if test -z "$ac_top_builddir"; then
7513 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7515 [\\/]* | ?
:[\\/]* ) # Absolute path.
7516 ac_srcdir
=$srcdir$ac_dir_suffix;
7517 ac_top_srcdir
=$srcdir ;;
7519 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7520 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7522 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7524 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7525 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7526 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7527 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7530 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7531 echo "$as_me: executing $ac_dest commands" >&6;}
7534 case $CONFIG_FILES in *config.
make*)
7535 echo "$config_vars" >> config.
make;;
7537 test -d bits || mkdir bits
;;
7542 cat >>$CONFIG_STATUS <<\_ACEOF
7544 { (exit 0); exit 0; }
7546 chmod +x
$CONFIG_STATUS
7547 ac_clean_files
=$ac_clean_files_save
7550 # configure is writing to config.log, and then calls config.status.
7551 # config.status does its own redirection, appending to config.log.
7552 # Unfortunately, on DOS this fails, as config.log is still kept open
7553 # by configure, so config.status won't be able to write to it; its
7554 # output is simply discarded. So we exec the FD to /dev/null,
7555 # effectively closing config.log, so it can be properly (re)opened and
7556 # appended to by config.status. When coming back to configure, we
7557 # need to make the FD available again.
7558 if test "$no_create" != yes; then
7561 $SHELL $CONFIG_STATUS || ac_cs_success
=false
7563 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7564 # would make configure fail if this is the last instruction.
7565 $ac_cs_success ||
{ (exit 1); exit 1; }
7569 # CONFIG_SUBDIRS section.
7571 if test "$no_recursion" != yes; then
7573 # Remove --cache-file and --srcdir arguments so they do not pile up.
7574 ac_sub_configure_args
=
7576 for ac_arg
in $ac_configure_args; do
7577 if test -n "$ac_prev"; then
7582 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7583 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7584 ac_prev
=cache_file
;;
7585 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7586 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7589 --config-cache |
-C)
7591 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7593 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7595 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7597 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7599 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7603 # Always prepend --prefix to ensure using the same prefix
7604 # in subdir configurations.
7605 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7608 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7610 # Do not complain, so a configure script can configure whichever
7611 # parts of a large source tree are present.
7612 test -d $srcdir/$ac_dir ||
continue
7614 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7615 echo "$as_me: configuring in $ac_dir" >&6;}
7616 { if $as_mkdir_p; then
7621 while test ! -d "$as_dir"; do
7622 as_dirs
="$as_dir $as_dirs"
7623 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7625 X"$as_dir" : 'X\(//\)[^/]' \| \
7626 X"$as_dir" : 'X\(//\)$' \| \
7627 X"$as_dir" : 'X\(/\)' \| \
7628 . : '\(.\)' 2>/dev/null ||
7630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7631 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7632 /^X\(\/\/\)$/{ s//\1/; q; }
7633 /^X\(\/\).*/{ s//\1/; q; }
7636 test ! -n "$as_dirs" || mkdir
$as_dirs
7637 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7638 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7639 { (exit 1); exit 1; }; }; }
7643 if test "$ac_dir" != .
; then
7644 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7645 # A "../" for each directory in $ac_dir_suffix.
7646 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7648 ac_dir_suffix
= ac_top_builddir
=
7652 .
) # No --srcdir option. We are building in place.
7654 if test -z "$ac_top_builddir"; then
7657 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7659 [\\/]* | ?
:[\\/]* ) # Absolute path.
7660 ac_srcdir
=$srcdir$ac_dir_suffix;
7661 ac_top_srcdir
=$srcdir ;;
7663 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7664 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7666 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7668 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7669 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7670 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7671 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7676 # Check for guested configure; otherwise get Cygnus style configure.
7677 if test -f $ac_srcdir/configure.gnu
; then
7678 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7679 elif test -f $ac_srcdir/configure
; then
7680 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7681 elif test -f $ac_srcdir/configure.
in; then
7682 ac_sub_configure
=$ac_configure
7684 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7685 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7689 # The recursion is here.
7690 if test -n "$ac_sub_configure"; then
7691 # Make the cache file name correct relative to the subdirectory.
7693 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7695 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
7698 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7699 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7700 # The eval makes quoting arguments work.
7701 eval $ac_sub_configure $ac_sub_configure_args \
7702 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7703 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7704 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7705 { (exit 1); exit 1; }; }