3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-newlib-hw-fp Turn on hardware floating point math"
17 --enable-multilib build many library versions (default)"
19 --enable-target-optspace optimize for space"
21 --enable-malloc-debugging indicate malloc debugging requested"
23 --enable-newlib-multithread enable support for multiple threads"
25 --enable-newlib-iconv enable iconv library support"
27 --enable-newlib-elix-level supply desired elix library level (1-4)"
29 --disable-newlib-io-float disable printf/scanf family float support"
31 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls"
33 --enable-maintainer-mode enable make rules and dependencies not useful
34 (and sometimes confusing) to the casual installer"
36 --enable-shared[=PKGS] build shared libraries [default=yes]"
38 --enable-static[=PKGS] build static libraries [default=yes]"
40 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
42 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
44 --disable-libtool-lock avoid locking (might break parallel builds)"
46 --with-pic try to use only PIC/non-PIC objects [default=use both]"
48 # Initialize some variables set by options.
49 # The variables have the same names as the options, with
50 # dashes changed to underlines.
52 cache_file=./config.cache
61 program_transform_name=s,x,x,
69 bindir='${exec_prefix}/bin'
70 sbindir='${exec_prefix}/sbin'
71 libexecdir='${exec_prefix}/libexec'
72 datadir='${prefix}/share'
73 sysconfdir='${prefix}/etc'
74 sharedstatedir='${prefix}/com'
75 localstatedir='${prefix}/var'
76 libdir='${exec_prefix}/lib'
77 includedir='${prefix}/include'
78 oldincludedir='/usr/include'
79 infodir='${prefix}/info'
80 mandir='${prefix}/man'
82 # Initialize some other variables.
85 SHELL=${CONFIG_SHELL-/bin/sh}
86 # Maximum number of lines to put in a shell here document.
93 # If the previous option needs an argument, assign it.
94 if test -n "$ac_prev"; then
95 eval "$ac_prev=\$ac_option"
101 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
105 # Accept the important Cygnus configure options, so we can diagnose typos.
109 -bindir | --bindir | --bindi | --bind | --bin | --bi)
111 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
112 bindir="$ac_optarg" ;;
114 -build | --build | --buil | --bui | --bu)
116 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
117 build="$ac_optarg" ;;
119 -cache-file | --cache-file | --cache-fil | --cache-fi \
120 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
121 ac_prev=cache_file ;;
122 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
123 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
124 cache_file="$ac_optarg" ;;
126 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
128 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
130 datadir="$ac_optarg" ;;
132 -disable-* | --disable-*)
133 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
134 # Reject names that are not valid shell variable names.
135 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
136 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
138 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
139 eval "enable_${ac_feature}=no" ;;
141 -enable-* | --enable-*)
142 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
143 # Reject names that are not valid shell variable names.
144 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
145 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
147 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
152 eval "enable_${ac_feature}='$ac_optarg'" ;;
154 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
155 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
156 | --exec | --exe | --ex)
157 ac_prev=exec_prefix ;;
158 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
159 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
160 | --exec=* | --exe=* | --ex=*)
161 exec_prefix="$ac_optarg" ;;
163 -gas | --gas | --ga | --g)
164 # Obsolete; use --with-gas.
167 -help | --help | --hel | --he)
168 # Omit some internal or obsolete options to make the list less imposing.
169 # This message is too long to be a string in the A/UX 3.1 sh.
171 Usage: configure [options] [host]
172 Options: [defaults in brackets after descriptions]
174 --cache-file=FILE cache test results in FILE
175 --help print this message
176 --no-create do not create output files
177 --quiet, --silent do not print \`checking...' messages
178 --version print the version of autoconf that created configure
179 Directory and file names:
180 --prefix=PREFIX install architecture-independent files in PREFIX
182 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
184 --bindir=DIR user executables in DIR [EPREFIX/bin]
185 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
186 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
187 --datadir=DIR read-only architecture-independent data in DIR
189 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
190 --sharedstatedir=DIR modifiable architecture-independent data in DIR
192 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
193 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
194 --includedir=DIR C header files in DIR [PREFIX/include]
195 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
196 --infodir=DIR info documentation in DIR [PREFIX/info]
197 --mandir=DIR man documentation in DIR [PREFIX/man]
198 --srcdir=DIR find the sources in DIR [configure dir or ..]
199 --program-prefix=PREFIX prepend PREFIX to installed program names
200 --program-suffix=SUFFIX append SUFFIX to installed program names
201 --program-transform-name=PROGRAM
202 run sed PROGRAM on installed program names
206 --build=BUILD configure for building on BUILD [BUILD=HOST]
207 --host=HOST configure for HOST [guessed]
208 --target=TARGET configure for TARGET [TARGET=HOST]
209 Features and packages:
210 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
211 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
212 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
213 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
214 --x-includes=DIR X include files are in DIR
215 --x-libraries=DIR X library files are in DIR
217 if test -n "$ac_help"; then
218 echo "--enable and --with options recognized:$ac_help"
222 -host | --host | --hos | --ho)
224 -host=* | --host=* | --hos=* | --ho=*)
227 -includedir | --includedir | --includedi | --included | --include \
228 | --includ | --inclu | --incl | --inc)
229 ac_prev=includedir ;;
230 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
231 | --includ=* | --inclu=* | --incl=* | --inc=*)
232 includedir="$ac_optarg" ;;
234 -infodir | --infodir | --infodi | --infod | --info | --inf)
236 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
237 infodir="$ac_optarg" ;;
239 -libdir | --libdir | --libdi | --libd)
241 -libdir=* | --libdir=* | --libdi=* | --libd=*)
242 libdir="$ac_optarg" ;;
244 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
245 | --libexe | --libex | --libe)
246 ac_prev=libexecdir ;;
247 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
248 | --libexe=* | --libex=* | --libe=*)
249 libexecdir="$ac_optarg" ;;
251 -localstatedir | --localstatedir | --localstatedi | --localstated \
252 | --localstate | --localstat | --localsta | --localst \
253 | --locals | --local | --loca | --loc | --lo)
254 ac_prev=localstatedir ;;
255 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
256 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
257 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
258 localstatedir="$ac_optarg" ;;
260 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
262 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
263 mandir="$ac_optarg" ;;
266 # Obsolete; use --without-fp.
269 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
273 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
274 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
277 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
278 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
279 | --oldin | --oldi | --old | --ol | --o)
280 ac_prev=oldincludedir ;;
281 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
282 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
283 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
284 oldincludedir="$ac_optarg" ;;
286 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
288 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
289 prefix="$ac_optarg" ;;
291 -program-prefix | --program-prefix | --program-prefi | --program-pref \
292 | --program-pre | --program-pr | --program-p)
293 ac_prev=program_prefix ;;
294 -program-prefix=* | --program-prefix=* | --program-prefi=* \
295 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
296 program_prefix="$ac_optarg" ;;
298 -program-suffix | --program-suffix | --program-suffi | --program-suff \
299 | --program-suf | --program-su | --program-s)
300 ac_prev=program_suffix ;;
301 -program-suffix=* | --program-suffix=* | --program-suffi=* \
302 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
303 program_suffix="$ac_optarg" ;;
305 -program-transform-name | --program-transform-name \
306 | --program-transform-nam | --program-transform-na \
307 | --program-transform-n | --program-transform- \
308 | --program-transform | --program-transfor \
309 | --program-transfo | --program-transf \
310 | --program-trans | --program-tran \
311 | --progr-tra | --program-tr | --program-t)
312 ac_prev=program_transform_name ;;
313 -program-transform-name=* | --program-transform-name=* \
314 | --program-transform-nam=* | --program-transform-na=* \
315 | --program-transform-n=* | --program-transform-=* \
316 | --program-transform=* | --program-transfor=* \
317 | --program-transfo=* | --program-transf=* \
318 | --program-trans=* | --program-tran=* \
319 | --progr-tra=* | --program-tr=* | --program-t=*)
320 program_transform_name="$ac_optarg" ;;
322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
323 | -silent | --silent | --silen | --sile | --sil)
326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
330 sbindir="$ac_optarg" ;;
332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
334 | --sharedst | --shareds | --shared | --share | --shar \
336 ac_prev=sharedstatedir ;;
337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
341 sharedstatedir="$ac_optarg" ;;
343 -site | --site | --sit)
345 -site=* | --site=* | --sit=*)
348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
351 srcdir="$ac_optarg" ;;
353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
354 | --syscon | --sysco | --sysc | --sys | --sy)
355 ac_prev=sysconfdir ;;
356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
358 sysconfdir="$ac_optarg" ;;
360 -target | --target | --targe | --targ | --tar | --ta | --t)
362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
363 target="$ac_optarg" ;;
365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
368 -version | --version | --versio | --versi | --vers)
369 echo "configure generated by autoconf version 2.13"
373 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
374 # Reject names that are not valid shell variable names.
375 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
376 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
378 ac_package=`echo $ac_package| sed 's/-/_/g'`
383 eval "with_${ac_package}='$ac_optarg'" ;;
385 -without-* | --without-*)
386 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
387 # Reject names that are not valid shell variable names.
388 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
389 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
391 ac_package=`echo $ac_package| sed 's/-/_/g'`
392 eval "with_${ac_package}=no" ;;
395 # Obsolete; use --with-x.
398 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
399 | --x-incl | --x-inc | --x-in | --x-i)
400 ac_prev=x_includes ;;
401 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
402 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
403 x_includes="$ac_optarg" ;;
405 -x-libraries | --x-libraries | --x-librarie | --x-librari \
406 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
407 ac_prev=x_libraries ;;
408 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
409 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
410 x_libraries="$ac_optarg" ;;
412 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
416 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
417 echo "configure: warning: $ac_option: invalid host type" 1>&2
419 if test "x$nonopt" != xNONE; then
420 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
428 if test -n "$ac_prev"; then
429 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
432 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
434 # File descriptor usage:
437 # 2 errors and warnings
438 # 3 some systems may open it to /dev/tty
439 # 4 used on the Kubota Titan
440 # 6 checking for... messages and results
441 # 5 compiler messages saved in config.log
442 if test "$silent" = yes; then
450 This file contains any messages produced by compilers while
451 running configure, to aid debugging if configure makes a mistake.
454 # Strip out --no-create and --no-recursion so they do not pile up.
455 # Also quote any args containing shell metacharacters.
460 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
461 | --no-cr | --no-c) ;;
462 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
463 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
464 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
465 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
466 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
471 # Only set these to C if already set. These must not be set unconditionally
472 # because not all systems understand e.g. LANG=C (notably SCO).
473 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
474 # Non-C LC_CTYPE values break the ctype check.
475 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
476 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
477 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
478 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
480 # confdefs.h avoids OS command line length limits that DEFS can exceed.
481 rm -rf conftest* confdefs.h
482 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
485 # A filename unique to this package, relative to the directory that
486 # configure is in, which we can look for to find out if srcdir is correct.
487 ac_unique_file=libm.texinfo
489 # Find the source files, if location was not specified.
490 if test -z "$srcdir"; then
491 ac_srcdir_defaulted=yes
492 # Try the directory containing this script, then its parent.
494 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
495 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
497 if test ! -r $srcdir/$ac_unique_file; then
501 ac_srcdir_defaulted=no
503 if test ! -r $srcdir/$ac_unique_file; then
504 if test "$ac_srcdir_defaulted" = yes; then
505 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
507 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
510 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
512 # Prefer explicitly selected file to automatically selected ones.
513 if test -z "$CONFIG_SITE"; then
514 if test "x$prefix" != xNONE; then
515 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
517 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
520 for ac_site_file in $CONFIG_SITE; do
521 if test -r "$ac_site_file"; then
522 echo "loading site script $ac_site_file"
527 if test -r "$cache_file"; then
528 echo "loading cache $cache_file"
531 echo "creating cache $cache_file"
536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
537 ac_cpp='$CPP $CPPFLAGS'
538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
539 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
540 cross_compiling=$ac_cv_prog_cc_cross
544 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
545 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
546 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
553 ac_n= ac_c='\c' ac_t=
558 # Check whether --enable-newlib_hw_fp or --disable-newlib_hw_fp was given.
559 if test "${enable_newlib_hw_fp+set}" = set; then
560 enableval="$enable_newlib_hw_fp"
561 case "${enableval}" in
562 yes) newlib_hw_fp=true ;;
563 no) newlib_hw_fp=false ;;
564 *) { echo "configure: error: bad value ${enableval} for --enable-newlib-hw-fp" 1>&2; exit 1; } ;;
572 if test x$newlib_hw_fp = xtrue; then
574 NEWLIB_HW_FP_FALSE='#'
576 NEWLIB_HW_FP_TRUE='#'
581 for ac_dir in ../.. $srcdir/../..; do
582 if test -f $ac_dir/install-sh; then
584 ac_install_sh="$ac_aux_dir/install-sh -c"
586 elif test -f $ac_dir/install.sh; then
588 ac_install_sh="$ac_aux_dir/install.sh -c"
592 if test -z "$ac_aux_dir"; then
593 { echo "configure: error: can not find install-sh or install.sh in ../.. $srcdir/../.." 1>&2; exit 1; }
595 ac_config_guess=$ac_aux_dir/config.guess
596 ac_config_sub=$ac_aux_dir/config.sub
597 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
600 am__api_version="1.4"
601 # Find a good install program. We prefer a C program (faster),
602 # so one script is as good as another. But avoid the broken or
603 # incompatible versions:
604 # SysV /etc/install, /usr/sbin/install
605 # SunOS /usr/etc/install
608 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
609 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
610 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
611 # ./install, which can be erroneously created by make from ./install.sh.
612 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
613 echo "configure:614: checking for a BSD compatible install" >&5
614 if test -z "$INSTALL"; then
615 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
616 echo $ac_n "(cached) $ac_c" 1>&6
618 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
619 for ac_dir in $PATH; do
620 # Account for people who put trailing slashes in PATH elements.
622 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
624 # OSF1 and SCO ODT 3.0 have their own names for install.
625 # Don't use installbsd from OSF since it installs stuff as root
627 for ac_prog in ginstall scoinst install; do
628 if test -f $ac_dir/$ac_prog; then
629 if test $ac_prog = install &&
630 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
631 # AIX install. It has an incompatible calling convention.
634 ac_cv_path_install="$ac_dir/$ac_prog -c"
645 if test "${ac_cv_path_install+set}" = set; then
646 INSTALL="$ac_cv_path_install"
648 # As a last resort, use the slow shell script. We don't cache a
649 # path for INSTALL within a source directory, because that will
650 # break other packages using the cache if that directory is
651 # removed, or if the path is relative.
652 INSTALL="$ac_install_sh"
655 echo "$ac_t""$INSTALL" 1>&6
657 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
658 # It thinks the first close brace ends the variable substitution.
659 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
661 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
663 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
665 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
666 echo "configure:667: checking whether build environment is sane" >&5
669 echo timestamp > conftestfile
670 # Do `set' in a subshell so we don't clobber the current shell's
671 # arguments. Must try -L first in case configure is actually a
672 # symlink; some systems play weird games with the mod time of symlinks
673 # (eg FreeBSD returns the mod time of the symlink's containing
676 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
677 if test "$*" = "X"; then
679 set X `ls -t $srcdir/configure conftestfile`
681 if test "$*" != "X $srcdir/configure conftestfile" \
682 && test "$*" != "X conftestfile $srcdir/configure"; then
684 # If neither matched, then we have a broken ls. This can happen
685 # if, for instance, CONFIG_SHELL is bash and it inherits a
686 # broken ls alias from the environment. This has actually
687 # happened. Such a system could not be considered "sane".
688 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
689 alias in your environment" 1>&2; exit 1; }
692 test "$2" = conftestfile
698 { echo "configure: error: newly created file is older than distributed files!
699 Check your system clock" 1>&2; exit 1; }
702 echo "$ac_t""yes" 1>&6
703 if test "$program_transform_name" = s,x,x,; then
704 program_transform_name=
706 # Double any \ or $. echo might interpret backslashes.
707 cat <<\EOF_SED > conftestsed
708 s,\\,\\\\,g; s,\$,$$,g
710 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
713 test "$program_prefix" != NONE &&
714 program_transform_name="s,^,${program_prefix},; $program_transform_name"
715 # Use a double $ so make ignores it.
716 test "$program_suffix" != NONE &&
717 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
719 # sed with no file args requires a program.
720 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
722 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
723 echo "configure:724: checking whether ${MAKE-make} sets \${MAKE}" >&5
724 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
725 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
726 echo $ac_n "(cached) $ac_c" 1>&6
728 cat > conftestmake <<\EOF
730 @echo 'ac_maketemp="${MAKE}"'
732 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
733 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
734 if test -n "$ac_maketemp"; then
735 eval ac_cv_prog_make_${ac_make}_set=yes
737 eval ac_cv_prog_make_${ac_make}_set=no
741 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
742 echo "$ac_t""yes" 1>&6
745 echo "$ac_t""no" 1>&6
746 SET_MAKE="MAKE=${MAKE-make}"
749 if test $host != $build; then
750 ac_tool_prefix=${host_alias}-
755 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
756 echo "configure:757: checking for Cygwin environment" >&5
757 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
758 echo $ac_n "(cached) $ac_c" 1>&6
760 cat > conftest.$ac_ext <<EOF
761 #line 762 "configure"
762 #include "confdefs.h"
767 #define __CYGWIN__ __CYGWIN32__
772 if { (eval echo configure:773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
776 echo "configure: failed program was:" >&5
777 cat conftest.$ac_ext >&5
785 echo "$ac_t""$ac_cv_cygwin" 1>&6
787 test "$ac_cv_cygwin" = yes && CYGWIN=yes
788 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
789 echo "configure:790: checking for mingw32 environment" >&5
790 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
791 echo $ac_n "(cached) $ac_c" 1>&6
793 cat > conftest.$ac_ext <<EOF
794 #line 795 "configure"
795 #include "confdefs.h"
801 if { (eval echo configure:802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
805 echo "configure: failed program was:" >&5
806 cat conftest.$ac_ext >&5
814 echo "$ac_t""$ac_cv_mingw32" 1>&6
816 test "$ac_cv_mingw32" = yes && MINGW32=yes
818 # Check whether --enable-multilib or --disable-multilib was given.
819 if test "${enable_multilib+set}" = set; then
820 enableval="$enable_multilib"
821 case "${enableval}" in
824 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
830 # Check whether --enable-target-optspace or --disable-target-optspace was given.
831 if test "${enable_target_optspace+set}" = set; then
832 enableval="$enable_target_optspace"
833 case "${enableval}" in
834 yes) target_optspace=yes ;;
835 no) target_optspace=no ;;
836 *) { echo "configure: error: bad value ${enableval} for target-optspace option" 1>&2; exit 1; } ;;
842 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
843 if test "${enable_malloc_debugging+set}" = set; then
844 enableval="$enable_malloc_debugging"
845 case "${enableval}" in
846 yes) malloc_debugging=yes ;;
847 no) malloc_debugging=no ;;
848 *) { echo "configure: error: bad value ${enableval} for malloc-debugging option" 1>&2; exit 1; } ;;
854 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
855 if test "${enable_newlib_multithread+set}" = set; then
856 enableval="$enable_newlib_multithread"
857 case "${enableval}" in
858 yes) newlib_multithread=yes ;;
859 no) newlib_multithread=no ;;
860 *) { echo "configure: error: bad value ${enableval} for newlib-multithread option" 1>&2; exit 1; } ;;
863 newlib_multithread=yes
866 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
867 if test "${enable_newlib_iconv+set}" = set; then
868 enableval="$enable_newlib_iconv"
869 if test "${newlib_iconv+set}" != set; then
870 case "${enableval}" in
871 yes) newlib_iconv=yes ;;
872 no) newlib_iconv=no ;;
873 *) { echo "configure: error: bad value ${enableval} for newlib-iconv option" 1>&2; exit 1; } ;;
877 newlib_iconv=${newlib_iconv}
880 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
881 if test "${enable_newlib_elix_level+set}" = set; then
882 enableval="$enable_newlib_elix_level"
883 case "${enableval}" in
884 0) newlib_elix_level=0 ;;
885 1) newlib_elix_level=1 ;;
886 2) newlib_elix_level=2 ;;
887 3) newlib_elix_level=3 ;;
888 4) newlib_elix_level=4 ;;
889 *) { echo "configure: error: bad value ${enableval} for newlib-elix-level option" 1>&2; exit 1; } ;;
895 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
896 if test "${enable_newlib_io_float+set}" = set; then
897 enableval="$enable_newlib_io_float"
898 case "${enableval}" in
899 yes) newlib_io_float=yes ;;
900 no) newlib_io_float=no ;;
901 *) { echo "configure: error: bad value ${enableval} for newlib-io-float option" 1>&2; exit 1; } ;;
907 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
908 if test "${enable_newlib_supplied_syscalls+set}" = set; then
909 enableval="$enable_newlib_supplied_syscalls"
910 case "${enableval}" in
911 yes) newlib_may_supply_syscalls=yes ;;
912 no) newlib_may_supply_syscalls=no ;;
913 *) { echo "configure: error: bad value ${enableval} for newlib-supplied-syscalls option" 1>&2; exit 1; } ;;
916 newlib_may_supply_syscalls=yes
921 if test x${newlib_may_supply_syscalls} = xyes; then
922 MAY_SUPPLY_SYSCALLS_TRUE=
923 MAY_SUPPLY_SYSCALLS_FALSE='#'
925 MAY_SUPPLY_SYSCALLS_TRUE='#'
926 MAY_SUPPLY_SYSCALLS_FALSE=
930 test -z "${with_target_subdir}" && with_target_subdir=.
932 if test "${srcdir}" = "."; then
933 if test "${with_target_subdir}" != "."; then
934 newlib_basedir="${srcdir}/${with_multisrctop}../.."
936 newlib_basedir="${srcdir}/${with_multisrctop}.."
939 newlib_basedir="${srcdir}/.."
944 # Do some error checking and defaulting for the host and target type.
946 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
949 # 1. You are not allowed to specify --host, --target, and nonopt at the
951 # 2. Host defaults to nonopt.
952 # 3. If nonopt is not specified, then host defaults to the current host,
953 # as determined by config.guess.
954 # 4. Target and build default to nonopt.
955 # 5. If nonopt is not specified, then target and build default to host.
957 # The aliases save the names the user supplied, while $host etc.
958 # will get canonicalized.
959 case $host---$target---$nonopt in
960 NONE---*---* | *---NONE---* | *---*---NONE) ;;
961 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
965 # Make sure we can run config.sub.
966 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
967 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
970 echo $ac_n "checking host system type""... $ac_c" 1>&6
971 echo "configure:972: checking host system type" >&5
974 case "$host_alias" in
978 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
979 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
981 *) host_alias=$nonopt ;;
985 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
986 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
987 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
988 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
989 echo "$ac_t""$host" 1>&6
991 echo $ac_n "checking target system type""... $ac_c" 1>&6
992 echo "configure:993: checking target system type" >&5
995 case "$target_alias" in
998 NONE) target_alias=$host_alias ;;
999 *) target_alias=$nonopt ;;
1003 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1004 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1005 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1006 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1007 echo "$ac_t""$target" 1>&6
1009 echo $ac_n "checking build system type""... $ac_c" 1>&6
1010 echo "configure:1011: checking build system type" >&5
1013 case "$build_alias" in
1016 NONE) build_alias=$host_alias ;;
1017 *) build_alias=$nonopt ;;
1021 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1022 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1023 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1024 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1025 echo "$ac_t""$build" 1>&6
1027 test "$host_alias" != "$target_alias" &&
1028 test "$program_prefix$program_suffix$program_transform_name" = \
1030 program_prefix=${target_alias}-
1038 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1039 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1041 cat >> confdefs.h <<EOF
1042 #define PACKAGE "$PACKAGE"
1045 cat >> confdefs.h <<EOF
1046 #define VERSION "$VERSION"
1051 missing_dir=`cd $ac_aux_dir && pwd`
1052 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1053 echo "configure:1054: checking for working aclocal-${am__api_version}" >&5
1054 # Run test in a subshell; some versions of sh will print an error if
1055 # an executable is not found, even if stderr is redirected.
1056 # Redirect stdin to placate older versions of autoconf. Sigh.
1057 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1058 ACLOCAL=aclocal-${am__api_version}
1059 echo "$ac_t""found" 1>&6
1061 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1062 echo "$ac_t""missing" 1>&6
1065 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1066 echo "configure:1067: checking for working autoconf" >&5
1067 # Run test in a subshell; some versions of sh will print an error if
1068 # an executable is not found, even if stderr is redirected.
1069 # Redirect stdin to placate older versions of autoconf. Sigh.
1070 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1072 echo "$ac_t""found" 1>&6
1074 AUTOCONF="$missing_dir/missing autoconf"
1075 echo "$ac_t""missing" 1>&6
1078 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1079 echo "configure:1080: checking for working automake-${am__api_version}" >&5
1080 # Run test in a subshell; some versions of sh will print an error if
1081 # an executable is not found, even if stderr is redirected.
1082 # Redirect stdin to placate older versions of autoconf. Sigh.
1083 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1084 AUTOMAKE=automake-${am__api_version}
1085 echo "$ac_t""found" 1>&6
1087 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1088 echo "$ac_t""missing" 1>&6
1091 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1092 echo "configure:1093: checking for working autoheader" >&5
1093 # Run test in a subshell; some versions of sh will print an error if
1094 # an executable is not found, even if stderr is redirected.
1095 # Redirect stdin to placate older versions of autoconf. Sigh.
1096 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1097 AUTOHEADER=autoheader
1098 echo "$ac_t""found" 1>&6
1100 AUTOHEADER="$missing_dir/missing autoheader"
1101 echo "$ac_t""missing" 1>&6
1104 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1105 echo "configure:1106: checking for working makeinfo" >&5
1106 # Run test in a subshell; some versions of sh will print an error if
1107 # an executable is not found, even if stderr is redirected.
1108 # Redirect stdin to placate older versions of autoconf. Sigh.
1109 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1111 echo "$ac_t""found" 1>&6
1113 MAKEINFO="$missing_dir/missing makeinfo"
1114 echo "$ac_t""missing" 1>&6
1119 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1120 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1121 # are probably using a cross compiler, which will not be able to fully
1122 # link an executable. This should really be fixed in autoconf
1127 # Extract the first word of "gcc", so it can be a program name with args.
1128 set dummy gcc; ac_word=$2
1129 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1130 echo "configure:1131: checking for $ac_word" >&5
1131 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1132 echo $ac_n "(cached) $ac_c" 1>&6
1134 if test -n "$CC"; then
1135 ac_cv_prog_CC="$CC" # Let the user override the test.
1137 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1139 for ac_dir in $ac_dummy; do
1140 test -z "$ac_dir" && ac_dir=.
1141 if test -f $ac_dir/$ac_word; then
1150 if test -n "$CC"; then
1151 echo "$ac_t""$CC" 1>&6
1153 echo "$ac_t""no" 1>&6
1156 if test -z "$CC"; then
1157 # Extract the first word of "cc", so it can be a program name with args.
1158 set dummy cc; ac_word=$2
1159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1160 echo "configure:1161: checking for $ac_word" >&5
1161 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1162 echo $ac_n "(cached) $ac_c" 1>&6
1164 if test -n "$CC"; then
1165 ac_cv_prog_CC="$CC" # Let the user override the test.
1167 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1170 for ac_dir in $ac_dummy; do
1171 test -z "$ac_dir" && ac_dir=.
1172 if test -f $ac_dir/$ac_word; then
1173 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1174 ac_prog_rejected=yes
1182 if test $ac_prog_rejected = yes; then
1183 # We found a bogon in the path, so make sure we never use it.
1184 set dummy $ac_cv_prog_CC
1186 if test $# -gt 0; then
1187 # We chose a different compiler from the bogus one.
1188 # However, it has the same basename, so the bogon will be chosen
1189 # first if we set CC to just the basename; use the full file name.
1191 set dummy "$ac_dir/$ac_word" "$@"
1199 if test -n "$CC"; then
1200 echo "$ac_t""$CC" 1>&6
1202 echo "$ac_t""no" 1>&6
1205 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1208 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1209 echo "configure:1210: checking whether we are using GNU C" >&5
1210 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1211 echo $ac_n "(cached) $ac_c" 1>&6
1213 cat > conftest.c <<EOF
1218 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1225 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1227 if test $ac_cv_prog_gcc = yes; then
1229 ac_test_CFLAGS="${CFLAGS+set}"
1230 ac_save_CFLAGS="$CFLAGS"
1232 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1233 echo "configure:1234: checking whether ${CC-cc} accepts -g" >&5
1234 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1235 echo $ac_n "(cached) $ac_c" 1>&6
1237 echo 'void f(){}' > conftest.c
1238 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1247 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1248 if test "$ac_test_CFLAGS" = set; then
1249 CFLAGS="$ac_save_CFLAGS"
1250 elif test $ac_cv_prog_cc_g = yes; then
1257 test "${CFLAGS+set}" = set || CFLAGS="-g"
1261 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1262 set dummy ${ac_tool_prefix}as; ac_word=$2
1263 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1264 echo "configure:1265: checking for $ac_word" >&5
1265 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1266 echo $ac_n "(cached) $ac_c" 1>&6
1268 if test -n "$AS"; then
1269 ac_cv_prog_AS="$AS" # Let the user override the test.
1271 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1273 for ac_dir in $ac_dummy; do
1274 test -z "$ac_dir" && ac_dir=.
1275 if test -f $ac_dir/$ac_word; then
1276 ac_cv_prog_AS="${ac_tool_prefix}as"
1281 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1285 if test -n "$AS"; then
1286 echo "$ac_t""$AS" 1>&6
1288 echo "$ac_t""no" 1>&6
1293 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1294 set dummy ${ac_tool_prefix}ar; ac_word=$2
1295 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1296 echo "configure:1297: checking for $ac_word" >&5
1297 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1298 echo $ac_n "(cached) $ac_c" 1>&6
1300 if test -n "$AR"; then
1301 ac_cv_prog_AR="$AR" # Let the user override the test.
1303 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1305 for ac_dir in $ac_dummy; do
1306 test -z "$ac_dir" && ac_dir=.
1307 if test -f $ac_dir/$ac_word; then
1308 ac_cv_prog_AR="${ac_tool_prefix}ar"
1313 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1317 if test -n "$AR"; then
1318 echo "$ac_t""$AR" 1>&6
1320 echo "$ac_t""no" 1>&6
1325 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1326 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1328 echo "configure:1329: checking for $ac_word" >&5
1329 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1330 echo $ac_n "(cached) $ac_c" 1>&6
1332 if test -n "$RANLIB"; then
1333 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1335 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1337 for ac_dir in $ac_dummy; do
1338 test -z "$ac_dir" && ac_dir=.
1339 if test -f $ac_dir/$ac_word; then
1340 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1347 RANLIB="$ac_cv_prog_RANLIB"
1348 if test -n "$RANLIB"; then
1349 echo "$ac_t""$RANLIB" 1>&6
1351 echo "$ac_t""no" 1>&6
1355 if test -z "$ac_cv_prog_RANLIB"; then
1356 if test -n "$ac_tool_prefix"; then
1357 # Extract the first word of "ranlib", so it can be a program name with args.
1358 set dummy ranlib; ac_word=$2
1359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1360 echo "configure:1361: checking for $ac_word" >&5
1361 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1362 echo $ac_n "(cached) $ac_c" 1>&6
1364 if test -n "$RANLIB"; then
1365 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1367 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1369 for ac_dir in $ac_dummy; do
1370 test -z "$ac_dir" && ac_dir=.
1371 if test -f $ac_dir/$ac_word; then
1372 ac_cv_prog_RANLIB="ranlib"
1377 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1380 RANLIB="$ac_cv_prog_RANLIB"
1381 if test -n "$RANLIB"; then
1382 echo "$ac_t""$RANLIB" 1>&6
1384 echo "$ac_t""no" 1>&6
1393 # Find a good install program. We prefer a C program (faster),
1394 # so one script is as good as another. But avoid the broken or
1395 # incompatible versions:
1396 # SysV /etc/install, /usr/sbin/install
1397 # SunOS /usr/etc/install
1398 # IRIX /sbin/install
1400 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1401 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1402 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1403 # ./install, which can be erroneously created by make from ./install.sh.
1404 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1405 echo "configure:1406: checking for a BSD compatible install" >&5
1406 if test -z "$INSTALL"; then
1407 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1408 echo $ac_n "(cached) $ac_c" 1>&6
1410 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1411 for ac_dir in $PATH; do
1412 # Account for people who put trailing slashes in PATH elements.
1414 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1416 # OSF1 and SCO ODT 3.0 have their own names for install.
1417 # Don't use installbsd from OSF since it installs stuff as root
1419 for ac_prog in ginstall scoinst install; do
1420 if test -f $ac_dir/$ac_prog; then
1421 if test $ac_prog = install &&
1422 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1423 # AIX install. It has an incompatible calling convention.
1426 ac_cv_path_install="$ac_dir/$ac_prog -c"
1437 if test "${ac_cv_path_install+set}" = set; then
1438 INSTALL="$ac_cv_path_install"
1440 # As a last resort, use the slow shell script. We don't cache a
1441 # path for INSTALL within a source directory, because that will
1442 # break other packages using the cache if that directory is
1443 # removed, or if the path is relative.
1444 INSTALL="$ac_install_sh"
1447 echo "$ac_t""$INSTALL" 1>&6
1449 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1450 # It thinks the first close brace ends the variable substitution.
1451 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1453 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1455 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1458 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
1459 ac_given_INSTALL=$INSTALL
1461 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1462 echo "configure:1463: checking whether to enable maintainer-specific portions of Makefiles" >&5
1463 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1464 if test "${enable_maintainer_mode+set}" = set; then
1465 enableval="$enable_maintainer_mode"
1466 USE_MAINTAINER_MODE=$enableval
1468 USE_MAINTAINER_MODE=no
1471 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1474 if test $USE_MAINTAINER_MODE = yes; then
1475 MAINTAINER_MODE_TRUE=
1476 MAINTAINER_MODE_FALSE='#'
1478 MAINTAINER_MODE_TRUE='#'
1479 MAINTAINER_MODE_FALSE=
1481 MAINT=$MAINTAINER_MODE_TRUE
1485 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1486 # at least currently, we never actually build a program, so we never
1487 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1488 # fails, because we are probably configuring with a cross compiler
1489 # which can't create executables. So we include AC_EXEEXT to keep
1490 # automake happy, but we don't execute it, since we don't care about
1495 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1496 echo "configure:1497: checking for executable suffix" >&5
1497 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1498 echo $ac_n "(cached) $ac_c" 1>&6
1500 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1504 echo 'int main () { return 0; }' > conftest.$ac_ext
1506 if { (eval echo configure:1507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1507 for file in conftest.*; do
1509 *.c | *.o | *.obj) ;;
1510 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1514 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1517 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1522 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1523 echo "$ac_t""${ac_cv_exeext}" 1>&6
1528 . ${newlib_basedir}/configure.host
1530 newlib_cflags="${newlib_cflags} -fno-builtin"
1532 NEWLIB_CFLAGS=${newlib_cflags}
1540 if test x${newlib_elix_level} = x0; then
1542 ELIX_LEVEL_0_FALSE='#'
1544 ELIX_LEVEL_0_TRUE='#'
1549 if test x${newlib_elix_level} = x1; then
1551 ELIX_LEVEL_1_FALSE='#'
1553 ELIX_LEVEL_1_TRUE='#'
1558 if test x${newlib_elix_level} = x2; then
1560 ELIX_LEVEL_2_FALSE='#'
1562 ELIX_LEVEL_2_TRUE='#'
1567 if test x${newlib_elix_level} = x3; then
1569 ELIX_LEVEL_3_FALSE='#'
1571 ELIX_LEVEL_3_TRUE='#'
1576 if test x${newlib_elix_level} = x4; then
1578 ELIX_LEVEL_4_FALSE='#'
1580 ELIX_LEVEL_4_TRUE='#'
1586 if test x${use_libtool} = xyes; then
1588 USE_LIBTOOL_FALSE='#'
1590 USE_LIBTOOL_TRUE='#'
1594 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
1595 # use oext, which is set in configure.host based on the target platform.
1608 if test "${use_libtool}" = "yes"; then
1610 # Check whether --enable-shared or --disable-shared was given.
1611 if test "${enable_shared+set}" = set; then
1612 enableval="$enable_shared"
1613 p=${PACKAGE-default}
1615 yes) enable_shared=yes ;;
1616 no) enable_shared=no ;;
1619 # Look at the argument we got. We use all the common list separators.
1620 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1621 for pkg in $enableval; do
1622 if test "X$pkg" = "X$p"; then
1633 # Check whether --enable-static or --disable-static was given.
1634 if test "${enable_static+set}" = set; then
1635 enableval="$enable_static"
1636 p=${PACKAGE-default}
1638 yes) enable_static=yes ;;
1639 no) enable_static=no ;;
1642 # Look at the argument we got. We use all the common list separators.
1643 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1644 for pkg in $enableval; do
1645 if test "X$pkg" = "X$p"; then
1656 # Check whether --enable-fast-install or --disable-fast-install was given.
1657 if test "${enable_fast_install+set}" = set; then
1658 enableval="$enable_fast_install"
1659 p=${PACKAGE-default}
1661 yes) enable_fast_install=yes ;;
1662 no) enable_fast_install=no ;;
1664 enable_fast_install=no
1665 # Look at the argument we got. We use all the common list separators.
1666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1667 for pkg in $enableval; do
1668 if test "X$pkg" = "X$p"; then
1669 enable_fast_install=yes
1676 enable_fast_install=yes
1679 # Extract the first word of "gcc", so it can be a program name with args.
1680 set dummy gcc; ac_word=$2
1681 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1682 echo "configure:1683: checking for $ac_word" >&5
1683 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1684 echo $ac_n "(cached) $ac_c" 1>&6
1686 if test -n "$CC"; then
1687 ac_cv_prog_CC="$CC" # Let the user override the test.
1689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1691 for ac_dir in $ac_dummy; do
1692 test -z "$ac_dir" && ac_dir=.
1693 if test -f $ac_dir/$ac_word; then
1702 if test -n "$CC"; then
1703 echo "$ac_t""$CC" 1>&6
1705 echo "$ac_t""no" 1>&6
1708 if test -z "$CC"; then
1709 # Extract the first word of "cc", so it can be a program name with args.
1710 set dummy cc; ac_word=$2
1711 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1712 echo "configure:1713: checking for $ac_word" >&5
1713 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1714 echo $ac_n "(cached) $ac_c" 1>&6
1716 if test -n "$CC"; then
1717 ac_cv_prog_CC="$CC" # Let the user override the test.
1719 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1722 for ac_dir in $ac_dummy; do
1723 test -z "$ac_dir" && ac_dir=.
1724 if test -f $ac_dir/$ac_word; then
1725 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1726 ac_prog_rejected=yes
1734 if test $ac_prog_rejected = yes; then
1735 # We found a bogon in the path, so make sure we never use it.
1736 set dummy $ac_cv_prog_CC
1738 if test $# -gt 0; then
1739 # We chose a different compiler from the bogus one.
1740 # However, it has the same basename, so the bogon will be chosen
1741 # first if we set CC to just the basename; use the full file name.
1743 set dummy "$ac_dir/$ac_word" "$@"
1751 if test -n "$CC"; then
1752 echo "$ac_t""$CC" 1>&6
1754 echo "$ac_t""no" 1>&6
1757 if test -z "$CC"; then
1758 case "`uname -s`" in
1760 # Extract the first word of "cl", so it can be a program name with args.
1761 set dummy cl; ac_word=$2
1762 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1763 echo "configure:1764: checking for $ac_word" >&5
1764 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1765 echo $ac_n "(cached) $ac_c" 1>&6
1767 if test -n "$CC"; then
1768 ac_cv_prog_CC="$CC" # Let the user override the test.
1770 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1772 for ac_dir in $ac_dummy; do
1773 test -z "$ac_dir" && ac_dir=.
1774 if test -f $ac_dir/$ac_word; then
1783 if test -n "$CC"; then
1784 echo "$ac_t""$CC" 1>&6
1786 echo "$ac_t""no" 1>&6
1791 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1794 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1795 echo "configure:1796: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1799 ac_cpp='$CPP $CPPFLAGS'
1800 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1801 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1802 cross_compiling=$ac_cv_prog_cc_cross
1804 cat > conftest.$ac_ext << EOF
1806 #line 1807 "configure"
1807 #include "confdefs.h"
1811 if { (eval echo configure:1812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1812 ac_cv_prog_cc_works=yes
1813 # If we can't run a trivial program, we are probably using a cross compiler.
1814 if (./conftest; exit) 2>/dev/null; then
1815 ac_cv_prog_cc_cross=no
1817 ac_cv_prog_cc_cross=yes
1820 echo "configure: failed program was:" >&5
1821 cat conftest.$ac_ext >&5
1822 ac_cv_prog_cc_works=no
1826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1827 ac_cpp='$CPP $CPPFLAGS'
1828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1830 cross_compiling=$ac_cv_prog_cc_cross
1832 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1833 if test $ac_cv_prog_cc_works = no; then
1834 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1836 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1837 echo "configure:1838: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1838 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1839 cross_compiling=$ac_cv_prog_cc_cross
1841 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1842 echo "configure:1843: checking whether we are using GNU C" >&5
1843 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1844 echo $ac_n "(cached) $ac_c" 1>&6
1846 cat > conftest.c <<EOF
1851 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1858 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1860 if test $ac_cv_prog_gcc = yes; then
1866 ac_test_CFLAGS="${CFLAGS+set}"
1867 ac_save_CFLAGS="$CFLAGS"
1869 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1870 echo "configure:1871: checking whether ${CC-cc} accepts -g" >&5
1871 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1872 echo $ac_n "(cached) $ac_c" 1>&6
1874 echo 'void f(){}' > conftest.c
1875 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1884 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1885 if test "$ac_test_CFLAGS" = set; then
1886 CFLAGS="$ac_save_CFLAGS"
1887 elif test $ac_cv_prog_cc_g = yes; then
1888 if test "$GCC" = yes; then
1894 if test "$GCC" = yes; then
1901 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1902 if test "${with_gnu_ld+set}" = set; then
1903 withval="$with_gnu_ld"
1904 test "$withval" = no || with_gnu_ld=yes
1910 if test "$GCC" = yes; then
1911 # Check if gcc -print-prog-name=ld gives a path.
1912 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1913 echo "configure:1914: checking for ld used by GCC" >&5
1916 # gcc leaves a trailing carriage return which upsets mingw
1917 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1919 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1922 # Accept absolute paths.
1923 [\\/]* | [A-Za-z]:[\\/]*)
1924 re_direlt='/[^/][^/]*/\.\./'
1925 # Canonicalize the path of ld
1926 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1927 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1928 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1930 test -z "$LD" && LD="$ac_prog"
1933 # If it fails, then pretend we aren't using GCC.
1937 # If it is relative, then search for the first ld in PATH.
1941 elif test "$with_gnu_ld" = yes; then
1942 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1943 echo "configure:1944: checking for GNU ld" >&5
1945 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1946 echo "configure:1947: checking for non-GNU ld" >&5
1948 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1949 echo $ac_n "(cached) $ac_c" 1>&6
1951 if test -z "$LD"; then
1952 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1953 for ac_dir in $PATH; do
1954 test -z "$ac_dir" && ac_dir=.
1955 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1956 lt_cv_path_LD="$ac_dir/$ac_prog"
1957 # Check to see if the program is GNU ld. I'd rather use --version,
1958 # but apparently some GNU ld's only accept -v.
1959 # Break only if it was the GNU/non-GNU ld that we prefer.
1960 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1961 test "$with_gnu_ld" != no && break
1963 test "$with_gnu_ld" != yes && break
1969 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1974 if test -n "$LD"; then
1975 echo "$ac_t""$LD" 1>&6
1977 echo "$ac_t""no" 1>&6
1979 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1980 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1981 echo "configure:1982: checking if the linker ($LD) is GNU ld" >&5
1982 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1983 echo $ac_n "(cached) $ac_c" 1>&6
1985 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1986 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1987 lt_cv_prog_gnu_ld=yes
1989 lt_cv_prog_gnu_ld=no
1993 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1994 with_gnu_ld=$lt_cv_prog_gnu_ld
1997 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1998 echo "configure:1999: checking for $LD option to reload object files" >&5
1999 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
2000 echo $ac_n "(cached) $ac_c" 1>&6
2002 lt_cv_ld_reload_flag='-r'
2005 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
2006 reload_flag=$lt_cv_ld_reload_flag
2007 test -n "$reload_flag" && reload_flag=" $reload_flag"
2009 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
2010 echo "configure:2011: checking for BSD-compatible nm" >&5
2011 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
2012 echo $ac_n "(cached) $ac_c" 1>&6
2014 if test -n "$NM"; then
2015 # Let the user override the test.
2018 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2019 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
2020 test -z "$ac_dir" && ac_dir=.
2021 tmp_nm=$ac_dir/${ac_tool_prefix}nm
2022 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
2023 # Check to see if the nm accepts a BSD-compat flag.
2024 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2025 # nm: unknown option "B" ignored
2026 # Tru64's nm complains that /dev/null is an invalid object file
2027 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
2028 lt_cv_path_NM="$tmp_nm -B"
2030 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
2031 lt_cv_path_NM="$tmp_nm -p"
2034 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2035 continue # so that we can try to find one that supports BSD flags
2040 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2045 echo "$ac_t""$NM" 1>&6
2047 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
2048 echo "configure:2049: checking whether ln -s works" >&5
2049 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
2050 echo $ac_n "(cached) $ac_c" 1>&6
2053 if ln -s X conftestdata 2>/dev/null
2056 ac_cv_prog_LN_S="ln -s"
2061 LN_S="$ac_cv_prog_LN_S"
2062 if test "$ac_cv_prog_LN_S" = "ln -s"; then
2063 echo "$ac_t""yes" 1>&6
2065 echo "$ac_t""no" 1>&6
2068 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
2069 echo "configure:2070: checking how to recognise dependant libraries" >&5
2070 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
2071 echo $ac_n "(cached) $ac_c" 1>&6
2073 lt_cv_file_magic_cmd='$MAGIC_CMD'
2074 lt_cv_file_magic_test_file=
2075 lt_cv_deplibs_check_method='unknown'
2076 # Need to set the preceding variable on all platforms that support
2077 # interlibrary dependencies.
2078 # 'none' -- dependencies not supported.
2079 # `unknown' -- same as none, but documents that we really don't know.
2080 # 'pass_all' -- all dependencies passed with no checks.
2081 # 'test_compile' -- check by making test program.
2082 # 'file_magic [regex]' -- check by looking for files in library path
2083 # which responds to the $file_magic_cmd with a given egrep regex.
2084 # If you have `file' or equivalent on your system and you're not sure
2085 # whether `pass_all' will *always* work, you probably want this one.
2089 lt_cv_deplibs_check_method=pass_all
2093 lt_cv_deplibs_check_method=pass_all
2097 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
2098 lt_cv_file_magic_cmd='/usr/bin/file -L'
2099 lt_cv_file_magic_test_file=/shlib/libc.so
2102 cygwin* | mingw* |pw32*)
2103 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2104 lt_cv_file_magic_cmd='$OBJDUMP -f'
2107 darwin* | rhapsody*)
2108 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2109 lt_cv_file_magic_cmd='/usr/bin/file -L'
2111 rhapsody* | darwin1.012)
2112 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2115 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2121 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2124 # Not sure whether the presence of OpenBSD here was a mistake.
2125 # Let's accept both of them until this is cleared up.
2126 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2127 lt_cv_file_magic_cmd=/usr/bin/file
2128 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2132 lt_cv_deplibs_check_method=pass_all
2137 lt_cv_deplibs_check_method=pass_all
2143 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2144 lt_cv_file_magic_cmd=/usr/bin/file
2145 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2148 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
2149 lt_cv_file_magic_cmd=/usr/bin/file
2150 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2158 # this will be overridden with pass_all, but let us keep it just in case
2159 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2163 *-32|*"-32 ") libmagic=32-bit;;
2164 *-n32|*"-n32 ") libmagic=N32;;
2165 *-64|*"-64 ") libmagic=64-bit;;
2166 *) libmagic=never-match;;
2168 # this will be overridden with pass_all, but let us keep it just in case
2169 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2172 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2173 lt_cv_deplibs_check_method=pass_all
2176 # This must be Linux ELF.
2179 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2180 lt_cv_deplibs_check_method=pass_all ;;
2182 # glibc up to 2.1.1 does not perform some relocations on ARM
2183 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2185 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2189 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2190 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2192 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2197 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2198 lt_cv_file_magic_cmd=/usr/bin/file
2199 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2202 osf3* | osf4* | osf5*)
2203 # this will be overridden with pass_all, but let us keep it just in case
2204 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2205 lt_cv_file_magic_test_file=/shlib/libc.so
2206 lt_cv_deplibs_check_method=pass_all
2210 lt_cv_deplibs_check_method=pass_all
2214 lt_cv_deplibs_check_method=pass_all
2215 lt_cv_file_magic_test_file=/lib/libc.so
2218 sysv5uw[78]* | sysv4*uw2*)
2219 lt_cv_deplibs_check_method=pass_all
2222 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2223 case $host_vendor in
2225 lt_cv_deplibs_check_method=pass_all
2228 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
2229 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2237 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2238 file_magic_cmd=$lt_cv_file_magic_cmd
2239 deplibs_check_method=$lt_cv_deplibs_check_method
2241 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2242 echo "configure:2243: checking for object suffix" >&5
2243 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2244 echo $ac_n "(cached) $ac_c" 1>&6
2247 echo 'int i = 1;' > conftest.$ac_ext
2248 if { (eval echo configure:2249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2249 for ac_file in conftest.*; do
2252 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2256 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2261 echo "$ac_t""$ac_cv_objext" 1>&6
2262 OBJEXT=$ac_cv_objext
2263 ac_objext=$ac_cv_objext
2265 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2267 # Only perform the check for file, if the check method requires it
2268 case $deplibs_check_method in
2270 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2271 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2272 echo "configure:2273: checking for ${ac_tool_prefix}file" >&5
2273 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2274 echo $ac_n "(cached) $ac_c" 1>&6
2278 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2281 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2284 ac_save_MAGIC_CMD="$MAGIC_CMD"
2285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2286 ac_dummy="/usr/bin:$PATH"
2287 for ac_dir in $ac_dummy; do
2288 test -z "$ac_dir" && ac_dir=.
2289 if test -f $ac_dir/${ac_tool_prefix}file; then
2290 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2291 if test -n "$file_magic_test_file"; then
2292 case $deplibs_check_method in
2294 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2295 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2296 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2297 egrep "$file_magic_regex" > /dev/null; then
2302 *** Warning: the command libtool uses to detect shared libraries,
2303 *** $file_magic_cmd, produces output that libtool cannot recognize.
2304 *** The result is that libtool may fail to recognize shared libraries
2305 *** as such. This will affect the creation of libtool libraries that
2306 *** depend on shared libraries, but programs linked with such libtool
2307 *** libraries will work regardless of this problem. Nevertheless, you
2308 *** may want to report the problem to your system manager and/or to
2309 *** bug-libtool@gnu.org
2319 MAGIC_CMD="$ac_save_MAGIC_CMD"
2324 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2325 if test -n "$MAGIC_CMD"; then
2326 echo "$ac_t""$MAGIC_CMD" 1>&6
2328 echo "$ac_t""no" 1>&6
2331 if test -z "$lt_cv_path_MAGIC_CMD"; then
2332 if test -n "$ac_tool_prefix"; then
2333 echo $ac_n "checking for file""... $ac_c" 1>&6
2334 echo "configure:2335: checking for file" >&5
2335 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2336 echo $ac_n "(cached) $ac_c" 1>&6
2340 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2343 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2346 ac_save_MAGIC_CMD="$MAGIC_CMD"
2347 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2348 ac_dummy="/usr/bin:$PATH"
2349 for ac_dir in $ac_dummy; do
2350 test -z "$ac_dir" && ac_dir=.
2351 if test -f $ac_dir/file; then
2352 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2353 if test -n "$file_magic_test_file"; then
2354 case $deplibs_check_method in
2356 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2358 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2359 egrep "$file_magic_regex" > /dev/null; then
2364 *** Warning: the command libtool uses to detect shared libraries,
2365 *** $file_magic_cmd, produces output that libtool cannot recognize.
2366 *** The result is that libtool may fail to recognize shared libraries
2367 *** as such. This will affect the creation of libtool libraries that
2368 *** depend on shared libraries, but programs linked with such libtool
2369 *** libraries will work regardless of this problem. Nevertheless, you
2370 *** may want to report the problem to your system manager and/or to
2371 *** bug-libtool@gnu.org
2381 MAGIC_CMD="$ac_save_MAGIC_CMD"
2386 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2387 if test -n "$MAGIC_CMD"; then
2388 echo "$ac_t""$MAGIC_CMD" 1>&6
2390 echo "$ac_t""no" 1>&6
2402 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2403 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2404 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2405 echo "configure:2406: checking for $ac_word" >&5
2406 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2407 echo $ac_n "(cached) $ac_c" 1>&6
2409 if test -n "$RANLIB"; then
2410 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2412 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2414 for ac_dir in $ac_dummy; do
2415 test -z "$ac_dir" && ac_dir=.
2416 if test -f $ac_dir/$ac_word; then
2417 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2424 RANLIB="$ac_cv_prog_RANLIB"
2425 if test -n "$RANLIB"; then
2426 echo "$ac_t""$RANLIB" 1>&6
2428 echo "$ac_t""no" 1>&6
2432 if test -z "$ac_cv_prog_RANLIB"; then
2433 if test -n "$ac_tool_prefix"; then
2434 # Extract the first word of "ranlib", so it can be a program name with args.
2435 set dummy ranlib; ac_word=$2
2436 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2437 echo "configure:2438: checking for $ac_word" >&5
2438 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2439 echo $ac_n "(cached) $ac_c" 1>&6
2441 if test -n "$RANLIB"; then
2442 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2444 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2446 for ac_dir in $ac_dummy; do
2447 test -z "$ac_dir" && ac_dir=.
2448 if test -f $ac_dir/$ac_word; then
2449 ac_cv_prog_RANLIB="ranlib"
2454 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2457 RANLIB="$ac_cv_prog_RANLIB"
2458 if test -n "$RANLIB"; then
2459 echo "$ac_t""$RANLIB" 1>&6
2461 echo "$ac_t""no" 1>&6
2469 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2470 set dummy ${ac_tool_prefix}strip; ac_word=$2
2471 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2472 echo "configure:2473: checking for $ac_word" >&5
2473 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2474 echo $ac_n "(cached) $ac_c" 1>&6
2476 if test -n "$STRIP"; then
2477 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2479 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2481 for ac_dir in $ac_dummy; do
2482 test -z "$ac_dir" && ac_dir=.
2483 if test -f $ac_dir/$ac_word; then
2484 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2491 STRIP="$ac_cv_prog_STRIP"
2492 if test -n "$STRIP"; then
2493 echo "$ac_t""$STRIP" 1>&6
2495 echo "$ac_t""no" 1>&6
2499 if test -z "$ac_cv_prog_STRIP"; then
2500 if test -n "$ac_tool_prefix"; then
2501 # Extract the first word of "strip", so it can be a program name with args.
2502 set dummy strip; ac_word=$2
2503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2504 echo "configure:2505: checking for $ac_word" >&5
2505 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2506 echo $ac_n "(cached) $ac_c" 1>&6
2508 if test -n "$STRIP"; then
2509 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2513 for ac_dir in $ac_dummy; do
2514 test -z "$ac_dir" && ac_dir=.
2515 if test -f $ac_dir/$ac_word; then
2516 ac_cv_prog_STRIP="strip"
2521 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2524 STRIP="$ac_cv_prog_STRIP"
2525 if test -n "$STRIP"; then
2526 echo "$ac_t""$STRIP" 1>&6
2528 echo "$ac_t""no" 1>&6
2537 # Check for any special flags to pass to ltconfig.
2538 libtool_flags="--cache-file=$cache_file"
2539 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2540 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2541 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2542 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2543 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2545 libtool_flags="$libtool_flags --enable-win32-dll"
2546 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2547 if test "${enable_libtool_lock+set}" = set; then
2548 enableval="$enable_libtool_lock"
2552 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2553 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2555 # Check whether --with-pic or --without-pic was given.
2556 if test "${with_pic+set}" = set; then
2563 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2564 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2566 # Some flags need to be propagated to the compiler or linker for good
2570 # Find out which ABI we are using.
2571 echo '#line 2572 "configure"' > conftest.$ac_ext
2572 if { (eval echo configure:2573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2573 case `/usr/bin/file conftest.$ac_objext` in
2589 # Find out which ABI we are using.
2590 echo 'int i;' > conftest.$ac_ext
2591 if { (eval echo configure:2592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2592 case "`/usr/bin/file conftest.o`" in
2605 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2606 SAVE_CFLAGS="$CFLAGS"
2607 CFLAGS="$CFLAGS -belf"
2608 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2609 echo "configure:2610: checking whether the C compiler needs -belf" >&5
2610 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2611 echo $ac_n "(cached) $ac_c" 1>&6
2615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2616 ac_cpp='$CPP $CPPFLAGS'
2617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2619 cross_compiling=$ac_cv_prog_cc_cross
2621 cat > conftest.$ac_ext <<EOF
2622 #line 2623 "configure"
2623 #include "confdefs.h"
2629 if { (eval echo configure:2630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2631 lt_cv_cc_needs_belf=yes
2633 echo "configure: failed program was:" >&5
2634 cat conftest.$ac_ext >&5
2636 lt_cv_cc_needs_belf=no
2640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2641 ac_cpp='$CPP $CPPFLAGS'
2642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2644 cross_compiling=$ac_cv_prog_cc_cross
2648 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2649 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2650 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2651 CFLAGS="$SAVE_CFLAGS"
2655 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
2656 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2657 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
2658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2659 echo "configure:2660: checking for $ac_word" >&5
2660 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2661 echo $ac_n "(cached) $ac_c" 1>&6
2663 if test -n "$DLLTOOL"; then
2664 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2668 for ac_dir in $ac_dummy; do
2669 test -z "$ac_dir" && ac_dir=.
2670 if test -f $ac_dir/$ac_word; then
2671 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
2678 DLLTOOL="$ac_cv_prog_DLLTOOL"
2679 if test -n "$DLLTOOL"; then
2680 echo "$ac_t""$DLLTOOL" 1>&6
2682 echo "$ac_t""no" 1>&6
2686 if test -z "$ac_cv_prog_DLLTOOL"; then
2687 if test -n "$ac_tool_prefix"; then
2688 # Extract the first word of "dlltool", so it can be a program name with args.
2689 set dummy dlltool; ac_word=$2
2690 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2691 echo "configure:2692: checking for $ac_word" >&5
2692 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2693 echo $ac_n "(cached) $ac_c" 1>&6
2695 if test -n "$DLLTOOL"; then
2696 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2700 for ac_dir in $ac_dummy; do
2701 test -z "$ac_dir" && ac_dir=.
2702 if test -f $ac_dir/$ac_word; then
2703 ac_cv_prog_DLLTOOL="dlltool"
2708 test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
2711 DLLTOOL="$ac_cv_prog_DLLTOOL"
2712 if test -n "$DLLTOOL"; then
2713 echo "$ac_t""$DLLTOOL" 1>&6
2715 echo "$ac_t""no" 1>&6
2723 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2724 set dummy ${ac_tool_prefix}as; ac_word=$2
2725 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2726 echo "configure:2727: checking for $ac_word" >&5
2727 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2728 echo $ac_n "(cached) $ac_c" 1>&6
2730 if test -n "$AS"; then
2731 ac_cv_prog_AS="$AS" # Let the user override the test.
2733 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2735 for ac_dir in $ac_dummy; do
2736 test -z "$ac_dir" && ac_dir=.
2737 if test -f $ac_dir/$ac_word; then
2738 ac_cv_prog_AS="${ac_tool_prefix}as"
2746 if test -n "$AS"; then
2747 echo "$ac_t""$AS" 1>&6
2749 echo "$ac_t""no" 1>&6
2753 if test -z "$ac_cv_prog_AS"; then
2754 if test -n "$ac_tool_prefix"; then
2755 # Extract the first word of "as", so it can be a program name with args.
2756 set dummy as; ac_word=$2
2757 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2758 echo "configure:2759: checking for $ac_word" >&5
2759 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2760 echo $ac_n "(cached) $ac_c" 1>&6
2762 if test -n "$AS"; then
2763 ac_cv_prog_AS="$AS" # Let the user override the test.
2765 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2767 for ac_dir in $ac_dummy; do
2768 test -z "$ac_dir" && ac_dir=.
2769 if test -f $ac_dir/$ac_word; then
2775 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
2779 if test -n "$AS"; then
2780 echo "$ac_t""$AS" 1>&6
2782 echo "$ac_t""no" 1>&6
2790 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
2791 set dummy ${ac_tool_prefix}objdump; ac_word=$2
2792 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2793 echo "configure:2794: checking for $ac_word" >&5
2794 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2795 echo $ac_n "(cached) $ac_c" 1>&6
2797 if test -n "$OBJDUMP"; then
2798 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2800 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2802 for ac_dir in $ac_dummy; do
2803 test -z "$ac_dir" && ac_dir=.
2804 if test -f $ac_dir/$ac_word; then
2805 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
2812 OBJDUMP="$ac_cv_prog_OBJDUMP"
2813 if test -n "$OBJDUMP"; then
2814 echo "$ac_t""$OBJDUMP" 1>&6
2816 echo "$ac_t""no" 1>&6
2820 if test -z "$ac_cv_prog_OBJDUMP"; then
2821 if test -n "$ac_tool_prefix"; then
2822 # Extract the first word of "objdump", so it can be a program name with args.
2823 set dummy objdump; ac_word=$2
2824 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2825 echo "configure:2826: checking for $ac_word" >&5
2826 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2827 echo $ac_n "(cached) $ac_c" 1>&6
2829 if test -n "$OBJDUMP"; then
2830 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2832 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2834 for ac_dir in $ac_dummy; do
2835 test -z "$ac_dir" && ac_dir=.
2836 if test -f $ac_dir/$ac_word; then
2837 ac_cv_prog_OBJDUMP="objdump"
2842 test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false"
2845 OBJDUMP="$ac_cv_prog_OBJDUMP"
2846 if test -n "$OBJDUMP"; then
2847 echo "$ac_t""$OBJDUMP" 1>&6
2849 echo "$ac_t""no" 1>&6
2858 # recent cygwin and mingw systems supply a stub DllMain which the user
2859 # can override, but on older systems we have to supply one
2860 echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
2861 echo "configure:2862: checking if libtool should supply DllMain function" >&5
2862 if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
2863 echo $ac_n "(cached) $ac_c" 1>&6
2865 cat > conftest.$ac_ext <<EOF
2866 #line 2867 "configure"
2867 #include "confdefs.h"
2870 extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
2874 if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2876 lt_cv_need_dllmain=no
2878 echo "configure: failed program was:" >&5
2879 cat conftest.$ac_ext >&5
2881 lt_cv_need_dllmain=yes
2886 echo "$ac_t""$lt_cv_need_dllmain" 1>&6
2889 *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
2890 # old mingw systems require "-dll" to link a DLL, while more recent ones
2892 SAVE_CFLAGS="$CFLAGS"
2893 CFLAGS="$CFLAGS -mdll"
2894 echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
2895 echo "configure:2896: checking how to link DLLs" >&5
2896 if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
2897 echo $ac_n "(cached) $ac_c" 1>&6
2899 cat > conftest.$ac_ext <<EOF
2900 #line 2901 "configure"
2901 #include "confdefs.h"
2907 if { (eval echo configure:2908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2909 lt_cv_cc_dll_switch=-mdll
2911 echo "configure: failed program was:" >&5
2912 cat conftest.$ac_ext >&5
2914 lt_cv_cc_dll_switch=-dll
2919 echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
2920 CFLAGS="$SAVE_CFLAGS" ;;
2921 *-*-cygwin* | *-*-pw32*)
2922 # cygwin systems need to pass --dll to the linker, and not link
2923 # crt.o which will require a WinMain@16 definition.
2924 lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
2931 # Save cache, so that ltconfig can load it
2932 cat > confcache <<\EOF
2933 # This file is a shell script that caches the results of configure
2934 # tests run on this system so they can be shared between configure
2935 # scripts and configure runs. It is not useful on other systems.
2936 # If it contains results you don't want to keep, you may remove or edit it.
2938 # By default, configure uses ./config.cache as the cache file,
2939 # creating it if it does not exist already. You can give configure
2940 # the --cache-file=FILE option to use a different cache file; that is
2941 # what configure does when it calls configure scripts in
2942 # subdirectories, so they share the cache.
2943 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2944 # config.status only pays attention to the cache file if you give it the
2945 # --recheck option to rerun configure.
2948 # The following way of writing the cache mishandles newlines in values,
2949 # but we know of no workaround that is simple, portable, and efficient.
2950 # So, don't put newlines in cache variables' values.
2951 # Ultrix sh set writes to stderr and can't be redirected directly,
2952 # and sets the high bit in the cache file unless we assign to the vars.
2954 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2956 # `set' does not quote correctly, so add quotes (double-quote substitution
2957 # turns \\\\ into \\, and sed turns \\ into \).
2959 -e "s/'/'\\\\''/g" \
2960 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2963 # `set' quotes correctly as required by POSIX, so do not add quotes.
2964 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2967 if cmp -s $cache_file confcache; then
2970 if test -w $cache_file; then
2971 echo "updating cache $cache_file"
2972 cat confcache > $cache_file
2974 echo "not updating unwritable cache $cache_file"
2980 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2981 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2982 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2983 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2984 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2985 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2986 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2987 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2988 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2989 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2991 # Reload cache, that may have been modified by ltconfig
2992 if test -r "$cache_file"; then
2993 echo "loading cache $cache_file"
2996 echo "creating cache $cache_file"
3001 # This can be used to rebuild libtool when needed
3002 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3004 # Always use our own libtool.
3005 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
3007 # Redirect the config.log output again, so that the ltconfig log is not
3008 # clobbered by the next message.
3009 exec 5>>./config.log
3019 if test -n "${libm_machine_dir}"; then
3022 if test "${use_libtool}" = "yes"; then
3023 LIBM_MACHINE_LIB=machine/${libm_machine_dir}/lib${libm_machine_dir}.${aext}
3025 LIBM_MACHINE_LIB=machine/lib.${aext}
3032 cat > confcache <<\EOF
3033 # This file is a shell script that caches the results of configure
3034 # tests run on this system so they can be shared between configure
3035 # scripts and configure runs. It is not useful on other systems.
3036 # If it contains results you don't want to keep, you may remove or edit it.
3038 # By default, configure uses ./config.cache as the cache file,
3039 # creating it if it does not exist already. You can give configure
3040 # the --cache-file=FILE option to use a different cache file; that is
3041 # what configure does when it calls configure scripts in
3042 # subdirectories, so they share the cache.
3043 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3044 # config.status only pays attention to the cache file if you give it the
3045 # --recheck option to rerun configure.
3048 # The following way of writing the cache mishandles newlines in values,
3049 # but we know of no workaround that is simple, portable, and efficient.
3050 # So, don't put newlines in cache variables' values.
3051 # Ultrix sh set writes to stderr and can't be redirected directly,
3052 # and sets the high bit in the cache file unless we assign to the vars.
3054 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3056 # `set' does not quote correctly, so add quotes (double-quote substitution
3057 # turns \\\\ into \\, and sed turns \\ into \).
3059 -e "s/'/'\\\\''/g" \
3060 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3063 # `set' quotes correctly as required by POSIX, so do not add quotes.
3064 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3067 if cmp -s $cache_file confcache; then
3070 if test -w $cache_file; then
3071 echo "updating cache $cache_file"
3072 cat confcache > $cache_file
3074 echo "not updating unwritable cache $cache_file"
3079 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3081 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3082 # Let make expand exec_prefix.
3083 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3085 # Any assignment to VPATH causes Sun make to only execute
3086 # the first set of double-colon rules, so remove it if not needed.
3087 # If there is a colon in the path, we need to keep it.
3088 if test "x$srcdir" = x.; then
3089 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
3092 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3094 # Transform confdefs.h into DEFS.
3095 # Protect against shell expansion while executing Makefile rules.
3096 # Protect against Makefile macro expansion.
3097 cat > conftest.defs <<\EOF
3098 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
3099 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
3104 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
3108 # Without the "./", some shells look in PATH for config.status.
3109 : ${CONFIG_STATUS=./config.status}
3111 echo creating $CONFIG_STATUS
3112 rm -f $CONFIG_STATUS
3113 cat > $CONFIG_STATUS <<EOF
3115 # Generated automatically by configure.
3116 # Run this file to recreate the current configuration.
3117 # This directory was configured as follows,
3118 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3120 # $0 $ac_configure_args
3122 # Compiler output produced by configure, useful for debugging
3123 # configure, is in ./config.log if it exists.
3125 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3128 case "\$ac_option" in
3129 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3130 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3131 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3132 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3133 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3135 -help | --help | --hel | --he | --h)
3136 echo "\$ac_cs_usage"; exit 0 ;;
3137 *) echo "\$ac_cs_usage"; exit 1 ;;
3141 ac_given_srcdir=$srcdir
3142 ac_given_INSTALL="$INSTALL"
3144 trap 'rm -fr `echo "Makefile math/Makefile mathfp/Makefile common/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3146 cat >> $CONFIG_STATUS <<EOF
3148 # Protect against being on the right side of a sed subst in config.status.
3149 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3150 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3154 s%@CFLAGS@%$CFLAGS%g
3155 s%@CPPFLAGS@%$CPPFLAGS%g
3156 s%@CXXFLAGS@%$CXXFLAGS%g
3157 s%@FFLAGS@%$FFLAGS%g
3159 s%@LDFLAGS@%$LDFLAGS%g
3161 s%@exec_prefix@%$exec_prefix%g
3162 s%@prefix@%$prefix%g
3163 s%@program_transform_name@%$program_transform_name%g
3164 s%@bindir@%$bindir%g
3165 s%@sbindir@%$sbindir%g
3166 s%@libexecdir@%$libexecdir%g
3167 s%@datadir@%$datadir%g
3168 s%@sysconfdir@%$sysconfdir%g
3169 s%@sharedstatedir@%$sharedstatedir%g
3170 s%@localstatedir@%$localstatedir%g
3171 s%@libdir@%$libdir%g
3172 s%@includedir@%$includedir%g
3173 s%@oldincludedir@%$oldincludedir%g
3174 s%@infodir@%$infodir%g
3175 s%@mandir@%$mandir%g
3176 s%@NEWLIB_HW_FP_TRUE@%$NEWLIB_HW_FP_TRUE%g
3177 s%@NEWLIB_HW_FP_FALSE@%$NEWLIB_HW_FP_FALSE%g
3178 s%@MAY_SUPPLY_SYSCALLS_TRUE@%$MAY_SUPPLY_SYSCALLS_TRUE%g
3179 s%@MAY_SUPPLY_SYSCALLS_FALSE@%$MAY_SUPPLY_SYSCALLS_FALSE%g
3180 s%@newlib_basedir@%$newlib_basedir%g
3182 s%@host_alias@%$host_alias%g
3183 s%@host_cpu@%$host_cpu%g
3184 s%@host_vendor@%$host_vendor%g
3185 s%@host_os@%$host_os%g
3186 s%@target@%$target%g
3187 s%@target_alias@%$target_alias%g
3188 s%@target_cpu@%$target_cpu%g
3189 s%@target_vendor@%$target_vendor%g
3190 s%@target_os@%$target_os%g
3192 s%@build_alias@%$build_alias%g
3193 s%@build_cpu@%$build_cpu%g
3194 s%@build_vendor@%$build_vendor%g
3195 s%@build_os@%$build_os%g
3196 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3197 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3198 s%@INSTALL_DATA@%$INSTALL_DATA%g
3199 s%@PACKAGE@%$PACKAGE%g
3200 s%@VERSION@%$VERSION%g
3201 s%@ACLOCAL@%$ACLOCAL%g
3202 s%@AUTOCONF@%$AUTOCONF%g
3203 s%@AUTOMAKE@%$AUTOMAKE%g
3204 s%@AUTOHEADER@%$AUTOHEADER%g
3205 s%@MAKEINFO@%$MAKEINFO%g
3206 s%@SET_MAKE@%$SET_MAKE%g
3210 s%@RANLIB@%$RANLIB%g
3211 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
3212 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
3214 s%@EXEEXT@%$EXEEXT%g
3215 s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g
3216 s%@ELIX_LEVEL_0_TRUE@%$ELIX_LEVEL_0_TRUE%g
3217 s%@ELIX_LEVEL_0_FALSE@%$ELIX_LEVEL_0_FALSE%g
3218 s%@ELIX_LEVEL_1_TRUE@%$ELIX_LEVEL_1_TRUE%g
3219 s%@ELIX_LEVEL_1_FALSE@%$ELIX_LEVEL_1_FALSE%g
3220 s%@ELIX_LEVEL_2_TRUE@%$ELIX_LEVEL_2_TRUE%g
3221 s%@ELIX_LEVEL_2_FALSE@%$ELIX_LEVEL_2_FALSE%g
3222 s%@ELIX_LEVEL_3_TRUE@%$ELIX_LEVEL_3_TRUE%g
3223 s%@ELIX_LEVEL_3_FALSE@%$ELIX_LEVEL_3_FALSE%g
3224 s%@ELIX_LEVEL_4_TRUE@%$ELIX_LEVEL_4_TRUE%g
3225 s%@ELIX_LEVEL_4_FALSE@%$ELIX_LEVEL_4_FALSE%g
3226 s%@USE_LIBTOOL_TRUE@%$USE_LIBTOOL_TRUE%g
3227 s%@USE_LIBTOOL_FALSE@%$USE_LIBTOOL_FALSE%g
3228 s%@OBJEXT@%$OBJEXT%g
3231 s%@libm_machine_dir@%$libm_machine_dir%g
3232 s%@machine_dir@%$machine_dir%g
3233 s%@sys_dir@%$sys_dir%g
3236 s%@DLLTOOL@%$DLLTOOL%g
3237 s%@OBJDUMP@%$OBJDUMP%g
3238 s%@LIBTOOL@%$LIBTOOL%g
3239 s%@subdirs@%$subdirs%g
3240 s%@LIBM_MACHINE_LIB@%$LIBM_MACHINE_LIB%g
3245 cat >> $CONFIG_STATUS <<\EOF
3247 # Split the substitutions into bite-sized pieces for seds with
3248 # small command number limits, like on Digital OSF/1 and HP-UX.
3249 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3250 ac_file=1 # Number of current file.
3251 ac_beg=1 # First line for current file.
3252 ac_end=$ac_max_sed_cmds # Line after last line for current file.
3255 while $ac_more_lines; do
3256 if test $ac_beg -gt 1; then
3257 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3259 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3261 if test ! -s conftest.s$ac_file; then
3263 rm -f conftest.s$ac_file
3265 if test -z "$ac_sed_cmds"; then
3266 ac_sed_cmds="sed -f conftest.s$ac_file"
3268 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3270 ac_file=`expr $ac_file + 1`
3272 ac_end=`expr $ac_end + $ac_max_sed_cmds`
3275 if test -z "$ac_sed_cmds"; then
3280 cat >> $CONFIG_STATUS <<EOF
3282 CONFIG_FILES=\${CONFIG_FILES-"Makefile math/Makefile mathfp/Makefile common/Makefile"}
3284 cat >> $CONFIG_STATUS <<\EOF
3285 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3286 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3288 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3289 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3290 *) ac_file_in="${ac_file}.in" ;;
3293 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3295 # Remove last slash and all that follows it. Not all systems have dirname.
3296 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3297 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3298 # The file is in a subdirectory.
3299 test ! -d "$ac_dir" && mkdir "$ac_dir"
3300 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3301 # A "../" for each directory in $ac_dir_suffix.
3302 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3304 ac_dir_suffix= ac_dots=
3307 case "$ac_given_srcdir" in
3309 if test -z "$ac_dots"; then top_srcdir=.
3310 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3311 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3313 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3314 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3317 case "$ac_given_INSTALL" in
3318 [/$]*) INSTALL="$ac_given_INSTALL" ;;
3319 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3322 echo creating "$ac_file"
3324 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3326 *Makefile*) ac_comsub="1i\\
3327 # $configure_input" ;;
3331 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3333 s%@configure_input@%$configure_input%g
3334 s%@srcdir@%$srcdir%g
3335 s%@top_srcdir@%$top_srcdir%g
3336 s%@INSTALL@%$INSTALL%g
3337 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3342 cat >> $CONFIG_STATUS <<EOF
3345 cat >> $CONFIG_STATUS <<\EOF
3349 chmod +x $CONFIG_STATUS
3350 rm -fr confdefs* $ac_clean_files
3351 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3353 if test "$no_recursion" != yes; then
3355 # Remove --cache-file and --srcdir arguments so they do not pile up.
3356 ac_sub_configure_args=
3358 for ac_arg in $ac_configure_args; do
3359 if test -n "$ac_prev"; then
3364 -cache-file | --cache-file | --cache-fil | --cache-fi \
3365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3366 ac_prev=cache_file ;;
3367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3370 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3372 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3374 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3378 for ac_config_dir in machine; do
3380 # Do not complain, so a configure script can configure whichever
3381 # parts of a large source tree are present.
3382 if test ! -d $srcdir/$ac_config_dir; then
3386 echo configuring in $ac_config_dir
3391 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3393 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3401 # A "../" for each directory in /$ac_config_dir.
3402 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3405 .) # No --srcdir option. We are building in place.
3406 ac_sub_srcdir=$srcdir ;;
3407 /*) # Absolute path.
3408 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3410 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3413 # Check for guested configure; otherwise get Cygnus style configure.
3414 if test -f $ac_sub_srcdir/configure; then
3415 ac_sub_configure=$ac_sub_srcdir/configure
3416 elif test -f $ac_sub_srcdir/configure.in; then
3417 ac_sub_configure=$ac_configure
3419 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3423 # The recursion is here.
3424 if test -n "$ac_sub_configure"; then
3426 # Make the cache file name correct relative to the subdirectory.
3427 case "$cache_file" in
3428 /*) ac_sub_cache_file=$cache_file ;;
3430 ac_sub_cache_file="$ac_dots$cache_file" ;;
3432 case "$ac_given_INSTALL" in
3433 [/$]*) INSTALL="$ac_given_INSTALL" ;;
3434 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3437 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3438 # The eval makes quoting arguments work.
3439 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3442 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }