3 # From configure.in CVSid
14 # Guess values for system-dependent variables and create Makefiles.
15 # Generated automatically using autoconf version 2.12.2
16 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
18 # This configure script is free software; the Free Software Foundation
19 # gives unlimited permission to copy, distribute and modify it.
23 ac_default_prefix
=/usr
/local
24 # Any additions from configure.in:
26 --with-gmp=DIRECTORY find GMP source code in DIRECTORY (not needed)"
28 --with-gettext=DIR find GNU gettext source code in DIR (not needed)"
30 --with-fp if using floating-point hardware [default=yes]"
32 --with-binutils=PATH specify location of binutils (as and ld)"
34 --with-elf if using the ELF object format"
36 --without-cvs if CVS should not be used"
38 --with-headers=PATH location of system headers to use
39 [e.g. /usr/src/linux/include]
40 [default=compiler default]"
42 --enable-libio build in GNU libio instead of GNU stdio"
44 --disable-sanity-checks really do not use threads (should not be used
45 except in special situations) [default=yes]"
47 --enable-static build static library [default=yes]"
49 --enable-shared build shared library [default=yes if GNU ld & ELF]"
51 --enable-profile build profiled library [default=yes]"
53 --enable-omitfp build undebuggable optimized library [default=no]"
55 --enable-bounded build with runtime bounds checking [default=no]"
57 --disable-versioning do not include versioning information in the
58 library objects [default=yes if supported]"
60 --enable-add-ons[=DIR1,DIR2]...
61 configure and build add-ons in DIR1,DIR2,...
62 search for add-ons if no parameter given"
64 --enable-static-nss build static NSS modules [default=no]"
66 --disable-force-install don't force installation of files from this package,
67 even if they are older than the installed files"
69 # Initialize some variables set by options.
70 # The variables have the same names as the options, with
71 # dashes changed to underlines.
73 cache_file
=.
/config.cache
82 program_transform_name
=s
,x
,x
,
90 bindir
='${exec_prefix}/bin'
91 sbindir
='${exec_prefix}/sbin'
92 libexecdir
='${exec_prefix}/libexec'
93 datadir
='${prefix}/share'
94 sysconfdir
='${prefix}/etc'
95 sharedstatedir
='${prefix}/com'
96 localstatedir
='${prefix}/var'
97 libdir
='${exec_prefix}/lib'
98 includedir
='${prefix}/include'
99 oldincludedir
='/usr/include'
100 infodir
='${prefix}/info'
101 mandir
='${prefix}/man'
103 # Initialize some other variables.
106 SHELL
=${CONFIG_SHELL-/bin/sh}
107 # Maximum number of lines to put in a shell here document.
114 # If the previous option needs an argument, assign it.
115 if test -n "$ac_prev"; then
116 eval "$ac_prev=\$ac_option"
122 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
126 # Accept the important Cygnus configure options, so we can diagnose typos.
130 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
132 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
133 bindir
="$ac_optarg" ;;
135 -build |
--build |
--buil |
--bui |
--bu)
137 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
138 build
="$ac_optarg" ;;
140 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
141 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
142 ac_prev
=cache_file
;;
143 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
144 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
145 cache_file
="$ac_optarg" ;;
147 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
149 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
151 datadir
="$ac_optarg" ;;
153 -disable-* |
--disable-*)
154 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
155 # Reject names that are not valid shell variable names.
156 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
157 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
159 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
160 eval "enable_${ac_feature}=no" ;;
162 -enable-* |
--enable-*)
163 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
164 # Reject names that are not valid shell variable names.
165 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
166 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
168 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
173 eval "enable_${ac_feature}='$ac_optarg'" ;;
175 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
176 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
177 |
--exec |
--exe |
--ex)
178 ac_prev
=exec_prefix
;;
179 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
180 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
181 |
--exec=* |
--exe=* |
--ex=*)
182 exec_prefix
="$ac_optarg" ;;
184 -gas |
--gas |
--ga |
--g)
185 # Obsolete; use --with-gas.
188 -help |
--help |
--hel |
--he)
189 # Omit some internal or obsolete options to make the list less imposing.
190 # This message is too long to be a string in the A/UX 3.1 sh.
192 Usage: configure [options] [host]
193 Options: [defaults in brackets after descriptions]
195 --cache-file=FILE cache test results in FILE
196 --help print this message
197 --no-create do not create output files
198 --quiet, --silent do not print \`checking...' messages
199 --version print the version of autoconf that created configure
200 Directory and file names:
201 --prefix=PREFIX install architecture-independent files in PREFIX
203 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
205 --bindir=DIR user executables in DIR [EPREFIX/bin]
206 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
207 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
208 --datadir=DIR read-only architecture-independent data in DIR
210 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
211 --sharedstatedir=DIR modifiable architecture-independent data in DIR
213 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
214 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
215 --includedir=DIR C header files in DIR [PREFIX/include]
216 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
217 --infodir=DIR info documentation in DIR [PREFIX/info]
218 --mandir=DIR man documentation in DIR [PREFIX/man]
219 --srcdir=DIR find the sources in DIR [configure dir or ..]
220 --program-prefix=PREFIX prepend PREFIX to installed program names
221 --program-suffix=SUFFIX append SUFFIX to installed program names
222 --program-transform-name=PROGRAM
223 run sed PROGRAM on installed program names
227 --build=BUILD configure for building on BUILD [BUILD=HOST]
228 --host=HOST configure for HOST [guessed]
229 --target=TARGET configure for TARGET [TARGET=HOST]
230 Features and packages:
231 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
232 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
233 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
234 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
235 --x-includes=DIR X include files are in DIR
236 --x-libraries=DIR X library files are in DIR
238 if test -n "$ac_help"; then
239 echo "--enable and --with options recognized:$ac_help"
243 -host |
--host |
--hos |
--ho)
245 -host=* |
--host=* |
--hos=* |
--ho=*)
248 -includedir |
--includedir |
--includedi |
--included |
--include \
249 |
--includ |
--inclu |
--incl |
--inc)
250 ac_prev
=includedir
;;
251 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
252 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
253 includedir
="$ac_optarg" ;;
255 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
257 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
258 infodir
="$ac_optarg" ;;
260 -libdir |
--libdir |
--libdi |
--libd)
262 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
263 libdir
="$ac_optarg" ;;
265 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
266 |
--libexe |
--libex |
--libe)
267 ac_prev
=libexecdir
;;
268 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
269 |
--libexe=* |
--libex=* |
--libe=*)
270 libexecdir
="$ac_optarg" ;;
272 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
273 |
--localstate |
--localstat |
--localsta |
--localst \
274 |
--locals |
--local |
--loca |
--loc |
--lo)
275 ac_prev
=localstatedir
;;
276 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
277 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
278 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
279 localstatedir
="$ac_optarg" ;;
281 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
283 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
284 mandir
="$ac_optarg" ;;
287 # Obsolete; use --without-fp.
290 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
294 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
295 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
298 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
299 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
300 |
--oldin |
--oldi |
--old |
--ol |
--o)
301 ac_prev
=oldincludedir
;;
302 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
303 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
304 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
305 oldincludedir
="$ac_optarg" ;;
307 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
309 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
310 prefix
="$ac_optarg" ;;
312 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
313 |
--program-pre |
--program-pr |
--program-p)
314 ac_prev
=program_prefix
;;
315 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
316 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
317 program_prefix
="$ac_optarg" ;;
319 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
320 |
--program-suf |
--program-su |
--program-s)
321 ac_prev
=program_suffix
;;
322 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
323 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
324 program_suffix
="$ac_optarg" ;;
326 -program-transform-name |
--program-transform-name \
327 |
--program-transform-nam |
--program-transform-na \
328 |
--program-transform-n |
--program-transform- \
329 |
--program-transform |
--program-transfor \
330 |
--program-transfo |
--program-transf \
331 |
--program-trans |
--program-tran \
332 |
--progr-tra |
--program-tr |
--program-t)
333 ac_prev
=program_transform_name
;;
334 -program-transform-name=* |
--program-transform-name=* \
335 |
--program-transform-nam=* |
--program-transform-na=* \
336 |
--program-transform-n=* |
--program-transform-=* \
337 |
--program-transform=* |
--program-transfor=* \
338 |
--program-transfo=* |
--program-transf=* \
339 |
--program-trans=* |
--program-tran=* \
340 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
341 program_transform_name
="$ac_optarg" ;;
343 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
344 |
-silent |
--silent |
--silen |
--sile |
--sil)
347 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
349 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
351 sbindir
="$ac_optarg" ;;
353 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
354 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
355 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
357 ac_prev
=sharedstatedir
;;
358 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
359 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
360 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
362 sharedstatedir
="$ac_optarg" ;;
364 -site |
--site |
--sit)
366 -site=* |
--site=* |
--sit=*)
369 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
371 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
372 srcdir
="$ac_optarg" ;;
374 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
375 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
376 ac_prev
=sysconfdir
;;
377 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
378 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
379 sysconfdir
="$ac_optarg" ;;
381 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
383 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
384 target
="$ac_optarg" ;;
386 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
389 -version |
--version |
--versio |
--versi |
--vers)
390 echo "configure generated by autoconf version 2.12.2"
394 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
395 # Reject names that are not valid shell variable names.
396 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
397 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
399 ac_package
=`echo $ac_package| sed 's/-/_/g'`
404 eval "with_${ac_package}='$ac_optarg'" ;;
406 -without-* |
--without-*)
407 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
408 # Reject names that are not valid shell variable names.
409 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
410 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
412 ac_package
=`echo $ac_package| sed 's/-/_/g'`
413 eval "with_${ac_package}=no" ;;
416 # Obsolete; use --with-x.
419 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
420 |
--x-incl |
--x-inc |
--x-in |
--x-i)
421 ac_prev
=x_includes
;;
422 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
423 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
424 x_includes
="$ac_optarg" ;;
426 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
427 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
428 ac_prev
=x_libraries
;;
429 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
430 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
431 x_libraries
="$ac_optarg" ;;
433 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
437 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
438 echo "configure: warning: $ac_option: invalid host type" 1>&2
440 if test "x$nonopt" != xNONE
; then
441 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
449 if test -n "$ac_prev"; then
450 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
453 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
455 # File descriptor usage:
458 # 2 errors and warnings
459 # 3 some systems may open it to /dev/tty
460 # 4 used on the Kubota Titan
461 # 6 checking for... messages and results
462 # 5 compiler messages saved in config.log
463 if test "$silent" = yes; then
471 This file contains any messages produced by compilers while
472 running configure, to aid debugging if configure makes a mistake.
475 # Strip out --no-create and --no-recursion so they do not pile up.
476 # Also quote any args containing shell metacharacters.
481 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
482 |
--no-cr |
--no-c) ;;
483 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
484 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
485 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
486 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
487 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
492 # Only set these to C if already set. These must not be set unconditionally
493 # because not all systems understand e.g. LANG=C (notably SCO).
494 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
495 # Non-C LC_CTYPE values break the ctype check.
496 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
497 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
498 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
499 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
501 # confdefs.h avoids OS command line length limits that DEFS can exceed.
502 rm -rf conftest
* confdefs.h
503 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
506 # A filename unique to this package, relative to the directory that
507 # configure is in, which we can look for to find out if srcdir is correct.
508 ac_unique_file
=include
/features.h
510 # Find the source files, if location was not specified.
511 if test -z "$srcdir"; then
512 ac_srcdir_defaulted
=yes
513 # Try the directory containing this script, then its parent.
515 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
516 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
518 if test ! -r $srcdir/$ac_unique_file; then
522 ac_srcdir_defaulted
=no
524 if test ! -r $srcdir/$ac_unique_file; then
525 if test "$ac_srcdir_defaulted" = yes; then
526 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
528 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
531 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
533 # Prefer explicitly selected file to automatically selected ones.
534 if test -z "$CONFIG_SITE"; then
535 if test "x$prefix" != xNONE
; then
536 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
538 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
541 for ac_site_file
in $CONFIG_SITE; do
542 if test -r "$ac_site_file"; then
543 echo "loading site script $ac_site_file"
548 if test -r "$cache_file"; then
549 echo "loading cache $cache_file"
552 echo "creating cache $cache_file"
557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
558 ac_cpp
='$CPP $CPPFLAGS'
559 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
560 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
561 cross_compiling
=$ac_cv_prog_cc_cross
565 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
566 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
567 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
574 ac_n
= ac_c
='\c' ac_t
=
577 if test -r /vmunix
; then
578 kernel_id
=`strings /vmunix | grep UNIX`
579 elif test -r /dynix
; then
580 kernel_id
=`strings /dynix | grep DYNIX`
588 for ac_dir
in scripts
$srcdir/scripts
; do
589 if test -f $ac_dir/install-sh
; then
591 ac_install_sh
="$ac_aux_dir/install-sh -c"
593 elif test -f $ac_dir/install.sh
; then
595 ac_install_sh
="$ac_aux_dir/install.sh -c"
599 if test -z "$ac_aux_dir"; then
600 { echo "configure: error: can not find install-sh or install.sh in scripts $srcdir/scripts" 1>&2; exit 1; }
602 ac_config_guess
=$ac_aux_dir/config.guess
603 ac_config_sub
=$ac_aux_dir/config.sub
604 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
607 # This will get text that should go into config.make.
610 # Check for a --with-gmp argument and set gmp-srcdir in config.make.
611 # Check whether --with-gmp or --without-gmp was given.
612 if test "${with_gmp+set}" = set; then
615 yes) { echo "configure: error: --with-gmp requires an argument; use --with-gmp=DIRECTORY" 1>&2; exit 1; } ;;
617 *) config_vars
="$config_vars
618 gmp-srcdir = $withval" ;;
623 # Check for a --with-gettext argument and set gettext-srcdir in config.make.
624 # Check whether --with-gettext or --without-gettext was given.
625 if test "${with_gettext+set}" = set; then
626 withval
="$with_gettext"
627 case "$with_gettext" in
629 { echo "configure: error: --with-gettext requires an argument; use --with-gettext=DIR" 1>&2; exit 1; } ;;
632 config_vars
="$config_vars
633 gettext-srcdir = $withval" ;;
639 # Check whether --with-fp or --without-fp was given.
640 if test "${with_fp+set}" = set; then
647 # Check whether --with-binutils or --without-binutils was given.
648 if test "${with_binutils+set}" = set; then
649 withval
="$with_binutils"
650 path_binutils
=$withval
655 # Check whether --with-elf or --without-elf was given.
656 if test "${with_elf+set}" = set; then
663 # Check whether --with-cvs or --without-cvs was given.
664 if test "${with_cvs+set}" = set; then
673 # Check whether --with-headers or --without-headers was given.
674 if test "${with_headers+set}" = set; then
675 withval
="$with_headers"
682 # Check whether --enable-libio or --disable-libio was given.
683 if test "${enable_libio+set}" = set; then
684 enableval
="$enable_libio"
685 if test $enableval = yes; then
695 # Check whether --enable-sanity-checks or --disable-sanity-checks was given.
696 if test "${enable_sanity_checks+set}" = set; then
697 enableval
="$enable_sanity_checks"
698 enable_sanity
=$enableval
704 # Check whether --enable-static or --disable-static was given.
705 if test "${enable_static+set}" = set; then
706 enableval
="$enable_static"
712 # Check whether --enable-shared or --disable-shared was given.
713 if test "${enable_shared+set}" = set; then
714 enableval
="$enable_shared"
720 # Check whether --enable-profile or --disable-profile was given.
721 if test "${enable_profile+set}" = set; then
722 enableval
="$enable_profile"
728 # Check whether --enable-omitfp or --disable-omitfp was given.
729 if test "${enable_omitfp+set}" = set; then
730 enableval
="$enable_omitfp"
736 # Check whether --enable-bounded or --disable-bounded was given.
737 if test "${enable_bounded+set}" = set; then
738 enableval
="$enable_bounded"
744 # Check whether --enable-versioning or --disable-versioning was given.
745 if test "${enable_versioning+set}" = set; then
746 enableval
="$enable_versioning"
747 enable_versioning
=$enableval
749 enable_versioning
=yes
753 # Check whether --enable-add-ons or --disable-add-ons was given.
754 if test "${enable_add_ons+set}" = set; then
755 enableval
="$enable_add_ons"
757 yes) add_ons
=`cd $srcdir && echo */configure | sed -e 's!/configure!!g'`
758 test "$add_ons" = "*" && add_ons
= ;;
759 *) add_ons
=`echo "$enableval" | sed 's/,/ /g'`;;
769 if test x
"$add_ons" != x
; then
770 for f
in $add_ons; do
771 # Test whether such a subdir really exists.
772 if test -d $srcdir/$f; then
773 add_ons_pfx
="$add_ons_pfx $f/"
775 { echo "configure: error: add-on directory \"$f\" does not exist" 1>&2; exit 1; }
780 # Check whether --enable-static-nss or --disable-static-nss was given.
781 if test "${enable_static_nss+set}" = set; then
782 enableval
="$enable_static_nss"
783 static_nss
=$enableval
788 if test x
"$static_nss" = xyes
; then
789 cat >> confdefs.h
<<\EOF
790 #define DO_STATIC_NSS 1
795 # Check whether --enable-force-install or --disable-force-install was given.
796 if test "${enable_force_install+set}" = set; then
797 enableval
="$enable_force_install"
798 force_install
=$enableval
806 # Make sure we can run config.sub.
807 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
808 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
811 echo $ac_n "checking host system type""... $ac_c" 1>&6
812 echo "configure:813: checking host system type" >&5
815 case "$host_alias" in
819 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
820 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
822 *) host_alias
=$nonopt ;;
826 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
827 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
828 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
829 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
830 echo "$ac_t""$host" 1>&6
833 # The way shlib-versions is used to generate soversions.mk uses a
834 # fairly simplistic model for name recognition that can't distinguish
835 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
836 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
837 # tell. This doesn't get used much beyond that, so it's fairly safe.
842 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
846 # We keep the original values in `$config_*' and never modify them, so we
847 # can write them unchanged into config.make. Everything else uses
848 # $machine, $vendor, and $os, and changes them whenever convenient.
849 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
851 # Some configurations imply other options.
853 gnu
* | linux
* | bsd4.4
* | netbsd
* | freebsd
*)
854 # These systems always use GNU tools.
855 gnu_ld
=yes gnu_as
=yes ;;
858 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
859 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
861 gnu
* | linux
* | sysv4
* | solaris2
* | irix6
*)
862 # These systems (almost) always use the ELF format.
867 machine
=$config_machine
868 vendor
=$config_vendor
872 ### I put this here to prevent those annoying emails from people who cannot
873 ### read and try to compile glibc on unsupported platforms. --drepper
875 ### By using the undocumented --enable-hacker-mode option for configure
876 ### one can skip this test to make the configuration not fail for unsupported
879 if test -z "$enable_hacker_mode"; then
880 case "$machine-$host_os" in
881 *-linux* |
*-gnu* | arm
*-none*)
884 echo "*** The GNU C library is currently not available for this platform."
885 echo "*** So far nobody cared to port it and if there is no volunteer it"
886 echo "*** might never happen. So, if you have interest to see glibc on"
887 echo "*** this platform visit"
888 echo "*** http://www.gnu.org/software/libc/porting.html"
889 echo "*** and join the group of porters"
895 # Expand the configuration machine name into a subdirectory by architecture
896 # type and particular chip.
898 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
899 alpha
*) base_machine
=alpha machine
=alpha
/$machine ;;
900 arm
*) base_machine
=arm machine
=arm
/$machine ;;
901 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
902 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
903 hppa
*) base_machine
=hppa machine
=hppa
/$machine ;;
904 i
[3456]86) base_machine
=i386 machine
=i386
/$machine ;;
905 m680?
0) base_machine
=m68k machine
=m68k
/$machine ;;
906 m68k
) base_machine
=m68k machine
=m68k
/m68020
;;
907 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
908 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
909 mips64
*) base_machine
=mips64 machine
=mips
/mips64
/$machine ;;
910 mips
*) base_machine
=mips
912 IP22
) machine
=mips
/mips3
;;
913 *) machine
=mips
/$machine ,,
916 base_machine
=sparc machine
=sparc
/sparc32
;;
917 sparcv8 | supersparc | hypersparc
)
918 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
919 sparc64 | ultrasparc
)
920 base_machine
=sparc machine
=sparc
/sparc64
;;
924 if test "$base_machine" = "i386"; then
925 cat >> confdefs.h
<<\EOF
926 #define USE_REGPARMS 1
931 # Compute the list of sysdep directories for this configuration.
932 # This can take a while to compute.
933 sysdep_dir
=$srcdir/sysdeps
934 echo $ac_n "checking sysdep dirs""... $ac_c" 1>&6
935 echo "configure:936: checking sysdep dirs" >&5
936 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
937 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
942 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
943 base_os
=unix
/bsd
/bsd4.4
;;
944 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
946 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
949 base_os
=unix
/sysv
/irix
6/$os ;;
951 base_os
=unix
/sysv
/sysv4
;;
953 base_os
=standalone
;;
958 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
961 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
965 o
=`echo $tail | sed 's/[0-9]*$//'`
966 if test $o != $tail; then
969 # For linux-gnu, try linux-gnu, then linux.
970 o
=`echo $tail | sed 's/-.*$//'`
971 if test $o != $tail; then
975 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
978 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
984 # For sparc/sparc9, try sparc/sparc9 and then sparc.
987 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
989 # Prepend the machine's FPU directory unless --without-fp.
990 if test "$with_fp" = yes; then
998 # Find what sysdep directories exist.
1000 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1001 for d
in $add_ons_pfx ''; do
1002 for b
in $base ''; do
1003 for m0
in $mach ''; do
1004 for v
in /$vendor ''; do
1005 test "$v" = / && continue
1006 for o
in /$ostry ''; do
1007 test "$o" = / && continue
1008 for m
in $mach ''; do
1009 if test "$m0$b$v$o$m"; then
1010 try
="${d}sysdeps$m0$b$v$o$m"
1011 test -n "$enable_debug_configure" &&
1012 echo "$0 DEBUG: try $try" >&2
1013 if test -d $srcdir/$try; then
1014 sysnames
="$sysnames $try"
1015 { test -n "$o" ||
test -n "$b"; } && os_used
=t
1016 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
1027 if test -z "$os_used" && test "$os" != none
; then
1028 { echo "configure: error: Operating system $os is not supported." 1>&2; exit 1; }
1030 if test -z "$machine_used" && test "$machine" != none
; then
1031 { echo "configure: error: The $machine is not supported." 1>&2; exit 1; }
1034 # We have now validated the configuration.
1037 # If using ELF, look for an `elf' subdirectory of each machine directory.
1038 # We prepend these rather than inserting them whereever the machine appears
1039 # because things specified by the machine's ELF ABI should override
1040 # OS-specific things, and should always be the same for any OS on the
1041 # machine (otherwise what's the point of an ABI?).
1042 if test "$elf" = yes; then
1044 for d
in $add_ons_pfx ''; do
1046 if test -d $srcdir/${d}sysdeps
$m/elf
; then
1047 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
1051 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
1055 # Expand the list of system names into a full list of directories
1056 # from each element's parent name and Implies file (if present).
1059 while test $# -gt 0; do
1063 case " $names " in *" $name "*)
1064 # Already in the list.
1068 # Report each name as we discover it, so there is no long pause in output.
1069 echo $ac_n "$name $ac_c" >&6
1071 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
1075 *) xsrcdir
=$srcdir/ ;;
1077 test -n "$enable_debug_configure" &&
1078 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
1080 if test -f $xsrcdir$name/Implies
; then
1081 # Collect more names from the `Implies' file (removing comments).
1082 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
1084 for x
in $implied_candidate; do
1085 if test -d $xsrcdir$name_base/$x; then
1086 implied
="$implied $name_base/$x";
1088 echo "configure: warning: $name/Implies specifies nonexistent $x" 1>&2
1095 # Add NAME to the list of names.
1096 names
="$names $name"
1098 # Find the parent of NAME, using the empty string if it has none.
1099 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
1101 # Add the names implied by NAME, and NAME's parent (if it has one), to
1102 # the list of names to be processed (the argument list). We prepend the
1103 # implied names to the list and append the parent. We want implied
1104 # directories to come before further directories inferred from the
1105 # configuration components; this ensures that for sysv4, unix/common
1106 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
1108 sysnames
="`echo $implied $* $parent`"
1109 test -n "$sysnames" && set $sysnames
1112 # Add the default directories.
1113 default_sysnames
=sysdeps
/generic
1114 if test "$elf" = yes; then
1115 default_sysnames
="sysdeps/generic/elf $default_sysnames"
1117 sysnames
="$names $default_sysnames"
1119 # The other names were emitted during the scan.
1120 echo "$ac_t""$default_sysnames" 1>&6
1125 # Find a good install program. We prefer a C program (faster),
1126 # so one script is as good as another. But avoid the broken or
1127 # incompatible versions:
1128 # SysV /etc/install, /usr/sbin/install
1129 # SunOS /usr/etc/install
1130 # IRIX /sbin/install
1132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1135 # ./install, which can be erroneously created by make from ./install.sh.
1136 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1137 echo "configure:1138: checking for a BSD compatible install" >&5
1138 if test -z "$INSTALL"; then
1139 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1140 echo $ac_n "(cached) $ac_c" 1>&6
1142 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1143 for ac_dir
in $PATH; do
1144 # Account for people who put trailing slashes in PATH elements.
1146 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1148 # OSF1 and SCO ODT 3.0 have their own names for install.
1149 # Don't use installbsd from OSF since it installs stuff as root
1151 for ac_prog
in ginstall scoinst
install; do
1152 if test -f $ac_dir/$ac_prog; then
1153 if test $ac_prog = install &&
1154 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1155 # AIX install. It has an incompatible calling convention.
1158 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1169 if test "${ac_cv_path_install+set}" = set; then
1170 INSTALL
="$ac_cv_path_install"
1172 # As a last resort, use the slow shell script. We don't cache a
1173 # path for INSTALL within a source directory, because that will
1174 # break other packages using the cache if that directory is
1175 # removed, or if the path is relative.
1176 INSTALL
="$ac_install_sh"
1179 echo "$ac_t""$INSTALL" 1>&6
1181 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1182 # It thinks the first close brace ends the variable substitution.
1183 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1185 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1187 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1188 # The makefiles need to use a different form to find it in $srcdir.
1189 INSTALL
='\$(..)./install-sh -c'
1191 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1192 echo "configure:1193: checking whether ln -s works" >&5
1193 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1194 echo $ac_n "(cached) $ac_c" 1>&6
1197 if ln -s X conftestdata
2>/dev
/null
1200 ac_cv_prog_LN_S
="ln -s"
1205 LN_S
="$ac_cv_prog_LN_S"
1206 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1207 echo "$ac_t""yes" 1>&6
1209 echo "$ac_t""no" 1>&6
1213 # These programs are version sensitive.
1214 echo $ac_n "checking build system type""... $ac_c" 1>&6
1215 echo "configure:1216: checking build system type" >&5
1218 case "$build_alias" in
1221 NONE
) build_alias
=$host_alias ;;
1222 *) build_alias
=$nonopt ;;
1226 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1227 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1228 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1229 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1230 echo "$ac_t""$build" 1>&6
1232 if test $host != $build; then
1233 ac_tool_prefix
=${host_alias}-
1238 for ac_prog
in ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
1240 # Extract the first word of "$ac_prog", so it can be a program name with args.
1241 set dummy
$ac_prog; ac_word
=$2
1242 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1243 echo "configure:1244: checking for $ac_word" >&5
1244 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1245 echo $ac_n "(cached) $ac_c" 1>&6
1247 if test -n "$CC"; then
1248 ac_cv_prog_CC
="$CC" # Let the user override the test.
1250 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1251 for ac_dir
in $PATH; do
1252 test -z "$ac_dir" && ac_dir
=.
1253 if test -f $ac_dir/$ac_word; then
1254 ac_cv_prog_CC
="$ac_prog"
1262 if test -n "$CC"; then
1263 echo "$ac_t""$CC" 1>&6
1265 echo "$ac_t""no" 1>&6
1268 test -n "$CC" && break
1271 if test -z "$CC"; then
1274 # Found it, now check the version.
1275 echo $ac_n "checking version of $CC""... $ac_c" 1>&6
1276 echo "configure:1277: checking version of $CC" >&5
1277 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcstp-]*[0-9.]*\).*$/\1/p'`
1278 case $ac_prog_version in
1279 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
1280 egcs-2.9
[1-9].
*|egcs-2.90
.2[789]|egcs-2.90.
[3-9][0-9]|pgcc-2.9
[1-9].
*|pgcc-2.90
.2[789]|pgcc-2.90.
[3-9][0-9]|
*2.8.
[1-9]*|
*2.9|
*2.9.
[0-9]*)
1281 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
1282 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
1285 echo "$ac_t""$ac_prog_version" 1>&6
1287 if test $ac_verc_fail = yes; then
1291 for ac_prog
in make gmake
1293 # Extract the first word of "$ac_prog", so it can be a program name with args.
1294 set dummy
$ac_prog; ac_word
=$2
1295 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1296 echo "configure:1297: checking for $ac_word" >&5
1297 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
1298 echo $ac_n "(cached) $ac_c" 1>&6
1300 if test -n "$MAKE"; then
1301 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
1303 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1304 for ac_dir
in $PATH; do
1305 test -z "$ac_dir" && ac_dir
=.
1306 if test -f $ac_dir/$ac_word; then
1307 ac_cv_prog_MAKE
="$ac_prog"
1314 MAKE
="$ac_cv_prog_MAKE"
1315 if test -n "$MAKE"; then
1316 echo "$ac_t""$MAKE" 1>&6
1318 echo "$ac_t""no" 1>&6
1321 test -n "$MAKE" && break
1324 if test -z "$MAKE"; then
1327 # Found it, now check the version.
1328 echo $ac_n "checking version of $MAKE""... $ac_c" 1>&6
1329 echo "configure:1330: checking version of $MAKE" >&5
1330 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*version \([0-9][0-9.]*\), by.*$/\1/p'`
1331 case $ac_prog_version in
1332 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
1333 3.75 |
3.76.
[1-9]* |
3.7[789]* |
3.
[89]*)
1334 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
1335 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
1338 echo "$ac_t""$ac_prog_version" 1>&6
1340 if test $ac_verc_fail = yes; then
1345 for ac_prog
in msgfmt gmsgfmt
1347 # Extract the first word of "$ac_prog", so it can be a program name with args.
1348 set dummy
$ac_prog; ac_word
=$2
1349 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1350 echo "configure:1351: checking for $ac_word" >&5
1351 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
1352 echo $ac_n "(cached) $ac_c" 1>&6
1354 if test -n "$MSGFMT"; then
1355 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
1357 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1358 for ac_dir
in $PATH; do
1359 test -z "$ac_dir" && ac_dir
=.
1360 if test -f $ac_dir/$ac_word; then
1361 ac_cv_prog_MSGFMT
="$ac_prog"
1368 MSGFMT
="$ac_cv_prog_MSGFMT"
1369 if test -n "$MSGFMT"; then
1370 echo "$ac_t""$MSGFMT" 1>&6
1372 echo "$ac_t""no" 1>&6
1375 test -n "$MSGFMT" && break
1378 if test -z "$MSGFMT"; then
1381 # Found it, now check the version.
1382 echo $ac_n "checking version of $MSGFMT""... $ac_c" 1>&6
1383 echo "configure:1384: checking version of $MSGFMT" >&5
1384 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
1385 case $ac_prog_version in
1386 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
1387 0.
[1-9][0-9].
* |
[1-9].
*)
1388 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
1389 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
1392 echo "$ac_t""$ac_prog_version" 1>&6
1394 if test $ac_verc_fail = yes; then
1395 MSGFMT
=: aux_missing
=t
1398 for ac_prog
in makeinfo
1400 # Extract the first word of "$ac_prog", so it can be a program name with args.
1401 set dummy
$ac_prog; ac_word
=$2
1402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1403 echo "configure:1404: checking for $ac_word" >&5
1404 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1405 echo $ac_n "(cached) $ac_c" 1>&6
1407 if test -n "$MAKEINFO"; then
1408 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
1410 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1411 for ac_dir
in $PATH; do
1412 test -z "$ac_dir" && ac_dir
=.
1413 if test -f $ac_dir/$ac_word; then
1414 ac_cv_prog_MAKEINFO
="$ac_prog"
1421 MAKEINFO
="$ac_cv_prog_MAKEINFO"
1422 if test -n "$MAKEINFO"; then
1423 echo "$ac_t""$MAKEINFO" 1>&6
1425 echo "$ac_t""no" 1>&6
1428 test -n "$MAKEINFO" && break
1431 if test -z "$MAKEINFO"; then
1434 # Found it, now check the version.
1435 echo $ac_n "checking version of $MAKEINFO""... $ac_c" 1>&6
1436 echo "configure:1437: checking version of $MAKEINFO" >&5
1437 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo \([0-9][0-9.]*\).*$/\1/p'`
1438 case $ac_prog_version in
1439 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
1440 3.1[1-9] |
3.
[2-9][0-9])
1441 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
1442 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
1445 echo "$ac_t""$ac_prog_version" 1>&6
1447 if test $ac_verc_fail = yes; then
1448 MAKEINFO
=: aux_missing
=t
1452 if test -n "$critic_missing"; then
1453 { echo "configure: error:
1454 *** Some critical program is missing or too old.
1455 *** Check the INSTALL file for required versions." 1>&2; exit 1; }
1458 test -n "$aux_missing" && echo "configure: warning:
1459 *** An auxiliary program is missing or too old;
1460 *** some features will be disabled.
1461 *** Check the INSTALL file for required versions." 1>&2
1464 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1465 echo "configure:1466: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1466 if eval "test \"`echo '$''{'ac_cv_prog_cc_works'+set}'`\" = set"; then
1467 echo $ac_n "(cached) $ac_c" 1>&6
1471 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1472 ac_cpp
='$CPP $CPPFLAGS'
1473 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1474 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1475 cross_compiling
=$ac_cv_prog_cc_cross
1477 cat > conftest.
$ac_ext <<EOF
1478 #line 1479 "configure"
1479 #include "confdefs.h"
1482 if { (eval echo configure
:1483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1483 ac_cv_prog_cc_works
=yes
1484 # If we can't run a trivial program, we are probably using a cross compiler.
1485 if (.
/conftest
; exit) 2>/dev
/null
; then
1486 ac_cv_prog_cc_cross
=no
1488 ac_cv_prog_cc_cross
=yes
1491 echo "configure: failed program was:" >&5
1492 cat conftest.
$ac_ext >&5
1493 ac_cv_prog_cc_works
=no
1499 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1500 if test $ac_cv_prog_cc_works = no
; then
1502 ac_cv_prog_cc_cross
=yes
1506 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1507 echo "configure:1508: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1508 if eval "test \"`echo '$''{'ac_cv_prog_cc_cross'+set}'`\" = set"; then
1509 echo $ac_n "(cached) $ac_c" 1>&6
1514 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1516 cross_compiling
=$ac_cv_prog_cc_cross
1518 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1519 echo "configure:1520: checking whether we are using GNU C" >&5
1520 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1521 echo $ac_n "(cached) $ac_c" 1>&6
1523 cat > conftest.c
<<EOF
1528 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1535 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1536 if test $ac_cv_prog_gcc != yes; then
1537 { echo "configure: error: GNU libc must be compiled using GNU CC" 1>&2; exit 1; }
1540 echo $ac_n "checking build system type""... $ac_c" 1>&6
1541 echo "configure:1542: checking build system type" >&5
1544 case "$build_alias" in
1547 NONE
) build_alias
=$host_alias ;;
1548 *) build_alias
=$nonopt ;;
1552 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1553 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1554 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1555 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1556 echo "$ac_t""$build" 1>&6
1558 if test $host != $build; then
1559 for ac_prog
in gcc cc
1561 # Extract the first word of "$ac_prog", so it can be a program name with args.
1562 set dummy
$ac_prog; ac_word
=$2
1563 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1564 echo "configure:1565: checking for $ac_word" >&5
1565 if eval "test \"`echo '$''{'ac_cv_prog_BUILD_CC'+set}'`\" = set"; then
1566 echo $ac_n "(cached) $ac_c" 1>&6
1568 if test -n "$BUILD_CC"; then
1569 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
1571 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1572 for ac_dir
in $PATH; do
1573 test -z "$ac_dir" && ac_dir
=.
1574 if test -f $ac_dir/$ac_word; then
1575 ac_cv_prog_BUILD_CC
="$ac_prog"
1582 BUILD_CC
="$ac_cv_prog_BUILD_CC"
1583 if test -n "$BUILD_CC"; then
1584 echo "$ac_t""$BUILD_CC" 1>&6
1586 echo "$ac_t""no" 1>&6
1589 test -n "$BUILD_CC" && break
1594 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1595 echo "configure:1596: checking how to run the C preprocessor" >&5
1596 # On Suns, sometimes $CPP names a directory.
1597 if test -n "$CPP" && test -d "$CPP"; then
1600 if test -z "$CPP"; then
1601 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1602 echo $ac_n "(cached) $ac_c" 1>&6
1604 # This must be in double quotes, not single quotes, because CPP may get
1605 # substituted into the Makefile and "${CC-cc}" will confuse make.
1607 # On the NeXT, cc -E runs the code through the compiler's parser,
1608 # not just through cpp.
1609 cat > conftest.
$ac_ext <<EOF
1610 #line 1611 "configure"
1611 #include "confdefs.h"
1615 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1616 { (eval echo configure
:1617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1617 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1618 if test -z "$ac_err"; then
1622 echo "configure: failed program was:" >&5
1623 cat conftest.
$ac_ext >&5
1625 CPP
="${CC-cc} -E -traditional-cpp"
1626 cat > conftest.
$ac_ext <<EOF
1627 #line 1628 "configure"
1628 #include "confdefs.h"
1632 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1633 { (eval echo configure
:1634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1634 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1635 if test -z "$ac_err"; then
1639 echo "configure: failed program was:" >&5
1640 cat conftest.
$ac_ext >&5
1642 CPP
="${CC-cc} -nologo -E"
1643 cat > conftest.
$ac_ext <<EOF
1644 #line 1645 "configure"
1645 #include "confdefs.h"
1649 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1650 { (eval echo configure
:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1651 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1652 if test -z "$ac_err"; then
1656 echo "configure: failed program was:" >&5
1657 cat conftest.
$ac_ext >&5
1666 ac_cv_prog_CPP
="$CPP"
1668 CPP
="$ac_cv_prog_CPP"
1670 ac_cv_prog_CPP
="$CPP"
1672 echo "$ac_t""$CPP" 1>&6
1674 # Was a --with-binutils option given?
1675 if test -n "$path_binutils"; then
1676 # Make absolute; ensure a single trailing slash.
1677 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
1678 CC
="$CC -B$path_binutils"
1680 AS
=`$CC -print-prog-name=as`
1681 LD
=`$CC -print-prog-name=ld`
1683 # Determine whether we are using GNU binutils.
1684 echo $ac_n "checking whether $AS is GNU as""... $ac_c" 1>&6
1685 echo "configure:1686: checking whether $AS is GNU as" >&5
1686 if eval "test \"`echo '$''{'libc_cv_prog_as_gnu'+set}'`\" = set"; then
1687 echo $ac_n "(cached) $ac_c" 1>&6
1689 # Most GNU programs take a -v and spit out some text including
1690 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
1691 if $AS -v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
1692 libc_cv_prog_as_gnu
=yes
1694 libc_cv_prog_as_gnu
=no
1698 echo "$ac_t""$libc_cv_prog_as_gnu" 1>&6
1700 gnu_as
=$libc_cv_prog_as_gnu
1702 echo $ac_n "checking whether $LD is GNU ld""... $ac_c" 1>&6
1703 echo "configure:1704: checking whether $LD is GNU ld" >&5
1704 if eval "test \"`echo '$''{'libc_cv_prog_ld_gnu'+set}'`\" = set"; then
1705 echo $ac_n "(cached) $ac_c" 1>&6
1707 # Most GNU programs take a -v and spit out some text including
1708 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
1709 if $LD -v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
1710 libc_cv_prog_ld_gnu
=yes
1712 libc_cv_prog_ld_gnu
=no
1716 echo "$ac_t""$libc_cv_prog_ld_gnu" 1>&6
1717 gnu_ld
=$libc_cv_prog_ld_gnu
1719 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1720 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1722 echo "configure:1723: checking for $ac_word" >&5
1723 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1724 echo $ac_n "(cached) $ac_c" 1>&6
1726 if test -n "$AR"; then
1727 ac_cv_prog_AR
="$AR" # Let the user override the test.
1729 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1730 for ac_dir
in $PATH; do
1731 test -z "$ac_dir" && ac_dir
=.
1732 if test -f $ac_dir/$ac_word; then
1733 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1738 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1742 if test -n "$AR"; then
1743 echo "$ac_t""$AR" 1>&6
1745 echo "$ac_t""no" 1>&6
1750 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1751 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1752 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1753 echo "configure:1754: checking for $ac_word" >&5
1754 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1755 echo $ac_n "(cached) $ac_c" 1>&6
1757 if test -n "$RANLIB"; then
1758 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1760 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1761 for ac_dir
in $PATH; do
1762 test -z "$ac_dir" && ac_dir
=.
1763 if test -f $ac_dir/$ac_word; then
1764 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1771 RANLIB
="$ac_cv_prog_RANLIB"
1772 if test -n "$RANLIB"; then
1773 echo "$ac_t""$RANLIB" 1>&6
1775 echo "$ac_t""no" 1>&6
1779 if test -z "$ac_cv_prog_RANLIB"; then
1780 if test -n "$ac_tool_prefix"; then
1781 # Extract the first word of "ranlib", so it can be a program name with args.
1782 set dummy ranlib
; ac_word
=$2
1783 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1784 echo "configure:1785: checking for $ac_word" >&5
1785 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1786 echo $ac_n "(cached) $ac_c" 1>&6
1788 if test -n "$RANLIB"; then
1789 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1791 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1792 for ac_dir
in $PATH; do
1793 test -z "$ac_dir" && ac_dir
=.
1794 if test -f $ac_dir/$ac_word; then
1795 ac_cv_prog_RANLIB
="ranlib"
1800 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1803 RANLIB
="$ac_cv_prog_RANLIB"
1804 if test -n "$RANLIB"; then
1805 echo "$ac_t""$RANLIB" 1>&6
1807 echo "$ac_t""no" 1>&6
1815 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
1816 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
1817 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1818 echo "configure:1819: checking for $ac_word" >&5
1819 if eval "test \"`echo '$''{'ac_cv_prog_MIG'+set}'`\" = set"; then
1820 echo $ac_n "(cached) $ac_c" 1>&6
1822 if test -n "$MIG"; then
1823 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
1825 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1826 for ac_dir
in $PATH; do
1827 test -z "$ac_dir" && ac_dir
=.
1828 if test -f $ac_dir/$ac_word; then
1829 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
1834 test -z "$ac_cv_prog_MIG" && ac_cv_prog_MIG
="mig"
1837 MIG
="$ac_cv_prog_MIG"
1838 if test -n "$MIG"; then
1839 echo "$ac_t""$MIG" 1>&6
1841 echo "$ac_t""no" 1>&6
1847 # if using special system headers, find out the compiler's sekrit
1848 # header directory and add that to the list. NOTE: Only does the right
1849 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
1850 if test -n "$sysheaders"; then
1851 ccheaders
=`$CC -print-file-name=include`
1852 SYSINCLUDES
="-nostdinc -isystem $ccheaders -isystem $sysheaders"
1856 # check if ranlib is necessary
1857 echo $ac_n "checking whether ranlib is necessary""... $ac_c" 1>&6
1858 echo "configure:1859: checking whether ranlib is necessary" >&5
1859 if eval "test \"`echo '$''{'libc_cv_ranlib_necessary'+set}'`\" = set"; then
1860 echo $ac_n "(cached) $ac_c" 1>&6
1862 cat > conftest.c
<<EOF
1867 $CC $CFLAGS -c conftest.c
1868 $AR cr conftest.a conftest.c
1869 cp conftest.a conftest2.a
1871 if cmp -s conftest.a conftest2.a
; then
1872 libc_cv_ranlib_necessary
=no
1874 libc_cv_ranlib_necessary
=yes
1879 echo "$ac_t""$libc_cv_ranlib_necessary" 1>&6
1880 if test "$libc_cv_ranlib_necessary" = no
; then
1884 # Test if LD_LIBRARY_PATH contains the notation for the current directory
1885 # since this would lead to problems installing/building glibc.
1886 # LD_LIBRARY_PATH contains the current directory if one of the following
1888 # - one of the terminals (":" and ";") is the first or last sign
1889 # - two terminals occur directly after each other
1890 # - the path contains an element with a dot in it
1891 echo $ac_n "checking LD_LIBRARY_PATH variable""... $ac_c" 1>&6
1892 echo "configure:1893: checking LD_LIBRARY_PATH variable" >&5
1893 case ${LD_LIBRARY_PATH} in
1894 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
1895 ld_library_path_setting
="contains current directory"
1898 ld_library_path_setting
="ok"
1901 echo "$ac_t""$ld_library_path_setting" 1>&6
1902 if test "$ld_library_path_setting" != "ok"; then
1903 { echo "configure: error:
1904 *** LD_LIBRARY_PATH shouldn't contain the current directory when
1905 *** building glibc. Please change the environment variable
1906 *** and run configure again." 1>&2; exit 1; }
1909 # Extract the first word of "bash", so it can be a program name with args.
1910 set dummy bash
; ac_word
=$2
1911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1912 echo "configure:1913: checking for $ac_word" >&5
1913 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1914 echo $ac_n "(cached) $ac_c" 1>&6
1918 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
1921 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
1924 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1925 for ac_dir
in $PATH; do
1926 test -z "$ac_dir" && ac_dir
=.
1927 if test -f $ac_dir/$ac_word; then
1928 ac_cv_path_BASH
="$ac_dir/$ac_word"
1933 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="no"
1937 BASH
="$ac_cv_path_BASH"
1938 if test -n "$BASH"; then
1939 echo "$ac_t""$BASH" 1>&6
1941 echo "$ac_t""no" 1>&6
1944 if test "$BASH" != no
&&
1945 $BASH -c 'test "$BASH_VERSINFO" \
1946 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
1947 libc_cv_have_bash2
=yes
1949 libc_cv_have_bash2
=no
1953 if test "$BASH" = no
; then
1954 # Extract the first word of "ksh", so it can be a program name with args.
1955 set dummy ksh
; ac_word
=$2
1956 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1957 echo "configure:1958: checking for $ac_word" >&5
1958 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
1959 echo $ac_n "(cached) $ac_c" 1>&6
1963 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
1966 ac_cv_path_KSH
="$KSH" # Let the user override the test with a dos path.
1969 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1970 for ac_dir
in $PATH; do
1971 test -z "$ac_dir" && ac_dir
=.
1972 if test -f $ac_dir/$ac_word; then
1973 ac_cv_path_KSH
="$ac_dir/$ac_word"
1978 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
1982 KSH
="$ac_cv_path_KSH"
1983 if test -n "$KSH"; then
1984 echo "$ac_t""$KSH" 1>&6
1986 echo "$ac_t""no" 1>&6
1989 if test "$KSH" = no
; then
1992 libc_cv_have_ksh
=yes
1997 libc_cv_have_ksh
=yes
2001 for ac_prog
in mawk gawk nawk
awk
2003 # Extract the first word of "$ac_prog", so it can be a program name with args.
2004 set dummy
$ac_prog; ac_word
=$2
2005 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2006 echo "configure:2007: checking for $ac_word" >&5
2007 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
2008 echo $ac_n "(cached) $ac_c" 1>&6
2010 if test -n "$AWK"; then
2011 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2013 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2014 for ac_dir
in $PATH; do
2015 test -z "$ac_dir" && ac_dir
=.
2016 if test -f $ac_dir/$ac_word; then
2017 ac_cv_prog_AWK
="$ac_prog"
2024 AWK
="$ac_cv_prog_AWK"
2025 if test -n "$AWK"; then
2026 echo "$ac_t""$AWK" 1>&6
2028 echo "$ac_t""no" 1>&6
2031 test -n "$AWK" && break
2036 # Extract the first word of "$ac_prog", so it can be a program name with args.
2037 set dummy
$ac_prog; ac_word
=$2
2038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2039 echo "configure:2040: checking for $ac_word" >&5
2040 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
2041 echo $ac_n "(cached) $ac_c" 1>&6
2045 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
2048 ac_cv_path_PERL
="$PERL" # Let the user override the test with a dos path.
2051 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2052 for ac_dir
in $PATH; do
2053 test -z "$ac_dir" && ac_dir
=.
2054 if test -f $ac_dir/$ac_word; then
2055 ac_cv_path_PERL
="$ac_dir/$ac_word"
2063 PERL
="$ac_cv_path_PERL"
2064 if test -n "$PERL"; then
2065 echo "$ac_t""$PERL" 1>&6
2067 echo "$ac_t""no" 1>&6
2070 test -n "$PERL" && break
2072 test -n "$PERL" || PERL
="no"
2076 echo $ac_n "checking for signed size_t type""... $ac_c" 1>&6
2077 echo "configure:2078: checking for signed size_t type" >&5
2078 if eval "test \"`echo '$''{'libc_cv_signed_size_t'+set}'`\" = set"; then
2079 echo $ac_n "(cached) $ac_c" 1>&6
2081 echo '#include <stddef.h>
2082 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
2083 if eval "$ac_cpp conftest.c 2>/dev/null" \
2084 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
2085 libc_cv_signed_size_t
=no
2087 libc_cv_signed_size_t
=yes
2092 echo "$ac_t""$libc_cv_signed_size_t" 1>&6
2093 if test $libc_cv_signed_size_t = yes; then
2094 cat >> confdefs.h
<<\EOF
2095 #undef __SIZE_TYPE__
2096 #define __SIZE_TYPE__ unsigned
2100 echo $ac_n "checking for libc-friendly stddef.h""... $ac_c" 1>&6
2101 echo "configure:2102: checking for libc-friendly stddef.h" >&5
2102 if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then
2103 echo $ac_n "(cached) $ac_c" 1>&6
2105 cat > conftest.
$ac_ext <<EOF
2106 #line 2107 "configure"
2107 #include "confdefs.h"
2108 #define __need_size_t
2109 #define __need_wchar_t
2114 size_t size; wchar_t wchar;
2116 #error stddef.h ignored __need_*
2118 if (&size == NULL || &wchar == NULL) abort ();
2121 if { (eval echo configure
:2122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2123 libc_cv_friendly_stddef
=yes
2125 echo "configure: failed program was:" >&5
2126 cat conftest.
$ac_ext >&5
2128 libc_cv_friendly_stddef
=no
2133 echo "$ac_t""$libc_cv_friendly_stddef" 1>&6
2134 if test $libc_cv_friendly_stddef = yes; then
2135 config_vars
="$config_vars
2136 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
2139 echo $ac_n "checking whether we need to use -P to assemble .S files""... $ac_c" 1>&6
2140 echo "configure:2141: checking whether we need to use -P to assemble .S files" >&5
2141 if eval "test \"`echo '$''{'libc_cv_need_minus_P'+set}'`\" = set"; then
2142 echo $ac_n "(cached) $ac_c" 1>&6
2144 cat > conftest.S
<<EOF
2145 #include "confdefs.h"
2146 /* Nothing whatsoever. */
2148 if ${CC-cc} $CFLAGS -c conftest.S
2>/dev
/null
; then
2149 libc_cv_need_minus_P
=no
2151 libc_cv_need_minus_P
=yes
2156 echo "$ac_t""$libc_cv_need_minus_P" 1>&6
2157 if test $libc_cv_need_minus_P = yes; then
2158 config_vars
="$config_vars
2159 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
2162 echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&6
2163 echo "configure:2164: checking for assembler global-symbol directive" >&5
2164 if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then
2165 echo $ac_n "(cached) $ac_c" 1>&6
2167 libc_cv_asm_global_directive
=UNKNOWN
2168 for ac_globl
in .globl .global
; do
2169 cat > conftest.s
<<EOF
2174 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
2175 libc_cv_asm_global_directive
=${ac_globl}
2178 test $libc_cv_asm_global_directive != UNKNOWN
&& break
2182 echo "$ac_t""$libc_cv_asm_global_directive" 1>&6
2183 if test $libc_cv_asm_global_directive = UNKNOWN
; then
2184 { echo "configure: error: cannot determine asm global directive" 1>&2; exit 1; }
2186 cat >> confdefs.h
<<EOF
2187 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
2192 echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&6
2193 echo "configure:2194: checking for .set assembler directive" >&5
2194 if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then
2195 echo $ac_n "(cached) $ac_c" 1>&6
2197 cat > conftest.s
<<EOF
2200 .set glibc_conftest_frobozz,foo
2201 $libc_cv_asm_global_directive glibc_conftest_frobozz
2203 # The alpha-dec-osf1 assembler gives only a warning for `.set'
2204 # (but it doesn't work), so we must do a linking check to be sure.
2205 cat > conftest1.c
<<\EOF
2206 extern int glibc_conftest_frobozz
;
2207 main
() { printf ("%d\n", glibc_conftest_frobozz
); }
2209 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
2210 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
2211 libc_cv_asm_set_directive
=yes
2213 libc_cv_asm_set_directive
=no
2218 echo "$ac_t""$libc_cv_asm_set_directive" 1>&6
2219 if test $libc_cv_asm_set_directive = yes; then
2220 cat >> confdefs.h
<<\EOF
2221 #define HAVE_ASM_SET_DIRECTIVE 1
2226 echo $ac_n "checking for .symver assembler directive""... $ac_c" 1>&6
2227 echo "configure:2228: checking for .symver assembler directive" >&5
2228 if eval "test \"`echo '$''{'libc_cv_asm_symver_directive'+set}'`\" = set"; then
2229 echo $ac_n "(cached) $ac_c" 1>&6
2231 cat > conftest.s
<<EOF
2234 .symver _sym,sym@VERS
2236 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
2237 libc_cv_asm_symver_directive
=yes
2239 libc_cv_asm_symver_directive
=no
2244 echo "$ac_t""$libc_cv_asm_symver_directive" 1>&6
2245 echo $ac_n "checking for ld --version-script""... $ac_c" 1>&6
2246 echo "configure:2247: checking for ld --version-script" >&5
2247 if eval "test \"`echo '$''{'libc_cv_ld_version_script_option'+set}'`\" = set"; then
2248 echo $ac_n "(cached) $ac_c" 1>&6
2250 if test $libc_cv_asm_symver_directive = yes; then
2251 cat > conftest.s
<<EOF
2254 .symver _sym,sym@VERS
2256 cat > conftest.map
<<EOF
2265 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
2266 if { ac_try
='${CC-cc} $CFLAGS -shared -o conftest.so conftest.o
2267 -nostartfiles -nostdlib
2268 -Wl,--version-script,conftest.map
2269 1>&5'; { (eval echo configure
:2270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; };
2271 libc_cv_ld_version_script_option
=yes
2273 libc_cv_ld_version_script_option
=no
2276 libc_cv_ld_version_script_option
=no
2279 libc_cv_ld_version_script_option
=no
2284 echo "$ac_t""$libc_cv_ld_version_script_option" 1>&6
2285 if test $libc_cv_asm_symver_directive = yes &&
2286 test $libc_cv_ld_version_script_option = yes &&
2287 test $enable_versioning = yes; then
2289 cat >> confdefs.h
<<\EOF
2290 #define DO_VERSIONING 1
2298 if test $VERSIONING = no
; then
2300 *** WARNING: You should not compile GNU libc without versioning. Not using
2301 *** versioning will introduce incompatibilities so that old binaries
2302 *** will not run anymore.
2303 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
2305 if test $elf = yes; then
2306 echo $ac_n "checking for .previous assembler directive""... $ac_c" 1>&6
2307 echo "configure:2308: checking for .previous assembler directive" >&5
2308 if eval "test \"`echo '$''{'libc_cv_asm_previous_directive'+set}'`\" = set"; then
2309 echo $ac_n "(cached) $ac_c" 1>&6
2311 cat > conftest.s
<<EOF
2312 .section foo_section
2315 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure
:2316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2316 libc_cv_asm_previous_directive
=yes
2318 libc_cv_asm_previous_directive
=no
2323 echo "$ac_t""$libc_cv_asm_previous_directive" 1>&6
2324 if test $libc_cv_asm_previous_directive = yes; then
2325 cat >> confdefs.h
<<\EOF
2326 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
2330 echo $ac_n "checking for .popsection assembler directive""... $ac_c" 1>&6
2331 echo "configure:2332: checking for .popsection assembler directive" >&5
2332 if eval "test \"`echo '$''{'libc_cv_asm_popsection_directive'+set}'`\" = set"; then
2333 echo $ac_n "(cached) $ac_c" 1>&6
2335 cat > conftest.s
<<EOF
2336 .pushsection foo_section
2339 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure
:2340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2340 libc_cv_asm_popsection_directive
=yes
2342 libc_cv_asm_popsection_directive
=no
2347 echo "$ac_t""$libc_cv_asm_popsection_directive" 1>&6
2348 if test $libc_cv_asm_popsection_directive = yes; then
2349 cat >> confdefs.h
<<\EOF
2350 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
2357 if test $elf != yes; then
2358 echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&6
2359 echo "configure:2360: checking for .init and .fini sections" >&5
2360 if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then
2361 echo $ac_n "(cached) $ac_c" 1>&6
2363 cat > conftest.
$ac_ext <<EOF
2364 #line 2365 "configure"
2365 #include "confdefs.h"
2368 asm (".section .init");
2369 asm (".section .fini");
2373 if { (eval echo configure
:2374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2375 libc_cv_have_initfini
=yes
2377 echo "configure: failed program was:" >&5
2378 cat conftest.
$ac_ext >&5
2380 libc_cv_have_initfini
=no
2385 echo "$ac_t""$libc_cv_have_initfini" 1>&6
2386 if test $libc_cv_have_initfini = yes; then
2387 cat >> confdefs.h
<<\EOF
2388 #define HAVE_INITFINI 1
2396 if test $elf = yes; then
2397 libc_cv_asm_underscores
=no
2399 if test $ac_cv_prog_cc_works = yes; then
2400 echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6
2401 echo "configure:2402: checking for _ prefix on C symbol names" >&5
2402 if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then
2403 echo $ac_n "(cached) $ac_c" 1>&6
2405 cat > conftest.
$ac_ext <<EOF
2406 #line 2407 "configure"
2407 #include "confdefs.h"
2408 asm ("_glibc_foobar:");
2413 if { (eval echo configure
:2414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2415 libc_cv_asm_underscores
=yes
2417 echo "configure: failed program was:" >&5
2418 cat conftest.
$ac_ext >&5
2420 libc_cv_asm_underscores
=no
2425 echo "$ac_t""$libc_cv_asm_underscores" 1>&6
2427 echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6
2428 echo "configure:2429: checking for _ prefix on C symbol names" >&5
2429 if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then
2430 echo $ac_n "(cached) $ac_c" 1>&6
2432 cat > conftest.
$ac_ext <<EOF
2433 #line 2434 "configure"
2434 #include "confdefs.h"
2435 void underscore_test(void) {
2438 if { (eval echo configure
:2439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2439 if grep _underscore_test conftest
* >/dev
/null
; then
2441 libc_cv_asm_underscores
=yes
2444 libc_cv_asm_underscores
=no
2447 echo "configure: failed program was:" >&5
2448 cat conftest.
$ac_ext >&5
2450 libc_cv_asm_underscores
=no
2455 echo "$ac_t""$libc_cv_asm_underscores" 1>&6
2458 if test $libc_cv_asm_underscores = no
; then
2459 cat >> confdefs.h
<<\EOF
2460 #define NO_UNDERSCORES 1
2465 if test $elf = yes; then
2466 libc_cv_weak_symbols
=yes
2469 echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&6
2470 echo "configure:2471: checking for assembler .weak directive" >&5
2471 if eval "test \"`echo '$''{'libc_cv_asm_weak_directive'+set}'`\" = set"; then
2472 echo $ac_n "(cached) $ac_c" 1>&6
2474 cat > conftest.s
<<EOF
2476 ${libc_cv_asm_global_directive} foo
2479 .weak bar; bar = foo
2481 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
2482 libc_cv_asm_weak_directive
=yes
2484 libc_cv_asm_weak_directive
=no
2489 echo "$ac_t""$libc_cv_asm_weak_directive" 1>&6
2491 if test $libc_cv_asm_weak_directive = no
; then
2492 echo $ac_n "checking for assembler .weakext directive""... $ac_c" 1>&6
2493 echo "configure:2494: checking for assembler .weakext directive" >&5
2494 if eval "test \"`echo '$''{'libc_cv_asm_weakext_directive'+set}'`\" = set"; then
2495 echo $ac_n "(cached) $ac_c" 1>&6
2497 cat > conftest.s
<<EOF
2499 ${libc_cv_asm_global_directive} foo
2503 ${libc_cv_asm_global_directive} baz
2506 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
2507 libc_cv_asm_weakext_directive
=yes
2509 libc_cv_asm_weakext_directive
=no
2514 echo "$ac_t""$libc_cv_asm_weakext_directive" 1>&6
2518 if test $libc_cv_asm_weak_directive = yes; then
2519 cat >> confdefs.h
<<\EOF
2520 #define HAVE_ASM_WEAK_DIRECTIVE 1
2523 elif test $libc_cv_asm_weakext_directive = yes; then
2524 cat >> confdefs.h
<<\EOF
2525 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
2530 echo $ac_n "checking for ld --no-whole-archive""... $ac_c" 1>&6
2531 echo "configure:2532: checking for ld --no-whole-archive" >&5
2532 if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then
2533 echo $ac_n "(cached) $ac_c" 1>&6
2535 cat > conftest.c
<<\EOF
2540 if { ac_try
='${CC-cc} $CFLAGS
2541 -nostdlib -nostartfiles -Wl,--no-whole-archive
2542 -o conftest conftest.c 1>&5'; { (eval echo configure
:2543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2543 libc_cv_ld_no_whole_archive
=yes
2545 libc_cv_ld_no_whole_archive
=no
2550 echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6
2551 if test $libc_cv_ld_no_whole_archive = yes; then
2552 no_whole_archive
=-Wl,--no-whole-archive
2555 echo $ac_n "checking for gcc -fexceptions""... $ac_c" 1>&6
2556 echo "configure:2557: checking for gcc -fexceptions" >&5
2557 if eval "test \"`echo '$''{'libc_cv_gcc_exceptions'+set}'`\" = set"; then
2558 echo $ac_n "(cached) $ac_c" 1>&6
2560 cat > conftest.c
<<\EOF
2565 if { ac_try
='${CC-cc} $CFLAGS
2566 -nostdlib -nostartfiles -fexceptions
2567 -o conftest conftest.c 1>&5'; { (eval echo configure
:2568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2568 libc_cv_gcc_exceptions
=yes
2570 libc_cv_gcc_exceptions
=no
2575 echo "$ac_t""$libc_cv_gcc_exceptions" 1>&6
2576 if test $libc_cv_gcc_exceptions = yes; then
2577 exceptions
=-fexceptions
2580 if test "$base_machine" = alpha
; then
2581 echo $ac_n "checking for function ..ng prefix""... $ac_c" 1>&6
2582 echo "configure:2583: checking for function ..ng prefix" >&5
2583 if eval "test \"`echo '$''{'libc_cv_gcc_alpha_ng_prefix'+set}'`\" = set"; then
2584 echo $ac_n "(cached) $ac_c" 1>&6
2586 cat > conftest.c
<<\EOF
2589 if { ac_try
='${CC-cc} -S conftest.c -o - | fgrep "\$foo..ng" > /dev/null'; { (eval echo configure
:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; };
2591 libc_cv_gcc_alpha_ng_prefix
=yes
2593 libc_cv_gcc_alpha_ng_prefix
=no
2598 echo "$ac_t""$libc_cv_gcc_alpha_ng_prefix" 1>&6
2599 if test $libc_cv_gcc_alpha_ng_prefix = yes ; then
2600 cat >> confdefs.h
<<\EOF
2601 #define ASM_ALPHA_NG_SYMBOL_PREFIX "$"
2605 cat >> confdefs.h
<<\EOF
2606 #define ASM_ALPHA_NG_SYMBOL_PREFIX ""
2612 if test "$host_cpu" = powerpc
; then
2613 # Check for a bug present in at least versions 2.8.x of GCC
2614 # and versions 1.0.x of EGCS.
2615 echo $ac_n "checking whether clobbering cr0 causes problems""... $ac_c" 1>&6
2616 echo "configure:2617: checking whether clobbering cr0 causes problems" >&5
2617 if eval "test \"`echo '$''{'libc_cv_c_asmcr0_bug'+set}'`\" = set"; then
2618 echo $ac_n "(cached) $ac_c" 1>&6
2620 cat > conftest.
$ac_ext <<EOF
2621 #line 2622 "configure"
2622 #include "confdefs.h"
2623 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
2628 if { (eval echo configure
:2629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2630 libc_cv_c_asmcr0_bug
='no'
2632 echo "configure: failed program was:" >&5
2633 cat conftest.
$ac_ext >&5
2635 libc_cv_c_asmcr0_bug
='yes'
2640 echo "$ac_t""$libc_cv_c_asmcr0_bug" 1>&6
2641 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
2642 cat >> confdefs.h
<<\EOF
2643 #define BROKEN_PPC_ASM_CR0 1
2649 echo $ac_n "checking for DWARF2 unwind info support""... $ac_c" 1>&6
2650 echo "configure:2651: checking for DWARF2 unwind info support" >&5
2651 if eval "test \"`echo '$''{'libc_cv_gcc_dwarf2_unwind_info'+set}'`\" = set"; then
2652 echo $ac_n "(cached) $ac_c" 1>&6
2654 cat > conftest.c
<<EOF
2655 #line 2656 "configure"
2656 static char __EH_FRAME_BEGIN__;
2659 #ifdef CHECK__register_frame
2660 __register_frame (__EH_FRAME_BEGIN__);
2661 __deregister_frame (__EH_FRAME_BEGIN__);
2663 #ifdef CHECK__register_frame_info
2664 __register_frame_info (__EH_FRAME_BEGIN__);
2665 __deregister_frame_info (__EH_FRAME_BEGIN__);
2670 /* FIXME: this is fragile. */
2680 if { ac_try
='${CC-cc} $CFLAGS -DCHECK__register_frame_info
2681 -nostdlib -nostartfiles
2682 -o conftest conftest.c -lgcc >&5'; { (eval echo configure
:2683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2683 libc_cv_gcc_dwarf2_unwind_info
=static
2685 libc_cv_gcc_dwarf2_unwind_info
=no
2687 if test $libc_cv_gcc_dwarf2_unwind_info = no
; then
2688 if { ac_try
='${CC-cc} $CFLAGS -DCHECK__register_frame
2689 -nostdlib -nostartfiles
2690 -o conftest conftest.c -lgcc >&5'; { (eval echo configure
:2691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2691 libc_cv_gcc_dwarf2_unwind_info
=yes
2693 libc_cv_gcc_dwarf2_unwind_info
=no
2699 echo "$ac_t""$libc_cv_gcc_dwarf2_unwind_info" 1>&6
2700 case $libc_cv_gcc_dwarf2_unwind_info in
2702 cat >> confdefs.h
<<\EOF
2703 #define HAVE_DWARF2_UNWIND_INFO 1
2708 cat >> confdefs.h
<<\EOF
2709 #define HAVE_DWARF2_UNWIND_INFO 1
2712 cat >> confdefs.h
<<\EOF
2713 #define HAVE_DWARF2_UNWIND_INFO_STATIC 1
2719 ### End of automated tests.
2720 ### Now run sysdeps configure fragments.
2722 # sysdeps configure fragments may set these with files to be linked below.
2726 # They also can set these variables.
2727 ldd_rewrite_script
=no
2729 # Iterate over all the sysdep directories we will use, running their
2730 # configure fragments, and looking for a uname implementation.
2732 for dir
in $sysnames; do
2735 *) dest
=$srcdir/$dir ;;
2737 if test -r $dest/configure
; then
2738 echo "$ac_t""running configure fragment for $dest" 1>&6
2742 if test -z "$uname"; then
2743 if test -r $dest/uname.c ||
2744 test -r $dest/uname.S ||
2745 { test -r $dest/syscalls.list
&&
2746 grep '^uname[ ]' $dest/syscalls.list
>/dev
/null
; }; then
2754 # If we will use the generic uname implementation, we must figure out what
2755 # it will say by examining the system, and write the results in config-name.h.
2756 if test "$uname" = "sysdeps/generic"; then
2758 uname_sysname
=`echo $config_os | sed 's/[0-9.]*$//'`
2759 if test $uname_sysname != $config_os; then
2760 config_release
=`echo $config_os | sed s/$uname_sysname//`
2763 echo $ac_n "checking OS release for uname""... $ac_c" 1>&6
2764 echo "configure:2765: checking OS release for uname" >&5
2765 if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then
2766 echo $ac_n "(cached) $ac_c" 1>&6
2768 kernel_release
=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
2769 if test x
`echo "$config_release" | sed "s/^$kernel_release//"` \
2770 != x
$config_release; then
2771 # The configuration release is a substring of the kernel release.
2772 libc_cv_uname_release
=$kernel_release
2773 elif test x
$config_release != x
; then
2774 libc_cv_uname_release
=$config_release
2775 elif test x
$kernel_release != x
; then
2776 libc_cv_uname_release
=$kernel_release
2778 libc_cv_uname_release
=unknown
2782 echo "$ac_t""$libc_cv_uname_release" 1>&6
2783 uname_release
="$libc_cv_uname_release"
2785 echo $ac_n "checking OS version for uname""... $ac_c" 1>&6
2786 echo "configure:2787: checking OS version for uname" >&5
2787 if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then
2788 echo $ac_n "(cached) $ac_c" 1>&6
2790 kernel_version
=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
2791 if test -n "$kernel_version"; then
2792 libc_cv_uname_version
="$kernel_version"
2794 libc_cv_uname_version
=unknown
2798 echo "$ac_t""$libc_cv_uname_version" 1>&6
2799 uname_version
="$libc_cv_uname_version"
2801 config_uname
=config-name.h
:config-name.
in
2803 # For non-generic uname, we don't need to create config-name.h at all.
2807 echo $ac_n "checking stdio selection""... $ac_c" 1>&6
2808 echo "configure:2809: checking stdio selection" >&5
2811 libio
) cat >> confdefs.h
<<\EOF
2812 #define USE_IN_LIBIO 1
2815 default
) stdio
=stdio
;;
2817 echo "$ac_t""$stdio" 1>&6
2819 # Test for old glibc 2.0.x headers so that they can be removed properly
2820 # Search only in includedir.
2821 echo $ac_n "checking for old glibc 2.0.x headers""... $ac_c" 1>&6
2822 echo "configure:2823: checking for old glibc 2.0.x headers" >&5
2823 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
2825 old_glibc_headers
=yes
2827 old_glibc_headers
=no
2829 echo "$ac_t""$old_glibc_headers" 1>&6
2830 if test ${old_glibc_headers} = yes; then
2831 echo "configure: warning: *** During \"make install\" old headers from glibc 2.0.x will" 1>&2
2832 echo "configure: warning: *** be removed." 1>&2
2844 if test $gnu_ld = yes; then
2845 cat >> confdefs.h
<<\EOF
2846 #define HAVE_GNU_LD 1
2850 if test $gnu_as = yes; then
2851 cat >> confdefs.h
<<\EOF
2852 #define HAVE_GNU_AS 1
2856 if test $elf = yes; then
2857 cat >> confdefs.h
<<\EOF
2865 if test $shared = default
; then
2866 if test $gnu_ld = yes; then
2869 # For now we do not assume shared libs are available. In future more
2870 # tests might become available.
2875 echo $ac_n "checking whether -fPIC is default""... $ac_c" 1>&6
2876 echo "configure:2877: checking whether -fPIC is default" >&5
2877 if eval "test \"`echo '$''{'pic_default'+set}'`\" = set"; then
2878 echo $ac_n "(cached) $ac_c" 1>&6
2881 cat > conftest.c
<<EOF
2882 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
2883 # error PIC is default.
2886 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
2892 echo "$ac_t""$pic_default" 1>&6
2904 *door
*) linux_doors
=yes ;;
2905 *) linux_doors
=no
;;
2909 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
2912 config_makefile
=Makefile
2915 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
2916 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
2921 cat > confcache
<<\EOF
2922 # This file is a shell script that caches the results of configure
2923 # tests run on this system so they can be shared between configure
2924 # scripts and configure runs. It is not useful on other systems.
2925 # If it contains results you don't want to keep, you may remove or edit it.
2927 # By default, configure uses ./config.cache as the cache file,
2928 # creating it if it does not exist already. You can give configure
2929 # the --cache-file=FILE option to use a different cache file; that is
2930 # what configure does when it calls configure scripts in
2931 # subdirectories, so they share the cache.
2932 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2933 # config.status only pays attention to the cache file if you give it the
2934 # --recheck option to rerun configure.
2937 # The following way of writing the cache mishandles newlines in values,
2938 # but we know of no workaround that is simple, portable, and efficient.
2939 # So, don't put newlines in cache variables' values.
2940 # Ultrix sh set writes to stderr and can't be redirected directly,
2941 # and sets the high bit in the cache file unless we assign to the vars.
2943 case `(ac_space=' '; set) 2>&1 | grep ac_space` in
2945 # `set' does not quote correctly, so add quotes (double-quote substitution
2946 # turns \\\\ into \\, and sed turns \\ into \).
2948 -e "s/'/'\\\\''/g" \
2949 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2952 # `set' quotes correctly as required by POSIX, so do not add quotes.
2953 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2956 if cmp -s $cache_file confcache
; then
2959 if test -w $cache_file; then
2960 echo "updating cache $cache_file"
2961 cat confcache
> $cache_file
2963 echo "not updating unwritable cache $cache_file"
2968 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2970 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2971 # Let make expand exec_prefix.
2972 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2974 # Any assignment to VPATH causes Sun make to only execute
2975 # the first set of double-colon rules, so remove it if not needed.
2976 # If there is a colon in the path, we need to keep it.
2977 if test "x$srcdir" = x.
; then
2978 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2981 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2983 DEFS
=-DHAVE_CONFIG_H
2985 # Without the "./", some shells look in PATH for config.status.
2986 : ${CONFIG_STATUS=./config.status}
2988 echo creating
$CONFIG_STATUS
2989 rm -f $CONFIG_STATUS
2990 cat > $CONFIG_STATUS <<EOF
2992 # Generated automatically by configure.
2993 # Run this file to recreate the current configuration.
2994 # This directory was configured as follows,
2995 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2997 # $0 $ac_configure_args
2999 # Compiler output produced by configure, useful for debugging
3000 # configure, is in ./config.log if it exists.
3002 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3005 case "\$ac_option" in
3006 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3007 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3008 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3009 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3010 echo "$CONFIG_STATUS generated by autoconf version 2.12.2"
3012 -help | --help | --hel | --he | --h)
3013 echo "\$ac_cs_usage"; exit 0 ;;
3014 *) echo "\$ac_cs_usage"; exit 1 ;;
3018 ac_given_srcdir=$srcdir
3019 ac_given_INSTALL="$INSTALL"
3021 trap 'rm -fr `echo "config.make glibcbug ${config_makefile} ${config_uname} config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3023 cat >> $CONFIG_STATUS <<EOF
3025 # Protect against being on the right side of a sed subst in config.status.
3026 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3027 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3031 s%@CFLAGS@%$CFLAGS%g
3032 s%@CPPFLAGS@%$CPPFLAGS%g
3033 s%@CXXFLAGS@%$CXXFLAGS%g
3035 s%@LDFLAGS@%$LDFLAGS%g
3037 s%@exec_prefix@%$exec_prefix%g
3038 s%@prefix@%$prefix%g
3039 s%@program_transform_name@%$program_transform_name%g
3040 s%@bindir@%$bindir%g
3041 s%@sbindir@%$sbindir%g
3042 s%@libexecdir@%$libexecdir%g
3043 s%@datadir@%$datadir%g
3044 s%@sysconfdir@%$sysconfdir%g
3045 s%@sharedstatedir@%$sharedstatedir%g
3046 s%@localstatedir@%$localstatedir%g
3047 s%@libdir@%$libdir%g
3048 s%@includedir@%$includedir%g
3049 s%@oldincludedir@%$oldincludedir%g
3050 s%@infodir@%$infodir%g
3051 s%@mandir@%$mandir%g
3052 s%@with_cvs@%$with_cvs%g
3053 s%@subdirs@%$subdirs%g
3054 s%@force_install@%$force_install%g
3056 s%@host_alias@%$host_alias%g
3057 s%@host_cpu@%$host_cpu%g
3058 s%@host_vendor@%$host_vendor%g
3059 s%@host_os@%$host_os%g
3060 s%@base_machine@%$base_machine%g
3061 s%@sysnames@%$sysnames%g
3062 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3063 s%@INSTALL_DATA@%$INSTALL_DATA%g
3066 s%@build_alias@%$build_alias%g
3067 s%@build_cpu@%$build_cpu%g
3068 s%@build_vendor@%$build_vendor%g
3069 s%@build_os@%$build_os%g
3072 s%@MSGFMT@%$MSGFMT%g
3073 s%@MAKEINFO@%$MAKEINFO%g
3074 s%@cross_linkable@%$cross_linkable%g
3075 s%@BUILD_CC@%$BUILD_CC%g
3076 s%@cross_compiling@%$cross_compiling%g
3079 s%@RANLIB@%$RANLIB%g
3081 s%@SYSINCLUDES@%$SYSINCLUDES%g
3083 s%@libc_cv_have_bash2@%$libc_cv_have_bash2%g
3085 s%@libc_cv_have_ksh@%$libc_cv_have_ksh%g
3088 s%@VERSIONING@%$VERSIONING%g
3089 s%@libc_cv_have_initfini@%$libc_cv_have_initfini%g
3090 s%@no_whole_archive@%$no_whole_archive%g
3091 s%@exceptions@%$exceptions%g
3092 s%@uname_sysname@%$uname_sysname%g
3093 s%@uname_release@%$uname_release%g
3094 s%@uname_version@%$uname_version%g
3096 s%@old_glibc_headers@%$old_glibc_headers%g
3097 s%@libc_cv_slibdir@%$libc_cv_slibdir%g
3098 s%@libc_cv_sysconfdir@%$libc_cv_sysconfdir%g
3099 s%@libc_cv_rootsbindir@%$libc_cv_rootsbindir%g
3100 s%@has_ldconfig@%$has_ldconfig%g
3101 s%@ldd_rewrite_script@%$ldd_rewrite_script%g
3102 s%@gnu_ld@%$gnu_ld%g
3103 s%@gnu_as@%$gnu_as%g
3105 s%@static@%$static%g
3106 s%@shared@%$shared%g
3107 s%@pic_default@%$pic_default%g
3108 s%@profile@%$profile%g
3109 s%@omitfp@%$omitfp%g
3110 s%@bounded@%$bounded%g
3111 s%@static_nss@%$static_nss%g
3112 s%@nopic_initfini@%$nopic_initfini%g
3113 s%@DEFINES@%$DEFINES%g
3114 s%@linux_doors@%$linux_doors%g
3115 s%@VERSION@%$VERSION%g
3116 s%@RELEASE@%$RELEASE%g
3121 cat >> $CONFIG_STATUS <<\EOF
3123 # Split the substitutions into bite-sized pieces for seds with
3124 # small command number limits, like on Digital OSF/1 and HP-UX.
3125 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
3126 ac_file
=1 # Number of current file.
3127 ac_beg
=1 # First line for current file.
3128 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
3131 while $ac_more_lines; do
3132 if test $ac_beg -gt 1; then
3133 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
3135 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
3137 if test ! -s conftest.s
$ac_file; then
3139 rm -f conftest.s
$ac_file
3141 if test -z "$ac_sed_cmds"; then
3142 ac_sed_cmds
="sed -f conftest.s$ac_file"
3144 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
3146 ac_file
=`expr $ac_file + 1`
3148 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
3151 if test -z "$ac_sed_cmds"; then
3156 cat >> $CONFIG_STATUS <<EOF
3158 CONFIG_FILES=\${CONFIG_FILES-"config.make glibcbug ${config_makefile} ${config_uname}"}
3160 cat >> $CONFIG_STATUS <<\EOF
3161 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
3162 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3164 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3165 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3166 *) ac_file_in
="${ac_file}.in" ;;
3169 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3171 # Remove last slash and all that follows it. Not all systems have dirname.
3172 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3173 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3174 # The file is in a subdirectory.
3175 test ! -d "$ac_dir" && mkdir
"$ac_dir"
3176 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
3177 # A "../" for each directory in $ac_dir_suffix.
3178 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3180 ac_dir_suffix
= ac_dots
=
3183 case "$ac_given_srcdir" in
3185 if test -z "$ac_dots"; then top_srcdir
=.
3186 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3187 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
3189 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3190 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
3193 case "$ac_given_INSTALL" in
3194 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
3195 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
3198 echo creating
"$ac_file"
3200 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3202 *Makefile
*) ac_comsub
="1i\\
3203 # $configure_input" ;;
3207 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3209 s%@configure_input@%$configure_input%g
3210 s%@srcdir@%$srcdir%g
3211 s%@top_srcdir@%$top_srcdir%g
3212 s%@INSTALL@%$INSTALL%g
3213 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
3217 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3218 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3220 # ac_d sets the value in "#define NAME VALUE" lines.
3221 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3222 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
3225 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3226 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3227 ac_uB
='\([ ]\)%\1#\2define\3'
3230 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3231 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3232 ac_eB
='$%\1#\2define\3'
3236 if test "${CONFIG_HEADERS+set}" != set; then
3238 cat >> $CONFIG_STATUS <<EOF
3239 CONFIG_HEADERS="config.h"
3241 cat >> $CONFIG_STATUS <<\EOF
3243 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
3244 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3246 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3247 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3248 *) ac_file_in
="${ac_file}.in" ;;
3251 echo creating
$ac_file
3253 rm -f conftest.frag conftest.
in conftest.out
3254 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3255 cat $ac_file_inputs > conftest.
in
3259 # Transform confdefs.h into a sed script conftest.vals that substitutes
3260 # the proper values into config.h.in to produce config.h. And first:
3261 # Protect against being on the right side of a sed subst in config.status.
3262 # Protect against being in an unquoted here document in config.status.
3264 cat > conftest.hdr
<<\EOF
3267 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3271 sed -n -f conftest.hdr confdefs.h > conftest.vals
3274 # This sed command replaces #undef with comments. This is necessary, for
3275 # example, in the case of _POSIX_SOURCE, which is predefined and required
3276 # on some systems where configure will not decide to define it.
3277 cat >> conftest.vals <<\EOF
3278 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3281 # Break up conftest.vals because some shells have a limit on
3282 # the size of here documents, and old seds have small limits too.
3287 ac_lines=`grep -c . conftest.vals
`
3288 # grep -c gives empty output for an empty file on some AIX systems.
3289 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3290 # Write a limited-size here document to conftest.frag.
3291 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3292 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3294 sed -f conftest.frag conftest.in > conftest.out
3296 mv conftest.out conftest.in
3298 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3300 mv conftest.tail conftest.vals
3304 cat >> $CONFIG_STATUS <<\EOF
3305 rm -f conftest.frag conftest.h
3306 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3307 cat conftest.in >> conftest.h
3309 if cmp -s $ac_file conftest.h 2>/dev/null; then
3310 echo "$ac_file is unchanged"
3313 # Remove last slash and all that follows it. Not all systems have dirname.
3314 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3315 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3316 # The file is in a subdirectory.
3317 test ! -d "$ac_dir" && mkdir "$ac_dir"
3320 mv conftest.h $ac_file
3326 cat >> $CONFIG_STATUS <<EOF
3327 ac_sources="`echo $libc_link_sources`"
3328 ac_dests="`echo $libc_link_dests`"
3331 cat >> $CONFIG_STATUS <<\EOF
3332 srcdir=$ac_given_srcdir
3333 while test -n "$ac_sources"; do
3334 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
3335 set $ac_sources; ac_source=$1; shift; ac_sources=$*
3337 echo "linking $srcdir/$ac_source to $ac_dest"
3339 if test ! -r $srcdir/$ac_source; then
3340 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
3344 # Make relative symlinks.
3345 # Remove last slash and all that follows it. Not all systems have dirname.
3346 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
3347 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
3348 # The dest file is in a subdirectory.
3349 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
3350 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
3351 # A "../" for each directory in $ac_dest_dir_suffix.
3352 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
3354 ac_dest_dir_suffix= ac_dots=
3358 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
3359 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
3362 # Make a symlink if possible; otherwise try a hard link.
3363 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
3364 ln $srcdir/$ac_source $ac_dest; then :
3366 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
3370 cat >> $CONFIG_STATUS <<EOF
3371 config_vars='$config_vars'
3373 cat >> $CONFIG_STATUS <<\EOF
3375 case $CONFIG_FILES in *config.make*)
3376 echo "$config_vars" >> config.make;;
3378 test -d bits || mkdir bits
3381 chmod +x $CONFIG_STATUS
3382 rm -fr confdefs* $ac_clean_files
3383 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3385 if test "$no_recursion" != yes; then
3387 # Remove --cache-file and --srcdir arguments so they do not pile up.
3388 ac_sub_configure_args=
3390 for ac_arg in $ac_configure_args; do
3391 if test -n "$ac_prev"; then
3396 -cache-file | --cache-file | --cache-fil | --cache-fi \
3397 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3398 ac_prev=cache_file ;;
3399 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3400 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3402 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3404 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3406 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3410 for ac_config_dir in $add_ons; do
3412 # Do not complain, so a configure script can configure whichever
3413 # parts of a large source tree are present.
3414 if test ! -d $srcdir/$ac_config_dir; then
3418 echo configuring in $ac_config_dir
3423 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3425 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3433 # A "../" for each directory in /$ac_config_dir.
3434 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3437 .) # No --srcdir option. We are building in place.
3438 ac_sub_srcdir=$srcdir ;;
3439 /*) # Absolute path.
3440 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3442 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3445 # Check for guested configure; otherwise get Cygnus style configure.
3446 if test -f $ac_sub_srcdir/configure; then
3447 ac_sub_configure=$ac_sub_srcdir/configure
3448 elif test -f $ac_sub_srcdir/configure.in; then
3449 ac_sub_configure=$ac_configure
3451 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3455 # The recursion is here.
3456 if test -n "$ac_sub_configure"; then
3458 # Make the cache file name correct relative to the subdirectory.
3459 case "$cache_file" in
3460 /*) ac_sub_cache_file=$cache_file ;;
3462 ac_sub_cache_file="$ac_dots$cache_file" ;;
3464 case "$ac_given_INSTALL" in
3465 [/$]*) INSTALL="$ac_given_INSTALL" ;;
3466 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3469 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3470 # The eval makes quoting arguments work.
3471 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3474 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }