3 # From configure.in CVSid
8 # Guess values for system-dependent variables and create Makefiles.
9 # Generated automatically using autoconf version 2.12
10 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
17 ac_default_prefix
=/usr
/local
18 # Any additions from configure.in:
20 --with-gmp=DIRECTORY find GMP source code in DIRECTORY (not needed)"
22 --with-gettext=DIR find GNU gettext source code in DIR (not needed)"
24 --with-fp if using floating-point hardware [default=yes]"
26 --with-gnu-binutils if using GNU binutils (as and ld)"
28 --with-gnu-ld if using GNU ld (in the binutils package)"
30 --with-gnu-as if using GNU as (in the binutils package)"
32 --with-elf if using the ELF object format"
34 --enable-libio build in GNU libio instead of GNU stdio"
36 --disable-sanity-checks really do not use threads (should not be used
37 except in special situations) [default=yes]"
39 --enable-shared build shared library [default=yes if GNU ld & ELF]"
41 --enable-profile build profiled library [default=yes]"
43 --enable-omitfp build undebuggable optimized library [default=no]"
45 --enable-bounded build with runtime bounds checking [default=no]"
47 --enable-add-ons=DIR... configure and build named extra directories"
49 --enable-static-nss build static NSS modules [default=no]"
51 # Initialize some variables set by options.
52 # The variables have the same names as the options, with
53 # dashes changed to underlines.
55 cache_file
=.
/config.cache
64 program_transform_name
=s
,x
,x
,
72 bindir
='${exec_prefix}/bin'
73 sbindir
='${exec_prefix}/sbin'
74 libexecdir
='${exec_prefix}/libexec'
75 datadir
='${prefix}/share'
76 sysconfdir
='${prefix}/etc'
77 sharedstatedir
='${prefix}/com'
78 localstatedir
='${prefix}/var'
79 libdir
='${exec_prefix}/lib'
80 includedir
='${prefix}/include'
81 oldincludedir
='/usr/include'
82 infodir
='${prefix}/info'
83 mandir
='${prefix}/man'
85 # Initialize some other variables.
88 # Maximum number of lines to put in a shell here document.
95 # If the previous option needs an argument, assign it.
96 if test -n "$ac_prev"; then
97 eval "$ac_prev=\$ac_option"
103 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
107 # Accept the important Cygnus configure options, so we can diagnose typos.
111 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
113 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
114 bindir
="$ac_optarg" ;;
116 -build |
--build |
--buil |
--bui |
--bu)
118 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
119 build
="$ac_optarg" ;;
121 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
122 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
123 ac_prev
=cache_file
;;
124 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
125 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
126 cache_file
="$ac_optarg" ;;
128 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
130 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
132 datadir
="$ac_optarg" ;;
134 -disable-* |
--disable-*)
135 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
136 # Reject names that are not valid shell variable names.
137 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
138 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
140 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
141 eval "enable_${ac_feature}=no" ;;
143 -enable-* |
--enable-*)
144 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
145 # Reject names that are not valid shell variable names.
146 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
147 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
149 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
154 eval "enable_${ac_feature}='$ac_optarg'" ;;
156 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
157 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
158 |
--exec |
--exe |
--ex)
159 ac_prev
=exec_prefix
;;
160 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
161 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
162 |
--exec=* |
--exe=* |
--ex=*)
163 exec_prefix
="$ac_optarg" ;;
165 -gas |
--gas |
--ga |
--g)
166 # Obsolete; use --with-gas.
169 -help |
--help |
--hel |
--he)
170 # Omit some internal or obsolete options to make the list less imposing.
171 # This message is too long to be a string in the A/UX 3.1 sh.
173 Usage: configure [options] [host]
174 Options: [defaults in brackets after descriptions]
176 --cache-file=FILE cache test results in FILE
177 --help print this message
178 --no-create do not create output files
179 --quiet, --silent do not print \`checking...' messages
180 --version print the version of autoconf that created configure
181 Directory and file names:
182 --prefix=PREFIX install architecture-independent files in PREFIX
184 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
186 --bindir=DIR user executables in DIR [EPREFIX/bin]
187 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
188 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
189 --datadir=DIR read-only architecture-independent data in DIR
191 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
192 --sharedstatedir=DIR modifiable architecture-independent data in DIR
194 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
195 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
196 --includedir=DIR C header files in DIR [PREFIX/include]
197 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
198 --infodir=DIR info documentation in DIR [PREFIX/info]
199 --mandir=DIR man documentation in DIR [PREFIX/man]
200 --srcdir=DIR find the sources in DIR [configure dir or ..]
201 --program-prefix=PREFIX prepend PREFIX to installed program names
202 --program-suffix=SUFFIX append SUFFIX to installed program names
203 --program-transform-name=PROGRAM
204 run sed PROGRAM on installed program names
208 --build=BUILD configure for building on BUILD [BUILD=HOST]
209 --host=HOST configure for HOST [guessed]
210 --target=TARGET configure for TARGET [TARGET=HOST]
211 Features and packages:
212 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
213 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
214 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
215 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
216 --x-includes=DIR X include files are in DIR
217 --x-libraries=DIR X library files are in DIR
219 if test -n "$ac_help"; then
220 echo "--enable and --with options recognized:$ac_help"
224 -host |
--host |
--hos |
--ho)
226 -host=* |
--host=* |
--hos=* |
--ho=*)
229 -includedir |
--includedir |
--includedi |
--included |
--include \
230 |
--includ |
--inclu |
--incl |
--inc)
231 ac_prev
=includedir
;;
232 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
233 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
234 includedir
="$ac_optarg" ;;
236 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
238 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
239 infodir
="$ac_optarg" ;;
241 -libdir |
--libdir |
--libdi |
--libd)
243 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
244 libdir
="$ac_optarg" ;;
246 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
247 |
--libexe |
--libex |
--libe)
248 ac_prev
=libexecdir
;;
249 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
250 |
--libexe=* |
--libex=* |
--libe=*)
251 libexecdir
="$ac_optarg" ;;
253 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
254 |
--localstate |
--localstat |
--localsta |
--localst \
255 |
--locals |
--local |
--loca |
--loc |
--lo)
256 ac_prev
=localstatedir
;;
257 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
258 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
259 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
260 localstatedir
="$ac_optarg" ;;
262 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
264 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
265 mandir
="$ac_optarg" ;;
268 # Obsolete; use --without-fp.
271 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
275 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
276 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
279 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
280 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
281 |
--oldin |
--oldi |
--old |
--ol |
--o)
282 ac_prev
=oldincludedir
;;
283 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
284 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
285 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
286 oldincludedir
="$ac_optarg" ;;
288 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
290 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
291 prefix
="$ac_optarg" ;;
293 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
294 |
--program-pre |
--program-pr |
--program-p)
295 ac_prev
=program_prefix
;;
296 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
297 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
298 program_prefix
="$ac_optarg" ;;
300 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
301 |
--program-suf |
--program-su |
--program-s)
302 ac_prev
=program_suffix
;;
303 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
304 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
305 program_suffix
="$ac_optarg" ;;
307 -program-transform-name |
--program-transform-name \
308 |
--program-transform-nam |
--program-transform-na \
309 |
--program-transform-n |
--program-transform- \
310 |
--program-transform |
--program-transfor \
311 |
--program-transfo |
--program-transf \
312 |
--program-trans |
--program-tran \
313 |
--progr-tra |
--program-tr |
--program-t)
314 ac_prev
=program_transform_name
;;
315 -program-transform-name=* |
--program-transform-name=* \
316 |
--program-transform-nam=* |
--program-transform-na=* \
317 |
--program-transform-n=* |
--program-transform-=* \
318 |
--program-transform=* |
--program-transfor=* \
319 |
--program-transfo=* |
--program-transf=* \
320 |
--program-trans=* |
--program-tran=* \
321 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
322 program_transform_name
="$ac_optarg" ;;
324 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
325 |
-silent |
--silent |
--silen |
--sile |
--sil)
328 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
330 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
332 sbindir
="$ac_optarg" ;;
334 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
335 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
336 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
338 ac_prev
=sharedstatedir
;;
339 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
340 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
341 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
343 sharedstatedir
="$ac_optarg" ;;
345 -site |
--site |
--sit)
347 -site=* |
--site=* |
--sit=*)
350 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
352 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
353 srcdir
="$ac_optarg" ;;
355 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
356 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
357 ac_prev
=sysconfdir
;;
358 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
359 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
360 sysconfdir
="$ac_optarg" ;;
362 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
364 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
365 target
="$ac_optarg" ;;
367 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
370 -version |
--version |
--versio |
--versi |
--vers)
371 echo "configure generated by autoconf version 2.12"
375 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
376 # Reject names that are not valid shell variable names.
377 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
378 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
380 ac_package
=`echo $ac_package| sed 's/-/_/g'`
385 eval "with_${ac_package}='$ac_optarg'" ;;
387 -without-* |
--without-*)
388 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
389 # Reject names that are not valid shell variable names.
390 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
391 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
393 ac_package
=`echo $ac_package| sed 's/-/_/g'`
394 eval "with_${ac_package}=no" ;;
397 # Obsolete; use --with-x.
400 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
401 |
--x-incl |
--x-inc |
--x-in |
--x-i)
402 ac_prev
=x_includes
;;
403 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
404 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
405 x_includes
="$ac_optarg" ;;
407 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
408 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
409 ac_prev
=x_libraries
;;
410 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
411 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
412 x_libraries
="$ac_optarg" ;;
414 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
418 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
419 echo "configure: warning: $ac_option: invalid host type" 1>&2
421 if test "x$nonopt" != xNONE
; then
422 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
430 if test -n "$ac_prev"; then
431 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
434 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
436 # File descriptor usage:
439 # 2 errors and warnings
440 # 3 some systems may open it to /dev/tty
441 # 4 used on the Kubota Titan
442 # 6 checking for... messages and results
443 # 5 compiler messages saved in config.log
444 if test "$silent" = yes; then
452 This file contains any messages produced by compilers while
453 running configure, to aid debugging if configure makes a mistake.
456 # Strip out --no-create and --no-recursion so they do not pile up.
457 # Also quote any args containing shell metacharacters.
462 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
463 |
--no-cr |
--no-c) ;;
464 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
465 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
466 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
467 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
468 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
473 # Only set these to C if already set. These must not be set unconditionally
474 # because not all systems understand e.g. LANG=C (notably SCO).
475 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
476 # Non-C LC_CTYPE values break the ctype check.
477 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
478 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
479 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
480 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
482 # confdefs.h avoids OS command line length limits that DEFS can exceed.
483 rm -rf conftest
* confdefs.h
484 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
487 # A filename unique to this package, relative to the directory that
488 # configure is in, which we can look for to find out if srcdir is correct.
489 ac_unique_file
=include
/features.h
491 # Find the source files, if location was not specified.
492 if test -z "$srcdir"; then
493 ac_srcdir_defaulted
=yes
494 # Try the directory containing this script, then its parent.
496 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
497 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
499 if test ! -r $srcdir/$ac_unique_file; then
503 ac_srcdir_defaulted
=no
505 if test ! -r $srcdir/$ac_unique_file; then
506 if test "$ac_srcdir_defaulted" = yes; then
507 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
509 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
512 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
514 # Prefer explicitly selected file to automatically selected ones.
515 if test -z "$CONFIG_SITE"; then
516 if test "x$prefix" != xNONE
; then
517 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
519 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
522 for ac_site_file
in $CONFIG_SITE; do
523 if test -r "$ac_site_file"; then
524 echo "loading site script $ac_site_file"
529 if test -r "$cache_file"; then
530 echo "loading cache $cache_file"
533 echo "creating cache $cache_file"
538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
539 ac_cpp
='$CPP $CPPFLAGS'
540 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
541 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
542 cross_compiling
=$ac_cv_prog_cc_cross
544 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
545 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
546 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
553 ac_n
= ac_c
='\c' ac_t
=
556 if test -r /vmunix
; then
557 kernel_id
=`strings /vmunix | grep UNIX`
558 elif test -r /dynix
; then
559 kernel_id
=`strings /dynix | grep DYNIX`
567 # This will get text that should go into config.make.
570 # Check for a --with-gmp argument and set gmp-srcdir in config.make.
571 # Check whether --with-gmp or --without-gmp was given.
572 if test "${with_gmp+set}" = set; then
575 yes) { echo "configure: error: --with-gmp requires an argument; use --with-gmp=DIRECTORY" 1>&2; exit 1; } ;;
577 *) config_vars
="$config_vars
578 gmp-srcdir = $withval" ;;
583 # Check for a --with-gettext argument and set gettext-srcdir in config.make.
584 # Check whether --with-gettext or --without-gettext was given.
585 if test "${with_gettext+set}" = set; then
586 withval
="$with_gettext"
587 case "$with_gettext" in
589 { echo "configure: error: --with-gettext requires an argument; use --with-gettext=DIR" 1>&2; exit 1; } ;;
592 config_vars
="$config_vars
593 gettext-srcdir = $withval" ;;
599 # Check whether --with-fp or --without-fp was given.
600 if test "${with_fp+set}" = set; then
607 # Check whether --with-gnu-binutils or --without-gnu-binutils was given.
608 if test "${with_gnu_binutils+set}" = set; then
609 withval
="$with_gnu_binutils"
610 gnu_binutils
=$withval
615 # Check whether --with-gnu-ld or --without-gnu-ld was given.
616 if test "${with_gnu_ld+set}" = set; then
617 withval
="$with_gnu_ld"
623 # Check whether --with-gnu-as or --without-gnu-as was given.
624 if test "${with_gnu_as+set}" = set; then
625 withval
="$with_gnu_as"
631 test $gnu_binutils = yes && gnu_as
=yes gnu_ld
=yes
632 # Check whether --with-elf or --without-elf was given.
633 if test "${with_elf+set}" = set; then
641 # Check whether --enable-libio or --disable-libio was given.
642 if test "${enable_libio+set}" = set; then
643 enableval
="$enable_libio"
644 if test $enableval = yes; then
654 # Check whether --enable-sanity-checks or --disable-sanity-checks was given.
655 if test "${enable_sanity_checks+set}" = set; then
656 enableval
="$enable_sanity_checks"
657 enable_sanity
=$enableval
663 # Check whether --enable-shared or --disable-shared was given.
664 if test "${enable_shared+set}" = set; then
665 enableval
="$enable_shared"
671 # Check whether --enable-profile or --disable-profile was given.
672 if test "${enable_profile+set}" = set; then
673 enableval
="$enable_profile"
679 # Check whether --enable-omitfp or --disable-omitfp was given.
680 if test "${enable_omitfp+set}" = set; then
681 enableval
="$enable_omitfp"
687 # Check whether --enable-bounded or --disable-bounded was given.
688 if test "${enable_bounded+set}" = set; then
689 enableval
="$enable_bounded"
696 # Check whether --enable-add-ons or --disable-add-ons was given.
697 if test "${enable_add_ons+set}" = set; then
698 enableval
="$enable_add_ons"
699 add_ons
=`echo "$enableval" | sed 's/,/ /g'`
705 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
706 if test -f $ac_dir/install-sh
; then
708 ac_install_sh
="$ac_aux_dir/install-sh -c"
710 elif test -f $ac_dir/install.sh
; then
712 ac_install_sh
="$ac_aux_dir/install.sh -c"
716 if test -z "$ac_aux_dir"; then
717 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
719 ac_config_guess
=$ac_aux_dir/config.guess
720 ac_config_sub
=$ac_aux_dir/config.sub
721 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
726 if test x
"$add_ons" != x
; then
727 for f
in $add_ons; do
728 add_ons_pfx
="$add_ons_pfx $f/"
732 # Check whether --enable-static-nss or --disable-static-nss was given.
733 if test "${enable_static_nss+set}" = set; then
734 enableval
="$enable_static_nss"
735 static_nss
=$enableval
740 if test x
"$static_nss" = xyes
; then
741 cat >> confdefs.h
<<\EOF
742 #define DO_STATIC_NSS 1
748 # Make sure we can run config.sub.
749 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
750 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
753 echo $ac_n "checking host system type""... $ac_c" 1>&6
754 echo "configure:755: checking host system type" >&5
757 case "$host_alias" in
761 if host_alias
=`$ac_config_guess`; then :
762 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
764 *) host_alias
=$nonopt ;;
768 host=`$ac_config_sub $host_alias`
769 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
770 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
771 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
772 echo "$ac_t""$host" 1>&6
775 # The way shlib-versions is used to generate soversions.mk uses a
776 # fairly simplistic model for name recognition that can't distinguish
777 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
778 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
779 # tell. This doesn't get used much beyond that, so it's fairly safe.
784 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
788 # We keep the original values in `$config_*' and never modify them, so we
789 # can write them unchanged into config.make. Everything else uses
790 # $machine, $vendor, and $os, and changes them whenever convenient.
791 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
793 # Some configurations imply other options.
795 gnu
* | linux
* | bsd4.4
* | netbsd
* | freebsd
*)
796 # These systems always use GNU tools.
797 gnu_ld
=yes gnu_as
=yes ;;
800 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
801 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
803 gnu
* | linux
* | sysv4
* | solaris2
*)
804 # These systems (almost) always use the ELF format.
809 machine
=$config_machine
810 vendor
=$config_vendor
813 # Expand the configuration machine name into a subdirectory by architecture
814 # type and particular chip.
816 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
817 alpha
*) base_machine
=alpha machine
=alpha
/$machine ;;
818 arm
*) base_machine
=arm machine
=arm
/$machine ;;
819 c3
[012]) base_machine
=cx0 machine
=cx
0/c30
;;
820 c4
[04]) base_machine
=cx0 machine
=cx
0/c40
;;
821 hppa
*) base_machine
=hppa machine
=hppa
/$machine ;;
822 i
[3456]86) base_machine
=i386 machine
=i386
/$machine ;;
823 m680?
0) base_machine
=m68k machine
=m68k
/$machine ;;
824 m68k
) base_machine
=m68k machine
=m68k
/m68020
;;
825 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
826 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
827 mips64
*) base_machine
=mips64 machine
=mips
/mips64
/$machine ;;
828 mips
*) base_machine
=mips machine
=mips
/$machine ;;
830 base_machine
=sparc machine
=sparc
/sparc32
;;
831 sparcv8 | supersparc | hypersparc
)
832 base_machine
=sparc machine
=sparc
/sparc32
/sparcv8
;;
833 sparc64 | ultrasparc
)
834 base_machine
=sparc machine
=sparc
/sparc64
;;
838 # Compute the list of sysdep directories for this configuration.
839 # This can take a while to compute.
840 sysdep_dir
=$srcdir/sysdeps
841 echo $ac_n "checking sysdep dirs""... $ac_c" 1>&6
842 echo "configure:843: checking sysdep dirs" >&5
843 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
844 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
849 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
850 base_os
=unix
/bsd
/bsd4.4
;;
851 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
853 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
856 base_os
=unix
/sysv
/sysv4
;;
858 base_os
=standalone
;;
863 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
866 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
870 o
=`echo $tail | sed 's/[0-9]*$//'`
871 if test $o != $tail; then
874 # For linux-gnu, try linux-gnu, then linux.
875 o
=`echo $tail | sed 's/-.*$//'`
876 if test $o != $tail; then
880 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
883 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
889 # For sparc/sparc9, try sparc/sparc9 and then sparc.
892 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
894 # Prepend the machine's FPU directory unless --without-fp.
895 if test "$with_fp" = yes; then
903 # Find what sysdep directories exist.
905 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
906 for d
in $add_ons_pfx ''; do
907 for b
in $base ''; do
908 for m0
in $mach ''; do
909 for v
in /$vendor ''; do
910 for o
in /$ostry ''; do
911 for m
in $mach ''; do
912 if test "$m0$b$v$o$m"; then
913 try
="${d}sysdeps$m0$b$v$o$m"
914 test -n "$enable_debug_configure" &&
915 echo "$0 DEBUG: try $try" >&2
918 *) dest
=$srcdir/$try ;;
920 if test -d $dest; then
921 sysnames
="$sysnames $try"
922 { test -n "$o" ||
test -n "$b"; } && os_used
=t
923 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
934 if test -z "$os_used" && test "$os" != none
; then
935 { echo "configure: error: Operating system $os is not supported." 1>&2; exit 1; }
937 if test -z "$machine_used" && test "$machine" != none
; then
938 { echo "configure: error: The $machine is not supported." 1>&2; exit 1; }
941 # We have now validated the configuration.
944 # If using ELF, look for an `elf' subdirectory of each machine directory.
945 # We prepend these rather than inserting them whereever the machine appears
946 # because things specified by the machine's ELF ABI should override
947 # OS-specific things, and should always be the same for any OS on the
948 # machine (otherwise what's the point of an ABI?).
949 if test "$elf" = yes; then
951 for d
in $add_ons_pfx ''; do
954 *) xsrcdir
=$srcdir/ ;;
957 if test -d $xsrcdir${d}sysdeps
$m/elf
; then
958 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
962 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
966 # Expand the list of system names into a full list of directories
967 # from each element's parent name and Implies file (if present).
970 while test $# -gt 0; do
974 case " $names " in *" $name "*)
975 # Already in the list.
979 # Report each name as we discover it, so there is no long pause in output.
980 echo $ac_n "$name $ac_c" >&6
982 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
986 *) xsrcdir
=$srcdir/ ;;
988 test -n "$enable_debug_configure" &&
989 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
991 if test -f $xsrcdir$name/Implies
; then
992 # Collect more names from the `Implies' file (removing comments).
993 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
995 for x
in $implied_candidate; do
996 if test -d $xsrcdir$name_base/$x; then
997 implied
="$implied $name_base/$x";
999 echo "configure: warning: $name/Implies specifies nonexistent $x" 1>&2
1006 # Add NAME to the list of names.
1007 names
="$names $name"
1009 # Find the parent of NAME, using the empty string if it has none.
1010 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
1012 # Add the names implied by NAME, and NAME's parent (if it has one), to
1013 # the list of names to be processed (the argument list). We prepend the
1014 # implied names to the list and append the parent. We want implied
1015 # directories to come before further directories inferred from the
1016 # configuration components; this ensures that for sysv4, unix/common
1017 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
1019 sysnames
="`echo $implied $* $parent`"
1020 test -n "$sysnames" && set $sysnames
1023 # Add the default directories.
1024 sysnames
="$names sysdeps/generic sysdeps/stub"
1026 # The other names were emitted during the scan.
1027 echo "$ac_t""sysdeps/generic sysdeps/stub" 1>&6
1032 # Find a good install program. We prefer a C program (faster),
1033 # so one script is as good as another. But avoid the broken or
1034 # incompatible versions:
1035 # SysV /etc/install, /usr/sbin/install
1036 # SunOS /usr/etc/install
1037 # IRIX /sbin/install
1039 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1040 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1041 # ./install, which can be erroneously created by make from ./install.sh.
1042 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1043 echo "configure:1044: checking for a BSD compatible install" >&5
1044 if test -z "$INSTALL"; then
1045 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1046 echo $ac_n "(cached) $ac_c" 1>&6
1048 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1049 for ac_dir
in $PATH; do
1050 # Account for people who put trailing slashes in PATH elements.
1052 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1054 # OSF1 and SCO ODT 3.0 have their own names for install.
1055 for ac_prog
in ginstall installbsd scoinst
install; do
1056 if test -f $ac_dir/$ac_prog; then
1057 if test $ac_prog = install &&
1058 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1059 # AIX install. It has an incompatible calling convention.
1060 # OSF/1 installbsd also uses dspmsg, but is usable.
1063 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1074 if test "${ac_cv_path_install+set}" = set; then
1075 INSTALL
="$ac_cv_path_install"
1077 # As a last resort, use the slow shell script. We don't cache a
1078 # path for INSTALL within a source directory, because that will
1079 # break other packages using the cache if that directory is
1080 # removed, or if the path is relative.
1081 INSTALL
="$ac_install_sh"
1084 echo "$ac_t""$INSTALL" 1>&6
1086 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1087 # It thinks the first close brace ends the variable substitution.
1088 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1090 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1092 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1093 # The makefiles need to use a different form to find it in $srcdir.
1094 INSTALL
='$(..)./install-sh -c'
1096 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1097 echo "configure:1098: checking whether ln -s works" >&5
1098 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1099 echo $ac_n "(cached) $ac_c" 1>&6
1102 if ln -s X conftestdata
2>/dev
/null
1105 ac_cv_prog_LN_S
="ln -s"
1110 LN_S
="$ac_cv_prog_LN_S"
1111 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1112 echo "$ac_t""yes" 1>&6
1114 echo "$ac_t""no" 1>&6
1117 for ac_prog
in msgfmt gmsgfmt
1119 # Extract the first word of "$ac_prog", so it can be a program name with args.
1120 set dummy
$ac_prog; ac_word
=$2
1121 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1122 echo "configure:1123: checking for $ac_word" >&5
1123 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
1124 echo $ac_n "(cached) $ac_c" 1>&6
1126 if test -n "$MSGFMT"; then
1127 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
1129 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1130 for ac_dir
in $PATH; do
1131 test -z "$ac_dir" && ac_dir
=.
1132 if test -f $ac_dir/$ac_word; then
1133 ac_cv_prog_MSGFMT
="$ac_prog"
1140 MSGFMT
="$ac_cv_prog_MSGFMT"
1141 if test -n "$MSGFMT"; then
1142 echo "$ac_t""$MSGFMT" 1>&6
1144 echo "$ac_t""no" 1>&6
1147 test -n "$MSGFMT" && break
1149 test -n "$MSGFMT" || MSGFMT
=":"
1152 # Extract the first word of "gcc", so it can be a program name with args.
1153 set dummy gcc
; ac_word
=$2
1154 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1155 echo "configure:1156: checking for $ac_word" >&5
1156 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1157 echo $ac_n "(cached) $ac_c" 1>&6
1159 if test -n "$CC"; then
1160 ac_cv_prog_CC
="$CC" # Let the user override the test.
1162 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1163 for ac_dir
in $PATH; do
1164 test -z "$ac_dir" && ac_dir
=.
1165 if test -f $ac_dir/$ac_word; then
1174 if test -n "$CC"; then
1175 echo "$ac_t""$CC" 1>&6
1177 echo "$ac_t""no" 1>&6
1180 if test -z "$CC"; then
1181 # Extract the first word of "cc", so it can be a program name with args.
1182 set dummy cc
; ac_word
=$2
1183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1184 echo "configure:1185: checking for $ac_word" >&5
1185 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1186 echo $ac_n "(cached) $ac_c" 1>&6
1188 if test -n "$CC"; then
1189 ac_cv_prog_CC
="$CC" # Let the user override the test.
1191 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1193 for ac_dir
in $PATH; do
1194 test -z "$ac_dir" && ac_dir
=.
1195 if test -f $ac_dir/$ac_word; then
1196 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1197 ac_prog_rejected
=yes
1205 if test $ac_prog_rejected = yes; then
1206 # We found a bogon in the path, so make sure we never use it.
1207 set dummy
$ac_cv_prog_CC
1209 if test $# -gt 0; then
1210 # We chose a different compiler from the bogus one.
1211 # However, it has the same basename, so the bogon will be chosen
1212 # first if we set CC to just the basename; use the full file name.
1214 set dummy
"$ac_dir/$ac_word" "$@"
1222 if test -n "$CC"; then
1223 echo "$ac_t""$CC" 1>&6
1225 echo "$ac_t""no" 1>&6
1228 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1231 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1232 echo "configure:1233: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1236 ac_cpp
='$CPP $CPPFLAGS'
1237 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1238 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1239 cross_compiling
=$ac_cv_prog_cc_cross
1241 cat > conftest.
$ac_ext <<EOF
1242 #line 1243 "configure"
1243 #include "confdefs.h"
1246 if { (eval echo configure
:1247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1247 ac_cv_prog_cc_works
=yes
1248 # If we can't run a trivial program, we are probably using a cross compiler.
1249 if (.
/conftest
; exit) 2>/dev
/null
; then
1250 ac_cv_prog_cc_cross
=no
1252 ac_cv_prog_cc_cross
=yes
1255 echo "configure: failed program was:" >&5
1256 cat conftest.
$ac_ext >&5
1257 ac_cv_prog_cc_works
=no
1261 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1262 if test $ac_cv_prog_cc_works = no
; then
1264 ac_cv_prog_cc_cross
=yes
1268 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1269 echo "configure:1270: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1270 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1272 cross_compiling
=$ac_cv_prog_cc_cross
1274 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1275 echo "configure:1276: checking whether we are using GNU C" >&5
1276 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1277 echo $ac_n "(cached) $ac_c" 1>&6
1279 cat > conftest.c
<<EOF
1284 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1291 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1293 if test $ac_cv_prog_gcc = yes; then
1296 cat > conftest.c
<<EOF
1297 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
1301 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1302 if test -z "$CFLAGS"; then
1306 { echo "configure: error: We require GNU CC version 2.7 or newer" 1>&2; exit 1; }
1309 { echo "configure: error: GNU libc must be compiled using GNU CC" 1>&2; exit 1; }
1312 echo $ac_n "checking build system type""... $ac_c" 1>&6
1313 echo "configure:1314: checking build system type" >&5
1316 case "$build_alias" in
1319 NONE
) build_alias
=$host_alias ;;
1320 *) build_alias
=$nonopt ;;
1324 build
=`$ac_config_sub $build_alias`
1325 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1326 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1327 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1328 echo "$ac_t""$build" 1>&6
1330 if test $host != $build; then
1331 for ac_prog
in gcc cc
1333 # Extract the first word of "$ac_prog", so it can be a program name with args.
1334 set dummy
$ac_prog; ac_word
=$2
1335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1336 echo "configure:1337: checking for $ac_word" >&5
1337 if eval "test \"`echo '$''{'ac_cv_prog_BUILD_CC'+set}'`\" = set"; then
1338 echo $ac_n "(cached) $ac_c" 1>&6
1340 if test -n "$BUILD_CC"; then
1341 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
1343 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1344 for ac_dir
in $PATH; do
1345 test -z "$ac_dir" && ac_dir
=.
1346 if test -f $ac_dir/$ac_word; then
1347 ac_cv_prog_BUILD_CC
="$ac_prog"
1354 BUILD_CC
="$ac_cv_prog_BUILD_CC"
1355 if test -n "$BUILD_CC"; then
1356 echo "$ac_t""$BUILD_CC" 1>&6
1358 echo "$ac_t""no" 1>&6
1361 test -n "$BUILD_CC" && break
1366 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1367 echo "configure:1368: checking how to run the C preprocessor" >&5
1368 # On Suns, sometimes $CPP names a directory.
1369 if test -n "$CPP" && test -d "$CPP"; then
1372 if test -z "$CPP"; then
1373 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1374 echo $ac_n "(cached) $ac_c" 1>&6
1376 # This must be in double quotes, not single quotes, because CPP may get
1377 # substituted into the Makefile and "${CC-cc}" will confuse make.
1379 # On the NeXT, cc -E runs the code through the compiler's parser,
1380 # not just through cpp.
1381 cat > conftest.
$ac_ext <<EOF
1382 #line 1383 "configure"
1383 #include "confdefs.h"
1387 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1388 { (eval echo configure
:1389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1389 ac_err
=`grep -v '^ *+' conftest.out`
1390 if test -z "$ac_err"; then
1394 echo "configure: failed program was:" >&5
1395 cat conftest.
$ac_ext >&5
1397 CPP
="${CC-cc} -E -traditional-cpp"
1398 cat > conftest.
$ac_ext <<EOF
1399 #line 1400 "configure"
1400 #include "confdefs.h"
1404 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1405 { (eval echo configure
:1406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1406 ac_err
=`grep -v '^ *+' conftest.out`
1407 if test -z "$ac_err"; then
1411 echo "configure: failed program was:" >&5
1412 cat conftest.
$ac_ext >&5
1419 ac_cv_prog_CPP
="$CPP"
1421 CPP
="$ac_cv_prog_CPP"
1423 ac_cv_prog_CPP
="$CPP"
1425 echo "$ac_t""$CPP" 1>&6
1427 if test $host != $build; then
1428 ac_tool_prefix
=${host_alias}-
1433 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1434 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1436 echo "configure:1437: checking for $ac_word" >&5
1437 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1438 echo $ac_n "(cached) $ac_c" 1>&6
1440 if test -n "$AR"; then
1441 ac_cv_prog_AR
="$AR" # Let the user override the test.
1443 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1444 for ac_dir
in $PATH; do
1445 test -z "$ac_dir" && ac_dir
=.
1446 if test -f $ac_dir/$ac_word; then
1447 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1452 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1456 if test -n "$AR"; then
1457 echo "$ac_t""$AR" 1>&6
1459 echo "$ac_t""no" 1>&6
1464 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1465 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1466 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1467 echo "configure:1468: checking for $ac_word" >&5
1468 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1469 echo $ac_n "(cached) $ac_c" 1>&6
1471 if test -n "$RANLIB"; then
1472 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1474 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1475 for ac_dir
in $PATH; do
1476 test -z "$ac_dir" && ac_dir
=.
1477 if test -f $ac_dir/$ac_word; then
1478 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1485 RANLIB
="$ac_cv_prog_RANLIB"
1486 if test -n "$RANLIB"; then
1487 echo "$ac_t""$RANLIB" 1>&6
1489 echo "$ac_t""no" 1>&6
1493 if test -z "$ac_cv_prog_RANLIB"; then
1494 if test -n "$ac_tool_prefix"; then
1495 # Extract the first word of "ranlib", so it can be a program name with args.
1496 set dummy ranlib
; ac_word
=$2
1497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1498 echo "configure:1499: checking for $ac_word" >&5
1499 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1500 echo $ac_n "(cached) $ac_c" 1>&6
1502 if test -n "$RANLIB"; then
1503 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1505 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1506 for ac_dir
in $PATH; do
1507 test -z "$ac_dir" && ac_dir
=.
1508 if test -f $ac_dir/$ac_word; then
1509 ac_cv_prog_RANLIB
="ranlib"
1514 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1517 RANLIB
="$ac_cv_prog_RANLIB"
1518 if test -n "$RANLIB"; then
1519 echo "$ac_t""$RANLIB" 1>&6
1521 echo "$ac_t""no" 1>&6
1530 # Extract the first word of "bash", so it can be a program name with args.
1531 set dummy bash
; ac_word
=$2
1532 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1533 echo "configure:1534: checking for $ac_word" >&5
1534 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1535 echo $ac_n "(cached) $ac_c" 1>&6
1539 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
1542 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1543 for ac_dir
in $PATH; do
1544 test -z "$ac_dir" && ac_dir
=.
1545 if test -f $ac_dir/$ac_word; then
1546 ac_cv_path_BASH
="$ac_dir/$ac_word"
1551 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="no"
1555 BASH
="$ac_cv_path_BASH"
1556 if test -n "$BASH"; then
1557 echo "$ac_t""$BASH" 1>&6
1559 echo "$ac_t""no" 1>&6
1562 if test "$BASH" != no
&&
1563 $BASH -c 'test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
1564 libc_cv_have_bash2
=yes
1566 libc_cv_have_bash2
=no
1570 if test "$BASH" = no
; then
1571 # Extract the first word of "ksh", so it can be a program name with args.
1572 set dummy ksh
; ac_word
=$2
1573 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1574 echo "configure:1575: checking for $ac_word" >&5
1575 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
1576 echo $ac_n "(cached) $ac_c" 1>&6
1580 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
1583 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1584 for ac_dir
in $PATH; do
1585 test -z "$ac_dir" && ac_dir
=.
1586 if test -f $ac_dir/$ac_word; then
1587 ac_cv_path_KSH
="$ac_dir/$ac_word"
1592 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
1596 KSH
="$ac_cv_path_KSH"
1597 if test -n "$KSH"; then
1598 echo "$ac_t""$KSH" 1>&6
1600 echo "$ac_t""no" 1>&6
1603 if test "$KSH" = no
; then
1606 libc_cv_have_ksh
=yes
1611 libc_cv_have_ksh
=yes
1615 echo $ac_n "checking for signed size_t type""... $ac_c" 1>&6
1616 echo "configure:1617: checking for signed size_t type" >&5
1617 if eval "test \"`echo '$''{'libc_cv_signed_size_t'+set}'`\" = set"; then
1618 echo $ac_n "(cached) $ac_c" 1>&6
1620 echo '#include <stddef.h>
1621 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
1622 if eval "$ac_cpp conftest.c 2>/dev/null" \
1623 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
1624 libc_cv_signed_size_t
=no
1626 libc_cv_signed_size_t
=yes
1631 echo "$ac_t""$libc_cv_signed_size_t" 1>&6
1632 if test $libc_cv_signed_size_t = yes; then
1633 cat >> confdefs.h
<<\EOF
1634 #undef __SIZE_TYPE__
1635 #define __SIZE_TYPE__ unsigned
1639 echo $ac_n "checking for libc-friendly stddef.h""... $ac_c" 1>&6
1640 echo "configure:1641: checking for libc-friendly stddef.h" >&5
1641 if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then
1642 echo $ac_n "(cached) $ac_c" 1>&6
1644 cat > conftest.
$ac_ext <<EOF
1645 #line 1646 "configure"
1646 #include "confdefs.h"
1647 #define __need_size_t
1648 #define __need_wchar_t
1653 size_t size; wchar_t wchar;
1655 #error stddef.h ignored __need_*
1657 if (&size == NULL || &wchar == NULL) abort ();
1660 if { (eval echo configure
:1661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1662 libc_cv_friendly_stddef
=yes
1664 echo "configure: failed program was:" >&5
1665 cat conftest.
$ac_ext >&5
1667 libc_cv_friendly_stddef
=no
1672 echo "$ac_t""$libc_cv_friendly_stddef" 1>&6
1673 if test $libc_cv_friendly_stddef = yes; then
1674 config_vars
="$config_vars
1675 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
1678 echo $ac_n "checking whether we need to use -P to assemble .S files""... $ac_c" 1>&6
1679 echo "configure:1680: checking whether we need to use -P to assemble .S files" >&5
1680 if eval "test \"`echo '$''{'libc_cv_need_minus_P'+set}'`\" = set"; then
1681 echo $ac_n "(cached) $ac_c" 1>&6
1683 cat > conftest.S
<<EOF
1684 #include "confdefs.h"
1685 /* Nothing whatsoever. */
1687 if ${CC-cc} $CFLAGS -c conftest.S
2>/dev
/null
; then
1688 libc_cv_need_minus_P
=no
1690 libc_cv_need_minus_P
=yes
1695 echo "$ac_t""$libc_cv_need_minus_P" 1>&6
1696 if test $libc_cv_need_minus_P = yes; then
1697 config_vars
="$config_vars
1698 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
1701 echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&6
1702 echo "configure:1703: checking for assembler global-symbol directive" >&5
1703 if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then
1704 echo $ac_n "(cached) $ac_c" 1>&6
1706 libc_cv_asm_global_directive
=UNKNOWN
1707 for ac_globl
in .globl .global
; do
1708 cat > conftest.s
<<EOF
1713 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
1714 libc_cv_asm_global_directive
=${ac_globl}
1717 test $libc_cv_asm_global_directive != UNKNOWN
&& break
1721 echo "$ac_t""$libc_cv_asm_global_directive" 1>&6
1722 if test $libc_cv_asm_global_directive = UNKNOWN
; then
1723 { echo "configure: error: cannot determine asm global directive" 1>&2; exit 1; }
1725 cat >> confdefs.h
<<EOF
1726 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
1731 echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&6
1732 echo "configure:1733: checking for .set assembler directive" >&5
1733 if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then
1734 echo $ac_n "(cached) $ac_c" 1>&6
1736 cat > conftest.s
<<EOF
1739 .set glibc_conftest_frobozz,foo
1740 $libc_cv_asm_global_directive glibc_conftest_frobozz
1742 # The alpha-dec-osf1 assembler gives only a warning for `.set'
1743 # (but it doesn't work), so we must do a linking check to be sure.
1744 cat > conftest1.c
<<\EOF
1745 extern int glibc_conftest_frobozz
;
1746 main
() { printf ("%d\n", glibc_conftest_frobozz
); }
1748 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
1749 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
1750 libc_cv_asm_set_directive
=yes
1752 libc_cv_asm_set_directive
=no
1757 echo "$ac_t""$libc_cv_asm_set_directive" 1>&6
1758 if test $libc_cv_asm_set_directive = yes; then
1759 cat >> confdefs.h
<<\EOF
1760 #define HAVE_ASM_SET_DIRECTIVE 1
1765 echo $ac_n "checking for .symver assembler directive""... $ac_c" 1>&6
1766 echo "configure:1767: checking for .symver assembler directive" >&5
1767 if eval "test \"`echo '$''{'libc_cv_asm_symver_directive'+set}'`\" = set"; then
1768 echo $ac_n "(cached) $ac_c" 1>&6
1770 cat > conftest.s
<<EOF
1773 .symver _sym,sym@VERS
1775 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
1776 libc_cv_asm_symver_directive
=yes
1778 libc_cv_asm_symver_directive
=no
1783 echo "$ac_t""$libc_cv_asm_symver_directive" 1>&6
1784 echo $ac_n "checking for ld --version-script""... $ac_c" 1>&6
1785 echo "configure:1786: checking for ld --version-script" >&5
1786 if eval "test \"`echo '$''{'libc_cv_ld_version_script_option'+set}'`\" = set"; then
1787 echo $ac_n "(cached) $ac_c" 1>&6
1789 if test $libc_cv_asm_symver_directive = yes; then
1790 cat > conftest.s
<<EOF
1793 .symver _sym,sym@VERS
1795 cat > conftest.map
<<EOF
1800 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
1801 if { ac_try
='${CC-cc} $CFLAGS -shared -o conftest.so conftest.o
1802 -nostartfiles -nostdlib
1803 -Wl,--version-script,conftest.map
1804 1>&5'; { (eval echo configure
:1805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; };
1806 libc_cv_ld_version_script_option
=yes
1808 libc_cv_ld_version_script_option
=no
1811 libc_cv_ld_version_script_option
=no
1814 libc_cv_ld_version_script_option
=no
1819 echo "$ac_t""$libc_cv_ld_version_script_option" 1>&6
1820 if test $libc_cv_asm_symver_directive = yes &&
1821 test $libc_cv_ld_version_script_option = yes; then
1823 cat >> confdefs.h
<<\EOF
1824 #define DO_VERSIONING 1
1832 if test $elf = yes; then
1833 echo $ac_n "checking for .previous assembler directive""... $ac_c" 1>&6
1834 echo "configure:1835: checking for .previous assembler directive" >&5
1835 if eval "test \"`echo '$''{'libc_cv_asm_previous_directive'+set}'`\" = set"; then
1836 echo $ac_n "(cached) $ac_c" 1>&6
1838 cat > conftest.s
<<EOF
1839 .section foo_section
1842 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure
:1843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
1843 libc_cv_asm_previous_directive
=yes
1845 libc_cv_asm_previous_directive
=no
1850 echo "$ac_t""$libc_cv_asm_previous_directive" 1>&6
1851 if test $libc_cv_asm_previous_directive = yes; then
1852 cat >> confdefs.h
<<\EOF
1853 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
1857 echo $ac_n "checking for .popsection assembler directive""... $ac_c" 1>&6
1858 echo "configure:1859: checking for .popsection assembler directive" >&5
1859 if eval "test \"`echo '$''{'libc_cv_asm_popsection_directive'+set}'`\" = set"; then
1860 echo $ac_n "(cached) $ac_c" 1>&6
1862 cat > conftest.s
<<EOF
1863 .pushsection foo_section
1866 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure
:1867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
1867 libc_cv_asm_popsection_directive
=yes
1869 libc_cv_asm_popsection_directive
=no
1874 echo "$ac_t""$libc_cv_asm_popsection_directive" 1>&6
1875 if test $libc_cv_asm_popsection_directive = yes; then
1876 cat >> confdefs.h
<<\EOF
1877 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
1884 if test $elf != yes; then
1885 echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&6
1886 echo "configure:1887: checking for .init and .fini sections" >&5
1887 if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then
1888 echo $ac_n "(cached) $ac_c" 1>&6
1890 cat > conftest.
$ac_ext <<EOF
1891 #line 1892 "configure"
1892 #include "confdefs.h"
1895 asm (".section .init");
1896 asm (".section .fini");
1900 if { (eval echo configure
:1901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1902 libc_cv_have_initfini
=yes
1904 echo "configure: failed program was:" >&5
1905 cat conftest.
$ac_ext >&5
1907 libc_cv_have_initfini
=no
1912 echo "$ac_t""$libc_cv_have_initfini" 1>&6
1913 if test $libc_cv_have_initfini = yes; then
1914 cat >> confdefs.h
<<\EOF
1915 #define HAVE_INITFINI 1
1921 if test $elf = yes; then
1922 libc_cv_asm_underscores
=no
1924 echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6
1925 echo "configure:1926: checking for _ prefix on C symbol names" >&5
1926 if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then
1927 echo $ac_n "(cached) $ac_c" 1>&6
1929 cat > conftest.
$ac_ext <<EOF
1930 #line 1931 "configure"
1931 #include "confdefs.h"
1932 asm ("_glibc_foobar:");
1937 if { (eval echo configure
:1938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1939 libc_cv_asm_underscores
=yes
1941 echo "configure: failed program was:" >&5
1942 cat conftest.
$ac_ext >&5
1944 libc_cv_asm_underscores
=no
1949 echo "$ac_t""$libc_cv_asm_underscores" 1>&6
1951 if test $libc_cv_asm_underscores = no
; then
1952 cat >> confdefs.h
<<\EOF
1953 #define NO_UNDERSCORES 1
1958 if test $elf = yes; then
1959 libc_cv_weak_symbols
=yes
1960 libc_cv_asm_weak_directive
=yes
1961 libc_cv_asm_weakext_directive
=no
1963 echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&6
1964 echo "configure:1965: checking for assembler .weak directive" >&5
1965 if eval "test \"`echo '$''{'libc_cv_asm_weak_directive'+set}'`\" = set"; then
1966 echo $ac_n "(cached) $ac_c" 1>&6
1968 cat > conftest.s
<<EOF
1970 ${libc_cv_asm_global_directive} foo
1973 .weak bar; bar = foo
1975 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
1976 libc_cv_asm_weak_directive
=yes
1978 libc_cv_asm_weak_directive
=no
1983 echo "$ac_t""$libc_cv_asm_weak_directive" 1>&6
1985 if test $libc_cv_asm_weak_directive = no
; then
1986 echo $ac_n "checking for assembler .weakext directive""... $ac_c" 1>&6
1987 echo "configure:1988: checking for assembler .weakext directive" >&5
1988 if eval "test \"`echo '$''{'libc_cv_asm_weakext_directive'+set}'`\" = set"; then
1989 echo $ac_n "(cached) $ac_c" 1>&6
1991 cat > conftest.s
<<EOF
1993 ${libc_cv_asm_global_directive} foo
1998 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
1999 libc_cv_asm_weakext_directive
=yes
2001 libc_cv_asm_weakext_directive
=no
2006 echo "$ac_t""$libc_cv_asm_weakext_directive" 1>&6
2011 if test $libc_cv_asm_weak_directive = yes; then
2012 cat >> confdefs.h
<<\EOF
2013 #define HAVE_ASM_WEAK_DIRECTIVE 1
2016 elif test $libc_cv_asm_weakext_directive = yes; then
2017 cat >> confdefs.h
<<\EOF
2018 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
2023 echo $ac_n "checking for ld --no-whole-archive""... $ac_c" 1>&6
2024 echo "configure:2025: checking for ld --no-whole-archive" >&5
2025 if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then
2026 echo $ac_n "(cached) $ac_c" 1>&6
2028 cat > conftest.c
<<\EOF
2033 if { ac_try
='${CC-cc} $CFLAGS
2034 -nostdlib -nostartfiles -Wl,--no-whole-archive
2035 -o conftest conftest.c 1>&5'; { (eval echo configure
:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2036 libc_cv_ld_no_whole_archive
=yes
2038 libc_cv_ld_no_whole_archive
=no
2043 echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6
2045 echo $ac_n "checking for gcc -fno-exceptions""... $ac_c" 1>&6
2046 echo "configure:2047: checking for gcc -fno-exceptions" >&5
2047 if eval "test \"`echo '$''{'libc_cv_gcc_no_exceptions'+set}'`\" = set"; then
2048 echo $ac_n "(cached) $ac_c" 1>&6
2050 cat > conftest.c
<<\EOF
2055 if { ac_try
='${CC-cc} $CFLAGS
2056 -nostdlib -nostartfiles -fno-exceptions
2057 -o conftest conftest.c 1>&5'; { (eval echo configure
:2058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2058 libc_cv_gcc_no_exceptions
=yes
2060 libc_cv_gcc_no_exceptions
=no
2065 echo "$ac_t""$libc_cv_gcc_no_exceptions" 1>&6
2067 ### End of automated tests.
2068 ### Now run sysdeps configure fragments.
2070 # sysdeps configure fragments may set these with files to be linked below.
2074 # Iterate over all the sysdep directories we will use, running their
2075 # configure fragments, and looking for a uname implementation.
2077 for dir
in $sysnames; do
2080 *) dest
=$srcdir/$dir ;;
2082 if test -r $dest/configure
; then
2083 echo "$ac_t""running configure fragment for $dest" 1>&6
2087 if test -z "$uname"; then
2088 if test -r $dest/uname.c ||
2089 test -r $dest/uname.S ||
2090 { test -r $dest/syscalls.list
&&
2091 grep '^uname[ ]' $dest/syscalls.list
>/dev
/null
; }; then
2099 # If we will use the generic uname implementation, we must figure out what
2100 # it will say by examining the system, and write the results in config-name.h.
2101 if test "$uname" = "sysdeps/generic"; then
2103 uname_sysname
=`echo $config_os | sed 's/[0-9.]*$//'`
2104 if test $uname_sysname != $config_os; then
2105 config_release
=`echo $config_os | sed s/$uname_sysname//`
2108 echo $ac_n "checking OS release for uname""... $ac_c" 1>&6
2109 echo "configure:2110: checking OS release for uname" >&5
2110 if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then
2111 echo $ac_n "(cached) $ac_c" 1>&6
2113 kernel_release
=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
2114 if test x
`echo "$config_release" | sed "s/^$kernel_release//"` \
2115 != x
$config_release; then
2116 # The configuration release is a substring of the kernel release.
2117 libc_cv_uname_release
=$kernel_release
2118 elif test x
$config_release != x
; then
2119 libc_cv_uname_release
=$config_release
2120 elif test x
$kernel_release != x
; then
2121 libc_cv_uname_release
=$kernel_release
2123 libc_cv_uname_release
=unknown
2127 echo "$ac_t""$libc_cv_uname_release" 1>&6
2128 uname_release
="$libc_cv_uname_release"
2130 echo $ac_n "checking OS version for uname""... $ac_c" 1>&6
2131 echo "configure:2132: checking OS version for uname" >&5
2132 if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then
2133 echo $ac_n "(cached) $ac_c" 1>&6
2135 kernel_version
=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
2136 if test -n "$kernel_version"; then
2137 libc_cv_uname_version
="$kernel_version"
2139 libc_cv_uname_version
=unknown
2143 echo "$ac_t""$libc_cv_uname_version" 1>&6
2144 uname_version
="$libc_cv_uname_version"
2146 config_uname
=config-name.h
:config-name.
in
2148 # For non-generic uname, we don't need to create config-name.h at all.
2152 echo $ac_n "checking stdio selection""... $ac_c" 1>&6
2153 echo "configure:2154: checking stdio selection" >&5
2156 libio
) cat >> confdefs.h
<<\EOF
2157 #define USE_IN_LIBIO 1
2160 default
) stdio
=stdio
;;
2162 echo "$ac_t""$stdio" 1>&6
2171 if test $gnu_ld = yes; then
2172 cat >> confdefs.h
<<\EOF
2173 #define HAVE_GNU_LD 1
2177 if test $gnu_as = yes; then
2178 cat >> confdefs.h
<<\EOF
2179 #define HAVE_GNU_AS 1
2183 if test $elf = yes; then
2184 cat >> confdefs.h
<<\EOF
2191 if test $shared = default
; then
2192 if test $gnu_ld = yes; then
2195 # For now we do not assume shared libs are available. In future more
2196 # tests might become available.
2208 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
2211 config_makefile
=Makefile
2214 VERSION
=`sed -e 's/^#define VERSION "\([^"]*\)"/\1/p' -e d < $srcdir/version.h`
2218 cat > confcache
<<\EOF
2219 # This file is a shell script that caches the results of configure
2220 # tests run on this system so they can be shared between configure
2221 # scripts and configure runs. It is not useful on other systems.
2222 # If it contains results you don't want to keep, you may remove or edit it.
2224 # By default, configure uses ./config.cache as the cache file,
2225 # creating it if it does not exist already. You can give configure
2226 # the --cache-file=FILE option to use a different cache file; that is
2227 # what configure does when it calls configure scripts in
2228 # subdirectories, so they share the cache.
2229 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2230 # config.status only pays attention to the cache file if you give it the
2231 # --recheck option to rerun configure.
2234 # The following way of writing the cache mishandles newlines in values,
2235 # but we know of no workaround that is simple, portable, and efficient.
2236 # So, don't put newlines in cache variables' values.
2237 # Ultrix sh set writes to stderr and can't be redirected directly,
2238 # and sets the high bit in the cache file unless we assign to the vars.
2240 case `(ac_space=' '; set) 2>&1` in
2242 # `set' does not quote correctly, so add quotes (double-quote substitution
2243 # turns \\\\ into \\, and sed turns \\ into \).
2245 -e "s/'/'\\\\''/g" \
2246 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2249 # `set' quotes correctly as required by POSIX, so do not add quotes.
2250 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2253 if cmp -s $cache_file confcache
; then
2256 if test -w $cache_file; then
2257 echo "updating cache $cache_file"
2258 cat confcache
> $cache_file
2260 echo "not updating unwritable cache $cache_file"
2265 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2267 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2268 # Let make expand exec_prefix.
2269 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2271 # Any assignment to VPATH causes Sun make to only execute
2272 # the first set of double-colon rules, so remove it if not needed.
2273 # If there is a colon in the path, we need to keep it.
2274 if test "x$srcdir" = x.
; then
2275 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2278 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2280 DEFS
=-DHAVE_CONFIG_H
2282 # Without the "./", some shells look in PATH for config.status.
2283 : ${CONFIG_STATUS=./config.status}
2285 echo creating
$CONFIG_STATUS
2286 rm -f $CONFIG_STATUS
2287 cat > $CONFIG_STATUS <<EOF
2289 # Generated automatically by configure.
2290 # Run this file to recreate the current configuration.
2291 # This directory was configured as follows,
2292 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2294 # $0 $ac_configure_args
2296 # Compiler output produced by configure, useful for debugging
2297 # configure, is in ./config.log if it exists.
2299 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2302 case "\$ac_option" in
2303 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2304 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2305 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2306 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2307 echo "$CONFIG_STATUS generated by autoconf version 2.12"
2309 -help | --help | --hel | --he | --h)
2310 echo "\$ac_cs_usage"; exit 0 ;;
2311 *) echo "\$ac_cs_usage"; exit 1 ;;
2315 ac_given_srcdir=$srcdir
2316 ac_given_INSTALL="$INSTALL"
2318 trap 'rm -fr `echo "config.make glibcbug ${config_makefile} ${config_uname} config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2320 cat >> $CONFIG_STATUS <<EOF
2322 # Protect against being on the right side of a sed subst in config.status.
2323 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2324 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2327 s%@CFLAGS@%$CFLAGS%g
2328 s%@CPPFLAGS@%$CPPFLAGS%g
2329 s%@CXXFLAGS@%$CXXFLAGS%g
2331 s%@LDFLAGS@%$LDFLAGS%g
2333 s%@exec_prefix@%$exec_prefix%g
2334 s%@prefix@%$prefix%g
2335 s%@program_transform_name@%$program_transform_name%g
2336 s%@bindir@%$bindir%g
2337 s%@sbindir@%$sbindir%g
2338 s%@libexecdir@%$libexecdir%g
2339 s%@datadir@%$datadir%g
2340 s%@sysconfdir@%$sysconfdir%g
2341 s%@sharedstatedir@%$sharedstatedir%g
2342 s%@localstatedir@%$localstatedir%g
2343 s%@libdir@%$libdir%g
2344 s%@includedir@%$includedir%g
2345 s%@oldincludedir@%$oldincludedir%g
2346 s%@infodir@%$infodir%g
2347 s%@mandir@%$mandir%g
2348 s%@subdirs@%$subdirs%g
2350 s%@host_alias@%$host_alias%g
2351 s%@host_cpu@%$host_cpu%g
2352 s%@host_vendor@%$host_vendor%g
2353 s%@host_os@%$host_os%g
2354 s%@base_machine@%$base_machine%g
2355 s%@sysnames@%$sysnames%g
2356 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2357 s%@INSTALL_DATA@%$INSTALL_DATA%g
2359 s%@MSGFMT@%$MSGFMT%g
2361 s%@cross_linkable@%$cross_linkable%g
2363 s%@build_alias@%$build_alias%g
2364 s%@build_cpu@%$build_cpu%g
2365 s%@build_vendor@%$build_vendor%g
2366 s%@build_os@%$build_os%g
2367 s%@BUILD_CC@%$BUILD_CC%g
2368 s%@cross_compiling@%$cross_compiling%g
2371 s%@RANLIB@%$RANLIB%g
2373 s%@libc_cv_have_bash2@%$libc_cv_have_bash2%g
2375 s%@libc_cv_have_ksh@%$libc_cv_have_ksh%g
2376 s%@VERSIONING@%$VERSIONING%g
2377 s%@libc_cv_have_initfini@%$libc_cv_have_initfini%g
2378 s%@libc_cv_ld_no_whole_archive@%$libc_cv_ld_no_whole_archive%g
2379 s%@libc_cv_gcc_no_exceptions@%$libc_cv_gcc_no_exceptions%g
2380 s%@uname_sysname@%$uname_sysname%g
2381 s%@uname_release@%$uname_release%g
2382 s%@uname_version@%$uname_version%g
2384 s%@libc_cv_slibdir@%$libc_cv_slibdir%g
2385 s%@libc_cv_sysconfdir@%$libc_cv_sysconfdir%g
2386 s%@libc_cv_rootsbindir@%$libc_cv_rootsbindir%g
2387 s%@has_ldconfig@%$has_ldconfig%g
2388 s%@gnu_ld@%$gnu_ld%g
2389 s%@gnu_as@%$gnu_as%g
2391 s%@shared@%$shared%g
2392 s%@profile@%$profile%g
2393 s%@omitfp@%$omitfp%g
2394 s%@bounded@%$bounded%g
2395 s%@static_nss@%$static_nss%g
2396 s%@nopic_initfini@%$nopic_initfini%g
2397 s%@DEFINES@%$DEFINES%g
2398 s%@VERSION@%$VERSION%g
2403 cat >> $CONFIG_STATUS <<\EOF
2405 # Split the substitutions into bite-sized pieces for seds with
2406 # small command number limits, like on Digital OSF/1 and HP-UX.
2407 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2408 ac_file
=1 # Number of current file.
2409 ac_beg
=1 # First line for current file.
2410 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2413 while $ac_more_lines; do
2414 if test $ac_beg -gt 1; then
2415 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2417 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2419 if test ! -s conftest.s
$ac_file; then
2421 rm -f conftest.s
$ac_file
2423 if test -z "$ac_sed_cmds"; then
2424 ac_sed_cmds
="sed -f conftest.s$ac_file"
2426 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2428 ac_file
=`expr $ac_file + 1`
2430 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2433 if test -z "$ac_sed_cmds"; then
2438 cat >> $CONFIG_STATUS <<EOF
2440 CONFIG_FILES=\${CONFIG_FILES-"config.make glibcbug ${config_makefile} ${config_uname}"}
2442 cat >> $CONFIG_STATUS <<\EOF
2443 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2444 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2446 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2447 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2448 *) ac_file_in
="${ac_file}.in" ;;
2451 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2453 # Remove last slash and all that follows it. Not all systems have dirname.
2454 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2455 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2456 # The file is in a subdirectory.
2457 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2458 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2459 # A "../" for each directory in $ac_dir_suffix.
2460 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2462 ac_dir_suffix
= ac_dots
=
2465 case "$ac_given_srcdir" in
2467 if test -z "$ac_dots"; then top_srcdir
=.
2468 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2469 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2471 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2472 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2475 case "$ac_given_INSTALL" in
2476 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2477 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2480 echo creating
"$ac_file"
2482 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2484 *Makefile
*) ac_comsub
="1i\\
2485 # $configure_input" ;;
2489 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2491 s%@configure_input@%$configure_input%g
2492 s%@srcdir@%$srcdir%g
2493 s%@top_srcdir@%$top_srcdir%g
2494 s%@INSTALL@%$INSTALL%g
2495 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2499 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2500 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2502 # ac_d sets the value in "#define NAME VALUE" lines.
2503 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2504 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2507 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2508 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2509 ac_uB
='\([ ]\)%\1#\2define\3'
2512 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2513 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2514 ac_eB
='$%\1#\2define\3'
2518 if test "${CONFIG_HEADERS+set}" != set; then
2520 cat >> $CONFIG_STATUS <<EOF
2521 CONFIG_HEADERS="config.h"
2523 cat >> $CONFIG_STATUS <<\EOF
2525 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2526 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2528 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2529 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2530 *) ac_file_in
="${ac_file}.in" ;;
2533 echo creating
$ac_file
2535 rm -f conftest.frag conftest.
in conftest.out
2536 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2537 cat $ac_file_inputs > conftest.
in
2541 # Transform confdefs.h into a sed script conftest.vals that substitutes
2542 # the proper values into config.h.in to produce config.h. And first:
2543 # Protect against being on the right side of a sed subst in config.status.
2544 # Protect against being in an unquoted here document in config.status.
2546 cat > conftest.hdr
<<\EOF
2549 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2553 sed -n -f conftest.hdr confdefs.h > conftest.vals
2556 # This sed command replaces #undef with comments. This is necessary, for
2557 # example, in the case of _POSIX_SOURCE, which is predefined and required
2558 # on some systems where configure will not decide to define it.
2559 cat >> conftest.vals <<\EOF
2560 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2563 # Break up conftest.vals because some shells have a limit on
2564 # the size of here documents, and old seds have small limits too.
2569 ac_lines=`grep -c . conftest.vals
`
2570 # grep -c gives empty output for an empty file on some AIX systems.
2571 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2572 # Write a limited-size here document to conftest.frag.
2573 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2574 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2576 sed -f conftest.frag conftest.in > conftest.out
2578 mv conftest.out conftest.in
2580 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2582 mv conftest.tail conftest.vals
2586 cat >> $CONFIG_STATUS <<\EOF
2587 rm -f conftest.frag conftest.h
2588 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2589 cat conftest.in >> conftest.h
2591 if cmp -s $ac_file conftest.h 2>/dev/null; then
2592 echo "$ac_file is unchanged"
2595 # Remove last slash and all that follows it. Not all systems have dirname.
2596 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2597 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2598 # The file is in a subdirectory.
2599 test ! -d "$ac_dir" && mkdir "$ac_dir"
2602 mv conftest.h $ac_file
2608 cat >> $CONFIG_STATUS <<EOF
2609 ac_sources="`echo $libc_link_sources`"
2610 ac_dests="`echo $libc_link_dests`"
2613 cat >> $CONFIG_STATUS <<\EOF
2614 srcdir=$ac_given_srcdir
2615 while test -n "$ac_sources"; do
2616 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
2617 set $ac_sources; ac_source=$1; shift; ac_sources=$*
2619 echo "linking $srcdir/$ac_source to $ac_dest"
2621 if test ! -r $srcdir/$ac_source; then
2622 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
2626 # Make relative symlinks.
2627 # Remove last slash and all that follows it. Not all systems have dirname.
2628 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
2629 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
2630 # The dest file is in a subdirectory.
2631 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
2632 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
2633 # A "../" for each directory in $ac_dest_dir_suffix.
2634 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
2636 ac_dest_dir_suffix= ac_dots=
2640 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
2641 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
2644 # Make a symlink if possible; otherwise try a hard link.
2645 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
2646 ln $srcdir/$ac_source $ac_dest; then :
2648 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
2652 cat >> $CONFIG_STATUS <<EOF
2653 echo '$config_vars' >> config.make; test -d bits || mkdir bits
2655 cat >> $CONFIG_STATUS <<\EOF
2659 chmod +x $CONFIG_STATUS
2660 rm -fr confdefs* $ac_clean_files
2661 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2663 if test "$no_recursion" != yes; then
2665 # Remove --cache-file and --srcdir arguments so they do not pile up.
2666 ac_sub_configure_args=
2668 for ac_arg in $ac_configure_args; do
2669 if test -n "$ac_prev"; then
2674 -cache-file | --cache-file | --cache-fil | --cache-fi \
2675 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2676 ac_prev=cache_file ;;
2677 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2678 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2680 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2682 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2684 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
2688 for ac_config_dir in $add_ons; do
2690 # Do not complain, so a configure script can configure whichever
2691 # parts of a large source tree are present.
2692 if test ! -d $srcdir/$ac_config_dir; then
2696 echo configuring in $ac_config_dir
2701 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
2703 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
2711 # A "../" for each directory in /$ac_config_dir.
2712 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
2715 .) # No --srcdir option. We are building in place.
2716 ac_sub_srcdir=$srcdir ;;
2717 /*) # Absolute path.
2718 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
2720 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
2723 # Check for guested configure; otherwise get Cygnus style configure.
2724 if test -f $ac_sub_srcdir/configure; then
2725 ac_sub_configure=$ac_sub_srcdir/configure
2726 elif test -f $ac_sub_srcdir/configure.in; then
2727 ac_sub_configure=$ac_configure
2729 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
2733 # The recursion is here.
2734 if test -n "$ac_sub_configure"; then
2736 # Make the cache file name correct relative to the subdirectory.
2737 case "$cache_file" in
2738 /*) ac_sub_cache_file=$cache_file ;;
2740 ac_sub_cache_file="$ac_dots$cache_file" ;;
2742 case "$ac_given_INSTALL" in
2743 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2744 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2747 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
2748 # The eval makes quoting arguments work.
2749 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
2752 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }