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-multilib build many library versions (default)"
17 --enable-target-optspace optimize for space"
19 --enable-malloc-debugging indicate malloc debugging requested"
21 --enable-newlib-mb enable multibyte support"
23 --enable-newlib-iconv enable iconv library support"
25 --enable-newlib-builtin-converters enable specific comma-separated list of iconv converters to be built-in"
27 --enable-newlib-multithread enable support for multiple threads"
29 --enable-newlib-elix-level supply desired elix library level (1-4)"
31 --disable-newlib-io-float disable printf/scanf family float support"
33 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls"
35 --enable-maintainer-mode enable make rules and dependencies not useful
36 (and sometimes confusing) to the casual installer"
38 --enable-shared[=PKGS] build shared libraries [default=yes]"
40 --enable-static[=PKGS] build static libraries [default=yes]"
42 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
44 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
46 --disable-libtool-lock avoid locking (might break parallel builds)"
48 --with-pic try to use only PIC/non-PIC objects [default=use both]"
50 # Initialize some variables set by options.
51 # The variables have the same names as the options, with
52 # dashes changed to underlines.
54 cache_file
=.
/config.cache
63 program_transform_name
=s
,x
,x
,
71 bindir
='${exec_prefix}/bin'
72 sbindir
='${exec_prefix}/sbin'
73 libexecdir
='${exec_prefix}/libexec'
74 datadir
='${prefix}/share'
75 sysconfdir
='${prefix}/etc'
76 sharedstatedir
='${prefix}/com'
77 localstatedir
='${prefix}/var'
78 libdir
='${exec_prefix}/lib'
79 includedir
='${prefix}/include'
80 oldincludedir
='/usr/include'
81 infodir
='${prefix}/info'
82 mandir
='${prefix}/man'
84 # Initialize some other variables.
87 SHELL
=${CONFIG_SHELL-/bin/sh}
88 # Maximum number of lines to put in a shell here document.
95 # If the previous option needs an argument, assign it.
96 if test -n "$ac_prev"; then
97 eval "$ac_prev=\$ac_option"
103 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
107 # Accept the important Cygnus configure options, so we can diagnose typos.
111 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
113 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
114 bindir
="$ac_optarg" ;;
116 -build |
--build |
--buil |
--bui |
--bu)
118 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
119 build
="$ac_optarg" ;;
121 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
122 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
123 ac_prev
=cache_file
;;
124 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
125 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
126 cache_file
="$ac_optarg" ;;
128 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
130 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
132 datadir
="$ac_optarg" ;;
134 -disable-* |
--disable-*)
135 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
136 # Reject names that are not valid shell variable names.
137 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
138 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
140 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
141 eval "enable_${ac_feature}=no" ;;
143 -enable-* |
--enable-*)
144 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
145 # Reject names that are not valid shell variable names.
146 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
147 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
149 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
154 eval "enable_${ac_feature}='$ac_optarg'" ;;
156 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
157 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
158 |
--exec |
--exe |
--ex)
159 ac_prev
=exec_prefix
;;
160 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
161 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
162 |
--exec=* |
--exe=* |
--ex=*)
163 exec_prefix
="$ac_optarg" ;;
165 -gas |
--gas |
--ga |
--g)
166 # Obsolete; use --with-gas.
169 -help |
--help |
--hel |
--he)
170 # Omit some internal or obsolete options to make the list less imposing.
171 # This message is too long to be a string in the A/UX 3.1 sh.
173 Usage: configure [options] [host]
174 Options: [defaults in brackets after descriptions]
176 --cache-file=FILE cache test results in FILE
177 --help print this message
178 --no-create do not create output files
179 --quiet, --silent do not print \`checking...' messages
180 --version print the version of autoconf that created configure
181 Directory and file names:
182 --prefix=PREFIX install architecture-independent files in PREFIX
184 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
186 --bindir=DIR user executables in DIR [EPREFIX/bin]
187 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
188 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
189 --datadir=DIR read-only architecture-independent data in DIR
191 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
192 --sharedstatedir=DIR modifiable architecture-independent data in DIR
194 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
195 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
196 --includedir=DIR C header files in DIR [PREFIX/include]
197 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
198 --infodir=DIR info documentation in DIR [PREFIX/info]
199 --mandir=DIR man documentation in DIR [PREFIX/man]
200 --srcdir=DIR find the sources in DIR [configure dir or ..]
201 --program-prefix=PREFIX prepend PREFIX to installed program names
202 --program-suffix=SUFFIX append SUFFIX to installed program names
203 --program-transform-name=PROGRAM
204 run sed PROGRAM on installed program names
208 --build=BUILD configure for building on BUILD [BUILD=HOST]
209 --host=HOST configure for HOST [guessed]
210 --target=TARGET configure for TARGET [TARGET=HOST]
211 Features and packages:
212 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
213 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
214 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
215 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
216 --x-includes=DIR X include files are in DIR
217 --x-libraries=DIR X library files are in DIR
219 if test -n "$ac_help"; then
220 echo "--enable and --with options recognized:$ac_help"
224 -host |
--host |
--hos |
--ho)
226 -host=* |
--host=* |
--hos=* |
--ho=*)
229 -includedir |
--includedir |
--includedi |
--included |
--include \
230 |
--includ |
--inclu |
--incl |
--inc)
231 ac_prev
=includedir
;;
232 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
233 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
234 includedir
="$ac_optarg" ;;
236 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
238 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
239 infodir
="$ac_optarg" ;;
241 -libdir |
--libdir |
--libdi |
--libd)
243 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
244 libdir
="$ac_optarg" ;;
246 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
247 |
--libexe |
--libex |
--libe)
248 ac_prev
=libexecdir
;;
249 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
250 |
--libexe=* |
--libex=* |
--libe=*)
251 libexecdir
="$ac_optarg" ;;
253 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
254 |
--localstate |
--localstat |
--localsta |
--localst \
255 |
--locals |
--local |
--loca |
--loc |
--lo)
256 ac_prev
=localstatedir
;;
257 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
258 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
259 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
260 localstatedir
="$ac_optarg" ;;
262 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
264 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
265 mandir
="$ac_optarg" ;;
268 # Obsolete; use --without-fp.
271 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
275 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
276 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
279 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
280 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
281 |
--oldin |
--oldi |
--old |
--ol |
--o)
282 ac_prev
=oldincludedir
;;
283 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
284 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
285 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
286 oldincludedir
="$ac_optarg" ;;
288 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
290 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
291 prefix
="$ac_optarg" ;;
293 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
294 |
--program-pre |
--program-pr |
--program-p)
295 ac_prev
=program_prefix
;;
296 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
297 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
298 program_prefix
="$ac_optarg" ;;
300 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
301 |
--program-suf |
--program-su |
--program-s)
302 ac_prev
=program_suffix
;;
303 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
304 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
305 program_suffix
="$ac_optarg" ;;
307 -program-transform-name |
--program-transform-name \
308 |
--program-transform-nam |
--program-transform-na \
309 |
--program-transform-n |
--program-transform- \
310 |
--program-transform |
--program-transfor \
311 |
--program-transfo |
--program-transf \
312 |
--program-trans |
--program-tran \
313 |
--progr-tra |
--program-tr |
--program-t)
314 ac_prev
=program_transform_name
;;
315 -program-transform-name=* |
--program-transform-name=* \
316 |
--program-transform-nam=* |
--program-transform-na=* \
317 |
--program-transform-n=* |
--program-transform-=* \
318 |
--program-transform=* |
--program-transfor=* \
319 |
--program-transfo=* |
--program-transf=* \
320 |
--program-trans=* |
--program-tran=* \
321 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
322 program_transform_name
="$ac_optarg" ;;
324 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
325 |
-silent |
--silent |
--silen |
--sile |
--sil)
328 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
330 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
332 sbindir
="$ac_optarg" ;;
334 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
335 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
336 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
338 ac_prev
=sharedstatedir
;;
339 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
340 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
341 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
343 sharedstatedir
="$ac_optarg" ;;
345 -site |
--site |
--sit)
347 -site=* |
--site=* |
--sit=*)
350 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
352 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
353 srcdir
="$ac_optarg" ;;
355 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
356 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
357 ac_prev
=sysconfdir
;;
358 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
359 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
360 sysconfdir
="$ac_optarg" ;;
362 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
364 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
365 target
="$ac_optarg" ;;
367 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
370 -version |
--version |
--versio |
--versi |
--vers)
371 echo "configure generated by autoconf version 2.13"
375 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
376 # Reject names that are not valid shell variable names.
377 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
378 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
380 ac_package
=`echo $ac_package| sed 's/-/_/g'`
385 eval "with_${ac_package}='$ac_optarg'" ;;
387 -without-* |
--without-*)
388 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
389 # Reject names that are not valid shell variable names.
390 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
391 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
393 ac_package
=`echo $ac_package| sed 's/-/_/g'`
394 eval "with_${ac_package}=no" ;;
397 # Obsolete; use --with-x.
400 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
401 |
--x-incl |
--x-inc |
--x-in |
--x-i)
402 ac_prev
=x_includes
;;
403 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
404 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
405 x_includes
="$ac_optarg" ;;
407 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
408 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
409 ac_prev
=x_libraries
;;
410 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
411 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
412 x_libraries
="$ac_optarg" ;;
414 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
418 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
419 echo "configure: warning: $ac_option: invalid host type" 1>&2
421 if test "x$nonopt" != xNONE
; then
422 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
430 if test -n "$ac_prev"; then
431 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
434 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
436 # File descriptor usage:
439 # 2 errors and warnings
440 # 3 some systems may open it to /dev/tty
441 # 4 used on the Kubota Titan
442 # 6 checking for... messages and results
443 # 5 compiler messages saved in config.log
444 if test "$silent" = yes; then
452 This file contains any messages produced by compilers while
453 running configure, to aid debugging if configure makes a mistake.
456 # Strip out --no-create and --no-recursion so they do not pile up.
457 # Also quote any args containing shell metacharacters.
462 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
463 |
--no-cr |
--no-c) ;;
464 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
465 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
466 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
467 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
468 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
473 # Only set these to C if already set. These must not be set unconditionally
474 # because not all systems understand e.g. LANG=C (notably SCO).
475 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
476 # Non-C LC_CTYPE values break the ctype check.
477 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
478 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
479 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
480 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
482 # confdefs.h avoids OS command line length limits that DEFS can exceed.
483 rm -rf conftest
* confdefs.h
484 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
487 # A filename unique to this package, relative to the directory that
488 # configure is in, which we can look for to find out if srcdir is correct.
491 # Find the source files, if location was not specified.
492 if test -z "$srcdir"; then
493 ac_srcdir_defaulted
=yes
494 # Try the directory containing this script, then its parent.
496 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
497 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
499 if test ! -r $srcdir/$ac_unique_file; then
503 ac_srcdir_defaulted
=no
505 if test ! -r $srcdir/$ac_unique_file; then
506 if test "$ac_srcdir_defaulted" = yes; then
507 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
509 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
512 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
514 # Prefer explicitly selected file to automatically selected ones.
515 if test -z "$CONFIG_SITE"; then
516 if test "x$prefix" != xNONE
; then
517 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
519 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
522 for ac_site_file
in $CONFIG_SITE; do
523 if test -r "$ac_site_file"; then
524 echo "loading site script $ac_site_file"
529 if test -r "$cache_file"; then
530 echo "loading cache $cache_file"
533 echo "creating cache $cache_file"
538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
539 ac_cpp
='$CPP $CPPFLAGS'
540 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
541 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
542 cross_compiling
=$ac_cv_prog_cc_cross
546 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
547 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
548 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
555 ac_n
= ac_c
='\c' ac_t
=
561 for ac_dir
in ..
/..
/..
$srcdir/..
/..
/..
; do
562 if test -f $ac_dir/install-sh
; then
564 ac_install_sh
="$ac_aux_dir/install-sh -c"
566 elif test -f $ac_dir/install.sh
; then
568 ac_install_sh
="$ac_aux_dir/install.sh -c"
572 if test -z "$ac_aux_dir"; then
573 { echo "configure: error: can not find install-sh or install.sh in ../../.. $srcdir/../../.." 1>&2; exit 1; }
575 ac_config_guess
=$ac_aux_dir/config.guess
576 ac_config_sub
=$ac_aux_dir/config.sub
577 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
580 am__api_version
="1.4"
581 # Find a good install program. We prefer a C program (faster),
582 # so one script is as good as another. But avoid the broken or
583 # incompatible versions:
584 # SysV /etc/install, /usr/sbin/install
585 # SunOS /usr/etc/install
588 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
589 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
590 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
591 # ./install, which can be erroneously created by make from ./install.sh.
592 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
593 echo "configure:594: checking for a BSD compatible install" >&5
594 if test -z "$INSTALL"; then
595 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
596 echo $ac_n "(cached) $ac_c" 1>&6
598 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
599 for ac_dir
in $PATH; do
600 # Account for people who put trailing slashes in PATH elements.
602 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
604 # OSF1 and SCO ODT 3.0 have their own names for install.
605 # Don't use installbsd from OSF since it installs stuff as root
607 for ac_prog
in ginstall scoinst
install; do
608 if test -f $ac_dir/$ac_prog; then
609 if test $ac_prog = install &&
610 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
611 # AIX install. It has an incompatible calling convention.
614 ac_cv_path_install
="$ac_dir/$ac_prog -c"
625 if test "${ac_cv_path_install+set}" = set; then
626 INSTALL
="$ac_cv_path_install"
628 # As a last resort, use the slow shell script. We don't cache a
629 # path for INSTALL within a source directory, because that will
630 # break other packages using the cache if that directory is
631 # removed, or if the path is relative.
632 INSTALL
="$ac_install_sh"
635 echo "$ac_t""$INSTALL" 1>&6
637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
638 # It thinks the first close brace ends the variable substitution.
639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
643 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
645 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
646 echo "configure:647: checking whether build environment is sane" >&5
649 echo timestamp
> conftestfile
650 # Do `set' in a subshell so we don't clobber the current shell's
651 # arguments. Must try -L first in case configure is actually a
652 # symlink; some systems play weird games with the mod time of symlinks
653 # (eg FreeBSD returns the mod time of the symlink's containing
656 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
657 if test "$*" = "X"; then
659 set X
`ls -t $srcdir/configure conftestfile`
661 if test "$*" != "X $srcdir/configure conftestfile" \
662 && test "$*" != "X conftestfile $srcdir/configure"; then
664 # If neither matched, then we have a broken ls. This can happen
665 # if, for instance, CONFIG_SHELL is bash and it inherits a
666 # broken ls alias from the environment. This has actually
667 # happened. Such a system could not be considered "sane".
668 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
669 alias in your environment" 1>&2; exit 1; }
672 test "$2" = conftestfile
678 { echo "configure: error: newly created file is older than distributed files!
679 Check your system clock" 1>&2; exit 1; }
682 echo "$ac_t""yes" 1>&6
683 if test "$program_transform_name" = s
,x
,x
,; then
684 program_transform_name
=
686 # Double any \ or $. echo might interpret backslashes.
687 cat <<\EOF_SED
> conftestsed
688 s
,\\,\\\\,g
; s
,\$
,$$
,g
690 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
693 test "$program_prefix" != NONE
&&
694 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
695 # Use a double $ so make ignores it.
696 test "$program_suffix" != NONE
&&
697 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
699 # sed with no file args requires a program.
700 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
702 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
703 echo "configure:704: checking whether ${MAKE-make} sets \${MAKE}" >&5
704 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
705 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
706 echo $ac_n "(cached) $ac_c" 1>&6
708 cat > conftestmake
<<\EOF
710 @
echo 'ac_maketemp="${MAKE}"'
712 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
713 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
714 if test -n "$ac_maketemp"; then
715 eval ac_cv_prog_make_
${ac_make}_set
=yes
717 eval ac_cv_prog_make_
${ac_make}_set
=no
721 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
722 echo "$ac_t""yes" 1>&6
725 echo "$ac_t""no" 1>&6
726 SET_MAKE
="MAKE=${MAKE-make}"
729 if test $host != $build; then
730 ac_tool_prefix
=${host_alias}-
735 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
736 echo "configure:737: checking for Cygwin environment" >&5
737 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
738 echo $ac_n "(cached) $ac_c" 1>&6
740 cat > conftest.
$ac_ext <<EOF
741 #line 742 "configure"
742 #include "confdefs.h"
747 #define __CYGWIN__ __CYGWIN32__
752 if { (eval echo configure
:753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
756 echo "configure: failed program was:" >&5
757 cat conftest.
$ac_ext >&5
765 echo "$ac_t""$ac_cv_cygwin" 1>&6
767 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
768 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
769 echo "configure:770: checking for mingw32 environment" >&5
770 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
771 echo $ac_n "(cached) $ac_c" 1>&6
773 cat > conftest.
$ac_ext <<EOF
774 #line 775 "configure"
775 #include "confdefs.h"
781 if { (eval echo configure
:782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
785 echo "configure: failed program was:" >&5
786 cat conftest.
$ac_ext >&5
794 echo "$ac_t""$ac_cv_mingw32" 1>&6
796 test "$ac_cv_mingw32" = yes && MINGW32
=yes
798 # Check whether --enable-multilib or --disable-multilib was given.
799 if test "${enable_multilib+set}" = set; then
800 enableval
="$enable_multilib"
801 case "${enableval}" in
804 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
810 # Check whether --enable-target-optspace or --disable-target-optspace was given.
811 if test "${enable_target_optspace+set}" = set; then
812 enableval
="$enable_target_optspace"
813 case "${enableval}" in
814 yes) target_optspace
=yes ;;
815 no
) target_optspace
=no
;;
816 *) { echo "configure: error: bad value ${enableval} for target-optspace option" 1>&2; exit 1; } ;;
822 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
823 if test "${enable_malloc_debugging+set}" = set; then
824 enableval
="$enable_malloc_debugging"
825 case "${enableval}" in
826 yes) malloc_debugging
=yes ;;
827 no
) malloc_debugging
=no
;;
828 *) { echo "configure: error: bad value ${enableval} for malloc-debugging option" 1>&2; exit 1; } ;;
834 # Check whether --enable-newlib-mb or --disable-newlib-mb was given.
835 if test "${enable_newlib_mb+set}" = set; then
836 enableval
="$enable_newlib_mb"
837 case "${enableval}" in
838 yes) newlib_mb
=yes ;;
840 *) { echo "configure: error: bad value ${enableval} for newlib-mb option" 1>&2; exit 1; } ;;
846 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
847 if test "${enable_newlib_iconv+set}" = set; then
848 enableval
="$enable_newlib_iconv"
849 case "${enableval}" in
850 yes) newlib_iconv
=yes ;;
851 no
) newlib_iconv
=no
;;
852 *) { echo "configure: error: bad value ${enableval} for newlib-iconv option" 1>&2; exit 1; } ;;
858 # Check whether --enable-newlib-builtin-converters or --disable-newlib-builtin-converters was given.
859 if test "${enable_newlib_builtin_converters+set}" = set; then
860 enableval
="$enable_newlib_builtin_converters"
861 if test x
${enableval} = x
; then
862 { echo "configure: error: bad value ${enableval} for newlib-builtin-converters option - use comma-separated list" 1>&2; exit 1; }
864 builtin_converters
=${enableval}
870 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
871 if test "${enable_newlib_multithread+set}" = set; then
872 enableval
="$enable_newlib_multithread"
873 case "${enableval}" in
874 yes) newlib_multithread
=yes ;;
875 no
) newlib_multithread
=no
;;
876 *) { echo "configure: error: bad value ${enableval} for newlib-multithread option" 1>&2; exit 1; } ;;
879 newlib_multithread
=yes
882 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
883 if test "${enable_newlib_elix_level+set}" = set; then
884 enableval
="$enable_newlib_elix_level"
885 case "${enableval}" in
886 0) newlib_elix_level
=0 ;;
887 1) newlib_elix_level
=1 ;;
888 2) newlib_elix_level
=2 ;;
889 3) newlib_elix_level
=3 ;;
890 4) newlib_elix_level
=4 ;;
891 *) { echo "configure: error: bad value ${enableval} for newlib-elix-level option" 1>&2; exit 1; } ;;
897 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
898 if test "${enable_newlib_io_float+set}" = set; then
899 enableval
="$enable_newlib_io_float"
900 case "${enableval}" in
901 yes) newlib_io_float
=yes ;;
902 no
) newlib_io_float
=no
;;
903 *) { echo "configure: error: bad value ${enableval} for newlib-io-float option" 1>&2; exit 1; } ;;
909 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
910 if test "${enable_newlib_supplied_syscalls+set}" = set; then
911 enableval
="$enable_newlib_supplied_syscalls"
912 case "${enableval}" in
913 yes) newlib_may_supply_syscalls
=yes ;;
914 no
) newlib_may_supply_syscalls
=no
;;
915 *) { echo "configure: error: bad value ${enableval} for newlib-supplied-syscalls option" 1>&2; exit 1; } ;;
918 newlib_may_supply_syscalls
=yes
923 if test x
${newlib_may_supply_syscalls} = xyes
; then
924 MAY_SUPPLY_SYSCALLS_TRUE
=
925 MAY_SUPPLY_SYSCALLS_FALSE
='#'
927 MAY_SUPPLY_SYSCALLS_TRUE
='#'
928 MAY_SUPPLY_SYSCALLS_FALSE
=
932 test -z "${with_target_subdir}" && with_target_subdir
=.
934 if test "${srcdir}" = "."; then
935 if test "${with_target_subdir}" != "."; then
936 newlib_basedir
="${srcdir}/${with_multisrctop}../../.."
938 newlib_basedir
="${srcdir}/${with_multisrctop}../.."
941 newlib_basedir
="${srcdir}/../.."
946 # Do some error checking and defaulting for the host and target type.
948 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
951 # 1. You are not allowed to specify --host, --target, and nonopt at the
953 # 2. Host defaults to nonopt.
954 # 3. If nonopt is not specified, then host defaults to the current host,
955 # as determined by config.guess.
956 # 4. Target and build default to nonopt.
957 # 5. If nonopt is not specified, then target and build default to host.
959 # The aliases save the names the user supplied, while $host etc.
960 # will get canonicalized.
961 case $host---$target---$nonopt in
962 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
963 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
967 # Make sure we can run config.sub.
968 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
969 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
972 echo $ac_n "checking host system type""... $ac_c" 1>&6
973 echo "configure:974: checking host system type" >&5
976 case "$host_alias" in
980 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
981 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
983 *) host_alias
=$nonopt ;;
987 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
988 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
989 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
990 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
991 echo "$ac_t""$host" 1>&6
993 echo $ac_n "checking target system type""... $ac_c" 1>&6
994 echo "configure:995: checking target system type" >&5
997 case "$target_alias" in
1000 NONE
) target_alias
=$host_alias ;;
1001 *) target_alias
=$nonopt ;;
1005 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1006 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1007 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1008 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1009 echo "$ac_t""$target" 1>&6
1011 echo $ac_n "checking build system type""... $ac_c" 1>&6
1012 echo "configure:1013: checking build system type" >&5
1015 case "$build_alias" in
1018 NONE
) build_alias
=$host_alias ;;
1019 *) build_alias
=$nonopt ;;
1023 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1024 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1025 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1026 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1027 echo "$ac_t""$build" 1>&6
1029 test "$host_alias" != "$target_alias" &&
1030 test "$program_prefix$program_suffix$program_transform_name" = \
1032 program_prefix
=${target_alias}-
1040 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
1041 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
1043 cat >> confdefs.h
<<EOF
1044 #define PACKAGE "$PACKAGE"
1047 cat >> confdefs.h
<<EOF
1048 #define VERSION "$VERSION"
1053 missing_dir
=`cd $ac_aux_dir && pwd`
1054 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1055 echo "configure:1056: checking for working aclocal-${am__api_version}" >&5
1056 # Run test in a subshell; some versions of sh will print an error if
1057 # an executable is not found, even if stderr is redirected.
1058 # Redirect stdin to placate older versions of autoconf. Sigh.
1059 if (aclocal-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
1060 ACLOCAL
=aclocal-
${am__api_version}
1061 echo "$ac_t""found" 1>&6
1063 ACLOCAL
="$missing_dir/missing aclocal-${am__api_version}"
1064 echo "$ac_t""missing" 1>&6
1067 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1068 echo "configure:1069: checking for working autoconf" >&5
1069 # Run test in a subshell; some versions of sh will print an error if
1070 # an executable is not found, even if stderr is redirected.
1071 # Redirect stdin to placate older versions of autoconf. Sigh.
1072 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1074 echo "$ac_t""found" 1>&6
1076 AUTOCONF
="$missing_dir/missing autoconf"
1077 echo "$ac_t""missing" 1>&6
1080 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1081 echo "configure:1082: checking for working automake-${am__api_version}" >&5
1082 # Run test in a subshell; some versions of sh will print an error if
1083 # an executable is not found, even if stderr is redirected.
1084 # Redirect stdin to placate older versions of autoconf. Sigh.
1085 if (automake-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
1086 AUTOMAKE
=automake-
${am__api_version}
1087 echo "$ac_t""found" 1>&6
1089 AUTOMAKE
="$missing_dir/missing automake-${am__api_version}"
1090 echo "$ac_t""missing" 1>&6
1093 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1094 echo "configure:1095: checking for working autoheader" >&5
1095 # Run test in a subshell; some versions of sh will print an error if
1096 # an executable is not found, even if stderr is redirected.
1097 # Redirect stdin to placate older versions of autoconf. Sigh.
1098 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1099 AUTOHEADER
=autoheader
1100 echo "$ac_t""found" 1>&6
1102 AUTOHEADER
="$missing_dir/missing autoheader"
1103 echo "$ac_t""missing" 1>&6
1106 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1107 echo "configure:1108: checking for working makeinfo" >&5
1108 # Run test in a subshell; some versions of sh will print an error if
1109 # an executable is not found, even if stderr is redirected.
1110 # Redirect stdin to placate older versions of autoconf. Sigh.
1111 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1113 echo "$ac_t""found" 1>&6
1115 MAKEINFO
="$missing_dir/missing makeinfo"
1116 echo "$ac_t""missing" 1>&6
1121 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1122 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1123 # are probably using a cross compiler, which will not be able to fully
1124 # link an executable. This should really be fixed in autoconf
1129 # Extract the first word of "gcc", so it can be a program name with args.
1130 set dummy gcc
; ac_word
=$2
1131 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1132 echo "configure:1133: checking for $ac_word" >&5
1133 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1134 echo $ac_n "(cached) $ac_c" 1>&6
1136 if test -n "$CC"; then
1137 ac_cv_prog_CC
="$CC" # Let the user override the test.
1139 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1141 for ac_dir
in $ac_dummy; do
1142 test -z "$ac_dir" && ac_dir
=.
1143 if test -f $ac_dir/$ac_word; then
1152 if test -n "$CC"; then
1153 echo "$ac_t""$CC" 1>&6
1155 echo "$ac_t""no" 1>&6
1158 if test -z "$CC"; then
1159 # Extract the first word of "cc", so it can be a program name with args.
1160 set dummy cc
; ac_word
=$2
1161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1162 echo "configure:1163: checking for $ac_word" >&5
1163 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1164 echo $ac_n "(cached) $ac_c" 1>&6
1166 if test -n "$CC"; then
1167 ac_cv_prog_CC
="$CC" # Let the user override the test.
1169 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1172 for ac_dir
in $ac_dummy; do
1173 test -z "$ac_dir" && ac_dir
=.
1174 if test -f $ac_dir/$ac_word; then
1175 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1176 ac_prog_rejected
=yes
1184 if test $ac_prog_rejected = yes; then
1185 # We found a bogon in the path, so make sure we never use it.
1186 set dummy
$ac_cv_prog_CC
1188 if test $# -gt 0; then
1189 # We chose a different compiler from the bogus one.
1190 # However, it has the same basename, so the bogon will be chosen
1191 # first if we set CC to just the basename; use the full file name.
1193 set dummy
"$ac_dir/$ac_word" "$@"
1201 if test -n "$CC"; then
1202 echo "$ac_t""$CC" 1>&6
1204 echo "$ac_t""no" 1>&6
1207 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1210 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1211 echo "configure:1212: checking whether we are using GNU C" >&5
1212 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1213 echo $ac_n "(cached) $ac_c" 1>&6
1215 cat > conftest.c
<<EOF
1220 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1227 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1229 if test $ac_cv_prog_gcc = yes; then
1231 ac_test_CFLAGS
="${CFLAGS+set}"
1232 ac_save_CFLAGS
="$CFLAGS"
1234 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1235 echo "configure:1236: checking whether ${CC-cc} accepts -g" >&5
1236 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1237 echo $ac_n "(cached) $ac_c" 1>&6
1239 echo 'void f(){}' > conftest.c
1240 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1249 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1250 if test "$ac_test_CFLAGS" = set; then
1251 CFLAGS
="$ac_save_CFLAGS"
1252 elif test $ac_cv_prog_cc_g = yes; then
1259 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1263 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1264 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1265 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1266 echo "configure:1267: checking for $ac_word" >&5
1267 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1268 echo $ac_n "(cached) $ac_c" 1>&6
1270 if test -n "$AS"; then
1271 ac_cv_prog_AS
="$AS" # Let the user override the test.
1273 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1275 for ac_dir
in $ac_dummy; do
1276 test -z "$ac_dir" && ac_dir
=.
1277 if test -f $ac_dir/$ac_word; then
1278 ac_cv_prog_AS
="${ac_tool_prefix}as"
1283 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1287 if test -n "$AS"; then
1288 echo "$ac_t""$AS" 1>&6
1290 echo "$ac_t""no" 1>&6
1295 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1296 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1298 echo "configure:1299: checking for $ac_word" >&5
1299 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1300 echo $ac_n "(cached) $ac_c" 1>&6
1302 if test -n "$AR"; then
1303 ac_cv_prog_AR
="$AR" # Let the user override the test.
1305 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1307 for ac_dir
in $ac_dummy; do
1308 test -z "$ac_dir" && ac_dir
=.
1309 if test -f $ac_dir/$ac_word; then
1310 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1315 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1319 if test -n "$AR"; then
1320 echo "$ac_t""$AR" 1>&6
1322 echo "$ac_t""no" 1>&6
1327 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1328 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1330 echo "configure:1331: checking for $ac_word" >&5
1331 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1332 echo $ac_n "(cached) $ac_c" 1>&6
1334 if test -n "$RANLIB"; then
1335 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1337 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1339 for ac_dir
in $ac_dummy; do
1340 test -z "$ac_dir" && ac_dir
=.
1341 if test -f $ac_dir/$ac_word; then
1342 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1349 RANLIB
="$ac_cv_prog_RANLIB"
1350 if test -n "$RANLIB"; then
1351 echo "$ac_t""$RANLIB" 1>&6
1353 echo "$ac_t""no" 1>&6
1357 if test -z "$ac_cv_prog_RANLIB"; then
1358 if test -n "$ac_tool_prefix"; then
1359 # Extract the first word of "ranlib", so it can be a program name with args.
1360 set dummy ranlib
; ac_word
=$2
1361 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1362 echo "configure:1363: checking for $ac_word" >&5
1363 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1364 echo $ac_n "(cached) $ac_c" 1>&6
1366 if test -n "$RANLIB"; then
1367 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1369 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1371 for ac_dir
in $ac_dummy; do
1372 test -z "$ac_dir" && ac_dir
=.
1373 if test -f $ac_dir/$ac_word; then
1374 ac_cv_prog_RANLIB
="ranlib"
1379 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1382 RANLIB
="$ac_cv_prog_RANLIB"
1383 if test -n "$RANLIB"; then
1384 echo "$ac_t""$RANLIB" 1>&6
1386 echo "$ac_t""no" 1>&6
1395 # Find a good install program. We prefer a C program (faster),
1396 # so one script is as good as another. But avoid the broken or
1397 # incompatible versions:
1398 # SysV /etc/install, /usr/sbin/install
1399 # SunOS /usr/etc/install
1400 # IRIX /sbin/install
1402 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1403 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1404 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1405 # ./install, which can be erroneously created by make from ./install.sh.
1406 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1407 echo "configure:1408: checking for a BSD compatible install" >&5
1408 if test -z "$INSTALL"; then
1409 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1410 echo $ac_n "(cached) $ac_c" 1>&6
1412 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1413 for ac_dir
in $PATH; do
1414 # Account for people who put trailing slashes in PATH elements.
1416 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1418 # OSF1 and SCO ODT 3.0 have their own names for install.
1419 # Don't use installbsd from OSF since it installs stuff as root
1421 for ac_prog
in ginstall scoinst
install; do
1422 if test -f $ac_dir/$ac_prog; then
1423 if test $ac_prog = install &&
1424 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1425 # AIX install. It has an incompatible calling convention.
1428 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1439 if test "${ac_cv_path_install+set}" = set; then
1440 INSTALL
="$ac_cv_path_install"
1442 # As a last resort, use the slow shell script. We don't cache a
1443 # path for INSTALL within a source directory, because that will
1444 # break other packages using the cache if that directory is
1445 # removed, or if the path is relative.
1446 INSTALL
="$ac_install_sh"
1449 echo "$ac_t""$INSTALL" 1>&6
1451 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1452 # It thinks the first close brace ends the variable substitution.
1453 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1455 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1457 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1460 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1461 echo "configure:1462: checking whether to enable maintainer-specific portions of Makefiles" >&5
1462 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1463 if test "${enable_maintainer_mode+set}" = set; then
1464 enableval
="$enable_maintainer_mode"
1465 USE_MAINTAINER_MODE
=$enableval
1467 USE_MAINTAINER_MODE
=no
1470 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1473 if test $USE_MAINTAINER_MODE = yes; then
1474 MAINTAINER_MODE_TRUE
=
1475 MAINTAINER_MODE_FALSE
='#'
1477 MAINTAINER_MODE_TRUE
='#'
1478 MAINTAINER_MODE_FALSE
=
1480 MAINT
=$MAINTAINER_MODE_TRUE
1484 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1485 # at least currently, we never actually build a program, so we never
1486 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1487 # fails, because we are probably configuring with a cross compiler
1488 # which can't create executables. So we include AC_EXEEXT to keep
1489 # automake happy, but we don't execute it, since we don't care about
1494 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1495 echo "configure:1496: checking for executable suffix" >&5
1496 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1497 echo $ac_n "(cached) $ac_c" 1>&6
1499 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1503 echo 'int main () { return 0; }' > conftest.
$ac_ext
1505 if { (eval echo configure
:1506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1506 for file in conftest.
*; do
1508 *.c |
*.o |
*.obj
) ;;
1509 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1513 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1516 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1521 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1522 echo "$ac_t""${ac_cv_exeext}" 1>&6
1527 .
${newlib_basedir}/configure.
host
1529 newlib_cflags
="${newlib_cflags} -fno-builtin"
1531 NEWLIB_CFLAGS
=${newlib_cflags}
1539 if test x
${newlib_elix_level} = x0
; then
1541 ELIX_LEVEL_0_FALSE
='#'
1543 ELIX_LEVEL_0_TRUE
='#'
1548 if test x
${newlib_elix_level} = x1
; then
1550 ELIX_LEVEL_1_FALSE
='#'
1552 ELIX_LEVEL_1_TRUE
='#'
1557 if test x
${newlib_elix_level} = x2
; then
1559 ELIX_LEVEL_2_FALSE
='#'
1561 ELIX_LEVEL_2_TRUE
='#'
1566 if test x
${newlib_elix_level} = x3
; then
1568 ELIX_LEVEL_3_FALSE
='#'
1570 ELIX_LEVEL_3_TRUE
='#'
1575 if test x
${newlib_elix_level} = x4
; then
1577 ELIX_LEVEL_4_FALSE
='#'
1579 ELIX_LEVEL_4_TRUE
='#'
1585 if test x
${use_libtool} = xyes
; then
1587 USE_LIBTOOL_FALSE
='#'
1589 USE_LIBTOOL_TRUE
='#'
1593 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
1594 # use oext, which is set in configure.host based on the target platform.
1607 if test "${use_libtool}" = "yes"; then
1609 # Check whether --enable-shared or --disable-shared was given.
1610 if test "${enable_shared+set}" = set; then
1611 enableval
="$enable_shared"
1612 p
=${PACKAGE-default}
1614 yes) enable_shared
=yes ;;
1615 no
) enable_shared
=no
;;
1618 # Look at the argument we got. We use all the common list separators.
1619 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1620 for pkg
in $enableval; do
1621 if test "X$pkg" = "X$p"; then
1632 # Check whether --enable-static or --disable-static was given.
1633 if test "${enable_static+set}" = set; then
1634 enableval
="$enable_static"
1635 p
=${PACKAGE-default}
1637 yes) enable_static
=yes ;;
1638 no
) enable_static
=no
;;
1641 # Look at the argument we got. We use all the common list separators.
1642 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1643 for pkg
in $enableval; do
1644 if test "X$pkg" = "X$p"; then
1655 # Check whether --enable-fast-install or --disable-fast-install was given.
1656 if test "${enable_fast_install+set}" = set; then
1657 enableval
="$enable_fast_install"
1658 p
=${PACKAGE-default}
1660 yes) enable_fast_install
=yes ;;
1661 no
) enable_fast_install
=no
;;
1663 enable_fast_install
=no
1664 # Look at the argument we got. We use all the common list separators.
1665 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1666 for pkg
in $enableval; do
1667 if test "X$pkg" = "X$p"; then
1668 enable_fast_install
=yes
1675 enable_fast_install
=yes
1678 # Extract the first word of "gcc", so it can be a program name with args.
1679 set dummy gcc
; ac_word
=$2
1680 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1681 echo "configure:1682: checking for $ac_word" >&5
1682 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1683 echo $ac_n "(cached) $ac_c" 1>&6
1685 if test -n "$CC"; then
1686 ac_cv_prog_CC
="$CC" # Let the user override the test.
1688 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1690 for ac_dir
in $ac_dummy; do
1691 test -z "$ac_dir" && ac_dir
=.
1692 if test -f $ac_dir/$ac_word; then
1701 if test -n "$CC"; then
1702 echo "$ac_t""$CC" 1>&6
1704 echo "$ac_t""no" 1>&6
1707 if test -z "$CC"; then
1708 # Extract the first word of "cc", so it can be a program name with args.
1709 set dummy cc
; ac_word
=$2
1710 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1711 echo "configure:1712: checking for $ac_word" >&5
1712 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1713 echo $ac_n "(cached) $ac_c" 1>&6
1715 if test -n "$CC"; then
1716 ac_cv_prog_CC
="$CC" # Let the user override the test.
1718 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1721 for ac_dir
in $ac_dummy; do
1722 test -z "$ac_dir" && ac_dir
=.
1723 if test -f $ac_dir/$ac_word; then
1724 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1725 ac_prog_rejected
=yes
1733 if test $ac_prog_rejected = yes; then
1734 # We found a bogon in the path, so make sure we never use it.
1735 set dummy
$ac_cv_prog_CC
1737 if test $# -gt 0; then
1738 # We chose a different compiler from the bogus one.
1739 # However, it has the same basename, so the bogon will be chosen
1740 # first if we set CC to just the basename; use the full file name.
1742 set dummy
"$ac_dir/$ac_word" "$@"
1750 if test -n "$CC"; then
1751 echo "$ac_t""$CC" 1>&6
1753 echo "$ac_t""no" 1>&6
1756 if test -z "$CC"; then
1757 case "`uname -s`" in
1759 # Extract the first word of "cl", so it can be a program name with args.
1760 set dummy cl
; ac_word
=$2
1761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1762 echo "configure:1763: checking for $ac_word" >&5
1763 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1764 echo $ac_n "(cached) $ac_c" 1>&6
1766 if test -n "$CC"; then
1767 ac_cv_prog_CC
="$CC" # Let the user override the test.
1769 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1771 for ac_dir
in $ac_dummy; do
1772 test -z "$ac_dir" && ac_dir
=.
1773 if test -f $ac_dir/$ac_word; then
1782 if test -n "$CC"; then
1783 echo "$ac_t""$CC" 1>&6
1785 echo "$ac_t""no" 1>&6
1790 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1793 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1794 echo "configure:1795: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1797 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1798 ac_cpp
='$CPP $CPPFLAGS'
1799 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1800 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1801 cross_compiling
=$ac_cv_prog_cc_cross
1803 cat > conftest.
$ac_ext << EOF
1805 #line 1806 "configure"
1806 #include "confdefs.h"
1810 if { (eval echo configure
:1811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1811 ac_cv_prog_cc_works
=yes
1812 # If we can't run a trivial program, we are probably using a cross compiler.
1813 if (.
/conftest
; exit) 2>/dev
/null
; then
1814 ac_cv_prog_cc_cross
=no
1816 ac_cv_prog_cc_cross
=yes
1819 echo "configure: failed program was:" >&5
1820 cat conftest.
$ac_ext >&5
1821 ac_cv_prog_cc_works
=no
1825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1826 ac_cpp
='$CPP $CPPFLAGS'
1827 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1828 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1829 cross_compiling
=$ac_cv_prog_cc_cross
1831 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1832 if test $ac_cv_prog_cc_works = no
; then
1833 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1835 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1836 echo "configure:1837: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1837 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1838 cross_compiling
=$ac_cv_prog_cc_cross
1840 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1841 echo "configure:1842: checking whether we are using GNU C" >&5
1842 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1843 echo $ac_n "(cached) $ac_c" 1>&6
1845 cat > conftest.c
<<EOF
1850 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1857 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1859 if test $ac_cv_prog_gcc = yes; then
1865 ac_test_CFLAGS
="${CFLAGS+set}"
1866 ac_save_CFLAGS
="$CFLAGS"
1868 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1869 echo "configure:1870: checking whether ${CC-cc} accepts -g" >&5
1870 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1871 echo $ac_n "(cached) $ac_c" 1>&6
1873 echo 'void f(){}' > conftest.c
1874 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1883 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1884 if test "$ac_test_CFLAGS" = set; then
1885 CFLAGS
="$ac_save_CFLAGS"
1886 elif test $ac_cv_prog_cc_g = yes; then
1887 if test "$GCC" = yes; then
1893 if test "$GCC" = yes; then
1900 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1901 if test "${with_gnu_ld+set}" = set; then
1902 withval
="$with_gnu_ld"
1903 test "$withval" = no || with_gnu_ld
=yes
1909 if test "$GCC" = yes; then
1910 # Check if gcc -print-prog-name=ld gives a path.
1911 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1912 echo "configure:1913: checking for ld used by GCC" >&5
1915 # gcc leaves a trailing carriage return which upsets mingw
1916 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1918 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
1921 # Accept absolute paths.
1922 [\\/]* |
[A-Za-z
]:[\\/]*)
1923 re_direlt
='/[^/][^/]*/\.\./'
1924 # Canonicalize the path of ld
1925 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1926 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1927 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1929 test -z "$LD" && LD
="$ac_prog"
1932 # If it fails, then pretend we aren't using GCC.
1936 # If it is relative, then search for the first ld in PATH.
1940 elif test "$with_gnu_ld" = yes; then
1941 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1942 echo "configure:1943: checking for GNU ld" >&5
1944 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1945 echo "configure:1946: checking for non-GNU ld" >&5
1947 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1948 echo $ac_n "(cached) $ac_c" 1>&6
1950 if test -z "$LD"; then
1951 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1952 for ac_dir
in $PATH; do
1953 test -z "$ac_dir" && ac_dir
=.
1954 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1955 lt_cv_path_LD
="$ac_dir/$ac_prog"
1956 # Check to see if the program is GNU ld. I'd rather use --version,
1957 # but apparently some GNU ld's only accept -v.
1958 # Break only if it was the GNU/non-GNU ld that we prefer.
1959 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1960 test "$with_gnu_ld" != no
&& break
1962 test "$with_gnu_ld" != yes && break
1968 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
1973 if test -n "$LD"; then
1974 echo "$ac_t""$LD" 1>&6
1976 echo "$ac_t""no" 1>&6
1978 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1979 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1980 echo "configure:1981: checking if the linker ($LD) is GNU ld" >&5
1981 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1982 echo $ac_n "(cached) $ac_c" 1>&6
1984 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1985 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1986 lt_cv_prog_gnu_ld
=yes
1988 lt_cv_prog_gnu_ld
=no
1992 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1993 with_gnu_ld
=$lt_cv_prog_gnu_ld
1996 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1997 echo "configure:1998: checking for $LD option to reload object files" >&5
1998 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1999 echo $ac_n "(cached) $ac_c" 1>&6
2001 lt_cv_ld_reload_flag
='-r'
2004 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
2005 reload_flag
=$lt_cv_ld_reload_flag
2006 test -n "$reload_flag" && reload_flag
=" $reload_flag"
2008 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
2009 echo "configure:2010: checking for BSD-compatible nm" >&5
2010 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
2011 echo $ac_n "(cached) $ac_c" 1>&6
2013 if test -n "$NM"; then
2014 # Let the user override the test.
2017 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2018 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
2019 test -z "$ac_dir" && ac_dir
=.
2020 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
2021 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
2022 # Check to see if the nm accepts a BSD-compat flag.
2023 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2024 # nm: unknown option "B" ignored
2025 # Tru64's nm complains that /dev/null is an invalid object file
2026 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
2027 lt_cv_path_NM
="$tmp_nm -B"
2029 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
2030 lt_cv_path_NM
="$tmp_nm -p"
2033 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2034 continue # so that we can try to find one that supports BSD flags
2039 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
2044 echo "$ac_t""$NM" 1>&6
2046 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
2047 echo "configure:2048: checking whether ln -s works" >&5
2048 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
2049 echo $ac_n "(cached) $ac_c" 1>&6
2052 if ln -s X conftestdata
2>/dev
/null
2055 ac_cv_prog_LN_S
="ln -s"
2060 LN_S
="$ac_cv_prog_LN_S"
2061 if test "$ac_cv_prog_LN_S" = "ln -s"; then
2062 echo "$ac_t""yes" 1>&6
2064 echo "$ac_t""no" 1>&6
2067 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
2068 echo "configure:2069: checking how to recognise dependant libraries" >&5
2069 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
2070 echo $ac_n "(cached) $ac_c" 1>&6
2072 lt_cv_file_magic_cmd
='$MAGIC_CMD'
2073 lt_cv_file_magic_test_file
=
2074 lt_cv_deplibs_check_method
='unknown'
2075 # Need to set the preceding variable on all platforms that support
2076 # interlibrary dependencies.
2077 # 'none' -- dependencies not supported.
2078 # `unknown' -- same as none, but documents that we really don't know.
2079 # 'pass_all' -- all dependencies passed with no checks.
2080 # 'test_compile' -- check by making test program.
2081 # 'file_magic [regex]' -- check by looking for files in library path
2082 # which responds to the $file_magic_cmd with a given egrep regex.
2083 # If you have `file' or equivalent on your system and you're not sure
2084 # whether `pass_all' will *always* work, you probably want this one.
2088 lt_cv_deplibs_check_method
=pass_all
2092 lt_cv_deplibs_check_method
=pass_all
2096 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
2097 lt_cv_file_magic_cmd
='/usr/bin/file -L'
2098 lt_cv_file_magic_test_file
=/shlib
/libc.so
2101 cygwin
* | mingw
* |pw32
*)
2102 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
2103 lt_cv_file_magic_cmd
='$OBJDUMP -f'
2106 darwin
* | rhapsody
*)
2107 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
2108 lt_cv_file_magic_cmd
='/usr/bin/file -L'
2110 rhapsody
* | darwin1.012
)
2111 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
2114 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
2120 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
2123 # Not sure whether the presence of OpenBSD here was a mistake.
2124 # Let's accept both of them until this is cleared up.
2125 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2126 lt_cv_file_magic_cmd
=/usr
/bin
/file
2127 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
2131 lt_cv_deplibs_check_method
=pass_all
2136 lt_cv_deplibs_check_method
=pass_all
2142 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2143 lt_cv_file_magic_cmd
=/usr
/bin
/file
2144 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
2147 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
2148 lt_cv_file_magic_cmd
=/usr
/bin
/file
2149 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
2157 # this will be overridden with pass_all, but let us keep it just in case
2158 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2162 *-32|
*"-32 ") libmagic
=32-bit;;
2163 *-n32|
*"-n32 ") libmagic
=N32
;;
2164 *-64|
*"-64 ") libmagic
=64-bit;;
2165 *) libmagic
=never-match
;;
2167 # this will be overridden with pass_all, but let us keep it just in case
2168 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2171 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
2172 lt_cv_deplibs_check_method
=pass_all
2175 # This must be Linux ELF.
2178 alpha
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
2179 lt_cv_deplibs_check_method
=pass_all
;;
2181 # glibc up to 2.1.1 does not perform some relocations on ARM
2182 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2184 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
2188 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
2189 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2191 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
2196 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2197 lt_cv_file_magic_cmd
=/usr
/bin
/file
2198 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
2201 osf3
* | osf4
* | osf5
*)
2202 # this will be overridden with pass_all, but let us keep it just in case
2203 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
2204 lt_cv_file_magic_test_file
=/shlib
/libc.so
2205 lt_cv_deplibs_check_method
=pass_all
2209 lt_cv_deplibs_check_method
=pass_all
2213 lt_cv_deplibs_check_method
=pass_all
2214 lt_cv_file_magic_test_file
=/lib
/libc.so
2217 sysv5uw
[78]* | sysv4
*uw2
*)
2218 lt_cv_deplibs_check_method
=pass_all
2221 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
2222 case $host_vendor in
2224 lt_cv_deplibs_check_method
=pass_all
2227 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]'
2228 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
2236 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2237 file_magic_cmd
=$lt_cv_file_magic_cmd
2238 deplibs_check_method
=$lt_cv_deplibs_check_method
2240 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2241 echo "configure:2242: checking for object suffix" >&5
2242 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2243 echo $ac_n "(cached) $ac_c" 1>&6
2246 echo 'int i = 1;' > conftest.
$ac_ext
2247 if { (eval echo configure
:2248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2248 for ac_file
in conftest.
*; do
2251 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
2255 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2260 echo "$ac_t""$ac_cv_objext" 1>&6
2261 OBJEXT
=$ac_cv_objext
2262 ac_objext
=$ac_cv_objext
2264 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2266 # Only perform the check for file, if the check method requires it
2267 case $deplibs_check_method in
2269 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2270 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2271 echo "configure:2272: checking for ${ac_tool_prefix}file" >&5
2272 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2273 echo $ac_n "(cached) $ac_c" 1>&6
2277 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2280 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2283 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2284 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2285 ac_dummy
="/usr/bin:$PATH"
2286 for ac_dir
in $ac_dummy; do
2287 test -z "$ac_dir" && ac_dir
=.
2288 if test -f $ac_dir/${ac_tool_prefix}file; then
2289 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
2290 if test -n "$file_magic_test_file"; then
2291 case $deplibs_check_method in
2293 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2294 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2295 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2296 egrep "$file_magic_regex" > /dev
/null
; then
2301 *** Warning: the command libtool uses to detect shared libraries,
2302 *** $file_magic_cmd, produces output that libtool cannot recognize.
2303 *** The result is that libtool may fail to recognize shared libraries
2304 *** as such. This will affect the creation of libtool libraries that
2305 *** depend on shared libraries, but programs linked with such libtool
2306 *** libraries will work regardless of this problem. Nevertheless, you
2307 *** may want to report the problem to your system manager and/or to
2308 *** bug-libtool@gnu.org
2318 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2323 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2324 if test -n "$MAGIC_CMD"; then
2325 echo "$ac_t""$MAGIC_CMD" 1>&6
2327 echo "$ac_t""no" 1>&6
2330 if test -z "$lt_cv_path_MAGIC_CMD"; then
2331 if test -n "$ac_tool_prefix"; then
2332 echo $ac_n "checking for file""... $ac_c" 1>&6
2333 echo "configure:2334: checking for file" >&5
2334 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2335 echo $ac_n "(cached) $ac_c" 1>&6
2339 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2342 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2345 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2346 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2347 ac_dummy
="/usr/bin:$PATH"
2348 for ac_dir
in $ac_dummy; do
2349 test -z "$ac_dir" && ac_dir
=.
2350 if test -f $ac_dir/file; then
2351 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
2352 if test -n "$file_magic_test_file"; then
2353 case $deplibs_check_method in
2355 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2356 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2357 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2358 egrep "$file_magic_regex" > /dev
/null
; then
2363 *** Warning: the command libtool uses to detect shared libraries,
2364 *** $file_magic_cmd, produces output that libtool cannot recognize.
2365 *** The result is that libtool may fail to recognize shared libraries
2366 *** as such. This will affect the creation of libtool libraries that
2367 *** depend on shared libraries, but programs linked with such libtool
2368 *** libraries will work regardless of this problem. Nevertheless, you
2369 *** may want to report the problem to your system manager and/or to
2370 *** bug-libtool@gnu.org
2380 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2385 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2386 if test -n "$MAGIC_CMD"; then
2387 echo "$ac_t""$MAGIC_CMD" 1>&6
2389 echo "$ac_t""no" 1>&6
2401 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2402 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2403 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2404 echo "configure:2405: checking for $ac_word" >&5
2405 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2406 echo $ac_n "(cached) $ac_c" 1>&6
2408 if test -n "$RANLIB"; then
2409 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2411 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2413 for ac_dir
in $ac_dummy; do
2414 test -z "$ac_dir" && ac_dir
=.
2415 if test -f $ac_dir/$ac_word; then
2416 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2423 RANLIB
="$ac_cv_prog_RANLIB"
2424 if test -n "$RANLIB"; then
2425 echo "$ac_t""$RANLIB" 1>&6
2427 echo "$ac_t""no" 1>&6
2431 if test -z "$ac_cv_prog_RANLIB"; then
2432 if test -n "$ac_tool_prefix"; then
2433 # Extract the first word of "ranlib", so it can be a program name with args.
2434 set dummy ranlib
; ac_word
=$2
2435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2436 echo "configure:2437: checking for $ac_word" >&5
2437 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2438 echo $ac_n "(cached) $ac_c" 1>&6
2440 if test -n "$RANLIB"; then
2441 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2443 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2445 for ac_dir
in $ac_dummy; do
2446 test -z "$ac_dir" && ac_dir
=.
2447 if test -f $ac_dir/$ac_word; then
2448 ac_cv_prog_RANLIB
="ranlib"
2453 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2456 RANLIB
="$ac_cv_prog_RANLIB"
2457 if test -n "$RANLIB"; then
2458 echo "$ac_t""$RANLIB" 1>&6
2460 echo "$ac_t""no" 1>&6
2468 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2469 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2470 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2471 echo "configure:2472: checking for $ac_word" >&5
2472 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2473 echo $ac_n "(cached) $ac_c" 1>&6
2475 if test -n "$STRIP"; then
2476 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2478 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2480 for ac_dir
in $ac_dummy; do
2481 test -z "$ac_dir" && ac_dir
=.
2482 if test -f $ac_dir/$ac_word; then
2483 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2490 STRIP
="$ac_cv_prog_STRIP"
2491 if test -n "$STRIP"; then
2492 echo "$ac_t""$STRIP" 1>&6
2494 echo "$ac_t""no" 1>&6
2498 if test -z "$ac_cv_prog_STRIP"; then
2499 if test -n "$ac_tool_prefix"; then
2500 # Extract the first word of "strip", so it can be a program name with args.
2501 set dummy strip
; ac_word
=$2
2502 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2503 echo "configure:2504: checking for $ac_word" >&5
2504 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2505 echo $ac_n "(cached) $ac_c" 1>&6
2507 if test -n "$STRIP"; then
2508 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2510 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2512 for ac_dir
in $ac_dummy; do
2513 test -z "$ac_dir" && ac_dir
=.
2514 if test -f $ac_dir/$ac_word; then
2515 ac_cv_prog_STRIP
="strip"
2520 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2523 STRIP
="$ac_cv_prog_STRIP"
2524 if test -n "$STRIP"; then
2525 echo "$ac_t""$STRIP" 1>&6
2527 echo "$ac_t""no" 1>&6
2536 # Check for any special flags to pass to ltconfig.
2537 libtool_flags
="--cache-file=$cache_file"
2538 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
2539 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
2540 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
2541 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
2542 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
2544 libtool_flags
="$libtool_flags --enable-win32-dll"
2545 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2546 if test "${enable_libtool_lock+set}" = set; then
2547 enableval
="$enable_libtool_lock"
2551 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
2552 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
2554 # Check whether --with-pic or --without-pic was given.
2555 if test "${with_pic+set}" = set; then
2562 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
2563 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
2565 # Some flags need to be propagated to the compiler or linker for good
2569 # Find out which ABI we are using.
2570 echo '#line 2571 "configure"' > conftest.
$ac_ext
2571 if { (eval echo configure
:2572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2572 case `/usr/bin/file conftest.$ac_objext` in
2588 # Find out which ABI we are using.
2589 echo 'int i;' > conftest.
$ac_ext
2590 if { (eval echo configure
:2591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2591 case "`/usr/bin/file conftest.o`" in
2604 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2605 SAVE_CFLAGS
="$CFLAGS"
2606 CFLAGS
="$CFLAGS -belf"
2607 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2608 echo "configure:2609: checking whether the C compiler needs -belf" >&5
2609 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2610 echo $ac_n "(cached) $ac_c" 1>&6
2614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2615 ac_cpp
='$CPP $CPPFLAGS'
2616 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2617 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2618 cross_compiling
=$ac_cv_prog_cc_cross
2620 cat > conftest.
$ac_ext <<EOF
2621 #line 2622 "configure"
2622 #include "confdefs.h"
2628 if { (eval echo configure
:2629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2630 lt_cv_cc_needs_belf
=yes
2632 echo "configure: failed program was:" >&5
2633 cat conftest.
$ac_ext >&5
2635 lt_cv_cc_needs_belf
=no
2639 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2640 ac_cpp
='$CPP $CPPFLAGS'
2641 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2642 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2643 cross_compiling
=$ac_cv_prog_cc_cross
2647 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2648 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
2649 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2650 CFLAGS
="$SAVE_CFLAGS"
2654 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
2655 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2656 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
2657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2658 echo "configure:2659: checking for $ac_word" >&5
2659 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2660 echo $ac_n "(cached) $ac_c" 1>&6
2662 if test -n "$DLLTOOL"; then
2663 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
2665 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2667 for ac_dir
in $ac_dummy; do
2668 test -z "$ac_dir" && ac_dir
=.
2669 if test -f $ac_dir/$ac_word; then
2670 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
2677 DLLTOOL
="$ac_cv_prog_DLLTOOL"
2678 if test -n "$DLLTOOL"; then
2679 echo "$ac_t""$DLLTOOL" 1>&6
2681 echo "$ac_t""no" 1>&6
2685 if test -z "$ac_cv_prog_DLLTOOL"; then
2686 if test -n "$ac_tool_prefix"; then
2687 # Extract the first word of "dlltool", so it can be a program name with args.
2688 set dummy dlltool
; ac_word
=$2
2689 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2690 echo "configure:2691: checking for $ac_word" >&5
2691 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2692 echo $ac_n "(cached) $ac_c" 1>&6
2694 if test -n "$DLLTOOL"; then
2695 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
2697 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2699 for ac_dir
in $ac_dummy; do
2700 test -z "$ac_dir" && ac_dir
=.
2701 if test -f $ac_dir/$ac_word; then
2702 ac_cv_prog_DLLTOOL
="dlltool"
2707 test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL
="false"
2710 DLLTOOL
="$ac_cv_prog_DLLTOOL"
2711 if test -n "$DLLTOOL"; then
2712 echo "$ac_t""$DLLTOOL" 1>&6
2714 echo "$ac_t""no" 1>&6
2722 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2723 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2724 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2725 echo "configure:2726: checking for $ac_word" >&5
2726 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2727 echo $ac_n "(cached) $ac_c" 1>&6
2729 if test -n "$AS"; then
2730 ac_cv_prog_AS
="$AS" # Let the user override the test.
2732 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2734 for ac_dir
in $ac_dummy; do
2735 test -z "$ac_dir" && ac_dir
=.
2736 if test -f $ac_dir/$ac_word; then
2737 ac_cv_prog_AS
="${ac_tool_prefix}as"
2745 if test -n "$AS"; then
2746 echo "$ac_t""$AS" 1>&6
2748 echo "$ac_t""no" 1>&6
2752 if test -z "$ac_cv_prog_AS"; then
2753 if test -n "$ac_tool_prefix"; then
2754 # Extract the first word of "as", so it can be a program name with args.
2755 set dummy as
; ac_word
=$2
2756 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2757 echo "configure:2758: checking for $ac_word" >&5
2758 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2759 echo $ac_n "(cached) $ac_c" 1>&6
2761 if test -n "$AS"; then
2762 ac_cv_prog_AS
="$AS" # Let the user override the test.
2764 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2766 for ac_dir
in $ac_dummy; do
2767 test -z "$ac_dir" && ac_dir
=.
2768 if test -f $ac_dir/$ac_word; then
2774 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="false"
2778 if test -n "$AS"; then
2779 echo "$ac_t""$AS" 1>&6
2781 echo "$ac_t""no" 1>&6
2789 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
2790 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
2791 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2792 echo "configure:2793: checking for $ac_word" >&5
2793 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2794 echo $ac_n "(cached) $ac_c" 1>&6
2796 if test -n "$OBJDUMP"; then
2797 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
2799 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2801 for ac_dir
in $ac_dummy; do
2802 test -z "$ac_dir" && ac_dir
=.
2803 if test -f $ac_dir/$ac_word; then
2804 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
2811 OBJDUMP
="$ac_cv_prog_OBJDUMP"
2812 if test -n "$OBJDUMP"; then
2813 echo "$ac_t""$OBJDUMP" 1>&6
2815 echo "$ac_t""no" 1>&6
2819 if test -z "$ac_cv_prog_OBJDUMP"; then
2820 if test -n "$ac_tool_prefix"; then
2821 # Extract the first word of "objdump", so it can be a program name with args.
2822 set dummy objdump
; ac_word
=$2
2823 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2824 echo "configure:2825: checking for $ac_word" >&5
2825 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2826 echo $ac_n "(cached) $ac_c" 1>&6
2828 if test -n "$OBJDUMP"; then
2829 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
2831 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2833 for ac_dir
in $ac_dummy; do
2834 test -z "$ac_dir" && ac_dir
=.
2835 if test -f $ac_dir/$ac_word; then
2836 ac_cv_prog_OBJDUMP
="objdump"
2841 test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP
="false"
2844 OBJDUMP
="$ac_cv_prog_OBJDUMP"
2845 if test -n "$OBJDUMP"; then
2846 echo "$ac_t""$OBJDUMP" 1>&6
2848 echo "$ac_t""no" 1>&6
2857 # recent cygwin and mingw systems supply a stub DllMain which the user
2858 # can override, but on older systems we have to supply one
2859 echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
2860 echo "configure:2861: checking if libtool should supply DllMain function" >&5
2861 if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
2862 echo $ac_n "(cached) $ac_c" 1>&6
2864 cat > conftest.
$ac_ext <<EOF
2865 #line 2866 "configure"
2866 #include "confdefs.h"
2869 extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
2873 if { (eval echo configure
:2874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2875 lt_cv_need_dllmain
=no
2877 echo "configure: failed program was:" >&5
2878 cat conftest.
$ac_ext >&5
2880 lt_cv_need_dllmain
=yes
2885 echo "$ac_t""$lt_cv_need_dllmain" 1>&6
2888 *-*-cygwin*/gcc
*-mno-cygwin*|
*-*-mingw*)
2889 # old mingw systems require "-dll" to link a DLL, while more recent ones
2891 SAVE_CFLAGS
="$CFLAGS"
2892 CFLAGS
="$CFLAGS -mdll"
2893 echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
2894 echo "configure:2895: checking how to link DLLs" >&5
2895 if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
2896 echo $ac_n "(cached) $ac_c" 1>&6
2898 cat > conftest.
$ac_ext <<EOF
2899 #line 2900 "configure"
2900 #include "confdefs.h"
2906 if { (eval echo configure
:2907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2908 lt_cv_cc_dll_switch
=-mdll
2910 echo "configure: failed program was:" >&5
2911 cat conftest.
$ac_ext >&5
2913 lt_cv_cc_dll_switch
=-dll
2918 echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
2919 CFLAGS
="$SAVE_CFLAGS" ;;
2920 *-*-cygwin* |
*-*-pw32*)
2921 # cygwin systems need to pass --dll to the linker, and not link
2922 # crt.o which will require a WinMain@16 definition.
2923 lt_cv_cc_dll_switch
="-Wl,--dll -nostartfiles" ;;
2930 # Save cache, so that ltconfig can load it
2931 cat > confcache
<<\EOF
2932 # This file is a shell script that caches the results of configure
2933 # tests run on this system so they can be shared between configure
2934 # scripts and configure runs. It is not useful on other systems.
2935 # If it contains results you don't want to keep, you may remove or edit it.
2937 # By default, configure uses ./config.cache as the cache file,
2938 # creating it if it does not exist already. You can give configure
2939 # the --cache-file=FILE option to use a different cache file; that is
2940 # what configure does when it calls configure scripts in
2941 # subdirectories, so they share the cache.
2942 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2943 # config.status only pays attention to the cache file if you give it the
2944 # --recheck option to rerun configure.
2947 # The following way of writing the cache mishandles newlines in values,
2948 # but we know of no workaround that is simple, portable, and efficient.
2949 # So, don't put newlines in cache variables' values.
2950 # Ultrix sh set writes to stderr and can't be redirected directly,
2951 # and sets the high bit in the cache file unless we assign to the vars.
2953 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2955 # `set' does not quote correctly, so add quotes (double-quote substitution
2956 # turns \\\\ into \\, and sed turns \\ into \).
2958 -e "s/'/'\\\\''/g" \
2959 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2962 # `set' quotes correctly as required by POSIX, so do not add quotes.
2963 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2966 if cmp -s $cache_file confcache
; then
2969 if test -w $cache_file; then
2970 echo "updating cache $cache_file"
2971 cat confcache
> $cache_file
2973 echo "not updating unwritable cache $cache_file"
2979 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2980 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2981 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2982 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2983 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2984 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2985 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
2986 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2987 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
2988 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2990 # Reload cache, that may have been modified by ltconfig
2991 if test -r "$cache_file"; then
2992 echo "loading cache $cache_file"
2995 echo "creating cache $cache_file"
3000 # This can be used to rebuild libtool when needed
3001 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3003 # Always use our own libtool.
3004 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
3006 # Redirect the config.log output again, so that the ltconfig log is not
3007 # clobbered by the next message.
3008 exec 5>>.
/config.log
3017 if test -n "${machine_dir}"; then
3018 subdirs
="${machine_dir}"
3024 if test x
${machine_dir} != x
; then
3025 HAVE_MACHINE_DIR_TRUE
=
3026 HAVE_MACHINE_DIR_FALSE
='#'
3028 HAVE_MACHINE_DIR_TRUE
='#'
3029 HAVE_MACHINE_DIR_FALSE
=
3033 cat > confcache
<<\EOF
3034 # This file is a shell script that caches the results of configure
3035 # tests run on this system so they can be shared between configure
3036 # scripts and configure runs. It is not useful on other systems.
3037 # If it contains results you don't want to keep, you may remove or edit it.
3039 # By default, configure uses ./config.cache as the cache file,
3040 # creating it if it does not exist already. You can give configure
3041 # the --cache-file=FILE option to use a different cache file; that is
3042 # what configure does when it calls configure scripts in
3043 # subdirectories, so they share the cache.
3044 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3045 # config.status only pays attention to the cache file if you give it the
3046 # --recheck option to rerun configure.
3049 # The following way of writing the cache mishandles newlines in values,
3050 # but we know of no workaround that is simple, portable, and efficient.
3051 # So, don't put newlines in cache variables' values.
3052 # Ultrix sh set writes to stderr and can't be redirected directly,
3053 # and sets the high bit in the cache file unless we assign to the vars.
3055 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3057 # `set' does not quote correctly, so add quotes (double-quote substitution
3058 # turns \\\\ into \\, and sed turns \\ into \).
3060 -e "s/'/'\\\\''/g" \
3061 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3064 # `set' quotes correctly as required by POSIX, so do not add quotes.
3065 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3068 if cmp -s $cache_file confcache
; then
3071 if test -w $cache_file; then
3072 echo "updating cache $cache_file"
3073 cat confcache
> $cache_file
3075 echo "not updating unwritable cache $cache_file"
3080 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3082 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3083 # Let make expand exec_prefix.
3084 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3086 # Any assignment to VPATH causes Sun make to only execute
3087 # the first set of double-colon rules, so remove it if not needed.
3088 # If there is a colon in the path, we need to keep it.
3089 if test "x$srcdir" = x.
; then
3090 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
3093 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3095 # Transform confdefs.h into DEFS.
3096 # Protect against shell expansion while executing Makefile rules.
3097 # Protect against Makefile macro expansion.
3098 cat > conftest.defs
<<\EOF
3099 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
3100 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
3105 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
3109 # Without the "./", some shells look in PATH for config.status.
3110 : ${CONFIG_STATUS=./config.status}
3112 echo creating $CONFIG_STATUS
3113 rm -f $CONFIG_STATUS
3114 cat > $CONFIG_STATUS <<EOF
3116 # Generated automatically by configure.
3117 # Run this file to recreate the current configuration.
3118 # This directory was configured as follows,
3119 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
3121 # $0 $ac_configure_args
3123 # Compiler output produced by configure, useful for debugging
3124 # configure, is in ./config.log if it exists.
3126 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3129 case "\$ac_option" in
3130 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3131 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3132 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3133 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3134 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3136 -help | --help | --hel | --he | --h)
3137 echo "\$ac_cs_usage"; exit 0 ;;
3138 *) echo "\$ac_cs_usage"; exit 1 ;;
3142 ac_given_srcdir=$srcdir
3143 ac_given_INSTALL="$INSTALL"
3145 trap 'rm -fr `echo "Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3147 cat >> $CONFIG_STATUS <<EOF
3149 # Protect against being on the right side of a sed subst in config.status.
3150 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3151 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3155 s%@CFLAGS@%$CFLAGS%g
3156 s%@CPPFLAGS@%$CPPFLAGS%g
3157 s%@CXXFLAGS@%$CXXFLAGS%g
3158 s%@FFLAGS@%$FFLAGS%g
3160 s%@LDFLAGS@%$LDFLAGS%g
3162 s%@exec_prefix@%$exec_prefix%g
3163 s%@prefix@%$prefix%g
3164 s%@program_transform_name@%$program_transform_name%g
3165 s%@bindir@%$bindir%g
3166 s%@sbindir@%$sbindir%g
3167 s%@libexecdir@%$libexecdir%g
3168 s%@datadir@%$datadir%g
3169 s%@sysconfdir@%$sysconfdir%g
3170 s%@sharedstatedir@%$sharedstatedir%g
3171 s%@localstatedir@%$localstatedir%g
3172 s%@libdir@%$libdir%g
3173 s%@includedir@%$includedir%g
3174 s%@oldincludedir@%$oldincludedir%g
3175 s%@infodir@%$infodir%g
3176 s%@mandir@%$mandir%g
3177 s%@MAY_SUPPLY_SYSCALLS_TRUE@%$MAY_SUPPLY_SYSCALLS_TRUE%g
3178 s%@MAY_SUPPLY_SYSCALLS_FALSE@%$MAY_SUPPLY_SYSCALLS_FALSE%g
3179 s%@newlib_basedir@%$newlib_basedir%g
3181 s%@host_alias@%$host_alias%g
3182 s%@host_cpu@%$host_cpu%g
3183 s%@host_vendor@%$host_vendor%g
3184 s%@host_os@%$host_os%g
3185 s%@target@%$target%g
3186 s%@target_alias@%$target_alias%g
3187 s%@target_cpu@%$target_cpu%g
3188 s%@target_vendor@%$target_vendor%g
3189 s%@target_os@%$target_os%g
3191 s%@build_alias@%$build_alias%g
3192 s%@build_cpu@%$build_cpu%g
3193 s%@build_vendor@%$build_vendor%g
3194 s%@build_os@%$build_os%g
3195 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3196 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3197 s%@INSTALL_DATA@%$INSTALL_DATA%g
3198 s%@PACKAGE@%$PACKAGE%g
3199 s%@VERSION@%$VERSION%g
3200 s%@ACLOCAL@%$ACLOCAL%g
3201 s%@AUTOCONF@%$AUTOCONF%g
3202 s%@AUTOMAKE@%$AUTOMAKE%g
3203 s%@AUTOHEADER@%$AUTOHEADER%g
3204 s%@MAKEINFO@%$MAKEINFO%g
3205 s%@SET_MAKE@%$SET_MAKE%g
3209 s%@RANLIB@%$RANLIB%g
3210 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
3211 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
3213 s%@EXEEXT@%$EXEEXT%g
3214 s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g
3215 s%@ELIX_LEVEL_0_TRUE@%$ELIX_LEVEL_0_TRUE%g
3216 s%@ELIX_LEVEL_0_FALSE@%$ELIX_LEVEL_0_FALSE%g
3217 s%@ELIX_LEVEL_1_TRUE@%$ELIX_LEVEL_1_TRUE%g
3218 s%@ELIX_LEVEL_1_FALSE@%$ELIX_LEVEL_1_FALSE%g
3219 s%@ELIX_LEVEL_2_TRUE@%$ELIX_LEVEL_2_TRUE%g
3220 s%@ELIX_LEVEL_2_FALSE@%$ELIX_LEVEL_2_FALSE%g
3221 s%@ELIX_LEVEL_3_TRUE@%$ELIX_LEVEL_3_TRUE%g
3222 s%@ELIX_LEVEL_3_FALSE@%$ELIX_LEVEL_3_FALSE%g
3223 s%@ELIX_LEVEL_4_TRUE@%$ELIX_LEVEL_4_TRUE%g
3224 s%@ELIX_LEVEL_4_FALSE@%$ELIX_LEVEL_4_FALSE%g
3225 s%@USE_LIBTOOL_TRUE@%$USE_LIBTOOL_TRUE%g
3226 s%@USE_LIBTOOL_FALSE@%$USE_LIBTOOL_FALSE%g
3227 s%@OBJEXT@%$OBJEXT%g
3230 s%@libm_machine_dir@%$libm_machine_dir%g
3231 s%@machine_dir@%$machine_dir%g
3232 s%@sys_dir@%$sys_dir%g
3235 s%@DLLTOOL@%$DLLTOOL%g
3236 s%@OBJDUMP@%$OBJDUMP%g
3237 s%@LIBTOOL@%$LIBTOOL%g
3238 s%@subdirs@%$subdirs%g
3239 s%@HAVE_MACHINE_DIR_TRUE@%$HAVE_MACHINE_DIR_TRUE%g
3240 s%@HAVE_MACHINE_DIR_FALSE@%$HAVE_MACHINE_DIR_FALSE%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"}
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_dir}; 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; }