3 # From configure.in CVSid
4 # Guess values for system-dependent variables and create Makefiles.
5 # Generated automatically using autoconf version 2.12
6 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
13 ac_default_prefix
=/usr
/local
14 # Any additions from configure.in:
16 --with-gmp=DIRECTORY find GMP source code in DIRECTORY (not needed)"
18 --with-gettext=DIR find GNU gettext source code in DIR (not needed)"
20 --with-fp if using floating-point hardware [default=yes]"
22 --with-gnu-binutils if using GNU binutils (as and ld)"
24 --with-gnu-ld if using GNU ld (in the binutils package)"
26 --with-gnu-as if using GNU as (in the binutils package)"
28 --with-elf if using the ELF object format"
30 --enable-libio build in GNU libio instead of GNU stdio"
32 --disable-sanity-checks really do not use threads (should not be used
33 except in special situations) [default=yes]"
35 --enable-shared build shared library [default=yes if GNU ld & ELF]"
37 --enable-profile build profiled library [default=yes]"
39 --enable-omitfp build undebuggable optimized library [default=no]"
41 --enable-bounded build with runtime bounds checking [default=no]"
43 --enable-add-ons=DIR... configure and build named extra directories"
45 # Initialize some variables set by options.
46 # The variables have the same names as the options, with
47 # dashes changed to underlines.
49 cache_file
=.
/config.cache
58 program_transform_name
=s
,x
,x
,
66 bindir
='${exec_prefix}/bin'
67 sbindir
='${exec_prefix}/sbin'
68 libexecdir
='${exec_prefix}/libexec'
69 datadir
='${prefix}/share'
70 sysconfdir
='${prefix}/etc'
71 sharedstatedir
='${prefix}/com'
72 localstatedir
='${prefix}/var'
73 libdir
='${exec_prefix}/lib'
74 includedir
='${prefix}/include'
75 oldincludedir
='/usr/include'
76 infodir
='${prefix}/info'
77 mandir
='${prefix}/man'
79 # Initialize some other variables.
82 # Maximum number of lines to put in a shell here document.
89 # If the previous option needs an argument, assign it.
90 if test -n "$ac_prev"; then
91 eval "$ac_prev=\$ac_option"
97 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
101 # Accept the important Cygnus configure options, so we can diagnose typos.
105 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
107 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
108 bindir
="$ac_optarg" ;;
110 -build |
--build |
--buil |
--bui |
--bu)
112 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
113 build
="$ac_optarg" ;;
115 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
116 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
117 ac_prev
=cache_file
;;
118 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
119 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
120 cache_file
="$ac_optarg" ;;
122 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
124 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
126 datadir
="$ac_optarg" ;;
128 -disable-* |
--disable-*)
129 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
130 # Reject names that are not valid shell variable names.
131 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
132 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
134 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
135 eval "enable_${ac_feature}=no" ;;
137 -enable-* |
--enable-*)
138 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
139 # Reject names that are not valid shell variable names.
140 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
141 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
143 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
148 eval "enable_${ac_feature}='$ac_optarg'" ;;
150 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
151 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
152 |
--exec |
--exe |
--ex)
153 ac_prev
=exec_prefix
;;
154 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
155 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
156 |
--exec=* |
--exe=* |
--ex=*)
157 exec_prefix
="$ac_optarg" ;;
159 -gas |
--gas |
--ga |
--g)
160 # Obsolete; use --with-gas.
163 -help |
--help |
--hel |
--he)
164 # Omit some internal or obsolete options to make the list less imposing.
165 # This message is too long to be a string in the A/UX 3.1 sh.
167 Usage: configure [options] [host]
168 Options: [defaults in brackets after descriptions]
170 --cache-file=FILE cache test results in FILE
171 --help print this message
172 --no-create do not create output files
173 --quiet, --silent do not print \`checking...' messages
174 --version print the version of autoconf that created configure
175 Directory and file names:
176 --prefix=PREFIX install architecture-independent files in PREFIX
178 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
180 --bindir=DIR user executables in DIR [EPREFIX/bin]
181 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
182 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
183 --datadir=DIR read-only architecture-independent data in DIR
185 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
186 --sharedstatedir=DIR modifiable architecture-independent data in DIR
188 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
189 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
190 --includedir=DIR C header files in DIR [PREFIX/include]
191 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
192 --infodir=DIR info documentation in DIR [PREFIX/info]
193 --mandir=DIR man documentation in DIR [PREFIX/man]
194 --srcdir=DIR find the sources in DIR [configure dir or ..]
195 --program-prefix=PREFIX prepend PREFIX to installed program names
196 --program-suffix=SUFFIX append SUFFIX to installed program names
197 --program-transform-name=PROGRAM
198 run sed PROGRAM on installed program names
202 --build=BUILD configure for building on BUILD [BUILD=HOST]
203 --host=HOST configure for HOST [guessed]
204 --target=TARGET configure for TARGET [TARGET=HOST]
205 Features and packages:
206 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
207 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
208 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
209 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
210 --x-includes=DIR X include files are in DIR
211 --x-libraries=DIR X library files are in DIR
213 if test -n "$ac_help"; then
214 echo "--enable and --with options recognized:$ac_help"
218 -host |
--host |
--hos |
--ho)
220 -host=* |
--host=* |
--hos=* |
--ho=*)
223 -includedir |
--includedir |
--includedi |
--included |
--include \
224 |
--includ |
--inclu |
--incl |
--inc)
225 ac_prev
=includedir
;;
226 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
227 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
228 includedir
="$ac_optarg" ;;
230 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
232 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
233 infodir
="$ac_optarg" ;;
235 -libdir |
--libdir |
--libdi |
--libd)
237 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
238 libdir
="$ac_optarg" ;;
240 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
241 |
--libexe |
--libex |
--libe)
242 ac_prev
=libexecdir
;;
243 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
244 |
--libexe=* |
--libex=* |
--libe=*)
245 libexecdir
="$ac_optarg" ;;
247 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
248 |
--localstate |
--localstat |
--localsta |
--localst \
249 |
--locals |
--local |
--loca |
--loc |
--lo)
250 ac_prev
=localstatedir
;;
251 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
252 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
253 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
254 localstatedir
="$ac_optarg" ;;
256 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
258 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
259 mandir
="$ac_optarg" ;;
262 # Obsolete; use --without-fp.
265 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
269 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
270 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
273 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
274 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
275 |
--oldin |
--oldi |
--old |
--ol |
--o)
276 ac_prev
=oldincludedir
;;
277 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
278 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
279 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
280 oldincludedir
="$ac_optarg" ;;
282 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
284 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
285 prefix
="$ac_optarg" ;;
287 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
288 |
--program-pre |
--program-pr |
--program-p)
289 ac_prev
=program_prefix
;;
290 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
291 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
292 program_prefix
="$ac_optarg" ;;
294 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
295 |
--program-suf |
--program-su |
--program-s)
296 ac_prev
=program_suffix
;;
297 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
298 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
299 program_suffix
="$ac_optarg" ;;
301 -program-transform-name |
--program-transform-name \
302 |
--program-transform-nam |
--program-transform-na \
303 |
--program-transform-n |
--program-transform- \
304 |
--program-transform |
--program-transfor \
305 |
--program-transfo |
--program-transf \
306 |
--program-trans |
--program-tran \
307 |
--progr-tra |
--program-tr |
--program-t)
308 ac_prev
=program_transform_name
;;
309 -program-transform-name=* |
--program-transform-name=* \
310 |
--program-transform-nam=* |
--program-transform-na=* \
311 |
--program-transform-n=* |
--program-transform-=* \
312 |
--program-transform=* |
--program-transfor=* \
313 |
--program-transfo=* |
--program-transf=* \
314 |
--program-trans=* |
--program-tran=* \
315 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
316 program_transform_name
="$ac_optarg" ;;
318 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
319 |
-silent |
--silent |
--silen |
--sile |
--sil)
322 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
324 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
326 sbindir
="$ac_optarg" ;;
328 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
329 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
330 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
332 ac_prev
=sharedstatedir
;;
333 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
334 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
335 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
337 sharedstatedir
="$ac_optarg" ;;
339 -site |
--site |
--sit)
341 -site=* |
--site=* |
--sit=*)
344 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
346 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
347 srcdir
="$ac_optarg" ;;
349 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
350 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
351 ac_prev
=sysconfdir
;;
352 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
353 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
354 sysconfdir
="$ac_optarg" ;;
356 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
358 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
359 target
="$ac_optarg" ;;
361 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
364 -version |
--version |
--versio |
--versi |
--vers)
365 echo "configure generated by autoconf version 2.12"
369 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
370 # Reject names that are not valid shell variable names.
371 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
372 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
374 ac_package
=`echo $ac_package| sed 's/-/_/g'`
379 eval "with_${ac_package}='$ac_optarg'" ;;
381 -without-* |
--without-*)
382 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
383 # Reject names that are not valid shell variable names.
384 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
385 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
387 ac_package
=`echo $ac_package| sed 's/-/_/g'`
388 eval "with_${ac_package}=no" ;;
391 # Obsolete; use --with-x.
394 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
395 |
--x-incl |
--x-inc |
--x-in |
--x-i)
396 ac_prev
=x_includes
;;
397 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
398 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
399 x_includes
="$ac_optarg" ;;
401 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
402 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
403 ac_prev
=x_libraries
;;
404 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
405 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
406 x_libraries
="$ac_optarg" ;;
408 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
412 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
413 echo "configure: warning: $ac_option: invalid host type" 1>&2
415 if test "x$nonopt" != xNONE
; then
416 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
424 if test -n "$ac_prev"; then
425 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
428 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
430 # File descriptor usage:
433 # 2 errors and warnings
434 # 3 some systems may open it to /dev/tty
435 # 4 used on the Kubota Titan
436 # 6 checking for... messages and results
437 # 5 compiler messages saved in config.log
438 if test "$silent" = yes; then
446 This file contains any messages produced by compilers while
447 running configure, to aid debugging if configure makes a mistake.
450 # Strip out --no-create and --no-recursion so they do not pile up.
451 # Also quote any args containing shell metacharacters.
456 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
457 |
--no-cr |
--no-c) ;;
458 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
459 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
460 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
461 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
462 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
467 # Only set these to C if already set. These must not be set unconditionally
468 # because not all systems understand e.g. LANG=C (notably SCO).
469 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
470 # Non-C LC_CTYPE values break the ctype check.
471 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
472 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
473 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
474 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
476 # confdefs.h avoids OS command line length limits that DEFS can exceed.
477 rm -rf conftest
* confdefs.h
478 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
481 # A filename unique to this package, relative to the directory that
482 # configure is in, which we can look for to find out if srcdir is correct.
483 ac_unique_file
=features.h
485 # Find the source files, if location was not specified.
486 if test -z "$srcdir"; then
487 ac_srcdir_defaulted
=yes
488 # Try the directory containing this script, then its parent.
490 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
491 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
493 if test ! -r $srcdir/$ac_unique_file; then
497 ac_srcdir_defaulted
=no
499 if test ! -r $srcdir/$ac_unique_file; then
500 if test "$ac_srcdir_defaulted" = yes; then
501 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
503 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
506 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
508 # Prefer explicitly selected file to automatically selected ones.
509 if test -z "$CONFIG_SITE"; then
510 if test "x$prefix" != xNONE
; then
511 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
513 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
516 for ac_site_file
in $CONFIG_SITE; do
517 if test -r "$ac_site_file"; then
518 echo "loading site script $ac_site_file"
523 if test -r "$cache_file"; then
524 echo "loading cache $cache_file"
527 echo "creating cache $cache_file"
532 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
533 ac_cpp
='$CPP $CPPFLAGS'
534 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
535 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
536 cross_compiling
=$ac_cv_prog_cc_cross
538 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
539 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
540 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
547 ac_n
= ac_c
='\c' ac_t
=
550 if test -r /vmunix
; then
551 kernel_id
=`strings /vmunix | grep UNIX`
552 elif test -r /dynix
; then
553 kernel_id
=`strings /dynix | grep DYNIX`
561 # This will get text that should go into config.make.
564 # Check for a --with-gmp argument and set gmp-srcdir in config.make.
565 # Check whether --with-gmp or --without-gmp was given.
566 if test "${with_gmp+set}" = set; then
569 yes) { echo "configure: error: --with-gmp requires an argument; use --with-gmp=DIRECTORY" 1>&2; exit 1; } ;;
571 *) config_vars
="$config_vars
572 gmp-srcdir = $withval" ;;
577 # Check for a --with-gettext argument and set gettext-srcdir in config.make.
578 # Check whether --with-gettext or --without-gettext was given.
579 if test "${with_gettext+set}" = set; then
580 withval
="$with_gettext"
581 case "$with_gettext" in
583 { echo "configure: error: --with-gettext requires an argument; use --with-gettext=DIR" 1>&2; exit 1; } ;;
586 config_vars
="$config_vars
587 gettext-srcdir = $withval" ;;
593 # Check whether --with-fp or --without-fp was given.
594 if test "${with_fp+set}" = set; then
601 # Check whether --with-gnu-binutils or --without-gnu-binutils was given.
602 if test "${with_gnu_binutils+set}" = set; then
603 withval
="$with_gnu_binutils"
604 gnu_binutils
=$withval
609 # Check whether --with-gnu-ld or --without-gnu-ld was given.
610 if test "${with_gnu_ld+set}" = set; then
611 withval
="$with_gnu_ld"
617 # Check whether --with-gnu-as or --without-gnu-as was given.
618 if test "${with_gnu_as+set}" = set; then
619 withval
="$with_gnu_as"
625 test $gnu_binutils = yes && gnu_as
=yes gnu_ld
=yes
626 # Check whether --with-elf or --without-elf was given.
627 if test "${with_elf+set}" = set; then
635 # Check whether --enable-libio or --disable-libio was given.
636 if test "${enable_libio+set}" = set; then
637 enableval
="$enable_libio"
638 if test $enableval = yes; then
648 # Check whether --enable-sanity-checks or --disable-sanity-checks was given.
649 if test "${enable_sanity_checks+set}" = set; then
650 enableval
="$enable_sanity_checks"
651 enable_sanity
=$enableval
657 # Check whether --enable-shared or --disable-shared was given.
658 if test "${enable_shared+set}" = set; then
659 enableval
="$enable_shared"
665 # Check whether --enable-profile or --disable-profile was given.
666 if test "${enable_profile+set}" = set; then
667 enableval
="$enable_profile"
673 # Check whether --enable-omitfp or --disable-omitfp was given.
674 if test "${enable_omitfp+set}" = set; then
675 enableval
="$enable_omitfp"
681 # Check whether --enable-bounded or --disable-bounded was given.
682 if test "${enable_bounded+set}" = set; then
683 enableval
="$enable_bounded"
690 # Check whether --enable-add-ons or --disable-add-ons was given.
691 if test "${enable_add_ons+set}" = set; then
692 enableval
="$enable_add_ons"
693 add_ons
=`echo "$enableval" | sed 's/,/ /g'`
699 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
700 if test -f $ac_dir/install-sh
; then
702 ac_install_sh
="$ac_aux_dir/install-sh -c"
704 elif test -f $ac_dir/install.sh
; then
706 ac_install_sh
="$ac_aux_dir/install.sh -c"
710 if test -z "$ac_aux_dir"; then
711 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
713 ac_config_guess
=$ac_aux_dir/config.guess
714 ac_config_sub
=$ac_aux_dir/config.sub
715 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
720 if test x
"$add_ons" != x
; then
721 for f
in $add_ons; do
722 add_ons_pfx
="$add_ons_pfx $f/"
727 # Make sure we can run config.sub.
728 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
729 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
732 echo $ac_n "checking host system type""... $ac_c" 1>&6
733 echo "configure:734: checking host system type" >&5
736 case "$host_alias" in
740 if host_alias
=`$ac_config_guess`; then :
741 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
743 *) host_alias
=$nonopt ;;
747 host=`$ac_config_sub $host_alias`
748 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
749 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
750 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
751 echo "$ac_t""$host" 1>&6
754 # The way shlib-versions is used to generate soversions.mk uses a
755 # fairly simplistic model for name recognition that can't distinguish
756 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
757 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
758 # tell. This doesn't get used much beyond that, so it's fairly safe.
763 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
767 # We keep the original values in `$config_*' and never modify them, so we
768 # can write them unchanged into config.make. Everything else uses
769 # $machine, $vendor, and $os, and changes them whenever convenient.
770 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
772 # Some configurations imply other options.
774 gnu
* | linux
* | bsd4.4
* | netbsd
* | freebsd
*)
775 # These systems always use GNU tools.
776 gnu_ld
=yes gnu_as
=yes ;;
779 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
780 linux
*ecoff
* | linux
*aout
* | gnu
*aout
* | gnu
*ecoff
*)
782 gnu
* | linux
* | sysv4
* | solaris2
*)
783 # These systems (almost) always use the ELF format.
788 machine
=$config_machine
789 vendor
=$config_vendor
792 # Expand the configuration machine name into a subdirectory by architecture
793 # type and particular chip.
795 a29k | am29000
) base_machine
=a29k machine
=a29k
;;
796 alpha
*) base_machine
=alpha machine
=alpha
/$machine ;;
797 arm
*) base_machine
=arm machine
=arm
/$machine ;;
798 hppa
*) base_machine
=hppa machine
=hppa
/$machine ;;
799 i
[3456]86) base_machine
=i386 machine
=i386
/$machine ;;
800 m680?
0) base_machine
=m68k machine
=m68k
/$machine ;;
801 m68k
) base_machine
=m68k machine
=m68k
/m68020
;;
802 m88???
) base_machine
=m88k machine
=m88k
/$machine ;;
803 m88k
) base_machine
=m88k machine
=m88k
/m88100
;;
804 mips
*) base_machine
=mips machine
=mips
/$machine ;;
805 mips64
*) base_machine
=mips64 machine
=mips
/mips64
/$machine ;;
806 sparc
[6789]) base_machine
=sparc machine
=sparc
/$machine ;;
807 supersparc
) base_machine
=sparc machine
=sparc
/sparc8
;;
811 # Compute the list of sysdep directories for this configuration.
812 # This can take a while to compute.
813 sysdep_dir
=$srcdir/sysdeps
814 echo $ac_n "checking sysdep dirs""... $ac_c" 1>&6
815 echo "configure:816: checking sysdep dirs" >&5
816 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
817 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
822 netbsd
* |
386bsd
* | freebsd
* | bsdi
*)
823 base_os
=unix
/bsd
/bsd4.4
;;
824 osf
* | sunos
* | ultrix
* | newsos
* | dynix
* |
*bsd
*)
826 sysv
* | isc
* | esix
* | sco
* | minix
* | irix4
* | linux
*)
829 base_os
=unix
/sysv
/sysv4
;;
831 base_os
=standalone
;;
836 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
839 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
843 o
=`echo $tail | sed 's/[0-9]*$//'`
844 if test $o != $tail; then
847 # For linux-gnu, try linux-gnu, then linux.
848 o
=`echo $tail | sed 's/-.*$//'`
849 if test $o != $tail; then
853 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
856 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
862 # For sparc/sparc9, try sparc/sparc9 and then sparc.
865 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
867 # Prepend the machine's FPU directory unless --without-fp.
868 if test "$with_fp" = yes; then
876 # Find what sysdep directories exist.
878 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
879 for d
in $add_ons_pfx ''; do
880 for b
in $base ''; do
881 for m0
in $mach ''; do
882 for v
in /$vendor ''; do
883 for o
in /$ostry ''; do
884 for m
in $mach ''; do
885 if test "$m0$b$v$o$m"; then
886 try
="${d}sysdeps$m0$b$v$o$m"
887 test -n "$enable_debug_configure" &&
888 echo "$0 DEBUG: try $try" >&2
891 *) dest
=$srcdir/$try ;;
893 if test -d $dest; then
894 sysnames
="$sysnames $try"
895 { test -n "$o" ||
test -n "$b"; } && os_used
=t
896 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
907 if test -z "$os_used" && test "$os" != none
; then
908 { echo "configure: error: Operating system $os is not supported." 1>&2; exit 1; }
910 if test -z "$machine_used" && test "$machine" != none
; then
911 { echo "configure: error: The $machine is not supported." 1>&2; exit 1; }
914 # We have now validated the configuration.
917 # If using ELF, look for an `elf' subdirectory of each machine directory.
918 # We prepend these rather than inserting them whereever the machine appears
919 # because things specified by the machine's ELF ABI should override
920 # OS-specific things, and should always be the same for any OS on the
921 # machine (otherwise what's the point of an ABI?).
922 if test "$elf" = yes; then
924 for d
in $add_ons_pfx ''; do
927 *) xsrcdir
=$srcdir/ ;;
930 if test -d $xsrcdir${d}sysdeps
$m/elf
; then
931 elf_dirs
="$elf_dirs ${d}sysdeps$m/elf"
935 sysnames
="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
939 # Expand the list of system names into a full list of directories
940 # from each element's parent name and Implies file (if present).
943 while test $# -gt 0; do
947 case " $names " in *" $name "*)
948 # Already in the list.
952 # Report each name as we discover it, so there is no long pause in output.
953 echo $ac_n "$name $ac_c" >&6
955 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
959 *) xsrcdir
=$srcdir/ ;;
961 test -n "$enable_debug_configure" &&
962 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
964 if test -f $xsrcdir$name/Implies
; then
965 # Collect more names from the `Implies' file (removing comments).
966 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
968 for x
in $implied_candidate; do
969 if test -d $xsrcdir$name_base/$x; then
970 implied
="$implied $name_base/$x";
972 echo "configure: warning: $name/Implies specifies nonexistent $x" 1>&2
979 # Add NAME to the list of names.
982 # Find the parent of NAME, using the empty string if it has none.
983 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
985 # Add the names implied by NAME, and NAME's parent (if it has one), to
986 # the list of names to be processed (the argument list). We prepend the
987 # implied names to the list and append the parent. We want implied
988 # directories to come before further directories inferred from the
989 # configuration components; this ensures that for sysv4, unix/common
990 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
992 sysnames
="`echo $implied $* $parent`"
993 test -n "$sysnames" && set $sysnames
996 # Add the default directories.
997 sysnames
="$names sysdeps/generic sysdeps/stub"
999 # The other names were emitted during the scan.
1000 echo "$ac_t""sysdeps/generic sysdeps/stub" 1>&6
1005 # Find a good install program. We prefer a C program (faster),
1006 # so one script is as good as another. But avoid the broken or
1007 # incompatible versions:
1008 # SysV /etc/install, /usr/sbin/install
1009 # SunOS /usr/etc/install
1010 # IRIX /sbin/install
1012 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1013 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1014 # ./install, which can be erroneously created by make from ./install.sh.
1015 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1016 echo "configure:1017: checking for a BSD compatible install" >&5
1017 if test -z "$INSTALL"; then
1018 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1019 echo $ac_n "(cached) $ac_c" 1>&6
1021 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1022 for ac_dir
in $PATH; do
1023 # Account for people who put trailing slashes in PATH elements.
1025 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1027 # OSF1 and SCO ODT 3.0 have their own names for install.
1028 for ac_prog
in ginstall installbsd scoinst
install; do
1029 if test -f $ac_dir/$ac_prog; then
1030 if test $ac_prog = install &&
1031 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1032 # AIX install. It has an incompatible calling convention.
1033 # OSF/1 installbsd also uses dspmsg, but is usable.
1036 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1047 if test "${ac_cv_path_install+set}" = set; then
1048 INSTALL
="$ac_cv_path_install"
1050 # As a last resort, use the slow shell script. We don't cache a
1051 # path for INSTALL within a source directory, because that will
1052 # break other packages using the cache if that directory is
1053 # removed, or if the path is relative.
1054 INSTALL
="$ac_install_sh"
1057 echo "$ac_t""$INSTALL" 1>&6
1059 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1060 # It thinks the first close brace ends the variable substitution.
1061 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1063 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1065 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1066 # The makefiles need to use a different form to find it in $srcdir.
1067 INSTALL
='$(..)./install-sh -c'
1069 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1070 echo "configure:1071: checking whether ln -s works" >&5
1071 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1072 echo $ac_n "(cached) $ac_c" 1>&6
1075 if ln -s X conftestdata
2>/dev
/null
1078 ac_cv_prog_LN_S
="ln -s"
1083 LN_S
="$ac_cv_prog_LN_S"
1084 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1085 echo "$ac_t""yes" 1>&6
1087 echo "$ac_t""no" 1>&6
1090 for ac_prog
in msgfmt gmsgfmt
1092 # Extract the first word of "$ac_prog", so it can be a program name with args.
1093 set dummy
$ac_prog; ac_word
=$2
1094 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1095 echo "configure:1096: checking for $ac_word" >&5
1096 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
1097 echo $ac_n "(cached) $ac_c" 1>&6
1099 if test -n "$MSGFMT"; then
1100 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
1102 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1103 for ac_dir
in $PATH; do
1104 test -z "$ac_dir" && ac_dir
=.
1105 if test -f $ac_dir/$ac_word; then
1106 ac_cv_prog_MSGFMT
="$ac_prog"
1113 MSGFMT
="$ac_cv_prog_MSGFMT"
1114 if test -n "$MSGFMT"; then
1115 echo "$ac_t""$MSGFMT" 1>&6
1117 echo "$ac_t""no" 1>&6
1120 test -n "$MSGFMT" && break
1122 test -n "$MSGFMT" || MSGFMT
=":"
1125 # Extract the first word of "gcc", so it can be a program name with args.
1126 set dummy gcc
; ac_word
=$2
1127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1128 echo "configure:1129: checking for $ac_word" >&5
1129 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1130 echo $ac_n "(cached) $ac_c" 1>&6
1132 if test -n "$CC"; then
1133 ac_cv_prog_CC
="$CC" # Let the user override the test.
1135 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1136 for ac_dir
in $PATH; do
1137 test -z "$ac_dir" && ac_dir
=.
1138 if test -f $ac_dir/$ac_word; then
1147 if test -n "$CC"; then
1148 echo "$ac_t""$CC" 1>&6
1150 echo "$ac_t""no" 1>&6
1153 if test -z "$CC"; then
1154 # Extract the first word of "cc", so it can be a program name with args.
1155 set dummy cc
; ac_word
=$2
1156 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1157 echo "configure:1158: checking for $ac_word" >&5
1158 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1159 echo $ac_n "(cached) $ac_c" 1>&6
1161 if test -n "$CC"; then
1162 ac_cv_prog_CC
="$CC" # Let the user override the test.
1164 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1166 for ac_dir
in $PATH; do
1167 test -z "$ac_dir" && ac_dir
=.
1168 if test -f $ac_dir/$ac_word; then
1169 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1170 ac_prog_rejected
=yes
1178 if test $ac_prog_rejected = yes; then
1179 # We found a bogon in the path, so make sure we never use it.
1180 set dummy
$ac_cv_prog_CC
1182 if test $# -gt 0; then
1183 # We chose a different compiler from the bogus one.
1184 # However, it has the same basename, so the bogon will be chosen
1185 # first if we set CC to just the basename; use the full file name.
1187 set dummy
"$ac_dir/$ac_word" "$@"
1195 if test -n "$CC"; then
1196 echo "$ac_t""$CC" 1>&6
1198 echo "$ac_t""no" 1>&6
1201 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1204 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1205 echo "configure:1206: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1208 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1209 ac_cpp
='$CPP $CPPFLAGS'
1210 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1211 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1212 cross_compiling
=$ac_cv_prog_cc_cross
1214 cat > conftest.
$ac_ext <<EOF
1215 #line 1216 "configure"
1216 #include "confdefs.h"
1219 if { (eval echo configure
:1220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1220 ac_cv_prog_cc_works
=yes
1221 # If we can't run a trivial program, we are probably using a cross compiler.
1222 if (.
/conftest
; exit) 2>/dev
/null
; then
1223 ac_cv_prog_cc_cross
=no
1225 ac_cv_prog_cc_cross
=yes
1228 echo "configure: failed program was:" >&5
1229 cat conftest.
$ac_ext >&5
1230 ac_cv_prog_cc_works
=no
1234 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1235 if test $ac_cv_prog_cc_works = no
; then
1236 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1238 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1239 echo "configure:1240: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1240 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1241 cross_compiling
=$ac_cv_prog_cc_cross
1243 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1244 echo "configure:1245: checking whether we are using GNU C" >&5
1245 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1246 echo $ac_n "(cached) $ac_c" 1>&6
1248 cat > conftest.c
<<EOF
1253 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1260 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1262 if test $ac_cv_prog_gcc = yes; then
1264 ac_test_CFLAGS
="${CFLAGS+set}"
1265 ac_save_CFLAGS
="$CFLAGS"
1267 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1268 echo "configure:1269: checking whether ${CC-cc} accepts -g" >&5
1269 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1270 echo $ac_n "(cached) $ac_c" 1>&6
1272 echo 'void f(){}' > conftest.c
1273 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1282 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1283 if test "$ac_test_CFLAGS" = set; then
1284 CFLAGS
="$ac_save_CFLAGS"
1285 elif test $ac_cv_prog_cc_g = yes; then
1292 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1295 echo $ac_n "checking build system type""... $ac_c" 1>&6
1296 echo "configure:1297: checking build system type" >&5
1299 case "$build_alias" in
1302 NONE
) build_alias
=$host_alias ;;
1303 *) build_alias
=$nonopt ;;
1307 build
=`$ac_config_sub $build_alias`
1308 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1309 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1310 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1311 echo "$ac_t""$build" 1>&6
1313 if test $host != $build; then
1314 for ac_prog
in gcc cc
1316 # Extract the first word of "$ac_prog", so it can be a program name with args.
1317 set dummy
$ac_prog; ac_word
=$2
1318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1319 echo "configure:1320: checking for $ac_word" >&5
1320 if eval "test \"`echo '$''{'ac_cv_prog_BUILD_CC'+set}'`\" = set"; then
1321 echo $ac_n "(cached) $ac_c" 1>&6
1323 if test -n "$BUILD_CC"; then
1324 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
1326 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1327 for ac_dir
in $PATH; do
1328 test -z "$ac_dir" && ac_dir
=.
1329 if test -f $ac_dir/$ac_word; then
1330 ac_cv_prog_BUILD_CC
="$ac_prog"
1337 BUILD_CC
="$ac_cv_prog_BUILD_CC"
1338 if test -n "$BUILD_CC"; then
1339 echo "$ac_t""$BUILD_CC" 1>&6
1341 echo "$ac_t""no" 1>&6
1344 test -n "$BUILD_CC" && break
1348 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1349 echo "configure:1350: checking how to run the C preprocessor" >&5
1350 # On Suns, sometimes $CPP names a directory.
1351 if test -n "$CPP" && test -d "$CPP"; then
1354 if test -z "$CPP"; then
1355 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1356 echo $ac_n "(cached) $ac_c" 1>&6
1358 # This must be in double quotes, not single quotes, because CPP may get
1359 # substituted into the Makefile and "${CC-cc}" will confuse make.
1361 # On the NeXT, cc -E runs the code through the compiler's parser,
1362 # not just through cpp.
1363 cat > conftest.
$ac_ext <<EOF
1364 #line 1365 "configure"
1365 #include "confdefs.h"
1369 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1370 { (eval echo configure
:1371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1371 ac_err
=`grep -v '^ *+' conftest.out`
1372 if test -z "$ac_err"; then
1376 echo "configure: failed program was:" >&5
1377 cat conftest.
$ac_ext >&5
1379 CPP
="${CC-cc} -E -traditional-cpp"
1380 cat > conftest.
$ac_ext <<EOF
1381 #line 1382 "configure"
1382 #include "confdefs.h"
1386 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1387 { (eval echo configure
:1388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1388 ac_err
=`grep -v '^ *+' conftest.out`
1389 if test -z "$ac_err"; then
1393 echo "configure: failed program was:" >&5
1394 cat conftest.
$ac_ext >&5
1401 ac_cv_prog_CPP
="$CPP"
1403 CPP
="$ac_cv_prog_CPP"
1405 ac_cv_prog_CPP
="$CPP"
1407 echo "$ac_t""$CPP" 1>&6
1409 if test $host != $build; then
1410 ac_tool_prefix
=${host_alias}-
1415 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1416 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1417 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1418 echo "configure:1419: checking for $ac_word" >&5
1419 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1420 echo $ac_n "(cached) $ac_c" 1>&6
1422 if test -n "$AR"; then
1423 ac_cv_prog_AR
="$AR" # Let the user override the test.
1425 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1426 for ac_dir
in $PATH; do
1427 test -z "$ac_dir" && ac_dir
=.
1428 if test -f $ac_dir/$ac_word; then
1429 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1434 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1438 if test -n "$AR"; then
1439 echo "$ac_t""$AR" 1>&6
1441 echo "$ac_t""no" 1>&6
1446 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1447 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1448 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1449 echo "configure:1450: checking for $ac_word" >&5
1450 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1451 echo $ac_n "(cached) $ac_c" 1>&6
1453 if test -n "$RANLIB"; then
1454 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1456 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1457 for ac_dir
in $PATH; do
1458 test -z "$ac_dir" && ac_dir
=.
1459 if test -f $ac_dir/$ac_word; then
1460 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1467 RANLIB
="$ac_cv_prog_RANLIB"
1468 if test -n "$RANLIB"; then
1469 echo "$ac_t""$RANLIB" 1>&6
1471 echo "$ac_t""no" 1>&6
1475 if test -z "$ac_cv_prog_RANLIB"; then
1476 if test -n "$ac_tool_prefix"; then
1477 # Extract the first word of "ranlib", so it can be a program name with args.
1478 set dummy ranlib
; ac_word
=$2
1479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1480 echo "configure:1481: checking for $ac_word" >&5
1481 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1482 echo $ac_n "(cached) $ac_c" 1>&6
1484 if test -n "$RANLIB"; then
1485 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1487 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1488 for ac_dir
in $PATH; do
1489 test -z "$ac_dir" && ac_dir
=.
1490 if test -f $ac_dir/$ac_word; then
1491 ac_cv_prog_RANLIB
="ranlib"
1496 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1499 RANLIB
="$ac_cv_prog_RANLIB"
1500 if test -n "$RANLIB"; then
1501 echo "$ac_t""$RANLIB" 1>&6
1503 echo "$ac_t""no" 1>&6
1512 # Extract the first word of "bash", so it can be a program name with args.
1513 set dummy bash
; ac_word
=$2
1514 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1515 echo "configure:1516: checking for $ac_word" >&5
1516 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1517 echo $ac_n "(cached) $ac_c" 1>&6
1521 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
1524 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1525 for ac_dir
in $PATH; do
1526 test -z "$ac_dir" && ac_dir
=.
1527 if test -f $ac_dir/$ac_word; then
1528 ac_cv_path_BASH
="$ac_dir/$ac_word"
1533 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="no"
1537 BASH
="$ac_cv_path_BASH"
1538 if test -n "$BASH"; then
1539 echo "$ac_t""$BASH" 1>&6
1541 echo "$ac_t""no" 1>&6
1544 if test "$BASH" != no
&&
1545 $BASH -c 'test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
1546 libc_cv_have_bash2
=yes
1548 libc_cv_have_bash2
=no
1552 if test "$BASH" = no
; then
1553 # Extract the first word of "ksh", so it can be a program name with args.
1554 set dummy ksh
; ac_word
=$2
1555 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1556 echo "configure:1557: checking for $ac_word" >&5
1557 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
1558 echo $ac_n "(cached) $ac_c" 1>&6
1562 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
1565 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1566 for ac_dir
in $PATH; do
1567 test -z "$ac_dir" && ac_dir
=.
1568 if test -f $ac_dir/$ac_word; then
1569 ac_cv_path_KSH
="$ac_dir/$ac_word"
1574 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
1578 KSH
="$ac_cv_path_KSH"
1579 if test -n "$KSH"; then
1580 echo "$ac_t""$KSH" 1>&6
1582 echo "$ac_t""no" 1>&6
1585 if test "$KSH" = no
; then
1588 libc_cv_have_ksh
=yes
1593 libc_cv_have_ksh
=yes
1597 echo $ac_n "checking for signed size_t type""... $ac_c" 1>&6
1598 echo "configure:1599: checking for signed size_t type" >&5
1599 if eval "test \"`echo '$''{'libc_cv_signed_size_t'+set}'`\" = set"; then
1600 echo $ac_n "(cached) $ac_c" 1>&6
1602 echo '#include <stddef.h>
1603 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
1604 if eval "$ac_cpp conftest.c 2>/dev/null" \
1605 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
1606 libc_cv_signed_size_t
=no
1608 libc_cv_signed_size_t
=yes
1613 echo "$ac_t""$libc_cv_signed_size_t" 1>&6
1614 if test $libc_cv_signed_size_t = yes; then
1615 cat >> confdefs.h
<<\EOF
1616 #undef __SIZE_TYPE__
1617 #define __SIZE_TYPE__ unsigned
1621 echo $ac_n "checking for libc-friendly stddef.h""... $ac_c" 1>&6
1622 echo "configure:1623: checking for libc-friendly stddef.h" >&5
1623 if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then
1624 echo $ac_n "(cached) $ac_c" 1>&6
1626 cat > conftest.
$ac_ext <<EOF
1627 #line 1628 "configure"
1628 #include "confdefs.h"
1629 #define __need_size_t
1630 #define __need_wchar_t
1635 size_t size; wchar_t wchar;
1637 #error stddef.h ignored __need_*
1639 if (&size == NULL || &wchar == NULL) abort ();
1642 if { (eval echo configure
:1643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1644 libc_cv_friendly_stddef
=yes
1646 echo "configure: failed program was:" >&5
1647 cat conftest.
$ac_ext >&5
1649 libc_cv_friendly_stddef
=no
1654 echo "$ac_t""$libc_cv_friendly_stddef" 1>&6
1655 if test $libc_cv_friendly_stddef = yes; then
1656 config_vars
="$config_vars
1657 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
1660 echo $ac_n "checking whether we need to use -P to assemble .S files""... $ac_c" 1>&6
1661 echo "configure:1662: checking whether we need to use -P to assemble .S files" >&5
1662 if eval "test \"`echo '$''{'libc_cv_need_minus_P'+set}'`\" = set"; then
1663 echo $ac_n "(cached) $ac_c" 1>&6
1665 cat > conftest.S
<<EOF
1666 #include "confdefs.h"
1667 /* Nothing whatsoever. */
1669 if ${CC-cc} $CFLAGS -c conftest.S
2>/dev
/null
; then
1670 libc_cv_need_minus_P
=no
1672 libc_cv_need_minus_P
=yes
1677 echo "$ac_t""$libc_cv_need_minus_P" 1>&6
1678 if test $libc_cv_need_minus_P = yes; then
1679 config_vars
="$config_vars
1680 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
1683 echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&6
1684 echo "configure:1685: checking for assembler global-symbol directive" >&5
1685 if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then
1686 echo $ac_n "(cached) $ac_c" 1>&6
1688 libc_cv_asm_global_directive
=UNKNOWN
1689 for ac_globl
in .globl .global
; do
1690 cat > conftest.s
<<EOF
1695 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
1696 libc_cv_asm_global_directive
=${ac_globl}
1699 test $libc_cv_asm_global_directive != UNKNOWN
&& break
1703 echo "$ac_t""$libc_cv_asm_global_directive" 1>&6
1704 if test $libc_cv_asm_global_directive = UNKNOWN
; then
1705 { echo "configure: error: cannot determine asm global directive" 1>&2; exit 1; }
1707 cat >> confdefs.h
<<EOF
1708 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
1713 echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&6
1714 echo "configure:1715: checking for .set assembler directive" >&5
1715 if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then
1716 echo $ac_n "(cached) $ac_c" 1>&6
1718 cat > conftest.s
<<EOF
1721 .set glibc_conftest_frobozz,foo
1722 $libc_cv_asm_global_directive glibc_conftest_frobozz
1724 # The alpha-dec-osf1 assembler gives only a warning for `.set'
1725 # (but it doesn't work), so we must do a linking check to be sure.
1726 cat > conftest1.c
<<\EOF
1727 extern int glibc_conftest_frobozz
;
1728 main
() { printf ("%d\n", glibc_conftest_frobozz
); }
1730 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
1731 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
1732 libc_cv_asm_set_directive
=yes
1734 libc_cv_asm_set_directive
=no
1739 echo "$ac_t""$libc_cv_asm_set_directive" 1>&6
1740 if test $libc_cv_asm_set_directive = yes; then
1741 cat >> confdefs.h
<<\EOF
1742 #define HAVE_ASM_SET_DIRECTIVE 1
1747 echo $ac_n "checking for .symver assembler directive""... $ac_c" 1>&6
1748 echo "configure:1749: checking for .symver assembler directive" >&5
1749 if eval "test \"`echo '$''{'libc_cv_asm_symver_directive'+set}'`\" = set"; then
1750 echo $ac_n "(cached) $ac_c" 1>&6
1752 cat > conftest.s
<<EOF
1755 .symver _sym,sym@VERS
1757 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
1758 libc_cv_asm_symver_directive
=yes
1760 libc_cv_asm_symver_directive
=no
1765 echo "$ac_t""$libc_cv_asm_symver_directive" 1>&6
1766 echo $ac_n "checking for ld --version-script""... $ac_c" 1>&6
1767 echo "configure:1768: checking for ld --version-script" >&5
1768 if eval "test \"`echo '$''{'libc_cv_ld_version_script_option'+set}'`\" = set"; then
1769 echo $ac_n "(cached) $ac_c" 1>&6
1771 if test $libc_cv_asm_symver_directive = yes; then
1772 cat > conftest.s
<<EOF
1775 .symver _sym,sym@VERS
1777 cat > conftest.map
<<EOF
1782 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
1783 if { ac_try
='${CC-cc} $CFLAGS --shared -o conftest.so conftest.o
1784 -Wl,--version-script,conftest.map'; { (eval echo configure
:1785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; };
1786 libc_cv_ld_version_script_option
=yes
1788 libc_cv_ld_version_script_option
=no
1791 libc_cv_ld_version_script_option
=no
1794 libc_cv_ld_version_script_option
=no
1799 echo "$ac_t""$libc_cv_ld_version_script_option" 1>&6
1800 if test $libc_cv_asm_symver_directive = yes &&
1801 test $libc_cv_ld_version_script_option = yes; then
1803 cat >> confdefs.h
<<\EOF
1804 #define DO_VERSIONING 1
1812 if test $elf = yes; then
1813 echo $ac_n "checking for .previous assembler directive""... $ac_c" 1>&6
1814 echo "configure:1815: checking for .previous assembler directive" >&5
1815 if eval "test \"`echo '$''{'libc_cv_asm_previous_directive'+set}'`\" = set"; then
1816 echo $ac_n "(cached) $ac_c" 1>&6
1818 cat > conftest.s
<<EOF
1819 .section foo_section
1822 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure
:1823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
1823 libc_cv_asm_previous_directive
=yes
1825 libc_cv_asm_previous_directive
=no
1830 echo "$ac_t""$libc_cv_asm_previous_directive" 1>&6
1831 if test $libc_cv_asm_previous_directive = yes; then
1832 cat >> confdefs.h
<<\EOF
1833 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
1837 echo $ac_n "checking for .popsection assembler directive""... $ac_c" 1>&6
1838 echo "configure:1839: checking for .popsection assembler directive" >&5
1839 if eval "test \"`echo '$''{'libc_cv_asm_popsection_directive'+set}'`\" = set"; then
1840 echo $ac_n "(cached) $ac_c" 1>&6
1842 cat > conftest.s
<<EOF
1843 .pushsection foo_section
1846 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure
:1847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
1847 libc_cv_asm_popsection_directive
=yes
1849 libc_cv_asm_popsection_directive
=no
1854 echo "$ac_t""$libc_cv_asm_popsection_directive" 1>&6
1855 if test $libc_cv_asm_popsection_directive = yes; then
1856 cat >> confdefs.h
<<\EOF
1857 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
1864 if test $elf != yes; then
1865 echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&6
1866 echo "configure:1867: checking for .init and .fini sections" >&5
1867 if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then
1868 echo $ac_n "(cached) $ac_c" 1>&6
1870 cat > conftest.
$ac_ext <<EOF
1871 #line 1872 "configure"
1872 #include "confdefs.h"
1875 asm (".section .init");
1876 asm (".section .fini");
1880 if { (eval echo configure
:1881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1882 libc_cv_have_initfini
=yes
1884 echo "configure: failed program was:" >&5
1885 cat conftest.
$ac_ext >&5
1887 libc_cv_have_initfini
=no
1892 echo "$ac_t""$libc_cv_have_initfini" 1>&6
1893 if test $libc_cv_have_initfini = yes; then
1894 cat >> confdefs.h
<<\EOF
1895 #define HAVE_INITFINI 1
1901 if test $elf = yes; then
1902 libc_cv_asm_underscores
=no
1904 echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6
1905 echo "configure:1906: checking for _ prefix on C symbol names" >&5
1906 if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then
1907 echo $ac_n "(cached) $ac_c" 1>&6
1909 cat > conftest.
$ac_ext <<EOF
1910 #line 1911 "configure"
1911 #include "confdefs.h"
1912 asm ("_glibc_foobar:");
1917 if { (eval echo configure
:1918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1919 libc_cv_asm_underscores
=yes
1921 echo "configure: failed program was:" >&5
1922 cat conftest.
$ac_ext >&5
1924 libc_cv_asm_underscores
=no
1929 echo "$ac_t""$libc_cv_asm_underscores" 1>&6
1931 if test $libc_cv_asm_underscores = no
; then
1932 cat >> confdefs.h
<<\EOF
1933 #define NO_UNDERSCORES 1
1938 if test $elf = yes; then
1939 libc_cv_weak_symbols
=yes
1940 libc_cv_asm_weak_directive
=yes
1941 libc_cv_asm_weakext_directive
=no
1943 echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&6
1944 echo "configure:1945: checking for assembler .weak directive" >&5
1945 if eval "test \"`echo '$''{'libc_cv_asm_weak_directive'+set}'`\" = set"; then
1946 echo $ac_n "(cached) $ac_c" 1>&6
1948 cat > conftest.s
<<EOF
1950 ${libc_cv_asm_global_directive} foo
1953 .weak bar; bar = foo
1955 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
1956 libc_cv_asm_weak_directive
=yes
1958 libc_cv_asm_weak_directive
=no
1963 echo "$ac_t""$libc_cv_asm_weak_directive" 1>&6
1965 if test $libc_cv_asm_weak_directive = no
; then
1966 echo $ac_n "checking for assembler .weakext directive""... $ac_c" 1>&6
1967 echo "configure:1968: checking for assembler .weakext directive" >&5
1968 if eval "test \"`echo '$''{'libc_cv_asm_weakext_directive'+set}'`\" = set"; then
1969 echo $ac_n "(cached) $ac_c" 1>&6
1971 cat > conftest.s
<<EOF
1973 ${libc_cv_asm_global_directive} foo
1978 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
1979 libc_cv_asm_weakext_directive
=yes
1981 libc_cv_asm_weakext_directive
=no
1986 echo "$ac_t""$libc_cv_asm_weakext_directive" 1>&6
1991 if test $libc_cv_asm_weak_directive = yes; then
1992 cat >> confdefs.h
<<\EOF
1993 #define HAVE_ASM_WEAK_DIRECTIVE 1
1996 elif test $libc_cv_asm_weakext_directive = yes; then
1997 cat >> confdefs.h
<<\EOF
1998 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
2003 echo $ac_n "checking for ld --no-whole-archive""... $ac_c" 1>&6
2004 echo "configure:2005: checking for ld --no-whole-archive" >&5
2005 if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then
2006 echo $ac_n "(cached) $ac_c" 1>&6
2008 cat > conftest.c
<<\EOF
2013 if { ac_try
='${CC-cc} $CFLAGS
2014 -nostdlib -nostartfiles -Wl,--no-whole-archive
2015 -o conftest conftest.c'; { (eval echo configure
:2016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2016 libc_cv_ld_no_whole_archive
=yes
2018 libc_cv_ld_no_whole_archive
=no
2023 echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6
2025 echo $ac_n "checking for gcc -fno-exceptions""... $ac_c" 1>&6
2026 echo "configure:2027: checking for gcc -fno-exceptions" >&5
2027 if eval "test \"`echo '$''{'libc_cv_gcc_no_exceptions'+set}'`\" = set"; then
2028 echo $ac_n "(cached) $ac_c" 1>&6
2030 cat > conftest.c
<<\EOF
2035 if { ac_try
='${CC-cc} $CFLAGS
2036 -nostdlib -nostartfiles -fno-exceptions
2037 -o conftest conftest.c'; { (eval echo configure
:2038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2038 libc_cv_gcc_no_exceptions
=yes
2040 libc_cv_gcc_no_exceptions
=no
2045 echo "$ac_t""$libc_cv_gcc_no_exceptions" 1>&6
2047 ### End of automated tests.
2048 ### Now run sysdeps configure fragments.
2050 # sysdeps configure fragments may set these with files to be linked below.
2054 # Iterate over all the sysdep directories we will use, running their
2055 # configure fragments, and looking for a uname implementation.
2057 for dir
in $sysnames; do
2060 *) dest
=$srcdir/$dir ;;
2062 if test -r $dest/configure
; then
2063 echo "$ac_t""running configure fragment for $dest" 1>&6
2067 if test -z "$uname"; then
2068 if test -r $sysdep_dir/$dir/uname.c ||
2069 test -r $sysdep_dir/$dir/uname.S ||
2070 { test -r $sysdep_dir/$dir/syscalls.list
&&
2071 grep '^uname[ ]' $sysdep_dir/$dir/syscalls.list
>/dev
/null
; }; then
2079 # If we will use the generic uname implementation, we must figure out what
2080 # it will say by examining the system, and write the results in config-name.h.
2081 if test "$uname" = generic
; then
2083 uname_sysname
=`echo $config_os | sed 's/[0-9.]*$//'`
2084 if test $uname_sysname != $config_os; then
2085 config_release
=`echo $config_os | sed s/$uname_sysname//`
2088 echo $ac_n "checking OS release for uname""... $ac_c" 1>&6
2089 echo "configure:2090: checking OS release for uname" >&5
2090 if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then
2091 echo $ac_n "(cached) $ac_c" 1>&6
2093 kernel_release
=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
2094 if test x
`echo "$config_release" | sed "s/^$kernel_release//"` \
2095 != x
$config_release; then
2096 # The configuration release is a substring of the kernel release.
2097 libc_cv_uname_release
=$kernel_release
2098 elif test x
$config_release != x
; then
2099 libc_cv_uname_release
=$config_release
2100 elif test x
$kernel_release != x
; then
2101 libc_cv_uname_release
=$kernel_release
2103 libc_cv_uname_release
=unknown
2107 echo "$ac_t""$libc_cv_uname_release" 1>&6
2108 uname_release
="$libc_cv_uname_release"
2110 echo $ac_n "checking OS version for uname""... $ac_c" 1>&6
2111 echo "configure:2112: checking OS version for uname" >&5
2112 if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then
2113 echo $ac_n "(cached) $ac_c" 1>&6
2115 kernel_version
=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
2116 if test -n "$kernel_version"; then
2117 libc_cv_uname_version
="$kernel_version"
2119 libc_cv_uname_version
=unknown
2123 echo "$ac_t""$libc_cv_uname_version" 1>&6
2124 uname_version
="$libc_cv_uname_version"
2126 config_uname
=config-name.h
:config-name.
in
2128 # For non-generic uname, we don't need to create config-name.h at all.
2132 echo $ac_n "checking stdio selection""... $ac_c" 1>&6
2133 echo "configure:2134: checking stdio selection" >&5
2136 libio
) cat >> confdefs.h
<<\EOF
2137 #define USE_IN_LIBIO 1
2140 default
) stdio
=stdio
;;
2142 echo "$ac_t""$stdio" 1>&6
2151 if test $gnu_ld = yes; then
2152 cat >> confdefs.h
<<\EOF
2153 #define HAVE_GNU_LD 1
2157 if test $gnu_as = yes; then
2158 cat >> confdefs.h
<<\EOF
2159 #define HAVE_GNU_AS 1
2163 if test $elf = yes; then
2164 cat >> confdefs.h
<<\EOF
2171 if test $shared = default
; then
2172 if test $gnu_ld = yes; then
2175 # For now we do not assume shared libs are available. In future more
2176 # tests might become available.
2186 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
2189 config_makefile
=Makefile
2192 VERSION
=`sed -e 's/^#define VERSION "\([^"]*\)"/\1/p' -e d < $srcdir/version.h`
2196 cat > confcache
<<\EOF
2197 # This file is a shell script that caches the results of configure
2198 # tests run on this system so they can be shared between configure
2199 # scripts and configure runs. It is not useful on other systems.
2200 # If it contains results you don't want to keep, you may remove or edit it.
2202 # By default, configure uses ./config.cache as the cache file,
2203 # creating it if it does not exist already. You can give configure
2204 # the --cache-file=FILE option to use a different cache file; that is
2205 # what configure does when it calls configure scripts in
2206 # subdirectories, so they share the cache.
2207 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2208 # config.status only pays attention to the cache file if you give it the
2209 # --recheck option to rerun configure.
2212 # The following way of writing the cache mishandles newlines in values,
2213 # but we know of no workaround that is simple, portable, and efficient.
2214 # So, don't put newlines in cache variables' values.
2215 # Ultrix sh set writes to stderr and can't be redirected directly,
2216 # and sets the high bit in the cache file unless we assign to the vars.
2218 case `(ac_space=' '; set) 2>&1` in
2220 # `set' does not quote correctly, so add quotes (double-quote substitution
2221 # turns \\\\ into \\, and sed turns \\ into \).
2223 -e "s/'/'\\\\''/g" \
2224 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2227 # `set' quotes correctly as required by POSIX, so do not add quotes.
2228 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2231 if cmp -s $cache_file confcache
; then
2234 if test -w $cache_file; then
2235 echo "updating cache $cache_file"
2236 cat confcache
> $cache_file
2238 echo "not updating unwritable cache $cache_file"
2243 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2245 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2246 # Let make expand exec_prefix.
2247 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2249 # Any assignment to VPATH causes Sun make to only execute
2250 # the first set of double-colon rules, so remove it if not needed.
2251 # If there is a colon in the path, we need to keep it.
2252 if test "x$srcdir" = x.
; then
2253 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2256 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2258 DEFS
=-DHAVE_CONFIG_H
2260 # Without the "./", some shells look in PATH for config.status.
2261 : ${CONFIG_STATUS=./config.status}
2263 echo creating
$CONFIG_STATUS
2264 rm -f $CONFIG_STATUS
2265 cat > $CONFIG_STATUS <<EOF
2267 # Generated automatically by configure.
2268 # Run this file to recreate the current configuration.
2269 # This directory was configured as follows,
2270 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2272 # $0 $ac_configure_args
2274 # Compiler output produced by configure, useful for debugging
2275 # configure, is in ./config.log if it exists.
2277 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2280 case "\$ac_option" in
2281 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2282 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2283 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2284 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2285 echo "$CONFIG_STATUS generated by autoconf version 2.12"
2287 -help | --help | --hel | --he | --h)
2288 echo "\$ac_cs_usage"; exit 0 ;;
2289 *) echo "\$ac_cs_usage"; exit 1 ;;
2293 ac_given_srcdir=$srcdir
2294 ac_given_INSTALL="$INSTALL"
2296 trap 'rm -fr `echo "config.make glibcbug ${config_makefile} ${config_uname} config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2298 cat >> $CONFIG_STATUS <<EOF
2300 # Protect against being on the right side of a sed subst in config.status.
2301 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2302 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2305 s%@CFLAGS@%$CFLAGS%g
2306 s%@CPPFLAGS@%$CPPFLAGS%g
2307 s%@CXXFLAGS@%$CXXFLAGS%g
2309 s%@LDFLAGS@%$LDFLAGS%g
2311 s%@exec_prefix@%$exec_prefix%g
2312 s%@prefix@%$prefix%g
2313 s%@program_transform_name@%$program_transform_name%g
2314 s%@bindir@%$bindir%g
2315 s%@sbindir@%$sbindir%g
2316 s%@libexecdir@%$libexecdir%g
2317 s%@datadir@%$datadir%g
2318 s%@sysconfdir@%$sysconfdir%g
2319 s%@sharedstatedir@%$sharedstatedir%g
2320 s%@localstatedir@%$localstatedir%g
2321 s%@libdir@%$libdir%g
2322 s%@includedir@%$includedir%g
2323 s%@oldincludedir@%$oldincludedir%g
2324 s%@infodir@%$infodir%g
2325 s%@mandir@%$mandir%g
2326 s%@subdirs@%$subdirs%g
2328 s%@host_alias@%$host_alias%g
2329 s%@host_cpu@%$host_cpu%g
2330 s%@host_vendor@%$host_vendor%g
2331 s%@host_os@%$host_os%g
2332 s%@base_machine@%$base_machine%g
2333 s%@sysnames@%$sysnames%g
2334 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2335 s%@INSTALL_DATA@%$INSTALL_DATA%g
2337 s%@MSGFMT@%$MSGFMT%g
2340 s%@build_alias@%$build_alias%g
2341 s%@build_cpu@%$build_cpu%g
2342 s%@build_vendor@%$build_vendor%g
2343 s%@build_os@%$build_os%g
2344 s%@BUILD_CC@%$BUILD_CC%g
2347 s%@RANLIB@%$RANLIB%g
2349 s%@libc_cv_have_bash2@%$libc_cv_have_bash2%g
2351 s%@libc_cv_have_ksh@%$libc_cv_have_ksh%g
2352 s%@VERSIONING@%$VERSIONING%g
2353 s%@libc_cv_have_initfini@%$libc_cv_have_initfini%g
2354 s%@libc_cv_ld_no_whole_archive@%$libc_cv_ld_no_whole_archive%g
2355 s%@libc_cv_gcc_no_exceptions@%$libc_cv_gcc_no_exceptions%g
2356 s%@uname_sysname@%$uname_sysname%g
2357 s%@uname_release@%$uname_release%g
2358 s%@uname_version@%$uname_version%g
2360 s%@libc_cv_slibdir@%$libc_cv_slibdir%g
2361 s%@libc_cv_sysconfdir@%$libc_cv_sysconfdir%g
2362 s%@libc_cv_rootsbindir@%$libc_cv_rootsbindir%g
2363 s%@has_ldconfig@%$has_ldconfig%g
2364 s%@gnu_ld@%$gnu_ld%g
2365 s%@gnu_as@%$gnu_as%g
2367 s%@shared@%$shared%g
2368 s%@profile@%$profile%g
2369 s%@omitfp@%$omitfp%g
2370 s%@bounded@%$bounded%g
2371 s%@DEFINES@%$DEFINES%g
2372 s%@VERSION@%$VERSION%g
2377 cat >> $CONFIG_STATUS <<\EOF
2379 # Split the substitutions into bite-sized pieces for seds with
2380 # small command number limits, like on Digital OSF/1 and HP-UX.
2381 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2382 ac_file
=1 # Number of current file.
2383 ac_beg
=1 # First line for current file.
2384 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2387 while $ac_more_lines; do
2388 if test $ac_beg -gt 1; then
2389 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2391 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2393 if test ! -s conftest.s
$ac_file; then
2395 rm -f conftest.s
$ac_file
2397 if test -z "$ac_sed_cmds"; then
2398 ac_sed_cmds
="sed -f conftest.s$ac_file"
2400 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2402 ac_file
=`expr $ac_file + 1`
2404 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2407 if test -z "$ac_sed_cmds"; then
2412 cat >> $CONFIG_STATUS <<EOF
2414 CONFIG_FILES=\${CONFIG_FILES-"config.make glibcbug ${config_makefile} ${config_uname}"}
2416 cat >> $CONFIG_STATUS <<\EOF
2417 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2418 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2420 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2421 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2422 *) ac_file_in
="${ac_file}.in" ;;
2425 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2427 # Remove last slash and all that follows it. Not all systems have dirname.
2428 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2429 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2430 # The file is in a subdirectory.
2431 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2432 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2433 # A "../" for each directory in $ac_dir_suffix.
2434 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2436 ac_dir_suffix
= ac_dots
=
2439 case "$ac_given_srcdir" in
2441 if test -z "$ac_dots"; then top_srcdir
=.
2442 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2443 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2445 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2446 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2449 case "$ac_given_INSTALL" in
2450 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2451 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2454 echo creating
"$ac_file"
2456 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2458 *Makefile
*) ac_comsub
="1i\\
2459 # $configure_input" ;;
2463 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2465 s%@configure_input@%$configure_input%g
2466 s%@srcdir@%$srcdir%g
2467 s%@top_srcdir@%$top_srcdir%g
2468 s%@INSTALL@%$INSTALL%g
2469 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2473 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2474 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2476 # ac_d sets the value in "#define NAME VALUE" lines.
2477 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2478 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2481 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2482 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2483 ac_uB
='\([ ]\)%\1#\2define\3'
2486 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2487 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2488 ac_eB
='$%\1#\2define\3'
2492 if test "${CONFIG_HEADERS+set}" != set; then
2494 cat >> $CONFIG_STATUS <<EOF
2495 CONFIG_HEADERS="config.h"
2497 cat >> $CONFIG_STATUS <<\EOF
2499 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2500 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2502 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2503 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2504 *) ac_file_in
="${ac_file}.in" ;;
2507 echo creating
$ac_file
2509 rm -f conftest.frag conftest.
in conftest.out
2510 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2511 cat $ac_file_inputs > conftest.
in
2515 # Transform confdefs.h into a sed script conftest.vals that substitutes
2516 # the proper values into config.h.in to produce config.h. And first:
2517 # Protect against being on the right side of a sed subst in config.status.
2518 # Protect against being in an unquoted here document in config.status.
2520 cat > conftest.hdr
<<\EOF
2523 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2527 sed -n -f conftest.hdr confdefs.h > conftest.vals
2530 # This sed command replaces #undef with comments. This is necessary, for
2531 # example, in the case of _POSIX_SOURCE, which is predefined and required
2532 # on some systems where configure will not decide to define it.
2533 cat >> conftest.vals <<\EOF
2534 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2537 # Break up conftest.vals because some shells have a limit on
2538 # the size of here documents, and old seds have small limits too.
2543 ac_lines=`grep -c . conftest.vals
`
2544 # grep -c gives empty output for an empty file on some AIX systems.
2545 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2546 # Write a limited-size here document to conftest.frag.
2547 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2548 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2550 sed -f conftest.frag conftest.in > conftest.out
2552 mv conftest.out conftest.in
2554 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2556 mv conftest.tail conftest.vals
2560 cat >> $CONFIG_STATUS <<\EOF
2561 rm -f conftest.frag conftest.h
2562 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2563 cat conftest.in >> conftest.h
2565 if cmp -s $ac_file conftest.h 2>/dev/null; then
2566 echo "$ac_file is unchanged"
2569 # Remove last slash and all that follows it. Not all systems have dirname.
2570 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2571 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2572 # The file is in a subdirectory.
2573 test ! -d "$ac_dir" && mkdir "$ac_dir"
2576 mv conftest.h $ac_file
2582 cat >> $CONFIG_STATUS <<EOF
2583 ac_sources="`echo $libc_link_sources`"
2584 ac_dests="`echo $libc_link_dests`"
2587 cat >> $CONFIG_STATUS <<\EOF
2588 srcdir=$ac_given_srcdir
2589 while test -n "$ac_sources"; do
2590 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
2591 set $ac_sources; ac_source=$1; shift; ac_sources=$*
2593 echo "linking $srcdir/$ac_source to $ac_dest"
2595 if test ! -r $srcdir/$ac_source; then
2596 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
2600 # Make relative symlinks.
2601 # Remove last slash and all that follows it. Not all systems have dirname.
2602 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
2603 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
2604 # The dest file is in a subdirectory.
2605 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
2606 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
2607 # A "../" for each directory in $ac_dest_dir_suffix.
2608 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
2610 ac_dest_dir_suffix= ac_dots=
2614 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
2615 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
2618 # Make a symlink if possible; otherwise try a hard link.
2619 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
2620 ln $srcdir/$ac_source $ac_dest; then :
2622 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
2626 cat >> $CONFIG_STATUS <<EOF
2627 echo '$config_vars' >> config.make
2629 cat >> $CONFIG_STATUS <<\EOF
2633 chmod +x $CONFIG_STATUS
2634 rm -fr confdefs* $ac_clean_files
2635 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2637 if test "$no_recursion" != yes; then
2639 # Remove --cache-file and --srcdir arguments so they do not pile up.
2640 ac_sub_configure_args=
2642 for ac_arg in $ac_configure_args; do
2643 if test -n "$ac_prev"; then
2648 -cache-file | --cache-file | --cache-fil | --cache-fi \
2649 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2650 ac_prev=cache_file ;;
2651 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2652 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2654 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2656 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2658 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
2662 for ac_config_dir in $add_ons; do
2664 # Do not complain, so a configure script can configure whichever
2665 # parts of a large source tree are present.
2666 if test ! -d $srcdir/$ac_config_dir; then
2670 echo configuring in $ac_config_dir
2675 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
2677 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
2685 # A "../" for each directory in /$ac_config_dir.
2686 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
2689 .) # No --srcdir option. We are building in place.
2690 ac_sub_srcdir=$srcdir ;;
2691 /*) # Absolute path.
2692 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
2694 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
2697 # Check for guested configure; otherwise get Cygnus style configure.
2698 if test -f $ac_sub_srcdir/configure; then
2699 ac_sub_configure=$ac_sub_srcdir/configure
2700 elif test -f $ac_sub_srcdir/configure.in; then
2701 ac_sub_configure=$ac_configure
2703 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
2707 # The recursion is here.
2708 if test -n "$ac_sub_configure"; then
2710 # Make the cache file name correct relative to the subdirectory.
2711 case "$cache_file" in
2712 /*) ac_sub_cache_file=$cache_file ;;
2714 ac_sub_cache_file="$ac_dots$cache_file" ;;
2716 case "$ac_given_INSTALL" in
2717 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2718 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2721 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
2722 # The eval makes quoting arguments work.
2723 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
2726 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }