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 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
18 --with-cross-host=HOST configuring with a cross compiler"
20 --enable-multilib build many library versions (default)"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --enable-fast-character prefer speed over size for Character"
37 --disable-getenv-properties
38 don't set system properties from GCJ_PROPERTIES"
40 --enable-libgcj-debug enable runtime debugging code"
42 --enable-interpreter enable interpreter"
44 --enable-sjlj-exceptions use setjmp/longjmp exceptions"
46 --disable-java-net disable java.net"
48 --disable-jvmpi disable JVMPI support"
50 --with-ecos enable runtime eCos target support"
52 --with-system-zlib use installed libz"
54 --enable-java-gc=TYPE choose garbage collector [boehm]"
56 --enable-threads=TYPE choose threading package"
58 # Initialize some variables set by options.
59 # The variables have the same names as the options, with
60 # dashes changed to underlines.
62 cache_file
=.
/config.cache
71 program_transform_name
=s
,x
,x
,
80 bindir
='${exec_prefix}/bin'
81 sbindir
='${exec_prefix}/sbin'
82 libexecdir
='${exec_prefix}/libexec'
83 datadir
='${prefix}/share'
84 sysconfdir
='${prefix}/etc'
85 sharedstatedir
='${prefix}/com'
86 localstatedir
='${prefix}/var'
87 libdir
='${exec_prefix}/lib'
88 includedir
='${prefix}/include'
89 oldincludedir
='/usr/include'
90 infodir
='${prefix}/info'
91 mandir
='${prefix}/man'
93 # Initialize some other variables.
96 SHELL
=${CONFIG_SHELL-/bin/sh}
97 # Maximum number of lines to put in a shell here document.
104 # If the previous option needs an argument, assign it.
105 if test -n "$ac_prev"; then
106 eval "$ac_prev=\$ac_option"
112 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
116 # Accept the important Cygnus configure options, so we can diagnose typos.
120 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
122 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
123 bindir
="$ac_optarg" ;;
125 -build |
--build |
--buil |
--bui |
--bu)
127 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
128 build
="$ac_optarg" ;;
130 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
131 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
132 ac_prev
=cache_file
;;
133 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
134 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
135 cache_file
="$ac_optarg" ;;
137 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
139 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
141 datadir
="$ac_optarg" ;;
143 -disable-* |
--disable-*)
144 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
145 # Reject names that are not valid shell variable names.
146 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
147 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
149 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
150 eval "enable_${ac_feature}=no" ;;
152 -enable-* |
--enable-*)
153 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
154 # Reject names that are not valid shell variable names.
155 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
156 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
158 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
163 eval "enable_${ac_feature}='$ac_optarg'" ;;
165 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
166 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
167 |
--exec |
--exe |
--ex)
168 ac_prev
=exec_prefix
;;
169 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
170 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
171 |
--exec=* |
--exe=* |
--ex=*)
172 exec_prefix
="$ac_optarg" ;;
174 -gas |
--gas |
--ga |
--g)
175 # Obsolete; use --with-gas.
178 -help |
--help |
--hel |
--he)
179 # Omit some internal or obsolete options to make the list less imposing.
180 # This message is too long to be a string in the A/UX 3.1 sh.
182 Usage: configure [options] [host]
183 Options: [defaults in brackets after descriptions]
185 --cache-file=FILE cache test results in FILE
186 --help print this message
187 --no-create do not create output files
188 --quiet, --silent do not print \`checking...' messages
189 --site-file=FILE use FILE as the site file
190 --version print the version of autoconf that created configure
191 Directory and file names:
192 --prefix=PREFIX install architecture-independent files in PREFIX
194 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
196 --bindir=DIR user executables in DIR [EPREFIX/bin]
197 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
198 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
199 --datadir=DIR read-only architecture-independent data in DIR
201 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
202 --sharedstatedir=DIR modifiable architecture-independent data in DIR
204 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
205 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
206 --includedir=DIR C header files in DIR [PREFIX/include]
207 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
208 --infodir=DIR info documentation in DIR [PREFIX/info]
209 --mandir=DIR man documentation in DIR [PREFIX/man]
210 --srcdir=DIR find the sources in DIR [configure dir or ..]
211 --program-prefix=PREFIX prepend PREFIX to installed program names
212 --program-suffix=SUFFIX append SUFFIX to installed program names
213 --program-transform-name=PROGRAM
214 run sed PROGRAM on installed program names
218 --build=BUILD configure for building on BUILD [BUILD=HOST]
219 --host=HOST configure for HOST [guessed]
220 --target=TARGET configure for TARGET [TARGET=HOST]
221 Features and packages:
222 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
223 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
224 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
225 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
226 --x-includes=DIR X include files are in DIR
227 --x-libraries=DIR X library files are in DIR
229 if test -n "$ac_help"; then
230 echo "--enable and --with options recognized:$ac_help"
234 -host |
--host |
--hos |
--ho)
236 -host=* |
--host=* |
--hos=* |
--ho=*)
239 -includedir |
--includedir |
--includedi |
--included |
--include \
240 |
--includ |
--inclu |
--incl |
--inc)
241 ac_prev
=includedir
;;
242 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
243 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
244 includedir
="$ac_optarg" ;;
246 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
248 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
249 infodir
="$ac_optarg" ;;
251 -libdir |
--libdir |
--libdi |
--libd)
253 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
254 libdir
="$ac_optarg" ;;
256 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
257 |
--libexe |
--libex |
--libe)
258 ac_prev
=libexecdir
;;
259 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
260 |
--libexe=* |
--libex=* |
--libe=*)
261 libexecdir
="$ac_optarg" ;;
263 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
264 |
--localstate |
--localstat |
--localsta |
--localst \
265 |
--locals |
--local |
--loca |
--loc |
--lo)
266 ac_prev
=localstatedir
;;
267 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
268 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
269 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
270 localstatedir
="$ac_optarg" ;;
272 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
274 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
275 mandir
="$ac_optarg" ;;
278 # Obsolete; use --without-fp.
281 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
285 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
286 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
289 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
290 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
291 |
--oldin |
--oldi |
--old |
--ol |
--o)
292 ac_prev
=oldincludedir
;;
293 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
294 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
295 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
296 oldincludedir
="$ac_optarg" ;;
298 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
300 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
301 prefix
="$ac_optarg" ;;
303 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
304 |
--program-pre |
--program-pr |
--program-p)
305 ac_prev
=program_prefix
;;
306 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
307 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
308 program_prefix
="$ac_optarg" ;;
310 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
311 |
--program-suf |
--program-su |
--program-s)
312 ac_prev
=program_suffix
;;
313 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
314 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
315 program_suffix
="$ac_optarg" ;;
317 -program-transform-name |
--program-transform-name \
318 |
--program-transform-nam |
--program-transform-na \
319 |
--program-transform-n |
--program-transform- \
320 |
--program-transform |
--program-transfor \
321 |
--program-transfo |
--program-transf \
322 |
--program-trans |
--program-tran \
323 |
--progr-tra |
--program-tr |
--program-t)
324 ac_prev
=program_transform_name
;;
325 -program-transform-name=* |
--program-transform-name=* \
326 |
--program-transform-nam=* |
--program-transform-na=* \
327 |
--program-transform-n=* |
--program-transform-=* \
328 |
--program-transform=* |
--program-transfor=* \
329 |
--program-transfo=* |
--program-transf=* \
330 |
--program-trans=* |
--program-tran=* \
331 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
332 program_transform_name
="$ac_optarg" ;;
334 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
335 |
-silent |
--silent |
--silen |
--sile |
--sil)
338 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
340 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
342 sbindir
="$ac_optarg" ;;
344 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
345 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
346 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
348 ac_prev
=sharedstatedir
;;
349 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
350 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
351 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
353 sharedstatedir
="$ac_optarg" ;;
355 -site |
--site |
--sit)
357 -site=* |
--site=* |
--sit=*)
360 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
362 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
363 sitefile
="$ac_optarg" ;;
365 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
367 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
368 srcdir
="$ac_optarg" ;;
370 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
371 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
372 ac_prev
=sysconfdir
;;
373 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
374 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
375 sysconfdir
="$ac_optarg" ;;
377 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
379 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
380 target
="$ac_optarg" ;;
382 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
385 -version |
--version |
--versio |
--versi |
--vers)
386 echo "configure generated by autoconf version 2.13"
390 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
391 # Reject names that are not valid shell variable names.
392 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
393 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
395 ac_package
=`echo $ac_package| sed 's/-/_/g'`
400 eval "with_${ac_package}='$ac_optarg'" ;;
402 -without-* |
--without-*)
403 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
404 # Reject names that are not valid shell variable names.
405 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
406 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
408 ac_package
=`echo $ac_package| sed 's/-/_/g'`
409 eval "with_${ac_package}=no" ;;
412 # Obsolete; use --with-x.
415 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
416 |
--x-incl |
--x-inc |
--x-in |
--x-i)
417 ac_prev
=x_includes
;;
418 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
419 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
420 x_includes
="$ac_optarg" ;;
422 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
423 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
424 ac_prev
=x_libraries
;;
425 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
426 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
427 x_libraries
="$ac_optarg" ;;
429 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
433 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
434 echo "configure: warning: $ac_option: invalid host type" 1>&2
436 if test "x$nonopt" != xNONE
; then
437 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
445 if test -n "$ac_prev"; then
446 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
449 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
451 # File descriptor usage:
454 # 2 errors and warnings
455 # 3 some systems may open it to /dev/tty
456 # 4 used on the Kubota Titan
457 # 6 checking for... messages and results
458 # 5 compiler messages saved in config.log
459 if test "$silent" = yes; then
467 This file contains any messages produced by compilers while
468 running configure, to aid debugging if configure makes a mistake.
471 # Strip out --no-create and --no-recursion so they do not pile up.
472 # Also quote any args containing shell metacharacters.
477 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
478 |
--no-cr |
--no-c) ;;
479 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
480 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
481 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
482 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
483 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
488 # Only set these to C if already set. These must not be set unconditionally
489 # because not all systems understand e.g. LANG=C (notably SCO).
490 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
491 # Non-C LC_CTYPE values break the ctype check.
492 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
493 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
494 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
495 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
497 # confdefs.h avoids OS command line length limits that DEFS can exceed.
498 rm -rf conftest
* confdefs.h
499 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
502 # A filename unique to this package, relative to the directory that
503 # configure is in, which we can look for to find out if srcdir is correct.
504 ac_unique_file
=java
/lang
/System.java
506 # Find the source files, if location was not specified.
507 if test -z "$srcdir"; then
508 ac_srcdir_defaulted
=yes
509 # Try the directory containing this script, then its parent.
511 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
512 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
514 if test ! -r $srcdir/$ac_unique_file; then
518 ac_srcdir_defaulted
=no
520 if test ! -r $srcdir/$ac_unique_file; then
521 if test "$ac_srcdir_defaulted" = yes; then
522 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
524 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
527 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
529 # Prefer explicitly selected file to automatically selected ones.
530 if test -z "$sitefile"; then
531 if test -z "$CONFIG_SITE"; then
532 if test "x$prefix" != xNONE
; then
533 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
535 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
539 CONFIG_SITE
="$sitefile"
541 for ac_site_file
in $CONFIG_SITE; do
542 if test -r "$ac_site_file"; then
543 echo "loading site script $ac_site_file"
548 if test -r "$cache_file"; then
549 echo "loading cache $cache_file"
552 echo "creating cache $cache_file"
557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
558 ac_cpp
='$CPP $CPPFLAGS'
559 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
560 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
561 cross_compiling
=$ac_cv_prog_cc_cross
565 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
566 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
567 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
574 ac_n
= ac_c
='\c' ac_t
=
580 for ac_dir
in ..
$srcdir/..
; do
581 if test -f $ac_dir/install-sh
; then
583 ac_install_sh
="$ac_aux_dir/install-sh -c"
585 elif test -f $ac_dir/install.sh
; then
587 ac_install_sh
="$ac_aux_dir/install.sh -c"
591 if test -z "$ac_aux_dir"; then
592 { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
594 ac_config_guess
=$ac_aux_dir/config.guess
595 ac_config_sub
=$ac_aux_dir/config.sub
596 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
600 # Do some error checking and defaulting for the host and target type.
602 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
605 # 1. You are not allowed to specify --host, --target, and nonopt at the
607 # 2. Host defaults to nonopt.
608 # 3. If nonopt is not specified, then host defaults to the current host,
609 # as determined by config.guess.
610 # 4. Target and build default to nonopt.
611 # 5. If nonopt is not specified, then target and build default to host.
613 # The aliases save the names the user supplied, while $host etc.
614 # will get canonicalized.
615 case $host---$target---$nonopt in
616 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
617 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
621 # Make sure we can run config.sub.
622 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
623 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
626 echo $ac_n "checking host system type""... $ac_c" 1>&6
627 echo "configure:628: checking host system type" >&5
630 case "$host_alias" in
634 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
635 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
637 *) host_alias
=$nonopt ;;
641 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
642 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
643 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
644 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
645 echo "$ac_t""$host" 1>&6
647 echo $ac_n "checking target system type""... $ac_c" 1>&6
648 echo "configure:649: checking target system type" >&5
651 case "$target_alias" in
654 NONE
) target_alias
=$host_alias ;;
655 *) target_alias
=$nonopt ;;
659 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
660 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
661 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
662 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
663 echo "$ac_t""$target" 1>&6
665 echo $ac_n "checking build system type""... $ac_c" 1>&6
666 echo "configure:667: checking build system type" >&5
669 case "$build_alias" in
672 NONE
) build_alias
=$host_alias ;;
673 *) build_alias
=$nonopt ;;
677 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
678 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
679 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
680 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
681 echo "$ac_t""$build" 1>&6
683 test "$host_alias" != "$target_alias" &&
684 test "$program_prefix$program_suffix$program_transform_name" = \
686 program_prefix
=${target_alias}-
689 # Check whether --with-target-subdir or --without-target-subdir was given.
690 if test "${with_target_subdir+set}" = set; then
691 withval
="$with_target_subdir"
695 # Check whether --with-cross-host or --without-cross-host was given.
696 if test "${with_cross_host+set}" = set; then
697 withval
="$with_cross_host"
702 # Find a good install program. We prefer a C program (faster),
703 # so one script is as good as another. But avoid the broken or
704 # incompatible versions:
705 # SysV /etc/install, /usr/sbin/install
706 # SunOS /usr/etc/install
709 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
710 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
711 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
712 # ./install, which can be erroneously created by make from ./install.sh.
713 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
714 echo "configure:715: checking for a BSD compatible install" >&5
715 if test -z "$INSTALL"; then
716 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
717 echo $ac_n "(cached) $ac_c" 1>&6
719 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
720 for ac_dir
in $PATH; do
721 # Account for people who put trailing slashes in PATH elements.
723 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
725 # OSF1 and SCO ODT 3.0 have their own names for install.
726 # Don't use installbsd from OSF since it installs stuff as root
728 for ac_prog
in ginstall scoinst
install; do
729 if test -f $ac_dir/$ac_prog; then
730 if test $ac_prog = install &&
731 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
732 # AIX install. It has an incompatible calling convention.
735 ac_cv_path_install
="$ac_dir/$ac_prog -c"
746 if test "${ac_cv_path_install+set}" = set; then
747 INSTALL
="$ac_cv_path_install"
749 # As a last resort, use the slow shell script. We don't cache a
750 # path for INSTALL within a source directory, because that will
751 # break other packages using the cache if that directory is
752 # removed, or if the path is relative.
753 INSTALL
="$ac_install_sh"
756 echo "$ac_t""$INSTALL" 1>&6
758 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
759 # It thinks the first close brace ends the variable substitution.
760 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
762 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
764 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
766 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
767 echo "configure:768: checking whether build environment is sane" >&5
770 echo timestamp
> conftestfile
771 # Do `set' in a subshell so we don't clobber the current shell's
772 # arguments. Must try -L first in case configure is actually a
773 # symlink; some systems play weird games with the mod time of symlinks
774 # (eg FreeBSD returns the mod time of the symlink's containing
777 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
778 if test "$*" = "X"; then
780 set X
`ls -t $srcdir/configure conftestfile`
782 if test "$*" != "X $srcdir/configure conftestfile" \
783 && test "$*" != "X conftestfile $srcdir/configure"; then
785 # If neither matched, then we have a broken ls. This can happen
786 # if, for instance, CONFIG_SHELL is bash and it inherits a
787 # broken ls alias from the environment. This has actually
788 # happened. Such a system could not be considered "sane".
789 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
790 alias in your environment" 1>&2; exit 1; }
793 test "$2" = conftestfile
799 { echo "configure: error: newly created file is older than distributed files!
800 Check your system clock" 1>&2; exit 1; }
803 echo "$ac_t""yes" 1>&6
804 if test "$program_transform_name" = s
,x
,x
,; then
805 program_transform_name
=
807 # Double any \ or $. echo might interpret backslashes.
808 cat <<\EOF_SED
> conftestsed
809 s
,\\,\\\\,g
; s
,\$
,$$
,g
811 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
814 test "$program_prefix" != NONE
&&
815 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
816 # Use a double $ so make ignores it.
817 test "$program_suffix" != NONE
&&
818 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
820 # sed with no file args requires a program.
821 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
823 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
824 echo "configure:825: checking whether ${MAKE-make} sets \${MAKE}" >&5
825 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
826 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
827 echo $ac_n "(cached) $ac_c" 1>&6
829 cat > conftestmake
<<\EOF
831 @
echo 'ac_maketemp="${MAKE}"'
833 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
834 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
835 if test -n "$ac_maketemp"; then
836 eval ac_cv_prog_make_
${ac_make}_set
=yes
838 eval ac_cv_prog_make_
${ac_make}_set
=no
842 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
843 echo "$ac_t""yes" 1>&6
846 echo "$ac_t""no" 1>&6
847 SET_MAKE
="MAKE=${MAKE-make}"
850 if test $host != $build; then
851 ac_tool_prefix
=${host_alias}-
856 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
857 echo "configure:858: checking for Cygwin environment" >&5
858 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
859 echo $ac_n "(cached) $ac_c" 1>&6
861 cat > conftest.
$ac_ext <<EOF
862 #line 863 "configure"
863 #include "confdefs.h"
868 #define __CYGWIN__ __CYGWIN32__
873 if { (eval echo configure
:874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
877 echo "configure: failed program was:" >&5
878 cat conftest.
$ac_ext >&5
886 echo "$ac_t""$ac_cv_cygwin" 1>&6
888 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
889 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
890 echo "configure:891: checking for mingw32 environment" >&5
891 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
892 echo $ac_n "(cached) $ac_c" 1>&6
894 cat > conftest.
$ac_ext <<EOF
895 #line 896 "configure"
896 #include "confdefs.h"
902 if { (eval echo configure
:903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
906 echo "configure: failed program was:" >&5
907 cat conftest.
$ac_ext >&5
915 echo "$ac_t""$ac_cv_mingw32" 1>&6
917 test "$ac_cv_mingw32" = yes && MINGW32
=yes
919 # Check whether --enable-multilib or --disable-multilib was given.
920 if test "${enable_multilib+set}" = set; then
921 enableval
="$enable_multilib"
922 case "${enableval}" in
925 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
932 if test "${srcdir}" = "."; then
933 if test "${with_target_subdir}" != "."; then
934 libgcj_basedir
="${srcdir}/${with_multisrctop}../."
936 libgcj_basedir
="${srcdir}/${with_multisrctop}."
939 libgcj_basedir
="${srcdir}/."
944 # Make sure we can run config.sub.
945 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
946 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
949 echo $ac_n "checking host system type""... $ac_c" 1>&6
950 echo "configure:951: checking host system type" >&5
953 case "$host_alias" in
957 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
958 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
960 *) host_alias
=$nonopt ;;
964 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
965 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
966 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
967 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
968 echo "$ac_t""$host" 1>&6
977 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
978 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
980 cat >> confdefs.h
<<EOF
981 #define PACKAGE "$PACKAGE"
984 cat >> confdefs.h
<<EOF
985 #define VERSION "$VERSION"
990 missing_dir
=`cd $ac_aux_dir && pwd`
991 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
992 echo "configure:993: checking for working aclocal" >&5
993 # Run test in a subshell; some versions of sh will print an error if
994 # an executable is not found, even if stderr is redirected.
995 # Redirect stdin to placate older versions of autoconf. Sigh.
996 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
998 echo "$ac_t""found" 1>&6
1000 ACLOCAL
="$missing_dir/missing aclocal"
1001 echo "$ac_t""missing" 1>&6
1004 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1005 echo "configure:1006: checking for working autoconf" >&5
1006 # Run test in a subshell; some versions of sh will print an error if
1007 # an executable is not found, even if stderr is redirected.
1008 # Redirect stdin to placate older versions of autoconf. Sigh.
1009 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1011 echo "$ac_t""found" 1>&6
1013 AUTOCONF
="$missing_dir/missing autoconf"
1014 echo "$ac_t""missing" 1>&6
1017 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1018 echo "configure:1019: checking for working automake" >&5
1019 # Run test in a subshell; some versions of sh will print an error if
1020 # an executable is not found, even if stderr is redirected.
1021 # Redirect stdin to placate older versions of autoconf. Sigh.
1022 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1024 echo "$ac_t""found" 1>&6
1026 AUTOMAKE
="$missing_dir/missing automake"
1027 echo "$ac_t""missing" 1>&6
1030 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1031 echo "configure:1032: checking for working autoheader" >&5
1032 # Run test in a subshell; some versions of sh will print an error if
1033 # an executable is not found, even if stderr is redirected.
1034 # Redirect stdin to placate older versions of autoconf. Sigh.
1035 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1036 AUTOHEADER
=autoheader
1037 echo "$ac_t""found" 1>&6
1039 AUTOHEADER
="$missing_dir/missing autoheader"
1040 echo "$ac_t""missing" 1>&6
1043 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1044 echo "configure:1045: checking for working makeinfo" >&5
1045 # Run test in a subshell; some versions of sh will print an error if
1046 # an executable is not found, even if stderr is redirected.
1047 # Redirect stdin to placate older versions of autoconf. Sigh.
1048 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1050 echo "$ac_t""found" 1>&6
1052 MAKEINFO
="$missing_dir/missing makeinfo"
1053 echo "$ac_t""missing" 1>&6
1058 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1059 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1060 # are probably using a cross compiler, which will not be able to fully
1061 # link an executable. This should really be fixed in autoconf
1067 # Extract the first word of "gcc", so it can be a program name with args.
1068 set dummy gcc
; ac_word
=$2
1069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1070 echo "configure:1071: checking for $ac_word" >&5
1071 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1072 echo $ac_n "(cached) $ac_c" 1>&6
1074 if test -n "$CC"; then
1075 ac_cv_prog_CC
="$CC" # Let the user override the test.
1077 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1079 for ac_dir
in $ac_dummy; do
1080 test -z "$ac_dir" && ac_dir
=.
1081 if test -f $ac_dir/$ac_word; then
1090 if test -n "$CC"; then
1091 echo "$ac_t""$CC" 1>&6
1093 echo "$ac_t""no" 1>&6
1096 if test -z "$CC"; then
1097 # Extract the first word of "cc", so it can be a program name with args.
1098 set dummy cc
; ac_word
=$2
1099 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1100 echo "configure:1101: checking for $ac_word" >&5
1101 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1102 echo $ac_n "(cached) $ac_c" 1>&6
1104 if test -n "$CC"; then
1105 ac_cv_prog_CC
="$CC" # Let the user override the test.
1107 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1110 for ac_dir
in $ac_dummy; do
1111 test -z "$ac_dir" && ac_dir
=.
1112 if test -f $ac_dir/$ac_word; then
1113 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1114 ac_prog_rejected
=yes
1122 if test $ac_prog_rejected = yes; then
1123 # We found a bogon in the path, so make sure we never use it.
1124 set dummy
$ac_cv_prog_CC
1126 if test $# -gt 0; then
1127 # We chose a different compiler from the bogus one.
1128 # However, it has the same basename, so the bogon will be chosen
1129 # first if we set CC to just the basename; use the full file name.
1131 set dummy
"$ac_dir/$ac_word" "$@"
1139 if test -n "$CC"; then
1140 echo "$ac_t""$CC" 1>&6
1142 echo "$ac_t""no" 1>&6
1145 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1148 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1149 echo "configure:1150: checking whether we are using GNU C" >&5
1150 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1151 echo $ac_n "(cached) $ac_c" 1>&6
1153 cat > conftest.c
<<EOF
1158 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1165 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1167 if test $ac_cv_prog_gcc = yes; then
1169 ac_test_CFLAGS
="${CFLAGS+set}"
1170 ac_save_CFLAGS
="$CFLAGS"
1172 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1173 echo "configure:1174: checking whether ${CC-cc} accepts -g" >&5
1174 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1175 echo $ac_n "(cached) $ac_c" 1>&6
1177 echo 'void f(){}' > conftest.c
1178 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1187 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1188 if test "$ac_test_CFLAGS" = set; then
1189 CFLAGS
="$ac_save_CFLAGS"
1190 elif test $ac_cv_prog_cc_g = yes; then
1197 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1201 # Likewise for AC_PROG_CXX.
1205 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1207 # Extract the first word of "$ac_prog", so it can be a program name with args.
1208 set dummy
$ac_prog; ac_word
=$2
1209 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1210 echo "configure:1211: checking for $ac_word" >&5
1211 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1212 echo $ac_n "(cached) $ac_c" 1>&6
1214 if test -n "$CXX"; then
1215 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1217 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1219 for ac_dir
in $ac_dummy; do
1220 test -z "$ac_dir" && ac_dir
=.
1221 if test -f $ac_dir/$ac_word; then
1222 ac_cv_prog_CXX
="$ac_prog"
1229 CXX
="$ac_cv_prog_CXX"
1230 if test -n "$CXX"; then
1231 echo "$ac_t""$CXX" 1>&6
1233 echo "$ac_t""no" 1>&6
1236 test -n "$CXX" && break
1238 test -n "$CXX" || CXX
="gcc"
1240 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1242 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1243 echo "configure:1244: checking whether we are using GNU C++" >&5
1244 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1245 echo $ac_n "(cached) $ac_c" 1>&6
1247 cat > conftest.C
<<EOF
1252 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1259 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1261 if test $ac_cv_prog_gxx = yes; then
1263 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1264 ac_save_CXXFLAGS
="$CXXFLAGS"
1266 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1267 echo "configure:1268: checking whether ${CXX-g++} accepts -g" >&5
1268 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1269 echo $ac_n "(cached) $ac_c" 1>&6
1271 echo 'void f(){}' > conftest.cc
1272 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1273 ac_cv_prog_cxx_g
=yes
1281 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1282 if test "$ac_test_CXXFLAGS" = set; then
1283 CXXFLAGS
="$ac_save_CXXFLAGS"
1284 elif test $ac_cv_prog_cxx_g = yes; then
1291 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1295 # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we dont
1296 # run it explicitly here, it will be run implicitly before
1297 # LIBGCJ_CONFIGURE, which doesn't work because that means that it will
1298 # be run before AC_CANONICAL_HOST.
1299 echo $ac_n "checking build system type""... $ac_c" 1>&6
1300 echo "configure:1301: checking build system type" >&5
1303 case "$build_alias" in
1306 NONE
) build_alias
=$host_alias ;;
1307 *) build_alias
=$nonopt ;;
1311 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1312 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1313 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1314 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1315 echo "$ac_t""$build" 1>&6
1318 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1319 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1321 echo "configure:1322: checking for $ac_word" >&5
1322 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1323 echo $ac_n "(cached) $ac_c" 1>&6
1325 if test -n "$AS"; then
1326 ac_cv_prog_AS
="$AS" # Let the user override the test.
1328 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1330 for ac_dir
in $ac_dummy; do
1331 test -z "$ac_dir" && ac_dir
=.
1332 if test -f $ac_dir/$ac_word; then
1333 ac_cv_prog_AS
="${ac_tool_prefix}as"
1338 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1342 if test -n "$AS"; then
1343 echo "$ac_t""$AS" 1>&6
1345 echo "$ac_t""no" 1>&6
1350 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1351 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1353 echo "configure:1354: checking for $ac_word" >&5
1354 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1355 echo $ac_n "(cached) $ac_c" 1>&6
1357 if test -n "$AR"; then
1358 ac_cv_prog_AR
="$AR" # Let the user override the test.
1360 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1362 for ac_dir
in $ac_dummy; do
1363 test -z "$ac_dir" && ac_dir
=.
1364 if test -f $ac_dir/$ac_word; then
1365 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1370 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1374 if test -n "$AR"; then
1375 echo "$ac_t""$AR" 1>&6
1377 echo "$ac_t""no" 1>&6
1382 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1383 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1385 echo "configure:1386: checking for $ac_word" >&5
1386 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1387 echo $ac_n "(cached) $ac_c" 1>&6
1389 if test -n "$RANLIB"; then
1390 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1392 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1394 for ac_dir
in $ac_dummy; do
1395 test -z "$ac_dir" && ac_dir
=.
1396 if test -f $ac_dir/$ac_word; then
1397 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1404 RANLIB
="$ac_cv_prog_RANLIB"
1405 if test -n "$RANLIB"; then
1406 echo "$ac_t""$RANLIB" 1>&6
1408 echo "$ac_t""no" 1>&6
1412 if test -z "$ac_cv_prog_RANLIB"; then
1413 if test -n "$ac_tool_prefix"; then
1414 # Extract the first word of "ranlib", so it can be a program name with args.
1415 set dummy ranlib
; ac_word
=$2
1416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1417 echo "configure:1418: checking for $ac_word" >&5
1418 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1419 echo $ac_n "(cached) $ac_c" 1>&6
1421 if test -n "$RANLIB"; then
1422 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1424 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1426 for ac_dir
in $ac_dummy; do
1427 test -z "$ac_dir" && ac_dir
=.
1428 if test -f $ac_dir/$ac_word; then
1429 ac_cv_prog_RANLIB
="ranlib"
1434 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1437 RANLIB
="$ac_cv_prog_RANLIB"
1438 if test -n "$RANLIB"; then
1439 echo "$ac_t""$RANLIB" 1>&6
1441 echo "$ac_t""no" 1>&6
1450 # Find a good install program. We prefer a C program (faster),
1451 # so one script is as good as another. But avoid the broken or
1452 # incompatible versions:
1453 # SysV /etc/install, /usr/sbin/install
1454 # SunOS /usr/etc/install
1455 # IRIX /sbin/install
1457 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1458 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1460 # ./install, which can be erroneously created by make from ./install.sh.
1461 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1462 echo "configure:1463: checking for a BSD compatible install" >&5
1463 if test -z "$INSTALL"; then
1464 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1465 echo $ac_n "(cached) $ac_c" 1>&6
1467 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1468 for ac_dir
in $PATH; do
1469 # Account for people who put trailing slashes in PATH elements.
1471 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1473 # OSF1 and SCO ODT 3.0 have their own names for install.
1474 # Don't use installbsd from OSF since it installs stuff as root
1476 for ac_prog
in ginstall scoinst
install; do
1477 if test -f $ac_dir/$ac_prog; then
1478 if test $ac_prog = install &&
1479 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1480 # AIX install. It has an incompatible calling convention.
1483 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1494 if test "${ac_cv_path_install+set}" = set; then
1495 INSTALL
="$ac_cv_path_install"
1497 # As a last resort, use the slow shell script. We don't cache a
1498 # path for INSTALL within a source directory, because that will
1499 # break other packages using the cache if that directory is
1500 # removed, or if the path is relative.
1501 INSTALL
="$ac_install_sh"
1504 echo "$ac_t""$INSTALL" 1>&6
1506 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1507 # It thinks the first close brace ends the variable substitution.
1508 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1510 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1512 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1515 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1516 echo "configure:1517: checking whether to enable maintainer-specific portions of Makefiles" >&5
1517 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1518 if test "${enable_maintainer_mode+set}" = set; then
1519 enableval
="$enable_maintainer_mode"
1520 USE_MAINTAINER_MODE
=$enableval
1522 USE_MAINTAINER_MODE
=no
1525 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1528 if test $USE_MAINTAINER_MODE = yes; then
1529 MAINTAINER_MODE_TRUE
=
1530 MAINTAINER_MODE_FALSE
='#'
1532 MAINTAINER_MODE_TRUE
='#'
1533 MAINTAINER_MODE_FALSE
=
1535 MAINT
=$MAINTAINER_MODE_TRUE
1539 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1540 # at least currently, we never actually build a program, so we never
1541 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1542 # fails, because we are probably configuring with a cross compiler
1543 # which cant create executables. So we include AC_EXEEXT to keep
1544 # automake happy, but we dont execute it, since we dont care about
1549 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1550 echo "configure:1551: checking for executable suffix" >&5
1551 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1552 echo $ac_n "(cached) $ac_c" 1>&6
1554 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1558 echo 'int main () { return 0; }' > conftest.
$ac_ext
1560 if { (eval echo configure
:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1561 for file in conftest.
*; do
1563 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
1564 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1568 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1571 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1576 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1577 echo "$ac_t""${ac_cv_exeext}" 1>&6
1582 # configure.host sets the following important variables
1583 # libgcj_cflags - host specific C compiler flags
1584 # libgcj_cxxflags - host specific C++ compiler flags
1585 # libgcj_javaflags - host specific Java compiler flags
1591 .
${libgcj_basedir}/configure.
host
1593 case ${libgcj_basedir} in
1594 /* | A-Za-z
:/\\*) libgcj_flagbasedir
=${libgcj_basedir} ;;
1595 *) libgcj_flagbasedir
='$(top_builddir)/'${libgcj_basedir} ;;
1598 LIBGCJ_CFLAGS
="${libgcj_cflags}"
1599 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
1600 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
1610 # Only use libltdl for native builds.
1611 if test -z "${with_cross_host}"; then
1612 case "$enable_ltdl_convenience" in
1613 no
) { echo "configure: error: this package needs a convenience libltdl" 1>&2; exit 1; } ;;
1614 "") enable_ltdl_convenience
=yes
1615 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
1617 LIBLTDL
='${top_builddir}/libltdl'/libltdlc.la
1618 INCLTDL
='-I${top_builddir}/libltdl'
1622 cat >> confdefs.h
<<\EOF
1626 # Sigh. Libtool's macro doesn't do the right thing.
1627 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
1632 # Check whether --enable-shared or --disable-shared was given.
1633 if test "${enable_shared+set}" = set; then
1634 enableval
="$enable_shared"
1635 p
=${PACKAGE-default}
1636 case "$enableval" in
1637 yes) enable_shared
=yes ;;
1638 no
) enable_shared
=no
;;
1641 # Look at the argument we got. We use all the common list separators.
1642 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1643 for pkg
in $enableval; do
1644 if test "X$pkg" = "X$p"; then
1655 # Check whether --enable-static or --disable-static was given.
1656 if test "${enable_static+set}" = set; then
1657 enableval
="$enable_static"
1658 p
=${PACKAGE-default}
1659 case "$enableval" in
1660 yes) enable_static
=yes ;;
1661 no
) enable_static
=no
;;
1664 # Look at the argument we got. We use all the common list separators.
1665 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1666 for pkg
in $enableval; do
1667 if test "X$pkg" = "X$p"; then
1678 # Check whether --enable-fast-install or --disable-fast-install was given.
1679 if test "${enable_fast_install+set}" = set; then
1680 enableval
="$enable_fast_install"
1681 p
=${PACKAGE-default}
1682 case "$enableval" in
1683 yes) enable_fast_install
=yes ;;
1684 no
) enable_fast_install
=no
;;
1686 enable_fast_install
=no
1687 # Look at the argument we got. We use all the common list separators.
1688 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1689 for pkg
in $enableval; do
1690 if test "X$pkg" = "X$p"; then
1691 enable_fast_install
=yes
1698 enable_fast_install
=yes
1701 # Extract the first word of "ranlib", so it can be a program name with args.
1702 set dummy ranlib
; ac_word
=$2
1703 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1704 echo "configure:1705: checking for $ac_word" >&5
1705 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1706 echo $ac_n "(cached) $ac_c" 1>&6
1708 if test -n "$RANLIB"; then
1709 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1711 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1713 for ac_dir
in $ac_dummy; do
1714 test -z "$ac_dir" && ac_dir
=.
1715 if test -f $ac_dir/$ac_word; then
1716 ac_cv_prog_RANLIB
="ranlib"
1721 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1724 RANLIB
="$ac_cv_prog_RANLIB"
1725 if test -n "$RANLIB"; then
1726 echo "$ac_t""$RANLIB" 1>&6
1728 echo "$ac_t""no" 1>&6
1731 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1732 if test "${with_gnu_ld+set}" = set; then
1733 withval
="$with_gnu_ld"
1734 test "$withval" = no || with_gnu_ld
=yes
1740 if test "$ac_cv_prog_gcc" = yes; then
1741 # Check if gcc -print-prog-name=ld gives a path.
1742 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1743 echo "configure:1744: checking for ld used by GCC" >&5
1744 ac_prog
=`($CC -print-prog-name=ld) 2>&5`
1746 # Accept absolute paths.
1747 [\\/]* |
[A-Za-z
]:[\\/]*)
1748 re_direlt
='/[^/][^/]*/\.\./'
1749 # Canonicalize the path of ld
1750 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1751 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1752 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1754 test -z "$LD" && LD
="$ac_prog"
1757 # If it fails, then pretend we aren't using GCC.
1761 # If it is relative, then search for the first ld in PATH.
1765 elif test "$with_gnu_ld" = yes; then
1766 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1767 echo "configure:1768: checking for GNU ld" >&5
1769 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1770 echo "configure:1771: checking for non-GNU ld" >&5
1772 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1773 echo $ac_n "(cached) $ac_c" 1>&6
1775 if test -z "$LD"; then
1776 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1777 for ac_dir
in $PATH; do
1778 test -z "$ac_dir" && ac_dir
=.
1779 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1780 ac_cv_path_LD
="$ac_dir/$ac_prog"
1781 # Check to see if the program is GNU ld. I'd rather use --version,
1782 # but apparently some GNU ld's only accept -v.
1783 # Break only if it was the GNU/non-GNU ld that we prefer.
1784 if "$ac_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1785 test "$with_gnu_ld" != no
&& break
1787 test "$with_gnu_ld" != yes && break
1793 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
1798 if test -n "$LD"; then
1799 echo "$ac_t""$LD" 1>&6
1801 echo "$ac_t""no" 1>&6
1803 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1804 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1805 echo "configure:1806: checking if the linker ($LD) is GNU ld" >&5
1806 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1807 echo $ac_n "(cached) $ac_c" 1>&6
1809 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1810 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1811 ac_cv_prog_gnu_ld
=yes
1813 ac_cv_prog_gnu_ld
=no
1817 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1820 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1821 echo "configure:1822: checking for BSD-compatible nm" >&5
1822 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1823 echo $ac_n "(cached) $ac_c" 1>&6
1825 if test -n "$NM"; then
1826 # Let the user override the test.
1829 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1830 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1831 test -z "$ac_dir" && ac_dir
=.
1832 if test -f $ac_dir/nm ||
test -f $ac_dir/nm
$ac_exeext ; then
1833 # Check to see if the nm accepts a BSD-compat flag.
1834 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1835 # nm: unknown option "B" ignored
1836 if ($ac_dir/nm
-B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1837 ac_cv_path_NM
="$ac_dir/nm -B"
1839 elif ($ac_dir/nm
-p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1840 ac_cv_path_NM
="$ac_dir/nm -p"
1843 ac_cv_path_NM
=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
1844 continue # so that we can try to find one that supports BSD flags
1849 test -z "$ac_cv_path_NM" && ac_cv_path_NM
=nm
1854 echo "$ac_t""$NM" 1>&6
1856 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1857 echo "configure:1858: checking whether ln -s works" >&5
1858 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1859 echo $ac_n "(cached) $ac_c" 1>&6
1862 if ln -s X conftestdata
2>/dev
/null
1865 ac_cv_prog_LN_S
="ln -s"
1870 LN_S
="$ac_cv_prog_LN_S"
1871 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1872 echo "$ac_t""yes" 1>&6
1874 echo "$ac_t""no" 1>&6
1879 NONE
) lt_target
="$host" ;;
1880 *) lt_target
="$target" ;;
1883 # Check for any special flags to pass to ltconfig.
1884 libtool_flags
="--cache-file=$cache_file"
1885 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
1886 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
1887 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
1888 test "$ac_cv_prog_gcc" = yes && libtool_flags
="$libtool_flags --with-gcc"
1889 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
1890 libtool_flags
="$libtool_flags --enable-dlopen"
1892 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1893 if test "${enable_libtool_lock+set}" = set; then
1894 enableval
="$enable_libtool_lock"
1898 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
1899 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
1901 # Some flags need to be propagated to the compiler or linker for good
1903 case "$lt_target" in
1905 # Find out which ABI we are using.
1906 echo '#line 1907 "configure"' > conftest.
$ac_ext
1907 if { (eval echo configure
:1908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1908 case "`/usr/bin/file conftest.o`" in
1924 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1925 SAVE_CFLAGS
="$CFLAGS"
1926 CFLAGS
="$CFLAGS -belf"
1927 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1928 echo "configure:1929: checking whether the C compiler needs -belf" >&5
1929 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1930 echo $ac_n "(cached) $ac_c" 1>&6
1932 cat > conftest.
$ac_ext <<EOF
1933 #line 1934 "configure"
1934 #include "confdefs.h"
1940 if { (eval echo configure
:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1942 lt_cv_cc_needs_belf
=yes
1944 echo "configure: failed program was:" >&5
1945 cat conftest.
$ac_ext >&5
1947 lt_cv_cc_needs_belf
=no
1952 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
1953 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
1954 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1955 CFLAGS
="$SAVE_CFLAGS"
1963 # Save cache, so that ltconfig can load it
1964 cat > confcache
<<\EOF
1965 # This file is a shell script that caches the results of configure
1966 # tests run on this system so they can be shared between configure
1967 # scripts and configure runs. It is not useful on other systems.
1968 # If it contains results you don't want to keep, you may remove or edit it.
1970 # By default, configure uses ./config.cache as the cache file,
1971 # creating it if it does not exist already. You can give configure
1972 # the --cache-file=FILE option to use a different cache file; that is
1973 # what configure does when it calls configure scripts in
1974 # subdirectories, so they share the cache.
1975 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1976 # config.status only pays attention to the cache file if you give it the
1977 # --recheck option to rerun configure.
1980 # The following way of writing the cache mishandles newlines in values,
1981 # but we know of no workaround that is simple, portable, and efficient.
1982 # So, don't put newlines in cache variables' values.
1983 # Ultrix sh set writes to stderr and can't be redirected directly,
1984 # and sets the high bit in the cache file unless we assign to the vars.
1986 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1988 # `set' does not quote correctly, so add quotes (double-quote substitution
1989 # turns \\\\ into \\, and sed turns \\ into \).
1991 -e "s/'/'\\\\''/g" \
1992 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1995 # `set' quotes correctly as required by POSIX, so do not add quotes.
1996 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1999 if cmp -s $cache_file confcache
; then
2002 if test -w $cache_file; then
2003 echo "updating cache $cache_file"
2004 cat confcache
> $cache_file
2006 echo "not updating unwritable cache $cache_file"
2012 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2013 CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2014 LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2015 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" \
2016 DLLTOOL
="$DLLTOOL" AS
="$AS" OBJDUMP
="$OBJDUMP" \
2017 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2018 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh
$lt_target \
2019 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2021 # Reload cache, that may have been modified by ltconfig
2022 if test -r "$cache_file"; then
2023 echo "loading cache $cache_file"
2026 echo "creating cache $cache_file"
2031 # This can be used to rebuild libtool when needed
2032 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
2034 # Always use our own libtool.
2035 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
2037 # Redirect the config.log output again, so that the ltconfig log is not
2038 # clobbered by the next message.
2039 exec 5>>.
/config.log
2044 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
2053 if test -d $srcdir/testsuite
; then
2055 TESTSUBDIR_FALSE
='#'
2061 # Check whether --enable-fast-character or --disable-fast-character was given.
2062 if test "${enable_fast_character+set}" = set; then
2063 enableval
="$enable_fast_character"
2067 cat >> confdefs.h
<<\EOF
2068 #define COMPACT_CHARACTER 1
2074 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
2075 if test "${enable_getenv_properties+set}" = set; then
2076 enableval
="$enable_getenv_properties"
2081 if test -n "$enable_getenv_properties"; then
2082 enable_getenv_properties
=${enable_getenv_properties_default-yes}
2084 if test "$enable_getenv_properties" = no
; then
2085 cat >> confdefs.h
<<\EOF
2086 #define DISABLE_GETENV_PROPERTIES 1
2091 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
2092 if test "${enable_libgcj_debug+set}" = set; then
2093 enableval
="$enable_libgcj_debug"
2094 if test "$enable_libgcj_debug" = yes; then
2095 cat >> confdefs.h
<<\EOF
2103 # Check whether --enable-interpreter or --disable-interpreter was given.
2104 if test "${enable_interpreter+set}" = set; then
2105 enableval
="$enable_interpreter"
2106 if test "$enable_interpreter" = yes; then
2107 # This can also be set in configure.host.
2108 libgcj_interpreter
=yes
2109 elif test "$enable_interpreter" = no
; then
2110 libgcj_interpreter
=no
2115 if test "$libgcj_interpreter" = yes; then
2116 cat >> confdefs.h
<<\EOF
2117 #define INTERPRETER 1
2123 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
2124 if test "${enable_sjlj_exceptions+set}" = set; then
2125 enableval
="$enable_sjlj_exceptions"
2126 if test "$enable_sjlj_exceptions" = yes; then
2127 # This can be set in configure.host.
2133 if test "$libgcj_sjlj" = yes; then
2134 EXCEPTIONSPEC
="-fsjlj-exceptions"
2135 cat >> confdefs.h
<<\EOF
2136 #define SJLJ_EXCEPTIONS 1
2142 if test "$ac_cv_prog_gnu_ld" = yes; then
2143 FORCELIBGCCSPEC
="-u __rethrow -u __frame_state_for -lgcc"
2146 echo $ac_n "checking for data_start""... $ac_c" 1>&6
2147 echo "configure:2148: checking for data_start" >&5
2150 cat > conftest.
$ac_ext <<EOF
2151 #line 2152 "configure"
2152 #include "confdefs.h"
2153 extern int data_start;
2155 return ((int) &data_start);
2158 if { (eval echo configure
:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2160 echo "$ac_t""found it" 1>&6
2162 echo "configure: failed program was:" >&5
2163 cat conftest.
$ac_ext >&5
2165 LIBDATASTARTSPEC
="-u data_start -lgcjdata"
2166 NEEDS_DATA_START
=yes
2167 echo "$ac_t""missing" 1>&6
2172 # Check whether --enable-java-net or --disable-java-net was given.
2173 if test "${enable_java_net+set}" = set; then
2174 enableval
="$enable_java_net"
2179 if test -n "$enable_java_net"; then
2180 enable_java_net
=${enable_java_net_default-yes}
2182 if test "$enable_java_net" = no
; then
2183 cat >> confdefs.h
<<\EOF
2184 #define DISABLE_JAVA_NET 1
2189 # Check whether --enable-jvmpi or --disable-jvmpi was given.
2190 if test "${enable_jvmpi+set}" = set; then
2191 enableval
="$enable_jvmpi"
2196 if test "$enable_jvmpi" != no
; then
2197 cat >> confdefs.h
<<\EOF
2198 #define ENABLE_JVMPI 1
2204 # Check whether --with-ecos or --without-ecos was given.
2205 if test "${with_ecos+set}" = set; then
2206 withval
="$with_ecos"
2207 TARGET_ECOS
="$with_ecos"
2212 case "$TARGET_ECOS" in
2214 FILE_DESCRIPTOR
=natFileDescriptorPosix.cc
2215 PROCESS
=${PROCESS-Posix}
2218 FILE_DESCRIPTOR
=natFileDescriptorEcos.cc
2220 cat >> confdefs.h
<<\EOF
2227 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2228 echo "configure:2229: checking how to run the C preprocessor" >&5
2229 # On Suns, sometimes $CPP names a directory.
2230 if test -n "$CPP" && test -d "$CPP"; then
2233 if test -z "$CPP"; then
2234 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2235 echo $ac_n "(cached) $ac_c" 1>&6
2237 # This must be in double quotes, not single quotes, because CPP may get
2238 # substituted into the Makefile and "${CC-cc}" will confuse make.
2240 # On the NeXT, cc -E runs the code through the compiler's parser,
2241 # not just through cpp.
2242 cat > conftest.
$ac_ext <<EOF
2243 #line 2244 "configure"
2244 #include "confdefs.h"
2248 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2249 { (eval echo configure
:2250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2250 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2251 if test -z "$ac_err"; then
2255 echo "configure: failed program was:" >&5
2256 cat conftest.
$ac_ext >&5
2258 CPP
="${CC-cc} -E -traditional-cpp"
2259 cat > conftest.
$ac_ext <<EOF
2260 #line 2261 "configure"
2261 #include "confdefs.h"
2265 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2266 { (eval echo configure
:2267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2267 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2268 if test -z "$ac_err"; then
2272 echo "configure: failed program was:" >&5
2273 cat conftest.
$ac_ext >&5
2275 CPP
="${CC-cc} -nologo -E"
2276 cat > conftest.
$ac_ext <<EOF
2277 #line 2278 "configure"
2278 #include "confdefs.h"
2282 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2283 { (eval echo configure
:2284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2284 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2285 if test -z "$ac_err"; then
2289 echo "configure: failed program was:" >&5
2290 cat conftest.
$ac_ext >&5
2299 ac_cv_prog_CPP
="$CPP"
2301 CPP
="$ac_cv_prog_CPP"
2303 ac_cv_prog_CPP
="$CPP"
2305 echo "$ac_t""$CPP" 1>&6
2307 cat > conftest.
$ac_ext <<EOF
2308 #line 2309 "configure"
2309 #include "confdefs.h"
2312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2313 egrep "uint32_t" >/dev
/null
2>&1; then
2315 cat >> confdefs.h
<<\EOF
2316 #define HAVE_INT32_DEFINED 1
2322 cat > conftest.
$ac_ext <<EOF
2323 #line 2324 "configure"
2324 #include "confdefs.h"
2325 #include <inttypes.h>
2327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2328 egrep "uint32_t" >/dev
/null
2>&1; then
2330 cat >> confdefs.h
<<\EOF
2331 #define HAVE_INT32_DEFINED 1
2337 cat > conftest.
$ac_ext <<EOF
2338 #line 2339 "configure"
2339 #include "confdefs.h"
2340 #include <sys/types.h>
2342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2343 egrep "u_int32_t" >/dev
/null
2>&1; then
2345 cat >> confdefs.h
<<\EOF
2346 #define HAVE_BSD_INT32_DEFINED 1
2352 cat > conftest.
$ac_ext <<EOF
2353 #line 2354 "configure"
2354 #include "confdefs.h"
2355 #include <sys/config.h>
2357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2358 egrep "u_int32_t" >/dev
/null
2>&1; then
2360 cat >> confdefs.h
<<\EOF
2361 #define HAVE_BSD_INT32_DEFINED 1
2369 cat > conftest.
$ac_ext <<EOF
2370 #line 2371 "configure"
2371 #include "confdefs.h"
2374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2375 egrep "mktime" >/dev
/null
2>&1; then
2377 cat >> confdefs.h
<<\EOF
2378 #define HAVE_MKTIME 1
2384 cat > conftest.
$ac_ext <<EOF
2385 #line 2386 "configure"
2386 #include "confdefs.h"
2389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2390 egrep "localtime" >/dev
/null
2>&1; then
2392 cat >> confdefs.h
<<\EOF
2393 #define HAVE_LOCALTIME 1
2400 test -d java || mkdir java
2401 test -d java
/io || mkdir java
/io
2404 test -d java
/lang || mkdir java
/lang
2411 LIBGCJTESTSPEC
="-L`pwd`/.libs -rpath `pwd`/.libs"
2414 # Check whether --with-system-zlib or --without-system-zlib was given.
2415 if test "${with_system_zlib+set}" = set; then
2416 withval
="$with_system_zlib"
2427 echo $ac_n "checking for garbage collector to use""... $ac_c" 1>&6
2428 echo "configure:2429: checking for garbage collector to use" >&5
2429 # Check whether --enable-java-gc or --disable-java-gc was given.
2430 if test "${enable_java_gc+set}" = set; then
2431 enableval
="$enable_java_gc"
2446 echo "$ac_t""boehm" 1>&6
2447 GCDEPS
='$(top_builddir)/../boehm-gc/libgcjgc.la'
2448 # We include the path to the boehm-gc build directory.
2449 # See Makefile.am to understand why.
2450 GCLIBS
="$GCDEPS -L\$(here)/../boehm-gc/$libsubdir"
2451 GCINCS
='-I$(top_srcdir)/../boehm-gc -I$(top_builddir)/../boehm-gc'
2453 GCTESTSPEC
="-L`pwd`/../boehm-gc/.libs -rpath `pwd`/../boehm-gc/.libs"
2454 GCINCS
="$GCINCS `cat ../boehm-gc/boehm-cflags`"
2457 cat >> confdefs.h
<<\EOF
2458 #define HAVE_BOEHM_GC 1
2463 echo "$ac_t""none" 1>&6
2468 { echo "configure: error: unrecognized collector \"$GC\"" 1>&2; exit 1; }
2480 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
2481 echo "configure:2482: checking for threads package to use" >&5
2482 # Check whether --enable-threads or --disable-threads was given.
2483 if test "${enable_threads+set}" = set; then
2484 enableval
="$enable_threads"
2491 if test "$THREADS" = yes; then
2497 # FIXME: this isn't correct in all cases.
2504 # FIXME: for now, choose POSIX, because we implement that.
2505 # Later, choose irix threads.
2509 # FIXME: for now, choose POSIX, because we implement that.
2510 # Later, choose solaris threads.
2528 cat >> confdefs.h
<<\EOF
2529 #define LINUX_THREADS 1
2535 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks
)
2536 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
2539 { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
2542 echo "$ac_t""$THREADS" 1>&6
2552 THREADLIBS
=-lpthread
2553 THREADSPEC
=-lpthread
2554 THREADOBJS
=posix-threads.lo
2555 THREADH
=posix-threads.h
2556 # MIT pthreads doesn't seem to have the mutexattr functions.
2557 # But for now we don't check for it. We just assume you aren't
2558 # using MIT pthreads.
2559 cat >> confdefs.h
<<\EOF
2560 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
2564 # If we're using the Boehm GC, then we happen to know that it
2565 # defines _REENTRANT, so we don't bother. Eww.
2566 if test "$GC" != boehm
; then
2567 cat >> confdefs.h
<<\EOF
2568 #define _REENTRANT 1
2572 cat >> confdefs.h
<<\EOF
2573 #define _POSIX_PTHREAD_SEMANTICS 1
2579 THREADOBJS
=no-threads.lo
2580 THREADH
=no-threads.h
2592 if test "$GCC" = yes; then
2604 # Find eh-common.h and support headers. If we're in the tree with
2605 # gcc, then look there. Otherwise look in compat-include. If all else
2606 # fails, just hope the user has set things up somehow.
2607 if test -r $srcdir/..
/gcc
/eh-common.h
; then
2608 EH_COMMON_INCLUDE
='-I$(top_srcdir)/../gcc -I$(top_srcdir)/../include'
2610 if test -d $srcdir/..
/compat-include
; then
2611 EH_COMMON_INCLUDE
='-I$(top_srcdir)/../compat-include'
2617 if test -n "${with_cross_host}"; then
2618 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
2619 # may not work correctly, because the compiler may not be able to
2622 # We assume newlib. This lets us hard-code the functions we know
2624 cat >> confdefs.h
<<\EOF
2625 #define HAVE_MEMMOVE 1
2628 cat >> confdefs.h
<<\EOF
2629 #define HAVE_MEMCPY 1
2632 cat >> confdefs.h
<<\EOF
2633 #define HAVE_STRERROR 1
2636 cat >> confdefs.h
<<\EOF
2637 #define HAVE_GMTIME_R 1
2640 cat >> confdefs.h
<<\EOF
2641 #define HAVE_LOCALTIME_R 1
2644 cat >> confdefs.h
<<\EOF
2645 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
2648 cat >> confdefs.h
<<\EOF
2649 #define HAVE_ALLOCA 1
2653 cat >> confdefs.h
<<\EOF
2659 ZLIBTESTSPEC
="-L`pwd`/../zlib/.libs -rpath `pwd`/../zlib/.libs"
2661 # If Canadian cross, then don't pick up tools from the build
2663 if test "$build" != "$with_cross_host"; then
2666 GCJ
="${target_alias}-gcj"
2672 for ac_func
in strerror ioctl
select fstat open fsync
sleep
2674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2675 echo "configure:2676: checking for $ac_func" >&5
2676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2677 echo $ac_n "(cached) $ac_c" 1>&6
2679 cat > conftest.
$ac_ext <<EOF
2680 #line 2681 "configure"
2681 #include "confdefs.h"
2682 /* System header to define __stub macros and hopefully few prototypes,
2683 which can conflict with char $ac_func(); below. */
2685 /* Override any gcc2 internal prototype to avoid an error. */
2686 /* We use char because int might match the return type of a gcc2
2687 builtin and then its argument prototype would still apply. */
2692 /* The GNU C library defines this for functions which it implements
2693 to always fail with ENOSYS. Some functions are actually named
2694 something starting with __ and the normal name is an alias. */
2695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2703 if { (eval echo configure
:2704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2705 eval "ac_cv_func_$ac_func=yes"
2707 echo "configure: failed program was:" >&5
2708 cat conftest.
$ac_ext >&5
2710 eval "ac_cv_func_$ac_func=no"
2715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2716 echo "$ac_t""yes" 1>&6
2717 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2718 cat >> confdefs.h
<<EOF
2719 #define $ac_tr_func 1
2723 echo "$ac_t""no" 1>&6
2727 for ac_func
in gmtime_r localtime_r readdir_r getpwuid_r getcwd
2729 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2730 echo "configure:2731: checking for $ac_func" >&5
2731 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2732 echo $ac_n "(cached) $ac_c" 1>&6
2734 cat > conftest.
$ac_ext <<EOF
2735 #line 2736 "configure"
2736 #include "confdefs.h"
2737 /* System header to define __stub macros and hopefully few prototypes,
2738 which can conflict with char $ac_func(); below. */
2740 /* Override any gcc2 internal prototype to avoid an error. */
2741 /* We use char because int might match the return type of a gcc2
2742 builtin and then its argument prototype would still apply. */
2747 /* The GNU C library defines this for functions which it implements
2748 to always fail with ENOSYS. Some functions are actually named
2749 something starting with __ and the normal name is an alias. */
2750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2758 if { (eval echo configure
:2759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2760 eval "ac_cv_func_$ac_func=yes"
2762 echo "configure: failed program was:" >&5
2763 cat conftest.
$ac_ext >&5
2765 eval "ac_cv_func_$ac_func=no"
2770 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2771 echo "$ac_t""yes" 1>&6
2772 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2773 cat >> confdefs.h
<<EOF
2774 #define $ac_tr_func 1
2778 echo "$ac_t""no" 1>&6
2782 for ac_func
in access stat mkdir rename
rmdir unlink realpath
iconv
2784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2785 echo "configure:2786: checking for $ac_func" >&5
2786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2787 echo $ac_n "(cached) $ac_c" 1>&6
2789 cat > conftest.
$ac_ext <<EOF
2790 #line 2791 "configure"
2791 #include "confdefs.h"
2792 /* System header to define __stub macros and hopefully few prototypes,
2793 which can conflict with char $ac_func(); below. */
2795 /* Override any gcc2 internal prototype to avoid an error. */
2796 /* We use char because int might match the return type of a gcc2
2797 builtin and then its argument prototype would still apply. */
2802 /* The GNU C library defines this for functions which it implements
2803 to always fail with ENOSYS. Some functions are actually named
2804 something starting with __ and the normal name is an alias. */
2805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2813 if { (eval echo configure
:2814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2815 eval "ac_cv_func_$ac_func=yes"
2817 echo "configure: failed program was:" >&5
2818 cat conftest.
$ac_ext >&5
2820 eval "ac_cv_func_$ac_func=no"
2825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2826 echo "$ac_t""yes" 1>&6
2827 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2828 cat >> confdefs.h
<<EOF
2829 #define $ac_tr_func 1
2833 echo "$ac_t""no" 1>&6
2837 for ac_func
in inet_aton inet_addr
2839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2840 echo "configure:2841: checking for $ac_func" >&5
2841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2842 echo $ac_n "(cached) $ac_c" 1>&6
2844 cat > conftest.
$ac_ext <<EOF
2845 #line 2846 "configure"
2846 #include "confdefs.h"
2847 /* System header to define __stub macros and hopefully few prototypes,
2848 which can conflict with char $ac_func(); below. */
2850 /* Override any gcc2 internal prototype to avoid an error. */
2851 /* We use char because int might match the return type of a gcc2
2852 builtin and then its argument prototype would still apply. */
2857 /* The GNU C library defines this for functions which it implements
2858 to always fail with ENOSYS. Some functions are actually named
2859 something starting with __ and the normal name is an alias. */
2860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2868 if { (eval echo configure
:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2870 eval "ac_cv_func_$ac_func=yes"
2872 echo "configure: failed program was:" >&5
2873 cat conftest.
$ac_ext >&5
2875 eval "ac_cv_func_$ac_func=no"
2880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2881 echo "$ac_t""yes" 1>&6
2882 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2883 cat >> confdefs.h
<<EOF
2884 #define $ac_tr_func 1
2888 echo "$ac_t""no" 1>&6
2892 for ac_func
in inet_pton uname inet_ntoa
2894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2895 echo "configure:2896: checking for $ac_func" >&5
2896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2897 echo $ac_n "(cached) $ac_c" 1>&6
2899 cat > conftest.
$ac_ext <<EOF
2900 #line 2901 "configure"
2901 #include "confdefs.h"
2902 /* System header to define __stub macros and hopefully few prototypes,
2903 which can conflict with char $ac_func(); below. */
2905 /* Override any gcc2 internal prototype to avoid an error. */
2906 /* We use char because int might match the return type of a gcc2
2907 builtin and then its argument prototype would still apply. */
2912 /* The GNU C library defines this for functions which it implements
2913 to always fail with ENOSYS. Some functions are actually named
2914 something starting with __ and the normal name is an alias. */
2915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2923 if { (eval echo configure
:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2925 eval "ac_cv_func_$ac_func=yes"
2927 echo "configure: failed program was:" >&5
2928 cat conftest.
$ac_ext >&5
2930 eval "ac_cv_func_$ac_func=no"
2935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2936 echo "$ac_t""yes" 1>&6
2937 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2938 cat >> confdefs.h
<<EOF
2939 #define $ac_tr_func 1
2943 echo "$ac_t""no" 1>&6
2947 for ac_func
in backtrace fork execvp pipe
2949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2950 echo "configure:2951: checking for $ac_func" >&5
2951 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2952 echo $ac_n "(cached) $ac_c" 1>&6
2954 cat > conftest.
$ac_ext <<EOF
2955 #line 2956 "configure"
2956 #include "confdefs.h"
2957 /* System header to define __stub macros and hopefully few prototypes,
2958 which can conflict with char $ac_func(); below. */
2960 /* Override any gcc2 internal prototype to avoid an error. */
2961 /* We use char because int might match the return type of a gcc2
2962 builtin and then its argument prototype would still apply. */
2967 /* The GNU C library defines this for functions which it implements
2968 to always fail with ENOSYS. Some functions are actually named
2969 something starting with __ and the normal name is an alias. */
2970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2978 if { (eval echo configure
:2979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2980 eval "ac_cv_func_$ac_func=yes"
2982 echo "configure: failed program was:" >&5
2983 cat conftest.
$ac_ext >&5
2985 eval "ac_cv_func_$ac_func=no"
2990 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2991 echo "$ac_t""yes" 1>&6
2992 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2993 cat >> confdefs.h
<<EOF
2994 #define $ac_tr_func 1
2998 echo "$ac_t""no" 1>&6
3002 for ac_hdr
in execinfo.h unistd.h dlfcn.h
3004 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3005 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3006 echo "configure:3007: checking for $ac_hdr" >&5
3007 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3008 echo $ac_n "(cached) $ac_c" 1>&6
3010 cat > conftest.
$ac_ext <<EOF
3011 #line 3012 "configure"
3012 #include "confdefs.h"
3015 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3016 { (eval echo configure
:3017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3017 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3018 if test -z "$ac_err"; then
3020 eval "ac_cv_header_$ac_safe=yes"
3023 echo "configure: failed program was:" >&5
3024 cat conftest.
$ac_ext >&5
3026 eval "ac_cv_header_$ac_safe=no"
3030 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3031 echo "$ac_t""yes" 1>&6
3032 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3033 cat >> confdefs.h
<<EOF
3034 #define $ac_tr_hdr 1
3038 echo "$ac_t""no" 1>&6
3042 echo $ac_n "checking for dladdr in -ldl""... $ac_c" 1>&6
3043 echo "configure:3044: checking for dladdr in -ldl" >&5
3044 ac_lib_var
=`echo dl'_'dladdr | sed 'y%./+-%__p_%'`
3045 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3046 echo $ac_n "(cached) $ac_c" 1>&6
3048 ac_save_LIBS
="$LIBS"
3050 cat > conftest.
$ac_ext <<EOF
3051 #line 3052 "configure"
3052 #include "confdefs.h"
3053 /* Override any gcc2 internal prototype to avoid an error. */
3054 /* We use char because int might match the return type of a gcc2
3055 builtin and then its argument prototype would still apply. */
3062 if { (eval echo configure
:3063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3064 eval "ac_cv_lib_$ac_lib_var=yes"
3066 echo "configure: failed program was:" >&5
3067 cat conftest.
$ac_ext >&5
3069 eval "ac_cv_lib_$ac_lib_var=no"
3072 LIBS
="$ac_save_LIBS"
3075 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3076 echo "$ac_t""yes" 1>&6
3078 cat >> confdefs.h
<<\EOF
3079 #define HAVE_DLADDR 1
3083 echo "$ac_t""no" 1>&6
3086 for ac_file
in /proc
/self
/exe
3089 ac_safe
=`echo "$ac_file" | sed 'y%./+-%__p_%'`
3090 echo $ac_n "checking for $ac_file""... $ac_c" 1>&6
3091 echo "configure:3092: checking for $ac_file" >&5
3092 if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
3093 echo $ac_n "(cached) $ac_c" 1>&6
3095 if test "$cross_compiling" = yes; then
3096 { echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; }
3098 if test -r $ac_file; then
3099 eval "ac_cv_file_$ac_safe=yes"
3101 eval "ac_cv_file_$ac_safe=no"
3105 if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then
3106 echo "$ac_t""yes" 1>&6
3107 ac_tr_file
=HAVE_
`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3108 cat >> confdefs.h
<<EOF
3109 #define $ac_tr_file 1
3112 cat >> confdefs.h
<<\EOF
3113 #define HAVE_PROC_SELF_EXE 1
3117 echo "$ac_t""no" 1>&6
3123 for ac_func
in gethostbyname_r
3125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3126 echo "configure:3127: checking for $ac_func" >&5
3127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3128 echo $ac_n "(cached) $ac_c" 1>&6
3130 cat > conftest.
$ac_ext <<EOF
3131 #line 3132 "configure"
3132 #include "confdefs.h"
3133 /* System header to define __stub macros and hopefully few prototypes,
3134 which can conflict with char $ac_func(); below. */
3136 /* Override any gcc2 internal prototype to avoid an error. */
3137 /* We use char because int might match the return type of a gcc2
3138 builtin and then its argument prototype would still apply. */
3143 /* The GNU C library defines this for functions which it implements
3144 to always fail with ENOSYS. Some functions are actually named
3145 something starting with __ and the normal name is an alias. */
3146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3154 if { (eval echo configure
:3155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3156 eval "ac_cv_func_$ac_func=yes"
3158 echo "configure: failed program was:" >&5
3159 cat conftest.
$ac_ext >&5
3161 eval "ac_cv_func_$ac_func=no"
3166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3167 echo "$ac_t""yes" 1>&6
3168 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3169 cat >> confdefs.h
<<EOF
3170 #define $ac_tr_func 1
3173 cat >> confdefs.h
<<\EOF
3174 #define HAVE_GETHOSTBYNAME_R 1
3177 # There are two different kinds of gethostbyname_r.
3178 # We look for the one that returns `int'.
3179 # Hopefully this check is robust enough.
3180 cat > conftest.
$ac_ext <<EOF
3181 #line 3182 "configure"
3182 #include "confdefs.h"
3185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3186 egrep "int.*gethostbyname_r" >/dev
/null
2>&1; then
3189 cat >> confdefs.h
<<\EOF
3190 #define GETHOSTBYNAME_R_RETURNS_INT 1
3198 *" -D_REENTRANT "*) ;;
3200 echo $ac_n "checking whether gethostbyname_r declaration requires -D_REENTRANT""... $ac_c" 1>&6
3201 echo "configure:3202: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
3202 if eval "test \"`echo '$''{'libjava_cv_gethostbyname_r_needs_reentrant'+set}'`\" = set"; then
3203 echo $ac_n "(cached) $ac_c" 1>&6
3207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3208 ac_cpp
='$CXXCPP $CPPFLAGS'
3209 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3210 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3211 cross_compiling
=$ac_cv_prog_cxx_cross
3213 cat > conftest.
$ac_ext <<EOF
3214 #line 3215 "configure"
3215 #include "confdefs.h"
3218 gethostbyname_r("", 0, 0);
3221 if { (eval echo configure
:3222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3223 libjava_cv_gethostbyname_r_needs_reentrant
=no
3225 echo "configure: failed program was:" >&5
3226 cat conftest.
$ac_ext >&5
3228 CPPFLAGS_SAVE
="$CPPFLAGS"
3229 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
3230 cat > conftest.
$ac_ext <<EOF
3231 #line 3232 "configure"
3232 #include "confdefs.h"
3235 gethostbyname_r("", 0, 0);
3238 if { (eval echo configure
:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3240 libjava_cv_gethostbyname_r_needs_reentrant
=yes
3242 echo "configure: failed program was:" >&5
3243 cat conftest.
$ac_ext >&5
3245 libjava_cv_gethostbyname_r_needs_reentrant
=fail
3248 CPPFLAGS
="$CPPFLAGS_SAVE"
3253 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3254 ac_cpp
='$CPP $CPPFLAGS'
3255 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3256 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3257 cross_compiling
=$ac_cv_prog_cc_cross
3262 echo "$ac_t""$libjava_cv_gethostbyname_r_needs_reentrant" 1>&6
3263 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
3264 cat >> confdefs.h
<<\EOF
3265 #define _REENTRANT 1
3272 echo $ac_n "checking for struct hostent_data""... $ac_c" 1>&6
3273 echo "configure:3274: checking for struct hostent_data" >&5
3274 if eval "test \"`echo '$''{'libjava_cv_struct_hostent_data'+set}'`\" = set"; then
3275 echo $ac_n "(cached) $ac_c" 1>&6
3277 cat > conftest.
$ac_ext <<EOF
3278 #line 3279 "configure"
3279 #include "confdefs.h"
3281 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
3282 # define _REENTRANT 1
3286 struct hostent_data data;
3289 if { (eval echo configure
:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3291 libjava_cv_struct_hostent_data
=yes
3293 echo "configure: failed program was:" >&5
3294 cat conftest.
$ac_ext >&5
3296 libjava_cv_struct_hostent_data
=no
3301 echo "$ac_t""$libjava_cv_struct_hostent_data" 1>&6
3302 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
3303 cat >> confdefs.h
<<\EOF
3304 #define HAVE_STRUCT_HOSTENT_DATA 1
3310 echo "$ac_t""no" 1>&6
3315 for ac_func
in gethostbyaddr_r
3317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3318 echo "configure:3319: checking for $ac_func" >&5
3319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3320 echo $ac_n "(cached) $ac_c" 1>&6
3322 cat > conftest.
$ac_ext <<EOF
3323 #line 3324 "configure"
3324 #include "confdefs.h"
3325 /* System header to define __stub macros and hopefully few prototypes,
3326 which can conflict with char $ac_func(); below. */
3328 /* Override any gcc2 internal prototype to avoid an error. */
3329 /* We use char because int might match the return type of a gcc2
3330 builtin and then its argument prototype would still apply. */
3335 /* The GNU C library defines this for functions which it implements
3336 to always fail with ENOSYS. Some functions are actually named
3337 something starting with __ and the normal name is an alias. */
3338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3346 if { (eval echo configure
:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3348 eval "ac_cv_func_$ac_func=yes"
3350 echo "configure: failed program was:" >&5
3351 cat conftest.
$ac_ext >&5
3353 eval "ac_cv_func_$ac_func=no"
3358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3359 echo "$ac_t""yes" 1>&6
3360 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3361 cat >> confdefs.h
<<EOF
3362 #define $ac_tr_func 1
3365 cat >> confdefs.h
<<\EOF
3366 #define HAVE_GETHOSTBYADDR_R 1
3369 # There are two different kinds of gethostbyaddr_r.
3370 # We look for the one that returns `int'.
3371 # Hopefully this check is robust enough.
3372 cat > conftest.
$ac_ext <<EOF
3373 #line 3374 "configure"
3374 #include "confdefs.h"
3377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3378 egrep "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
3381 cat >> confdefs.h
<<\EOF
3382 #define GETHOSTBYADDR_R_RETURNS_INT 1
3389 echo "$ac_t""no" 1>&6
3394 for ac_func
in gethostname
3396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3397 echo "configure:3398: checking for $ac_func" >&5
3398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3399 echo $ac_n "(cached) $ac_c" 1>&6
3401 cat > conftest.
$ac_ext <<EOF
3402 #line 3403 "configure"
3403 #include "confdefs.h"
3404 /* System header to define __stub macros and hopefully few prototypes,
3405 which can conflict with char $ac_func(); below. */
3407 /* Override any gcc2 internal prototype to avoid an error. */
3408 /* We use char because int might match the return type of a gcc2
3409 builtin and then its argument prototype would still apply. */
3414 /* The GNU C library defines this for functions which it implements
3415 to always fail with ENOSYS. Some functions are actually named
3416 something starting with __ and the normal name is an alias. */
3417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3425 if { (eval echo configure
:3426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3427 eval "ac_cv_func_$ac_func=yes"
3429 echo "configure: failed program was:" >&5
3430 cat conftest.
$ac_ext >&5
3432 eval "ac_cv_func_$ac_func=no"
3437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3438 echo "$ac_t""yes" 1>&6
3439 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3440 cat >> confdefs.h
<<EOF
3441 #define $ac_tr_func 1
3444 cat >> confdefs.h
<<\EOF
3445 #define HAVE_GETHOSTNAME 1
3448 cat > conftest.
$ac_ext <<EOF
3449 #line 3450 "configure"
3450 #include "confdefs.h"
3453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3454 egrep "gethostname" >/dev
/null
2>&1; then
3457 cat >> confdefs.h
<<\EOF
3458 #define HAVE_GETHOSTNAME_DECL 1
3465 echo "$ac_t""no" 1>&6
3470 # Look for these functions in the thread library, but only bother
3471 # if using POSIX threads.
3472 if test "$THREADS" = posix
; then
3474 LIBS
="$LIBS $THREADLIBS"
3475 # Some POSIX thread systems don't have pthread_mutexattr_settype.
3477 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
3479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3480 echo "configure:3481: checking for $ac_func" >&5
3481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3482 echo $ac_n "(cached) $ac_c" 1>&6
3484 cat > conftest.
$ac_ext <<EOF
3485 #line 3486 "configure"
3486 #include "confdefs.h"
3487 /* System header to define __stub macros and hopefully few prototypes,
3488 which can conflict with char $ac_func(); below. */
3490 /* Override any gcc2 internal prototype to avoid an error. */
3491 /* We use char because int might match the return type of a gcc2
3492 builtin and then its argument prototype would still apply. */
3497 /* The GNU C library defines this for functions which it implements
3498 to always fail with ENOSYS. Some functions are actually named
3499 something starting with __ and the normal name is an alias. */
3500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3508 if { (eval echo configure
:3509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3510 eval "ac_cv_func_$ac_func=yes"
3512 echo "configure: failed program was:" >&5
3513 cat conftest.
$ac_ext >&5
3515 eval "ac_cv_func_$ac_func=no"
3520 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3521 echo "$ac_t""yes" 1>&6
3522 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3523 cat >> confdefs.h
<<EOF
3524 #define $ac_tr_func 1
3528 echo "$ac_t""no" 1>&6
3533 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
3534 # Solaris 7 the name librt is preferred.
3535 for ac_func
in sched_yield
3537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3538 echo "configure:3539: checking for $ac_func" >&5
3539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3540 echo $ac_n "(cached) $ac_c" 1>&6
3542 cat > conftest.
$ac_ext <<EOF
3543 #line 3544 "configure"
3544 #include "confdefs.h"
3545 /* System header to define __stub macros and hopefully few prototypes,
3546 which can conflict with char $ac_func(); below. */
3548 /* Override any gcc2 internal prototype to avoid an error. */
3549 /* We use char because int might match the return type of a gcc2
3550 builtin and then its argument prototype would still apply. */
3555 /* The GNU C library defines this for functions which it implements
3556 to always fail with ENOSYS. Some functions are actually named
3557 something starting with __ and the normal name is an alias. */
3558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3566 if { (eval echo configure
:3567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3568 eval "ac_cv_func_$ac_func=yes"
3570 echo "configure: failed program was:" >&5
3571 cat conftest.
$ac_ext >&5
3573 eval "ac_cv_func_$ac_func=no"
3578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3579 echo "$ac_t""yes" 1>&6
3580 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3581 cat >> confdefs.h
<<EOF
3582 #define $ac_tr_func 1
3586 echo "$ac_t""no" 1>&6
3587 echo $ac_n "checking for sched_yield in -lrt""... $ac_c" 1>&6
3588 echo "configure:3589: checking for sched_yield in -lrt" >&5
3589 ac_lib_var
=`echo rt'_'sched_yield | sed 'y%./+-%__p_%'`
3590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3591 echo $ac_n "(cached) $ac_c" 1>&6
3593 ac_save_LIBS
="$LIBS"
3595 cat > conftest.
$ac_ext <<EOF
3596 #line 3597 "configure"
3597 #include "confdefs.h"
3598 /* Override any gcc2 internal prototype to avoid an error. */
3599 /* We use char because int might match the return type of a gcc2
3600 builtin and then its argument prototype would still apply. */
3607 if { (eval echo configure
:3608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3609 eval "ac_cv_lib_$ac_lib_var=yes"
3611 echo "configure: failed program was:" >&5
3612 cat conftest.
$ac_ext >&5
3614 eval "ac_cv_lib_$ac_lib_var=no"
3617 LIBS
="$ac_save_LIBS"
3620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3621 echo "$ac_t""yes" 1>&6
3623 cat >> confdefs.h
<<\EOF
3624 #define HAVE_SCHED_YIELD 1
3627 THREADLIBS
="$THREADLIBS -lrt"
3628 THREADSPEC
="$THREADSPEC -lrt"
3630 echo "$ac_t""no" 1>&6
3632 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
3633 echo "configure:3634: checking for sched_yield in -lposix4" >&5
3634 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
3635 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3636 echo $ac_n "(cached) $ac_c" 1>&6
3638 ac_save_LIBS
="$LIBS"
3639 LIBS
="-lposix4 $LIBS"
3640 cat > conftest.
$ac_ext <<EOF
3641 #line 3642 "configure"
3642 #include "confdefs.h"
3643 /* Override any gcc2 internal prototype to avoid an error. */
3644 /* We use char because int might match the return type of a gcc2
3645 builtin and then its argument prototype would still apply. */
3652 if { (eval echo configure
:3653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3654 eval "ac_cv_lib_$ac_lib_var=yes"
3656 echo "configure: failed program was:" >&5
3657 cat conftest.
$ac_ext >&5
3659 eval "ac_cv_lib_$ac_lib_var=no"
3662 LIBS
="$ac_save_LIBS"
3665 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3666 echo "$ac_t""yes" 1>&6
3668 cat >> confdefs.h
<<\EOF
3669 #define HAVE_SCHED_YIELD 1
3672 THREADLIBS
="$THREADLIBS -lposix4"
3673 THREADSPEC
="$THREADSPEC -lposix4"
3675 echo "$ac_t""no" 1>&6
3685 # We can save a little space at runtime if the mutex has m_count
3686 # or __m_count. This is a nice hack for Linux.
3687 cat > conftest.
$ac_ext <<EOF
3688 #line 3689 "configure"
3689 #include "confdefs.h"
3690 #include <pthread.h>
3693 extern pthread_mutex_t *mutex; int q = mutex->m_count;
3697 if { (eval echo configure
:3698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3699 cat >> confdefs.h
<<\EOF
3700 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
3704 echo "configure: failed program was:" >&5
3705 cat conftest.
$ac_ext >&5
3708 cat > conftest.
$ac_ext <<EOF
3709 #line 3710 "configure"
3710 #include "confdefs.h"
3711 #include <pthread.h>
3714 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
3718 if { (eval echo configure
:3719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3720 cat >> confdefs.h
<<\EOF
3721 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
3725 echo "configure: failed program was:" >&5
3726 cat conftest.
$ac_ext >&5
3733 # We require a way to get the time.
3735 for ac_func
in gettimeofday
time ftime
3737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3738 echo "configure:3739: checking for $ac_func" >&5
3739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3740 echo $ac_n "(cached) $ac_c" 1>&6
3742 cat > conftest.
$ac_ext <<EOF
3743 #line 3744 "configure"
3744 #include "confdefs.h"
3745 /* System header to define __stub macros and hopefully few prototypes,
3746 which can conflict with char $ac_func(); below. */
3748 /* Override any gcc2 internal prototype to avoid an error. */
3749 /* We use char because int might match the return type of a gcc2
3750 builtin and then its argument prototype would still apply. */
3755 /* The GNU C library defines this for functions which it implements
3756 to always fail with ENOSYS. Some functions are actually named
3757 something starting with __ and the normal name is an alias. */
3758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3766 if { (eval echo configure
:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3768 eval "ac_cv_func_$ac_func=yes"
3770 echo "configure: failed program was:" >&5
3771 cat conftest.
$ac_ext >&5
3773 eval "ac_cv_func_$ac_func=no"
3778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3779 echo "$ac_t""yes" 1>&6
3780 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3781 cat >> confdefs.h
<<EOF
3782 #define $ac_tr_func 1
3786 echo "$ac_t""no" 1>&6
3790 if test "$time_found" = no
; then
3791 { echo "configure: error: no function found to get the time" 1>&2; exit 1; }
3794 for ac_func
in memmove
3796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3797 echo "configure:3798: checking for $ac_func" >&5
3798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3799 echo $ac_n "(cached) $ac_c" 1>&6
3801 cat > conftest.
$ac_ext <<EOF
3802 #line 3803 "configure"
3803 #include "confdefs.h"
3804 /* System header to define __stub macros and hopefully few prototypes,
3805 which can conflict with char $ac_func(); below. */
3807 /* Override any gcc2 internal prototype to avoid an error. */
3808 /* We use char because int might match the return type of a gcc2
3809 builtin and then its argument prototype would still apply. */
3814 /* The GNU C library defines this for functions which it implements
3815 to always fail with ENOSYS. Some functions are actually named
3816 something starting with __ and the normal name is an alias. */
3817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3825 if { (eval echo configure
:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3827 eval "ac_cv_func_$ac_func=yes"
3829 echo "configure: failed program was:" >&5
3830 cat conftest.
$ac_ext >&5
3832 eval "ac_cv_func_$ac_func=no"
3837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3838 echo "$ac_t""yes" 1>&6
3839 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3840 cat >> confdefs.h
<<EOF
3841 #define $ac_tr_func 1
3845 echo "$ac_t""no" 1>&6
3850 # We require memcpy.
3852 for ac_func
in memcpy
3854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3855 echo "configure:3856: checking for $ac_func" >&5
3856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3857 echo $ac_n "(cached) $ac_c" 1>&6
3859 cat > conftest.
$ac_ext <<EOF
3860 #line 3861 "configure"
3861 #include "confdefs.h"
3862 /* System header to define __stub macros and hopefully few prototypes,
3863 which can conflict with char $ac_func(); below. */
3865 /* Override any gcc2 internal prototype to avoid an error. */
3866 /* We use char because int might match the return type of a gcc2
3867 builtin and then its argument prototype would still apply. */
3872 /* The GNU C library defines this for functions which it implements
3873 to always fail with ENOSYS. Some functions are actually named
3874 something starting with __ and the normal name is an alias. */
3875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3883 if { (eval echo configure
:3884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3885 eval "ac_cv_func_$ac_func=yes"
3887 echo "configure: failed program was:" >&5
3888 cat conftest.
$ac_ext >&5
3890 eval "ac_cv_func_$ac_func=no"
3895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3896 echo "$ac_t""yes" 1>&6
3897 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3898 cat >> confdefs.h
<<EOF
3899 #define $ac_tr_func 1
3903 echo "$ac_t""no" 1>&6
3907 if test "$memcpy_found" = no
; then
3908 { echo "configure: error: memcpy is required" 1>&2; exit 1; }
3911 # Some library-finding code we stole from Tcl.
3912 #--------------------------------------------------------------------
3913 # Check for the existence of the -lsocket and -lnsl libraries.
3914 # The order here is important, so that they end up in the right
3915 # order in the command line generated by make. Here are some
3916 # special considerations:
3917 # 1. Use "connect" and "accept" to check for -lsocket, and
3918 # "gethostbyname" to check for -lnsl.
3919 # 2. Use each function name only once: can't redo a check because
3920 # autoconf caches the results of the last check and won't redo it.
3921 # 3. Use -lnsl and -lsocket only if they supply procedures that
3922 # aren't already present in the normal libraries. This is because
3923 # IRIX 5.2 has libraries, but they aren't needed and they're
3924 # bogus: they goof up name resolution if used.
3925 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
3926 # To get around this problem, check for both libraries together
3927 # if -lsocket doesn't work by itself.
3928 #--------------------------------------------------------------------
3930 echo $ac_n "checking for socket libraries""... $ac_c" 1>&6
3931 echo "configure:3932: checking for socket libraries" >&5
3932 if eval "test \"`echo '$''{'gcj_cv_lib_sockets'+set}'`\" = set"; then
3933 echo $ac_n "(cached) $ac_c" 1>&6
3937 unset ac_cv_func_connect
3938 echo $ac_n "checking for connect""... $ac_c" 1>&6
3939 echo "configure:3940: checking for connect" >&5
3940 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
3941 echo $ac_n "(cached) $ac_c" 1>&6
3943 cat > conftest.
$ac_ext <<EOF
3944 #line 3945 "configure"
3945 #include "confdefs.h"
3946 /* System header to define __stub macros and hopefully few prototypes,
3947 which can conflict with char connect(); below. */
3949 /* Override any gcc2 internal prototype to avoid an error. */
3950 /* We use char because int might match the return type of a gcc2
3951 builtin and then its argument prototype would still apply. */
3956 /* The GNU C library defines this for functions which it implements
3957 to always fail with ENOSYS. Some functions are actually named
3958 something starting with __ and the normal name is an alias. */
3959 #if defined (__stub_connect) || defined (__stub___connect)
3967 if { (eval echo configure
:3968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3969 eval "ac_cv_func_connect=yes"
3971 echo "configure: failed program was:" >&5
3972 cat conftest.
$ac_ext >&5
3974 eval "ac_cv_func_connect=no"
3979 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
3980 echo "$ac_t""yes" 1>&6
3983 echo "$ac_t""no" 1>&6
3987 if test "$gcj_checkSocket" = 1; then
3988 unset ac_cv_func_connect
3989 echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
3990 echo "configure:3991: checking for main in -lsocket" >&5
3991 ac_lib_var
=`echo socket'_'main | sed 'y%./+-%__p_%'`
3992 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3993 echo $ac_n "(cached) $ac_c" 1>&6
3995 ac_save_LIBS
="$LIBS"
3996 LIBS
="-lsocket $LIBS"
3997 cat > conftest.
$ac_ext <<EOF
3998 #line 3999 "configure"
3999 #include "confdefs.h"
4005 if { (eval echo configure
:4006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4007 eval "ac_cv_lib_$ac_lib_var=yes"
4009 echo "configure: failed program was:" >&5
4010 cat conftest.
$ac_ext >&5
4012 eval "ac_cv_lib_$ac_lib_var=no"
4015 LIBS
="$ac_save_LIBS"
4018 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4019 echo "$ac_t""yes" 1>&6
4020 gcj_cv_lib_sockets
="-lsocket"
4022 echo "$ac_t""no" 1>&6
4027 if test "$gcj_checkBoth" = 1; then
4029 LIBS
="$LIBS -lsocket -lnsl"
4030 unset ac_cv_func_accept
4031 echo $ac_n "checking for accept""... $ac_c" 1>&6
4032 echo "configure:4033: checking for accept" >&5
4033 if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
4034 echo $ac_n "(cached) $ac_c" 1>&6
4036 cat > conftest.
$ac_ext <<EOF
4037 #line 4038 "configure"
4038 #include "confdefs.h"
4039 /* System header to define __stub macros and hopefully few prototypes,
4040 which can conflict with char accept(); below. */
4042 /* Override any gcc2 internal prototype to avoid an error. */
4043 /* We use char because int might match the return type of a gcc2
4044 builtin and then its argument prototype would still apply. */
4049 /* The GNU C library defines this for functions which it implements
4050 to always fail with ENOSYS. Some functions are actually named
4051 something starting with __ and the normal name is an alias. */
4052 #if defined (__stub_accept) || defined (__stub___accept)
4060 if { (eval echo configure
:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4062 eval "ac_cv_func_accept=yes"
4064 echo "configure: failed program was:" >&5
4065 cat conftest.
$ac_ext >&5
4067 eval "ac_cv_func_accept=no"
4072 if eval "test \"`echo '$ac_cv_func_'accept`\" = yes"; then
4073 echo "$ac_t""yes" 1>&6
4075 gcj_cv_lib_sockets
="-lsocket -lnsl"
4077 echo "$ac_t""no" 1>&6
4080 unset ac_cv_func_accept
4083 unset ac_cv_func_gethostbyname
4085 LIBS
="$LIBS $gcj_cv_lib_sockets"
4086 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4087 echo "configure:4088: checking for gethostbyname" >&5
4088 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
4089 echo $ac_n "(cached) $ac_c" 1>&6
4091 cat > conftest.
$ac_ext <<EOF
4092 #line 4093 "configure"
4093 #include "confdefs.h"
4094 /* System header to define __stub macros and hopefully few prototypes,
4095 which can conflict with char gethostbyname(); below. */
4097 /* Override any gcc2 internal prototype to avoid an error. */
4098 /* We use char because int might match the return type of a gcc2
4099 builtin and then its argument prototype would still apply. */
4100 char gethostbyname();
4104 /* The GNU C library defines this for functions which it implements
4105 to always fail with ENOSYS. Some functions are actually named
4106 something starting with __ and the normal name is an alias. */
4107 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
4115 if { (eval echo configure
:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4117 eval "ac_cv_func_gethostbyname=yes"
4119 echo "configure: failed program was:" >&5
4120 cat conftest.
$ac_ext >&5
4122 eval "ac_cv_func_gethostbyname=no"
4127 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
4128 echo "$ac_t""yes" 1>&6
4131 echo "$ac_t""no" 1>&6
4132 echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
4133 echo "configure:4134: checking for main in -lnsl" >&5
4134 ac_lib_var
=`echo nsl'_'main | sed 'y%./+-%__p_%'`
4135 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4136 echo $ac_n "(cached) $ac_c" 1>&6
4138 ac_save_LIBS
="$LIBS"
4140 cat > conftest.
$ac_ext <<EOF
4141 #line 4142 "configure"
4142 #include "confdefs.h"
4148 if { (eval echo configure
:4149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4150 eval "ac_cv_lib_$ac_lib_var=yes"
4152 echo "configure: failed program was:" >&5
4153 cat conftest.
$ac_ext >&5
4155 eval "ac_cv_lib_$ac_lib_var=no"
4158 LIBS
="$ac_save_LIBS"
4161 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4162 echo "$ac_t""yes" 1>&6
4163 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
4165 echo "$ac_t""no" 1>&6
4170 unset ac_cv_func_gethostbyname
4175 echo "$ac_t""$gcj_cv_lib_sockets" 1>&6
4176 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
4178 if test "$with_system_zlib" = yes; then
4179 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
4180 echo "configure:4181: checking for deflate in -lz" >&5
4181 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
4182 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4183 echo $ac_n "(cached) $ac_c" 1>&6
4185 ac_save_LIBS
="$LIBS"
4187 cat > conftest.
$ac_ext <<EOF
4188 #line 4189 "configure"
4189 #include "confdefs.h"
4190 /* Override any gcc2 internal prototype to avoid an error. */
4191 /* We use char because int might match the return type of a gcc2
4192 builtin and then its argument prototype would still apply. */
4199 if { (eval echo configure
:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4201 eval "ac_cv_lib_$ac_lib_var=yes"
4203 echo "configure: failed program was:" >&5
4204 cat conftest.
$ac_ext >&5
4206 eval "ac_cv_lib_$ac_lib_var=no"
4209 LIBS
="$ac_save_LIBS"
4212 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4213 echo "$ac_t""yes" 1>&6
4216 echo "$ac_t""no" 1>&6
4222 ZLIBTESTSPEC
="-L`pwd`/../zlib/.libs -rpath `pwd`/../zlib/.libs"
4225 # On Solaris, and maybe other architectures, the Boehm collector
4227 if test "$GC" = boehm
; then
4228 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
4229 echo "configure:4230: checking for main in -ldl" >&5
4230 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'`
4231 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4232 echo $ac_n "(cached) $ac_c" 1>&6
4234 ac_save_LIBS
="$LIBS"
4236 cat > conftest.
$ac_ext <<EOF
4237 #line 4238 "configure"
4238 #include "confdefs.h"
4244 if { (eval echo configure
:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4246 eval "ac_cv_lib_$ac_lib_var=yes"
4248 echo "configure: failed program was:" >&5
4249 cat conftest.
$ac_ext >&5
4251 eval "ac_cv_lib_$ac_lib_var=no"
4254 LIBS
="$ac_save_LIBS"
4257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4258 echo "$ac_t""yes" 1>&6
4259 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
4261 echo "$ac_t""no" 1>&6
4266 if test -d "$libgcj_basedir/../gcc/java"; then
4275 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4276 echo "configure:4277: checking size of void *" >&5
4277 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
4278 echo $ac_n "(cached) $ac_c" 1>&6
4280 if test "$cross_compiling" = yes; then
4281 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4283 cat > conftest.
$ac_ext <<EOF
4284 #line 4285 "configure"
4285 #include "confdefs.h"
4289 FILE *f=fopen("conftestval", "w");
4291 fprintf(f, "%d\n", sizeof(void *));
4295 if { (eval echo configure
:4296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4297 ac_cv_sizeof_void_p
=`cat conftestval`
4299 echo "configure: failed program was:" >&5
4300 cat conftest.
$ac_ext >&5
4302 ac_cv_sizeof_void_p
=0
4308 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
4309 cat >> confdefs.h
<<EOF
4310 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4318 if test "x$ZLIBSPEC" = "x-lzgcj"; then
4319 # We include the path to the zlib build directory.
4320 # See Makefile.am to understand why.
4321 ZDEPS
='$(top_builddir)/../zlib/libzgcj.la'
4322 ZLIBS
="$ZDEPS -L\$(here)/../zlib/$libsubdir"
4323 ZINCS
='-I$(top_srcdir)/../zlib'
4336 if test "$CANADIAN" = yes; then
4345 if test "$NULL_TARGET" = yes; then
4347 NULL_TARGET_FALSE
='#'
4349 NULL_TARGET_TRUE
='#'
4354 if test "$NATIVE" = yes ||
test "$NULL_TARGET" = yes; then
4363 if test -z "$with_cross_host"; then
4365 USE_LIBDIR_FALSE
='#'
4372 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
4373 NEEDS_DATA_START_TRUE
=
4374 NEEDS_DATA_START_FALSE
='#'
4376 NEEDS_DATA_START_TRUE
='#'
4377 NEEDS_DATA_START_FALSE
=
4381 # Determine gcj version number.
4382 if test "$GCJ" = ""; then
4383 if test -z "${with_multisubdir}"; then
4387 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
4390 dir
="`cd ${builddotdot}/../../gcc && pwd`"
4391 GCJ
="$dir/gcj -B$dir/"
4394 gcjvers
="`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`"
4396 cat >> confdefs.h
<<EOF
4397 #define GCJVERSION "$gcjvers"
4401 # See if gcj supports -fuse-divide-subroutine. gcc 2.95 does not, and
4402 # we want to continue to support that version.
4403 echo $ac_n "checking whether gcj supports -fuse-divide-subroutine""... $ac_c" 1>&6
4404 echo "configure:4405: checking whether gcj supports -fuse-divide-subroutine" >&5
4405 cat > conftest.java
<< 'END'
4406 public class conftest
{ }
4409 $GCJ -classpath $srcdir -fuse-divide-subroutine -fsyntax-only \
4410 conftest.java
> /dev
/null
2>&1 \
4413 if test "$use_fuse" = no
; then
4416 echo "$ac_t""$use_fuse" 1>&6
4420 echo $ac_n "checking for g++ -ffloat-store bug""... $ac_c" 1>&6
4421 echo "configure:4422: checking for g++ -ffloat-store bug" >&5
4422 save_CFLAGS
="$CFLAGS"
4423 CFLAGS
="-x c++ -O2 -ffloat-store"
4424 cat > conftest.
$ac_ext <<EOF
4425 #line 4426 "configure"
4426 #include "confdefs.h"
4432 if { (eval echo configure
:4433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4434 echo "$ac_t""no" 1>&6
4436 echo "configure: failed program was:" >&5
4437 cat conftest.
$ac_ext >&5
4439 cat >> confdefs.h
<<\EOF
4440 #define __NO_MATH_INLINES 1
4443 echo "$ac_t""yes" 1>&6
4446 CFLAGS
="$save_CFLAGS"
4448 for ac_hdr
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h
pwd.h sys
/config.h inttypes.h stdint.h
4450 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4451 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4452 echo "configure:4453: checking for $ac_hdr" >&5
4453 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4454 echo $ac_n "(cached) $ac_c" 1>&6
4456 cat > conftest.
$ac_ext <<EOF
4457 #line 4458 "configure"
4458 #include "confdefs.h"
4461 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4462 { (eval echo configure
:4463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4463 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4464 if test -z "$ac_err"; then
4466 eval "ac_cv_header_$ac_safe=yes"
4469 echo "configure: failed program was:" >&5
4470 cat conftest.
$ac_ext >&5
4472 eval "ac_cv_header_$ac_safe=no"
4476 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4477 echo "$ac_t""yes" 1>&6
4478 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4479 cat >> confdefs.h
<<EOF
4480 #define $ac_tr_hdr 1
4484 echo "$ac_t""no" 1>&6
4488 for ac_hdr
in dirent.h
4490 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4491 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4492 echo "configure:4493: checking for $ac_hdr" >&5
4493 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4494 echo $ac_n "(cached) $ac_c" 1>&6
4496 cat > conftest.
$ac_ext <<EOF
4497 #line 4498 "configure"
4498 #include "confdefs.h"
4501 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4502 { (eval echo configure
:4503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4503 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4504 if test -z "$ac_err"; then
4506 eval "ac_cv_header_$ac_safe=yes"
4509 echo "configure: failed program was:" >&5
4510 cat conftest.
$ac_ext >&5
4512 eval "ac_cv_header_$ac_safe=no"
4516 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4517 echo "$ac_t""yes" 1>&6
4518 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4519 cat >> confdefs.h
<<EOF
4520 #define $ac_tr_hdr 1
4524 echo "$ac_t""no" 1>&6
4529 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
4530 echo "configure:4531: checking for ANSI C header files" >&5
4531 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
4532 echo $ac_n "(cached) $ac_c" 1>&6
4534 cat > conftest.
$ac_ext <<EOF
4535 #line 4536 "configure"
4536 #include "confdefs.h"
4542 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4543 { (eval echo configure
:4544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4544 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4545 if test -z "$ac_err"; then
4547 ac_cv_header_stdc
=yes
4550 echo "configure: failed program was:" >&5
4551 cat conftest.
$ac_ext >&5
4553 ac_cv_header_stdc
=no
4557 if test $ac_cv_header_stdc = yes; then
4558 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4559 cat > conftest.
$ac_ext <<EOF
4560 #line 4561 "configure"
4561 #include "confdefs.h"
4564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4565 egrep "memchr" >/dev
/null
2>&1; then
4569 ac_cv_header_stdc
=no
4575 if test $ac_cv_header_stdc = yes; then
4576 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4577 cat > conftest.
$ac_ext <<EOF
4578 #line 4579 "configure"
4579 #include "confdefs.h"
4582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4583 egrep "free" >/dev
/null
2>&1; then
4587 ac_cv_header_stdc
=no
4593 if test $ac_cv_header_stdc = yes; then
4594 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4595 if test "$cross_compiling" = yes; then
4598 cat > conftest.
$ac_ext <<EOF
4599 #line 4600 "configure"
4600 #include "confdefs.h"
4602 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4603 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4604 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4605 int main () { int i; for (i = 0; i < 256; i++)
4606 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
4610 if { (eval echo configure
:4611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4614 echo "configure: failed program was:" >&5
4615 cat conftest.
$ac_ext >&5
4617 ac_cv_header_stdc
=no
4625 echo "$ac_t""$ac_cv_header_stdc" 1>&6
4626 if test $ac_cv_header_stdc = yes; then
4627 cat >> confdefs.h
<<\EOF
4628 #define STDC_HEADERS 1
4633 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
4634 echo "configure:4635: checking for ssize_t" >&5
4635 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
4636 echo $ac_n "(cached) $ac_c" 1>&6
4638 cat > conftest.
$ac_ext <<EOF
4639 #line 4640 "configure"
4640 #include "confdefs.h"
4641 #include <sys/types.h>
4647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4648 egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
4650 ac_cv_type_ssize_t
=yes
4653 ac_cv_type_ssize_t
=no
4658 echo "$ac_t""$ac_cv_type_ssize_t" 1>&6
4659 if test $ac_cv_type_ssize_t = no
; then
4660 cat >> confdefs.h
<<\EOF
4667 echo $ac_n "checking for in_addr_t""... $ac_c" 1>&6
4668 echo "configure:4669: checking for in_addr_t" >&5
4669 cat > conftest.
$ac_ext <<EOF
4670 #line 4671 "configure"
4671 #include "confdefs.h"
4672 #include <sys/types.h>
4677 #if HAVE_NETINET_IN_H
4678 #include <netinet/in.h>
4684 if { (eval echo configure
:4685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4686 cat >> confdefs.h
<<\EOF
4687 #define HAVE_IN_ADDR_T 1
4690 echo "$ac_t""yes" 1>&6
4692 echo "configure: failed program was:" >&5
4693 cat conftest.
$ac_ext >&5
4695 echo "$ac_t""no" 1>&6
4699 echo $ac_n "checking whether struct ip_mreq is in netinet/in.h""... $ac_c" 1>&6
4700 echo "configure:4701: checking whether struct ip_mreq is in netinet/in.h" >&5
4701 cat > conftest.
$ac_ext <<EOF
4702 #line 4703 "configure"
4703 #include "confdefs.h"
4704 #include <netinet/in.h>
4706 struct ip_mreq mreq;
4709 if { (eval echo configure
:4710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4711 cat >> confdefs.h
<<\EOF
4712 #define HAVE_STRUCT_IP_MREQ 1
4715 echo "$ac_t""yes" 1>&6
4717 echo "configure: failed program was:" >&5
4718 cat conftest.
$ac_ext >&5
4720 echo "$ac_t""no" 1>&6
4724 echo $ac_n "checking whether struct sockaddr_in6 is in netinet/in.h""... $ac_c" 1>&6
4725 echo "configure:4726: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
4726 cat > conftest.
$ac_ext <<EOF
4727 #line 4728 "configure"
4728 #include "confdefs.h"
4729 #include <netinet/in.h>
4731 struct sockaddr_in6 addr6;
4734 if { (eval echo configure
:4735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4736 cat >> confdefs.h
<<\EOF
4737 #define HAVE_INET6 1
4740 echo "$ac_t""yes" 1>&6
4742 echo "configure: failed program was:" >&5
4743 cat conftest.
$ac_ext >&5
4745 echo "$ac_t""no" 1>&6
4749 echo $ac_n "checking for socklen_t in sys/socket.h""... $ac_c" 1>&6
4750 echo "configure:4751: checking for socklen_t in sys/socket.h" >&5
4751 cat > conftest.
$ac_ext <<EOF
4752 #line 4753 "configure"
4753 #include "confdefs.h"
4754 #include <sys/socket.h>
4759 if { (eval echo configure
:4760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4761 cat >> confdefs.h
<<\EOF
4762 #define HAVE_SOCKLEN_T 1
4765 echo "$ac_t""yes" 1>&6
4767 echo "configure: failed program was:" >&5
4768 cat conftest.
$ac_ext >&5
4770 echo "$ac_t""no" 1>&6
4774 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
4775 echo "configure:4776: checking for tm_gmtoff in struct tm" >&5
4776 cat > conftest.
$ac_ext <<EOF
4777 #line 4778 "configure"
4778 #include "confdefs.h"
4781 struct tm tim; tim.tm_gmtoff = 0;
4784 if { (eval echo configure
:4785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4786 cat >> confdefs.h
<<\EOF
4787 #define STRUCT_TM_HAS_GMTOFF 1
4790 echo "$ac_t""yes" 1>&6
4792 echo "configure: failed program was:" >&5
4793 cat conftest.
$ac_ext >&5
4795 echo "$ac_t""no" 1>&6
4796 echo $ac_n "checking for global timezone variable""... $ac_c" 1>&6
4797 echo "configure:4798: checking for global timezone variable" >&5
4798 cat > conftest.
$ac_ext <<EOF
4799 #line 4800 "configure"
4800 #include "confdefs.h"
4806 if { (eval echo configure
:4807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4808 cat >> confdefs.h
<<\EOF
4809 #define HAVE_TIMEZONE 1
4812 echo "$ac_t""yes" 1>&6
4814 echo "configure: failed program was:" >&5
4815 cat conftest.
$ac_ext >&5
4817 echo "$ac_t""no" 1>&6
4823 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4824 # for constant arguments. Useless!
4825 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4826 echo "configure:4827: checking for working alloca.h" >&5
4827 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4828 echo $ac_n "(cached) $ac_c" 1>&6
4830 cat > conftest.
$ac_ext <<EOF
4831 #line 4832 "configure"
4832 #include "confdefs.h"
4835 char *p = alloca(2 * sizeof(int));
4838 if { (eval echo configure
:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4840 ac_cv_header_alloca_h
=yes
4842 echo "configure: failed program was:" >&5
4843 cat conftest.
$ac_ext >&5
4845 ac_cv_header_alloca_h
=no
4850 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
4851 if test $ac_cv_header_alloca_h = yes; then
4852 cat >> confdefs.h
<<\EOF
4853 #define HAVE_ALLOCA_H 1
4858 echo $ac_n "checking for alloca""... $ac_c" 1>&6
4859 echo "configure:4860: checking for alloca" >&5
4860 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4861 echo $ac_n "(cached) $ac_c" 1>&6
4863 cat > conftest.
$ac_ext <<EOF
4864 #line 4865 "configure"
4865 #include "confdefs.h"
4868 # define alloca __builtin_alloca
4871 # include <malloc.h>
4872 # define alloca _alloca
4875 # include <alloca.h>
4880 # ifndef alloca /* predefined by HP cc +Olibcalls */
4889 char *p = (char *) alloca(1);
4892 if { (eval echo configure
:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4894 ac_cv_func_alloca_works
=yes
4896 echo "configure: failed program was:" >&5
4897 cat conftest.
$ac_ext >&5
4899 ac_cv_func_alloca_works
=no
4904 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
4905 if test $ac_cv_func_alloca_works = yes; then
4906 cat >> confdefs.h
<<\EOF
4907 #define HAVE_ALLOCA 1
4912 if test $ac_cv_func_alloca_works = no
; then
4913 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4914 # that cause trouble. Some versions do not even contain alloca or
4915 # contain a buggy version. If you still want to use their alloca,
4916 # use ar to extract alloca.o from them instead of compiling alloca.c.
4917 ALLOCA
=alloca.
${ac_objext}
4918 cat >> confdefs.h
<<\EOF
4923 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
4924 echo "configure:4925: checking whether alloca needs Cray hooks" >&5
4925 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
4926 echo $ac_n "(cached) $ac_c" 1>&6
4928 cat > conftest.
$ac_ext <<EOF
4929 #line 4930 "configure"
4930 #include "confdefs.h"
4931 #if defined(CRAY) && ! defined(CRAY2)
4938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4939 egrep "webecray" >/dev
/null
2>&1; then
4950 echo "$ac_t""$ac_cv_os_cray" 1>&6
4951 if test $ac_cv_os_cray = yes; then
4952 for ac_func
in _getb67 GETB67 getb67
; do
4953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4954 echo "configure:4955: checking for $ac_func" >&5
4955 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4956 echo $ac_n "(cached) $ac_c" 1>&6
4958 cat > conftest.
$ac_ext <<EOF
4959 #line 4960 "configure"
4960 #include "confdefs.h"
4961 /* System header to define __stub macros and hopefully few prototypes,
4962 which can conflict with char $ac_func(); below. */
4964 /* Override any gcc2 internal prototype to avoid an error. */
4965 /* We use char because int might match the return type of a gcc2
4966 builtin and then its argument prototype would still apply. */
4971 /* The GNU C library defines this for functions which it implements
4972 to always fail with ENOSYS. Some functions are actually named
4973 something starting with __ and the normal name is an alias. */
4974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4982 if { (eval echo configure
:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4984 eval "ac_cv_func_$ac_func=yes"
4986 echo "configure: failed program was:" >&5
4987 cat conftest.
$ac_ext >&5
4989 eval "ac_cv_func_$ac_func=no"
4994 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4995 echo "$ac_t""yes" 1>&6
4996 cat >> confdefs.h
<<EOF
4997 #define CRAY_STACKSEG_END $ac_func
5002 echo "$ac_t""no" 1>&6
5008 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5009 echo "configure:5010: checking stack direction for C alloca" >&5
5010 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5011 echo $ac_n "(cached) $ac_c" 1>&6
5013 if test "$cross_compiling" = yes; then
5014 ac_cv_c_stack_direction
=0
5016 cat > conftest.
$ac_ext <<EOF
5017 #line 5018 "configure"
5018 #include "confdefs.h"
5019 find_stack_direction ()
5021 static char *addr = 0;
5026 return find_stack_direction ();
5029 return (&dummy > addr) ? 1 : -1;
5033 exit (find_stack_direction() < 0);
5036 if { (eval echo configure
:5037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
5038 ac_cv_c_stack_direction
=1
5040 echo "configure: failed program was:" >&5
5041 cat conftest.
$ac_ext >&5
5043 ac_cv_c_stack_direction
=-1
5050 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
5051 cat >> confdefs.h
<<EOF
5052 #define STACK_DIRECTION $ac_cv_c_stack_direction
5060 # Extract the first word of "$ac_prog", so it can be a program name with args.
5061 set dummy
$ac_prog; ac_word
=$2
5062 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5063 echo "configure:5064: checking for $ac_word" >&5
5064 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
5065 echo $ac_n "(cached) $ac_c" 1>&6
5067 if test -n "$PERL"; then
5068 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
5070 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5072 for ac_dir
in $ac_dummy; do
5073 test -z "$ac_dir" && ac_dir
=.
5074 if test -f $ac_dir/$ac_word; then
5075 ac_cv_prog_PERL
="$ac_prog"
5082 PERL
="$ac_cv_prog_PERL"
5083 if test -n "$PERL"; then
5084 echo "$ac_t""$PERL" 1>&6
5086 echo "$ac_t""no" 1>&6
5089 test -n "$PERL" && break
5091 test -n "$PERL" || PERL
="false"
5098 SIGNAL_HANDLER
=include
/i386-signal.h
5101 SIGNAL_HANDLER
=include
/sparc-signal.h
5104 SYSDEP_SOURCES
=sysdep
/ia64.c
5105 test -d sysdep || mkdir sysdep
5108 SIGNAL_HANDLER
=include
/default-signal.h
5112 # If we're using sjlj exceptions, forget what we just learned.
5113 if test "$libgcj_sjlj" = yes; then
5114 SIGNAL_HANDLER
=include
/default-signal.h
5121 if test "${multilib}" = "yes"; then
5122 multilib_arg
="--enable-multilib"
5131 cat > confcache
<<\EOF
5132 # This file is a shell script that caches the results of configure
5133 # tests run on this system so they can be shared between configure
5134 # scripts and configure runs. It is not useful on other systems.
5135 # If it contains results you don't want to keep, you may remove or edit it.
5137 # By default, configure uses ./config.cache as the cache file,
5138 # creating it if it does not exist already. You can give configure
5139 # the --cache-file=FILE option to use a different cache file; that is
5140 # what configure does when it calls configure scripts in
5141 # subdirectories, so they share the cache.
5142 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5143 # config.status only pays attention to the cache file if you give it the
5144 # --recheck option to rerun configure.
5147 # The following way of writing the cache mishandles newlines in values,
5148 # but we know of no workaround that is simple, portable, and efficient.
5149 # So, don't put newlines in cache variables' values.
5150 # Ultrix sh set writes to stderr and can't be redirected directly,
5151 # and sets the high bit in the cache file unless we assign to the vars.
5153 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5155 # `set' does not quote correctly, so add quotes (double-quote substitution
5156 # turns \\\\ into \\, and sed turns \\ into \).
5158 -e "s/'/'\\\\''/g" \
5159 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5162 # `set' quotes correctly as required by POSIX, so do not add quotes.
5163 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5166 if cmp -s $cache_file confcache
; then
5169 if test -w $cache_file; then
5170 echo "updating cache $cache_file"
5171 cat confcache
> $cache_file
5173 echo "not updating unwritable cache $cache_file"
5178 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5180 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5181 # Let make expand exec_prefix.
5182 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5184 # Any assignment to VPATH causes Sun make to only execute
5185 # the first set of double-colon rules, so remove it if not needed.
5186 # If there is a colon in the path, we need to keep it.
5187 if test "x$srcdir" = x.
; then
5188 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
5191 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
5193 DEFS
=-DHAVE_CONFIG_H
5195 # Without the "./", some shells look in PATH for config.status.
5196 : ${CONFIG_STATUS=./config.status}
5198 echo creating
$CONFIG_STATUS
5199 rm -f $CONFIG_STATUS
5200 cat > $CONFIG_STATUS <<EOF
5202 # Generated automatically by configure.
5203 # Run this file to recreate the current configuration.
5204 # This directory was configured as follows,
5205 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5207 # $0 $ac_configure_args
5209 # Compiler output produced by configure, useful for debugging
5210 # configure, is in ./config.log if it exists.
5212 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
5215 case "\$ac_option" in
5216 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5217 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
5218 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
5219 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
5220 echo "$CONFIG_STATUS generated by autoconf version 2.13"
5222 -help | --help | --hel | --he | --h)
5223 echo "\$ac_cs_usage"; exit 0 ;;
5224 *) echo "\$ac_cs_usage"; exit 1 ;;
5228 ac_given_srcdir=$srcdir
5229 ac_given_INSTALL="$INSTALL"
5231 trap 'rm -fr `echo "Makefile libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
5233 cat >> $CONFIG_STATUS <<EOF
5235 # Protect against being on the right side of a sed subst in config.status.
5236 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
5237 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
5241 s%@CFLAGS@%$CFLAGS%g
5242 s%@CPPFLAGS@%$CPPFLAGS%g
5243 s%@CXXFLAGS@%$CXXFLAGS%g
5244 s%@FFLAGS@%$FFLAGS%g
5246 s%@LDFLAGS@%$LDFLAGS%g
5248 s%@exec_prefix@%$exec_prefix%g
5249 s%@prefix@%$prefix%g
5250 s%@program_transform_name@%$program_transform_name%g
5251 s%@bindir@%$bindir%g
5252 s%@sbindir@%$sbindir%g
5253 s%@libexecdir@%$libexecdir%g
5254 s%@datadir@%$datadir%g
5255 s%@sysconfdir@%$sysconfdir%g
5256 s%@sharedstatedir@%$sharedstatedir%g
5257 s%@localstatedir@%$localstatedir%g
5258 s%@libdir@%$libdir%g
5259 s%@includedir@%$includedir%g
5260 s%@oldincludedir@%$oldincludedir%g
5261 s%@infodir@%$infodir%g
5262 s%@mandir@%$mandir%g
5264 s%@host_alias@%$host_alias%g
5265 s%@host_cpu@%$host_cpu%g
5266 s%@host_vendor@%$host_vendor%g
5267 s%@host_os@%$host_os%g
5268 s%@target@%$target%g
5269 s%@target_alias@%$target_alias%g
5270 s%@target_cpu@%$target_cpu%g
5271 s%@target_vendor@%$target_vendor%g
5272 s%@target_os@%$target_os%g
5274 s%@build_alias@%$build_alias%g
5275 s%@build_cpu@%$build_cpu%g
5276 s%@build_vendor@%$build_vendor%g
5277 s%@build_os@%$build_os%g
5278 s%@libgcj_basedir@%$libgcj_basedir%g
5279 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
5280 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
5281 s%@INSTALL_DATA@%$INSTALL_DATA%g
5282 s%@PACKAGE@%$PACKAGE%g
5283 s%@VERSION@%$VERSION%g
5284 s%@ACLOCAL@%$ACLOCAL%g
5285 s%@AUTOCONF@%$AUTOCONF%g
5286 s%@AUTOMAKE@%$AUTOMAKE%g
5287 s%@AUTOHEADER@%$AUTOHEADER%g
5288 s%@MAKEINFO@%$MAKEINFO%g
5289 s%@SET_MAKE@%$SET_MAKE%g
5294 s%@RANLIB@%$RANLIB%g
5295 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
5296 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
5298 s%@EXEEXT@%$EXEEXT%g
5299 s%@LIBGCJ_CFLAGS@%$LIBGCJ_CFLAGS%g
5300 s%@LIBGCJ_CXXFLAGS@%$LIBGCJ_CXXFLAGS%g
5301 s%@LIBGCJ_JAVAFLAGS@%$LIBGCJ_JAVAFLAGS%g
5302 s%@INCLTDL@%$INCLTDL%g
5303 s%@LIBLTDL@%$LIBLTDL%g
5304 s%@DIRLTDL@%$DIRLTDL%g
5306 s%@LIBTOOL@%$LIBTOOL%g
5307 s%@subdirs@%$subdirs%g
5308 s%@COMPPATH@%$COMPPATH%g
5309 s%@TESTSUBDIR_TRUE@%$TESTSUBDIR_TRUE%g
5310 s%@TESTSUBDIR_FALSE@%$TESTSUBDIR_FALSE%g
5311 s%@LIBDATASTARTSPEC@%$LIBDATASTARTSPEC%g
5313 s%@SYSTEMSPEC@%$SYSTEMSPEC%g
5314 s%@LIBGCJTESTSPEC@%$LIBGCJTESTSPEC%g
5315 s%@ZLIBSPEC@%$ZLIBSPEC%g
5316 s%@ZLIBTESTSPEC@%$ZLIBTESTSPEC%g
5317 s%@GCLIBS@%$GCLIBS%g
5318 s%@GCINCS@%$GCINCS%g
5319 s%@GCDEPS@%$GCDEPS%g
5320 s%@GCOBJS@%$GCOBJS%g
5321 s%@GCSPEC@%$GCSPEC%g
5322 s%@GCTESTSPEC@%$GCTESTSPEC%g
5323 s%@THREADLIBS@%$THREADLIBS%g
5324 s%@THREADINCS@%$THREADINCS%g
5325 s%@THREADDEPS@%$THREADDEPS%g
5326 s%@THREADOBJS@%$THREADOBJS%g
5327 s%@THREADSPEC@%$THREADSPEC%g
5328 s%@USING_GCC_TRUE@%$USING_GCC_TRUE%g
5329 s%@USING_GCC_FALSE@%$USING_GCC_FALSE%g
5333 s%@DIVIDESPEC@%$DIVIDESPEC%g
5334 s%@EXCEPTIONSPEC@%$EXCEPTIONSPEC%g
5335 s%@FORCELIBGCCSPEC@%$FORCELIBGCCSPEC%g
5336 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
5337 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
5338 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
5339 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
5340 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
5341 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
5342 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
5343 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
5344 s%@NEEDS_DATA_START_TRUE@%$NEEDS_DATA_START_TRUE%g
5345 s%@NEEDS_DATA_START_FALSE@%$NEEDS_DATA_START_FALSE%g
5346 s%@EH_COMMON_INCLUDE@%$EH_COMMON_INCLUDE%g
5347 s%@AM_RUNTESTFLAGS@%$AM_RUNTESTFLAGS%g
5348 s%@ALLOCA@%$ALLOCA%g
5350 s%@SYSDEP_SOURCES@%$SYSDEP_SOURCES%g
5356 cat >> $CONFIG_STATUS <<\EOF
5358 # Split the substitutions into bite-sized pieces for seds with
5359 # small command number limits, like on Digital OSF/1 and HP-UX.
5360 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
5361 ac_file
=1 # Number of current file.
5362 ac_beg
=1 # First line for current file.
5363 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
5366 while $ac_more_lines; do
5367 if test $ac_beg -gt 1; then
5368 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
5370 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
5372 if test ! -s conftest.s
$ac_file; then
5374 rm -f conftest.s
$ac_file
5376 if test -z "$ac_sed_cmds"; then
5377 ac_sed_cmds
="sed -f conftest.s$ac_file"
5379 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
5381 ac_file
=`expr $ac_file + 1`
5383 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
5386 if test -z "$ac_sed_cmds"; then
5391 cat >> $CONFIG_STATUS <<EOF
5393 CONFIG_FILES=\${CONFIG_FILES-"Makefile libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"}
5395 cat >> $CONFIG_STATUS <<\EOF
5396 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
5397 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5399 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
5400 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
5401 *) ac_file_in
="${ac_file}.in" ;;
5404 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
5406 # Remove last slash and all that follows it. Not all systems have dirname.
5407 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
5408 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
5409 # The file is in a subdirectory.
5410 test ! -d "$ac_dir" && mkdir
"$ac_dir"
5411 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
5412 # A "../" for each directory in $ac_dir_suffix.
5413 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
5415 ac_dir_suffix
= ac_dots
=
5418 case "$ac_given_srcdir" in
5420 if test -z "$ac_dots"; then top_srcdir
=.
5421 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
5422 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
5424 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
5425 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
5428 case "$ac_given_INSTALL" in
5429 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
5430 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
5433 echo creating
"$ac_file"
5435 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
5437 *Makefile
*) ac_comsub
="1i\\
5438 # $configure_input" ;;
5442 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5444 s%@configure_input@%$configure_input%g
5445 s%@srcdir@%$srcdir%g
5446 s%@top_srcdir@%$top_srcdir%g
5447 s%@INSTALL@%$INSTALL%g
5448 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
5452 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5453 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5455 # ac_d sets the value in "#define NAME VALUE" lines.
5456 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5457 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
5460 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
5461 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5462 ac_uB
='\([ ]\)%\1#\2define\3'
5465 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5466 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5467 ac_eB
='$%\1#\2define\3'
5471 if test "${CONFIG_HEADERS+set}" != set; then
5473 cat >> $CONFIG_STATUS <<EOF
5474 CONFIG_HEADERS="include/config.h"
5476 cat >> $CONFIG_STATUS <<\EOF
5478 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
5479 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5481 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
5482 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
5483 *) ac_file_in
="${ac_file}.in" ;;
5486 echo creating
$ac_file
5488 rm -f conftest.frag conftest.
in conftest.out
5489 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5490 cat $ac_file_inputs > conftest.
in
5494 # Transform confdefs.h into a sed script conftest.vals that substitutes
5495 # the proper values into config.h.in to produce config.h. And first:
5496 # Protect against being on the right side of a sed subst in config.status.
5497 # Protect against being in an unquoted here document in config.status.
5499 cat > conftest.hdr
<<\EOF
5502 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
5506 sed -n -f conftest.hdr confdefs.h > conftest.vals
5509 # This sed command replaces #undef with comments. This is necessary, for
5510 # example, in the case of _POSIX_SOURCE, which is predefined and required
5511 # on some systems where configure will not decide to define it.
5512 cat >> conftest.vals <<\EOF
5513 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
5516 # Break up conftest.vals because some shells have a limit on
5517 # the size of here documents, and old seds have small limits too.
5522 ac_lines=`grep -c . conftest.vals
`
5523 # grep -c gives empty output for an empty file on some AIX systems.
5524 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
5525 # Write a limited-size here document to conftest.frag.
5526 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
5527 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5529 sed -f conftest.frag conftest.in > conftest.out
5531 mv conftest.out conftest.in
5533 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
5535 mv conftest.tail conftest.vals
5539 cat >> $CONFIG_STATUS <<\EOF
5540 rm -f conftest.frag conftest.h
5541 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
5542 cat conftest.in >> conftest.h
5544 if cmp -s $ac_file conftest.h 2>/dev/null; then
5545 echo "$ac_file is unchanged"
5548 # Remove last slash and all that follows it. Not all systems have dirname.
5549 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
5550 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5551 # The file is in a subdirectory.
5552 test ! -d "$ac_dir" && mkdir "$ac_dir"
5555 mv conftest.h $ac_file
5561 cat >> $CONFIG_STATUS <<EOF
5562 ac_sources="java/io/$FILE_DESCRIPTOR java/lang/${PROCESS}Process.java java/lang/nat${PROCESS}Process.cc include/$GCHDR include/$THREADH $SIGNAL_HANDLER"
5563 ac_dests="java/io/natFileDescriptor.cc java/lang/ConcreteProcess.java java/lang/natConcreteProcess.cc include/java-gc.h include/java-threads.h include/java-signal.h"
5566 cat >> $CONFIG_STATUS <<\EOF
5567 srcdir=$ac_given_srcdir
5568 while test -n "$ac_sources"; do
5569 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
5570 set $ac_sources; ac_source=$1; shift; ac_sources=$*
5572 echo "linking $srcdir/$ac_source to $ac_dest"
5574 if test ! -r $srcdir/$ac_source; then
5575 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
5579 # Make relative symlinks.
5580 # Remove last slash and all that follows it. Not all systems have dirname.
5581 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
5582 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
5583 # The dest file is in a subdirectory.
5584 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
5585 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
5586 # A "../" for each directory in $ac_dest_dir_suffix.
5587 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
5589 ac_dest_dir_suffix= ac_dots=
5593 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
5594 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
5597 # Make a symlink if possible; otherwise try a hard link.
5598 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
5599 ln $srcdir/$ac_source $ac_dest; then :
5601 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
5605 cat >> $CONFIG_STATUS <<EOF
5610 with_multisubdir=${with_multisubdir}
5611 ac_configure_args="${multilib_arg} ${ac_configure_args}"
5612 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5613 libgcj_basedir=${libgcj_basedir}
5618 cat >> $CONFIG_STATUS <<\EOF
5619 test -z "$CONFIG_HEADERS" || echo timestamp > include/stamp-h
5620 if test -n "$CONFIG_FILES"; then
5621 ac_file=Makefile . ${libgcj_basedir}/../config-ml.in
5625 chmod +x $CONFIG_STATUS
5626 rm -fr confdefs* $ac_clean_files
5627 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
5629 if test "$no_recursion" != yes; then
5631 # Remove --cache-file and --srcdir arguments so they do not pile up.
5632 ac_sub_configure_args=
5634 for ac_arg in $ac_configure_args; do
5635 if test -n "$ac_prev"; then
5640 -cache-file | --cache-file | --cache-fil | --cache-fi \
5641 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5642 ac_prev=cache_file ;;
5643 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5644 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5646 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5648 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5650 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
5654 for ac_config_dir in $DIRLTDL; do
5656 # Do not complain, so a configure script can configure whichever
5657 # parts of a large source tree are present.
5658 if test ! -d $srcdir/$ac_config_dir; then
5662 echo configuring in $ac_config_dir
5667 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
5669 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
5677 # A "../" for each directory in /$ac_config_dir.
5678 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
5681 .) # No --srcdir option. We are building in place.
5682 ac_sub_srcdir=$srcdir ;;
5683 /*) # Absolute path.
5684 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
5686 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
5689 # Check for guested configure; otherwise get Cygnus style configure.
5690 if test -f $ac_sub_srcdir/configure; then
5691 ac_sub_configure=$ac_sub_srcdir/configure
5692 elif test -f $ac_sub_srcdir/configure.in; then
5693 ac_sub_configure=$ac_configure
5695 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
5699 # The recursion is here.
5700 if test -n "$ac_sub_configure"; then
5702 # Make the cache file name correct relative to the subdirectory.
5703 case "$cache_file" in
5704 /*) ac_sub_cache_file=$cache_file ;;
5706 ac_sub_cache_file="$ac_dots$cache_file" ;;
5708 case "$ac_given_INSTALL" in
5709 [/$]*) INSTALL="$ac_given_INSTALL" ;;
5710 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
5713 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
5714 # The eval makes quoting arguments work.
5715 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
5718 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }