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 # Initialize some variables set by options.
31 # The variables have the same names as the options, with
32 # dashes changed to underlines.
34 cache_file
=.
/config.cache
43 program_transform_name
=s
,x
,x
,
52 bindir
='${exec_prefix}/bin'
53 sbindir
='${exec_prefix}/sbin'
54 libexecdir
='${exec_prefix}/libexec'
55 datadir
='${prefix}/share'
56 sysconfdir
='${prefix}/etc'
57 sharedstatedir
='${prefix}/com'
58 localstatedir
='${prefix}/var'
59 libdir
='${exec_prefix}/lib'
60 includedir
='${prefix}/include'
61 oldincludedir
='/usr/include'
62 infodir
='${prefix}/info'
63 mandir
='${prefix}/man'
65 # Initialize some other variables.
68 SHELL
=${CONFIG_SHELL-/bin/sh}
69 # Maximum number of lines to put in a shell here document.
76 # If the previous option needs an argument, assign it.
77 if test -n "$ac_prev"; then
78 eval "$ac_prev=\$ac_option"
84 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
88 # Accept the important Cygnus configure options, so we can diagnose typos.
92 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
94 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
95 bindir
="$ac_optarg" ;;
97 -build |
--build |
--buil |
--bui |
--bu)
99 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
100 build
="$ac_optarg" ;;
102 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
103 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
104 ac_prev
=cache_file
;;
105 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
106 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
107 cache_file
="$ac_optarg" ;;
109 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
111 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
113 datadir
="$ac_optarg" ;;
115 -disable-* |
--disable-*)
116 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
117 # Reject names that are not valid shell variable names.
118 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
119 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
121 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
122 eval "enable_${ac_feature}=no" ;;
124 -enable-* |
--enable-*)
125 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
126 # Reject names that are not valid shell variable names.
127 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
128 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
130 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
135 eval "enable_${ac_feature}='$ac_optarg'" ;;
137 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
138 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
139 |
--exec |
--exe |
--ex)
140 ac_prev
=exec_prefix
;;
141 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
142 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
143 |
--exec=* |
--exe=* |
--ex=*)
144 exec_prefix
="$ac_optarg" ;;
146 -gas |
--gas |
--ga |
--g)
147 # Obsolete; use --with-gas.
150 -help |
--help |
--hel |
--he)
151 # Omit some internal or obsolete options to make the list less imposing.
152 # This message is too long to be a string in the A/UX 3.1 sh.
154 Usage: configure [options] [host]
155 Options: [defaults in brackets after descriptions]
157 --cache-file=FILE cache test results in FILE
158 --help print this message
159 --no-create do not create output files
160 --quiet, --silent do not print \`checking...' messages
161 --site-file=FILE use FILE as the site file
162 --version print the version of autoconf that created configure
163 Directory and file names:
164 --prefix=PREFIX install architecture-independent files in PREFIX
166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
168 --bindir=DIR user executables in DIR [EPREFIX/bin]
169 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
170 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
171 --datadir=DIR read-only architecture-independent data in DIR
173 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
174 --sharedstatedir=DIR modifiable architecture-independent data in DIR
176 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
177 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
178 --includedir=DIR C header files in DIR [PREFIX/include]
179 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
180 --infodir=DIR info documentation in DIR [PREFIX/info]
181 --mandir=DIR man documentation in DIR [PREFIX/man]
182 --srcdir=DIR find the sources in DIR [configure dir or ..]
183 --program-prefix=PREFIX prepend PREFIX to installed program names
184 --program-suffix=SUFFIX append SUFFIX to installed program names
185 --program-transform-name=PROGRAM
186 run sed PROGRAM on installed program names
190 --build=BUILD configure for building on BUILD [BUILD=HOST]
191 --host=HOST configure for HOST [guessed]
192 --target=TARGET configure for TARGET [TARGET=HOST]
193 Features and packages:
194 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
195 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
196 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
197 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
198 --x-includes=DIR X include files are in DIR
199 --x-libraries=DIR X library files are in DIR
201 if test -n "$ac_help"; then
202 echo "--enable and --with options recognized:$ac_help"
206 -host |
--host |
--hos |
--ho)
208 -host=* |
--host=* |
--hos=* |
--ho=*)
211 -includedir |
--includedir |
--includedi |
--included |
--include \
212 |
--includ |
--inclu |
--incl |
--inc)
213 ac_prev
=includedir
;;
214 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
215 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
216 includedir
="$ac_optarg" ;;
218 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
220 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
221 infodir
="$ac_optarg" ;;
223 -libdir |
--libdir |
--libdi |
--libd)
225 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
226 libdir
="$ac_optarg" ;;
228 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
229 |
--libexe |
--libex |
--libe)
230 ac_prev
=libexecdir
;;
231 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
232 |
--libexe=* |
--libex=* |
--libe=*)
233 libexecdir
="$ac_optarg" ;;
235 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
236 |
--localstate |
--localstat |
--localsta |
--localst \
237 |
--locals |
--local |
--loca |
--loc |
--lo)
238 ac_prev
=localstatedir
;;
239 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
240 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
241 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
242 localstatedir
="$ac_optarg" ;;
244 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
246 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
247 mandir
="$ac_optarg" ;;
250 # Obsolete; use --without-fp.
253 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
257 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
258 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
261 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
262 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
263 |
--oldin |
--oldi |
--old |
--ol |
--o)
264 ac_prev
=oldincludedir
;;
265 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
266 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
267 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
268 oldincludedir
="$ac_optarg" ;;
270 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
272 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
273 prefix
="$ac_optarg" ;;
275 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
276 |
--program-pre |
--program-pr |
--program-p)
277 ac_prev
=program_prefix
;;
278 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
279 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
280 program_prefix
="$ac_optarg" ;;
282 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
283 |
--program-suf |
--program-su |
--program-s)
284 ac_prev
=program_suffix
;;
285 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
286 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
287 program_suffix
="$ac_optarg" ;;
289 -program-transform-name |
--program-transform-name \
290 |
--program-transform-nam |
--program-transform-na \
291 |
--program-transform-n |
--program-transform- \
292 |
--program-transform |
--program-transfor \
293 |
--program-transfo |
--program-transf \
294 |
--program-trans |
--program-tran \
295 |
--progr-tra |
--program-tr |
--program-t)
296 ac_prev
=program_transform_name
;;
297 -program-transform-name=* |
--program-transform-name=* \
298 |
--program-transform-nam=* |
--program-transform-na=* \
299 |
--program-transform-n=* |
--program-transform-=* \
300 |
--program-transform=* |
--program-transfor=* \
301 |
--program-transfo=* |
--program-transf=* \
302 |
--program-trans=* |
--program-tran=* \
303 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
304 program_transform_name
="$ac_optarg" ;;
306 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
307 |
-silent |
--silent |
--silen |
--sile |
--sil)
310 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
312 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
314 sbindir
="$ac_optarg" ;;
316 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
317 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
318 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
320 ac_prev
=sharedstatedir
;;
321 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
322 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
323 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
325 sharedstatedir
="$ac_optarg" ;;
327 -site |
--site |
--sit)
329 -site=* |
--site=* |
--sit=*)
332 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
334 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
335 sitefile
="$ac_optarg" ;;
337 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
339 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
340 srcdir
="$ac_optarg" ;;
342 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
343 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
344 ac_prev
=sysconfdir
;;
345 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
346 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
347 sysconfdir
="$ac_optarg" ;;
349 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
351 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
352 target
="$ac_optarg" ;;
354 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
357 -version |
--version |
--versio |
--versi |
--vers)
358 echo "configure generated by autoconf version 2.13"
362 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
363 # Reject names that are not valid shell variable names.
364 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
365 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
367 ac_package
=`echo $ac_package| sed 's/-/_/g'`
372 eval "with_${ac_package}='$ac_optarg'" ;;
374 -without-* |
--without-*)
375 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
376 # Reject names that are not valid shell variable names.
377 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
378 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
380 ac_package
=`echo $ac_package| sed 's/-/_/g'`
381 eval "with_${ac_package}=no" ;;
384 # Obsolete; use --with-x.
387 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
388 |
--x-incl |
--x-inc |
--x-in |
--x-i)
389 ac_prev
=x_includes
;;
390 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
391 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
392 x_includes
="$ac_optarg" ;;
394 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
395 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
396 ac_prev
=x_libraries
;;
397 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
398 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
399 x_libraries
="$ac_optarg" ;;
401 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
405 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
406 echo "configure: warning: $ac_option: invalid host type" 1>&2
408 if test "x$nonopt" != xNONE
; then
409 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
417 if test -n "$ac_prev"; then
418 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
421 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
423 # File descriptor usage:
426 # 2 errors and warnings
427 # 3 some systems may open it to /dev/tty
428 # 4 used on the Kubota Titan
429 # 6 checking for... messages and results
430 # 5 compiler messages saved in config.log
431 if test "$silent" = yes; then
439 This file contains any messages produced by compilers while
440 running configure, to aid debugging if configure makes a mistake.
443 # Strip out --no-create and --no-recursion so they do not pile up.
444 # Also quote any args containing shell metacharacters.
449 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
450 |
--no-cr |
--no-c) ;;
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
453 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
454 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
455 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
460 # Only set these to C if already set. These must not be set unconditionally
461 # because not all systems understand e.g. LANG=C (notably SCO).
462 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
463 # Non-C LC_CTYPE values break the ctype check.
464 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
465 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
466 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
467 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
469 # confdefs.h avoids OS command line length limits that DEFS can exceed.
470 rm -rf conftest
* confdefs.h
471 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
474 # A filename unique to this package, relative to the directory that
475 # configure is in, which we can look for to find out if srcdir is correct.
478 # Find the source files, if location was not specified.
479 if test -z "$srcdir"; then
480 ac_srcdir_defaulted
=yes
481 # Try the directory containing this script, then its parent.
483 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
484 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
486 if test ! -r $srcdir/$ac_unique_file; then
490 ac_srcdir_defaulted
=no
492 if test ! -r $srcdir/$ac_unique_file; then
493 if test "$ac_srcdir_defaulted" = yes; then
494 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
496 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
499 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
501 # Prefer explicitly selected file to automatically selected ones.
502 if test -z "$sitefile"; then
503 if test -z "$CONFIG_SITE"; then
504 if test "x$prefix" != xNONE
; then
505 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
507 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
511 CONFIG_SITE
="$sitefile"
513 for ac_site_file
in $CONFIG_SITE; do
514 if test -r "$ac_site_file"; then
515 echo "loading site script $ac_site_file"
520 if test -r "$cache_file"; then
521 echo "loading cache $cache_file"
524 echo "creating cache $cache_file"
529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
530 ac_cpp
='$CPP $CPPFLAGS'
531 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
532 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
533 cross_compiling
=$ac_cv_prog_cc_cross
537 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
538 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
539 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
546 ac_n
= ac_c
='\c' ac_t
=
552 for ac_dir
in ..
/..
/..
/..
$srcdir/..
/..
/..
/..
; do
553 if test -f $ac_dir/install-sh
; then
555 ac_install_sh
="$ac_aux_dir/install-sh -c"
557 elif test -f $ac_dir/install.sh
; then
559 ac_install_sh
="$ac_aux_dir/install.sh -c"
563 if test -z "$ac_aux_dir"; then
564 { echo "configure: error: can not find install-sh or install.sh in ../../../.. $srcdir/../../../.." 1>&2; exit 1; }
566 ac_config_guess
=$ac_aux_dir/config.guess
567 ac_config_sub
=$ac_aux_dir/config.sub
568 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
571 # Find a good install program. We prefer a C program (faster),
572 # so one script is as good as another. But avoid the broken or
573 # incompatible versions:
574 # SysV /etc/install, /usr/sbin/install
575 # SunOS /usr/etc/install
578 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
579 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
580 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
581 # ./install, which can be erroneously created by make from ./install.sh.
582 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
583 echo "configure:584: checking for a BSD compatible install" >&5
584 if test -z "$INSTALL"; then
585 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
586 echo $ac_n "(cached) $ac_c" 1>&6
588 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
589 for ac_dir
in $PATH; do
590 # Account for people who put trailing slashes in PATH elements.
592 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
594 # OSF1 and SCO ODT 3.0 have their own names for install.
595 # Don't use installbsd from OSF since it installs stuff as root
597 for ac_prog
in ginstall scoinst
install; do
598 if test -f $ac_dir/$ac_prog; then
599 if test $ac_prog = install &&
600 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
601 # AIX install. It has an incompatible calling convention.
604 ac_cv_path_install
="$ac_dir/$ac_prog -c"
615 if test "${ac_cv_path_install+set}" = set; then
616 INSTALL
="$ac_cv_path_install"
618 # As a last resort, use the slow shell script. We don't cache a
619 # path for INSTALL within a source directory, because that will
620 # break other packages using the cache if that directory is
621 # removed, or if the path is relative.
622 INSTALL
="$ac_install_sh"
625 echo "$ac_t""$INSTALL" 1>&6
627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
628 # It thinks the first close brace ends the variable substitution.
629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
633 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
635 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
636 echo "configure:637: checking whether build environment is sane" >&5
639 echo timestamp
> conftestfile
640 # Do `set' in a subshell so we don't clobber the current shell's
641 # arguments. Must try -L first in case configure is actually a
642 # symlink; some systems play weird games with the mod time of symlinks
643 # (eg FreeBSD returns the mod time of the symlink's containing
646 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
647 if test "$*" = "X"; then
649 set X
`ls -t $srcdir/configure conftestfile`
651 if test "$*" != "X $srcdir/configure conftestfile" \
652 && test "$*" != "X conftestfile $srcdir/configure"; then
654 # If neither matched, then we have a broken ls. This can happen
655 # if, for instance, CONFIG_SHELL is bash and it inherits a
656 # broken ls alias from the environment. This has actually
657 # happened. Such a system could not be considered "sane".
658 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
659 alias in your environment" 1>&2; exit 1; }
662 test "$2" = conftestfile
668 { echo "configure: error: newly created file is older than distributed files!
669 Check your system clock" 1>&2; exit 1; }
672 echo "$ac_t""yes" 1>&6
673 if test "$program_transform_name" = s
,x
,x
,; then
674 program_transform_name
=
676 # Double any \ or $. echo might interpret backslashes.
677 cat <<\EOF_SED
> conftestsed
678 s
,\\,\\\\,g
; s
,\$
,$$
,g
680 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
683 test "$program_prefix" != NONE
&&
684 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
685 # Use a double $ so make ignores it.
686 test "$program_suffix" != NONE
&&
687 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
689 # sed with no file args requires a program.
690 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
692 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
693 echo "configure:694: checking whether ${MAKE-make} sets \${MAKE}" >&5
694 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
695 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
696 echo $ac_n "(cached) $ac_c" 1>&6
698 cat > conftestmake
<<\EOF
700 @
echo 'ac_maketemp="${MAKE}"'
702 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
703 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
704 if test -n "$ac_maketemp"; then
705 eval ac_cv_prog_make_
${ac_make}_set
=yes
707 eval ac_cv_prog_make_
${ac_make}_set
=no
711 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
712 echo "$ac_t""yes" 1>&6
715 echo "$ac_t""no" 1>&6
716 SET_MAKE
="MAKE=${MAKE-make}"
719 if test $host != $build; then
720 ac_tool_prefix
=${host_alias}-
725 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
726 echo "configure:727: checking for Cygwin environment" >&5
727 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
728 echo $ac_n "(cached) $ac_c" 1>&6
730 cat > conftest.
$ac_ext <<EOF
731 #line 732 "configure"
732 #include "confdefs.h"
737 #define __CYGWIN__ __CYGWIN32__
742 if { (eval echo configure
:743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
746 echo "configure: failed program was:" >&5
747 cat conftest.
$ac_ext >&5
755 echo "$ac_t""$ac_cv_cygwin" 1>&6
757 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
758 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
759 echo "configure:760: checking for mingw32 environment" >&5
760 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
761 echo $ac_n "(cached) $ac_c" 1>&6
763 cat > conftest.
$ac_ext <<EOF
764 #line 765 "configure"
765 #include "confdefs.h"
771 if { (eval echo configure
:772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
775 echo "configure: failed program was:" >&5
776 cat conftest.
$ac_ext >&5
784 echo "$ac_t""$ac_cv_mingw32" 1>&6
786 test "$ac_cv_mingw32" = yes && MINGW32
=yes
788 # Check whether --enable-multilib or --disable-multilib was given.
789 if test "${enable_multilib+set}" = set; then
790 enableval
="$enable_multilib"
791 case "${enableval}" in
794 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
800 # Check whether --enable-target-optspace or --disable-target-optspace was given.
801 if test "${enable_target_optspace+set}" = set; then
802 enableval
="$enable_target_optspace"
803 case "${enableval}" in
804 yes) target_optspace
=yes ;;
805 no
) target_optspace
=no
;;
806 *) { echo "configure: error: bad value ${enableval} for target-optspace option" 1>&2; exit 1; } ;;
812 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
813 if test "${enable_malloc_debugging+set}" = set; then
814 enableval
="$enable_malloc_debugging"
815 case "${enableval}" in
816 yes) malloc_debugging
=yes ;;
817 no
) malloc_debugging
=no
;;
818 *) { echo "configure: error: bad value ${enableval} for malloc-debugging option" 1>&2; exit 1; } ;;
824 # Check whether --enable-newlib-mb or --disable-newlib-mb was given.
825 if test "${enable_newlib_mb+set}" = set; then
826 enableval
="$enable_newlib_mb"
827 case "${enableval}" in
828 yes) newlib_mb
=yes ;;
830 *) { echo "configure: error: bad value ${enableval} for newlib-mb option" 1>&2; exit 1; } ;;
836 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
837 if test "${enable_newlib_multithread+set}" = set; then
838 enableval
="$enable_newlib_multithread"
839 case "${enableval}" in
840 yes) newlib_multithread
=yes ;;
841 no
) newlib_multithread
=no
;;
842 *) { echo "configure: error: bad value ${enableval} for newlib-multithread option" 1>&2; exit 1; } ;;
845 newlib_multithread
=yes
848 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
849 if test "${enable_newlib_io_float+set}" = set; then
850 enableval
="$enable_newlib_io_float"
851 case "${enableval}" in
852 yes) newlib_io_float
=yes ;;
853 no
) newlib_io_float
=no
;;
854 *) { echo "configure: error: bad value ${enableval} for newlib-io-float option" 1>&2; exit 1; } ;;
862 test -z "${with_target_subdir}" && with_target_subdir
=.
864 if test "${srcdir}" = "."; then
865 if test "${with_target_subdir}" != "."; then
866 newlib_basedir
="${srcdir}/${with_multisrctop}../../../.."
868 newlib_basedir
="${srcdir}/${with_multisrctop}../../.."
871 newlib_basedir
="${srcdir}/../../.."
876 # Do some error checking and defaulting for the host and target type.
878 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
881 # 1. You are not allowed to specify --host, --target, and nonopt at the
883 # 2. Host defaults to nonopt.
884 # 3. If nonopt is not specified, then host defaults to the current host,
885 # as determined by config.guess.
886 # 4. Target and build default to nonopt.
887 # 5. If nonopt is not specified, then target and build default to host.
889 # The aliases save the names the user supplied, while $host etc.
890 # will get canonicalized.
891 case $host---$target---$nonopt in
892 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
893 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
897 # Make sure we can run config.sub.
898 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
899 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
902 echo $ac_n "checking host system type""... $ac_c" 1>&6
903 echo "configure:904: checking host system type" >&5
906 case "$host_alias" in
910 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
911 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
913 *) host_alias
=$nonopt ;;
917 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
918 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
919 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
920 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
921 echo "$ac_t""$host" 1>&6
923 echo $ac_n "checking target system type""... $ac_c" 1>&6
924 echo "configure:925: checking target system type" >&5
927 case "$target_alias" in
930 NONE
) target_alias
=$host_alias ;;
931 *) target_alias
=$nonopt ;;
935 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
936 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
937 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
938 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
939 echo "$ac_t""$target" 1>&6
941 echo $ac_n "checking build system type""... $ac_c" 1>&6
942 echo "configure:943: checking build system type" >&5
945 case "$build_alias" in
948 NONE
) build_alias
=$host_alias ;;
949 *) build_alias
=$nonopt ;;
953 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
954 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
955 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
956 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
957 echo "$ac_t""$build" 1>&6
959 test "$host_alias" != "$target_alias" &&
960 test "$program_prefix$program_suffix$program_transform_name" = \
962 program_prefix
=${target_alias}-
970 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
971 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
973 cat >> confdefs.h
<<EOF
974 #define PACKAGE "$PACKAGE"
977 cat >> confdefs.h
<<EOF
978 #define VERSION "$VERSION"
983 missing_dir
=`cd $ac_aux_dir && pwd`
984 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
985 echo "configure:986: checking for working aclocal" >&5
986 # Run test in a subshell; some versions of sh will print an error if
987 # an executable is not found, even if stderr is redirected.
988 # Redirect stdin to placate older versions of autoconf. Sigh.
989 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
991 echo "$ac_t""found" 1>&6
993 ACLOCAL
="$missing_dir/missing aclocal"
994 echo "$ac_t""missing" 1>&6
997 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
998 echo "configure:999: checking for working autoconf" >&5
999 # Run test in a subshell; some versions of sh will print an error if
1000 # an executable is not found, even if stderr is redirected.
1001 # Redirect stdin to placate older versions of autoconf. Sigh.
1002 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1004 echo "$ac_t""found" 1>&6
1006 AUTOCONF
="$missing_dir/missing autoconf"
1007 echo "$ac_t""missing" 1>&6
1010 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1011 echo "configure:1012: checking for working automake" >&5
1012 # Run test in a subshell; some versions of sh will print an error if
1013 # an executable is not found, even if stderr is redirected.
1014 # Redirect stdin to placate older versions of autoconf. Sigh.
1015 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1017 echo "$ac_t""found" 1>&6
1019 AUTOMAKE
="$missing_dir/missing automake"
1020 echo "$ac_t""missing" 1>&6
1023 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1024 echo "configure:1025: checking for working autoheader" >&5
1025 # Run test in a subshell; some versions of sh will print an error if
1026 # an executable is not found, even if stderr is redirected.
1027 # Redirect stdin to placate older versions of autoconf. Sigh.
1028 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1029 AUTOHEADER
=autoheader
1030 echo "$ac_t""found" 1>&6
1032 AUTOHEADER
="$missing_dir/missing autoheader"
1033 echo "$ac_t""missing" 1>&6
1036 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1037 echo "configure:1038: checking for working makeinfo" >&5
1038 # Run test in a subshell; some versions of sh will print an error if
1039 # an executable is not found, even if stderr is redirected.
1040 # Redirect stdin to placate older versions of autoconf. Sigh.
1041 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1043 echo "$ac_t""found" 1>&6
1045 MAKEINFO
="$missing_dir/missing makeinfo"
1046 echo "$ac_t""missing" 1>&6
1051 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1052 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1053 # are probably using a cross compiler, which will not be able to fully
1054 # link an executable. This should really be fixed in autoconf
1059 # Extract the first word of "gcc", so it can be a program name with args.
1060 set dummy gcc
; ac_word
=$2
1061 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1062 echo "configure:1063: checking for $ac_word" >&5
1063 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1064 echo $ac_n "(cached) $ac_c" 1>&6
1066 if test -n "$CC"; then
1067 ac_cv_prog_CC
="$CC" # Let the user override the test.
1069 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1071 for ac_dir
in $ac_dummy; do
1072 test -z "$ac_dir" && ac_dir
=.
1073 if test -f $ac_dir/$ac_word; then
1082 if test -n "$CC"; then
1083 echo "$ac_t""$CC" 1>&6
1085 echo "$ac_t""no" 1>&6
1088 if test -z "$CC"; then
1089 # Extract the first word of "cc", so it can be a program name with args.
1090 set dummy cc
; ac_word
=$2
1091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1092 echo "configure:1093: checking for $ac_word" >&5
1093 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1094 echo $ac_n "(cached) $ac_c" 1>&6
1096 if test -n "$CC"; then
1097 ac_cv_prog_CC
="$CC" # Let the user override the test.
1099 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1102 for ac_dir
in $ac_dummy; do
1103 test -z "$ac_dir" && ac_dir
=.
1104 if test -f $ac_dir/$ac_word; then
1105 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1106 ac_prog_rejected
=yes
1114 if test $ac_prog_rejected = yes; then
1115 # We found a bogon in the path, so make sure we never use it.
1116 set dummy
$ac_cv_prog_CC
1118 if test $# -gt 0; then
1119 # We chose a different compiler from the bogus one.
1120 # However, it has the same basename, so the bogon will be chosen
1121 # first if we set CC to just the basename; use the full file name.
1123 set dummy
"$ac_dir/$ac_word" "$@"
1131 if test -n "$CC"; then
1132 echo "$ac_t""$CC" 1>&6
1134 echo "$ac_t""no" 1>&6
1137 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1140 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1141 echo "configure:1142: checking whether we are using GNU C" >&5
1142 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1143 echo $ac_n "(cached) $ac_c" 1>&6
1145 cat > conftest.c
<<EOF
1150 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1157 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1159 if test $ac_cv_prog_gcc = yes; then
1161 ac_test_CFLAGS
="${CFLAGS+set}"
1162 ac_save_CFLAGS
="$CFLAGS"
1164 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1165 echo "configure:1166: checking whether ${CC-cc} accepts -g" >&5
1166 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1167 echo $ac_n "(cached) $ac_c" 1>&6
1169 echo 'void f(){}' > conftest.c
1170 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1179 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1180 if test "$ac_test_CFLAGS" = set; then
1181 CFLAGS
="$ac_save_CFLAGS"
1182 elif test $ac_cv_prog_cc_g = yes; then
1189 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1193 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1194 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1195 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1196 echo "configure:1197: checking for $ac_word" >&5
1197 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1198 echo $ac_n "(cached) $ac_c" 1>&6
1200 if test -n "$AS"; then
1201 ac_cv_prog_AS
="$AS" # Let the user override the test.
1203 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1205 for ac_dir
in $ac_dummy; do
1206 test -z "$ac_dir" && ac_dir
=.
1207 if test -f $ac_dir/$ac_word; then
1208 ac_cv_prog_AS
="${ac_tool_prefix}as"
1213 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1217 if test -n "$AS"; then
1218 echo "$ac_t""$AS" 1>&6
1220 echo "$ac_t""no" 1>&6
1225 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1226 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1227 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1228 echo "configure:1229: checking for $ac_word" >&5
1229 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1230 echo $ac_n "(cached) $ac_c" 1>&6
1232 if test -n "$AR"; then
1233 ac_cv_prog_AR
="$AR" # Let the user override the test.
1235 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1237 for ac_dir
in $ac_dummy; do
1238 test -z "$ac_dir" && ac_dir
=.
1239 if test -f $ac_dir/$ac_word; then
1240 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1245 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1249 if test -n "$AR"; then
1250 echo "$ac_t""$AR" 1>&6
1252 echo "$ac_t""no" 1>&6
1257 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1258 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1259 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1260 echo "configure:1261: checking for $ac_word" >&5
1261 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1262 echo $ac_n "(cached) $ac_c" 1>&6
1264 if test -n "$RANLIB"; then
1265 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1267 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1269 for ac_dir
in $ac_dummy; do
1270 test -z "$ac_dir" && ac_dir
=.
1271 if test -f $ac_dir/$ac_word; then
1272 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1279 RANLIB
="$ac_cv_prog_RANLIB"
1280 if test -n "$RANLIB"; then
1281 echo "$ac_t""$RANLIB" 1>&6
1283 echo "$ac_t""no" 1>&6
1287 if test -z "$ac_cv_prog_RANLIB"; then
1288 if test -n "$ac_tool_prefix"; then
1289 # Extract the first word of "ranlib", so it can be a program name with args.
1290 set dummy ranlib
; ac_word
=$2
1291 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1292 echo "configure:1293: checking for $ac_word" >&5
1293 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1294 echo $ac_n "(cached) $ac_c" 1>&6
1296 if test -n "$RANLIB"; then
1297 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1299 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1301 for ac_dir
in $ac_dummy; do
1302 test -z "$ac_dir" && ac_dir
=.
1303 if test -f $ac_dir/$ac_word; then
1304 ac_cv_prog_RANLIB
="ranlib"
1309 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1312 RANLIB
="$ac_cv_prog_RANLIB"
1313 if test -n "$RANLIB"; then
1314 echo "$ac_t""$RANLIB" 1>&6
1316 echo "$ac_t""no" 1>&6
1325 # Find a good install program. We prefer a C program (faster),
1326 # so one script is as good as another. But avoid the broken or
1327 # incompatible versions:
1328 # SysV /etc/install, /usr/sbin/install
1329 # SunOS /usr/etc/install
1330 # IRIX /sbin/install
1332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1335 # ./install, which can be erroneously created by make from ./install.sh.
1336 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1337 echo "configure:1338: checking for a BSD compatible install" >&5
1338 if test -z "$INSTALL"; then
1339 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1340 echo $ac_n "(cached) $ac_c" 1>&6
1342 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1343 for ac_dir
in $PATH; do
1344 # Account for people who put trailing slashes in PATH elements.
1346 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1348 # OSF1 and SCO ODT 3.0 have their own names for install.
1349 # Don't use installbsd from OSF since it installs stuff as root
1351 for ac_prog
in ginstall scoinst
install; do
1352 if test -f $ac_dir/$ac_prog; then
1353 if test $ac_prog = install &&
1354 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1355 # AIX install. It has an incompatible calling convention.
1358 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1369 if test "${ac_cv_path_install+set}" = set; then
1370 INSTALL
="$ac_cv_path_install"
1372 # As a last resort, use the slow shell script. We don't cache a
1373 # path for INSTALL within a source directory, because that will
1374 # break other packages using the cache if that directory is
1375 # removed, or if the path is relative.
1376 INSTALL
="$ac_install_sh"
1379 echo "$ac_t""$INSTALL" 1>&6
1381 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1382 # It thinks the first close brace ends the variable substitution.
1383 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1385 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1387 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1390 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1391 echo "configure:1392: checking whether to enable maintainer-specific portions of Makefiles" >&5
1392 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1393 if test "${enable_maintainer_mode+set}" = set; then
1394 enableval
="$enable_maintainer_mode"
1395 USE_MAINTAINER_MODE
=$enableval
1397 USE_MAINTAINER_MODE
=no
1400 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1403 if test $USE_MAINTAINER_MODE = yes; then
1404 MAINTAINER_MODE_TRUE
=
1405 MAINTAINER_MODE_FALSE
='#'
1407 MAINTAINER_MODE_TRUE
='#'
1408 MAINTAINER_MODE_FALSE
=
1410 MAINT
=$MAINTAINER_MODE_TRUE
1414 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1415 # at least currently, we never actually build a program, so we never
1416 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1417 # fails, because we are probably configuring with a cross compiler
1418 # which can't create executables. So we include AC_EXEEXT to keep
1419 # automake happy, but we don't execute it, since we don't care about
1424 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1425 echo "configure:1426: checking for executable suffix" >&5
1426 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1427 echo $ac_n "(cached) $ac_c" 1>&6
1429 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1433 echo 'int main () { return 0; }' > conftest.
$ac_ext
1435 if { (eval echo configure
:1436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1436 for file in conftest.
*; do
1438 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
1439 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1443 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1446 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1451 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1452 echo "$ac_t""${ac_cv_exeext}" 1>&6
1457 .
${newlib_basedir}/configure.
host
1459 newlib_cflags
="${newlib_cflags} -fno-builtin"
1461 NEWLIB_CFLAGS
=${newlib_cflags}
1469 if test x
${use_libtool} = xyes
; then
1471 USE_LIBTOOL_FALSE
='#'
1473 USE_LIBTOOL_TRUE
='#'
1477 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
1478 # use oext, which is set in configure.host based on the target platform.
1491 cat > confcache
<<\EOF
1492 # This file is a shell script that caches the results of configure
1493 # tests run on this system so they can be shared between configure
1494 # scripts and configure runs. It is not useful on other systems.
1495 # If it contains results you don't want to keep, you may remove or edit it.
1497 # By default, configure uses ./config.cache as the cache file,
1498 # creating it if it does not exist already. You can give configure
1499 # the --cache-file=FILE option to use a different cache file; that is
1500 # what configure does when it calls configure scripts in
1501 # subdirectories, so they share the cache.
1502 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1503 # config.status only pays attention to the cache file if you give it the
1504 # --recheck option to rerun configure.
1507 # The following way of writing the cache mishandles newlines in values,
1508 # but we know of no workaround that is simple, portable, and efficient.
1509 # So, don't put newlines in cache variables' values.
1510 # Ultrix sh set writes to stderr and can't be redirected directly,
1511 # and sets the high bit in the cache file unless we assign to the vars.
1513 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1515 # `set' does not quote correctly, so add quotes (double-quote substitution
1516 # turns \\\\ into \\, and sed turns \\ into \).
1518 -e "s/'/'\\\\''/g" \
1519 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1522 # `set' quotes correctly as required by POSIX, so do not add quotes.
1523 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1526 if cmp -s $cache_file confcache
; then
1529 if test -w $cache_file; then
1530 echo "updating cache $cache_file"
1531 cat confcache
> $cache_file
1533 echo "not updating unwritable cache $cache_file"
1538 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1540 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1541 # Let make expand exec_prefix.
1542 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1544 # Any assignment to VPATH causes Sun make to only execute
1545 # the first set of double-colon rules, so remove it if not needed.
1546 # If there is a colon in the path, we need to keep it.
1547 if test "x$srcdir" = x.
; then
1548 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1551 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1553 # Transform confdefs.h into DEFS.
1554 # Protect against shell expansion while executing Makefile rules.
1555 # Protect against Makefile macro expansion.
1556 cat > conftest.defs
<<\EOF
1557 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1558 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1563 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
1567 # Without the "./", some shells look in PATH for config.status.
1568 : ${CONFIG_STATUS=./config.status}
1570 echo creating $CONFIG_STATUS
1571 rm -f $CONFIG_STATUS
1572 cat > $CONFIG_STATUS <<EOF
1574 # Generated automatically by configure.
1575 # Run this file to recreate the current configuration.
1576 # This directory was configured as follows,
1577 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
1579 # $0 $ac_configure_args
1581 # Compiler output produced by configure, useful for debugging
1582 # configure, is in ./config.log if it exists.
1584 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1587 case "\$ac_option" in
1588 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1589 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1590 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1591 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1592 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1594 -help | --help | --hel | --he | --h)
1595 echo "\$ac_cs_usage"; exit 0 ;;
1596 *) echo "\$ac_cs_usage"; exit 1 ;;
1600 ac_given_srcdir=$srcdir
1601 ac_given_INSTALL="$INSTALL"
1603 trap 'rm -fr `echo "Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1605 cat >> $CONFIG_STATUS <<EOF
1607 # Protect against being on the right side of a sed subst in config.status.
1608 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1609 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1613 s%@CFLAGS@%$CFLAGS%g
1614 s%@CPPFLAGS@%$CPPFLAGS%g
1615 s%@CXXFLAGS@%$CXXFLAGS%g
1616 s%@FFLAGS@%$FFLAGS%g
1618 s%@LDFLAGS@%$LDFLAGS%g
1620 s%@exec_prefix@%$exec_prefix%g
1621 s%@prefix@%$prefix%g
1622 s%@program_transform_name@%$program_transform_name%g
1623 s%@bindir@%$bindir%g
1624 s%@sbindir@%$sbindir%g
1625 s%@libexecdir@%$libexecdir%g
1626 s%@datadir@%$datadir%g
1627 s%@sysconfdir@%$sysconfdir%g
1628 s%@sharedstatedir@%$sharedstatedir%g
1629 s%@localstatedir@%$localstatedir%g
1630 s%@libdir@%$libdir%g
1631 s%@includedir@%$includedir%g
1632 s%@oldincludedir@%$oldincludedir%g
1633 s%@infodir@%$infodir%g
1634 s%@mandir@%$mandir%g
1635 s%@newlib_basedir@%$newlib_basedir%g
1637 s%@host_alias@%$host_alias%g
1638 s%@host_cpu@%$host_cpu%g
1639 s%@host_vendor@%$host_vendor%g
1640 s%@host_os@%$host_os%g
1641 s%@target@%$target%g
1642 s%@target_alias@%$target_alias%g
1643 s%@target_cpu@%$target_cpu%g
1644 s%@target_vendor@%$target_vendor%g
1645 s%@target_os@%$target_os%g
1647 s%@build_alias@%$build_alias%g
1648 s%@build_cpu@%$build_cpu%g
1649 s%@build_vendor@%$build_vendor%g
1650 s%@build_os@%$build_os%g
1651 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1652 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1653 s%@INSTALL_DATA@%$INSTALL_DATA%g
1654 s%@PACKAGE@%$PACKAGE%g
1655 s%@VERSION@%$VERSION%g
1656 s%@ACLOCAL@%$ACLOCAL%g
1657 s%@AUTOCONF@%$AUTOCONF%g
1658 s%@AUTOMAKE@%$AUTOMAKE%g
1659 s%@AUTOHEADER@%$AUTOHEADER%g
1660 s%@MAKEINFO@%$MAKEINFO%g
1661 s%@SET_MAKE@%$SET_MAKE%g
1665 s%@RANLIB@%$RANLIB%g
1666 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
1667 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
1669 s%@EXEEXT@%$EXEEXT%g
1670 s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g
1671 s%@USE_LIBTOOL_TRUE@%$USE_LIBTOOL_TRUE%g
1672 s%@USE_LIBTOOL_FALSE@%$USE_LIBTOOL_FALSE%g
1673 s%@OBJEXT@%$OBJEXT%g
1676 s%@libm_machine_dir@%$libm_machine_dir%g
1677 s%@machine_dir@%$machine_dir%g
1678 s%@sys_dir@%$sys_dir%g
1683 cat >> $CONFIG_STATUS <<\EOF
1685 # Split the substitutions into bite-sized pieces for seds with
1686 # small command number limits, like on Digital OSF/1 and HP-UX.
1687 ac_max_sed_cmds=60 # Maximum number of lines to put in a sed script.
1688 ac_file=1 # Number of current file.
1689 ac_beg=1 # First line for current file.
1690 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1693 while $ac_more_lines; do
1694 if test $ac_beg -gt 1; then
1695 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1697 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1699 if test ! -s conftest.s$ac_file; then
1701 rm -f conftest.s$ac_file
1703 if test -z "$ac_sed_cmds"; then
1704 ac_sed_cmds="sed -f conftest.s$ac_file"
1706 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1708 ac_file=`expr $ac_file + 1`
1710 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1713 if test -z "$ac_sed_cmds"; then
1718 cat >> $CONFIG_STATUS <<EOF
1720 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1722 cat >> $CONFIG_STATUS <<\EOF
1723 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1724 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1726 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
1727 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
1728 *) ac_file_in="${ac_file}.in" ;;
1731 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1733 # Remove last slash and all that follows it. Not all systems have dirname.
1734 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
1735 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1736 # The file is in a subdirectory.
1737 test ! -d "$ac_dir" && mkdir "$ac_dir"
1738 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
1739 # A "../" for each directory in $ac_dir_suffix.
1740 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
1742 ac_dir_suffix= ac_dots=
1745 case "$ac_given_srcdir" in
1747 if test -z "$ac_dots"; then top_srcdir=.
1748 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
1749 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1751 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1752 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1755 case "$ac_given_INSTALL" in
1756 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1757 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1760 echo creating "$ac_file"
1762 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
1764 *Makefile*) ac_comsub="1i\\
1765 # $configure_input" ;;
1769 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1771 s%@configure_input@%$configure_input%g
1772 s%@srcdir@%$srcdir%g
1773 s%@top_srcdir@%$top_srcdir%g
1774 s%@INSTALL@%$INSTALL%g
1775 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1780 cat >> $CONFIG_STATUS <<EOF
1783 cat >> $CONFIG_STATUS <<\EOF
1787 chmod +x $CONFIG_STATUS
1788 rm -fr confdefs* $ac_clean_files
1789 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1