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-maintainer-mode enable make rules and dependencies not useful
18 (and sometimes confusing) to the casual installer"
20 --enable-shared[=PKGS] build shared libraries [default=yes]"
22 --enable-static[=PKGS] build static libraries [default=yes]"
24 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
26 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
28 --disable-libtool-lock avoid locking (might break parallel builds)"
30 --with-pic try to use only PIC/non-PIC objects [default=use both]"
32 --with-target-subdir=SUBDIR
33 configuring with a cross compiler"
35 --with-cross-host=HOST configuring with a cross compiler"
37 --enable-maintainer-mode enable make rules and dependencies not useful
38 (and sometimes confusing) to the casual installer"
40 --enable-parallel-mark parallelize marking and free list construction"
42 --with-ecos enable runtime eCos target support"
44 --enable-full-debug include full support for pointer backtracing etc."
46 # Initialize some variables set by options.
47 # The variables have the same names as the options, with
48 # dashes changed to underlines.
50 cache_file
=.
/config.cache
59 program_transform_name
=s
,x
,x
,
68 bindir
='${exec_prefix}/bin'
69 sbindir
='${exec_prefix}/sbin'
70 libexecdir
='${exec_prefix}/libexec'
71 datadir
='${prefix}/share'
72 sysconfdir
='${prefix}/etc'
73 sharedstatedir
='${prefix}/com'
74 localstatedir
='${prefix}/var'
75 libdir
='${exec_prefix}/lib'
76 includedir
='${prefix}/include'
77 oldincludedir
='/usr/include'
78 infodir
='${prefix}/info'
79 mandir
='${prefix}/man'
81 # Initialize some other variables.
84 SHELL
=${CONFIG_SHELL-/bin/sh}
85 # Maximum number of lines to put in a shell here document.
92 # If the previous option needs an argument, assign it.
93 if test -n "$ac_prev"; then
94 eval "$ac_prev=\$ac_option"
100 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
104 # Accept the important Cygnus configure options, so we can diagnose typos.
108 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
110 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
111 bindir
="$ac_optarg" ;;
113 -build |
--build |
--buil |
--bui |
--bu)
115 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
116 build
="$ac_optarg" ;;
118 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
119 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
120 ac_prev
=cache_file
;;
121 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
122 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
123 cache_file
="$ac_optarg" ;;
125 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
127 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
129 datadir
="$ac_optarg" ;;
131 -disable-* |
--disable-*)
132 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
133 # Reject names that are not valid shell variable names.
134 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
135 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
137 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
138 eval "enable_${ac_feature}=no" ;;
140 -enable-* |
--enable-*)
141 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
142 # Reject names that are not valid shell variable names.
143 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
144 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
146 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
151 eval "enable_${ac_feature}='$ac_optarg'" ;;
153 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
154 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
155 |
--exec |
--exe |
--ex)
156 ac_prev
=exec_prefix
;;
157 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
158 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
159 |
--exec=* |
--exe=* |
--ex=*)
160 exec_prefix
="$ac_optarg" ;;
162 -gas |
--gas |
--ga |
--g)
163 # Obsolete; use --with-gas.
166 -help |
--help |
--hel |
--he)
167 # Omit some internal or obsolete options to make the list less imposing.
168 # This message is too long to be a string in the A/UX 3.1 sh.
170 Usage: configure [options] [host]
171 Options: [defaults in brackets after descriptions]
173 --cache-file=FILE cache test results in FILE
174 --help print this message
175 --no-create do not create output files
176 --quiet, --silent do not print \`checking...' messages
177 --site-file=FILE use FILE as the site file
178 --version print the version of autoconf that created configure
179 Directory and file names:
180 --prefix=PREFIX install architecture-independent files in PREFIX
182 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
184 --bindir=DIR user executables in DIR [EPREFIX/bin]
185 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
186 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
187 --datadir=DIR read-only architecture-independent data in DIR
189 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
190 --sharedstatedir=DIR modifiable architecture-independent data in DIR
192 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
193 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
194 --includedir=DIR C header files in DIR [PREFIX/include]
195 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
196 --infodir=DIR info documentation in DIR [PREFIX/info]
197 --mandir=DIR man documentation in DIR [PREFIX/man]
198 --srcdir=DIR find the sources in DIR [configure dir or ..]
199 --program-prefix=PREFIX prepend PREFIX to installed program names
200 --program-suffix=SUFFIX append SUFFIX to installed program names
201 --program-transform-name=PROGRAM
202 run sed PROGRAM on installed program names
206 --build=BUILD configure for building on BUILD [BUILD=HOST]
207 --host=HOST configure for HOST [guessed]
208 --target=TARGET configure for TARGET [TARGET=HOST]
209 Features and packages:
210 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
211 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
212 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
213 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
214 --x-includes=DIR X include files are in DIR
215 --x-libraries=DIR X library files are in DIR
217 if test -n "$ac_help"; then
218 echo "--enable and --with options recognized:$ac_help"
222 -host |
--host |
--hos |
--ho)
224 -host=* |
--host=* |
--hos=* |
--ho=*)
227 -includedir |
--includedir |
--includedi |
--included |
--include \
228 |
--includ |
--inclu |
--incl |
--inc)
229 ac_prev
=includedir
;;
230 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
231 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
232 includedir
="$ac_optarg" ;;
234 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
236 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
237 infodir
="$ac_optarg" ;;
239 -libdir |
--libdir |
--libdi |
--libd)
241 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
242 libdir
="$ac_optarg" ;;
244 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
245 |
--libexe |
--libex |
--libe)
246 ac_prev
=libexecdir
;;
247 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
248 |
--libexe=* |
--libex=* |
--libe=*)
249 libexecdir
="$ac_optarg" ;;
251 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
252 |
--localstate |
--localstat |
--localsta |
--localst \
253 |
--locals |
--local |
--loca |
--loc |
--lo)
254 ac_prev
=localstatedir
;;
255 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
256 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
257 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
258 localstatedir
="$ac_optarg" ;;
260 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
262 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
263 mandir
="$ac_optarg" ;;
266 # Obsolete; use --without-fp.
269 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
273 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
274 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
277 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
278 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
279 |
--oldin |
--oldi |
--old |
--ol |
--o)
280 ac_prev
=oldincludedir
;;
281 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
282 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
283 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
284 oldincludedir
="$ac_optarg" ;;
286 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
288 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
289 prefix
="$ac_optarg" ;;
291 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
292 |
--program-pre |
--program-pr |
--program-p)
293 ac_prev
=program_prefix
;;
294 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
295 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
296 program_prefix
="$ac_optarg" ;;
298 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
299 |
--program-suf |
--program-su |
--program-s)
300 ac_prev
=program_suffix
;;
301 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
302 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
303 program_suffix
="$ac_optarg" ;;
305 -program-transform-name |
--program-transform-name \
306 |
--program-transform-nam |
--program-transform-na \
307 |
--program-transform-n |
--program-transform- \
308 |
--program-transform |
--program-transfor \
309 |
--program-transfo |
--program-transf \
310 |
--program-trans |
--program-tran \
311 |
--progr-tra |
--program-tr |
--program-t)
312 ac_prev
=program_transform_name
;;
313 -program-transform-name=* |
--program-transform-name=* \
314 |
--program-transform-nam=* |
--program-transform-na=* \
315 |
--program-transform-n=* |
--program-transform-=* \
316 |
--program-transform=* |
--program-transfor=* \
317 |
--program-transfo=* |
--program-transf=* \
318 |
--program-trans=* |
--program-tran=* \
319 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
320 program_transform_name
="$ac_optarg" ;;
322 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
323 |
-silent |
--silent |
--silen |
--sile |
--sil)
326 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
328 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
330 sbindir
="$ac_optarg" ;;
332 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
333 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
334 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
336 ac_prev
=sharedstatedir
;;
337 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
338 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
339 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
341 sharedstatedir
="$ac_optarg" ;;
343 -site |
--site |
--sit)
345 -site=* |
--site=* |
--sit=*)
348 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
350 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
351 sitefile
="$ac_optarg" ;;
353 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
355 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
356 srcdir
="$ac_optarg" ;;
358 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
359 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
360 ac_prev
=sysconfdir
;;
361 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
362 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
363 sysconfdir
="$ac_optarg" ;;
365 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
367 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
368 target
="$ac_optarg" ;;
370 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
373 -version |
--version |
--versio |
--versi |
--vers)
374 echo "configure generated by autoconf version 2.13"
378 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
379 # Reject names that are not valid shell variable names.
380 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
381 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
383 ac_package
=`echo $ac_package| sed 's/-/_/g'`
388 eval "with_${ac_package}='$ac_optarg'" ;;
390 -without-* |
--without-*)
391 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
392 # Reject names that are not valid shell variable names.
393 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
394 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
396 ac_package
=`echo $ac_package| sed 's/-/_/g'`
397 eval "with_${ac_package}=no" ;;
400 # Obsolete; use --with-x.
403 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
404 |
--x-incl |
--x-inc |
--x-in |
--x-i)
405 ac_prev
=x_includes
;;
406 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
407 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
408 x_includes
="$ac_optarg" ;;
410 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
411 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
412 ac_prev
=x_libraries
;;
413 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
414 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
415 x_libraries
="$ac_optarg" ;;
417 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
421 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
422 echo "configure: warning: $ac_option: invalid host type" 1>&2
424 if test "x$nonopt" != xNONE
; then
425 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
433 if test -n "$ac_prev"; then
434 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
437 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
439 # File descriptor usage:
442 # 2 errors and warnings
443 # 3 some systems may open it to /dev/tty
444 # 4 used on the Kubota Titan
445 # 6 checking for... messages and results
446 # 5 compiler messages saved in config.log
447 if test "$silent" = yes; then
455 This file contains any messages produced by compilers while
456 running configure, to aid debugging if configure makes a mistake.
459 # Strip out --no-create and --no-recursion so they do not pile up.
460 # Also quote any args containing shell metacharacters.
465 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
466 |
--no-cr |
--no-c) ;;
467 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
468 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
469 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
470 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
471 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
476 # Only set these to C if already set. These must not be set unconditionally
477 # because not all systems understand e.g. LANG=C (notably SCO).
478 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
479 # Non-C LC_CTYPE values break the ctype check.
480 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
481 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
482 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
483 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
485 # confdefs.h avoids OS command line length limits that DEFS can exceed.
486 rm -rf conftest
* confdefs.h
487 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
490 # A filename unique to this package, relative to the directory that
491 # configure is in, which we can look for to find out if srcdir is correct.
492 ac_unique_file
=gcj_mlc.c
494 # Find the source files, if location was not specified.
495 if test -z "$srcdir"; then
496 ac_srcdir_defaulted
=yes
497 # Try the directory containing this script, then its parent.
499 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
500 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
502 if test ! -r $srcdir/$ac_unique_file; then
506 ac_srcdir_defaulted
=no
508 if test ! -r $srcdir/$ac_unique_file; then
509 if test "$ac_srcdir_defaulted" = yes; then
510 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
512 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
515 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
517 # Prefer explicitly selected file to automatically selected ones.
518 if test -z "$sitefile"; then
519 if test -z "$CONFIG_SITE"; then
520 if test "x$prefix" != xNONE
; then
521 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
523 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
527 CONFIG_SITE
="$sitefile"
529 for ac_site_file
in $CONFIG_SITE; do
530 if test -r "$ac_site_file"; then
531 echo "loading site script $ac_site_file"
536 if test -r "$cache_file"; then
537 echo "loading cache $cache_file"
540 echo "creating cache $cache_file"
545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
546 ac_cpp
='$CPP $CPPFLAGS'
547 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
548 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
549 cross_compiling
=$ac_cv_prog_cc_cross
553 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
554 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
555 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
562 ac_n
= ac_c
='\c' ac_t
=
568 for ac_dir
in .
$srcdir/.
; do
569 if test -f $ac_dir/install-sh
; then
571 ac_install_sh
="$ac_aux_dir/install-sh -c"
573 elif test -f $ac_dir/install.sh
; then
575 ac_install_sh
="$ac_aux_dir/install.sh -c"
579 if test -z "$ac_aux_dir"; then
580 { echo "configure: error: can not find install-sh or install.sh in . $srcdir/." 1>&2; exit 1; }
582 ac_config_guess
=$ac_aux_dir/config.guess
583 ac_config_sub
=$ac_aux_dir/config.sub
584 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
587 # Find a good install program. We prefer a C program (faster),
588 # so one script is as good as another. But avoid the broken or
589 # incompatible versions:
590 # SysV /etc/install, /usr/sbin/install
591 # SunOS /usr/etc/install
594 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
595 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
596 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
597 # ./install, which can be erroneously created by make from ./install.sh.
598 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
599 echo "configure:600: checking for a BSD compatible install" >&5
600 if test -z "$INSTALL"; then
601 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
602 echo $ac_n "(cached) $ac_c" 1>&6
604 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
605 for ac_dir
in $PATH; do
606 # Account for people who put trailing slashes in PATH elements.
608 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
610 # OSF1 and SCO ODT 3.0 have their own names for install.
611 # Don't use installbsd from OSF since it installs stuff as root
613 for ac_prog
in ginstall scoinst
install; do
614 if test -f $ac_dir/$ac_prog; then
615 if test $ac_prog = install &&
616 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
617 # AIX install. It has an incompatible calling convention.
620 ac_cv_path_install
="$ac_dir/$ac_prog -c"
631 if test "${ac_cv_path_install+set}" = set; then
632 INSTALL
="$ac_cv_path_install"
634 # As a last resort, use the slow shell script. We don't cache a
635 # path for INSTALL within a source directory, because that will
636 # break other packages using the cache if that directory is
637 # removed, or if the path is relative.
638 INSTALL
="$ac_install_sh"
641 echo "$ac_t""$INSTALL" 1>&6
643 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
644 # It thinks the first close brace ends the variable substitution.
645 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
647 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
649 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
651 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
652 echo "configure:653: checking whether build environment is sane" >&5
655 echo timestamp
> conftestfile
656 # Do `set' in a subshell so we don't clobber the current shell's
657 # arguments. Must try -L first in case configure is actually a
658 # symlink; some systems play weird games with the mod time of symlinks
659 # (eg FreeBSD returns the mod time of the symlink's containing
662 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
663 if test "$*" = "X"; then
665 set X
`ls -t $srcdir/configure conftestfile`
667 if test "$*" != "X $srcdir/configure conftestfile" \
668 && test "$*" != "X conftestfile $srcdir/configure"; then
670 # If neither matched, then we have a broken ls. This can happen
671 # if, for instance, CONFIG_SHELL is bash and it inherits a
672 # broken ls alias from the environment. This has actually
673 # happened. Such a system could not be considered "sane".
674 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
675 alias in your environment" 1>&2; exit 1; }
678 test "$2" = conftestfile
684 { echo "configure: error: newly created file is older than distributed files!
685 Check your system clock" 1>&2; exit 1; }
688 echo "$ac_t""yes" 1>&6
689 if test "$program_transform_name" = s
,x
,x
,; then
690 program_transform_name
=
692 # Double any \ or $. echo might interpret backslashes.
693 cat <<\EOF_SED
> conftestsed
694 s
,\\,\\\\,g
; s
,\$
,$$
,g
696 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
699 test "$program_prefix" != NONE
&&
700 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
701 # Use a double $ so make ignores it.
702 test "$program_suffix" != NONE
&&
703 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
705 # sed with no file args requires a program.
706 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
708 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
709 echo "configure:710: checking whether ${MAKE-make} sets \${MAKE}" >&5
710 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
711 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
712 echo $ac_n "(cached) $ac_c" 1>&6
714 cat > conftestmake
<<\EOF
716 @
echo 'ac_maketemp="${MAKE}"'
718 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
719 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
720 if test -n "$ac_maketemp"; then
721 eval ac_cv_prog_make_
${ac_make}_set
=yes
723 eval ac_cv_prog_make_
${ac_make}_set
=no
727 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
728 echo "$ac_t""yes" 1>&6
731 echo "$ac_t""no" 1>&6
732 SET_MAKE
="MAKE=${MAKE-make}"
735 if test $host != $build; then
736 ac_tool_prefix
=${host_alias}-
741 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
742 echo "configure:743: checking for Cygwin environment" >&5
743 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
744 echo $ac_n "(cached) $ac_c" 1>&6
746 cat > conftest.
$ac_ext <<EOF
747 #line 748 "configure"
748 #include "confdefs.h"
753 #define __CYGWIN__ __CYGWIN32__
758 if { (eval echo configure
:759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
762 echo "configure: failed program was:" >&5
763 cat conftest.
$ac_ext >&5
771 echo "$ac_t""$ac_cv_cygwin" 1>&6
773 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
774 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
775 echo "configure:776: checking for mingw32 environment" >&5
776 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
777 echo $ac_n "(cached) $ac_c" 1>&6
779 cat > conftest.
$ac_ext <<EOF
780 #line 781 "configure"
781 #include "confdefs.h"
787 if { (eval echo configure
:788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
791 echo "configure: failed program was:" >&5
792 cat conftest.
$ac_ext >&5
800 echo "$ac_t""$ac_cv_mingw32" 1>&6
802 test "$ac_cv_mingw32" = yes && MINGW32
=yes
804 # Check whether --enable-multilib or --disable-multilib was given.
805 if test "${enable_multilib+set}" = set; then
806 enableval
="$enable_multilib"
807 case "${enableval}" in
810 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
817 if test "${srcdir}" = "."; then
818 if test "${with_target_subdir}" != "." -a -n "${with_target_subdir}"; then
819 gc_basedir
="${srcdir}/${with_multisrctop}../."
821 gc_basedir
="${srcdir}/${with_multisrctop}."
824 gc_basedir
="${srcdir}/."
828 for ac_dir
in $gc_basedir/..
$srcdir/$gc_basedir/..
; do
829 if test -f $ac_dir/install-sh
; then
831 ac_install_sh
="$ac_aux_dir/install-sh -c"
833 elif test -f $ac_dir/install.sh
; then
835 ac_install_sh
="$ac_aux_dir/install.sh -c"
839 if test -z "$ac_aux_dir"; then
840 { echo "configure: error: can not find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." 1>&2; exit 1; }
842 ac_config_guess
=$ac_aux_dir/config.guess
843 ac_config_sub
=$ac_aux_dir/config.sub
844 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
847 # This overrides the previous occurrence for automake, but not for
848 # autoconf, which is exactly what we want.
850 for ac_dir
in ..
$srcdir/..
; do
851 if test -f $ac_dir/install-sh
; then
853 ac_install_sh
="$ac_aux_dir/install-sh -c"
855 elif test -f $ac_dir/install.sh
; then
857 ac_install_sh
="$ac_aux_dir/install.sh -c"
861 if test -z "$ac_aux_dir"; then
862 { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
864 ac_config_guess
=$ac_aux_dir/config.guess
865 ac_config_sub
=$ac_aux_dir/config.sub
866 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
871 # Do some error checking and defaulting for the host and target type.
873 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
876 # 1. You are not allowed to specify --host, --target, and nonopt at the
878 # 2. Host defaults to nonopt.
879 # 3. If nonopt is not specified, then host defaults to the current host,
880 # as determined by config.guess.
881 # 4. Target and build default to nonopt.
882 # 5. If nonopt is not specified, then target and build default to host.
884 # The aliases save the names the user supplied, while $host etc.
885 # will get canonicalized.
886 case $host---$target---$nonopt in
887 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
888 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
892 # Make sure we can run config.sub.
893 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
894 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
897 echo $ac_n "checking host system type""... $ac_c" 1>&6
898 echo "configure:899: checking host system type" >&5
901 case "$host_alias" in
905 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
906 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
908 *) host_alias
=$nonopt ;;
912 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
913 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
914 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
915 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
916 echo "$ac_t""$host" 1>&6
918 echo $ac_n "checking target system type""... $ac_c" 1>&6
919 echo "configure:920: checking target system type" >&5
922 case "$target_alias" in
925 NONE
) target_alias
=$host_alias ;;
926 *) target_alias
=$nonopt ;;
930 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
931 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
932 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
933 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
934 echo "$ac_t""$target" 1>&6
936 echo $ac_n "checking build system type""... $ac_c" 1>&6
937 echo "configure:938: checking build system type" >&5
940 case "$build_alias" in
943 NONE
) build_alias
=$host_alias ;;
944 *) build_alias
=$nonopt ;;
948 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
949 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
950 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
951 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
952 echo "$ac_t""$build" 1>&6
954 test "$host_alias" != "$target_alias" &&
955 test "$program_prefix$program_suffix$program_transform_name" = \
957 program_prefix
=${target_alias}-
960 # This works around an automake problem.
961 mkinstalldirs
="`cd $ac_aux_dir && pwd`/mkinstalldirs"
969 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
970 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
975 missing_dir
=`cd $ac_aux_dir && pwd`
976 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
977 echo "configure:978: checking for working aclocal" >&5
978 # Run test in a subshell; some versions of sh will print an error if
979 # an executable is not found, even if stderr is redirected.
980 # Redirect stdin to placate older versions of autoconf. Sigh.
981 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
983 echo "$ac_t""found" 1>&6
985 ACLOCAL
="$missing_dir/missing aclocal"
986 echo "$ac_t""missing" 1>&6
989 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
990 echo "configure:991: checking for working autoconf" >&5
991 # Run test in a subshell; some versions of sh will print an error if
992 # an executable is not found, even if stderr is redirected.
993 # Redirect stdin to placate older versions of autoconf. Sigh.
994 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
996 echo "$ac_t""found" 1>&6
998 AUTOCONF
="$missing_dir/missing autoconf"
999 echo "$ac_t""missing" 1>&6
1002 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1003 echo "configure:1004: checking for working automake" >&5
1004 # Run test in a subshell; some versions of sh will print an error if
1005 # an executable is not found, even if stderr is redirected.
1006 # Redirect stdin to placate older versions of autoconf. Sigh.
1007 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1009 echo "$ac_t""found" 1>&6
1011 AUTOMAKE
="$missing_dir/missing automake"
1012 echo "$ac_t""missing" 1>&6
1015 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1016 echo "configure:1017: checking for working autoheader" >&5
1017 # Run test in a subshell; some versions of sh will print an error if
1018 # an executable is not found, even if stderr is redirected.
1019 # Redirect stdin to placate older versions of autoconf. Sigh.
1020 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1021 AUTOHEADER
=autoheader
1022 echo "$ac_t""found" 1>&6
1024 AUTOHEADER
="$missing_dir/missing autoheader"
1025 echo "$ac_t""missing" 1>&6
1028 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1029 echo "configure:1030: checking for working makeinfo" >&5
1030 # Run test in a subshell; some versions of sh will print an error if
1031 # an executable is not found, even if stderr is redirected.
1032 # Redirect stdin to placate older versions of autoconf. Sigh.
1033 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1035 echo "$ac_t""found" 1>&6
1037 MAKEINFO
="$missing_dir/missing makeinfo"
1038 echo "$ac_t""missing" 1>&6
1043 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1044 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1045 # are probably using a cross compiler, which will not be able to fully
1046 # link an executable. This should really be fixed in autoconf
1052 # Extract the first word of "gcc", so it can be a program name with args.
1053 set dummy gcc
; ac_word
=$2
1054 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1055 echo "configure:1056: checking for $ac_word" >&5
1056 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1057 echo $ac_n "(cached) $ac_c" 1>&6
1059 if test -n "$CC"; then
1060 ac_cv_prog_CC
="$CC" # Let the user override the test.
1062 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1064 for ac_dir
in $ac_dummy; do
1065 test -z "$ac_dir" && ac_dir
=.
1066 if test -f $ac_dir/$ac_word; then
1075 if test -n "$CC"; then
1076 echo "$ac_t""$CC" 1>&6
1078 echo "$ac_t""no" 1>&6
1081 if test -z "$CC"; then
1082 # Extract the first word of "cc", so it can be a program name with args.
1083 set dummy cc
; ac_word
=$2
1084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1085 echo "configure:1086: checking for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1087 echo $ac_n "(cached) $ac_c" 1>&6
1089 if test -n "$CC"; then
1090 ac_cv_prog_CC
="$CC" # Let the user override the test.
1092 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1095 for ac_dir
in $ac_dummy; do
1096 test -z "$ac_dir" && ac_dir
=.
1097 if test -f $ac_dir/$ac_word; then
1098 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1099 ac_prog_rejected
=yes
1107 if test $ac_prog_rejected = yes; then
1108 # We found a bogon in the path, so make sure we never use it.
1109 set dummy
$ac_cv_prog_CC
1111 if test $# -gt 0; then
1112 # We chose a different compiler from the bogus one.
1113 # However, it has the same basename, so the bogon will be chosen
1114 # first if we set CC to just the basename; use the full file name.
1116 set dummy
"$ac_dir/$ac_word" "$@"
1124 if test -n "$CC"; then
1125 echo "$ac_t""$CC" 1>&6
1127 echo "$ac_t""no" 1>&6
1130 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1133 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1134 echo "configure:1135: checking whether we are using GNU C" >&5
1135 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1136 echo $ac_n "(cached) $ac_c" 1>&6
1138 cat > conftest.c
<<EOF
1143 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1150 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1152 if test $ac_cv_prog_gcc = yes; then
1154 ac_test_CFLAGS
="${CFLAGS+set}"
1155 ac_save_CFLAGS
="$CFLAGS"
1157 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1158 echo "configure:1159: checking whether ${CC-cc} accepts -g" >&5
1159 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1160 echo $ac_n "(cached) $ac_c" 1>&6
1162 echo 'void f(){}' > conftest.c
1163 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1172 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1173 if test "$ac_test_CFLAGS" = set; then
1174 CFLAGS
="$ac_save_CFLAGS"
1175 elif test $ac_cv_prog_cc_g = yes; then
1182 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1186 # Likewise for AC_PROG_CXX.
1190 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1192 # Extract the first word of "$ac_prog", so it can be a program name with args.
1193 set dummy
$ac_prog; ac_word
=$2
1194 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1195 echo "configure:1196: checking for $ac_word" >&5
1196 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1197 echo $ac_n "(cached) $ac_c" 1>&6
1199 if test -n "$CXX"; then
1200 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1202 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1204 for ac_dir
in $ac_dummy; do
1205 test -z "$ac_dir" && ac_dir
=.
1206 if test -f $ac_dir/$ac_word; then
1207 ac_cv_prog_CXX
="$ac_prog"
1214 CXX
="$ac_cv_prog_CXX"
1215 if test -n "$CXX"; then
1216 echo "$ac_t""$CXX" 1>&6
1218 echo "$ac_t""no" 1>&6
1221 test -n "$CXX" && break
1223 test -n "$CXX" || CXX
="gcc"
1225 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1227 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1228 echo "configure:1229: checking whether we are using GNU C++" >&5
1229 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1230 echo $ac_n "(cached) $ac_c" 1>&6
1232 cat > conftest.C
<<EOF
1237 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1244 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1246 if test $ac_cv_prog_gxx = yes; then
1248 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1249 ac_save_CXXFLAGS
="$CXXFLAGS"
1251 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1252 echo "configure:1253: checking whether ${CXX-g++} accepts -g" >&5
1253 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1254 echo $ac_n "(cached) $ac_c" 1>&6
1256 echo 'void f(){}' > conftest.cc
1257 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1258 ac_cv_prog_cxx_g
=yes
1266 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1267 if test "$ac_test_CXXFLAGS" = set; then
1268 CXXFLAGS
="$ac_save_CXXFLAGS"
1269 elif test $ac_cv_prog_cxx_g = yes; then
1276 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1280 # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we don't
1281 # run it explicitly here, it will be run implicitly before
1282 # NEWLIB_CONFIGURE, which doesn't work because that means that it will
1283 # be run before AC_CANONICAL_HOST.
1284 echo $ac_n "checking build system type""... $ac_c" 1>&6
1285 echo "configure:1286: checking build system type" >&5
1288 case "$build_alias" in
1291 NONE
) build_alias
=$host_alias ;;
1292 *) build_alias
=$nonopt ;;
1296 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1297 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1298 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1299 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1300 echo "$ac_t""$build" 1>&6
1303 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1304 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1306 echo "configure:1307: checking for $ac_word" >&5
1307 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1308 echo $ac_n "(cached) $ac_c" 1>&6
1310 if test -n "$AS"; then
1311 ac_cv_prog_AS
="$AS" # Let the user override the test.
1313 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1315 for ac_dir
in $ac_dummy; do
1316 test -z "$ac_dir" && ac_dir
=.
1317 if test -f $ac_dir/$ac_word; then
1318 ac_cv_prog_AS
="${ac_tool_prefix}as"
1323 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1327 if test -n "$AS"; then
1328 echo "$ac_t""$AS" 1>&6
1330 echo "$ac_t""no" 1>&6
1335 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1336 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1337 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1338 echo "configure:1339: checking for $ac_word" >&5
1339 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1340 echo $ac_n "(cached) $ac_c" 1>&6
1342 if test -n "$AR"; then
1343 ac_cv_prog_AR
="$AR" # Let the user override the test.
1345 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1347 for ac_dir
in $ac_dummy; do
1348 test -z "$ac_dir" && ac_dir
=.
1349 if test -f $ac_dir/$ac_word; then
1350 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1355 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1359 if test -n "$AR"; then
1360 echo "$ac_t""$AR" 1>&6
1362 echo "$ac_t""no" 1>&6
1367 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1368 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1369 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1370 echo "configure:1371: checking for $ac_word" >&5
1371 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1372 echo $ac_n "(cached) $ac_c" 1>&6
1374 if test -n "$RANLIB"; then
1375 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1377 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1379 for ac_dir
in $ac_dummy; do
1380 test -z "$ac_dir" && ac_dir
=.
1381 if test -f $ac_dir/$ac_word; then
1382 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1389 RANLIB
="$ac_cv_prog_RANLIB"
1390 if test -n "$RANLIB"; then
1391 echo "$ac_t""$RANLIB" 1>&6
1393 echo "$ac_t""no" 1>&6
1397 if test -z "$ac_cv_prog_RANLIB"; then
1398 if test -n "$ac_tool_prefix"; then
1399 # Extract the first word of "ranlib", so it can be a program name with args.
1400 set dummy ranlib
; ac_word
=$2
1401 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1402 echo "configure:1403: checking for $ac_word" >&5
1403 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1404 echo $ac_n "(cached) $ac_c" 1>&6
1406 if test -n "$RANLIB"; then
1407 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1409 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1411 for ac_dir
in $ac_dummy; do
1412 test -z "$ac_dir" && ac_dir
=.
1413 if test -f $ac_dir/$ac_word; then
1414 ac_cv_prog_RANLIB
="ranlib"
1419 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1422 RANLIB
="$ac_cv_prog_RANLIB"
1423 if test -n "$RANLIB"; then
1424 echo "$ac_t""$RANLIB" 1>&6
1426 echo "$ac_t""no" 1>&6
1435 # Find a good install program. We prefer a C program (faster),
1436 # so one script is as good as another. But avoid the broken or
1437 # incompatible versions:
1438 # SysV /etc/install, /usr/sbin/install
1439 # SunOS /usr/etc/install
1440 # IRIX /sbin/install
1442 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1443 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1444 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1445 # ./install, which can be erroneously created by make from ./install.sh.
1446 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1447 echo "configure:1448: checking for a BSD compatible install" >&5
1448 if test -z "$INSTALL"; then
1449 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1450 echo $ac_n "(cached) $ac_c" 1>&6
1452 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1453 for ac_dir
in $PATH; do
1454 # Account for people who put trailing slashes in PATH elements.
1456 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1458 # OSF1 and SCO ODT 3.0 have their own names for install.
1459 # Don't use installbsd from OSF since it installs stuff as root
1461 for ac_prog
in ginstall scoinst
install; do
1462 if test -f $ac_dir/$ac_prog; then
1463 if test $ac_prog = install &&
1464 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1465 # AIX install. It has an incompatible calling convention.
1468 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1479 if test "${ac_cv_path_install+set}" = set; then
1480 INSTALL
="$ac_cv_path_install"
1482 # As a last resort, use the slow shell script. We don't cache a
1483 # path for INSTALL within a source directory, because that will
1484 # break other packages using the cache if that directory is
1485 # removed, or if the path is relative.
1486 INSTALL
="$ac_install_sh"
1489 echo "$ac_t""$INSTALL" 1>&6
1491 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1492 # It thinks the first close brace ends the variable substitution.
1493 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1495 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1497 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1500 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1501 echo "configure:1502: checking whether to enable maintainer-specific portions of Makefiles" >&5
1502 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1503 if test "${enable_maintainer_mode+set}" = set; then
1504 enableval
="$enable_maintainer_mode"
1505 USE_MAINTAINER_MODE
=$enableval
1507 USE_MAINTAINER_MODE
=no
1510 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1513 if test $USE_MAINTAINER_MODE = yes; then
1514 MAINTAINER_MODE_TRUE
=
1515 MAINTAINER_MODE_FALSE
='#'
1517 MAINTAINER_MODE_TRUE
='#'
1518 MAINTAINER_MODE_FALSE
=
1520 MAINT
=$MAINTAINER_MODE_TRUE
1524 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1525 # at least currently, we never actually build a program, so we never
1526 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1527 # fails, because we are probably configuring with a cross compiler
1528 # which can't create executables. So we include AC_EXEEXT to keep
1529 # automake happy, but we don't execute it, since we don't care about
1532 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1533 # to nothing, so nothing would remain between `then' and `fi' if it
1534 # were not for the `:' below.
1538 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1539 echo "configure:1540: checking for executable suffix" >&5
1540 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1541 echo $ac_n "(cached) $ac_c" 1>&6
1543 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1547 echo 'int main () { return 0; }' > conftest.
$ac_ext
1549 if { (eval echo configure
:1550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1550 for file in conftest.
*; do
1552 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
1553 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1557 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1560 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1565 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1566 echo "$ac_t""${ac_cv_exeext}" 1>&6
1571 .
${srcdir}/configure.
host
1573 case ${gc_basedir} in
1574 /* | A-Za-z
:/\\*) gc_flagbasedir
=${gc_basedir} ;;
1575 *) gc_flagbasedir
='$(top_builddir)/'${gc_basedir} ;;
1578 gc_cflags
="${gc_cflags} -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
1581 gc_cflags
="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
1586 GC_CFLAGS
=${gc_cflags}
1590 # Check whether --enable-shared or --disable-shared was given.
1591 if test "${enable_shared+set}" = set; then
1592 enableval
="$enable_shared"
1593 p
=${PACKAGE-default}
1595 yes) enable_shared
=yes ;;
1596 no
) enable_shared
=no
;;
1599 # Look at the argument we got. We use all the common list separators.
1600 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1601 for pkg
in $enableval; do
1602 if test "X$pkg" = "X$p"; then
1613 # Check whether --enable-static or --disable-static was given.
1614 if test "${enable_static+set}" = set; then
1615 enableval
="$enable_static"
1616 p
=${PACKAGE-default}
1618 yes) enable_static
=yes ;;
1619 no
) enable_static
=no
;;
1622 # Look at the argument we got. We use all the common list separators.
1623 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1624 for pkg
in $enableval; do
1625 if test "X$pkg" = "X$p"; then
1636 # Check whether --enable-fast-install or --disable-fast-install was given.
1637 if test "${enable_fast_install+set}" = set; then
1638 enableval
="$enable_fast_install"
1639 p
=${PACKAGE-default}
1641 yes) enable_fast_install
=yes ;;
1642 no
) enable_fast_install
=no
;;
1644 enable_fast_install
=no
1645 # Look at the argument we got. We use all the common list separators.
1646 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1647 for pkg
in $enableval; do
1648 if test "X$pkg" = "X$p"; then
1649 enable_fast_install
=yes
1656 enable_fast_install
=yes
1659 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1660 if test "${with_gnu_ld+set}" = set; then
1661 withval
="$with_gnu_ld"
1662 test "$withval" = no || with_gnu_ld
=yes
1668 if test "$GCC" = yes; then
1669 # Check if gcc -print-prog-name=ld gives a path.
1670 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1671 echo "configure:1672: checking for ld used by GCC" >&5
1674 # gcc leaves a trailing carriage return which upsets mingw
1675 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1677 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
1680 # Accept absolute paths.
1681 [\\/]* |
[A-Za-z
]:[\\/]*)
1682 re_direlt
='/[^/][^/]*/\.\./'
1683 # Canonicalize the path of ld
1684 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1685 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1686 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1688 test -z "$LD" && LD
="$ac_prog"
1691 # If it fails, then pretend we aren't using GCC.
1695 # If it is relative, then search for the first ld in PATH.
1699 elif test "$with_gnu_ld" = yes; then
1700 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1701 echo "configure:1702: checking for GNU ld" >&5
1703 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1704 echo "configure:1705: checking for non-GNU ld" >&5
1706 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1707 echo $ac_n "(cached) $ac_c" 1>&6
1709 if test -z "$LD"; then
1710 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1711 for ac_dir
in $PATH; do
1712 test -z "$ac_dir" && ac_dir
=.
1713 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1714 lt_cv_path_LD
="$ac_dir/$ac_prog"
1715 # Check to see if the program is GNU ld. I'd rather use --version,
1716 # but apparently some GNU ld's only accept -v.
1717 # Break only if it was the GNU/non-GNU ld that we prefer.
1718 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1719 test "$with_gnu_ld" != no
&& break
1721 test "$with_gnu_ld" != yes && break
1727 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
1732 if test -n "$LD"; then
1733 echo "$ac_t""$LD" 1>&6
1735 echo "$ac_t""no" 1>&6
1737 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1738 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1739 echo "configure:1740: checking if the linker ($LD) is GNU ld" >&5
1740 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1741 echo $ac_n "(cached) $ac_c" 1>&6
1743 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1744 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1745 lt_cv_prog_gnu_ld
=yes
1747 lt_cv_prog_gnu_ld
=no
1751 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1752 with_gnu_ld
=$lt_cv_prog_gnu_ld
1755 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1756 echo "configure:1757: checking for $LD option to reload object files" >&5
1757 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1758 echo $ac_n "(cached) $ac_c" 1>&6
1760 lt_cv_ld_reload_flag
='-r'
1763 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1764 reload_flag
=$lt_cv_ld_reload_flag
1765 test -n "$reload_flag" && reload_flag
=" $reload_flag"
1767 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1768 echo "configure:1769: checking for BSD-compatible nm" >&5
1769 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1770 echo $ac_n "(cached) $ac_c" 1>&6
1772 if test -n "$NM"; then
1773 # Let the user override the test.
1776 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1777 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1778 test -z "$ac_dir" && ac_dir
=.
1779 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
1780 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
1781 # Check to see if the nm accepts a BSD-compat flag.
1782 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1783 # nm: unknown option "B" ignored
1784 # Tru64's nm complains that /dev/null is an invalid object file
1785 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
1786 lt_cv_path_NM
="$tmp_nm -B"
1788 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1789 lt_cv_path_NM
="$tmp_nm -p"
1792 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1793 continue # so that we can try to find one that supports BSD flags
1798 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
1803 echo "$ac_t""$NM" 1>&6
1805 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1806 echo "configure:1807: checking whether ln -s works" >&5
1807 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1808 echo $ac_n "(cached) $ac_c" 1>&6
1811 if ln -s X conftestdata
2>/dev
/null
1814 ac_cv_prog_LN_S
="ln -s"
1819 LN_S
="$ac_cv_prog_LN_S"
1820 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1821 echo "$ac_t""yes" 1>&6
1823 echo "$ac_t""no" 1>&6
1826 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1827 echo "configure:1828: checking how to recognise dependant libraries" >&5
1828 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1829 echo $ac_n "(cached) $ac_c" 1>&6
1831 lt_cv_file_magic_cmd
='$MAGIC_CMD'
1832 lt_cv_file_magic_test_file
=
1833 lt_cv_deplibs_check_method
='unknown'
1834 # Need to set the preceding variable on all platforms that support
1835 # interlibrary dependencies.
1836 # 'none' -- dependencies not supported.
1837 # `unknown' -- same as none, but documents that we really don't know.
1838 # 'pass_all' -- all dependencies passed with no checks.
1839 # 'test_compile' -- check by making test program.
1840 # 'file_magic [regex]' -- check by looking for files in library path
1841 # which responds to the $file_magic_cmd with a given egrep regex.
1842 # If you have `file' or equivalent on your system and you're not sure
1843 # whether `pass_all' will *always* work, you probably want this one.
1847 lt_cv_deplibs_check_method
=pass_all
1851 lt_cv_deplibs_check_method
=pass_all
1855 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1856 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1857 lt_cv_file_magic_test_file
=/shlib
/libc.so
1860 cygwin
* | mingw
* |pw32
*)
1861 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
1862 lt_cv_file_magic_cmd
='$OBJDUMP -f'
1865 darwin
* | rhapsody
*)
1866 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
1867 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1869 rhapsody
* | darwin1.012
)
1870 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
1873 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
1879 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
1882 # Not sure whether the presence of OpenBSD here was a mistake.
1883 # Let's accept both of them until this is cleared up.
1884 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1885 lt_cv_file_magic_cmd
=/usr
/bin
/file
1886 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
1890 lt_cv_deplibs_check_method
=pass_all
1895 lt_cv_deplibs_check_method
=pass_all
1899 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1900 lt_cv_file_magic_cmd
=/usr
/bin
/file
1901 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
1907 # this will be overridden with pass_all, but let us keep it just in case
1908 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1912 *-32|
*"-32 ") libmagic
=32-bit;;
1913 *-n32|
*"-n32 ") libmagic
=N32
;;
1914 *-64|
*"-64 ") libmagic
=64-bit;;
1915 *) libmagic
=never-match
;;
1917 # this will be overridden with pass_all, but let us keep it just in case
1918 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1921 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
1922 lt_cv_deplibs_check_method
=pass_all
1925 # This must be Linux ELF.
1928 alpha
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
1929 lt_cv_deplibs_check_method
=pass_all
;;
1931 # glibc up to 2.1.1 does not perform some relocations on ARM
1932 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1934 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
1938 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
1939 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1941 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
1946 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1947 lt_cv_file_magic_cmd
=/usr
/bin
/file
1948 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
1951 osf3
* | osf4
* | osf5
*)
1952 # this will be overridden with pass_all, but let us keep it just in case
1953 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
1954 lt_cv_file_magic_test_file
=/shlib
/libc.so
1955 lt_cv_deplibs_check_method
=pass_all
1959 lt_cv_deplibs_check_method
=pass_all
1963 lt_cv_deplibs_check_method
=pass_all
1964 lt_cv_file_magic_test_file
=/lib
/libc.so
1967 sysv5uw
[78]* | sysv4
*uw2
*)
1968 lt_cv_deplibs_check_method
=pass_all
1971 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
1972 case $host_vendor in
1974 lt_cv_deplibs_check_method
=pass_all
1977 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]'
1978 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
1986 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1987 file_magic_cmd
=$lt_cv_file_magic_cmd
1988 deplibs_check_method
=$lt_cv_deplibs_check_method
1990 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1991 echo "configure:1992: checking for object suffix" >&5
1992 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1993 echo $ac_n "(cached) $ac_c" 1>&6
1996 echo 'int i = 1;' > conftest.
$ac_ext
1997 if { (eval echo configure
:1998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1998 for ac_file
in conftest.
*; do
2001 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
2005 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2010 echo "$ac_t""$ac_cv_objext" 1>&6
2011 OBJEXT
=$ac_cv_objext
2012 ac_objext
=$ac_cv_objext
2014 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2016 # Only perform the check for file, if the check method requires it
2017 case $deplibs_check_method in
2019 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2020 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2021 echo "configure:2022: checking for ${ac_tool_prefix}file" >&5
2022 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2023 echo $ac_n "(cached) $ac_c" 1>&6
2027 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2030 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2033 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2034 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2035 ac_dummy
="/usr/bin:$PATH"
2036 for ac_dir
in $ac_dummy; do
2037 test -z "$ac_dir" && ac_dir
=.
2038 if test -f $ac_dir/${ac_tool_prefix}file; then
2039 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
2040 if test -n "$file_magic_test_file"; then
2041 case $deplibs_check_method in
2043 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2044 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2045 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2046 egrep "$file_magic_regex" > /dev
/null
; then
2051 *** Warning: the command libtool uses to detect shared libraries,
2052 *** $file_magic_cmd, produces output that libtool cannot recognize.
2053 *** The result is that libtool may fail to recognize shared libraries
2054 *** as such. This will affect the creation of libtool libraries that
2055 *** depend on shared libraries, but programs linked with such libtool
2056 *** libraries will work regardless of this problem. Nevertheless, you
2057 *** may want to report the problem to your system manager and/or to
2058 *** bug-libtool@gnu.org
2068 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2073 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2074 if test -n "$MAGIC_CMD"; then
2075 echo "$ac_t""$MAGIC_CMD" 1>&6
2077 echo "$ac_t""no" 1>&6
2080 if test -z "$lt_cv_path_MAGIC_CMD"; then
2081 if test -n "$ac_tool_prefix"; then
2082 echo $ac_n "checking for file""... $ac_c" 1>&6
2083 echo "configure:2084: checking for file" >&5
2084 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2085 echo $ac_n "(cached) $ac_c" 1>&6
2089 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2092 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2095 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2096 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2097 ac_dummy
="/usr/bin:$PATH"
2098 for ac_dir
in $ac_dummy; do
2099 test -z "$ac_dir" && ac_dir
=.
2100 if test -f $ac_dir/file; then
2101 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
2102 if test -n "$file_magic_test_file"; then
2103 case $deplibs_check_method in
2105 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2106 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2107 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2108 egrep "$file_magic_regex" > /dev
/null
; then
2113 *** Warning: the command libtool uses to detect shared libraries,
2114 *** $file_magic_cmd, produces output that libtool cannot recognize.
2115 *** The result is that libtool may fail to recognize shared libraries
2116 *** as such. This will affect the creation of libtool libraries that
2117 *** depend on shared libraries, but programs linked with such libtool
2118 *** libraries will work regardless of this problem. Nevertheless, you
2119 *** may want to report the problem to your system manager and/or to
2120 *** bug-libtool@gnu.org
2130 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2135 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2136 if test -n "$MAGIC_CMD"; then
2137 echo "$ac_t""$MAGIC_CMD" 1>&6
2139 echo "$ac_t""no" 1>&6
2151 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2152 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2154 echo "configure:2155: checking for $ac_word" >&5
2155 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2156 echo $ac_n "(cached) $ac_c" 1>&6
2158 if test -n "$RANLIB"; then
2159 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2161 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2163 for ac_dir
in $ac_dummy; do
2164 test -z "$ac_dir" && ac_dir
=.
2165 if test -f $ac_dir/$ac_word; then
2166 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2173 RANLIB
="$ac_cv_prog_RANLIB"
2174 if test -n "$RANLIB"; then
2175 echo "$ac_t""$RANLIB" 1>&6
2177 echo "$ac_t""no" 1>&6
2181 if test -z "$ac_cv_prog_RANLIB"; then
2182 if test -n "$ac_tool_prefix"; then
2183 # Extract the first word of "ranlib", so it can be a program name with args.
2184 set dummy ranlib
; ac_word
=$2
2185 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2186 echo "configure:2187: checking for $ac_word" >&5
2187 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2188 echo $ac_n "(cached) $ac_c" 1>&6
2190 if test -n "$RANLIB"; then
2191 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2193 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2195 for ac_dir
in $ac_dummy; do
2196 test -z "$ac_dir" && ac_dir
=.
2197 if test -f $ac_dir/$ac_word; then
2198 ac_cv_prog_RANLIB
="ranlib"
2203 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2206 RANLIB
="$ac_cv_prog_RANLIB"
2207 if test -n "$RANLIB"; then
2208 echo "$ac_t""$RANLIB" 1>&6
2210 echo "$ac_t""no" 1>&6
2218 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2219 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2220 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2221 echo "configure:2222: checking for $ac_word" >&5
2222 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2223 echo $ac_n "(cached) $ac_c" 1>&6
2225 if test -n "$STRIP"; then
2226 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2228 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2230 for ac_dir
in $ac_dummy; do
2231 test -z "$ac_dir" && ac_dir
=.
2232 if test -f $ac_dir/$ac_word; then
2233 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2240 STRIP
="$ac_cv_prog_STRIP"
2241 if test -n "$STRIP"; then
2242 echo "$ac_t""$STRIP" 1>&6
2244 echo "$ac_t""no" 1>&6
2248 if test -z "$ac_cv_prog_STRIP"; then
2249 if test -n "$ac_tool_prefix"; then
2250 # Extract the first word of "strip", so it can be a program name with args.
2251 set dummy strip
; ac_word
=$2
2252 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2253 echo "configure:2254: checking for $ac_word" >&5
2254 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2255 echo $ac_n "(cached) $ac_c" 1>&6
2257 if test -n "$STRIP"; then
2258 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2260 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2262 for ac_dir
in $ac_dummy; do
2263 test -z "$ac_dir" && ac_dir
=.
2264 if test -f $ac_dir/$ac_word; then
2265 ac_cv_prog_STRIP
="strip"
2270 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2273 STRIP
="$ac_cv_prog_STRIP"
2274 if test -n "$STRIP"; then
2275 echo "$ac_t""$STRIP" 1>&6
2277 echo "$ac_t""no" 1>&6
2286 # Check for any special flags to pass to ltconfig.
2287 libtool_flags
="--cache-file=$cache_file"
2288 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
2289 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
2290 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
2291 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
2292 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
2295 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2296 if test "${enable_libtool_lock+set}" = set; then
2297 enableval
="$enable_libtool_lock"
2301 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
2302 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
2304 # Check whether --with-pic or --without-pic was given.
2305 if test "${with_pic+set}" = set; then
2312 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
2313 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
2315 # Some flags need to be propagated to the compiler or linker for good
2319 # Find out which ABI we are using.
2320 echo '#line 2321 "configure"' > conftest.
$ac_ext
2321 if { (eval echo configure
:2322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2322 case `/usr/bin/file conftest.$ac_objext` in
2338 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2339 SAVE_CFLAGS
="$CFLAGS"
2340 CFLAGS
="$CFLAGS -belf"
2341 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2342 echo "configure:2343: checking whether the C compiler needs -belf" >&5
2343 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2344 echo $ac_n "(cached) $ac_c" 1>&6
2348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2349 ac_cpp
='$CPP $CPPFLAGS'
2350 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2351 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2352 cross_compiling
=$ac_cv_prog_cc_cross
2354 cat > conftest.
$ac_ext <<EOF
2355 #line 2356 "configure"
2356 #include "confdefs.h"
2362 if { (eval echo configure
:2363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2364 lt_cv_cc_needs_belf
=yes
2366 echo "configure: failed program was:" >&5
2367 cat conftest.
$ac_ext >&5
2369 lt_cv_cc_needs_belf
=no
2373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2374 ac_cpp
='$CPP $CPPFLAGS'
2375 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2376 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2377 cross_compiling
=$ac_cv_prog_cc_cross
2381 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2382 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
2383 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2384 CFLAGS
="$SAVE_CFLAGS"
2391 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2392 echo "configure:2393: checking how to run the C++ preprocessor" >&5
2393 if test -z "$CXXCPP"; then
2394 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2395 echo $ac_n "(cached) $ac_c" 1>&6
2398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2399 ac_cpp
='$CXXCPP $CPPFLAGS'
2400 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2401 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2402 cross_compiling
=$ac_cv_prog_cxx_cross
2403 CXXCPP
="${CXX-g++} -E"
2404 cat > conftest.
$ac_ext <<EOF
2405 #line 2406 "configure"
2406 #include "confdefs.h"
2409 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2410 { (eval echo configure
:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2411 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2412 if test -z "$ac_err"; then
2416 echo "configure: failed program was:" >&5
2417 cat conftest.
$ac_ext >&5
2422 ac_cv_prog_CXXCPP
="$CXXCPP"
2424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2425 ac_cpp
='$CPP $CPPFLAGS'
2426 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2427 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2428 cross_compiling
=$ac_cv_prog_cc_cross
2431 CXXCPP
="$ac_cv_prog_CXXCPP"
2432 echo "$ac_t""$CXXCPP" 1>&6
2435 # Save cache, so that ltconfig can load it
2436 cat > confcache
<<\EOF
2437 # This file is a shell script that caches the results of configure
2438 # tests run on this system so they can be shared between configure
2439 # scripts and configure runs. It is not useful on other systems.
2440 # If it contains results you don't want to keep, you may remove or edit it.
2442 # By default, configure uses ./config.cache as the cache file,
2443 # creating it if it does not exist already. You can give configure
2444 # the --cache-file=FILE option to use a different cache file; that is
2445 # what configure does when it calls configure scripts in
2446 # subdirectories, so they share the cache.
2447 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2448 # config.status only pays attention to the cache file if you give it the
2449 # --recheck option to rerun configure.
2452 # The following way of writing the cache mishandles newlines in values,
2453 # but we know of no workaround that is simple, portable, and efficient.
2454 # So, don't put newlines in cache variables' values.
2455 # Ultrix sh set writes to stderr and can't be redirected directly,
2456 # and sets the high bit in the cache file unless we assign to the vars.
2458 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2460 # `set' does not quote correctly, so add quotes (double-quote substitution
2461 # turns \\\\ into \\, and sed turns \\ into \).
2463 -e "s/'/'\\\\''/g" \
2464 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2467 # `set' quotes correctly as required by POSIX, so do not add quotes.
2468 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2471 if cmp -s $cache_file confcache
; then
2474 if test -w $cache_file; then
2475 echo "updating cache $cache_file"
2476 cat confcache
> $cache_file
2478 echo "not updating unwritable cache $cache_file"
2484 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2485 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2486 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2487 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2488 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2489 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2490 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
2491 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2492 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
2493 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2495 # Reload cache, that may have been modified by ltconfig
2496 if test -r "$cache_file"; then
2497 echo "loading cache $cache_file"
2500 echo "creating cache $cache_file"
2505 # This can be used to rebuild libtool when needed
2506 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2508 # Always use our own libtool.
2509 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
2511 # Redirect the config.log output again, so that the ltconfig log is not
2512 # clobbered by the next message.
2513 exec 5>>.
/config.log
2517 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2519 lt_save_CFLAGS
="$CFLAGS"
2520 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
2521 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2522 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2523 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2524 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2525 deplibs_check_method
="$deplibs_check_method" \
2526 file_magic_cmd
="$file_magic_cmd" \
2527 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
2528 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
2529 ||
{ echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2531 CFLAGS
="$lt_save_CFLAGS"
2533 # Redirect the config.log output again, so that the ltconfig log is not
2534 # clobbered by the next message.
2535 exec 5>>.
/config.log
2543 # Check whether --with-target-subdir or --without-target-subdir was given.
2544 if test "${with_target_subdir+set}" = set; then
2545 withval
="$with_target_subdir"
2549 # Check whether --with-cross-host or --without-cross-host was given.
2550 if test "${with_cross_host+set}" = set; then
2551 withval
="$with_cross_host"
2556 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
2557 echo "configure:2558: checking whether to enable maintainer-specific portions of Makefiles" >&5
2558 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2559 if test "${enable_maintainer_mode+set}" = set; then
2560 enableval
="$enable_maintainer_mode"
2561 USE_MAINTAINER_MODE
=$enableval
2563 USE_MAINTAINER_MODE
=no
2566 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
2569 if test $USE_MAINTAINER_MODE = yes; then
2570 MAINTAINER_MODE_TRUE
=
2571 MAINTAINER_MODE_FALSE
='#'
2573 MAINTAINER_MODE_TRUE
='#'
2574 MAINTAINER_MODE_FALSE
=
2576 MAINT
=$MAINTAINER_MODE_TRUE
2579 # automake wants to see AC_EXEEXT. But we don't need it. And having
2580 # it is actually a problem, because the compiler we're passed can't
2581 # necessarily do a full link. So we fool automake here.
2583 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
2584 # to nothing, so nothing would remain between `then' and `fi' if it
2585 # were not for the `:' below.
2589 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
2590 echo "configure:2591: checking for executable suffix" >&5
2591 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
2592 echo $ac_n "(cached) $ac_c" 1>&6
2594 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
2598 echo 'int main () { return 0; }' > conftest.
$ac_ext
2600 if { (eval echo configure
:2601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
2601 for file in conftest.
*; do
2603 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
2604 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
2608 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
2611 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
2616 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
2617 echo "$ac_t""${ac_cv_exeext}" 1>&6
2622 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
2623 echo "configure:2624: checking for thread model used by GCC" >&5
2624 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
2625 if test -z "$THREADS"; then
2628 echo "$ac_t""$THREADS" 1>&6
2630 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
2631 if test "${enable_parallel_mark+set}" = set; then
2632 enableval
="$enable_parallel_mark"
2635 { echo "configure: error: Parallel mark requires --enable-threads=x spec" 1>&2; exit 1; }
2642 INCLUDES
=-I${srcdir}/include
2650 THREADLIBS
=-lpthread
2652 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux*)
2653 cat >> confdefs.h
<<\EOF
2654 #define GC_LINUX_THREADS 1
2657 cat >> confdefs.h
<<\EOF
2658 #define _REENTRANT 1
2661 if test "${enable_parallel_mark}"; then
2662 cat >> confdefs.h
<<\EOF
2663 #define PARALLEL_MARK 1
2667 cat >> confdefs.h
<<\EOF
2668 #define THREAD_LOCAL_ALLOC 1
2673 cat >> confdefs.h
<<\EOF
2674 #define GC_LINUX_THREADS 1
2677 cat >> confdefs.h
<<\EOF
2678 #define _REENTRANT 1
2683 echo "configure: warning: "Only HP
/UX
11 threads are supported.
"" 1>&2
2684 cat >> confdefs.h
<<\EOF
2685 #define GC_HPUX_THREADS 1
2688 cat >> confdefs.h
<<\EOF
2689 #define _POSIX_C_SOURCE 199506L
2692 if test "${enable_parallel_mark}" = yes; then
2693 cat >> confdefs.h
<<\EOF
2694 #define PARALLEL_MARK 1
2698 cat >> confdefs.h
<<\EOF
2699 #define THREAD_LOCAL_ALLOC 1
2702 THREADLIBS
="-lpthread -lrt"
2705 echo "configure: warning: "FreeBSD does not yet fully support threads with Boehm GC.
"" 1>&2
2706 cat >> confdefs.h
<<\EOF
2707 #define FREEBSD_THREADS 1
2710 INCLUDES
="$INCLUDES -pthread"
2714 cat >> confdefs.h
<<\EOF
2715 #define GC_SOLARIS_THREADS 1
2718 cat >> confdefs.h
<<\EOF
2719 #define GC_SOLARIS_PTHREADS 1
2724 cat >> confdefs.h
<<\EOF
2725 #define GC_IRIX_THREADS 1
2734 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks
)
2735 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
2738 { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
2743 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2744 echo "configure:2745: checking for dlopen in -ldl" >&5
2745 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2746 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2747 echo $ac_n "(cached) $ac_c" 1>&6
2749 ac_save_LIBS
="$LIBS"
2751 cat > conftest.
$ac_ext <<EOF
2752 #line 2753 "configure"
2753 #include "confdefs.h"
2754 /* Override any gcc2 internal prototype to avoid an error. */
2755 /* We use char because int might match the return type of a gcc2
2756 builtin and then its argument prototype would still apply. */
2763 if { (eval echo configure
:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2765 eval "ac_cv_lib_$ac_lib_var=yes"
2767 echo "configure: failed program was:" >&5
2768 cat conftest.
$ac_ext >&5
2770 eval "ac_cv_lib_$ac_lib_var=no"
2773 LIBS
="$ac_save_LIBS"
2776 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2777 echo "$ac_t""yes" 1>&6
2778 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
2780 echo "$ac_t""no" 1>&6
2785 target_all
=libgcjgc.la
2789 # Check whether --with-ecos or --without-ecos was given.
2790 if test "${with_ecos+set}" = set; then
2791 withval
="$with_ecos"
2792 TARGET_ECOS
="$with_ecos"
2799 case "$TARGET_ECOS" in
2803 cat >> confdefs.h
<<\EOF
2807 CXXINCLUDES
="-I${TARGET_ECOS}/include"
2808 addobjs
="$addobjs ecos.lo"
2819 machdep
="alpha_mach_dep.lo"
2822 machdep
="mips_ultrix_mach_dep.lo"
2823 cat >> confdefs.h
<<\EOF
2824 #define STACKBASE __stackbase
2827 cat >> confdefs.h
<<\EOF
2828 #define DATASTART_IS_ETEXT 1
2833 machdep
="mips_ultrix_mach-dep.lo"
2836 machdep
="mips_sgi_mach_dep.lo"
2837 cat >> confdefs.h
<<\EOF
2838 #define NO_EXECUTE_PERMISSION 1
2842 sparc-sun-solaris2.3
*)
2843 cat >> confdefs.h
<<\EOF
2844 #define SUNOS53_SHARED_LIB 1
2849 if test x
"$machdep" = x
; then
2850 machdep
="mach_dep.lo"
2852 addobjs
="$addobjs $machdep"
2856 sparc-sun-solaris2
*)
2857 if test "$GCC" = yes; then
2859 for i
in $CFLAGS; do
2864 new_CFLAGS
="$new_CFLAGS $i"
2868 CFLAGS
="$new_CFLAGS"
2876 cat >> confdefs.h
<<\EOF
2880 cat >> confdefs.h
<<\EOF
2881 #define NO_SIGNALS 1
2884 cat >> confdefs.h
<<\EOF
2885 #define NO_EXECUTE_PERMISSION 1
2888 cat >> confdefs.h
<<\EOF
2889 #define ALL_INTERIOR_POINTERS 1
2893 cat >> confdefs.h
<<\EOF
2894 #define JAVA_FINALIZATION 1
2897 cat >> confdefs.h
<<\EOF
2898 #define GC_GCJ_SUPPORT 1
2901 cat >> confdefs.h
<<\EOF
2902 #define ATOMIC_UNCOLLECTABLE 1
2906 if test -n "${with_cross_host}"; then
2907 cat >> confdefs.h
<<\EOF
2911 cat >> confdefs.h
<<\EOF
2915 cat >> confdefs.h
<<\EOF
2916 #define SMALL_CONFIG 1
2919 cat >> confdefs.h
<<\EOF
2920 #define NO_DEBUGGING 1
2925 # Check whether --enable-full-debug or --disable-full-debug was given.
2926 if test "${enable_full_debug+set}" = set; then
2927 enableval
="$enable_full_debug"
2928 if test "$enable_full_debug" = "yes"; then
2929 echo "configure: warning: "Must define GC_DEBUG and use debug alloc.
in clients.
"" 1>&2
2930 cat >> confdefs.h
<<\EOF
2931 #define KEEP_BACK_PTRS 1
2934 cat >> confdefs.h
<<\EOF
2935 #define DBG_HDRS_ALL 1
2939 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* )
2940 echo "configure: warning: "Client must not use
-fomit-frame-pointer.
"" 1>&2
2941 cat >> confdefs.h
<<\EOF
2942 #define SAVE_CALL_COUNT 8
2953 if test -z "$with_cross_host"; then
2955 USE_LIBDIR_FALSE
='#'
2961 if test "${multilib}" = "yes"; then
2962 multilib_arg
="--enable-multilib"
2968 cat > confcache
<<\EOF
2969 # This file is a shell script that caches the results of configure
2970 # tests run on this system so they can be shared between configure
2971 # scripts and configure runs. It is not useful on other systems.
2972 # If it contains results you don't want to keep, you may remove or edit it.
2974 # By default, configure uses ./config.cache as the cache file,
2975 # creating it if it does not exist already. You can give configure
2976 # the --cache-file=FILE option to use a different cache file; that is
2977 # what configure does when it calls configure scripts in
2978 # subdirectories, so they share the cache.
2979 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2980 # config.status only pays attention to the cache file if you give it the
2981 # --recheck option to rerun configure.
2984 # The following way of writing the cache mishandles newlines in values,
2985 # but we know of no workaround that is simple, portable, and efficient.
2986 # So, don't put newlines in cache variables' values.
2987 # Ultrix sh set writes to stderr and can't be redirected directly,
2988 # and sets the high bit in the cache file unless we assign to the vars.
2990 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2992 # `set' does not quote correctly, so add quotes (double-quote substitution
2993 # turns \\\\ into \\, and sed turns \\ into \).
2995 -e "s/'/'\\\\''/g" \
2996 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2999 # `set' quotes correctly as required by POSIX, so do not add quotes.
3000 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3003 if cmp -s $cache_file confcache
; then
3006 if test -w $cache_file; then
3007 echo "updating cache $cache_file"
3008 cat confcache
> $cache_file
3010 echo "not updating unwritable cache $cache_file"
3015 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3017 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3018 # Let make expand exec_prefix.
3019 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3021 # Any assignment to VPATH causes Sun make to only execute
3022 # the first set of double-colon rules, so remove it if not needed.
3023 # If there is a colon in the path, we need to keep it.
3024 if test "x$srcdir" = x.
; then
3025 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
3028 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3030 # Transform confdefs.h into DEFS.
3031 # Protect against shell expansion while executing Makefile rules.
3032 # Protect against Makefile macro expansion.
3033 cat > conftest.defs
<<\EOF
3034 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
3035 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
3040 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
3044 # Without the "./", some shells look in PATH for config.status.
3045 : ${CONFIG_STATUS=./config.status}
3047 echo creating $CONFIG_STATUS
3048 rm -f $CONFIG_STATUS
3049 cat > $CONFIG_STATUS <<EOF
3051 # Generated automatically by configure.
3052 # Run this file to recreate the current configuration.
3053 # This directory was configured as follows,
3054 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
3056 # $0 $ac_configure_args
3058 # Compiler output produced by configure, useful for debugging
3059 # configure, is in ./config.log if it exists.
3061 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3064 case "\$ac_option" in
3065 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3066 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3067 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3068 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3069 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3071 -help | --help | --hel | --he | --h)
3072 echo "\$ac_cs_usage"; exit 0 ;;
3073 *) echo "\$ac_cs_usage"; exit 1 ;;
3077 ac_given_srcdir=$srcdir
3078 ac_given_INSTALL="$INSTALL"
3080 trap 'rm -fr `echo "Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3082 cat >> $CONFIG_STATUS <<EOF
3084 # Protect against being on the right side of a sed subst in config.status.
3085 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3086 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3090 s%@CFLAGS@%$CFLAGS%g
3091 s%@CPPFLAGS@%$CPPFLAGS%g
3092 s%@CXXFLAGS@%$CXXFLAGS%g
3093 s%@FFLAGS@%$FFLAGS%g
3095 s%@LDFLAGS@%$LDFLAGS%g
3097 s%@exec_prefix@%$exec_prefix%g
3098 s%@prefix@%$prefix%g
3099 s%@program_transform_name@%$program_transform_name%g
3100 s%@bindir@%$bindir%g
3101 s%@sbindir@%$sbindir%g
3102 s%@libexecdir@%$libexecdir%g
3103 s%@datadir@%$datadir%g
3104 s%@sysconfdir@%$sysconfdir%g
3105 s%@sharedstatedir@%$sharedstatedir%g
3106 s%@localstatedir@%$localstatedir%g
3107 s%@libdir@%$libdir%g
3108 s%@includedir@%$includedir%g
3109 s%@oldincludedir@%$oldincludedir%g
3110 s%@infodir@%$infodir%g
3111 s%@mandir@%$mandir%g
3112 s%@gc_basedir@%$gc_basedir%g
3114 s%@host_alias@%$host_alias%g
3115 s%@host_cpu@%$host_cpu%g
3116 s%@host_vendor@%$host_vendor%g
3117 s%@host_os@%$host_os%g
3118 s%@target@%$target%g
3119 s%@target_alias@%$target_alias%g
3120 s%@target_cpu@%$target_cpu%g
3121 s%@target_vendor@%$target_vendor%g
3122 s%@target_os@%$target_os%g
3124 s%@build_alias@%$build_alias%g
3125 s%@build_cpu@%$build_cpu%g
3126 s%@build_vendor@%$build_vendor%g
3127 s%@build_os@%$build_os%g
3128 s%@mkinstalldirs@%$mkinstalldirs%g
3129 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3130 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3131 s%@INSTALL_DATA@%$INSTALL_DATA%g
3132 s%@PACKAGE@%$PACKAGE%g
3133 s%@VERSION@%$VERSION%g
3134 s%@ACLOCAL@%$ACLOCAL%g
3135 s%@AUTOCONF@%$AUTOCONF%g
3136 s%@AUTOMAKE@%$AUTOMAKE%g
3137 s%@AUTOHEADER@%$AUTOHEADER%g
3138 s%@MAKEINFO@%$MAKEINFO%g
3139 s%@SET_MAKE@%$SET_MAKE%g
3144 s%@RANLIB@%$RANLIB%g
3145 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
3146 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
3148 s%@EXEEXT@%$EXEEXT%g
3149 s%@GC_CFLAGS@%$GC_CFLAGS%g
3151 s%@OBJEXT@%$OBJEXT%g
3153 s%@LIBTOOL@%$LIBTOOL%g
3154 s%@CXXCPP@%$CXXCPP%g
3155 s%@THREADLIBS@%$THREADLIBS%g
3156 s%@EXTRA_TEST_LIBS@%$EXTRA_TEST_LIBS%g
3157 s%@target_all@%$target_all%g
3158 s%@INCLUDES@%$INCLUDES%g
3159 s%@CXXINCLUDES@%$CXXINCLUDES%g
3160 s%@addobjs@%$addobjs%g
3161 s%@MY_CFLAGS@%$MY_CFLAGS%g
3162 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
3163 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
3168 cat >> $CONFIG_STATUS <<\EOF
3170 # Split the substitutions into bite-sized pieces for seds with
3171 # small command number limits, like on Digital OSF/1 and HP-UX.
3172 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3173 ac_file=1 # Number of current file.
3174 ac_beg=1 # First line for current file.
3175 ac_end=$ac_max_sed_cmds # Line after last line for current file.
3178 while $ac_more_lines; do
3179 if test $ac_beg -gt 1; then
3180 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3182 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3184 if test ! -s conftest.s$ac_file; then
3186 rm -f conftest.s$ac_file
3188 if test -z "$ac_sed_cmds"; then
3189 ac_sed_cmds="sed -f conftest.s$ac_file"
3191 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3193 ac_file=`expr $ac_file + 1`
3195 ac_end=`expr $ac_end + $ac_max_sed_cmds`
3198 if test -z "$ac_sed_cmds"; then
3203 cat >> $CONFIG_STATUS <<EOF
3205 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
3207 cat >> $CONFIG_STATUS <<\EOF
3208 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3209 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3211 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
3212 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
3213 *) ac_file_in="${ac_file}.in" ;;
3216 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3218 # Remove last slash and all that follows it. Not all systems have dirname.
3219 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3220 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3221 # The file is in a subdirectory.
3222 test ! -d "$ac_dir" && mkdir "$ac_dir"
3223 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
3224 # A "../" for each directory in $ac_dir_suffix.
3225 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
3227 ac_dir_suffix= ac_dots=
3230 case "$ac_given_srcdir" in
3232 if test -z "$ac_dots"; then top_srcdir=.
3233 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
3234 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3236 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3237 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3240 case "$ac_given_INSTALL" in
3241 [/$]*) INSTALL="$ac_given_INSTALL" ;;
3242 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3245 echo creating "$ac_file"
3247 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
3249 *Makefile*) ac_comsub="1i\\
3250 # $configure_input" ;;
3254 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3256 s%@configure_input@%$configure_input%g
3257 s%@srcdir@%$srcdir%g
3258 s%@top_srcdir@%$top_srcdir%g
3259 s%@INSTALL@%$INSTALL%g
3260 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3265 cat >> $CONFIG_STATUS <<EOF
3269 with_multisubdir=${with_multisubdir}
3270 ac_configure_args="${multilib_arg} ${ac_configure_args}"
3271 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3272 gc_basedir=${gc_basedir}
3277 cat >> $CONFIG_STATUS <<\EOF
3279 echo "$DEFS" > boehm-cflags
3281 if test -n "$CONFIG_FILES"; then
3282 ac_file=Makefile . ${gc_basedir}/../config-ml.in
3286 chmod +x $CONFIG_STATUS
3287 rm -fr confdefs* $ac_clean_files
3288 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1