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
1349 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1350 echo "configure:1351: checking how to run the C preprocessor" >&5
1351 # On Suns, sometimes $CPP names a directory.
1352 if test -n "$CPP" && test -d "$CPP"; then
1355 if test -z "$CPP"; then
1356 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1357 echo $ac_n "(cached) $ac_c" 1>&6
1359 # This must be in double quotes, not single quotes, because CPP may get
1360 # substituted into the Makefile and "${CC-cc}" will confuse make.
1362 # On the NeXT, cc -E runs the code through the compiler's parser,
1363 # not just through cpp.
1364 cat > conftest.
$ac_ext <<EOF
1365 #line 1366 "configure"
1366 #include "confdefs.h"
1370 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1371 { (eval echo configure
:1372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1372 ac_err
=`grep -v '^ *+' conftest.out`
1373 if test -z "$ac_err"; then
1377 echo "configure: failed program was:" >&5
1378 cat conftest.
$ac_ext >&5
1380 CPP
="${CC-cc} -E -traditional-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
1402 ac_cv_prog_CPP
="$CPP"
1404 CPP
="$ac_cv_prog_CPP"
1406 ac_cv_prog_CPP
="$CPP"
1408 echo "$ac_t""$CPP" 1>&6
1410 if test $host != $build; then
1411 ac_tool_prefix
=${host_alias}-
1416 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1417 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1418 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1419 echo "configure:1420: checking for $ac_word" >&5
1420 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1421 echo $ac_n "(cached) $ac_c" 1>&6
1423 if test -n "$AR"; then
1424 ac_cv_prog_AR
="$AR" # Let the user override the test.
1426 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1427 for ac_dir
in $PATH; do
1428 test -z "$ac_dir" && ac_dir
=.
1429 if test -f $ac_dir/$ac_word; then
1430 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1435 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1439 if test -n "$AR"; then
1440 echo "$ac_t""$AR" 1>&6
1442 echo "$ac_t""no" 1>&6
1447 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1448 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1449 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1450 echo "configure:1451: checking for $ac_word" >&5
1451 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1452 echo $ac_n "(cached) $ac_c" 1>&6
1454 if test -n "$RANLIB"; then
1455 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1457 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1458 for ac_dir
in $PATH; do
1459 test -z "$ac_dir" && ac_dir
=.
1460 if test -f $ac_dir/$ac_word; then
1461 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1468 RANLIB
="$ac_cv_prog_RANLIB"
1469 if test -n "$RANLIB"; then
1470 echo "$ac_t""$RANLIB" 1>&6
1472 echo "$ac_t""no" 1>&6
1476 if test -z "$ac_cv_prog_RANLIB"; then
1477 if test -n "$ac_tool_prefix"; then
1478 # Extract the first word of "ranlib", so it can be a program name with args.
1479 set dummy ranlib
; ac_word
=$2
1480 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1481 echo "configure:1482: checking for $ac_word" >&5
1482 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1483 echo $ac_n "(cached) $ac_c" 1>&6
1485 if test -n "$RANLIB"; then
1486 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1488 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1489 for ac_dir
in $PATH; do
1490 test -z "$ac_dir" && ac_dir
=.
1491 if test -f $ac_dir/$ac_word; then
1492 ac_cv_prog_RANLIB
="ranlib"
1497 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1500 RANLIB
="$ac_cv_prog_RANLIB"
1501 if test -n "$RANLIB"; then
1502 echo "$ac_t""$RANLIB" 1>&6
1504 echo "$ac_t""no" 1>&6
1513 # Extract the first word of "bash", so it can be a program name with args.
1514 set dummy bash
; ac_word
=$2
1515 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1516 echo "configure:1517: checking for $ac_word" >&5
1517 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1518 echo $ac_n "(cached) $ac_c" 1>&6
1522 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
1525 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1526 for ac_dir
in $PATH; do
1527 test -z "$ac_dir" && ac_dir
=.
1528 if test -f $ac_dir/$ac_word; then
1529 ac_cv_path_BASH
="$ac_dir/$ac_word"
1534 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="no"
1538 BASH
="$ac_cv_path_BASH"
1539 if test -n "$BASH"; then
1540 echo "$ac_t""$BASH" 1>&6
1542 echo "$ac_t""no" 1>&6
1545 if test "$BASH" != no
&&
1546 $BASH -c 'test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
1547 libc_cv_have_bash2
=yes
1549 libc_cv_have_bash2
=no
1553 if test "$BASH" = no
; then
1554 # Extract the first word of "ksh", so it can be a program name with args.
1555 set dummy ksh
; ac_word
=$2
1556 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1557 echo "configure:1558: checking for $ac_word" >&5
1558 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
1559 echo $ac_n "(cached) $ac_c" 1>&6
1563 ac_cv_path_KSH
="$KSH" # Let the user override the test with a path.
1566 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1567 for ac_dir
in $PATH; do
1568 test -z "$ac_dir" && ac_dir
=.
1569 if test -f $ac_dir/$ac_word; then
1570 ac_cv_path_KSH
="$ac_dir/$ac_word"
1575 test -z "$ac_cv_path_KSH" && ac_cv_path_KSH
="no"
1579 KSH
="$ac_cv_path_KSH"
1580 if test -n "$KSH"; then
1581 echo "$ac_t""$KSH" 1>&6
1583 echo "$ac_t""no" 1>&6
1586 if test "$KSH" = no
; then
1589 libc_cv_have_ksh
=yes
1594 libc_cv_have_ksh
=yes
1598 echo $ac_n "checking for signed size_t type""... $ac_c" 1>&6
1599 echo "configure:1600: checking for signed size_t type" >&5
1600 if eval "test \"`echo '$''{'libc_cv_signed_size_t'+set}'`\" = set"; then
1601 echo $ac_n "(cached) $ac_c" 1>&6
1603 echo '#include <stddef.h>
1604 FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
1605 if eval "$ac_cpp conftest.c 2>/dev/null" \
1606 |
grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev
/null
; then
1607 libc_cv_signed_size_t
=no
1609 libc_cv_signed_size_t
=yes
1614 echo "$ac_t""$libc_cv_signed_size_t" 1>&6
1615 if test $libc_cv_signed_size_t = yes; then
1616 cat >> confdefs.h
<<\EOF
1617 #undef __SIZE_TYPE__
1618 #define __SIZE_TYPE__ unsigned
1622 echo $ac_n "checking for libc-friendly stddef.h""... $ac_c" 1>&6
1623 echo "configure:1624: checking for libc-friendly stddef.h" >&5
1624 if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then
1625 echo $ac_n "(cached) $ac_c" 1>&6
1627 cat > conftest.
$ac_ext <<EOF
1628 #line 1629 "configure"
1629 #include "confdefs.h"
1630 #define __need_size_t
1631 #define __need_wchar_t
1636 size_t size; wchar_t wchar;
1638 #error stddef.h ignored __need_*
1640 if (&size == NULL || &wchar == NULL) abort ();
1643 if { (eval echo configure
:1644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1645 libc_cv_friendly_stddef
=yes
1647 echo "configure: failed program was:" >&5
1648 cat conftest.
$ac_ext >&5
1650 libc_cv_friendly_stddef
=no
1655 echo "$ac_t""$libc_cv_friendly_stddef" 1>&6
1656 if test $libc_cv_friendly_stddef = yes; then
1657 config_vars
="$config_vars
1658 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
1661 echo $ac_n "checking whether we need to use -P to assemble .S files""... $ac_c" 1>&6
1662 echo "configure:1663: checking whether we need to use -P to assemble .S files" >&5
1663 if eval "test \"`echo '$''{'libc_cv_need_minus_P'+set}'`\" = set"; then
1664 echo $ac_n "(cached) $ac_c" 1>&6
1666 cat > conftest.S
<<EOF
1667 #include "confdefs.h"
1668 /* Nothing whatsoever. */
1670 if ${CC-cc} $CFLAGS -c conftest.S
2>/dev
/null
; then
1671 libc_cv_need_minus_P
=no
1673 libc_cv_need_minus_P
=yes
1678 echo "$ac_t""$libc_cv_need_minus_P" 1>&6
1679 if test $libc_cv_need_minus_P = yes; then
1680 config_vars
="$config_vars
1681 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
1684 echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&6
1685 echo "configure:1686: checking for assembler global-symbol directive" >&5
1686 if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then
1687 echo $ac_n "(cached) $ac_c" 1>&6
1689 libc_cv_asm_global_directive
=UNKNOWN
1690 for ac_globl
in .globl .global
; do
1691 cat > conftest.s
<<EOF
1696 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
1697 libc_cv_asm_global_directive
=${ac_globl}
1700 test $libc_cv_asm_global_directive != UNKNOWN
&& break
1704 echo "$ac_t""$libc_cv_asm_global_directive" 1>&6
1705 if test $libc_cv_asm_global_directive = UNKNOWN
; then
1706 { echo "configure: error: cannot determine asm global directive" 1>&2; exit 1; }
1708 cat >> confdefs.h
<<EOF
1709 #define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
1714 echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&6
1715 echo "configure:1716: checking for .set assembler directive" >&5
1716 if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then
1717 echo $ac_n "(cached) $ac_c" 1>&6
1719 cat > conftest.s
<<EOF
1722 .set glibc_conftest_frobozz,foo
1723 $libc_cv_asm_global_directive glibc_conftest_frobozz
1725 # The alpha-dec-osf1 assembler gives only a warning for `.set'
1726 # (but it doesn't work), so we must do a linking check to be sure.
1727 cat > conftest1.c
<<\EOF
1728 extern int glibc_conftest_frobozz
;
1729 main
() { printf ("%d\n", glibc_conftest_frobozz
); }
1731 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
1732 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
1733 libc_cv_asm_set_directive
=yes
1735 libc_cv_asm_set_directive
=no
1740 echo "$ac_t""$libc_cv_asm_set_directive" 1>&6
1741 if test $libc_cv_asm_set_directive = yes; then
1742 cat >> confdefs.h
<<\EOF
1743 #define HAVE_ASM_SET_DIRECTIVE 1
1748 echo $ac_n "checking for .symver assembler directive""... $ac_c" 1>&6
1749 echo "configure:1750: checking for .symver assembler directive" >&5
1750 if eval "test \"`echo '$''{'libc_cv_asm_symver_directive'+set}'`\" = set"; then
1751 echo $ac_n "(cached) $ac_c" 1>&6
1753 cat > conftest.s
<<EOF
1756 .symver _sym,sym@VERS
1758 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
1759 libc_cv_asm_symver_directive
=yes
1761 libc_cv_asm_symver_directive
=no
1766 echo "$ac_t""$libc_cv_asm_symver_directive" 1>&6
1767 echo $ac_n "checking for ld --version-script""... $ac_c" 1>&6
1768 echo "configure:1769: checking for ld --version-script" >&5
1769 if eval "test \"`echo '$''{'libc_cv_ld_version_script_option'+set}'`\" = set"; then
1770 echo $ac_n "(cached) $ac_c" 1>&6
1772 if test $libc_cv_asm_symver_directive = yes; then
1773 cat > conftest.s
<<EOF
1776 .symver _sym,sym@VERS
1778 cat > conftest.map
<<EOF
1783 if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s
1>&5 2>&5; then
1784 if { ac_try
='${CC-cc} $CFLAGS --shared -o conftest.so conftest.o
1785 -Wl,--version-script,conftest.map'; { (eval echo configure
:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; };
1787 libc_cv_ld_version_script_option
=yes
1789 libc_cv_ld_version_script_option
=no
1792 libc_cv_ld_version_script_option
=no
1795 libc_cv_ld_version_script_option
=no
1800 echo "$ac_t""$libc_cv_ld_version_script_option" 1>&6
1801 if test $libc_cv_asm_symver_directive = yes &&
1802 test $libc_cv_ld_version_script_option = yes; then
1804 cat >> confdefs.h
<<\EOF
1805 #define DO_VERSIONING 1
1813 if test $elf = yes; then
1814 echo $ac_n "checking for .previous assembler directive""... $ac_c" 1>&6
1815 echo "configure:1816: checking for .previous assembler directive" >&5
1816 if eval "test \"`echo '$''{'libc_cv_asm_previous_directive'+set}'`\" = set"; then
1817 echo $ac_n "(cached) $ac_c" 1>&6
1819 cat > conftest.s
<<EOF
1820 .section foo_section
1823 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure
:1824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
1824 libc_cv_asm_previous_directive
=yes
1826 libc_cv_asm_previous_directive
=no
1831 echo "$ac_t""$libc_cv_asm_previous_directive" 1>&6
1832 if test $libc_cv_asm_previous_directive = yes; then
1833 cat >> confdefs.h
<<\EOF
1834 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
1838 echo $ac_n "checking for .popsection assembler directive""... $ac_c" 1>&6
1839 echo "configure:1840: checking for .popsection assembler directive" >&5
1840 if eval "test \"`echo '$''{'libc_cv_asm_popsection_directive'+set}'`\" = set"; then
1841 echo $ac_n "(cached) $ac_c" 1>&6
1843 cat > conftest.s
<<EOF
1844 .pushsection foo_section
1847 if { ac_try
='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure
:1848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
1848 libc_cv_asm_popsection_directive
=yes
1850 libc_cv_asm_popsection_directive
=no
1855 echo "$ac_t""$libc_cv_asm_popsection_directive" 1>&6
1856 if test $libc_cv_asm_popsection_directive = yes; then
1857 cat >> confdefs.h
<<\EOF
1858 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
1865 if test $elf != yes; then
1866 echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&6
1867 echo "configure:1868: checking for .init and .fini sections" >&5
1868 if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then
1869 echo $ac_n "(cached) $ac_c" 1>&6
1871 cat > conftest.
$ac_ext <<EOF
1872 #line 1873 "configure"
1873 #include "confdefs.h"
1876 asm (".section .init");
1877 asm (".section .fini");
1881 if { (eval echo configure
:1882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1883 libc_cv_have_initfini
=yes
1885 echo "configure: failed program was:" >&5
1886 cat conftest.
$ac_ext >&5
1888 libc_cv_have_initfini
=no
1893 echo "$ac_t""$libc_cv_have_initfini" 1>&6
1894 if test $libc_cv_have_initfini = yes; then
1895 cat >> confdefs.h
<<\EOF
1896 #define HAVE_INITFINI 1
1902 if test $elf = yes; then
1903 libc_cv_asm_underscores
=no
1905 echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6
1906 echo "configure:1907: checking for _ prefix on C symbol names" >&5
1907 if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then
1908 echo $ac_n "(cached) $ac_c" 1>&6
1910 cat > conftest.
$ac_ext <<EOF
1911 #line 1912 "configure"
1912 #include "confdefs.h"
1913 asm ("_glibc_foobar:");
1918 if { (eval echo configure
:1919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1920 libc_cv_asm_underscores
=yes
1922 echo "configure: failed program was:" >&5
1923 cat conftest.
$ac_ext >&5
1925 libc_cv_asm_underscores
=no
1930 echo "$ac_t""$libc_cv_asm_underscores" 1>&6
1932 if test $libc_cv_asm_underscores = no
; then
1933 cat >> confdefs.h
<<\EOF
1934 #define NO_UNDERSCORES 1
1939 if test $elf = yes; then
1940 libc_cv_weak_symbols
=yes
1941 libc_cv_asm_weak_directive
=yes
1942 libc_cv_asm_weakext_directive
=no
1944 echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&6
1945 echo "configure:1946: checking for assembler .weak directive" >&5
1946 if eval "test \"`echo '$''{'libc_cv_asm_weak_directive'+set}'`\" = set"; then
1947 echo $ac_n "(cached) $ac_c" 1>&6
1949 cat > conftest.s
<<EOF
1951 ${libc_cv_asm_global_directive} foo
1954 .weak bar; bar = foo
1956 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
1957 libc_cv_asm_weak_directive
=yes
1959 libc_cv_asm_weak_directive
=no
1964 echo "$ac_t""$libc_cv_asm_weak_directive" 1>&6
1966 if test $libc_cv_asm_weak_directive = no
; then
1967 echo $ac_n "checking for assembler .weakext directive""... $ac_c" 1>&6
1968 echo "configure:1969: checking for assembler .weakext directive" >&5
1969 if eval "test \"`echo '$''{'libc_cv_asm_weakext_directive'+set}'`\" = set"; then
1970 echo $ac_n "(cached) $ac_c" 1>&6
1972 cat > conftest.s
<<EOF
1974 ${libc_cv_asm_global_directive} foo
1979 if ${CC-cc} $CFLAGS -c conftest.s
2>/dev
/null
; then
1980 libc_cv_asm_weakext_directive
=yes
1982 libc_cv_asm_weakext_directive
=no
1987 echo "$ac_t""$libc_cv_asm_weakext_directive" 1>&6
1992 if test $libc_cv_asm_weak_directive = yes; then
1993 cat >> confdefs.h
<<\EOF
1994 #define HAVE_ASM_WEAK_DIRECTIVE 1
1997 elif test $libc_cv_asm_weakext_directive = yes; then
1998 cat >> confdefs.h
<<\EOF
1999 #define HAVE_ASM_WEAKEXT_DIRECTIVE 1
2004 echo $ac_n "checking for ld --no-whole-archive""... $ac_c" 1>&6
2005 echo "configure:2006: checking for ld --no-whole-archive" >&5
2006 if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then
2007 echo $ac_n "(cached) $ac_c" 1>&6
2009 cat > conftest.c
<<\EOF
2014 if { ac_try
='${CC-cc} $CFLAGS
2015 -nostdlib -nostartfiles -Wl,--no-whole-archive
2016 -o conftest conftest.c'; { (eval echo configure
:2017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2017 libc_cv_ld_no_whole_archive
=yes
2019 libc_cv_ld_no_whole_archive
=no
2024 echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6
2026 echo $ac_n "checking for gcc -fno-exceptions""... $ac_c" 1>&6
2027 echo "configure:2028: checking for gcc -fno-exceptions" >&5
2028 if eval "test \"`echo '$''{'libc_cv_gcc_no_exceptions'+set}'`\" = set"; then
2029 echo $ac_n "(cached) $ac_c" 1>&6
2031 cat > conftest.c
<<\EOF
2036 if { ac_try
='${CC-cc} $CFLAGS
2037 -nostdlib -nostartfiles -fno-exceptions
2038 -o conftest conftest.c'; { (eval echo configure
:2039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2039 libc_cv_gcc_no_exceptions
=yes
2041 libc_cv_gcc_no_exceptions
=no
2046 echo "$ac_t""$libc_cv_gcc_no_exceptions" 1>&6
2048 ### End of automated tests.
2049 ### Now run sysdeps configure fragments.
2051 # sysdeps configure fragments may set these with files to be linked below.
2055 # Iterate over all the sysdep directories we will use, running their
2056 # configure fragments, and looking for a uname implementation.
2058 for dir
in $sysnames; do
2061 *) dest
=$srcdir/$dir ;;
2063 if test -r $dest/configure
; then
2064 echo "$ac_t""running configure fragment for $dest" 1>&6
2068 if test -z "$uname"; then
2069 if test -r $sysdep_dir/$dir/uname.c ||
2070 test -r $sysdep_dir/$dir/uname.S ||
2071 { test -r $sysdep_dir/$dir/syscalls.list
&&
2072 grep '^uname[ ]' $sysdep_dir/$dir/syscalls.list
>/dev
/null
; }; then
2080 # If we will use the generic uname implementation, we must figure out what
2081 # it will say by examining the system, and write the results in config-name.h.
2082 if test "$uname" = generic
; then
2084 uname_sysname
=`echo $config_os | sed 's/[0-9.]*$//'`
2085 if test $uname_sysname != $config_os; then
2086 config_release
=`echo $config_os | sed s/$uname_sysname//`
2089 echo $ac_n "checking OS release for uname""... $ac_c" 1>&6
2090 echo "configure:2091: checking OS release for uname" >&5
2091 if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then
2092 echo $ac_n "(cached) $ac_c" 1>&6
2094 kernel_release
=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
2095 if test x
`echo "$config_release" | sed "s/^$kernel_release//"` \
2096 != x
$config_release; then
2097 # The configuration release is a substring of the kernel release.
2098 libc_cv_uname_release
=$kernel_release
2099 elif test x
$config_release != x
; then
2100 libc_cv_uname_release
=$config_release
2101 elif test x
$kernel_release != x
; then
2102 libc_cv_uname_release
=$kernel_release
2104 libc_cv_uname_release
=unknown
2108 echo "$ac_t""$libc_cv_uname_release" 1>&6
2109 uname_release
="$libc_cv_uname_release"
2111 echo $ac_n "checking OS version for uname""... $ac_c" 1>&6
2112 echo "configure:2113: checking OS version for uname" >&5
2113 if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then
2114 echo $ac_n "(cached) $ac_c" 1>&6
2116 kernel_version
=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
2117 if test -n "$kernel_version"; then
2118 libc_cv_uname_version
="$kernel_version"
2120 libc_cv_uname_version
=unknown
2124 echo "$ac_t""$libc_cv_uname_version" 1>&6
2125 uname_version
="$libc_cv_uname_version"
2127 config_uname
=config-name.h
:config-name.
in
2129 # For non-generic uname, we don't need to create config-name.h at all.
2133 echo $ac_n "checking stdio selection""... $ac_c" 1>&6
2134 echo "configure:2135: checking stdio selection" >&5
2137 libio
) cat >> confdefs.h
<<\EOF
2138 #define USE_IN_LIBIO 1
2141 default
) stdio
=stdio
;;
2143 echo "$ac_t""$stdio" 1>&6
2152 if test $gnu_ld = yes; then
2153 cat >> confdefs.h
<<\EOF
2154 #define HAVE_GNU_LD 1
2158 if test $gnu_as = yes; then
2159 cat >> confdefs.h
<<\EOF
2160 #define HAVE_GNU_AS 1
2164 if test $elf = yes; then
2165 cat >> confdefs.h
<<\EOF
2172 if test $shared = default
; then
2173 if test $gnu_ld = yes; then
2176 # For now we do not assume shared libs are available. In future more
2177 # tests might become available.
2187 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
2190 config_makefile
=Makefile
2193 VERSION
=`sed -e 's/^#define VERSION "\([^"]*\)"/\1/p' -e d < $srcdir/version.h`
2197 cat > confcache
<<\EOF
2198 # This file is a shell script that caches the results of configure
2199 # tests run on this system so they can be shared between configure
2200 # scripts and configure runs. It is not useful on other systems.
2201 # If it contains results you don't want to keep, you may remove or edit it.
2203 # By default, configure uses ./config.cache as the cache file,
2204 # creating it if it does not exist already. You can give configure
2205 # the --cache-file=FILE option to use a different cache file; that is
2206 # what configure does when it calls configure scripts in
2207 # subdirectories, so they share the cache.
2208 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2209 # config.status only pays attention to the cache file if you give it the
2210 # --recheck option to rerun configure.
2213 # The following way of writing the cache mishandles newlines in values,
2214 # but we know of no workaround that is simple, portable, and efficient.
2215 # So, don't put newlines in cache variables' values.
2216 # Ultrix sh set writes to stderr and can't be redirected directly,
2217 # and sets the high bit in the cache file unless we assign to the vars.
2219 case `(ac_space=' '; set) 2>&1` in
2221 # `set' does not quote correctly, so add quotes (double-quote substitution
2222 # turns \\\\ into \\, and sed turns \\ into \).
2224 -e "s/'/'\\\\''/g" \
2225 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2228 # `set' quotes correctly as required by POSIX, so do not add quotes.
2229 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2232 if cmp -s $cache_file confcache
; then
2235 if test -w $cache_file; then
2236 echo "updating cache $cache_file"
2237 cat confcache
> $cache_file
2239 echo "not updating unwritable cache $cache_file"
2244 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2246 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2247 # Let make expand exec_prefix.
2248 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2250 # Any assignment to VPATH causes Sun make to only execute
2251 # the first set of double-colon rules, so remove it if not needed.
2252 # If there is a colon in the path, we need to keep it.
2253 if test "x$srcdir" = x.
; then
2254 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2257 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2259 DEFS
=-DHAVE_CONFIG_H
2261 # Without the "./", some shells look in PATH for config.status.
2262 : ${CONFIG_STATUS=./config.status}
2264 echo creating
$CONFIG_STATUS
2265 rm -f $CONFIG_STATUS
2266 cat > $CONFIG_STATUS <<EOF
2268 # Generated automatically by configure.
2269 # Run this file to recreate the current configuration.
2270 # This directory was configured as follows,
2271 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2273 # $0 $ac_configure_args
2275 # Compiler output produced by configure, useful for debugging
2276 # configure, is in ./config.log if it exists.
2278 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2281 case "\$ac_option" in
2282 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2283 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2284 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2285 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2286 echo "$CONFIG_STATUS generated by autoconf version 2.12"
2288 -help | --help | --hel | --he | --h)
2289 echo "\$ac_cs_usage"; exit 0 ;;
2290 *) echo "\$ac_cs_usage"; exit 1 ;;
2294 ac_given_srcdir=$srcdir
2295 ac_given_INSTALL="$INSTALL"
2297 trap 'rm -fr `echo "config.make glibcbug ${config_makefile} ${config_uname} config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2299 cat >> $CONFIG_STATUS <<EOF
2301 # Protect against being on the right side of a sed subst in config.status.
2302 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2303 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2306 s%@CFLAGS@%$CFLAGS%g
2307 s%@CPPFLAGS@%$CPPFLAGS%g
2308 s%@CXXFLAGS@%$CXXFLAGS%g
2310 s%@LDFLAGS@%$LDFLAGS%g
2312 s%@exec_prefix@%$exec_prefix%g
2313 s%@prefix@%$prefix%g
2314 s%@program_transform_name@%$program_transform_name%g
2315 s%@bindir@%$bindir%g
2316 s%@sbindir@%$sbindir%g
2317 s%@libexecdir@%$libexecdir%g
2318 s%@datadir@%$datadir%g
2319 s%@sysconfdir@%$sysconfdir%g
2320 s%@sharedstatedir@%$sharedstatedir%g
2321 s%@localstatedir@%$localstatedir%g
2322 s%@libdir@%$libdir%g
2323 s%@includedir@%$includedir%g
2324 s%@oldincludedir@%$oldincludedir%g
2325 s%@infodir@%$infodir%g
2326 s%@mandir@%$mandir%g
2327 s%@subdirs@%$subdirs%g
2329 s%@host_alias@%$host_alias%g
2330 s%@host_cpu@%$host_cpu%g
2331 s%@host_vendor@%$host_vendor%g
2332 s%@host_os@%$host_os%g
2333 s%@base_machine@%$base_machine%g
2334 s%@sysnames@%$sysnames%g
2335 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2336 s%@INSTALL_DATA@%$INSTALL_DATA%g
2338 s%@MSGFMT@%$MSGFMT%g
2341 s%@build_alias@%$build_alias%g
2342 s%@build_cpu@%$build_cpu%g
2343 s%@build_vendor@%$build_vendor%g
2344 s%@build_os@%$build_os%g
2345 s%@BUILD_CC@%$BUILD_CC%g
2346 s%@cross_compiling@%$cross_compiling%g
2349 s%@RANLIB@%$RANLIB%g
2351 s%@libc_cv_have_bash2@%$libc_cv_have_bash2%g
2353 s%@libc_cv_have_ksh@%$libc_cv_have_ksh%g
2354 s%@VERSIONING@%$VERSIONING%g
2355 s%@libc_cv_have_initfini@%$libc_cv_have_initfini%g
2356 s%@libc_cv_ld_no_whole_archive@%$libc_cv_ld_no_whole_archive%g
2357 s%@libc_cv_gcc_no_exceptions@%$libc_cv_gcc_no_exceptions%g
2358 s%@uname_sysname@%$uname_sysname%g
2359 s%@uname_release@%$uname_release%g
2360 s%@uname_version@%$uname_version%g
2362 s%@libc_cv_slibdir@%$libc_cv_slibdir%g
2363 s%@libc_cv_sysconfdir@%$libc_cv_sysconfdir%g
2364 s%@libc_cv_rootsbindir@%$libc_cv_rootsbindir%g
2365 s%@has_ldconfig@%$has_ldconfig%g
2366 s%@gnu_ld@%$gnu_ld%g
2367 s%@gnu_as@%$gnu_as%g
2369 s%@shared@%$shared%g
2370 s%@profile@%$profile%g
2371 s%@omitfp@%$omitfp%g
2372 s%@bounded@%$bounded%g
2373 s%@DEFINES@%$DEFINES%g
2374 s%@VERSION@%$VERSION%g
2379 cat >> $CONFIG_STATUS <<\EOF
2381 # Split the substitutions into bite-sized pieces for seds with
2382 # small command number limits, like on Digital OSF/1 and HP-UX.
2383 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2384 ac_file
=1 # Number of current file.
2385 ac_beg
=1 # First line for current file.
2386 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2389 while $ac_more_lines; do
2390 if test $ac_beg -gt 1; then
2391 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2393 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2395 if test ! -s conftest.s
$ac_file; then
2397 rm -f conftest.s
$ac_file
2399 if test -z "$ac_sed_cmds"; then
2400 ac_sed_cmds
="sed -f conftest.s$ac_file"
2402 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2404 ac_file
=`expr $ac_file + 1`
2406 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2409 if test -z "$ac_sed_cmds"; then
2414 cat >> $CONFIG_STATUS <<EOF
2416 CONFIG_FILES=\${CONFIG_FILES-"config.make glibcbug ${config_makefile} ${config_uname}"}
2418 cat >> $CONFIG_STATUS <<\EOF
2419 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2420 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2422 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2423 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2424 *) ac_file_in
="${ac_file}.in" ;;
2427 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2429 # Remove last slash and all that follows it. Not all systems have dirname.
2430 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2431 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2432 # The file is in a subdirectory.
2433 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2434 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2435 # A "../" for each directory in $ac_dir_suffix.
2436 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2438 ac_dir_suffix
= ac_dots
=
2441 case "$ac_given_srcdir" in
2443 if test -z "$ac_dots"; then top_srcdir
=.
2444 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2445 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2447 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2448 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2451 case "$ac_given_INSTALL" in
2452 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2453 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2456 echo creating
"$ac_file"
2458 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2460 *Makefile
*) ac_comsub
="1i\\
2461 # $configure_input" ;;
2465 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2467 s%@configure_input@%$configure_input%g
2468 s%@srcdir@%$srcdir%g
2469 s%@top_srcdir@%$top_srcdir%g
2470 s%@INSTALL@%$INSTALL%g
2471 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2475 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2476 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2478 # ac_d sets the value in "#define NAME VALUE" lines.
2479 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2480 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2483 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2484 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2485 ac_uB
='\([ ]\)%\1#\2define\3'
2488 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2489 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2490 ac_eB
='$%\1#\2define\3'
2494 if test "${CONFIG_HEADERS+set}" != set; then
2496 cat >> $CONFIG_STATUS <<EOF
2497 CONFIG_HEADERS="config.h"
2499 cat >> $CONFIG_STATUS <<\EOF
2501 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2502 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2504 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2505 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2506 *) ac_file_in
="${ac_file}.in" ;;
2509 echo creating
$ac_file
2511 rm -f conftest.frag conftest.
in conftest.out
2512 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2513 cat $ac_file_inputs > conftest.
in
2517 # Transform confdefs.h into a sed script conftest.vals that substitutes
2518 # the proper values into config.h.in to produce config.h. And first:
2519 # Protect against being on the right side of a sed subst in config.status.
2520 # Protect against being in an unquoted here document in config.status.
2522 cat > conftest.hdr
<<\EOF
2525 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2529 sed -n -f conftest.hdr confdefs.h > conftest.vals
2532 # This sed command replaces #undef with comments. This is necessary, for
2533 # example, in the case of _POSIX_SOURCE, which is predefined and required
2534 # on some systems where configure will not decide to define it.
2535 cat >> conftest.vals <<\EOF
2536 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2539 # Break up conftest.vals because some shells have a limit on
2540 # the size of here documents, and old seds have small limits too.
2545 ac_lines=`grep -c . conftest.vals
`
2546 # grep -c gives empty output for an empty file on some AIX systems.
2547 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2548 # Write a limited-size here document to conftest.frag.
2549 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2550 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2552 sed -f conftest.frag conftest.in > conftest.out
2554 mv conftest.out conftest.in
2556 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2558 mv conftest.tail conftest.vals
2562 cat >> $CONFIG_STATUS <<\EOF
2563 rm -f conftest.frag conftest.h
2564 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2565 cat conftest.in >> conftest.h
2567 if cmp -s $ac_file conftest.h 2>/dev/null; then
2568 echo "$ac_file is unchanged"
2571 # Remove last slash and all that follows it. Not all systems have dirname.
2572 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2573 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2574 # The file is in a subdirectory.
2575 test ! -d "$ac_dir" && mkdir "$ac_dir"
2578 mv conftest.h $ac_file
2584 cat >> $CONFIG_STATUS <<EOF
2585 ac_sources="`echo $libc_link_sources`"
2586 ac_dests="`echo $libc_link_dests`"
2589 cat >> $CONFIG_STATUS <<\EOF
2590 srcdir=$ac_given_srcdir
2591 while test -n "$ac_sources"; do
2592 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
2593 set $ac_sources; ac_source=$1; shift; ac_sources=$*
2595 echo "linking $srcdir/$ac_source to $ac_dest"
2597 if test ! -r $srcdir/$ac_source; then
2598 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
2602 # Make relative symlinks.
2603 # Remove last slash and all that follows it. Not all systems have dirname.
2604 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
2605 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
2606 # The dest file is in a subdirectory.
2607 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
2608 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
2609 # A "../" for each directory in $ac_dest_dir_suffix.
2610 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
2612 ac_dest_dir_suffix= ac_dots=
2616 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
2617 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
2620 # Make a symlink if possible; otherwise try a hard link.
2621 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
2622 ln $srcdir/$ac_source $ac_dest; then :
2624 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
2628 cat >> $CONFIG_STATUS <<EOF
2629 echo '$config_vars' >> config.make
2631 cat >> $CONFIG_STATUS <<\EOF
2635 chmod +x $CONFIG_STATUS
2636 rm -fr confdefs* $ac_clean_files
2637 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2639 if test "$no_recursion" != yes; then
2641 # Remove --cache-file and --srcdir arguments so they do not pile up.
2642 ac_sub_configure_args=
2644 for ac_arg in $ac_configure_args; do
2645 if test -n "$ac_prev"; then
2650 -cache-file | --cache-file | --cache-fil | --cache-fi \
2651 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2652 ac_prev=cache_file ;;
2653 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2654 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2656 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2658 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2660 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
2664 for ac_config_dir in $add_ons; do
2666 # Do not complain, so a configure script can configure whichever
2667 # parts of a large source tree are present.
2668 if test ! -d $srcdir/$ac_config_dir; then
2672 echo configuring in $ac_config_dir
2677 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
2679 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
2687 # A "../" for each directory in /$ac_config_dir.
2688 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
2691 .) # No --srcdir option. We are building in place.
2692 ac_sub_srcdir=$srcdir ;;
2693 /*) # Absolute path.
2694 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
2696 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
2699 # Check for guested configure; otherwise get Cygnus style configure.
2700 if test -f $ac_sub_srcdir/configure; then
2701 ac_sub_configure=$ac_sub_srcdir/configure
2702 elif test -f $ac_sub_srcdir/configure.in; then
2703 ac_sub_configure=$ac_configure
2705 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
2709 # The recursion is here.
2710 if test -n "$ac_sub_configure"; then
2712 # Make the cache file name correct relative to the subdirectory.
2713 case "$cache_file" in
2714 /*) ac_sub_cache_file=$cache_file ;;
2716 ac_sub_cache_file="$ac_dots$cache_file" ;;
2718 case "$ac_given_INSTALL" in
2719 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2720 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2723 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
2724 # The eval makes quoting arguments work.
2725 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
2728 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }