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-multithread enable support for multiple threads"
25 --disable-newlib-io-float disable printf/scanf family float support"
27 --enable-maintainer-mode enable make rules and dependencies not useful
28 (and sometimes confusing) to the casual installer"
30 --enable-shared[=PKGS] build shared libraries [default=yes]"
32 --enable-static[=PKGS] build static libraries [default=yes]"
34 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
36 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
38 --disable-libtool-lock avoid locking (might break parallel builds)"
40 --with-pic try to use only PIC/non-PIC objects [default=use both]"
42 # Initialize some variables set by options.
43 # The variables have the same names as the options, with
44 # dashes changed to underlines.
46 cache_file
=.
/config.cache
55 program_transform_name
=s
,x
,x
,
64 bindir
='${exec_prefix}/bin'
65 sbindir
='${exec_prefix}/sbin'
66 libexecdir
='${exec_prefix}/libexec'
67 datadir
='${prefix}/share'
68 sysconfdir
='${prefix}/etc'
69 sharedstatedir
='${prefix}/com'
70 localstatedir
='${prefix}/var'
71 libdir
='${exec_prefix}/lib'
72 includedir
='${prefix}/include'
73 oldincludedir
='/usr/include'
74 infodir
='${prefix}/info'
75 mandir
='${prefix}/man'
77 # Initialize some other variables.
80 SHELL
=${CONFIG_SHELL-/bin/sh}
81 # Maximum number of lines to put in a shell here document.
88 # If the previous option needs an argument, assign it.
89 if test -n "$ac_prev"; then
90 eval "$ac_prev=\$ac_option"
96 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
100 # Accept the important Cygnus configure options, so we can diagnose typos.
104 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
106 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
107 bindir
="$ac_optarg" ;;
109 -build |
--build |
--buil |
--bui |
--bu)
111 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
112 build
="$ac_optarg" ;;
114 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
115 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
116 ac_prev
=cache_file
;;
117 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
118 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
119 cache_file
="$ac_optarg" ;;
121 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
123 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
125 datadir
="$ac_optarg" ;;
127 -disable-* |
--disable-*)
128 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
129 # Reject names that are not valid shell variable names.
130 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
131 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
133 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
134 eval "enable_${ac_feature}=no" ;;
136 -enable-* |
--enable-*)
137 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
138 # Reject names that are not valid shell variable names.
139 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
140 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
142 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
147 eval "enable_${ac_feature}='$ac_optarg'" ;;
149 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
150 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
151 |
--exec |
--exe |
--ex)
152 ac_prev
=exec_prefix
;;
153 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
154 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
155 |
--exec=* |
--exe=* |
--ex=*)
156 exec_prefix
="$ac_optarg" ;;
158 -gas |
--gas |
--ga |
--g)
159 # Obsolete; use --with-gas.
162 -help |
--help |
--hel |
--he)
163 # Omit some internal or obsolete options to make the list less imposing.
164 # This message is too long to be a string in the A/UX 3.1 sh.
166 Usage: configure [options] [host]
167 Options: [defaults in brackets after descriptions]
169 --cache-file=FILE cache test results in FILE
170 --help print this message
171 --no-create do not create output files
172 --quiet, --silent do not print \`checking...' messages
173 --site-file=FILE use FILE as the site file
174 --version print the version of autoconf that created configure
175 Directory and file names:
176 --prefix=PREFIX install architecture-independent files in PREFIX
178 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
180 --bindir=DIR user executables in DIR [EPREFIX/bin]
181 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
182 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
183 --datadir=DIR read-only architecture-independent data in DIR
185 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
186 --sharedstatedir=DIR modifiable architecture-independent data in DIR
188 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
189 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
190 --includedir=DIR C header files in DIR [PREFIX/include]
191 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
192 --infodir=DIR info documentation in DIR [PREFIX/info]
193 --mandir=DIR man documentation in DIR [PREFIX/man]
194 --srcdir=DIR find the sources in DIR [configure dir or ..]
195 --program-prefix=PREFIX prepend PREFIX to installed program names
196 --program-suffix=SUFFIX append SUFFIX to installed program names
197 --program-transform-name=PROGRAM
198 run sed PROGRAM on installed program names
202 --build=BUILD configure for building on BUILD [BUILD=HOST]
203 --host=HOST configure for HOST [guessed]
204 --target=TARGET configure for TARGET [TARGET=HOST]
205 Features and packages:
206 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
207 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
208 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
209 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
210 --x-includes=DIR X include files are in DIR
211 --x-libraries=DIR X library files are in DIR
213 if test -n "$ac_help"; then
214 echo "--enable and --with options recognized:$ac_help"
218 -host |
--host |
--hos |
--ho)
220 -host=* |
--host=* |
--hos=* |
--ho=*)
223 -includedir |
--includedir |
--includedi |
--included |
--include \
224 |
--includ |
--inclu |
--incl |
--inc)
225 ac_prev
=includedir
;;
226 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
227 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
228 includedir
="$ac_optarg" ;;
230 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
232 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
233 infodir
="$ac_optarg" ;;
235 -libdir |
--libdir |
--libdi |
--libd)
237 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
238 libdir
="$ac_optarg" ;;
240 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
241 |
--libexe |
--libex |
--libe)
242 ac_prev
=libexecdir
;;
243 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
244 |
--libexe=* |
--libex=* |
--libe=*)
245 libexecdir
="$ac_optarg" ;;
247 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
248 |
--localstate |
--localstat |
--localsta |
--localst \
249 |
--locals |
--local |
--loca |
--loc |
--lo)
250 ac_prev
=localstatedir
;;
251 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
252 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
253 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
254 localstatedir
="$ac_optarg" ;;
256 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
258 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
259 mandir
="$ac_optarg" ;;
262 # Obsolete; use --without-fp.
265 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
269 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
270 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
273 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
274 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
275 |
--oldin |
--oldi |
--old |
--ol |
--o)
276 ac_prev
=oldincludedir
;;
277 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
278 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
279 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
280 oldincludedir
="$ac_optarg" ;;
282 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
284 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
285 prefix
="$ac_optarg" ;;
287 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
288 |
--program-pre |
--program-pr |
--program-p)
289 ac_prev
=program_prefix
;;
290 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
291 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
292 program_prefix
="$ac_optarg" ;;
294 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
295 |
--program-suf |
--program-su |
--program-s)
296 ac_prev
=program_suffix
;;
297 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
298 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
299 program_suffix
="$ac_optarg" ;;
301 -program-transform-name |
--program-transform-name \
302 |
--program-transform-nam |
--program-transform-na \
303 |
--program-transform-n |
--program-transform- \
304 |
--program-transform |
--program-transfor \
305 |
--program-transfo |
--program-transf \
306 |
--program-trans |
--program-tran \
307 |
--progr-tra |
--program-tr |
--program-t)
308 ac_prev
=program_transform_name
;;
309 -program-transform-name=* |
--program-transform-name=* \
310 |
--program-transform-nam=* |
--program-transform-na=* \
311 |
--program-transform-n=* |
--program-transform-=* \
312 |
--program-transform=* |
--program-transfor=* \
313 |
--program-transfo=* |
--program-transf=* \
314 |
--program-trans=* |
--program-tran=* \
315 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
316 program_transform_name
="$ac_optarg" ;;
318 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
319 |
-silent |
--silent |
--silen |
--sile |
--sil)
322 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
324 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
326 sbindir
="$ac_optarg" ;;
328 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
329 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
330 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
332 ac_prev
=sharedstatedir
;;
333 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
334 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
335 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
337 sharedstatedir
="$ac_optarg" ;;
339 -site |
--site |
--sit)
341 -site=* |
--site=* |
--sit=*)
344 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
346 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
347 sitefile
="$ac_optarg" ;;
349 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
351 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
352 srcdir
="$ac_optarg" ;;
354 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
355 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
356 ac_prev
=sysconfdir
;;
357 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
358 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
359 sysconfdir
="$ac_optarg" ;;
361 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
363 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
364 target
="$ac_optarg" ;;
366 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
369 -version |
--version |
--versio |
--versi |
--vers)
370 echo "configure generated by autoconf version 2.13"
374 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
375 # Reject names that are not valid shell variable names.
376 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
377 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
379 ac_package
=`echo $ac_package| sed 's/-/_/g'`
384 eval "with_${ac_package}='$ac_optarg'" ;;
386 -without-* |
--without-*)
387 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
388 # Reject names that are not valid shell variable names.
389 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
390 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
392 ac_package
=`echo $ac_package| sed 's/-/_/g'`
393 eval "with_${ac_package}=no" ;;
396 # Obsolete; use --with-x.
399 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
400 |
--x-incl |
--x-inc |
--x-in |
--x-i)
401 ac_prev
=x_includes
;;
402 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
403 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
404 x_includes
="$ac_optarg" ;;
406 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
407 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
408 ac_prev
=x_libraries
;;
409 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
410 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
411 x_libraries
="$ac_optarg" ;;
413 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
417 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
418 echo "configure: warning: $ac_option: invalid host type" 1>&2
420 if test "x$nonopt" != xNONE
; then
421 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
429 if test -n "$ac_prev"; then
430 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
433 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
435 # File descriptor usage:
438 # 2 errors and warnings
439 # 3 some systems may open it to /dev/tty
440 # 4 used on the Kubota Titan
441 # 6 checking for... messages and results
442 # 5 compiler messages saved in config.log
443 if test "$silent" = yes; then
451 This file contains any messages produced by compilers while
452 running configure, to aid debugging if configure makes a mistake.
455 # Strip out --no-create and --no-recursion so they do not pile up.
456 # Also quote any args containing shell metacharacters.
461 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
462 |
--no-cr |
--no-c) ;;
463 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
464 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
465 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
466 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
467 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
472 # Only set these to C if already set. These must not be set unconditionally
473 # because not all systems understand e.g. LANG=C (notably SCO).
474 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
475 # Non-C LC_CTYPE values break the ctype check.
476 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
477 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
478 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
479 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
481 # confdefs.h avoids OS command line length limits that DEFS can exceed.
482 rm -rf conftest
* confdefs.h
483 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
486 # A filename unique to this package, relative to the directory that
487 # configure is in, which we can look for to find out if srcdir is correct.
488 ac_unique_file
=sys.tex
490 # Find the source files, if location was not specified.
491 if test -z "$srcdir"; then
492 ac_srcdir_defaulted
=yes
493 # Try the directory containing this script, then its parent.
495 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
496 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
498 if test ! -r $srcdir/$ac_unique_file; then
502 ac_srcdir_defaulted
=no
504 if test ! -r $srcdir/$ac_unique_file; then
505 if test "$ac_srcdir_defaulted" = yes; then
506 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
508 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
511 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
513 # Prefer explicitly selected file to automatically selected ones.
514 if test -z "$sitefile"; then
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"
523 CONFIG_SITE
="$sitefile"
525 for ac_site_file
in $CONFIG_SITE; do
526 if test -r "$ac_site_file"; then
527 echo "loading site script $ac_site_file"
532 if test -r "$cache_file"; then
533 echo "loading cache $cache_file"
536 echo "creating cache $cache_file"
541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
542 ac_cpp
='$CPP $CPPFLAGS'
543 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
544 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
545 cross_compiling
=$ac_cv_prog_cc_cross
549 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
550 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
551 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
558 ac_n
= ac_c
='\c' ac_t
=
564 for ac_dir
in ..
/..
$srcdir/..
/..
; do
565 if test -f $ac_dir/install-sh
; then
567 ac_install_sh
="$ac_aux_dir/install-sh -c"
569 elif test -f $ac_dir/install.sh
; then
571 ac_install_sh
="$ac_aux_dir/install.sh -c"
575 if test -z "$ac_aux_dir"; then
576 { echo "configure: error: can not find install-sh or install.sh in ../.. $srcdir/../.." 1>&2; exit 1; }
578 ac_config_guess
=$ac_aux_dir/config.guess
579 ac_config_sub
=$ac_aux_dir/config.sub
580 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
583 # Find a good install program. We prefer a C program (faster),
584 # so one script is as good as another. But avoid the broken or
585 # incompatible versions:
586 # SysV /etc/install, /usr/sbin/install
587 # SunOS /usr/etc/install
590 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
591 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
592 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
593 # ./install, which can be erroneously created by make from ./install.sh.
594 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
595 echo "configure:596: checking for a BSD compatible install" >&5
596 if test -z "$INSTALL"; then
597 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
598 echo $ac_n "(cached) $ac_c" 1>&6
600 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
601 for ac_dir
in $PATH; do
602 # Account for people who put trailing slashes in PATH elements.
604 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
606 # OSF1 and SCO ODT 3.0 have their own names for install.
607 # Don't use installbsd from OSF since it installs stuff as root
609 for ac_prog
in ginstall scoinst
install; do
610 if test -f $ac_dir/$ac_prog; then
611 if test $ac_prog = install &&
612 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
613 # AIX install. It has an incompatible calling convention.
616 ac_cv_path_install
="$ac_dir/$ac_prog -c"
627 if test "${ac_cv_path_install+set}" = set; then
628 INSTALL
="$ac_cv_path_install"
630 # As a last resort, use the slow shell script. We don't cache a
631 # path for INSTALL within a source directory, because that will
632 # break other packages using the cache if that directory is
633 # removed, or if the path is relative.
634 INSTALL
="$ac_install_sh"
637 echo "$ac_t""$INSTALL" 1>&6
639 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
640 # It thinks the first close brace ends the variable substitution.
641 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
643 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
645 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
647 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
648 echo "configure:649: checking whether build environment is sane" >&5
651 echo timestamp
> conftestfile
652 # Do `set' in a subshell so we don't clobber the current shell's
653 # arguments. Must try -L first in case configure is actually a
654 # symlink; some systems play weird games with the mod time of symlinks
655 # (eg FreeBSD returns the mod time of the symlink's containing
658 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
659 if test "$*" = "X"; then
661 set X
`ls -t $srcdir/configure conftestfile`
663 if test "$*" != "X $srcdir/configure conftestfile" \
664 && test "$*" != "X conftestfile $srcdir/configure"; then
666 # If neither matched, then we have a broken ls. This can happen
667 # if, for instance, CONFIG_SHELL is bash and it inherits a
668 # broken ls alias from the environment. This has actually
669 # happened. Such a system could not be considered "sane".
670 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
671 alias in your environment" 1>&2; exit 1; }
674 test "$2" = conftestfile
680 { echo "configure: error: newly created file is older than distributed files!
681 Check your system clock" 1>&2; exit 1; }
684 echo "$ac_t""yes" 1>&6
685 if test "$program_transform_name" = s
,x
,x
,; then
686 program_transform_name
=
688 # Double any \ or $. echo might interpret backslashes.
689 cat <<\EOF_SED
> conftestsed
690 s
,\\,\\\\,g
; s
,\$
,$$
,g
692 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
695 test "$program_prefix" != NONE
&&
696 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
697 # Use a double $ so make ignores it.
698 test "$program_suffix" != NONE
&&
699 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
701 # sed with no file args requires a program.
702 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
704 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
705 echo "configure:706: checking whether ${MAKE-make} sets \${MAKE}" >&5
706 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
707 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
708 echo $ac_n "(cached) $ac_c" 1>&6
710 cat > conftestmake
<<\EOF
712 @
echo 'ac_maketemp="${MAKE}"'
714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
715 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
716 if test -n "$ac_maketemp"; then
717 eval ac_cv_prog_make_
${ac_make}_set
=yes
719 eval ac_cv_prog_make_
${ac_make}_set
=no
723 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
724 echo "$ac_t""yes" 1>&6
727 echo "$ac_t""no" 1>&6
728 SET_MAKE
="MAKE=${MAKE-make}"
731 if test $host != $build; then
732 ac_tool_prefix
=${host_alias}-
737 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
738 echo "configure:739: checking for Cygwin environment" >&5
739 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
740 echo $ac_n "(cached) $ac_c" 1>&6
742 cat > conftest.
$ac_ext <<EOF
743 #line 744 "configure"
744 #include "confdefs.h"
749 #define __CYGWIN__ __CYGWIN32__
754 if { (eval echo configure
:755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
758 echo "configure: failed program was:" >&5
759 cat conftest.
$ac_ext >&5
767 echo "$ac_t""$ac_cv_cygwin" 1>&6
769 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
770 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
771 echo "configure:772: checking for mingw32 environment" >&5
772 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
773 echo $ac_n "(cached) $ac_c" 1>&6
775 cat > conftest.
$ac_ext <<EOF
776 #line 777 "configure"
777 #include "confdefs.h"
783 if { (eval echo configure
:784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
787 echo "configure: failed program was:" >&5
788 cat conftest.
$ac_ext >&5
796 echo "$ac_t""$ac_cv_mingw32" 1>&6
798 test "$ac_cv_mingw32" = yes && MINGW32
=yes
800 # Check whether --enable-multilib or --disable-multilib was given.
801 if test "${enable_multilib+set}" = set; then
802 enableval
="$enable_multilib"
803 case "${enableval}" in
806 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
812 # Check whether --enable-target-optspace or --disable-target-optspace was given.
813 if test "${enable_target_optspace+set}" = set; then
814 enableval
="$enable_target_optspace"
815 case "${enableval}" in
816 yes) target_optspace
=yes ;;
817 no
) target_optspace
=no
;;
818 *) { echo "configure: error: bad value ${enableval} for target-optspace option" 1>&2; exit 1; } ;;
824 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
825 if test "${enable_malloc_debugging+set}" = set; then
826 enableval
="$enable_malloc_debugging"
827 case "${enableval}" in
828 yes) malloc_debugging
=yes ;;
829 no
) malloc_debugging
=no
;;
830 *) { echo "configure: error: bad value ${enableval} for malloc-debugging option" 1>&2; exit 1; } ;;
836 # Check whether --enable-newlib-mb or --disable-newlib-mb was given.
837 if test "${enable_newlib_mb+set}" = set; then
838 enableval
="$enable_newlib_mb"
839 case "${enableval}" in
840 yes) newlib_mb
=yes ;;
842 *) { echo "configure: error: bad value ${enableval} for newlib-mb option" 1>&2; exit 1; } ;;
848 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
849 if test "${enable_newlib_multithread+set}" = set; then
850 enableval
="$enable_newlib_multithread"
851 case "${enableval}" in
852 yes) newlib_multithread
=yes ;;
853 no
) newlib_multithread
=no
;;
854 *) { echo "configure: error: bad value ${enableval} for newlib-multithread option" 1>&2; exit 1; } ;;
857 newlib_multithread
=yes
860 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
861 if test "${enable_newlib_io_float+set}" = set; then
862 enableval
="$enable_newlib_io_float"
863 case "${enableval}" in
864 yes) newlib_io_float
=yes ;;
865 no
) newlib_io_float
=no
;;
866 *) { echo "configure: error: bad value ${enableval} for newlib-io-float option" 1>&2; exit 1; } ;;
874 test -z "${with_target_subdir}" && with_target_subdir
=.
876 if test "${srcdir}" = "."; then
877 if test "${with_target_subdir}" != "."; then
878 newlib_basedir
="${srcdir}/${with_multisrctop}../.."
880 newlib_basedir
="${srcdir}/${with_multisrctop}.."
883 newlib_basedir
="${srcdir}/.."
888 # Do some error checking and defaulting for the host and target type.
890 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
893 # 1. You are not allowed to specify --host, --target, and nonopt at the
895 # 2. Host defaults to nonopt.
896 # 3. If nonopt is not specified, then host defaults to the current host,
897 # as determined by config.guess.
898 # 4. Target and build default to nonopt.
899 # 5. If nonopt is not specified, then target and build default to host.
901 # The aliases save the names the user supplied, while $host etc.
902 # will get canonicalized.
903 case $host---$target---$nonopt in
904 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
905 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
909 # Make sure we can run config.sub.
910 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
911 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
914 echo $ac_n "checking host system type""... $ac_c" 1>&6
915 echo "configure:916: checking host system type" >&5
918 case "$host_alias" in
922 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
923 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
925 *) host_alias
=$nonopt ;;
929 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
930 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
931 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
932 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
933 echo "$ac_t""$host" 1>&6
935 echo $ac_n "checking target system type""... $ac_c" 1>&6
936 echo "configure:937: checking target system type" >&5
939 case "$target_alias" in
942 NONE
) target_alias
=$host_alias ;;
943 *) target_alias
=$nonopt ;;
947 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
948 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
949 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
950 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
951 echo "$ac_t""$target" 1>&6
953 echo $ac_n "checking build system type""... $ac_c" 1>&6
954 echo "configure:955: checking build system type" >&5
957 case "$build_alias" in
960 NONE
) build_alias
=$host_alias ;;
961 *) build_alias
=$nonopt ;;
965 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
966 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
967 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
968 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
969 echo "$ac_t""$build" 1>&6
971 test "$host_alias" != "$target_alias" &&
972 test "$program_prefix$program_suffix$program_transform_name" = \
974 program_prefix
=${target_alias}-
982 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
983 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
985 cat >> confdefs.h
<<EOF
986 #define PACKAGE "$PACKAGE"
989 cat >> confdefs.h
<<EOF
990 #define VERSION "$VERSION"
995 missing_dir
=`cd $ac_aux_dir && pwd`
996 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
997 echo "configure:998: checking for working aclocal" >&5
998 # Run test in a subshell; some versions of sh will print an error if
999 # an executable is not found, even if stderr is redirected.
1000 # Redirect stdin to placate older versions of autoconf. Sigh.
1001 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
1003 echo "$ac_t""found" 1>&6
1005 ACLOCAL
="$missing_dir/missing aclocal"
1006 echo "$ac_t""missing" 1>&6
1009 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1010 echo "configure:1011: checking for working autoconf" >&5
1011 # Run test in a subshell; some versions of sh will print an error if
1012 # an executable is not found, even if stderr is redirected.
1013 # Redirect stdin to placate older versions of autoconf. Sigh.
1014 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1016 echo "$ac_t""found" 1>&6
1018 AUTOCONF
="$missing_dir/missing autoconf"
1019 echo "$ac_t""missing" 1>&6
1022 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1023 echo "configure:1024: checking for working automake" >&5
1024 # Run test in a subshell; some versions of sh will print an error if
1025 # an executable is not found, even if stderr is redirected.
1026 # Redirect stdin to placate older versions of autoconf. Sigh.
1027 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1029 echo "$ac_t""found" 1>&6
1031 AUTOMAKE
="$missing_dir/missing automake"
1032 echo "$ac_t""missing" 1>&6
1035 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1036 echo "configure:1037: checking for working autoheader" >&5
1037 # Run test in a subshell; some versions of sh will print an error if
1038 # an executable is not found, even if stderr is redirected.
1039 # Redirect stdin to placate older versions of autoconf. Sigh.
1040 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1041 AUTOHEADER
=autoheader
1042 echo "$ac_t""found" 1>&6
1044 AUTOHEADER
="$missing_dir/missing autoheader"
1045 echo "$ac_t""missing" 1>&6
1048 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1049 echo "configure:1050: checking for working makeinfo" >&5
1050 # Run test in a subshell; some versions of sh will print an error if
1051 # an executable is not found, even if stderr is redirected.
1052 # Redirect stdin to placate older versions of autoconf. Sigh.
1053 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1055 echo "$ac_t""found" 1>&6
1057 MAKEINFO
="$missing_dir/missing makeinfo"
1058 echo "$ac_t""missing" 1>&6
1063 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1064 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1065 # are probably using a cross compiler, which will not be able to fully
1066 # link an executable. This should really be fixed in autoconf
1071 # Extract the first word of "gcc", so it can be a program name with args.
1072 set dummy gcc
; ac_word
=$2
1073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1074 echo "configure:1075: checking for $ac_word" >&5
1075 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1076 echo $ac_n "(cached) $ac_c" 1>&6
1078 if test -n "$CC"; then
1079 ac_cv_prog_CC
="$CC" # Let the user override the test.
1081 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1083 for ac_dir
in $ac_dummy; do
1084 test -z "$ac_dir" && ac_dir
=.
1085 if test -f $ac_dir/$ac_word; then
1094 if test -n "$CC"; then
1095 echo "$ac_t""$CC" 1>&6
1097 echo "$ac_t""no" 1>&6
1100 if test -z "$CC"; then
1101 # Extract the first word of "cc", so it can be a program name with args.
1102 set dummy cc
; ac_word
=$2
1103 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1104 echo "configure:1105: checking for $ac_word" >&5
1105 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1106 echo $ac_n "(cached) $ac_c" 1>&6
1108 if test -n "$CC"; then
1109 ac_cv_prog_CC
="$CC" # Let the user override the test.
1111 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1114 for ac_dir
in $ac_dummy; do
1115 test -z "$ac_dir" && ac_dir
=.
1116 if test -f $ac_dir/$ac_word; then
1117 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1118 ac_prog_rejected
=yes
1126 if test $ac_prog_rejected = yes; then
1127 # We found a bogon in the path, so make sure we never use it.
1128 set dummy
$ac_cv_prog_CC
1130 if test $# -gt 0; then
1131 # We chose a different compiler from the bogus one.
1132 # However, it has the same basename, so the bogon will be chosen
1133 # first if we set CC to just the basename; use the full file name.
1135 set dummy
"$ac_dir/$ac_word" "$@"
1143 if test -n "$CC"; then
1144 echo "$ac_t""$CC" 1>&6
1146 echo "$ac_t""no" 1>&6
1149 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1152 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1153 echo "configure:1154: checking whether we are using GNU C" >&5
1154 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1155 echo $ac_n "(cached) $ac_c" 1>&6
1157 cat > conftest.c
<<EOF
1162 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1169 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1171 if test $ac_cv_prog_gcc = yes; then
1173 ac_test_CFLAGS
="${CFLAGS+set}"
1174 ac_save_CFLAGS
="$CFLAGS"
1176 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1177 echo "configure:1178: checking whether ${CC-cc} accepts -g" >&5
1178 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1179 echo $ac_n "(cached) $ac_c" 1>&6
1181 echo 'void f(){}' > conftest.c
1182 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1191 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1192 if test "$ac_test_CFLAGS" = set; then
1193 CFLAGS
="$ac_save_CFLAGS"
1194 elif test $ac_cv_prog_cc_g = yes; then
1201 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1205 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1206 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1207 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1208 echo "configure:1209: checking for $ac_word" >&5
1209 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1210 echo $ac_n "(cached) $ac_c" 1>&6
1212 if test -n "$AS"; then
1213 ac_cv_prog_AS
="$AS" # Let the user override the test.
1215 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1217 for ac_dir
in $ac_dummy; do
1218 test -z "$ac_dir" && ac_dir
=.
1219 if test -f $ac_dir/$ac_word; then
1220 ac_cv_prog_AS
="${ac_tool_prefix}as"
1225 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1229 if test -n "$AS"; then
1230 echo "$ac_t""$AS" 1>&6
1232 echo "$ac_t""no" 1>&6
1237 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1238 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1239 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1240 echo "configure:1241: checking for $ac_word" >&5
1241 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1242 echo $ac_n "(cached) $ac_c" 1>&6
1244 if test -n "$AR"; then
1245 ac_cv_prog_AR
="$AR" # Let the user override the test.
1247 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1249 for ac_dir
in $ac_dummy; do
1250 test -z "$ac_dir" && ac_dir
=.
1251 if test -f $ac_dir/$ac_word; then
1252 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1257 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1261 if test -n "$AR"; then
1262 echo "$ac_t""$AR" 1>&6
1264 echo "$ac_t""no" 1>&6
1269 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1270 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1271 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1272 echo "configure:1273: checking for $ac_word" >&5
1273 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1274 echo $ac_n "(cached) $ac_c" 1>&6
1276 if test -n "$RANLIB"; then
1277 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1279 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1281 for ac_dir
in $ac_dummy; do
1282 test -z "$ac_dir" && ac_dir
=.
1283 if test -f $ac_dir/$ac_word; then
1284 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1291 RANLIB
="$ac_cv_prog_RANLIB"
1292 if test -n "$RANLIB"; then
1293 echo "$ac_t""$RANLIB" 1>&6
1295 echo "$ac_t""no" 1>&6
1299 if test -z "$ac_cv_prog_RANLIB"; then
1300 if test -n "$ac_tool_prefix"; then
1301 # Extract the first word of "ranlib", so it can be a program name with args.
1302 set dummy ranlib
; ac_word
=$2
1303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1304 echo "configure:1305: checking for $ac_word" >&5
1305 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1306 echo $ac_n "(cached) $ac_c" 1>&6
1308 if test -n "$RANLIB"; then
1309 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1311 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1313 for ac_dir
in $ac_dummy; do
1314 test -z "$ac_dir" && ac_dir
=.
1315 if test -f $ac_dir/$ac_word; then
1316 ac_cv_prog_RANLIB
="ranlib"
1321 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1324 RANLIB
="$ac_cv_prog_RANLIB"
1325 if test -n "$RANLIB"; then
1326 echo "$ac_t""$RANLIB" 1>&6
1328 echo "$ac_t""no" 1>&6
1337 # Find a good install program. We prefer a C program (faster),
1338 # so one script is as good as another. But avoid the broken or
1339 # incompatible versions:
1340 # SysV /etc/install, /usr/sbin/install
1341 # SunOS /usr/etc/install
1342 # IRIX /sbin/install
1344 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1345 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1346 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1347 # ./install, which can be erroneously created by make from ./install.sh.
1348 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1349 echo "configure:1350: checking for a BSD compatible install" >&5
1350 if test -z "$INSTALL"; then
1351 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1352 echo $ac_n "(cached) $ac_c" 1>&6
1354 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1355 for ac_dir
in $PATH; do
1356 # Account for people who put trailing slashes in PATH elements.
1358 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1360 # OSF1 and SCO ODT 3.0 have their own names for install.
1361 # Don't use installbsd from OSF since it installs stuff as root
1363 for ac_prog
in ginstall scoinst
install; do
1364 if test -f $ac_dir/$ac_prog; then
1365 if test $ac_prog = install &&
1366 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1367 # AIX install. It has an incompatible calling convention.
1370 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1381 if test "${ac_cv_path_install+set}" = set; then
1382 INSTALL
="$ac_cv_path_install"
1384 # As a last resort, use the slow shell script. We don't cache a
1385 # path for INSTALL within a source directory, because that will
1386 # break other packages using the cache if that directory is
1387 # removed, or if the path is relative.
1388 INSTALL
="$ac_install_sh"
1391 echo "$ac_t""$INSTALL" 1>&6
1393 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1394 # It thinks the first close brace ends the variable substitution.
1395 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1397 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1399 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1402 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1403 echo "configure:1404: checking whether to enable maintainer-specific portions of Makefiles" >&5
1404 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1405 if test "${enable_maintainer_mode+set}" = set; then
1406 enableval
="$enable_maintainer_mode"
1407 USE_MAINTAINER_MODE
=$enableval
1409 USE_MAINTAINER_MODE
=no
1412 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1415 if test $USE_MAINTAINER_MODE = yes; then
1416 MAINTAINER_MODE_TRUE
=
1417 MAINTAINER_MODE_FALSE
='#'
1419 MAINTAINER_MODE_TRUE
='#'
1420 MAINTAINER_MODE_FALSE
=
1422 MAINT
=$MAINTAINER_MODE_TRUE
1426 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1427 # at least currently, we never actually build a program, so we never
1428 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1429 # fails, because we are probably configuring with a cross compiler
1430 # which can't create executables. So we include AC_EXEEXT to keep
1431 # automake happy, but we don't execute it, since we don't care about
1436 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1437 echo "configure:1438: checking for executable suffix" >&5
1438 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1439 echo $ac_n "(cached) $ac_c" 1>&6
1441 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1445 echo 'int main () { return 0; }' > conftest.
$ac_ext
1447 if { (eval echo configure
:1448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1448 for file in conftest.
*; do
1450 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
1451 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1455 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1458 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1463 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1464 echo "$ac_t""${ac_cv_exeext}" 1>&6
1469 .
${newlib_basedir}/configure.
host
1471 newlib_cflags
="${newlib_cflags} -fno-builtin"
1473 NEWLIB_CFLAGS
=${newlib_cflags}
1481 if test x
${use_libtool} = xyes
; then
1483 USE_LIBTOOL_FALSE
='#'
1485 USE_LIBTOOL_TRUE
='#'
1489 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
1490 # use oext, which is set in configure.host based on the target platform.
1503 if test "${use_libtool}" = "yes"; then
1505 # Check whether --enable-shared or --disable-shared was given.
1506 if test "${enable_shared+set}" = set; then
1507 enableval
="$enable_shared"
1508 p
=${PACKAGE-default}
1510 yes) enable_shared
=yes ;;
1511 no
) enable_shared
=no
;;
1514 # Look at the argument we got. We use all the common list separators.
1515 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1516 for pkg
in $enableval; do
1517 if test "X$pkg" = "X$p"; then
1528 # Check whether --enable-static or --disable-static was given.
1529 if test "${enable_static+set}" = set; then
1530 enableval
="$enable_static"
1531 p
=${PACKAGE-default}
1533 yes) enable_static
=yes ;;
1534 no
) enable_static
=no
;;
1537 # Look at the argument we got. We use all the common list separators.
1538 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1539 for pkg
in $enableval; do
1540 if test "X$pkg" = "X$p"; then
1551 # Check whether --enable-fast-install or --disable-fast-install was given.
1552 if test "${enable_fast_install+set}" = set; then
1553 enableval
="$enable_fast_install"
1554 p
=${PACKAGE-default}
1556 yes) enable_fast_install
=yes ;;
1557 no
) enable_fast_install
=no
;;
1559 enable_fast_install
=no
1560 # Look at the argument we got. We use all the common list separators.
1561 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1562 for pkg
in $enableval; do
1563 if test "X$pkg" = "X$p"; then
1564 enable_fast_install
=yes
1571 enable_fast_install
=yes
1574 # Extract the first word of "gcc", so it can be a program name with args.
1575 set dummy gcc
; ac_word
=$2
1576 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1577 echo "configure:1578: checking for $ac_word" >&5
1578 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1579 echo $ac_n "(cached) $ac_c" 1>&6
1581 if test -n "$CC"; then
1582 ac_cv_prog_CC
="$CC" # Let the user override the test.
1584 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1586 for ac_dir
in $ac_dummy; do
1587 test -z "$ac_dir" && ac_dir
=.
1588 if test -f $ac_dir/$ac_word; then
1597 if test -n "$CC"; then
1598 echo "$ac_t""$CC" 1>&6
1600 echo "$ac_t""no" 1>&6
1603 if test -z "$CC"; then
1604 # Extract the first word of "cc", so it can be a program name with args.
1605 set dummy cc
; ac_word
=$2
1606 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1607 echo "configure:1608: checking for $ac_word" >&5
1608 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1609 echo $ac_n "(cached) $ac_c" 1>&6
1611 if test -n "$CC"; then
1612 ac_cv_prog_CC
="$CC" # Let the user override the test.
1614 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1617 for ac_dir
in $ac_dummy; do
1618 test -z "$ac_dir" && ac_dir
=.
1619 if test -f $ac_dir/$ac_word; then
1620 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1621 ac_prog_rejected
=yes
1629 if test $ac_prog_rejected = yes; then
1630 # We found a bogon in the path, so make sure we never use it.
1631 set dummy
$ac_cv_prog_CC
1633 if test $# -gt 0; then
1634 # We chose a different compiler from the bogus one.
1635 # However, it has the same basename, so the bogon will be chosen
1636 # first if we set CC to just the basename; use the full file name.
1638 set dummy
"$ac_dir/$ac_word" "$@"
1646 if test -n "$CC"; then
1647 echo "$ac_t""$CC" 1>&6
1649 echo "$ac_t""no" 1>&6
1652 if test -z "$CC"; then
1653 case "`uname -s`" in
1655 # Extract the first word of "cl", so it can be a program name with args.
1656 set dummy cl
; ac_word
=$2
1657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1658 echo "configure:1659: checking for $ac_word" >&5
1659 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1660 echo $ac_n "(cached) $ac_c" 1>&6
1662 if test -n "$CC"; then
1663 ac_cv_prog_CC
="$CC" # Let the user override the test.
1665 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1667 for ac_dir
in $ac_dummy; do
1668 test -z "$ac_dir" && ac_dir
=.
1669 if test -f $ac_dir/$ac_word; then
1678 if test -n "$CC"; then
1679 echo "$ac_t""$CC" 1>&6
1681 echo "$ac_t""no" 1>&6
1686 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1689 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1690 echo "configure:1691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1694 ac_cpp
='$CPP $CPPFLAGS'
1695 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1696 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1697 cross_compiling
=$ac_cv_prog_cc_cross
1699 cat > conftest.
$ac_ext << EOF
1701 #line 1702 "configure"
1702 #include "confdefs.h"
1706 if { (eval echo configure
:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1707 ac_cv_prog_cc_works
=yes
1708 # If we can't run a trivial program, we are probably using a cross compiler.
1709 if (.
/conftest
; exit) 2>/dev
/null
; then
1710 ac_cv_prog_cc_cross
=no
1712 ac_cv_prog_cc_cross
=yes
1715 echo "configure: failed program was:" >&5
1716 cat conftest.
$ac_ext >&5
1717 ac_cv_prog_cc_works
=no
1721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1722 ac_cpp
='$CPP $CPPFLAGS'
1723 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1724 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1725 cross_compiling
=$ac_cv_prog_cc_cross
1727 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1728 if test $ac_cv_prog_cc_works = no
; then
1729 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1731 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1732 echo "configure:1733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1733 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1734 cross_compiling
=$ac_cv_prog_cc_cross
1736 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1737 echo "configure:1738: checking whether we are using GNU C" >&5
1738 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1739 echo $ac_n "(cached) $ac_c" 1>&6
1741 cat > conftest.c
<<EOF
1746 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1753 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1755 if test $ac_cv_prog_gcc = yes; then
1761 ac_test_CFLAGS
="${CFLAGS+set}"
1762 ac_save_CFLAGS
="$CFLAGS"
1764 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1765 echo "configure:1766: checking whether ${CC-cc} accepts -g" >&5
1766 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1767 echo $ac_n "(cached) $ac_c" 1>&6
1769 echo 'void f(){}' > conftest.c
1770 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1779 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1780 if test "$ac_test_CFLAGS" = set; then
1781 CFLAGS
="$ac_save_CFLAGS"
1782 elif test $ac_cv_prog_cc_g = yes; then
1783 if test "$GCC" = yes; then
1789 if test "$GCC" = yes; then
1796 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1797 if test "${with_gnu_ld+set}" = set; then
1798 withval
="$with_gnu_ld"
1799 test "$withval" = no || with_gnu_ld
=yes
1805 if test "$GCC" = yes; then
1806 # Check if gcc -print-prog-name=ld gives a path.
1807 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1808 echo "configure:1809: checking for ld used by GCC" >&5
1811 # gcc leaves a trailing carriage return which upsets mingw
1812 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1814 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
1817 # Accept absolute paths.
1818 [\\/]* |
[A-Za-z
]:[\\/]*)
1819 re_direlt
='/[^/][^/]*/\.\./'
1820 # Canonicalize the path of ld
1821 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1822 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1823 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1825 test -z "$LD" && LD
="$ac_prog"
1828 # If it fails, then pretend we aren't using GCC.
1832 # If it is relative, then search for the first ld in PATH.
1836 elif test "$with_gnu_ld" = yes; then
1837 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1838 echo "configure:1839: checking for GNU ld" >&5
1840 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1841 echo "configure:1842: checking for non-GNU ld" >&5
1843 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1844 echo $ac_n "(cached) $ac_c" 1>&6
1846 if test -z "$LD"; then
1847 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1848 for ac_dir
in $PATH; do
1849 test -z "$ac_dir" && ac_dir
=.
1850 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1851 lt_cv_path_LD
="$ac_dir/$ac_prog"
1852 # Check to see if the program is GNU ld. I'd rather use --version,
1853 # but apparently some GNU ld's only accept -v.
1854 # Break only if it was the GNU/non-GNU ld that we prefer.
1855 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1856 test "$with_gnu_ld" != no
&& break
1858 test "$with_gnu_ld" != yes && break
1864 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
1869 if test -n "$LD"; then
1870 echo "$ac_t""$LD" 1>&6
1872 echo "$ac_t""no" 1>&6
1874 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1875 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1876 echo "configure:1877: checking if the linker ($LD) is GNU ld" >&5
1877 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1878 echo $ac_n "(cached) $ac_c" 1>&6
1880 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1881 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1882 lt_cv_prog_gnu_ld
=yes
1884 lt_cv_prog_gnu_ld
=no
1888 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1889 with_gnu_ld
=$lt_cv_prog_gnu_ld
1892 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1893 echo "configure:1894: checking for $LD option to reload object files" >&5
1894 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1895 echo $ac_n "(cached) $ac_c" 1>&6
1897 lt_cv_ld_reload_flag
='-r'
1900 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1901 reload_flag
=$lt_cv_ld_reload_flag
1902 test -n "$reload_flag" && reload_flag
=" $reload_flag"
1904 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1905 echo "configure:1906: checking for BSD-compatible nm" >&5
1906 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1907 echo $ac_n "(cached) $ac_c" 1>&6
1909 if test -n "$NM"; then
1910 # Let the user override the test.
1913 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1914 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1915 test -z "$ac_dir" && ac_dir
=.
1916 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
1917 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
1918 # Check to see if the nm accepts a BSD-compat flag.
1919 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1920 # nm: unknown option "B" ignored
1921 # Tru64's nm complains that /dev/null is an invalid object file
1922 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
1923 lt_cv_path_NM
="$tmp_nm -B"
1925 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1926 lt_cv_path_NM
="$tmp_nm -p"
1929 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1930 continue # so that we can try to find one that supports BSD flags
1935 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
1940 echo "$ac_t""$NM" 1>&6
1942 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1943 echo "configure:1944: checking whether ln -s works" >&5
1944 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1945 echo $ac_n "(cached) $ac_c" 1>&6
1948 if ln -s X conftestdata
2>/dev
/null
1951 ac_cv_prog_LN_S
="ln -s"
1956 LN_S
="$ac_cv_prog_LN_S"
1957 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1958 echo "$ac_t""yes" 1>&6
1960 echo "$ac_t""no" 1>&6
1963 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1964 echo "configure:1965: checking how to recognise dependant libraries" >&5
1965 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1966 echo $ac_n "(cached) $ac_c" 1>&6
1968 lt_cv_file_magic_cmd
='$MAGIC_CMD'
1969 lt_cv_file_magic_test_file
=
1970 lt_cv_deplibs_check_method
='unknown'
1971 # Need to set the preceding variable on all platforms that support
1972 # interlibrary dependencies.
1973 # 'none' -- dependencies not supported.
1974 # `unknown' -- same as none, but documents that we really don't know.
1975 # 'pass_all' -- all dependencies passed with no checks.
1976 # 'test_compile' -- check by making test program.
1977 # 'file_magic [regex]' -- check by looking for files in library path
1978 # which responds to the $file_magic_cmd with a given egrep regex.
1979 # If you have `file' or equivalent on your system and you're not sure
1980 # whether `pass_all' will *always* work, you probably want this one.
1984 lt_cv_deplibs_check_method
=pass_all
1988 lt_cv_deplibs_check_method
=pass_all
1992 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1993 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1994 lt_cv_file_magic_test_file
=/shlib
/libc.so
1997 cygwin
* | mingw
* |pw32
*)
1998 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
1999 lt_cv_file_magic_cmd
='$OBJDUMP -f'
2002 darwin
* | rhapsody
*)
2003 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
2004 lt_cv_file_magic_cmd
='/usr/bin/file -L'
2006 rhapsody
* | darwin1.012
)
2007 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
2010 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
2016 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
2019 # Not sure whether the presence of OpenBSD here was a mistake.
2020 # Let's accept both of them until this is cleared up.
2021 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2022 lt_cv_file_magic_cmd
=/usr
/bin
/file
2023 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
2027 lt_cv_deplibs_check_method
=pass_all
2032 lt_cv_deplibs_check_method
=pass_all
2038 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2039 lt_cv_file_magic_cmd
=/usr
/bin
/file
2040 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
2043 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
2044 lt_cv_file_magic_cmd
=/usr
/bin
/file
2045 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
2053 # this will be overridden with pass_all, but let us keep it just in case
2054 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2058 *-32|
*"-32 ") libmagic
=32-bit;;
2059 *-n32|
*"-n32 ") libmagic
=N32
;;
2060 *-64|
*"-64 ") libmagic
=64-bit;;
2061 *) libmagic
=never-match
;;
2063 # this will be overridden with pass_all, but let us keep it just in case
2064 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2067 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
2068 lt_cv_deplibs_check_method
=pass_all
2071 # This must be Linux ELF.
2074 alpha
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
2075 lt_cv_deplibs_check_method
=pass_all
;;
2077 # glibc up to 2.1.1 does not perform some relocations on ARM
2078 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2080 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
2084 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
2085 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2087 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
2092 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2093 lt_cv_file_magic_cmd
=/usr
/bin
/file
2094 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
2097 osf3
* | osf4
* | osf5
*)
2098 # this will be overridden with pass_all, but let us keep it just in case
2099 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
2100 lt_cv_file_magic_test_file
=/shlib
/libc.so
2101 lt_cv_deplibs_check_method
=pass_all
2105 lt_cv_deplibs_check_method
=pass_all
2109 lt_cv_deplibs_check_method
=pass_all
2110 lt_cv_file_magic_test_file
=/lib
/libc.so
2113 sysv5uw
[78]* | sysv4
*uw2
*)
2114 lt_cv_deplibs_check_method
=pass_all
2117 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
2118 case $host_vendor in
2120 lt_cv_deplibs_check_method
=pass_all
2123 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]'
2124 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
2132 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2133 file_magic_cmd
=$lt_cv_file_magic_cmd
2134 deplibs_check_method
=$lt_cv_deplibs_check_method
2136 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2137 echo "configure:2138: checking for object suffix" >&5
2138 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2139 echo $ac_n "(cached) $ac_c" 1>&6
2142 echo 'int i = 1;' > conftest.
$ac_ext
2143 if { (eval echo configure
:2144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2144 for ac_file
in conftest.
*; do
2147 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
2151 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2156 echo "$ac_t""$ac_cv_objext" 1>&6
2157 OBJEXT
=$ac_cv_objext
2158 ac_objext
=$ac_cv_objext
2160 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2162 # Only perform the check for file, if the check method requires it
2163 case $deplibs_check_method in
2165 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2166 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2167 echo "configure:2168: checking for ${ac_tool_prefix}file" >&5
2168 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2169 echo $ac_n "(cached) $ac_c" 1>&6
2173 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2176 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2179 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2180 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2181 ac_dummy
="/usr/bin:$PATH"
2182 for ac_dir
in $ac_dummy; do
2183 test -z "$ac_dir" && ac_dir
=.
2184 if test -f $ac_dir/${ac_tool_prefix}file; then
2185 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
2186 if test -n "$file_magic_test_file"; then
2187 case $deplibs_check_method in
2189 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2190 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2191 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2192 egrep "$file_magic_regex" > /dev
/null
; then
2197 *** Warning: the command libtool uses to detect shared libraries,
2198 *** $file_magic_cmd, produces output that libtool cannot recognize.
2199 *** The result is that libtool may fail to recognize shared libraries
2200 *** as such. This will affect the creation of libtool libraries that
2201 *** depend on shared libraries, but programs linked with such libtool
2202 *** libraries will work regardless of this problem. Nevertheless, you
2203 *** may want to report the problem to your system manager and/or to
2204 *** bug-libtool@gnu.org
2214 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2219 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2220 if test -n "$MAGIC_CMD"; then
2221 echo "$ac_t""$MAGIC_CMD" 1>&6
2223 echo "$ac_t""no" 1>&6
2226 if test -z "$lt_cv_path_MAGIC_CMD"; then
2227 if test -n "$ac_tool_prefix"; then
2228 echo $ac_n "checking for file""... $ac_c" 1>&6
2229 echo "configure:2230: checking for file" >&5
2230 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2231 echo $ac_n "(cached) $ac_c" 1>&6
2235 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2238 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2241 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2242 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2243 ac_dummy
="/usr/bin:$PATH"
2244 for ac_dir
in $ac_dummy; do
2245 test -z "$ac_dir" && ac_dir
=.
2246 if test -f $ac_dir/file; then
2247 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
2248 if test -n "$file_magic_test_file"; then
2249 case $deplibs_check_method in
2251 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2252 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2253 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2254 egrep "$file_magic_regex" > /dev
/null
; then
2259 *** Warning: the command libtool uses to detect shared libraries,
2260 *** $file_magic_cmd, produces output that libtool cannot recognize.
2261 *** The result is that libtool may fail to recognize shared libraries
2262 *** as such. This will affect the creation of libtool libraries that
2263 *** depend on shared libraries, but programs linked with such libtool
2264 *** libraries will work regardless of this problem. Nevertheless, you
2265 *** may want to report the problem to your system manager and/or to
2266 *** bug-libtool@gnu.org
2276 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2281 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2282 if test -n "$MAGIC_CMD"; then
2283 echo "$ac_t""$MAGIC_CMD" 1>&6
2285 echo "$ac_t""no" 1>&6
2297 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2298 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2299 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2300 echo "configure:2301: checking for $ac_word" >&5
2301 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2302 echo $ac_n "(cached) $ac_c" 1>&6
2304 if test -n "$RANLIB"; then
2305 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2307 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2309 for ac_dir
in $ac_dummy; do
2310 test -z "$ac_dir" && ac_dir
=.
2311 if test -f $ac_dir/$ac_word; then
2312 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2319 RANLIB
="$ac_cv_prog_RANLIB"
2320 if test -n "$RANLIB"; then
2321 echo "$ac_t""$RANLIB" 1>&6
2323 echo "$ac_t""no" 1>&6
2327 if test -z "$ac_cv_prog_RANLIB"; then
2328 if test -n "$ac_tool_prefix"; then
2329 # Extract the first word of "ranlib", so it can be a program name with args.
2330 set dummy ranlib
; ac_word
=$2
2331 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2332 echo "configure:2333: checking for $ac_word" >&5
2333 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2334 echo $ac_n "(cached) $ac_c" 1>&6
2336 if test -n "$RANLIB"; then
2337 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2339 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2341 for ac_dir
in $ac_dummy; do
2342 test -z "$ac_dir" && ac_dir
=.
2343 if test -f $ac_dir/$ac_word; then
2344 ac_cv_prog_RANLIB
="ranlib"
2349 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2352 RANLIB
="$ac_cv_prog_RANLIB"
2353 if test -n "$RANLIB"; then
2354 echo "$ac_t""$RANLIB" 1>&6
2356 echo "$ac_t""no" 1>&6
2364 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2365 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2367 echo "configure:2368: checking for $ac_word" >&5
2368 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2369 echo $ac_n "(cached) $ac_c" 1>&6
2371 if test -n "$STRIP"; then
2372 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2374 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2376 for ac_dir
in $ac_dummy; do
2377 test -z "$ac_dir" && ac_dir
=.
2378 if test -f $ac_dir/$ac_word; then
2379 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2386 STRIP
="$ac_cv_prog_STRIP"
2387 if test -n "$STRIP"; then
2388 echo "$ac_t""$STRIP" 1>&6
2390 echo "$ac_t""no" 1>&6
2394 if test -z "$ac_cv_prog_STRIP"; then
2395 if test -n "$ac_tool_prefix"; then
2396 # Extract the first word of "strip", so it can be a program name with args.
2397 set dummy strip
; ac_word
=$2
2398 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2399 echo "configure:2400: checking for $ac_word" >&5
2400 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2401 echo $ac_n "(cached) $ac_c" 1>&6
2403 if test -n "$STRIP"; then
2404 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2406 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2408 for ac_dir
in $ac_dummy; do
2409 test -z "$ac_dir" && ac_dir
=.
2410 if test -f $ac_dir/$ac_word; then
2411 ac_cv_prog_STRIP
="strip"
2416 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2419 STRIP
="$ac_cv_prog_STRIP"
2420 if test -n "$STRIP"; then
2421 echo "$ac_t""$STRIP" 1>&6
2423 echo "$ac_t""no" 1>&6
2432 # Check for any special flags to pass to ltconfig.
2433 libtool_flags
="--cache-file=$cache_file"
2434 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
2435 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
2436 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
2437 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
2438 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
2440 libtool_flags
="$libtool_flags --enable-win32-dll"
2441 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2442 if test "${enable_libtool_lock+set}" = set; then
2443 enableval
="$enable_libtool_lock"
2447 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
2448 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
2450 # Check whether --with-pic or --without-pic was given.
2451 if test "${with_pic+set}" = set; then
2458 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
2459 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
2461 # Some flags need to be propagated to the compiler or linker for good
2465 # Find out which ABI we are using.
2466 echo '#line 2467 "configure"' > conftest.
$ac_ext
2467 if { (eval echo configure
:2468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2468 case `/usr/bin/file conftest.$ac_objext` in
2484 # Find out which ABI we are using.
2485 echo 'int i;' > conftest.
$ac_ext
2486 if { (eval echo configure
:2487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2487 case "`/usr/bin/file conftest.o`" in
2500 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2501 SAVE_CFLAGS
="$CFLAGS"
2502 CFLAGS
="$CFLAGS -belf"
2503 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2504 echo "configure:2505: checking whether the C compiler needs -belf" >&5
2505 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2506 echo $ac_n "(cached) $ac_c" 1>&6
2510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2511 ac_cpp
='$CPP $CPPFLAGS'
2512 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2513 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2514 cross_compiling
=$ac_cv_prog_cc_cross
2516 cat > conftest.
$ac_ext <<EOF
2517 #line 2518 "configure"
2518 #include "confdefs.h"
2524 if { (eval echo configure
:2525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2526 lt_cv_cc_needs_belf
=yes
2528 echo "configure: failed program was:" >&5
2529 cat conftest.
$ac_ext >&5
2531 lt_cv_cc_needs_belf
=no
2535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2536 ac_cpp
='$CPP $CPPFLAGS'
2537 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2538 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2539 cross_compiling
=$ac_cv_prog_cc_cross
2543 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2544 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
2545 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2546 CFLAGS
="$SAVE_CFLAGS"
2550 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
2551 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2552 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
2553 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2554 echo "configure:2555: checking for $ac_word" >&5
2555 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2556 echo $ac_n "(cached) $ac_c" 1>&6
2558 if test -n "$DLLTOOL"; then
2559 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
2561 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2563 for ac_dir
in $ac_dummy; do
2564 test -z "$ac_dir" && ac_dir
=.
2565 if test -f $ac_dir/$ac_word; then
2566 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
2573 DLLTOOL
="$ac_cv_prog_DLLTOOL"
2574 if test -n "$DLLTOOL"; then
2575 echo "$ac_t""$DLLTOOL" 1>&6
2577 echo "$ac_t""no" 1>&6
2581 if test -z "$ac_cv_prog_DLLTOOL"; then
2582 if test -n "$ac_tool_prefix"; then
2583 # Extract the first word of "dlltool", so it can be a program name with args.
2584 set dummy dlltool
; ac_word
=$2
2585 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2586 echo "configure:2587: checking for $ac_word" >&5
2587 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2588 echo $ac_n "(cached) $ac_c" 1>&6
2590 if test -n "$DLLTOOL"; then
2591 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
2593 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2595 for ac_dir
in $ac_dummy; do
2596 test -z "$ac_dir" && ac_dir
=.
2597 if test -f $ac_dir/$ac_word; then
2598 ac_cv_prog_DLLTOOL
="dlltool"
2603 test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL
="false"
2606 DLLTOOL
="$ac_cv_prog_DLLTOOL"
2607 if test -n "$DLLTOOL"; then
2608 echo "$ac_t""$DLLTOOL" 1>&6
2610 echo "$ac_t""no" 1>&6
2618 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2619 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2621 echo "configure:2622: checking for $ac_word" >&5
2622 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2623 echo $ac_n "(cached) $ac_c" 1>&6
2625 if test -n "$AS"; then
2626 ac_cv_prog_AS
="$AS" # Let the user override the test.
2628 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2630 for ac_dir
in $ac_dummy; do
2631 test -z "$ac_dir" && ac_dir
=.
2632 if test -f $ac_dir/$ac_word; then
2633 ac_cv_prog_AS
="${ac_tool_prefix}as"
2641 if test -n "$AS"; then
2642 echo "$ac_t""$AS" 1>&6
2644 echo "$ac_t""no" 1>&6
2648 if test -z "$ac_cv_prog_AS"; then
2649 if test -n "$ac_tool_prefix"; then
2650 # Extract the first word of "as", so it can be a program name with args.
2651 set dummy as
; ac_word
=$2
2652 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2653 echo "configure:2654: checking for $ac_word" >&5
2654 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2655 echo $ac_n "(cached) $ac_c" 1>&6
2657 if test -n "$AS"; then
2658 ac_cv_prog_AS
="$AS" # Let the user override the test.
2660 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2662 for ac_dir
in $ac_dummy; do
2663 test -z "$ac_dir" && ac_dir
=.
2664 if test -f $ac_dir/$ac_word; then
2670 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="false"
2674 if test -n "$AS"; then
2675 echo "$ac_t""$AS" 1>&6
2677 echo "$ac_t""no" 1>&6
2685 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
2686 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
2687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2688 echo "configure:2689: checking for $ac_word" >&5
2689 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2690 echo $ac_n "(cached) $ac_c" 1>&6
2692 if test -n "$OBJDUMP"; then
2693 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
2695 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2697 for ac_dir
in $ac_dummy; do
2698 test -z "$ac_dir" && ac_dir
=.
2699 if test -f $ac_dir/$ac_word; then
2700 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
2707 OBJDUMP
="$ac_cv_prog_OBJDUMP"
2708 if test -n "$OBJDUMP"; then
2709 echo "$ac_t""$OBJDUMP" 1>&6
2711 echo "$ac_t""no" 1>&6
2715 if test -z "$ac_cv_prog_OBJDUMP"; then
2716 if test -n "$ac_tool_prefix"; then
2717 # Extract the first word of "objdump", so it can be a program name with args.
2718 set dummy objdump
; ac_word
=$2
2719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2720 echo "configure:2721: checking for $ac_word" >&5
2721 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2722 echo $ac_n "(cached) $ac_c" 1>&6
2724 if test -n "$OBJDUMP"; then
2725 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
2727 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2729 for ac_dir
in $ac_dummy; do
2730 test -z "$ac_dir" && ac_dir
=.
2731 if test -f $ac_dir/$ac_word; then
2732 ac_cv_prog_OBJDUMP
="objdump"
2737 test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP
="false"
2740 OBJDUMP
="$ac_cv_prog_OBJDUMP"
2741 if test -n "$OBJDUMP"; then
2742 echo "$ac_t""$OBJDUMP" 1>&6
2744 echo "$ac_t""no" 1>&6
2753 # recent cygwin and mingw systems supply a stub DllMain which the user
2754 # can override, but on older systems we have to supply one
2755 echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
2756 echo "configure:2757: checking if libtool should supply DllMain function" >&5
2757 if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
2758 echo $ac_n "(cached) $ac_c" 1>&6
2760 cat > conftest.
$ac_ext <<EOF
2761 #line 2762 "configure"
2762 #include "confdefs.h"
2765 extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
2769 if { (eval echo configure
:2770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2771 lt_cv_need_dllmain
=no
2773 echo "configure: failed program was:" >&5
2774 cat conftest.
$ac_ext >&5
2776 lt_cv_need_dllmain
=yes
2781 echo "$ac_t""$lt_cv_need_dllmain" 1>&6
2784 *-*-cygwin*/gcc
*-mno-cygwin*|
*-*-mingw*)
2785 # old mingw systems require "-dll" to link a DLL, while more recent ones
2787 SAVE_CFLAGS
="$CFLAGS"
2788 CFLAGS
="$CFLAGS -mdll"
2789 echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
2790 echo "configure:2791: checking how to link DLLs" >&5
2791 if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
2792 echo $ac_n "(cached) $ac_c" 1>&6
2794 cat > conftest.
$ac_ext <<EOF
2795 #line 2796 "configure"
2796 #include "confdefs.h"
2802 if { (eval echo configure
:2803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2804 lt_cv_cc_dll_switch
=-mdll
2806 echo "configure: failed program was:" >&5
2807 cat conftest.
$ac_ext >&5
2809 lt_cv_cc_dll_switch
=-dll
2814 echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
2815 CFLAGS
="$SAVE_CFLAGS" ;;
2816 *-*-cygwin* |
*-*-pw32*)
2817 # cygwin systems need to pass --dll to the linker, and not link
2818 # crt.o which will require a WinMain@16 definition.
2819 lt_cv_cc_dll_switch
="-Wl,--dll -nostartfiles" ;;
2826 # Save cache, so that ltconfig can load it
2827 cat > confcache
<<\EOF
2828 # This file is a shell script that caches the results of configure
2829 # tests run on this system so they can be shared between configure
2830 # scripts and configure runs. It is not useful on other systems.
2831 # If it contains results you don't want to keep, you may remove or edit it.
2833 # By default, configure uses ./config.cache as the cache file,
2834 # creating it if it does not exist already. You can give configure
2835 # the --cache-file=FILE option to use a different cache file; that is
2836 # what configure does when it calls configure scripts in
2837 # subdirectories, so they share the cache.
2838 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2839 # config.status only pays attention to the cache file if you give it the
2840 # --recheck option to rerun configure.
2843 # The following way of writing the cache mishandles newlines in values,
2844 # but we know of no workaround that is simple, portable, and efficient.
2845 # So, don't put newlines in cache variables' values.
2846 # Ultrix sh set writes to stderr and can't be redirected directly,
2847 # and sets the high bit in the cache file unless we assign to the vars.
2849 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2851 # `set' does not quote correctly, so add quotes (double-quote substitution
2852 # turns \\\\ into \\, and sed turns \\ into \).
2854 -e "s/'/'\\\\''/g" \
2855 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2858 # `set' quotes correctly as required by POSIX, so do not add quotes.
2859 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2862 if cmp -s $cache_file confcache
; then
2865 if test -w $cache_file; then
2866 echo "updating cache $cache_file"
2867 cat confcache
> $cache_file
2869 echo "not updating unwritable cache $cache_file"
2875 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2876 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2877 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2878 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2879 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2880 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2881 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
2882 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2883 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
2884 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2886 # Reload cache, that may have been modified by ltconfig
2887 if test -r "$cache_file"; then
2888 echo "loading cache $cache_file"
2891 echo "creating cache $cache_file"
2896 # This can be used to rebuild libtool when needed
2897 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2899 # Always use our own libtool.
2900 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
2902 # Redirect the config.log output again, so that the ltconfig log is not
2903 # clobbered by the next message.
2904 exec 5>>.
/config.log
2913 subdirs
="machine sys"
2917 if test -n "${sys_dir}"; then
2924 if test -n "${posix_dir}"; then
2925 if test "${use_libtool}" = "yes"; then
2926 LIBC_POSIX_LIB
=${posix_dir}/lib${posix_dir}.${aext}
2928 LIBC_POSIX_LIB
=${posix_dir}/lib.
${aext}
2934 if test x
${posix_dir} != x
; then
2935 HAVE_POSIX_DIR_TRUE
=
2936 HAVE_POSIX_DIR_FALSE
='#'
2938 HAVE_POSIX_DIR_TRUE
='#'
2939 HAVE_POSIX_DIR_FALSE
=
2944 if test -n "${signal_dir}"; then
2945 if test "${use_libtool}" = "yes"; then
2946 LIBC_SIGNAL_LIB
=${signal_dir}/lib${signal_dir}.${aext}
2948 LIBC_SIGNAL_LIB
=${signal_dir}/lib.
${aext}
2950 LIBC_SIGNAL_DEF
=${signal_dir}/stmp-def
2956 if test x
${signal_dir} != x
; then
2957 HAVE_SIGNAL_DIR_TRUE
=
2958 HAVE_SIGNAL_DIR_FALSE
='#'
2960 HAVE_SIGNAL_DIR_TRUE
='#'
2961 HAVE_SIGNAL_DIR_FALSE
=
2965 if test -n "${syscall_dir}"; then
2966 if test "${use_libtool}" = "yes"; then
2967 LIBC_SYSCALL_LIB
=${syscall_dir}/lib${syscall_dir}.${aext}
2969 LIBC_SYSCALL_LIB
=${syscall_dir}/lib.
${aext}
2975 if test x
${syscall_dir} != x
; then
2976 HAVE_SYSCALL_DIR_TRUE
=
2977 HAVE_SYSCALL_DIR_FALSE
='#'
2979 HAVE_SYSCALL_DIR_TRUE
='#'
2980 HAVE_SYSCALL_DIR_FALSE
=
2984 if test -n "${unix_dir}"; then
2985 if test "${use_libtool}" = "yes"; then
2986 LIBC_UNIX_LIB
=${unix_dir}/lib${unix_dir}.${aext}
2988 LIBC_UNIX_LIB
=${unix_dir}/lib.
${aext}
2994 if test x
${unix_dir} != x
; then
2996 HAVE_UNIX_DIR_FALSE
='#'
2998 HAVE_UNIX_DIR_TRUE
='#'
2999 HAVE_UNIX_DIR_FALSE
=
3012 if test -n "${sys_dir}"; then
3013 if test "${use_libtool}" = "yes"; then
3014 LIBC_SYS_LIB
=sys
/${sys_dir}/lib${sys_dir}.${aext}
3016 LIBC_SYS_LIB
=sys
/lib.
${aext}
3023 if test -n "${machine_dir}"; then
3024 if test "${use_libtool}" = "yes"; then
3025 LIBC_MACHINE_LIB
=machine
/${machine_dir}/lib${machine_dir}.${aext}
3027 LIBC_MACHINE_LIB
=machine
/lib.
${aext}
3034 cat > confcache
<<\EOF
3035 # This file is a shell script that caches the results of configure
3036 # tests run on this system so they can be shared between configure
3037 # scripts and configure runs. It is not useful on other systems.
3038 # If it contains results you don't want to keep, you may remove or edit it.
3040 # By default, configure uses ./config.cache as the cache file,
3041 # creating it if it does not exist already. You can give configure
3042 # the --cache-file=FILE option to use a different cache file; that is
3043 # what configure does when it calls configure scripts in
3044 # subdirectories, so they share the cache.
3045 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3046 # config.status only pays attention to the cache file if you give it the
3047 # --recheck option to rerun configure.
3050 # The following way of writing the cache mishandles newlines in values,
3051 # but we know of no workaround that is simple, portable, and efficient.
3052 # So, don't put newlines in cache variables' values.
3053 # Ultrix sh set writes to stderr and can't be redirected directly,
3054 # and sets the high bit in the cache file unless we assign to the vars.
3056 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3058 # `set' does not quote correctly, so add quotes (double-quote substitution
3059 # turns \\\\ into \\, and sed turns \\ into \).
3061 -e "s/'/'\\\\''/g" \
3062 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3065 # `set' quotes correctly as required by POSIX, so do not add quotes.
3066 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3069 if cmp -s $cache_file confcache
; then
3072 if test -w $cache_file; then
3073 echo "updating cache $cache_file"
3074 cat confcache
> $cache_file
3076 echo "not updating unwritable cache $cache_file"
3081 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3083 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3084 # Let make expand exec_prefix.
3085 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3087 # Any assignment to VPATH causes Sun make to only execute
3088 # the first set of double-colon rules, so remove it if not needed.
3089 # If there is a colon in the path, we need to keep it.
3090 if test "x$srcdir" = x.
; then
3091 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
3094 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3096 # Transform confdefs.h into DEFS.
3097 # Protect against shell expansion while executing Makefile rules.
3098 # Protect against Makefile macro expansion.
3099 cat > conftest.defs
<<\EOF
3100 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
3101 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
3106 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
3110 # Without the "./", some shells look in PATH for config.status.
3111 : ${CONFIG_STATUS=./config.status}
3113 echo creating $CONFIG_STATUS
3114 rm -f $CONFIG_STATUS
3115 cat > $CONFIG_STATUS <<EOF
3117 # Generated automatically by configure.
3118 # Run this file to recreate the current configuration.
3119 # This directory was configured as follows,
3120 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
3122 # $0 $ac_configure_args
3124 # Compiler output produced by configure, useful for debugging
3125 # configure, is in ./config.log if it exists.
3127 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3130 case "\$ac_option" in
3131 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3132 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3133 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3134 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3135 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3137 -help | --help | --hel | --he | --h)
3138 echo "\$ac_cs_usage"; exit 0 ;;
3139 *) echo "\$ac_cs_usage"; exit 1 ;;
3143 ac_given_srcdir=$srcdir
3144 ac_given_INSTALL="$INSTALL"
3146 trap 'rm -fr `echo "Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile stdio/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3148 cat >> $CONFIG_STATUS <<EOF
3150 # Protect against being on the right side of a sed subst in config.status.
3151 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3152 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3156 s%@CFLAGS@%$CFLAGS%g
3157 s%@CPPFLAGS@%$CPPFLAGS%g
3158 s%@CXXFLAGS@%$CXXFLAGS%g
3159 s%@FFLAGS@%$FFLAGS%g
3161 s%@LDFLAGS@%$LDFLAGS%g
3163 s%@exec_prefix@%$exec_prefix%g
3164 s%@prefix@%$prefix%g
3165 s%@program_transform_name@%$program_transform_name%g
3166 s%@bindir@%$bindir%g
3167 s%@sbindir@%$sbindir%g
3168 s%@libexecdir@%$libexecdir%g
3169 s%@datadir@%$datadir%g
3170 s%@sysconfdir@%$sysconfdir%g
3171 s%@sharedstatedir@%$sharedstatedir%g
3172 s%@localstatedir@%$localstatedir%g
3173 s%@libdir@%$libdir%g
3174 s%@includedir@%$includedir%g
3175 s%@oldincludedir@%$oldincludedir%g
3176 s%@infodir@%$infodir%g
3177 s%@mandir@%$mandir%g
3178 s%@newlib_basedir@%$newlib_basedir%g
3180 s%@host_alias@%$host_alias%g
3181 s%@host_cpu@%$host_cpu%g
3182 s%@host_vendor@%$host_vendor%g
3183 s%@host_os@%$host_os%g
3184 s%@target@%$target%g
3185 s%@target_alias@%$target_alias%g
3186 s%@target_cpu@%$target_cpu%g
3187 s%@target_vendor@%$target_vendor%g
3188 s%@target_os@%$target_os%g
3190 s%@build_alias@%$build_alias%g
3191 s%@build_cpu@%$build_cpu%g
3192 s%@build_vendor@%$build_vendor%g
3193 s%@build_os@%$build_os%g
3194 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3195 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3196 s%@INSTALL_DATA@%$INSTALL_DATA%g
3197 s%@PACKAGE@%$PACKAGE%g
3198 s%@VERSION@%$VERSION%g
3199 s%@ACLOCAL@%$ACLOCAL%g
3200 s%@AUTOCONF@%$AUTOCONF%g
3201 s%@AUTOMAKE@%$AUTOMAKE%g
3202 s%@AUTOHEADER@%$AUTOHEADER%g
3203 s%@MAKEINFO@%$MAKEINFO%g
3204 s%@SET_MAKE@%$SET_MAKE%g
3208 s%@RANLIB@%$RANLIB%g
3209 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
3210 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
3212 s%@EXEEXT@%$EXEEXT%g
3213 s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g
3214 s%@USE_LIBTOOL_TRUE@%$USE_LIBTOOL_TRUE%g
3215 s%@USE_LIBTOOL_FALSE@%$USE_LIBTOOL_FALSE%g
3216 s%@OBJEXT@%$OBJEXT%g
3219 s%@libm_machine_dir@%$libm_machine_dir%g
3220 s%@machine_dir@%$machine_dir%g
3221 s%@sys_dir@%$sys_dir%g
3224 s%@DLLTOOL@%$DLLTOOL%g
3225 s%@OBJDUMP@%$OBJDUMP%g
3226 s%@LIBTOOL@%$LIBTOOL%g
3227 s%@subdirs@%$subdirs%g
3229 s%@LIBC_POSIX_LIB@%$LIBC_POSIX_LIB%g
3230 s%@HAVE_POSIX_DIR_TRUE@%$HAVE_POSIX_DIR_TRUE%g
3231 s%@HAVE_POSIX_DIR_FALSE@%$HAVE_POSIX_DIR_FALSE%g
3232 s%@LIBC_SIGNAL_LIB@%$LIBC_SIGNAL_LIB%g
3233 s%@LIBC_SIGNAL_DEF@%$LIBC_SIGNAL_DEF%g
3234 s%@HAVE_SIGNAL_DIR_TRUE@%$HAVE_SIGNAL_DIR_TRUE%g
3235 s%@HAVE_SIGNAL_DIR_FALSE@%$HAVE_SIGNAL_DIR_FALSE%g
3236 s%@LIBC_SYSCALL_LIB@%$LIBC_SYSCALL_LIB%g
3237 s%@HAVE_SYSCALL_DIR_TRUE@%$HAVE_SYSCALL_DIR_TRUE%g
3238 s%@HAVE_SYSCALL_DIR_FALSE@%$HAVE_SYSCALL_DIR_FALSE%g
3239 s%@LIBC_UNIX_LIB@%$LIBC_UNIX_LIB%g
3240 s%@HAVE_UNIX_DIR_TRUE@%$HAVE_UNIX_DIR_TRUE%g
3241 s%@HAVE_UNIX_DIR_FALSE@%$HAVE_UNIX_DIR_FALSE%g
3242 s%@LIBC_EXTRA_LIB@%$LIBC_EXTRA_LIB%g
3243 s%@LIBC_EXTRA_DEF@%$LIBC_EXTRA_DEF%g
3244 s%@extra_dir@%$extra_dir%g
3245 s%@LIBC_SYS_LIB@%$LIBC_SYS_LIB%g
3246 s%@LIBC_MACHINE_LIB@%$LIBC_MACHINE_LIB%g
3251 cat >> $CONFIG_STATUS <<\EOF
3253 # Split the substitutions into bite-sized pieces for seds with
3254 # small command number limits, like on Digital OSF/1 and HP-UX.
3255 ac_max_sed_cmds=60 # Maximum number of lines to put in a sed script.
3256 ac_file=1 # Number of current file.
3257 ac_beg=1 # First line for current file.
3258 ac_end=$ac_max_sed_cmds # Line after last line for current file.
3261 while $ac_more_lines; do
3262 if test $ac_beg -gt 1; then
3263 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3265 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3267 if test ! -s conftest.s$ac_file; then
3269 rm -f conftest.s$ac_file
3271 if test -z "$ac_sed_cmds"; then
3272 ac_sed_cmds="sed -f conftest.s$ac_file"
3274 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3276 ac_file=`expr $ac_file + 1`
3278 ac_end=`expr $ac_end + $ac_max_sed_cmds`
3281 if test -z "$ac_sed_cmds"; then
3286 cat >> $CONFIG_STATUS <<EOF
3288 CONFIG_FILES=\${CONFIG_FILES-"Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile stdio/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile"}
3290 cat >> $CONFIG_STATUS <<\EOF
3291 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3292 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3294 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
3295 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
3296 *) ac_file_in="${ac_file}.in" ;;
3299 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3301 # Remove last slash and all that follows it. Not all systems have dirname.
3302 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3303 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3304 # The file is in a subdirectory.
3305 test ! -d "$ac_dir" && mkdir "$ac_dir"
3306 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
3307 # A "../" for each directory in $ac_dir_suffix.
3308 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
3310 ac_dir_suffix= ac_dots=
3313 case "$ac_given_srcdir" in
3315 if test -z "$ac_dots"; then top_srcdir=.
3316 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
3317 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3319 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3320 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3323 case "$ac_given_INSTALL" in
3324 [/$]*) INSTALL="$ac_given_INSTALL" ;;
3325 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3328 echo creating "$ac_file"
3330 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
3332 *Makefile*) ac_comsub="1i\\
3333 # $configure_input" ;;
3337 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3339 s%@configure_input@%$configure_input%g
3340 s%@srcdir@%$srcdir%g
3341 s%@top_srcdir@%$top_srcdir%g
3342 s%@INSTALL@%$INSTALL%g
3343 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3348 cat >> $CONFIG_STATUS <<EOF
3351 cat >> $CONFIG_STATUS <<\EOF
3355 chmod +x $CONFIG_STATUS
3356 rm -fr confdefs* $ac_clean_files
3357 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3359 if test "$no_recursion" != yes; then
3361 # Remove --cache-file and --srcdir arguments so they do not pile up.
3362 ac_sub_configure_args=
3364 for ac_arg in $ac_configure_args; do
3365 if test -n "$ac_prev"; then
3370 -cache-file | --cache-file | --cache-fil | --cache-fi \
3371 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3372 ac_prev=cache_file ;;
3373 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3374 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3380 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3384 for ac_config_dir in machine sys; do
3386 # Do not complain, so a configure script can configure whichever
3387 # parts of a large source tree are present.
3388 if test ! -d $srcdir/$ac_config_dir; then
3392 echo configuring in $ac_config_dir
3397 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3399 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3407 # A "../" for each directory in /$ac_config_dir.
3408 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3411 .) # No --srcdir option. We are building in place.
3412 ac_sub_srcdir=$srcdir ;;
3413 /*) # Absolute path.
3414 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3416 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3419 # Check for guested configure; otherwise get Cygnus style configure.
3420 if test -f $ac_sub_srcdir/configure; then
3421 ac_sub_configure=$ac_sub_srcdir/configure
3422 elif test -f $ac_sub_srcdir/configure.in; then
3423 ac_sub_configure=$ac_configure
3425 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3429 # The recursion is here.
3430 if test -n "$ac_sub_configure"; then
3432 # Make the cache file name correct relative to the subdirectory.
3433 case "$cache_file" in
3434 /*) ac_sub_cache_file=$cache_file ;;
3436 ac_sub_cache_file="$ac_dots$cache_file" ;;
3438 case "$ac_given_INSTALL" in
3439 [/$]*) INSTALL="$ac_given_INSTALL" ;;
3440 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3443 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3444 # The eval makes quoting arguments work.
3445 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3448 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }